]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-24 branch; up to 2012-05-01T10:20:43Z!rgm@gnu.org
[gnu-emacs] / lisp / ChangeLog
1 2012-07-21 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/cc-cmds.el (c-defun-name): Use
4 match-string-no-properties instead for consistency.
5
6 2012-07-20 Leo Liu <sdl.web@gmail.com>
7
8 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9 (Bug#7879)
10
11 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
12
13 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
16 * progmodes/bug-reference.el, misearch.el: Provide themselves
17 (bug#11915).
18
19 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
20 of narrowed buffer (bug#11966).
21
22 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
23
24 * ses.el (ses-rename-cell): Set new name also in reference list of
25 cells of which the renamed cell depends.
26
27 2012-07-20 Masatake YAMATO <yamato@redhat.com>
28
29 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
30 to check whether menu-bar is shown or not. If not shown,
31 show the menu-bar as a popup menu instead of using tmm.
32 * mouse.el (popup-menu): Accept `point' as `position' argument.
33
34 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
35
36 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
37 up inside string symbol literal (bug#11923).
38
39 2012-07-20 Eli Zaretskii <eliz@gnu.org>
40
41 * startup.el (fancy-startup-text): Read the whole tutorial, not
42 just its first 256 bytes. Prevents gibberish in display of the
43 tutorial title.
44
45 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
46
47 Drop idle buffer compaction due to an absence of the
48 proved efficiency.
49 * compact.el: Remove.
50
51 2012-07-19 Sam Steingold <sds@gnu.org>
52
53 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
54 vc-bzr-pull & vc-bzr-merge-branch.
55 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
56 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
57 for consistency with compilation-error-regexp-alist.
58 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
59 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
60 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
61 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
62
63 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * emacs-lisp/chart.el: Use lexical-binding.
66 (chart-emacs-storage): Don't hardcode the list of entries.
67
68 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
69
70 Next round of tweaks caused by Fgarbage_collect changes.
71 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
72
73 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
74
75 Compact buffers when idle.
76 * compact.el: New file.
77
78 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * subr.el (eventp): Presume that if it looks vaguely like an event,
81 it's an event (bug#10190).
82
83 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
84
85 Enhancements to ppss related code (thanks Stefan).
86 * progmodes/python.el (python-indent-context)
87 (python-indent-calculate-indentation, python-indent-dedent-line)
88 (python-indent-electric-colon, python-nav-forward-block)
89 (python-mode-abbrev-table)
90 (python-info-assignment-continuation-line-p): Simplify checks
91 for ppss context.
92 (python-info-continuation-line-p): Cleanup.
93 (python-info-ppss-context): Do not catch 'quote.
94 (python-info-ppss-context-type)
95 (python-info-ppss-comment-or-string-p): Simplify.
96
97 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
98
99 * progmodes/python.el: Enhancements to eldoc support.
100 (python-info-current-symbol): New function.
101 (python-eldoc-at-point): Use python-info-current-symbol.
102 (python-info-current-defun): Fix cornercase on first defun scan.
103 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
104 and signal error when no inferior python process is available.
105
106 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
107
108 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
109 assume it's always t.
110 (vc-git-registered): Remove caching, the function is only called
111 once.
112 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
113
114 2012-07-18 Chong Yidong <cyd@gnu.org>
115
116 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
117
118 * simple.el (count-words): Report on narrowing (Bug#9959).
119
120 * bindings.el: Bind M-= to count-words.
121
122 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
123
124 2012-07-18 Masatake YAMATO <yamato@redhat.com>
125
126 * progmodes/sh-script.el (sh-imenu-generic-expression):
127 Capture a function with `function' keyword and without parentheses
128 like "function FOO" (bug#11856).
129
130 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
131
132 * window.el (split-window-sensibly): Make WINDOW argument
133 optional.
134
135 2012-07-18 Chong Yidong <cyd@gnu.org>
136
137 * subr.el (keyboard-translate): Doc fix (Bug#7261).
138
139 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
140 and make C-x 8 RET exit isearch (Bug#11439).
141
142 * international/iso-transl.el: Move isearch-mode-map key
143 definitions to isearch.el.
144
145 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
148 (eieio-defclass): Use gv-define-setter when possible.
149
150 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
151
152 Reflect recent changes in Fgarbage_collect.
153 * emacs-lisp/chart.el (chart-emacs-storage): Change to
154 reflect new format of data returned by Fgarbage_collect.
155
156 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
157
158 New utility functions + python-info-ppss-context fix (Bug#11910).
159 * progmodes/python.el (python-info-beginning-of-block-statement-p)
160 (python-info-ppss-comment-or-string-p): New functions.
161 (python-info-ppss-context): Small fix for string check.
162
163 2012-07-17 Juri Linkov <juri@jurta.org>
164
165 * dired-aux.el (dired-do-async-shell-command): Doc fix.
166 (dired-do-async-shell-command): Don't add `*' at the end of the
167 command (Bug#11815).
168 (dired-do-shell-command): Doc fix.
169 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
170 Join the individual commands using either "&" or ";" as the
171 separator depending on the values of these trailing characters.
172 At the end re-add the trailing "&". (Bug#10598)
173
174 * simple.el (async-shell-command): Sync the interactive spec with
175 `shell-command'. Doc fix.
176 (shell-command): Doc fix.
177
178 2012-07-17 Juri Linkov <juri@jurta.org>
179
180 * descr-text.el (describe-char): Fix format args. (Bug#10129)
181
182 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
183
184 Final renames and doc fixes for movement commands (bug#11899).
185 * progmodes/python.el (python-nav-beginning-of-statement):
186 Rename from python-nav-statement-start.
187 (python-nav-end-of-statement): Rename from
188 python-nav-statement-end.
189 (python-nav-beginning-of-block): Rename from
190 python-nav-block-start.
191 (python-nav-end-of-block): Rename from python-nav-block-end.
192
193 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
194
195 * progmodes/python.el (python-shell-send-string-no-output):
196 Allow accept-process-output to quit, keeping shell process ready for
197 future interactions (Bug#11868).
198
199 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
202
203 * emacs-lisp/elint.el (elint-find-args-in-code):
204 Use help-function-arglist, so as to handle lexical byte-code.
205
206 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
207 change (bug#11826).
208
209 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
212 Avoid spuriously marking the buffer as modified because of c-is-sws.
213
214 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
215 as not-a-comment (bug#11946).
216
217 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
218 for uninterned vars.
219
220 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
221 Use read-event since we don't really want to read chars but bytes.
222
223 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
224 $$..$$ but also $..$ using regexps (bug#11953).
225 Use tex-verbatim for \url and \path.
226 (tex-font-lock-keywords): Define as defconst like the others.
227 (tex-common-initialization): Don't use font-lock-syntax-table any more.
228
229 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
230
231 * international/mule-cmds.el (ucs-insert): Make it an obsolete
232 alias for insert-char.
233
234 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
235
236 * progmodes/python.el: Simplified imenu implementation.
237 (python-nav-jump-to-defun): Remove command.
238 (python-mode-map): Use `imenu' instead.
239 (python-nav-list-defun-positions-cache)
240 (python-imenu-include-defun-type, python-imenu-make-tree)
241 (python-imenu-subtree-root-label, python-imenu-index-alist):
242 Remove vars.
243 (python-nav-list-defun-positions, python-nav-read-defun)
244 (python-imenu-tree-assoc, python-imenu-make-element-tree)
245 (python-imenu-make-tree, python-imenu-create-index):
246 Remove functions.
247 (python-mode): Update to interact with imenu by setting
248 `imenu-extract-index-name-function' only.
249
250 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
251
252 * progmodes/python.el: Enhancements to navigation commands.
253 (python-nav-backward-sentence)
254 (python-nav-forward-sentence): Remove.
255 (python-nav-backward-statement, python-nav-forward-statement)
256 (python-nav-statement-start, python-nav-statement-end)
257 (python-nav-backward-block, python-nav-forward-block)
258 (python-nav-block-start, python-nav-block-end)
259 (python-nav-forward-sexp-function)
260 (python-info-current-line-comment-p)
261 (python-info-current-line-empty-p): New functions.
262 (python-indent-context): Use `python-nav-statement-start'.
263
264 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
265
266 * eshell/em-ls.el (eshell/ls): Use `apply'.
267
268 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
269 multi-hops, instead of Tramp internals.
270
271 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
272
273 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
274 when F1 and F2 are located on different hosts.
275
276 2012-07-14 Chong Yidong <cyd@gnu.org>
277
278 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
279 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
280 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
281 (xterm-mouse--read-event-sequence-1000)
282 (xterm-mouse--read-event-sequence-1006): New functions. For old
283 mouse protocol, handle M-mouse-X events correctly.
284 (xterm-mouse-event): New arg specifying mouse protocol.
285 (turn-on-xterm-mouse-tracking-on-terminal)
286 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
287 sequence to toggle extended coordinates on newer XTerms.
288 This appears to be harmless on terminals which do not support this.
289
290 2012-07-14 Leo Liu <sdl.web@gmail.com>
291
292 Add fringe bitmap indicators for flymake. (Bug#11253)
293 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
294 (flymake-make-overlay): New arg BITMAP.
295 (flymake-error-bitmap, flymake-warning-bitmap)
296 (flymake-fringe-indicator-position): New user variables.
297
298 * fringe.el: New bitmap exclamation-mark.
299
300 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
301
302 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
303 also (Bug#7879).
304
305 2012-07-14 Chong Yidong <cyd@gnu.org>
306
307 * electric.el (electric-pair-post-self-insert-function): Fix pair
308 insertion in empty-region case (Bug#11520).
309
310 2012-07-14 Chong Yidong <cyd@gnu.org>
311
312 * bindings.el: Consolidate ctl-x-r-map bindings.
313 Bind copy-rectangle-as-kill to C-x r w.
314
315 * rect.el, register.el: Move bindings to bindings.el.
316
317 2012-07-14 Reuben Thomas <rrt@sc3d.org>
318
319 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
320
321 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
322
323 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
324
325 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
326
327 * bindings.el (top): Use `mapc' instead of `mapcar'.
328
329 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
330
331 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
332
333 * progmodes/sql.el (sql-comint): Suppress the check for program on
334 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
335 (Bug#11908)
336
337 2012-07-13 Chong Yidong <cyd@gnu.org>
338
339 * bindings.el: Assign a non-nil permanent-local property to
340 per-buffer variables which lack a default value (Bug#11930).
341
342 * help-fns.el (describe-variable): In the "automatically becomes
343 local" notice, take note of permanent-local variables.
344
345 2012-07-13 Chong Yidong <cyd@gnu.org>
346
347 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
348 to allow printing the message when called from Lisp.
349
350 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
351 Remove toggle-read-only.
352
353 * bs.el (bs-toggle-readonly):
354 * buff-menu.el (Buffer-menu-toggle-read-only):
355 Remove with-no-warnings around toggle-read-only.
356
357 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
358 Remove with-no-warnings around toggle-read-only.
359 (ffap-read-only, ffap-read-only-other-window)
360 (ffap-read-only-other-frame): Callers changed.
361
362 * help-mode.el: Don't require view package.
363 (help-mode-finish): Set buffer-read-only instead of calling
364 toggle-read-only.
365
366 * bindings.el (mode-line-toggle-read-only):
367 * dired.el (dired-toggle-read-only):
368 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
369 with non-nil second arg.
370
371 * emacs-lisp/eieio-custom.el (eieio-customize-object):
372 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
373 directly.
374
375 2012-07-12 Eli Zaretskii <eliz@gnu.org>
376
377 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
378 not incf.
379
380 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 More CL cleanups and reduction of use of cl.el.
383 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
384 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
385 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
386 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
387 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
388 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
389 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
390 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
391 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
392 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
393 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
394 * eshell/em-cmpl.el, eshell/em-banner.el:
395 * calendar/parse-time.el: Use cl-lib.
396 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
397 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
398 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
399 * term/ns-win.el, term.el, shell.el, ps-samp.el:
400 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
401 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
402 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
403 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
404 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
405 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
406 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
407 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
408 `lambda' rather than with `quote'.
409 (eshell-do-opt): Adjust accordingly.
410 (eshell-process-option): Simplify.
411 * eshell/esh-var.el:
412 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
413 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
414 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
415 to `pcase--dontcare'.
416 * emacs-lisp/cl.el (labels): Mark obsolete.
417 (cl--letf, letf): Move to cl-lib.
418 (cl--letf*, letf*): Remove.
419 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
420 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
421 (cl-progv): Rewrite.
422 (cl--letf, cl-letf): Move from cl.el.
423 (cl-letf*): New macro.
424 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
425
426 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
427
428 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
429
430 2012-07-11 Chong Yidong <cyd@gnu.org>
431
432 * vc/log-edit.el (log-edit-vc-backend): New variable.
433 (log-edit): Doc fix.
434
435 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
436 argument of log-edit to set up all local variables.
437 (vc-start-logentry): New optional arg specifying VC backend.
438
439 * vc/vc.el (vc-checkin): Use it.
440 (vc-deduce-fileset): Handle Log Edit buffers.
441 (vc-diff): Make first argument optional too.
442
443 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
444
445 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
446
447 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
448 command, just in case. The function is not needed anymore.
449 (eshell-external-command): Do not call `eshell-remote-command'.
450
451 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 Reduce use of (require 'cl).
454 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
455 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
456 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
457 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
458 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
459 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
460 * battery.el, avoid.el, abbrev.el: Use cl-lib.
461 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
462 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
463 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
464 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
465 * calculator.el, autorevert.el, apropos.el: Don't require CL.
466 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
467 (byte-compile-unfold-bcf, byte-compile-check-variable):
468 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
469 (byte-compile-nilconstp):
470 * emacs-lisp/autoload.el (make-autoload): Use pcase.
471 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
472
473 * emacs-lisp/gv.el (cond): Make it a valid place.
474 (if): Simplify slightly.
475
476 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
477 (pcase--self-quoting-p): New function.
478 (pcase--u1): Use it.
479
480 2012-07-10 Glenn Morris <rgm@gnu.org>
481
482 * emacs-lisp/authors.el (authors-fixed-entries):
483 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
484
485 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
486
487 Rename configure.in to configure.ac (Bug#11603).
488 * emacs-lisp/authors.el (authors-canonical-file-name):
489 * progmodes/autoconf.el (autoconf-mode):
490 Prefer configure.ac to configure.in.
491
492 2012-07-08 Chong Yidong <cyd@gnu.org>
493
494 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
495 Implement the mouse-1-click-follows-link handling properly.
496
497 * info.el (Info-link-keymap): Use follow-link mechanism for
498 header-line links (Bug#374).
499
500 * simple.el (deactivate-mark): Do not set the primary selection
501 if another program has acquired it (Bug#11772).
502
503 2012-07-07 Kevin Ryde <user42@zip.com.au>
504
505 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
506 (woman-decode-region): Replace escaped-escapes without destroying
507 bold or underline (Bug#11552).
508 (woman2-process-escapes): Handle nofill regions (Bug#11591).
509
510 2012-07-07 Chong Yidong <cyd@gnu.org>
511
512 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
513 (interprogram-cut-function, interprogram-paste-function):
514 Mention that we typically mean the clipboard.
515
516 2012-07-06 Glenn Morris <rgm@gnu.org>
517
518 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
519
520 * files.el (toggle-read-only): Restrict message to interactive use.
521
522 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
523
524 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
525
526 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
527
528 2012-07-06 Glenn Morris <rgm@gnu.org>
529
530 * Makefile.in (compile-one-process): Rename from "recompile".
531
532 * Makefile.in (bzr-update): "compile" is the same as "recompile
533 autoloads", but parallelizable, so use that instead.
534
535 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
536
537 * window.el (quit-window): Always restore window height when
538 it's saved in quit-restore parameter.
539
540 2012-07-06 Glenn Morris <rgm@gnu.org>
541
542 * simple.el (kill-whole-line): Doc tweak.
543
544 2012-07-06 Eli Zaretskii <eliz@gnu.org>
545
546 * files.el (file-relative-name): Compare file names
547 case-insensitively if on MS-Windows or MS-DOS, or if
548 read-file-name-completion-ignore-case is non-nil. Don't use
549 case-fold-search for this purpose. (Bug#11827)
550
551 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
552
553 * calendar/cal-dst.el (calendar-current-time-zone):
554 Return calendar-current-time-zone-cache if non-nil.
555
556 2012-07-17 Masatake YAMATO <yamato@redhat.com>
557 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
558
559 * calendar/cal-dst.el (calendar-current-time-zone):
560 Return calendar-current-time-zone-cache if non-nil.
561
562 2012-07-06 Glenn Morris <rgm@gnu.org>
563
564 * Makefile.in (cvs-update): Remove old alias.
565
566 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
567
568 Sync with Tramp 2.2.6-pre.
569
570 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
571 compatible declaration.
572
573 * net/tramp-cmds.el (tramp-append-tramp-buffers):
574 Protect `list-load-path-shadows' call.
575
576 * net/tramp-compat.el (top): Require packages, which aren't
577 autoloaded anymore for XEmacs. Protect call of
578 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
579 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
580 it hurts at least for SXEmacs.
581 (tramp-compat-temporary-file-directory): In XEmacs, there is no
582 standard-value for `temporary-file-directory'.
583
584 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
585 Redirect stderr to /dev/null.
586 (tramp-sh-handle-write-region): uid and gid can be floats.
587 Reported by Russell Sim <russell.sim@gmail.com>.
588 (tramp-sh-handle-vc-registered): Hide errors.
589 (tramp-vc-file-name-handler): Use dummy results for `process-file'
590 and `start-file-process'.
591 (tramp-maybe-open-connection): Check also whether `non-essential'
592 is bound.
593
594 2012-07-04 Chong Yidong <cyd@gnu.org>
595
596 * xml.el (xml--parse-buffer): Use xml-syntax-table.
597 (xml-parse-tag): Likewise, and avoid changing entity tables.
598 (xml-syntax-table): Define from scratch, making sure not to give
599 x2000 and other Unicode spaces whitespace syntax, since those are
600 not spaces in XML.
601 (xml-parse-fragment): Delete unused function.
602 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
603 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
604 (xml-entity-ref, xml-pe-reference-re)
605 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
606 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
607 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
608 (xml-entity-value-re): Use syntax references in regexps where
609 possible; no need to define inside a let-binding.
610 (xml-parse-dtd): Use xml-pe-reference-re.
611 (xml-entity-or-char-ref-re): New defconst.
612 (xml-parse-string, xml-substitute-special): Use it.
613
614 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * files.el (locate-dominating-file): Allow `name' to be a predicate.
617 (find-file--read-only): New function.
618 (find-file-read-only, find-file-read-only-other-window)
619 (find-file-read-only-other-frame): Use it.
620 (insert-file-contents-literally): Don't `fset'.
621 (get-free-disk-space): Use locate-dominating-file.
622
623 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
624 function is already compiled.
625
626 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
627
628 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
629
630 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
631 files on the same host.
632
633 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
634
635 * help-fns.el (describe-function-1): Only call
636 help-fns--autoloaded-p when we have a file name. (Bug#11848)
637
638 2012-07-03 Chong Yidong <cyd@gnu.org>
639
640 * xml.el: Protect parser against XML bombs.
641 (xml-entity-expansion-limit): New variable.
642 (xml-parse-string, xml-substitute-special): Use it.
643 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
644
645 2012-07-03 Glenn Morris <rgm@gnu.org>
646
647 * progmodes/bug-reference.el (bug-reference-bug-regexp):
648 Allow linking to specific messages in debbugs reports (eg 123#5).
649
650 2012-07-02 Chong Yidong <cyd@gnu.org>
651
652 * xml.el: Fix entity and character reference expansion, allowing
653 them to expand into markup as per XML spec.
654 (xml-default-ns): New variable.
655 (xml-entity-alist): Use XML spec definitions for lt and amp.
656 (xml-parse-region): Make first two arguments optional.
657 Discard text properties.
658 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
659 All callers changed.
660 (xml-parse-tag): Call xml-parse-tag-1. For backward
661 compatibility, this function should not modify buffer contents.
662 (xml-parse-tag-1): Fix opening-tag regexp.
663 (xml-parse-string): Rewrite, handling entity and character
664 references properly.
665 (xml--entity-replacement-text): Signal an error if a parameter
666 entity is undefined.
667
668 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * comint.el (comint-output-filter): Filter out repeated prompts.
671
672 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
673 and file-name-absolute-p.
674 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
675 internal calls.
676
677 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
678
679 Spelling fixes.
680 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
681 Rename from byte-compile--refiy-function. All uses changed.
682
683 2012-07-01 Chong Yidong <cyd@gnu.org>
684
685 * xml.el (xml--parse-buffer): New function. Move most of
686 xml-parse-region here.
687 (xml-parse-region): Copy region into a temporary buffer, since
688 parameter entity substitution requires changing buffer contents.
689 Use xml--parse-buffer.
690 (xml-parse-file): Use xml--parse-buffer.
691 (xml-parse-dtd): Make parameter entity substitution work right.
692 Use proper regexps for ELEMENT declarations (Bug#7172).
693
694 2012-06-30 Glenn Morris <rgm@gnu.org>
695
696 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
697
698 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
699 Remove outdated and unnecessary dbus declarations.
700
701 2012-06-30 Eli Zaretskii <eliz@gnu.org>
702
703 * emacs-lisp/timer.el (timer-until): Subtract results of
704 float-time, instead of taking float-time of the result of
705 time-subtract, since float-time signals an error for negative time
706 arguments.
707
708 2012-06-30 Chong Yidong <cyd@gnu.org>
709
710 * xml.el (xml-*-re): Convert defvars into defconsts, and
711 eval-and-compile them so eval-and-compile works on derivatives.
712 (xml--entity-replacement-text): Use eval-and-comple.
713
714 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
715
716 * vc/vc-git.el (vc-git-registered): Use cache property
717 `git-registered'.
718 (vc-git-mode-line-string): Call `vc-working-revision' instead of
719 `vc-git-working-revision' in order to benefit from the cache.
720 (vc-git-root): Use cache property `git-root'. (Bug#11757)
721
722 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
723
724 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
725 removed (likely outside Emacs). (Bug#11757)
726
727 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * emacs-lisp/cl-lib.el: Require macroexp.
730
731 2012-06-30 Chong Yidong <cyd@gnu.org>
732
733 * xml.el: Implement XML parameter entities.
734 (xml-parameter-entity-alist): New variable.
735 (xml-parse-region, xml-parse-fragment): Preserve previous values
736 of xml-entity-alist and xml-parameter-entity-alist, so that
737 repeated calls on different documents do not change them.
738 (xml-parse-tag): Fix doctype regexp.
739 (xml--entity-replacement-text): New function.
740 (xml-parse-dtd): Use it. Don't handle system entities; doing that
741 properly requires url retrieval which is unimplemented.
742 (xml-escape-string): Doc fix.
743
744 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
747
748 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
749
750 * fringe.el (fringe-mode): Doc fix.
751
752 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
753
754 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
755 is non-nil.
756 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
757 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
758
759 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
760
761 * calendar/cal-dst.el (calendar-current-time-zone):
762 Return calendar-current-time-zone-cache if non-nil.
763
764 2012-06-29 Masatake YAMATO <yamato@redhat.com>
765
766 * progmodes/which-func.el (which-func-format):
767 Add mouse-face. (Bug#11698)
768
769 2012-06-29 Leo Liu <sdl.web@gmail.com>
770
771 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
772
773 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * minibuffer.el (minibuffer-confirm-exit-commands):
776 Add completion-at-point (bug#11725).
777
778 2012-06-29 Glenn Morris <rgm@gnu.org>
779
780 * progmodes/f90.el (f90-font-lock-keywords-2):
781 Add some preprocessor elements. (Bug#10499)
782
783 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * progmodes/cperl-mode.el (cperl-update-syntaxification):
786 Use syntax-propertize (bug#11739).
787
788 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
789
790 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
791
792 2012-06-28 Julien Danjou <julien@danjou.info>
793
794 * term.el (term-handle-colors-array): Use a set of new faces to
795 color the terminal. Also uses :inverse-video property.
796 (term-default-fg-color): Set to nil by default, deprecate in favor
797 of `term-face'.
798 (term-default-bg-color): Set to nil by default, deprecate in favor
799 of `term-face'.
800 (term-current-face): Use `term-face' by default.
801 (term-bold-attribute): Variable deleted.
802
803 2012-06-28 Glenn Morris <rgm@gnu.org>
804
805 * simple.el (completion-list-mode-finish):
806 Don't use toggle-read-only. (Since completion-list-mode has
807 a special mode-class, it wasn't doing anything extra anyway.)
808
809 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
810
811 Make inlining of other-mode interpreted functions work (bug#11799).
812 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
813 (byte-compile): Use it to fix compilation of lexical-binding closures.
814 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
815 function, if needed.
816
817 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * help-mode.el (help-make-xrefs): Don't just withstand
820 cyclic-variable-indirection but any error in documentation-property.
821
822 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
823 memory use.
824 * bindings.el (bindings--define-key): New function.
825 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
826 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
827 * bindings.el: Use it to purecopy define-key bindings.
828
829 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
830
831 * emacs-lisp/cl.el (flet): Mark obsolete.
832 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
833 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
834 * progmodes/js.el (js-c-fill-paragraph):
835 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
836 (ebrowse-switch-member-buffer-to-derived-class):
837 * play/5x5.el (5x5-solver): Use cl-flet.
838
839 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
840 (cl--symbol-function): New macro.
841 (cl--letf, cl--letf*): Use it.
842
843 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
844 Strip "toggle-" if any.
845
846 2012-06-27 Glenn Morris <rgm@gnu.org>
847
848 * info.el (Info-default-directory-list): Move here from paths.el.
849 * paths.el: Remove file, which is now empty.
850 * loadup.el: No longer load "paths".
851
852 * custom.el (custom-initialize-delay): Doc fix.
853
854 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
855 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
856 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
857 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
858 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
859 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
860 * eshell/eshell.el (eshell-defgroup): Remove alias.
861
862 2012-06-27 Chong Yidong <cyd@gnu.org>
863
864 * help.el (help-enable-auto-load): New variable.
865
866 * help-fns.el (help-fns--autoloaded-p): New function.
867 (describe-function-1): Refer to a function as "autoloaded" if it
868 was autoloaded at any time in the past. Perform autoloading if
869 help-enable-auto-load is non-nil.
870
871 2012-06-26 Eli Zaretskii <eliz@gnu.org>
872
873 * makefile.w32-in (compile, compile-always): Depend on
874 update-subdirs, not on subdirs.el. Otherwise, several different
875 sub-targets of 'bootstrap' running in parallel could
876 simultaneously write to subdirs.el, producing a garbled file.
877
878 2012-06-26 Sam Steingold <sds@gnu.org>
879
880 * files.el (file-name-base): New convenience function.
881 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
882 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
883 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
884 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
885 * textmodes/ispell.el, textmodes/reftex-ref.el:
886 * textmodes/tex-mode.el: Use it.
887 Did not touch cedet and org because they are maintained elsewhere.
888
889 2012-06-26 Martin Rudalics <rudalics@gmx.at>
890
891 * calendar/calendar.el (calendar-exit): Don't try to delete or
892 iconify last frame. See:
893 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
894
895 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
896
897 * server.el (server-process-filter): Remember dir in the
898 process's `server-client-directory' properties.
899
900 2012-06-24 Chong Yidong <cyd@gnu.org>
901
902 * xml.el (xml-parse-tag): Correctly handle comment embedded in
903 non-tag text.
904
905 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
906
907 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
908
909 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
910
911 * help-fns.el (describe-variable): Don't croak when doc is not found.
912 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
913 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
914 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
915 * emacs-lisp/smie.el (smie-next-sexp): CSE.
916 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
917 ((lambda ..) ..).
918 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
919
920 2012-06-23 Chong Yidong <cyd@gnu.org>
921
922 * info.el (Info-mouse-follow-link): Accept symbol values of
923 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
924 (Info-fontify-node): Use Info-link-keymap for all navigation
925 buttons, with link-args property to perform the desired action.
926 (Info-link-keymap): Doc fix.
927 (Info-next-link-keymap, Info-prev-link-keymap)
928 (Info-up-link-keymap): Delete now-unused keymaps.
929
930 2012-06-23 Chong Yidong <cyd@gnu.org>
931
932 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
933
934 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
935 system abbrevs.
936
937 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
938
939 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
940
941 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
942 (bug#11719).
943
944 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
945 the requote function doesn't work properly (bug#11714).
946
947 2012-06-23 Glenn Morris <rgm@gnu.org>
948
949 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
950
951 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
952
953 Further GV/CL cleanups.
954 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
955 gv-expander.
956 (gv--defun-declaration): New function.
957 (defun-declarations-alist): Use it.
958 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
959 (gv-place): Autoload.
960 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
961 original definition of dotimes and dolist.
962 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
963 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
964 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
965 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
966 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
967 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
968 to the function's definition.
969 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
970 * window.el:
971 * files.el:
972 * faces.el:
973 * env.el: Don't use CL.
974
975 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
976
977 Support higher-resolution time stamps (Bug#9000).
978
979 * calendar/time-date.el (with-decoded-time-value): New arg
980 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
981 (encode-time-value): New optional arg PICO. New type 3.
982 (time-to-seconds) [!float-time]: Support the new picoseconds
983 component if it's used.
984 (seconds-to-time, time-subtract, time-add):
985 Support ps-resolution time stamps as well.
986
987 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
988 (timerp): Timer vectors now have length 9, not 8.
989 (timer--time): Support new-style (4-part) time stamps.
990 (timer-next-integral-multiple-of-time): Time stamps now have
991 picosecond resolution, so take a bit more care about rounding.
992 (timer-relative-time, timer-inc-time): New optional arg psecs.
993 (timer-set-time-with-usecs): Set psecs to 0.
994 (timer--activate): Check psecs component, too.
995
996 * proced.el (proced-time-lessp): Support ps-resolution stamps.
997
998 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
999
1000 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1001 Move the non-essential binding to the post/pre-command-hook where it is
1002 more obviously correct.
1003
1004 * subr.el (read-passwd): Don't use a history at all.
1005 * savehist.el (savehist-save): Remove password saved accidentally
1006 because of the above bug.
1007
1008 2012-06-22 Bastien Guerry <bzg@gnu.org>
1009
1010 * files.el (toggle-read-only): Display a message telling whether
1011 the buffer is read-only or not (bug#11726).
1012
1013 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * emacs-lisp/gv.el: New file.
1016 * subr.el (push, pop): Extend to generalized variables.
1017 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1018 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1019 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1020 gv-define-simple-setter, and gv-define-expander.
1021 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1022 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1023 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1024 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1025 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1026 gv-letplace.
1027 (cl-defstruct): Don't define setf-method any more.
1028 * emacs-lisp/cl.el (flet): Don't autoload.
1029 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1030 (define-setf-expander, defsetf, define-modify-macro)
1031 (cl-struct-setf-expander): Move from cl-lib.el.
1032 * emacs-lisp/syntax.el:
1033 * emacs-lisp/ewoc.el:
1034 * emacs-lisp/smie.el:
1035 * emacs-lisp/cconv.el:
1036 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1037 (timer--time): Use gv-define-simple-setter.
1038 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1039 to avoid coding-system problems in subr.el. Adjust all users.
1040 (macroexp--maxsize, macroexp-small-p): New functions.
1041 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1042 * scroll-bar.el (scroll-bar-mode):
1043 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1044 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1045 * winner.el (winner-configuration, winner-make-point-alist)
1046 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1047 * files.el (locate-file-completion-table): Avoid list*.
1048
1049 2012-06-22 Chong Yidong <cyd@gnu.org>
1050
1051 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1052 (dired-create-files): Doc fix (Bug#11329).
1053 (dired-do-copy): Doc fix (Bug#11334).
1054 (dired-mark-read-string): Doc fix (Bug#11553).
1055
1056 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1057 Doc fix (Bug#11326).
1058 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1059 (dired-dwim-target): Doc fix.
1060
1061 * wdired.el (wdired-mode): Doc fix.
1062
1063 2012-06-22 Glenn Morris <rgm@gnu.org>
1064
1065 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1066 (pcmpl-rpm-cache-stamp-file): New constant.
1067 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1068 (pcmpl-rpm-packages): Optionally cache list of packages.
1069
1070 * pcmpl-rpm.el (pcmpl-rpm): New group.
1071 (pcmpl-rpm-query-options): New option.
1072 (pcmpl-rpm-packages): No need to inline it.
1073 Use pcmpl-rpm-query-options.
1074
1075 * calendar/calendar.el (calendar-in-read-only-buffer):
1076 Avoid some needless mode changes.
1077
1078 2012-06-21 Chong Yidong <cyd@gnu.org>
1079
1080 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1081 (desktop-path): Remove . from the default value (Bug#10977).
1082 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1083
1084 2012-06-20 Chong Yidong <cyd@gnu.org>
1085
1086 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1087
1088 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1089
1090 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1091 (bug#11201).
1092
1093 2012-06-20 Chong Yidong <cyd@gnu.org>
1094
1095 * term.el (term-window-width): Handle the case of a missing right
1096 fringe (Bug#8837).
1097 (term-check-size): Use window-text-height (Bug#5445).
1098 (term-mode): Use define-derived-mode. Minor cleanups.
1099 Set font-lock-defaults (Bug#7692).
1100 (term-move-columns, term-insert-char, term-emulate-terminal)
1101 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1102
1103 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1104
1105 * net/ange-ftp.el (ange-ftp-get-passwd):
1106 Bind `enable-recursive-minibuffers'.
1107 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1108
1109 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1110
1111 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1112
1113 2012-06-19 Glenn Morris <rgm@gnu.org>
1114
1115 * progmodes/python.el (python-mode): Derive from prog-mode.
1116
1117 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1118
1119 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1120 (edt-user-menu-bar-update-buffers): New functions.
1121 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1122
1123 2012-06-19 Chong Yidong <cyd@gnu.org>
1124
1125 * subr.el (with-selected-window): Preserve the selected window's
1126 terminal's top-frame (Bug#4702).
1127
1128 * window.el (save-selected-window): Likewise.
1129
1130 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1131
1132 * progmodes/python.el (python-rx-constituents): Move backquote.
1133 (python-skeleton-define, python-define-auxiliary-skeleton):
1134 Use `declare'.
1135
1136 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1137
1138 * minibuffer.el (read-file-name-default): Revert the patch from
1139 2012-06-17.
1140
1141 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1144 (pcase--u1, pcase--q1): Don't use apply-partially.
1145
1146 2012-06-18 Glenn Morris <rgm@gnu.org>
1147
1148 * progmodes/python.el (python-proc, python-buffer)
1149 (python-send-receive, python-send-string): Fix obsolete versions.
1150
1151 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1152
1153 * window.el (special-display-p): Completely remove stringp
1154 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1155
1156 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1157
1158 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1159
1160 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1161
1162 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1163 * net/tramp-sh.el (tramp-maybe-open-connection):
1164 Throw if `non-essential' is non-nil.
1165
1166 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1167
1168 * window.el (special-display-p): Signal an error if BUFFER-NAME
1169 is not a string (Bug#11713).
1170
1171 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1172
1173 * progmodes/python.el (python-info-beginning-of-backslash):
1174 Rename from python-info-beginning-of-backlash, as a spelling fix.
1175
1176 2012-06-17 Chong Yidong <cyd@gnu.org>
1177
1178 * term.el (term-emulate-terminal): If term-check-size is called,
1179 move point to the process mark without resetting point (Bug#4635).
1180
1181 2012-06-17 Glenn Morris <rgm@gnu.org>
1182
1183 * international/mule-cmds.el (mule-menu-keymap)
1184 (set-language-environment, set-locale-environment): Doc tweaks.
1185
1186 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1187
1188 * cus-face.el (custom-face-attributes): Add wave-style underline
1189 attribute.
1190 * faces.el (set-face-attribute): Update docstring to describe
1191 wave-style underline attribute.
1192
1193 2012-06-16 Chong Yidong <cyd@gnu.org>
1194
1195 * term/xterm.el (terminal-init-xterm): Discard input before
1196 querying background mode (Bug#10959).
1197
1198 2012-06-16 Stefan Merten <smerten@oekonux.de>
1199
1200 * textmodes/rst.el: Added and corrected some comments.
1201 (rst-re-alist-def): Improve symbol syntax.
1202 (rst-mode-syntax-table): Correct syntax entries.
1203 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1204 (rst-official-version, rst-official-cvs-rev): Update version
1205 information.
1206
1207 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1208
1209 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1210 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1211
1212 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1213
1214 * progmodes/python.el: New python.el merge.
1215 (python-guess-indent): Obsolete var.
1216 (python-indent-guess-indent-offset): New defcustom.
1217 (python-indent): Obsolete var.
1218 (python-indent-offset): New defcustom.
1219 (python-python-command, python-jython-command): Delete var.
1220 (python-shell-interpreter): New defcustom.
1221 (python-pdbtrack-do-tracking-p): Delete var.
1222 (python-pdbtrack-activate): New defcustom.
1223 (python-use-skeletons): Obsolete var.
1224 (python-skeleton-autoinsert): New defcustom.
1225 (inferior-python-filter-regexp, python-continuation-offset)
1226 (python-honour-comment-indentation, python-indent-string-contents)
1227 (python-jython-packages, python-mode-hook)
1228 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1229 (python-shell-prompt-alist)
1230 (python-source-modes): Delete defcustoms.
1231 (python-check-buffer-name, python-eldoc-setup-code)
1232 (python-eldoc-string-code, python-ffap-setup-code)
1233 (python-ffap-string-code, python-fill-comment-function)
1234 (python-fill-decorator-function, python-fill-paren-function)
1235 (python-fill-string-function, python-imenu-include-defun-type)
1236 (python-imenu-make-tree, python-imenu-subtree-root-label)
1237 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1238 (python-shell-compilation-regexp-alist)
1239 (python-shell-completion-module-string-code)
1240 (python-shell-completion-pdb-string-code)
1241 (python-shell-completion-setup-code)
1242 (python-shell-completion-string-code)
1243 (python-shell-enable-font-lock, python-shell-exec-path)
1244 (python-shell-extra-pythonpaths)
1245 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1246 (python-shell-process-environment)
1247 (python-shell-prompt-block-regexp)
1248 (python-shell-prompt-output-regexp)
1249 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1250 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1251 (python-shell-virtualenv-path): New defcustoms.
1252 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1253 (inferior-python-mode-syntax-table, python--prompt-regexp)
1254 (python-buffer, python-command python-python-command)
1255 (python-default-template, python-imports, python-indent-index)
1256 (python-indent-list, python-indent-list-length)
1257 (python-mode-running, python-pdbtrack-is-tracking-p)
1258 (python-preoutput-continuation, python-preoutput-leftover)
1259 (python-preoutput-result, python-preoutput-skip-next-prompt)
1260 (python-prev-dir/file, python-recursing)
1261 (python-saved-check-command, python-version-checked)
1262 (python-which-func-length-limit)
1263 (view-return-to-alist): Delete vars.
1264 (python-check-custom-command, python-dotty-syntax-table)
1265 (python-imenu-index-alist, python-indent-current-level)
1266 (python-indent-dedenters, python-indent-levels)
1267 (python-nav-beginning-of-defun-regexp)
1268 (python-nav-list-defun-positions-cache)
1269 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1270 (python-shell-internal-buffer)
1271 (python-skeleton-available): New vars.
1272 (def-python-skeleton): Delete macro.
1273 (python-skeleton-define): New macro.
1274 (python-define-auxiliary-skeleton, python-rx): New macros.
1275 (python-insert-class): Delete command.
1276 (python-skeleton-class): New command.
1277 (python-insert-def): Delete command.
1278 (python-skeleton-def): New command.
1279 (python-insert-for): Delete command.
1280 (python-skeleton-for): New command.
1281 (python-insert-if): Delete command.
1282 (python-skeleton-if): New command.
1283 (python-insert-try/except, python-insert-try/finally): Delete commands.
1284 (python-skeleton-try): New command.
1285 (python-insert-while): Delete command.
1286 (python-skeleton-while): New command.
1287 (python-backspace): Delete command.
1288 (python-indent-dedent-line-backspace): New command.
1289 (python-electric-colon): Delete command.
1290 (python-indent-electric-colon): New command.
1291 (python-guess-indent): Delete command.
1292 (python-indent-guess-indent-offset): New command.
1293 (python-shift-left): Delete command.
1294 (python-indent-shift-left): New command.
1295 (python-shift-right): Delete command.
1296 (python-indent-shift-right): New command.
1297 (python-find-function): Delete command.
1298 (python-nav-jump-to-defun): New command.
1299 (python-next-statement): Delete command.
1300 (python-nav-forward-sentence): New command.
1301 (python-previous-statement): Delete command.
1302 (python-nav-backward-sentence): New command.
1303 (python-fill-paragraph): Delete command.
1304 (python-fill-paragraph-function): New command.
1305 (python-send-buffer): Delete command.
1306 (python-shell-send-buffer): New command.
1307 (python-send-defun): Delete command.
1308 (python-shell-send-defun): New command.
1309 (python-send-region, python-send-region-and-go): Delete commands.
1310 (python-shell-send-region)
1311 (python-shell-switch-to-shell): New commands.
1312 (python-send-string): Delete command.
1313 (python-shell-send-string): New command.
1314 (python-switch-to-python): Delete command.
1315 (python-shell-switch-to-shell): New command.
1316 (python-describe-symbol): Delete command.
1317 (python-eldoc-at-point): New command.
1318 (python--set-prompt-regexp, python-args-to-list)
1319 (python-after-info-look, python-check-version)
1320 (python-check-comint-prompt, python-find-imports)
1321 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1322 (python-unload-function, python-expand-template)
1323 (python-maybe-jython, python-preoutput-filter)
1324 (python-pdbtrack-get-source-buffer)
1325 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1326 (python-pdbtrack-toggle-stack-tracking)
1327 (python-pdbtrack-track-stack-file, python-initial-text)
1328 (python-first-word, python-comment-line-p, python-send-command)
1329 (python-setup-brm, python-sentinel, python-set-proc)
1330 (python-skip-out, python-input-filter, python-outdent-p)
1331 (python-outline-level, python-backslash-continuation-line-p)
1332 (python-end-of-block, python-end-of-statement, python-mark-block)
1333 (python-beginning-of-block, python-beginning-of-statement)
1334 (python-blank-line-p, python-beginning-of-string)
1335 (python-open-block-statement-p): Delete functions.
1336 (python-indent-line, python-indent-line-1): Delete functions.
1337 (python-indent-line): New function.
1338 (python-indentation-levels): Delete function.
1339 (python-indent-calculate-levels): New function.
1340 (python-proc): Delete function.
1341 (python-shell-get-process): New function.
1342 (python-send-receive): Delete function.
1343 (python-shell-send-string-no-output): New function.
1344 (python-module-path): Delete function.
1345 (python-ffap-module-path): New function.
1346 (python-completion-at-point)
1347 (python-symbol-completions): Delete functions.
1348 (python-completion-complete-at-point): New function.
1349 (python-load-file): Delete function.
1350 (python-shell-send-file): New function.
1351 (python-calculate-indentation): Delete function.
1352 (python-indent-calculate-indentation): New function.
1353 (python-skip-comments/blanks): Delete function.
1354 (python-util-forward-comment): New function.
1355 (python-continuation-line-p): Delete function.
1356 (python-info-continuation-line-p): New function.
1357 (python-which-func, python-current-defun): Delete function.
1358 (python-info-current-defun): New function.
1359 (python-beginning-of-defun): Delete function.
1360 (python-nav-beginning-of-defun): New function.
1361 (python-close-block-statement-p)
1362 (python-block-end-p): Delete function.
1363 (python-info-closing-block): New function.
1364 (python-comint-output-filter-function)
1365 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1366 (python-fill-comment, python-fill-decorator, python-fill-paren)
1367 (python-fill-string, python-imenu-make-element-tree)
1368 (python-imenu-make-tree, python-imenu-tree-assoc)
1369 (python-indent-context, python-indent-dedent-line)
1370 (python-indent-line-function)
1371 (python-indent-post-self-insert-function)
1372 (python-indent-toggle-levels)
1373 (python-info-assignment-continuation-line-p)
1374 (python-info-beginning-of-backlash)
1375 (python-info-block-continuation-line-p)
1376 (python-info-closing-block-message)
1377 (python-info-line-ends-backslash-p)
1378 (python-info-looking-at-beginning-of-defun)
1379 (python-info-ppss-context, python-info-ppss-context-type)
1380 (python-nav-list-defun-positions, python-nav-read-defun)
1381 (python-nav-sentence-end, python-nav-sentence-start)
1382 (python-pdbtrack-comint-output-filter-function)
1383 (python-pdbtrack-set-tracked-buffer)
1384 (python-shell-calculate-exec-path)
1385 (python-shell-calculate-process-environment)
1386 (python-shell-completion--do-completion-at-point)
1387 (python-shell-completion--get-completions)
1388 (python-shell-completion-complete-at-point)
1389 (python-shell-completion-complete-or-indent)
1390 (python-shell-get-or-create-process)
1391 (python-shell-get-process-name)
1392 (python-shell-internal-get-or-create-process)
1393 (python-shell-internal-get-process-name)
1394 (python-shell-internal-send-string, python-shell-make-comint)
1395 (python-shell-parse-command, python-shell-send-setup-code)
1396 (python-skeleton-add-menu-items)
1397 (python-util-clone-local-variables, python-util-position)
1398 (run-python-internal, python-indentation-levels)
1399 (python-nav-beginning-of-defun)
1400 (python-completion-complete-at-point): New functions.
1401 (run-python): Change arguments. New API requirements.
1402
1403 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1406 (bug#11649).
1407
1408 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1409 (macroexp--expand-all): Use it.
1410
1411 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1412 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1413 Use `cl-function' instead.
1414
1415 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1416
1417 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1418 Suggested by Stefan Monnier while discussing bug#11657.
1419
1420 2012-06-14 Sam Steingold <sds@gnu.org>
1421
1422 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1423
1424 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1425
1426 * play/doctor.el (doctor-doc): Remove parameter and use
1427 doctor-sent instead of sent.
1428 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1429
1430 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * files.el: Require cl-lib.
1433 (file-name-non-special): Replace case -> cl-case.
1434
1435 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1436
1437 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1438 mapping from #' to function*.
1439
1440 2012-06-13 Chong Yidong <cyd@gnu.org>
1441
1442 * mouse.el (mouse-drag-track): Do not set the mark if the user
1443 releases the mouse without selecting anything (Bug#11588).
1444
1445 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1448 as well (bug#11646).
1449
1450 * loadup.el: Count byte-code functions as well.
1451
1452 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1453 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1454
1455 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1456 (bug#11649). Add cl-defun and cl-defmacro.
1457
1458 2012-06-13 Drew Adams <drew.adams@oracle.com>
1459
1460 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1461 Fix last change.
1462
1463 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1464
1465 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1466 Otherwise, it blocks in batch mode.
1467
1468 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1469
1470 * help-mode.el (bookmark-make-record-default): Declare.
1471
1472 2012-06-13 Chong Yidong <cyd@gnu.org>
1473
1474 * emacs-lisp/package.el (list-packages): Compute a list of
1475 packages that are newly-available since the last list-packages
1476 invocation.
1477 (package-menu--new-package-list): New var.
1478 (package-menu--generate, package-menu--print-info)
1479 (package-menu--status-predicate, package-menu-mark-install):
1480 Handle new status label "new".
1481
1482 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1485 conversion to backquotes.
1486
1487 2012-06-12 Chong Yidong <cyd@gnu.org>
1488
1489 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1490 Rename from gud-inhibit-global-bindings.
1491
1492 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1493
1494 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1495 hook from nxml-glyph-set-hook.
1496
1497 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1498 declaration.
1499
1500 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1501
1502 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1503 Convert to defcustom.
1504
1505 2012-06-12 Drew Adams <drew.adams@oracle.com>
1506
1507 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1508 New functions.
1509 (help-mode): Use them.
1510
1511 2012-06-11 Glenn Morris <rgm@gnu.org>
1512
1513 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1514 Use preprocessor face for directives.
1515 (fortran-directive-re): Doc fix.
1516
1517 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1520 conversion to backquotes (bug#11652).
1521
1522 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1523 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1524 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1525 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1526 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1527 (cl-ninth, cl-tenth): Mark them as inlinable.
1528 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1529 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1530 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1531 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1532 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1533 (cl-list*, cl-adjoin): Don't put an autoload manually.
1534 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1535 (cl--compiler-macro-list*): Add autoload cookie.
1536 (cl--compiler-macro-cXXr): New function.
1537
1538 * help-fns.el (help-fns--compiler-macro): New function extracted from
1539 describe-function-1; follow aliases and use `compiler-macro' property.
1540 (describe-function-1): Use it.
1541
1542 2012-06-11 Chong Yidong <cyd@gnu.org>
1543
1544 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1545 is uninstalled, if imagemagick is installed.
1546
1547 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1548
1549 * emacs-lisp/cl-lib.el: Use lexical-binding.
1550 (cl-map-extents, cl-maclisp-member): Remove.
1551 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1552 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1553 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1554 * emacs-lisp/cl-extra.el: Use lexical-binding.
1555 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1556 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1557 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1558 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1559 * emacs-lisp/cl-seq.el: Use lexical-binding.
1560 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1561 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1562 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1563 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1564 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1565 CL's internals.
1566
1567 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
1568
1569 Sync with Tramp 2.2.6-pre.
1570
1571 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1572 `print-length' and `print-level' to nil, in order to avoid
1573 truncation. Reported by Christopher Schmidt
1574 <christopher@ristopher.com>.
1575
1576 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1577
1578 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1579 New defmacro.
1580 (tramp-compat-copy-directory): Add optional argument
1581 COPY-CONTENTS. It is not handled yet.
1582
1583 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1584 (tramp-ftp-file-name-p): Simplify.
1585
1586 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1587 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1588 connection vector.
1589
1590 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1591 (tramp-methods): Do not use `tramp-password-end-of-line'.
1592 (tramp-completion-function-alist-putty): Handle UNIX case.
1593 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1594 (tramp-do-file-attributes-with-stat)
1595 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1596 gid as real numbers. They could run out of integer range on cygwin.
1597 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1598 (tramp-sh-handle-expand-file-name): Handle hops.
1599 (tramp-open-connection-setup-interactive-shell):
1600 Use `tramp-cleanup'. Move check for busyboxes ...
1601 (tramp-find-shell): ... here. Simplify implementation.
1602 Set "remote-shell" property also for alternative shells.
1603 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1604 If failing, a regular file would be written otherwise.
1605 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1606 (tramp-find-inline-encoding): Cache the coding commands in the
1607 process cache. Apply test command on the remote side, if defined.
1608 (tramp-find-inline-compress): Cache the compress commands in the
1609 process cache.
1610 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1611 when requested. Handle hops.
1612 (tramp-current-connection): New defvar.
1613 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1614 Throw `suppress', if there was a failed connection shortly before.
1615 Handle user interrupt. (Bug#10187)
1616 (tramp-get-inline-compress, tramp-get-inline-coding):
1617 Read connection properties from the process cache.
1618
1619 * net/tramp-smb.el (tramp-smb-server-version)
1620 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1621 New defconsts.
1622 (tramp-smb-prompt): Extend for powershell prompt.
1623 (tramp-smb-file-name-handler-alist): Add handlers for
1624 `process-file', `shell-command' and `start-file-process'.
1625 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1626 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1627 (tramp-smb-file-name-p): Simplify.
1628 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1629 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1630 (tramp-smb-shell-quote-argument): New defuns.
1631 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1632 Implement using "tar". By this, time-stamps are preserved.
1633 (tramp-smb-handle-copy-file): Handle also the case of directories.
1634 (tramp-smb-do-file-attributes-with-stat)
1635 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1636 Use `tramp-get-connection-buffer').
1637 (tramp-smb-handle-rename-file): Use "rename", when source and
1638 target are on the same share.
1639 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1640 Use `tramp-smb-server-version'.
1641 (tramp-smb-wait-for-output): Remove prompt.
1642
1643 * net/tramp.el (top): Require 'cl.
1644 (tramp-methods, tramp-rsh-end-of-line):
1645 Remove `tramp-password-end-of-line' from docstring.
1646 (tramp-save-ad-hoc-proxies): New defcustom.
1647 (tramp-completion-function-alist): Adapt docstring.
1648 (tramp-default-password-end-of-line): Remove defcustom.
1649 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1650 (tramp-user-regexp, tramp-file-name-regexp-unified)
1651 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1652 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1653 (tramp-remote-file-name-spec-regexp): New defconst.
1654 (tramp-file-name-structure): Extend structure for hops.
1655 (tramp-get-method-parameter): Move up.
1656 (tramp-file-name-p, tramp-dissect-file-name)
1657 (with-parsed-tramp-file-name): Handle hops.
1658 (tramp-file-name-hop): New defun.
1659 (tramp-make-tramp-file-name): New optional arg HOP.
1660 (tramp-message-show-progress-reporter-message): New defvar.
1661 (tramp-with-progress-reporter): Use it. We cannot use
1662 `tramp-message-show-message' here, because this suppresses also
1663 error buffers.
1664 (tramp-error-with-buffer): Suppress buffer view, if
1665 `tramp-message-show-message' is nil.
1666 Use `tramp-get-connection-buffer'.
1667 (tramp-cleanup): New defun.
1668 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1669 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1670 an error unchanged.
1671 (tramp-completion-handle-file-name-all-completions): Handle hops.
1672 Fix an error when called from ido.
1673 (tramp-completion-dissect-file-name): Use better local variable
1674 name. Add hop to the vector.
1675 (tramp-handle-insert-file-contents): Use progress-reporter for the
1676 whole scenario.
1677 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1678 to `t'.
1679 (tramp-check-for-regexp): Simplify search.
1680 (tramp-enter-password): Remove it. Move implementation ...
1681 (tramp-action-password): ... here.
1682 (tramp-mode-string-to-int, tramp-local-host-p)
1683 (tramp-make-tramp-temp-file, tramp-read-passwd)
1684 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1685 Set tramp-autoload cookie.
1686
1687 * net/trampver.el: Update release number.
1688
1689 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1690 Michael Albinus <michael.albinus@gmx.de>
1691
1692 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1693 (tramp-parse-group, tramp-parse-file)
1694 (tramp-parse-shostkeys-sknownhosts): New defuns.
1695 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1696 (tramp-parse-shosts-group, tramp-parse-sconfig)
1697 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1698 (tramp-parse-sknownhosts, tramp-parse-hosts)
1699 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1700 Use them.
1701 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1702 (tramp-parse-putty-group): Don't narrow.
1703 (tramp-parse-putty): Make a loop.
1704 (tramp-file-name-handler): Catch the `suppress' signal.
1705
1706 2012-06-11 Chong Yidong <cyd@gnu.org>
1707
1708 * image.el (imagemagick-register-types): Put the ImageMagick entry
1709 at the end of image-type-file-name-regexps.
1710
1711 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1712
1713 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1714 (pcase, pcase-let*, pcase-dolist): Use them.
1715
1716 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * emacs-lisp/pcase.el (pcase--let*): New function.
1719 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1720 (pcase--expand): Use macroexp-let².
1721
1722 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1725 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1726 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1727 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1728 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1729 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1730
1731 2012-06-10 Glenn Morris <rgm@gnu.org>
1732
1733 * mail/rmail.el (rmail-yank-current-message): Leave point at
1734 correct position. (Bug#11660)
1735
1736 2012-06-10 Chong Yidong <cyd@gnu.org>
1737
1738 * allout-widgets.el: Fix code header.
1739
1740 2012-06-10 Chong Yidong <cyd@gnu.org>
1741
1742 * cus-edit.el (customize-changed-options-previous-release):
1743 Bump to 24.1.
1744
1745 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1746
1747 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1748
1749 2012-06-09 Chong Yidong <cyd@gnu.org>
1750
1751 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1752
1753 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1754
1755 * window.el (special-display-popup-frame): Don't use
1756 window--display-buffer (Bug#11651).
1757
1758 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1759
1760 Fix parallel builds: make sure loaddefs.el is not being written
1761 while Lisp files are compiled.
1762 (compile): Don't depend on 'mh-autoloads'.
1763 (compile-CMD, compile-SH): Depend on 'autoloads'.
1764 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1765
1766 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1767
1768 2012-06-09 Chong Yidong <cyd@gnu.org>
1769
1770 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1771 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1772 Doc fixes (Bug#11225).
1773
1774 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1777 a function if there's a clear indication that it has a compiler-macro.
1778 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1779 (macro-declarations-alist): Add arglist to declaration functions.
1780 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1781 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1782 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1783 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1784 Also add autoload to find the compiler macro.
1785 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1786 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1787 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1788 (cl--compiler-macro-get): New functions, replacing calls to
1789 cl-define-compiler-macro.
1790 (cl-typep) [compiler-macro]: Use macroexp-let².
1791
1792 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
1793
1794 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1795 string properly, fixes Bug#11473.
1796
1797 2012-06-08 Chong Yidong <cyd@gnu.org>
1798
1799 * faces.el (set-face-attribute): Doc fix.
1800 (modify-face): Don't use :bold and :italic.
1801 (error, warning, success): Tweak definitions.
1802
1803 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1804 (custom-modified, custom-set, custom-changed, custom-themed)
1805 (custom-saved, custom-button, custom-button-mouse)
1806 (custom-button-pressed, custom-state, custom-comment-tag)
1807 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1808 (custom-group-subtitle): Use new-style face specs.
1809 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1810 (custom-set-face, custom-changed-face, custom-saved-face)
1811 (custom-button-face, custom-button-pressed-face)
1812 (custom-documentation-face, custom-state-face)
1813 (custom-comment-face, custom-comment-tag-face)
1814 (custom-variable-tag-face, custom-variable-button-face)
1815 (custom-face-tag-face, custom-group-tag-face-1)
1816 (custom-group-tag-face): Remove obsolete face alias.
1817
1818 * epa.el (epa-validity-high, epa-validity-medium)
1819 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1820 (epa-field-name, epa-field-body):
1821 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1822 (font-lock-keyword-face, font-lock-builtin-face)
1823 (font-lock-function-name-face, font-lock-variable-name-face)
1824 (font-lock-type-face, font-lock-constant-face):
1825 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1826 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1827 * speedbar.el (speedbar-button-face, speedbar-file-face)
1828 (speedbar-directory-face, speedbar-tag-face)
1829 (speedbar-selected-face, speedbar-highlight-face)
1830 (speedbar-separator-face):
1831 * whitespace.el (whitespace-newline, whitespace-space)
1832 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1833 (whitespace-line, whitespace-space-before-tab)
1834 (whitespace-space-after-tab, whitespace-indentation)
1835 (whitespace-empty):
1836 * emulation/cua-base.el (cua-global-mark):
1837 * eshell/em-prompt.el (eshell-prompt):
1838 * net/newst-plainview.el (newsticker-new-item-face)
1839 (newsticker-old-item-face, newsticker-immortal-item-face)
1840 (newsticker-obsolete-item-face, newsticker-date-face)
1841 (newsticker-statistics-face, newsticker-default-face):
1842 * net/newst-reader.el (newsticker-feed-face)
1843 (newsticker-extra-face, newsticker-enclosure-face):
1844 * net/newst-treeview.el (newsticker-treeview-face)
1845 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1846 (newsticker-treeview-immortal-face)
1847 (newsticker-treeview-obsolete-face)
1848 (newsticker-treeview-selection-face):
1849 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1850 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1851 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1852 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1853 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1854 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1855 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1856 (mpuz-text):
1857 * progmodes/vera-mode.el (vera-font-lock-number)
1858 (vera-font-lock-function, vera-font-lock-interface):
1859 * textmodes/table.el (table-cell): Use new-style face specs, and
1860 don't use the old :bold and :italic attributes.
1861
1862 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1863 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1864 (ebrowse-member-class, ebrowse-progress): Likewise.
1865 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1866 (ebrowse-file-name-face, ebrowse-default-face)
1867 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1868 (ebrowse-progress-face): Remove obsolete faces.
1869
1870 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1871 Inherit from error and warning faces respectively.
1872
1873 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1874 Likewise.
1875 (flyspell-incorrect-face, flyspell-duplicate-face):
1876 Remove obsolete aliases.
1877
1878 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1879
1880 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1881 Avoid infloop.
1882
1883 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1884
1885 * startup.el (argv, argi): Make lexically scoped.
1886 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1887 * emacs-lisp/cl-macs.el: Use lexical-binding.
1888 Rename cl-bind-* to cl--bind-*.
1889 * files.el: Don't require `cl' since it doesn't use it.
1890 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1891
1892 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
1893
1894 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1895 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1896 instead of calling external sort utility.
1897 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1898
1899 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1900
1901 * descr-text.el (describe-char): Mention how to insert the
1902 character, if the current input method doesn't support it.
1903 See the discussion in this thread for the details:
1904 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1905
1906 2012-06-08 Sam Steingold <sds@gnu.org>
1907
1908 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1909 XF86Back to previous-buffer.
1910 (minibuffer-local-map): Bind them to next-history-element and
1911 previous-history-element respectively.
1912 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1913 help-go-back respectively.
1914 * info.el (Info-mode-map): Bind them to Info-history-forward and
1915 Info-history-back respectively.
1916 These are the keys next to Up on the ThinkPad keyboard.
1917
1918 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1921 * emacs-lisp/cl-macs.el: Provide itself.
1922 (cl--labels-convert-cache): New var.
1923 (cl--labels-convert): New function.
1924 (cl-flet, cl-labels): New implementation with new semantics, relying on
1925 lexical-binding.
1926 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1927 (cl-closure-vars, cl--function-convert-cache)
1928 (cl--function-convert): Move from cl-macs.el.
1929 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1930 rename by removing the "cl-" prefix.
1931 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1932
1933 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1936 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1937 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1938 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1939 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1940 (cl-hash-table-count): Add old compatibility aliases.
1941
1942 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1943 Use macroexpand-all-environment instead.
1944 (cl--old-macroexpand): New var.
1945 (cl--sm-macroexpand): New function.
1946 (cl-symbol-macrolet): Use it during macro expansion.
1947 (cl--function-convert-cache): New var.
1948 (cl--function-convert): New function, extracted from
1949 cl-macroexpand-all.
1950 (cl-lexical-let): Use it.
1951
1952 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1953 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1954 (cl-member): Remove old alias.
1955
1956 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1957 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1958 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1959 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1960 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1961 (cl-macroexpand-cmacs): Remove var.
1962 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1963 Use macroexpand-all instead.
1964
1965 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1968 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1969 (macroexp-copyable-p): New functions and macros.
1970 * emacs-lisp/edebug.el (edebug-unwrap):
1971 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1972 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1973 (pcase--let*): Remove.
1974 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1975 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1976 macroexp-const-p instead.
1977 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1978
1979 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1980 instead of "cl-" for internal definitions. Use macroexp-const-p.
1981 (cl-old-bc-file-form): Remove var.
1982 (cl-const-exprs-p): Remove fun.
1983 (cl-labels, cl-macrolet): Use backquote.
1984 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1985 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1986 (cl-define-setf-expander): Rename from cl-define-setf-method.
1987 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1988
1989 * international/mule-cmds.el: Don't require CL.
1990 (view-hello-file): Don't use `letf'.
1991
1992 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * tmm.el (tmm-prompt): Use string-prefix-p.
1995 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1996 (tmm-add-prompt): Use minibuffer-completion-help.
1997 (tmm-delete-map): Remove.
1998
1999 * subr.el (kbd): Make it its own function.
2000
2001 2012-06-07 Stefan Merten <smerten@oekonux.de>
2002
2003 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2004 Silence compiler warnings. Fix versions.
2005 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2006 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2007 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2008 (rst-package-emacs-version-alist): Correct Emacs version to
2009 represent major merge with upstream.
2010 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2011
2012 2012-06-06 Glenn Morris <rgm@gnu.org>
2013
2014 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2015 Only print environment variables if set.
2016
2017 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2020 (macroexp--cons): Rename from maybe-cons.
2021 (macroexp--accumulate): Rename from macroexp-accumulate.
2022 (macroexp--all-forms): Rename from macroexpand-all-forms.
2023 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2024 (macroexp--expand-all): Rename from macroexpand-all-1.
2025
2026 2012-06-06 Sam Steingold <sds@gnu.org>
2027
2028 * calendar/calendar.el (calendar-in-read-only-buffer):
2029 Call `special-mode' to enable the standard read-only keybindings.
2030
2031 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2034 with "loading" messages (bug#11635).
2035
2036 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2037
2038 * files.el (enable-remote-dir-locals): New option.
2039 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2040
2041 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2042 Ensure, that the temp directory is local.
2043
2044 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2045 `temporary-file-directory'.
2046
2047 * progmodes/python.el (python-send-region): Ensure, that the
2048 temporary file is created also in the remote case.
2049
2050 2012-06-06 Glenn Morris <rgm@gnu.org>
2051
2052 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2053 (vc-rcs-update-changelog): Use it.
2054
2055 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2056
2057 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2058 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2059 (vc-sccs-diff): Replace use of the external vcdiff script.
2060
2061 2012-06-05 Glenn Morris <rgm@gnu.org>
2062
2063 * ledit.el: Move to obsolete/.
2064
2065 2012-06-05 Sam Steingold <sds@gnu.org>
2066
2067 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2068 patch (Bug#11140).
2069
2070 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2071
2072 * emacs-lisp/cust-print.el: Move to obsolete.
2073
2074 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2075 compiler-macro expansion.
2076
2077 Add native compiler-macro support.
2078 * emacs-lisp/macroexp.el (macroexpand-all-1):
2079 Support compiler-macros directly. Properly follow aliases and apply
2080 the compiler macros more thoroughly.
2081 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2082 macroexpand now properly follows aliases.
2083 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2084 (cl-compiler-macroexpand): Use new prop.
2085 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2086
2087 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2088
2089 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2090
2091 * window.el (get-lru-window, get-mru-window, get-largest-window):
2092 New argument NOT-SELECTED to avoid picking the selected window.
2093 (window--display-buffer-1, window--display-buffer-2): Replace by
2094 new function window--display-buffer
2095 (display-buffer-same-window, display-buffer-reuse-window)
2096 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2097 Use window--display-buffer.
2098 (display-buffer-use-some-window): Remove temporary dedication
2099 hack by calling get-lru-window and get-largest-window with
2100 NOT-SELECTED argument non-nil. Call window--display-buffer.
2101
2102 2012-06-05 Glenn Morris <rgm@gnu.org>
2103
2104 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2105 Replace external vcdiff script.
2106
2107 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2110
2111 2012-06-04 Chong Yidong <cyd@gnu.org>
2112
2113 * image.el (imagemagick-types-inhibit): Revert last change.
2114 Add INFO and M.
2115 (imagemagick-enabled-types): Remove CIN and EPS*.
2116
2117 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * emacs-lisp/cl-lib.el: Rename from cl.el.
2120 * emacs-lisp/cl.el: New compatibility file.
2121 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2122 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2123 to obey the "cl-" prefix.
2124 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2125
2126 2012-06-03 Glenn Morris <rgm@gnu.org>
2127
2128 * emacs-lisp/authors.el (authors-aliases): Addition.
2129
2130 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2131 Fix :version.
2132
2133 2012-06-03 Stefan Merten <smerten@oekonux.de>
2134
2135 * textmodes/rst.el: Add comments.
2136 (rst-transition, rst-adornment): New faces.
2137 (rst-adornment-faces-alist): Make default safe to reevaluate.
2138 Fixes
2139 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2140 Improve customization tags.
2141 (rst-define-level-faces): Clarify meaning.
2142
2143 2012-06-03 Chong Yidong <cyd@gnu.org>
2144
2145 * progmodes/compile.el (compilation-mode-line-fail)
2146 (compilation-mode-line-run, compilation-mode-line-exit):
2147 New faces.
2148 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2149
2150 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2151
2152 * progmodes/which-func.el (which-func-update-ediff-windows):
2153 New function. Use it in ediff-select-hook (Bug#11478).
2154
2155 2012-06-03 Chong Yidong <cyd@gnu.org>
2156
2157 * bindings.el: Remove explicit help text from format-mode-line.
2158 It is now supplied by mode-line-default-help-echo.
2159 (mode-line-front-space, mode-line-end-spaces)
2160 (mode-line-misc-info): New variables.
2161 (mode-line-modes, mode-line-position): Move the default value to
2162 the variable definition.
2163 (mode-line-default-help-echo): New defcustom.
2164 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2165 (mode-line-modified-help-echo): New functions.
2166 (mode-line-mule-info, mode-line-modified): Use them.
2167 (mode-line-eol-desc, propertized-buffer-identification):
2168 Consistency fixes for help text.
2169 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2170 set-buffer-file-coding-system (Bug#289).
2171 (mode-line-mule-info-help-echo): Update help text.
2172
2173 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2174
2175 * simple.el (execute-extended-command): Set real-this-command
2176 (bug#11506).
2177
2178 2012-06-02 Chong Yidong <cyd@gnu.org>
2179
2180 Remove incorrect uses of "modeline" in comments, docstrings, and
2181 function/variable names (Bug#10329).
2182
2183 * cus-edit.el (mode-line):
2184 * dframe.el (dframe-mouse-hscroll):
2185 * emacs-lisp/re-builder.el:
2186 * emacs-lisp/easy-mmode.el (define-minor-mode):
2187 * frame.el (set-frame-name):
2188 * help.el (lookup-minor-mode-from-indicator):
2189 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2190 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2191 (c-toggle-hungry-state):
2192 * progmodes/antlr-mode.el (antlr-language-alist):
2193 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2194 * progmodes/vhdl-mode.el (vhdl-mode):
2195 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2196 * term/ns-win.el (ns-face-at-pos):
2197 * term/sup-mouse.el (sup-mouse-report):
2198 * textmodes/flyspell.el (flyspell-mode-line-string):
2199 * textmodes/ispell.el (ispell-highlight-face):
2200 * textmodes/reftex-global.el:
2201 * vc/vc-arch.el (vc-arch-mode-line-string):
2202 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2203 * vc/vc-git.el (vc-git-mode-line-string):
2204 * vc/vc-hooks.el (vc-display-status)
2205 (vc-default-mode-line-string):
2206 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2207
2208 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2209
2210 * dired.el (dired-sort-set-mode-line): Rename from
2211 dired-sort-set-modeline. All callers changed.
2212
2213 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2214 eshell-status-in-modeline.
2215
2216 * foldout.el (foldout-mode-line-string): Rename from
2217 foldout-modeline-string. All callers changed.
2218 (foldout-update-mode-line): Rename from foldout-update-modeline.
2219
2220 * subr.el (redraw-modeline): Make into obsolete alias.
2221
2222 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2223 timeclock-modeline-display. Make old name an alias.
2224 (timeclock-update-mode-line): Likewise. All callers changed.
2225 (timeclock-mode-line-display): No need to check before using
2226 add-hook.
2227 (timeclock-relative, timeclock-day-over-hook)
2228 (timeclock-use-elapsed, timeclock-mode-string)
2229 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2230
2231 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2232 crisp-mode-modeline-string.
2233
2234 * play/solitaire.el (solitaire-build-mode-line): Rename from
2235 solitaire-build-modeline. All callers changed.
2236
2237 * play/zone.el (zone-hiding-mode-line): Rename from
2238 zone-hiding-modeline. All callers changed.
2239 (zone): Remove unusued `modeline-hidden-level' property.
2240
2241 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2242 xscheme-modeline-initialize. All callers changed.
2243
2244 * strokes.el (strokes-lighter): Rename from
2245 strokes-modeline-string.
2246
2247 * textmodes/sgml-mode.el (html-face-tag-alist)
2248 (html-tag-face-alist): Use mode-line face instead of obsolete
2249 alias modeline.
2250
2251 2012-06-02 Stefan Merten <smerten@oekonux.de>
2252
2253 * textmodes/rst.el: Always require `cl'.
2254 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2255
2256 2012-06-02 Chong Yidong <cyd@gnu.org>
2257
2258 * image.el (imagemagick-enabled-types): Rename from
2259 imagemagick-types-enable. Add many more types.
2260 (imagemagick-types-inhibit): Change default to nil.
2261 (imagemagick-filter-types): Caller changed.
2262
2263 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * emacs-lisp/cl-macs.el: Use backquotes.
2266 (cl-transform-function-property): Use eval-and-compile rather than
2267 abusing `require'.
2268 (defstruct): Use declare-function instead of with-no-warnings.
2269
2270 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2271 (byte-compile-output-docform): Re-add the print-circle bindings.
2272 (byte-compile-fix-header): Use #$ just because it's shorter.
2273 (byte-compile-output-file-form): Remove defun/defmacro.
2274
2275 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2276
2277 * simple.el (choose-completion): Remove now obsolete binding for
2278 owindow.
2279
2280 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2281
2282 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2283 in order to avoid "Stack overflow in regexp matcher".
2284
2285 2012-05-31 Glenn Morris <rgm@gnu.org>
2286
2287 * image.el: For clarity, call imagemagick-register-types at
2288 top-level, rather than relying on a custom :initialize.
2289 (imagemagick-types-enable): New option. (Bug#11557)
2290 (imagemagick-filter-types): New function. (Bug#7406)
2291 (imagemagick-register-types): Use imagemagick-filter-types.
2292 If disabling support, remove elements altogether rather
2293 than using an impossible regexp.
2294 (imagemagick-types-inhibit): Give it the default init function.
2295
2296 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2299 Handle arbitrary file name lengths (Bug#11585).
2300
2301 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2302
2303 * desktop.el (desktop-read): Clear previous and next buffers for
2304 all windows and bury *Messages* buffer (bug#11556).
2305
2306 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 Add `declare' for `defun'. Align `defmacro's with it.
2309 * emacs-lisp/easy-mmode.el (define-minor-mode)
2310 (define-globalized-minor-mode): Don't autoload the var definitions.
2311 * emacs-lisp/byte-run.el: Use lexical-binding.
2312 (defun-declarations-alist, macro-declarations-alist): New vars.
2313 (defmacro, defun): Use them.
2314 (make-obsolete, define-obsolete-function-alias)
2315 (make-obsolete-variable, define-obsolete-variable-alias):
2316 Use `declare'.
2317 (macro-declaration-function): Mark obsolete.
2318 * emacs-lisp/autoload.el: Use lexical-binding.
2319 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2320
2321 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2322
2323 * textmodes/ispell.el (ispell-with-no-warnings):
2324 Define as a macro.
2325 (ispell-kill-ispell, ispell-change-dictionary):
2326 Use `called-interactively-p' for Emacs instead of obsolete
2327 `interactive-p'.
2328
2329 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2332 (macro-declaration-function): Move var from C code.
2333 (macro-declaration-function): Define function with defalias.
2334 * emacs-lisp/macroexp.el (macroexpand-all-1):
2335 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2336 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2337 defun/defmacro any more.
2338 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2339 Provide fallback for unknown arglist.
2340 (byte-compile-arglist-warn): Change calling convention.
2341 (byte-compile-output-file-form): Move print-vars binding.
2342 (byte-compile-output-docform): Simplify accordingly.
2343 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2344 (byte-compile-defmacro-declaration): Remove.
2345 (byte-compile-file-form-defmumble): Generalize to defalias.
2346 (byte-compile-output-as-comment): Return byte-positions.
2347 Simplify callers accordingly.
2348 (byte-compile-lambda): Use `assert'.
2349 (byte-compile-defun, byte-compile-defmacro): Remove.
2350 (byte-compile-file-form-defalias):
2351 Use byte-compile-file-form-defmumble.
2352 (byte-compile-defalias-warn): Remove.
2353
2354 2012-05-29 Stefan Merten <smerten@oekonux.de>
2355
2356 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2357 possible. Fix authors. Improve comments. Improve loading of `cl'.
2358
2359 (rst-mode-abbrev-table): Merge definition.
2360 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2361 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2362
2363 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2364
2365 * calendar/icalendar.el
2366 (icalendar-export-region): Export UID properly.
2367
2368 2012-05-29 Leo Liu <sdl.web@gmail.com>
2369 * calendar/icalendar.el (icalendar-import-format):
2370 Add `icalendar-import-format-uid' (Bug#11525).
2371 (icalendar-import-format-uid): New.
2372 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2373 Export UID.
2374
2375 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2378 different alternative patterns.
2379 (pcase-codegen): Be more careful to preserve identity.
2380 (pcase--u1): Don't forget to mark vars as used.
2381
2382 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2383 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2384 (byte-compile-from-buffer): ...rather than here.
2385
2386 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2387 functions from byte-compile-function-environment.
2388
2389 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2390
2391 * window.el (window-deletable-p): Avoid deleting the root window
2392 of a frame with an active minibuffer.
2393
2394 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2395
2396 * simple.el (choose-completion): Use quit-window (Bug#11567).
2397
2398 2012-05-29 Chong Yidong <cyd@gnu.org>
2399
2400 * whitespace.el (whitespace-cleanup): Fix usage of
2401 whitespace-empty-at-bob-regexp (Bug#11492).
2402
2403 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2404
2405 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2406 revert (Bug#11488).
2407
2408 2012-05-29 Juri Linkov <juri@jurta.org>
2409
2410 * isearch.el (isearch-mode-map): Bind `M-s _' to
2411 `isearch-toggle-symbol'. Bind `M-s c' to
2412 `isearch-toggle-case-fold'.
2413 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2414 (isearch-forward): Add `M-s _' to the docstring.
2415 (isearch-forward-symbol, isearch-toggle-case-fold)
2416 (isearch-symbol-regexp): New functions. (Bug#11381)
2417
2418 2012-05-29 Juri Linkov <juri@jurta.org>
2419
2420 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2421 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2422 a function, call it to get the regexp.
2423 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2424 property `isearch-message-prefix' instead of the string "word ".
2425 (isearch-search-fun-default): For the case of `isearch-word',
2426 return a lambda that calls re-search-forward/re-search-backward
2427 with a regexp returned by `word-search-regexp' or by the function
2428 in `isearch-word'.
2429
2430 2012-05-29 Juri Linkov <juri@jurta.org>
2431
2432 * isearch.el (isearch-search-fun-default): New function.
2433 (isearch-search-fun): Move default part to the new function
2434 `isearch-search-fun-default'.
2435 (isearch-search-fun-function): Set the default value to
2436 `isearch-search-fun-default'. (Bug#11381)
2437
2438 * comint.el (comint-history-isearch-end):
2439 Use `isearch-search-fun-default'.
2440 (comint-history-isearch-search): Use `isearch-search-fun-default'
2441 and remove spacial case for `isearch-word'.
2442 (comint-history-isearch-wrap): Remove spacial case for
2443 `isearch-word'.
2444
2445 * hexl.el (hexl-isearch-search-function):
2446 Use `isearch-search-fun-default'.
2447
2448 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2449 Use `word-search-regexp' for `isearch-word'.
2450
2451 * misearch.el (multi-isearch-search-fun):
2452 Use `isearch-search-fun-default'.
2453
2454 * simple.el (minibuffer-history-isearch-search):
2455 Use `isearch-search-fun-default' and remove spacial case for
2456 `isearch-word'.
2457 (minibuffer-history-isearch-wrap): Remove spacial case for
2458 `isearch-word'.
2459
2460 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2461 Remove spacial case for `isearch-word'.
2462 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2463
2464 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2465
2466 Decrease XEmacs incompatibilities.
2467 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2468 Use `string-match'.
2469 (flyspell-delete-region-overlays): Use alternative definition for
2470 XEmacs.
2471 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2472 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2473 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2474 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2475 `define-obsolete-face-alias' under XEmacs, but old method.
2476
2477 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2478 `with-no-warnings' definition or Emacs alias.
2479 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2480 (ispell-word): Do not use `region-p' if XEmacs.
2481
2482 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2483
2484 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2485 Check for `ispell-dictionary-base-alist' instead of full
2486 `ispell-dictionary-alist'.
2487 (ispell-init-process): Show spellchecker when starting new Ispell
2488 process.
2489
2490 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2493 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2494
2495 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2496
2497 * version.el (motif-version-string, gtk-version-string)
2498 (ns-version-string): Declare.
2499
2500 2012-05-27 Juri Linkov <juri@jurta.org>
2501
2502 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2503 after the `eval-defun-1' specialcaseing
2504 like in `edebug-eval-defun' (bug#10181).
2505
2506 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2507 like in `eval-defun-1'.
2508
2509 2012-05-27 Eli Zaretskii <eliz@gnu.org>
2510
2511 * mail/sendmail.el (mail-yank-region):
2512 Recognize rmail-yank-current-message in addition to insert-buffer.
2513 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2514 a *mail* buffer created through rmail-start-mail with sendmail as
2515 mail-user-agent.
2516
2517 2012-05-27 Chong Yidong <cyd@gnu.org>
2518
2519 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2520 Default to 256 (Bug#11267).
2521
2522 * help.el (describe-mode): Doc fix.
2523
2524 2012-05-26 Glenn Morris <rgm@gnu.org>
2525
2526 * w32-fns.el (w32-init-info): Remove.
2527 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2528
2529 * info.el (info-initialize): For self-contained NS builds, put the
2530 included info/ directory at the front. (Bug#2791)
2531
2532 * paths.el (Info-default-directory-list): Make it a defcustom,
2533 mainly so that we can use custom-initialize-delay.
2534
2535 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * subr.el (buffer-has-markers-at): Mark obsolete.
2538
2539 * subr.el (lambda): Use declare.
2540
2541 * emacs-lisp/lisp-mode.el (lambda):
2542 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2543
2544 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2545
2546 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2547
2548 2012-05-26 Glenn Morris <rgm@gnu.org>
2549
2550 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2551
2552 2012-05-25 Glenn Morris <rgm@gnu.org>
2553
2554 * paths.el: Remove no-byte-compile.
2555 * loadup.el: No need to load paths.el uncompiled.
2556
2557 * image.el (imagemagick-types-inhibit): Doc fix.
2558
2559 * version.el: Remove no-byte-compile and associated formatting.
2560 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2561 is ancient code from when there was an "inc-vers.el".
2562
2563 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * progmodes/gdb-mi.el: Minor style changes.
2566 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2567 Turn into minor modes.
2568 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2569 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2570 (gdb-shell): Remove unneeded let-binding.
2571 (gdb-get-many-fields): Eliminate O(n²) behavior.
2572
2573 2012-05-25 Eli Zaretskii <eliz@gnu.org>
2574
2575 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2576 platforms that don't link in fontset.c.
2577
2578 2012-05-25 Juri Linkov <juri@jurta.org>
2579
2580 Use the same diff color scheme as in modern VCSes (bug#10181).
2581
2582 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2583 to avoid confusion with `diff-added' that now uses green colors.
2584 (diff-removed): Use shades of red.
2585 (diff-added): Use shades of green.
2586 (diff-changed): Leave just the yellow color.
2587 (diff-use-changed-face): New variable.
2588 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2589 how to highlight context diff changes.
2590 (diff-refine-change): Use shades of yellow.
2591 (diff-refine-removed): New face that uses shades of red.
2592 (diff-refine-added): New face that uses shades of green.
2593 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2594 `diff-refine-removed' in the call to `smerge-refine-subst'
2595 depending on the value of `diff-use-changed-face'.
2596
2597 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2598 (smerge-other): Use shades of green.
2599 (smerge-base): Use shades of yellow.
2600 (smerge-refined-change): Empty face.
2601 (smerge-refined-removed): New face that uses shades of red.
2602 (smerge-refined-added): New face that uses shades of green.
2603 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2604 args `props-r' and `props-a', and use them. Doc fix.
2605 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2606 on its value use different faces `smerge-refined-change',
2607 `smerge-refined-removed', `smerge-refined-added' in the call to
2608 `smerge-refine-subst'.
2609
2610 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2611 Add face condition `min-colors 88' with shades of red.
2612 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2613 `min-colors 88' with shades of green.
2614 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2615 `min-colors 88' with shades of yellow.
2616
2617 2012-05-24 Glenn Morris <rgm@gnu.org>
2618
2619 * paths.el (prune-directory-list, remote-shell-program): Move to...
2620 * files.el (prune-directory-list, remote-shell-program): ...here.
2621 For the latter, delay initialization, prefer ssh, just search PATH.
2622
2623 * paths.el (term-file-prefix): Move to faces.el (the only user).
2624 * faces.el (term-file-prefix): Move here, make it a defcustom.
2625
2626 * paths.el (news-directory, news-path, news-inews-program):
2627 Move to gnus/nnspool.el.
2628
2629 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2630
2631 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2632 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2633 Make the latter a defcustom, with a delayed initialization.
2634
2635 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2636 These were deleted from Gnus itself late 2010.
2637
2638 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2639
2640 * progmodes/which-func.el (which-func-ff-hook):
2641 Check against user-error, not error.
2642
2643 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2644 cl-specs.el, which no longer exists.
2645
2646 2012-05-22 Glenn Morris <rgm@gnu.org>
2647
2648 * info.el (info-emacs-bug): New command.
2649 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2650 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2651
2652 2012-05-21 Glenn Morris <rgm@gnu.org>
2653
2654 * makefile.w32-in (update-subdirs-SH):
2655 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2656
2657 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2660
2661 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2662 Simplify Maven regexp, and make sure the file can't start with a space
2663 (bug#11517).
2664
2665 2012-05-21 Glenn Morris <rgm@gnu.org>
2666
2667 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2668 Scrap superfluous subshells.
2669
2670 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2673 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2674
2675 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2676
2677 * calc/calc.el (calc-ensure-consistent-units): New variable.
2678
2679 * calc/calc-units.el (math-consistent-units-p)
2680 (math-check-unit-consistency): New functions.
2681 (calc-quick-units, calc-convert-units):
2682 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2683 is non-nil.
2684 (calc-extract-units): Fix typo.
2685
2686 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2687
2688 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2689
2690 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2691 (flyspell-default-deplacement-commands): Don't spell check after
2692 repeated window/frame switches (e.g. triggered by mouse-movement).
2693 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2694 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2695 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2696 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2697 Remove unused vars.
2698 (flyspell-get-casechars, flyspell-get-not-casechars):
2699 Simplify; Don't bother removing a ] just to add it back.
2700 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2701
2702 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2703
2704 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2705 New functions.
2706 (math-function-table): Add support for more C functions.
2707
2708 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2709
2710 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2711 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2712 Protect delay handling for otherchars against empty otherchars.
2713
2714 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2717 their respective macro declarations.
2718 * skeleton.el (define-skeleton):
2719 * progmodes/compile.el (define-compilation-mode):
2720 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2721 (define-ibuffer-filter):
2722 * emacs-lisp/generic.el (define-generic-mode):
2723 * emacs-lisp/easy-mmode.el (define-minor-mode)
2724 (define-globalized-minor-mode):
2725 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2726 * emacs-lisp/byte-run.el (defsubst):
2727 * custom.el (deftheme): Add doc-string metadata.
2728
2729 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2732
2733 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2736
2737 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2738 * emacs-lisp/cl-macs.el: Idem.
2739 * emacs-lisp/cl-specs.el: Remove.
2740
2741 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 Minor renaming of internal CL functions and variables.
2744 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2745 (cl--position): Rename from cl-position.
2746 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2747 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2748 (cl--random-state): Rename from *random-state*.
2749
2750 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2751
2752 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2753 parens around the arg list (bug#11499).
2754
2755 2012-05-17 Juri Linkov <juri@jurta.org>
2756
2757 * isearch.el (word-search-regexp, word-search-backward)
2758 (word-search-forward, word-search-backward-lax)
2759 (word-search-forward-lax): Move functions from search.c
2760 (bug#10145, bug#11381).
2761
2762 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2763
2764 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2765 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2766 Delay for otherchars as for normal word components.
2767
2768 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * minibuffer.el (completion--sifn-requote): Fix last change.
2771 (minibuffer-local-must-match-filename-map):
2772 Move define-obsolete-variable-alias before its var.
2773
2774 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2777
2778 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2779 behavior.
2780 (completion--string-equal-p): New function.
2781 (completion--twq-all): Use it to get better assertion failure data.
2782
2783 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2784 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2785 (shell--requote-argument): New functions.
2786 (shell-completion-vars): Use them.
2787 (shell--parse-pcomplete-arguments): Rename from
2788 shell-parse-pcomplete-arguments.
2789 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2790 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2791 Obey comint-file-name-quote-list.
2792
2793 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2794 (smie-indent-keyword): Use it.
2795
2796 2012-05-14 Stefan Merten <smerten@oekonux.de>
2797
2798 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2799
2800 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2801
2802 * net/rlogin.el (rlogin-mode-map): Fix last change.
2803
2804 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
2805
2806 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2807 the following \r\n using a single `process-send-string', since the
2808 Lotus SMTP server refuses to accept any commands if they are sent
2809 with two `process-send-string's (Bug#11444).
2810
2811 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * shell.el (shell-parse-pcomplete-arguments):
2814 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2815
2816 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2817
2818 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2819 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2820 (image-transform-width, image-transform-fit-width): New functions.
2821 (image-transform-properties): Use them.
2822 (image-transform-check-size): New function.
2823 (image-toggle-display-image): Use it (for testing).
2824 (image-transform-set-rotation): Reduce angle mod 360.
2825 Delete obsolete comment.
2826
2827 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2828
2829 * image-mode.el: Fix scaling (bug#11399).
2830 (image-transform-resize): Doc fix.
2831 (image-transform-properties): Default scale is 1 and height should
2832 be an integer.
2833
2834 2012-05-13 Johan Bockgård <bojohan@gnu.org>
2835
2836 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2837 than hard-coding `car', to fix misbehavior when moving forward.
2838
2839 2012-05-13 Chong Yidong <cyd@gnu.org>
2840
2841 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2842 (tabulated-list-entries, tabulated-list-padding)
2843 (tabulated-list-sort-key): Make permanent-local.
2844
2845 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2846 (electric-buffer-list): Put electric buffer menu
2847 command descriptions in this docstring, instead of the docstring
2848 of electric-buffer-menu-mode. Code cleanups.
2849 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2850 Electric-buffer-menu-mode.
2851 (electric-buffer-update-highlight): Minor code cleanup.
2852
2853 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
2854
2855 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2856 (Bug#11447)
2857
2858 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2859
2860 Move define-obsolete-variable-alias before the var's definition.
2861 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2862 * tooltip.el (tooltip-hook):
2863 * textmodes/reftex-toc.el (reftex-toc-map):
2864 * textmodes/reftex-sel.el (reftex-select-label-map)
2865 (reftex-select-bib-map):
2866 * textmodes/reftex-index.el (reftex-index-map)
2867 (reftex-index-phrases-map):
2868 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2869 * progmodes/meta-mode.el (meta-mode-map):
2870 * novice.el (disabled-command-hook):
2871 * loadhist.el (unload-hook-features-list):
2872 * frame.el (blink-cursor):
2873 * files.el (find-file-not-found-hooks, write-file-hooks)
2874 (write-contents-hooks):
2875 * emulation/tpu-edt.el (GOLD-map):
2876 * emacs-lock.el (emacs-lock-from-exiting):
2877 * emacs-lisp/generic.el (generic-font-lock-defaults):
2878 * emacs-lisp/chart.el (chart-map):
2879 * dos-fns.el (register-name-alist):
2880 * dired-x.el (dired-omit-files-p):
2881 * desktop.el (desktop-enable):
2882 * cus-edit.el (custom-mode-hook):
2883 * buff-menu.el (buffer-menu-mode-hook):
2884 * bookmark.el (bookmark-read-annotation-text-func)
2885 (bookmark-exit-hooks):
2886 * allout.el (allout-mode-deactivate-hook)
2887 (allout-exposure-change-hook, allout-structure-added-hook)
2888 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2889 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2890 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2891 comes before the corresponding variable's definition.
2892
2893 2012-05-12 Chong Yidong <cyd@gnu.org>
2894
2895 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2896 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2897 (Buffer-menu-mode-map): Bind it.
2898 (Buffer-menu--pretty-name): Add a mouse-face property.
2899
2900 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2901
2902 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2903 (prolog-upper-case-string, prolog-lower-case-string)
2904 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2905 (prolog-use-smie, prolog-smie-grammar): New vars.
2906 (prolog-smie-forward-token, prolog-smie-backward-token)
2907 (prolog-smie-rules): New funs.
2908 (prolog-comment-indent): Remove.
2909 (prolog-mode-variables): Use default comment indentation instead.
2910 Setup SMIE.
2911 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2912 (prolog-mode): Don't call them any more.
2913 (prolog-electric-colon, prolog-electric-dash)
2914 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2915
2916 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2917
2918 * minibuffer.el (completion--twq-all): Again, allow case differences.
2919
2920 * term.el: Move keymap initialization code to be more idiomatic.
2921 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2922 (term-terminal-menu): Move initialization into declaration.
2923 (term-escape-char): Let the user set it in her .emacs.
2924
2925 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2926 Provide SMIE-based indentation (not enabled by default yet).
2927 (sh-mode-map): Don't bind electric keys.
2928 Use electric-pair-mode instead of skeleton-pair.
2929 (sh-assignment-regexp): Fit within 80 columns.
2930 (sh-indent-supported): Specify actual shell name instead of boolean.
2931 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2932 (sh-maybe-here-document): Use it. Make obsolete.
2933 (sh-electric-here-document-mode) New minor mode.
2934 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2935 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2936 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2937 (sh-smie-rc-grammar, sh-use-smie): New vars.
2938 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2939 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2940 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2941 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2942 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2943 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2944 (sh-set-shell): Use smie-setup if requested.
2945
2946 * term.el (term-set-escape-char): Properly set term-escape-char.
2947 See http://stackoverflow.com/questions/10524656.
2948
2949 2012-05-10 Chong Yidong <cyd@gnu.org>
2950
2951 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2952 Use url-generic-parse-url, and handle host names and Windows
2953 filenames properly.
2954 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2955 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2956 URL schemes to work on.
2957 (ffap--toggle-read-only): New function.
2958 (ffap-read-only, ffap-read-only-other-window)
2959 (ffap-read-only-other-frame): Use it.
2960 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2961 necessary for ffap-url-unwrap-remote.
2962
2963 2012-05-10 Dave Abrahams <dave@boostpro.com>
2964
2965 * cus-start.el (create-lockfiles): Add it.
2966
2967 2012-05-09 Chong Yidong <cyd@gnu.org>
2968
2969 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2970 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2971
2972 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2975
2976 2012-05-09 Chong Yidong <cyd@gnu.org>
2977
2978 * ansi-color.el (ansi-color-process-output): Check for validity of
2979 comint-last-output-start before using it. This avoids a bad
2980 interaction with gdb-mi's input/output buffer.
2981
2982 2012-05-09 Glenn Morris <rgm@gnu.org>
2983
2984 * files.el (dir-locals-read-from-file):
2985 Mention dir-locals in any error message.
2986
2987 2012-05-09 Chong Yidong <cyd@gnu.org>
2988
2989 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2990 package (Bug#11410).
2991
2992 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2993 variables into description.
2994
2995 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2996
2997 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2998 shell-delimiter-argument-list (bug#11348).
2999 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3000
3001 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3002
3003 * textmodes/rst.el: Silence byte-compiler warnings.
3004 (rst-re-alist, rst-reset-section-caches): Move around.
3005 (rst-re): Use `characterp', not `char-valid-p'.
3006 (font-lock-beg, font-lock-end): Declare.
3007
3008 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3009 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3010
3011 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3012
3013 2012-05-08 Glenn Morris <rgm@gnu.org>
3014
3015 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3016
3017 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3018
3019 * vc/log-edit.el: Add GNU coding standards highlighting.
3020 (log-edit-font-lock-gnu-style)
3021 (log-edit-font-lock-gnu-keywords): New vars.
3022 (log-edit-font-lock-keywords): New fun.
3023 (log-edit-mode): Don't fold case in font-lock.
3024 (log-edit-font-lock-keywords): Do not assume case-folding.
3025
3026 * imenu.el: Misc cleanup. Make docstrings out of comments.
3027 Use lexical-binding.
3028 (imenu--index-alist, imenu--last-menubar-index-alist)
3029 (imenu-menubar-modified-tick): Use defvar-local.
3030 (imenu--split-menu): Remove unused var.
3031 (imenu--cleanup-seen): Declare as global.
3032 (imenu--cleanup): Use dolist.
3033
3034 * subr.el (defvar-local): Add debug spec and doc-string position.
3035
3036 2012-05-08 Glenn Morris <rgm@gnu.org>
3037
3038 * language/burmese.el, language/cham.el, language/czech.el:
3039 * language/english.el, language/georgian.el, language/greek.el:
3040 * language/japanese.el, language/khmer.el, language/korean.el:
3041 * language/lao.el, language/misc-lang.el, language/romanian.el:
3042 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3043 * language/thai.el, language/utf-8-lang.el:
3044 Remove no-byte-compile setting.
3045
3046 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3047
3048 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3049
3050 * progmodes/make-mode.el (makefile-browse):
3051 Remove unnecessary interactive. (Bug#11324)
3052
3053 2012-05-07 Glenn Morris <rgm@gnu.org>
3054
3055 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3056
3057 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3058
3059 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3060
3061 * loadup.el: Preload newcomment.el.
3062 * newcomment.el: Move autoload-only code to toplevel.
3063
3064 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3065 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3066 Handle new :right-align column property.
3067 (tabulated-list-print-col): Idem, plus use `display' text-property to
3068 try and preserve alignment for variable pitch fonts.
3069
3070 2012-05-07 Chong Yidong <cyd@gnu.org>
3071
3072 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3073 (tabulated-list-use-header-line): New var.
3074 (tabulated-list-init-header): Use it.
3075 (tabulated-list-print-fake-header): New function.
3076 (tabulated-list-print): Use it.
3077 (tabulated-list-sort-button-map): Add non-header-line commands.
3078 (tabulated-list-init-header): Add column name property to basic
3079 labels as well.
3080 (tabulated-list-col-sort): Handle non-header-line button case.
3081 (tabulated-list--sort-by-column-name): Fix a corner case.
3082
3083 * buff-menu.el (list-buffers--refresh):
3084 Handle Buffer-menu-use-header-line.
3085
3086 2012-05-06 Chong Yidong <cyd@gnu.org>
3087
3088 * buff-menu.el: Convert to Tabulated List mode.
3089 (Buffer-menu-buffer+size-width): Make obsolete.
3090 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3091 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3092 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3093 documentation into docstring of buffer-menu.
3094 (Buffer-menu-toggle-files-only): Add an informative message.
3095 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3096 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3097 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3098 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3099 (Buffer-menu-execute, Buffer-menu-select)
3100 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3101 (Buffer-menu-bury): Use Tabulated List machinery.
3102 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3103 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3104 Delete.
3105 (list-buffers--refresh): New function.
3106 (list-buffers-noselect): Use it.
3107 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3108 (Buffer-menu--pretty-file-name): New helper functions.
3109
3110 * loadup.el: Preload tabulated-list.
3111
3112 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3113 tabulated-list-sort-column.
3114 (tabulated-list-init-header): Add the initial aligning space even
3115 if tabulated-list-padding is zero.
3116
3117 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3118
3119 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3120 whose cdr is not a cons cell correctly (bug#11038).
3121
3122 2012-05-06 Chong Yidong <cyd@gnu.org>
3123
3124 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3125 Accept additional plist in column descriptors.
3126 (tabulated-list-init-header): Obey it.
3127 (tabulated-list-get-entry): New function.
3128 (tabulated-list-put-tag): Use it. Use string-width instead of
3129 length.
3130 (tabulated-list--column-number): New function.
3131 (tabulated-list-print): Use it.
3132 (tabulated-list-print-col): New function.
3133 Set `tabulated-list-column-name' property on each column's text.
3134 (tabulated-list-print-entry): Use it.
3135 (tabulated-list-delete-entry, tabulated-list-set-col):
3136 New functions.
3137 (tabulated-list-sort-column): New command (Bug#11337).
3138
3139 * buff-menu.el (list-buffers): Move C-x C-b binding from
3140 buff-menu.el to bindings.el.
3141
3142 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3143 :advertised-binding feature.
3144
3145 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3146
3147 * progmodes/compile.el (compilation-internal-error-properties):
3148 Calculate start position correctly when end-col is set but
3149 end-line is not (Bug#11382).
3150
3151 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3152
3153 * man.el (Man-unindent): Use text-property-default-nonsticky to
3154 prevent untabify from inheriting face properties (Bug#11408).
3155
3156 2012-05-05 Stefan Merten <smerten@oekonux.de>
3157
3158 * textmodes/rst.el: Major merge with upstream development up to
3159 Docutils SVN r7399 / rst.el V1.2.1.
3160
3161 Clarify maintainership and authors.
3162
3163 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3164 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3165 (rst-official-version, rst-official-cvs-rev, rst-version)
3166 (rst-package-emacs-version-alist): New functions and variables
3167 for version information.
3168
3169 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3170 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3171 (rst-mode-syntax-table, rst-mode): New and corrected functions
3172 and variables representing reStructuredText features.
3173
3174 (rst-re): New function for reStructuredText regexes. Use in
3175 many places.
3176
3177 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3178 (rst-mode-map): Rebind keys.
3179
3180 (rst-mode-lazy, rst-font-lock-keywords)
3181 (rst-font-lock-extend-region)
3182 (rst-font-lock-extend-region-internal)
3183 (rst-font-lock-extend-region-extend)
3184 (rst-font-lock-find-unindented-line-limit)
3185 (rst-font-lock-find-unindented-line-match)
3186 (rst-adornment-level, rst-font-lock-adornment-level)
3187 (rst-font-lock-adornment-match)
3188 (rst-font-lock-handle-adornment-pre-match-form)
3189 (rst-font-lock-handle-adornment-matcher): Major revision of
3190 font-locking. Integrate with other code. Use `jit-lock-mode'.
3191
3192 (rst-preferred-adornments, rst-adjust-hook)
3193 (rst-new-adornment-down, rst-preferred-bullets)
3194 (rst-preferred-bullets, rst-indent, rst-indent-width)
3195 (rst-indent-field, rst-indent-literal-normal)
3196 (rst-indent-literal-minimized, rst-indent-comment): Change,
3197 extend and improve customization.
3198
3199 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3200 (rst-normalize-cursor-position, rst-get-decoration)
3201 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3202 (rst-rstrip, rst-toc-insert-find-delete-contents)
3203 (rst-shift-fill-region, rst-compute-bullet-tabs)
3204 (rst-debug-print-tabs, rst-debug-mark-found)
3205 (rst-shift-region-guts, rst-shift-region-right)
3206 (rst-shift-region-left, rst-use-char-classes)
3207 (rst-font-lock-keywords-function)
3208 (rst-font-lock-indentation-point)
3209 (rst-font-lock-find-unindented-line-begin)
3210 (rst-font-lock-find-unindented-line-end)
3211 (rst-font-lock-find-unindented-line)
3212 (rst-font-lock-adornment-point, rst-font-lock-level)
3213 (rst-adornment-level-alist): Remove functions and variables.
3214
3215 (rst-compare-adornments, rst-get-adornment-match)
3216 (rst-suggest-new-adornment, rst-get-adornments-around)
3217 (rst-adornment-complete-p, rst-get-next-adornment)
3218 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3219 (rst-straighten-adornments): Standardize function names to
3220 use "adornment" instead of "decoration". Correct callers.
3221 Similar standardizing in many places.
3222
3223 (rst-update-section, rst-adjust, rst-promote-region)
3224 (rst-enumerate-region, rst-bullet-list-region)
3225 (rst-repeat-last-character): Correct use of `interactive'.
3226
3227 (rst-classify-adornment, rst-find-all-adornments)
3228 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3229 (rst-find-leftmost-column, rst-repeat-last-character):
3230 Refactor functions.
3231
3232 (rst-find-title-line, rst-reset-section-caches)
3233 (rst-get-adornments-around, rst-adjust-adornment-work)
3234 (rst-arabic-to-roman, rst-roman-to-arabic)
3235 (rst-insert-list-pos, rst-insert-list-new-item)
3236 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3237 New functions.
3238
3239 (rst-all-sections, rst-section-hierarchy)
3240 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3241 New variables.
3242
3243 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3244 configuration instead of only buffer. Change where necessary.
3245
3246 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3247 (rst-shift-region, rst-adaptive-fill): New functions for
3248 indentation and filling.
3249
3250 (rst-comment-line-break, rst-comment-indent)
3251 (rst-comment-insert-comment, rst-comment-region)
3252 (rst-uncomment-region): New functions for handling comments.
3253
3254 (rst-compile): Quote shell arguments.
3255
3256 (rst-compile-pdf-preview, rst-compile-slides-preview):
3257 Delete temporary files after use.
3258
3259 2012-05-05 Glenn Morris <rgm@gnu.org>
3260
3261 * calendar/cal-html.el: Optionally include holidays in the output.
3262 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3263 (cal-html-holidays): New option.
3264 (cal-html-css-default): Add holiday entry.
3265 (holiday-in-range): Autoload it.
3266 (cal-html-htmlify-entry): Add optional class argument.
3267 (cal-html-htmlify-list): Add optional holidays argument.
3268 (cal-html-insert-agenda-days): Include holidays in the output.
3269 (cal-html-one-month): Maybe include holidays.
3270
3271 * calendar/holidays.el (holiday-in-range):
3272 Move here from cal-tex-list-holidays.
3273 * calendar/cal-tex.el (cal-tex-list-holidays):
3274 Make it an obsolete alias for holiday-in-range. Update all callers.
3275
3276 2012-05-05 Chong Yidong <cyd@gnu.org>
3277
3278 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3279 Nextstep.
3280
3281 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3282
3283 * files.el (file-auto-mode-skip): New var.
3284 (set-auto-mode-1): Use it.
3285
3286 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * repeat.el: Use lexical-binding.
3289 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3290 (repeat-undo-count): Remove.
3291 (repeat):
3292 * progmodes/octave-mod.el (octave-abbrev-start):
3293 * progmodes/f90.el (f90-abbrev-start):
3294 * face-remap.el (text-scale-adjust):
3295 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3296
3297 * emacs-lisp/pcase.el (pcase--let*): New function.
3298 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3299 a bit more.
3300 (pcase--split-pred): Be more clever about ruling out overlap between
3301 a predicate and some constant pattern.
3302 (pcase--q1): Use `null' instead of (eq foo nil).
3303
3304 * subr.el (setq-local, defvar-local): New macros.
3305 (kbd): Redefine as an alias.
3306 (with-selected-window): Leave unrelated frames alone.
3307 (set-temporary-overlay-map): New function.
3308
3309 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * subr.el (user-error): New function.
3312 * window.el (switch-to-buffer):
3313 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3314 (smerge-match-conflict):
3315 * simple.el (previous-matching-history-element)
3316 (next-matching-history-element, goto-history-element, undo-more)
3317 (undo-start):
3318 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3319 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3320 (next-file, tags-loop-scan, list-tags, complete-tag):
3321 * progmodes/compile.el (compilation-loop):
3322 * mouse.el (mouse-minibuffer-check):
3323 * man.el (Man-bgproc-sentinel, Man-goto-page):
3324 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3325 (Info-history-forward, Info-follow-reference, Info-menu)
3326 (Info-extract-menu-item, Info-extract-menu-counting)
3327 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3328 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3329 (Info-next-reference, Info-prev-reference, Info-index)
3330 (Info-index-next, Info-follow-nearest-node)
3331 (Info-copy-current-node-name):
3332 * imenu.el (imenu--make-index-alist)
3333 (imenu-default-create-index-function, imenu-add-to-menubar):
3334 * files.el (basic-save-buffer, recover-file):
3335 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3336 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3337 (checkdoc-message-text, checkdoc-defun):
3338 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3339 * cus-edit.el (customize-changed-options, customize-rogue)
3340 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3341 (custom-variable-mark-to-reset-standard)
3342 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3343 (custom-file):
3344 * completion.el (check-completion-length):
3345 * comint.el (comint-search-arg)
3346 (comint-previous-matching-input-string-position)
3347 (comint-previous-matching-input)
3348 (comint-replace-by-expanded-history-before-point, comint-send-input)
3349 (comint-copy-old-input, comint-backward-matching-input)
3350 (comint-goto-process-mark, comint-set-process-mark):
3351 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3352 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3353
3354 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 * dabbrev.el (dabbrev--ignore-case-p): New function.
3357 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3358 Use it.
3359
3360 * files.el (automount-dir-prefix): Mark as obsolete.
3361
3362 2012-05-04 Glenn Morris <rgm@gnu.org>
3363
3364 * patcomp.el, play/bruce.el: Move to obsolete/.
3365
3366 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3367
3368 Fix minor Y10k bugs.
3369 * arc-mode.el (archive-unixdate):
3370 * autoinsert.el (auto-insert-alist):
3371 * calc/calc-forms.el (math-this-year):
3372 * emacs-lisp/copyright.el (copyright-current-year)
3373 (copyright-update-year, copyright):
3374 * tar-mode.el (tar-clip-time-string):
3375 * time.el (display-time-update):
3376 Don't assume years have 4 digits.
3377
3378 2012-05-04 Chong Yidong <cyd@gnu.org>
3379
3380 * dos-w32.el (file-name-buffer-file-type-alist)
3381 (direct-print-region-use-command-dot-com):
3382 * ffap.el (ffap-menu-regexp):
3383 * find-file.el (ff-special-constructs):
3384 * follow.el (follow-debug):
3385 * forms.el (forms--debug):
3386 * iswitchb.el (iswitchb-all-frames):
3387 * ido.el (ido-all-frames):
3388 * emacs-lisp/timer.el (timer-max-repeats):
3389 * mail/feedmail.el (feedmail-mail-send-hook)
3390 (feedmail-mail-send-hook-queued):
3391 * mail/footnote.el (footnote-signature-separator):
3392 * mail/mailabbrev.el (mail-alias-separator-string)
3393 (mail-abbrev-mode-regexp):
3394 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3395 * progmodes/idlwave.el (idlwave-libinfo-file)
3396 (idlwave-default-completion-case-is-down)
3397 (idlwave-library-routines): Convert defvars to defcustoms.
3398
3399 * mail/rmail.el (rmail-decode-mime-charset):
3400 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3401 (idlwave-shell-fix-inserted-breaks)
3402 (idlwave-shell-activate-alt-keybindings)
3403 (idlwave-shell-use-breakpoint-glyph):
3404 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3405
3406 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3409
3410 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3411
3412 * progmodes/verilog-mode.el (font-lock-keywords):
3413 Fix mis-highligting auto. Reported by Craig Barner.
3414 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3415 defines from global name space. Reported by Dan Dever.
3416 (verilog-auto-reset, verilog-auto-reset-widths)
3417 (verilog-auto-tieoff): Support using unbased numbers for
3418 AUTORESET and AUTOTIEOFF.
3419 (verilog-submit-bug-report): Update variable list.
3420 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3421 parenthesis from not matching. Reported by Michael Rytting.
3422 (verilog-auto-template-lint): Fix hash error when linting modules
3423 with no used templates.
3424 (verilog-warn, verilog-warn-error)
3425 (verilog-warn-fatal): When non-interactive report multiple
3426 warnings before exiting. Suggested by Brad Dobbie.
3427 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3428 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3429 to report unused template errors. Reported by Brad Dobbie.
3430 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3431 nets, bug438. Reported by Vns Blore.
3432 (verilog-auto-inout-module, verilog-auto-reg)
3433 (verilog-read-decls, verilog-read-sub-decls-sig)
3434 (verilog-signals-edit-wire-reg, verilog-signals-with):
3435 Fix passing of Verilog data types in ANSI input/output ports
3436 such as "output logic" into the AUTOs. Special case "wire" and
3437 "reg" for backwards compatibility presuming Verilog 2001.
3438 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3439 (verilog-preprocess): Fix replication of preprocess output.
3440 Reported by Brad Dobbie.
3441 (verilog-auto-inst-interfaced-ports):
3442 Create verilog-auto-inst-interfaced-ports, bug429.
3443 Reported by Julian Gorfajn.
3444 (verilog-after-save-font-hook)
3445 (verilog-before-save-font-hook): New variable.
3446 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3447 (verilog-save-font-mods): Wrap disabling fontification, reported
3448 by David Rogoff.
3449 (verilog-do-indent, verilog-pretty-declarations-auto)
3450 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3451 Reported by Pierre-David Pfister.
3452 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3453 of class declarations, bug292. Reported by Kevin Heilman.
3454 (verilog-read-decls): Fix 'parameter type' not appearing in
3455 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3456 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3457 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3458 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3459 Reported by David Kravitz.
3460
3461 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3462
3463 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3464 assignment with tests in ifs and for loops.
3465 (verilog-extended-complete-re, verilog-complete-reg): Change so
3466 that DPI inport functions don't look like fuction declarations.
3467 (verilog-pretty-expr): Don't line up assignment
3468 operations to the test and increment in if and for loops
3469 (verilog-extended-complete-re, verilog-complete-reg): Change so
3470 that DPI inport functions don't look like fuction declarations.
3471
3472 2012-05-03 Kenichi Handa <handa@m17n.org>
3473
3474 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3475 decoding, and show a warning message without signaling an error
3476 (Bug#11282).
3477
3478 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * emacs-lisp/bytecomp.el
3481 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3482 since cconv.el might have introduced :fun-body, internal-make-closure,
3483 and friends for bytecomp to handle (bug#11391).
3484 * custom.el (defcustom): Avoid ((λ ..) ..).
3485
3486 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3487
3488 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3489
3490 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3491
3492 * notifications.el (dbus-debug):
3493 * term/linux.el (gpm-mouse-enable):
3494 * term/screen.el (xterm-register-default-colors): Declare.
3495
3496 2012-05-02 Chong Yidong <cyd@gnu.org>
3497
3498 * cus-start.el (gc-cons-percentage, exec-suffixes)
3499 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3500 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3501 (make-cursor-line-fully-visible, void-text-area-pointer)
3502 (font-list-limit): Add customization data.
3503
3504 * allout.el (allout-exposure-change-functions)
3505 (allout-structure-added-functions)
3506 (allout-structure-deleted-functions)
3507 (allout-structure-shifted-functions): Rename abnormal hooks from
3508 *-hook, and convert to defcustoms.
3509 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3510 Convert to defcustoms.
3511 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3512
3513 * allout-widgets.el: Hook callers changed.
3514
3515 2012-05-02 Eli Zaretskii <eliz@gnu.org>
3516
3517 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3518 the yanked message in preference to the default value of
3519 buffer-file-coding-system.
3520
3521 2012-05-02 Martin Rudalics <rudalics@gmx.at>
3522
3523 * window.el (display-buffer--action-function-custom-type):
3524 Fix entry.
3525
3526 2012-05-02 Alan Mackenzie <acm@muc.de>
3527
3528 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3529
3530 2012-05-01 Glenn Morris <rgm@gnu.org>
3531
3532 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3533
3534 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3535
3536 * cus-edit.el (custom-variable-documentation): Simplify with format.
3537
3538 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3539 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * simple.el (suggest-key-bindings, execute-extended-command):
3542 Move from keyboard.c.
3543
3544 2012-05-01 Chong Yidong <cyd@gnu.org>
3545
3546 * follow.el: Eliminate advice.
3547 (set-process-filter, process-filter, sit-for): Advice deleted.
3548 (follow-mode-off-hook): Obsolete hook removed.
3549 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3550 Vars deleted.
3551 (follow-auto): Use a :set function.
3552 (follow-mode): Rewritten. Don't advise process filters.
3553 (follow-switch-to-current-buffer-all, follow-scroll-up)
3554 (follow-scroll-down): Assume follow-mode is bound.
3555 (follow-comint-scroll-to-bottom)
3556 (follow-align-compilation-windows): New functions.
3557 (follow--window-sorter): New function.
3558 (follow-all-followers): Use it to explicitly sort windows by their
3559 positions; don't make assumptions about next-window order.
3560 (follow-windows-start-end, follow-delete-other-windows-and-split)
3561 (follow-calc-win-start): Doc fix.
3562 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3563 vertical-motion unnecessarily.
3564 (follow-adjust-window): New function.
3565 (follow-post-command-hook): Use it.
3566 (follow-call-set-process-filter, follow-call-process-filter)
3567 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3568 (follow-stop-intercept-process-output, follow-generic-filter):
3569 Functions deleted.
3570 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3571 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3572 New functions, replacing advice on scroll-bar-* commands.
3573 (follow-mwheel-scroll): New function (Bug#4112).
3574
3575 * comint.el (comint-adjust-point): New function.
3576 (comint-postoutput-scroll-to-bottom): Use it.
3577 Call follow-comint-scroll-to-bottom for Follow mode buffers.
3578
3579 2012-05-01 Glenn Morris <rgm@gnu.org>
3580
3581 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3582 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3583 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3584 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3585 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3586 Remove no-byte-compile setting.
3587
3588 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3591 all-completions code to not return a number in the last cdr.
3592
3593 2012-04-30 Leo Liu <sdl.web@gmail.com>
3594
3595 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3596 read-only error.
3597
3598 2012-04-29 Chong Yidong <cyd@gnu.org>
3599
3600 * follow.el (follow-calc-win-end): Rewrite to handle partial
3601 screen lines correctly (Bug#8390).
3602 (follow-avoid-tail-recenter): Minor cleanup.
3603
3604 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 Avoid the obsolete `assoc' package.
3607 * speedbar.el (speedbar-refresh): Avoid adelete.
3608 (speedbar-file-lists): Simplify and avoid aput.
3609 * man.el (Man--sections, Man--refpages): New vars, replacing
3610 Man-sections-alist and Man-refpages-alist.
3611 (Man-build-section-alist, Man-build-references-alist):
3612 Use them; avoid aput.
3613 (Man--last-section, Man--last-refpage): New vars.
3614 (Man-follow-manual-reference): Use them.
3615 Use the `default' arg of completing-read.
3616 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3617
3618 2012-04-27 Chong Yidong <cyd@gnu.org>
3619
3620 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3621
3622 * startup.el (x-apply-session-resources): New function.
3623
3624 * term/ns-win.el (ns-initialize-window-system):
3625 * term/w32-win.el (w32-initialize-window-system):
3626 * term/x-win.el (x-initialize-window-system): Use it to properly
3627 set menu-bar-mode and other vars from X resources, even if the
3628 initial frame is not a window-system frame (Bug#2299).
3629
3630 * subr.el (read-key): Avoid running filter function when setting
3631 up temporary tool bar entries (Bug#9922).
3632
3633 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3634
3635 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3636 (Bug#11344)
3637
3638 2012-04-27 Chong Yidong <cyd@gnu.org>
3639
3640 * select.el (xselect--encode-string): New function, split from
3641 xselect-convert-to-string.
3642 (xselect-convert-to-string): Use it.
3643 (xselect-convert-to-filename, xselect-convert-to-os)
3644 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3645 returned strings are properly encoded (Bug#11315).
3646
3647 2012-04-27 Chong Yidong <cyd@gnu.org>
3648
3649 * simple.el (delete-active-region): Move to killing custom group.
3650
3651 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3652
3653 * progmodes/which-func.el (which-func-current): Quote %
3654 characters for mode-line processing.
3655
3656 2012-04-27 Chong Yidong <cyd@gnu.org>
3657
3658 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3659 reaching eob (Bug#11286).
3660
3661 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3662
3663 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3664 (gdb): Make it buffer-local and init to zero.
3665 (gdb-control-commands-regexp): New variable.
3666 (gdb-send): Don't wrap in "-interpreter-exec console" if
3667 gdb-control-level is positive. Increment gdb-control-level
3668 whenever the command matches gdb-control-commands-regexp, and
3669 decrement it each time the command is "end". (Bug#11279)
3670
3671 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3672
3673 * window.el (adjust-window-trailing-edge, enlarge-window)
3674 (shrink-window, window-resize):
3675 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3676 windows (Bug#11276).
3677
3678 2012-04-27 Chong Yidong <cyd@gnu.org>
3679
3680 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3681 fix "missing prefix" warning. All callers changed.
3682
3683 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3684
3685 * emacs-lisp/assoc.el: Move to obsolete/.
3686
3687 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3688
3689 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3690
3691 * term/ns-win.el (ns-define-service):
3692 * progmodes/pascal.el (pascal-goto-defun):
3693 * progmodes/js.el (js--read-tab):
3694 * progmodes/etags.el (tags-lazy-completion-table):
3695 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3696 * emacs-lisp/ewoc.el (ewoc--wrap):
3697 * emacs-lisp/assoc.el (aput, adelete, amake):
3698 * doc-view.el (doc-view-convert-current-doc):
3699 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3700
3701 2012-04-26 Chong Yidong <cyd@gnu.org>
3702
3703 * image.el (image-type-from-buffer): Only return supported image
3704 type (Bug#9045).
3705
3706 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3707 value, for symmetry with diff-end-of-hunk.
3708 (diff-split-hunk, diff-find-source-location)
3709 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3710 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3711 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3712 compute the relevant hunk or file properly (Bug#6005).
3713 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3714
3715 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * vc/vc-mtn.el:
3718 * vc/vc-hg.el:
3719 * vc/vc-git.el:
3720 * vc/vc-dir.el:
3721 * vc/vc-cvs.el:
3722 * vc/vc-bzr.el:
3723 * vc/vc-arch.el:
3724 * vc/vc.el: Replace lexical-let by lexical-binding.
3725 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3726 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3727 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3728
3729 2012-04-26 Chong Yidong <cyd@gnu.org>
3730
3731 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3732 (diff-mode-shared-map): Bind it to / and [remap undo].
3733
3734 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3735 (ediff-window-setup-function): Use it as the default, to set up
3736 windows based on whether the current frame is graphical (Bug#2138).
3737 (ediff-choose-window-setup-function-automatically): Make obsolete.
3738
3739 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3740
3741 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3742
3743 * ffap.el: Remove old code for obsolete package.
3744 (ffap-complete-as-file-p): Remove.
3745
3746 Use completion-table-with-quoting for comint and pcomplete.
3747 * comint.el (comint--unquote&requote-argument)
3748 (comint--unquote-argument, comint--requote-argument): New functions.
3749 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3750 (comint-quote-filename): Use regexp-opt-charset.
3751 (comint--common-suffix, comint--common-quoted-suffix)
3752 (comint--table-subvert): Remove.
3753 (comint-unquote-function, comint-requote-function): New vars.
3754 (comint--complete-file-name-data): Use them with
3755 completion-table-with-quoting.
3756 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3757 * pcomplete.el (pcomplete-arg-quote-list)
3758 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3759 (pcomplete-unquote-argument-function): Default to non-nil.
3760 (pcomplete-unquote-argument): Simplify.
3761 (pcomplete--common-quoted-suffix): Remove.
3762 (pcomplete-requote-argument-function): New var.
3763 (pcomplete--common-suffix): New function.
3764 (pcomplete-completions-at-point): Use completion-table-with-quoting
3765 and completion-table-subvert.
3766
3767 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3768 (minibuffer--double-dollars): Preserve properties.
3769 (completion--sifn-requote): New function.
3770 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3771
3772 * minibuffer.el: Add support for completion of quoted/escaped data.
3773 (completion-table-with-quoting, completion-table-subvert): New funs.
3774 (completion--twq-try, completion--twq-all): New functions.
3775 (completion--nth-completion): New function.
3776 (completion-try-completion, completion-all-completions): Use it.
3777
3778 2012-04-25 Leo Liu <sdl.web@gmail.com>
3779
3780 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3781 Use compilation-message if available to find real filename.
3782
3783 2012-04-25 Chong Yidong <cyd@gnu.org>
3784
3785 * vc/diff-mode.el (diff-setup-whitespace): New function.
3786 (diff-mode): Use it.
3787
3788 * vc/diff.el (diff-sentinel):
3789 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3790 Whitespace mode variables based on diff style (Bug#8612).
3791
3792 2012-04-25 Leo Liu <sdl.web@gmail.com>
3793
3794 * progmodes/python.el (python-send-region): Add suffix .py to the
3795 temp file.
3796
3797 * files.el (auto-mode-alist): Use javascript-mode instead.
3798
3799 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3800
3801 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
3802
3803 * net/soap-client.el (soap-resolve-references-for-sequence-type)
3804 (soap-resolve-references-for-array-type): Hack to prevent self
3805 references, see Bug#9.
3806 (soap-parse-envelope): Report the contents of the 'detail' node
3807 when receiving a fault reply.
3808 (soap-parse-envelope): Report the contents of the entire 'detail' node.
3809
3810 * net/soap-inspect.el (soap-sample-value-for-simple-type)
3811 (soap-inspect-simple-type): New function.
3812
3813 * net/soap-client.el (soap-simple-type): New struct.
3814 (soap-default-xsd-types, soap-default-soapenc-types)
3815 (soap-decode-basic-type, soap-encode-basic-type):
3816 support unsignedInt and double basic types.
3817 (soap-resolve-references-for-simple-type)
3818 (soap-parse-simple-type, soap-encode-simple-type): New function.
3819 (soap-parse-schema): Parse xsd:simpleType declarations.
3820
3821 * net/soap-client.el (soap-default-xsd-types)
3822 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3823 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3824 the local name of "soapenc:Array".
3825 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3826 decoding integer, byte and anyURI xsd types.
3827
3828 2012-04-25 Chong Yidong <cyd@gnu.org>
3829
3830 * cus-edit.el (custom-buffer-create-internal): Update header text.
3831
3832 2012-04-25 Eli Zaretskii <eliz@gnu.org>
3833
3834 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3835 settings on 'system-type', not on 'window-system'. On MS-Windows,
3836 set interactive-mode on in GDB.
3837
3838 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3841 (ruby-syntax-propertize-regexp): Remove.
3842 (ruby-syntax-propertize-function): Split regexp into chunks.
3843 Match following code directly.
3844
3845 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3846
3847 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3848 (ruby-syntax-propertize-regexp): New function.
3849 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3850 by a special keyword.
3851
3852 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3853 (ruby-syntax-general-delimiters-goto-beg)
3854 (ruby-syntax-propertize-general-delimiters): New functions.
3855 (ruby-syntax-propertize-function): Use them to handle GDL.
3856 (ruby-font-lock-keywords): Move old handling of GDL...
3857 (ruby-font-lock-syntactic-keywords): .. to here.
3858 (ruby-calculate-indent): Adjust indentation for GDL.
3859
3860 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
3861
3862 * notifications.el (top): Remove unneeded declarations.
3863 (notifications-specification-version): Change to "1.2".
3864 (notifications-interface, notifications-notify-method)
3865 (notifications-close-notification-method): Fix docstring.
3866 (notifications-get-capabilities-method): New defconst.
3867 (notifications-notify): Add :action-items, :resident and
3868 :transient hints. Change "image_data" to "image-data" and
3869 "image_path" to "image-path".
3870 (notifications-get-capabilities): New defun.
3871
3872 2012-04-24 Leo Liu <sdl.web@gmail.com>
3873
3874 * progmodes/python.el: Move hideshow setup to the end.
3875
3876 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3877
3878 * window.el (handle-select-window): Clear echo area since this is
3879 no more done by read_char (Bug#11304).
3880
3881 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3884 and `/ M' to filter-derived-mode.
3885 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3886 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3887 (ibuffer-mark-by-mode): Use default rather than initial-input.
3888 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3889
3890 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3891
3892 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3893 (ibuffer-filter-by-derived-mode): New filter.
3894 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3895
3896 2012-04-23 Andreas Politz <politza@fh-trier.de>
3897
3898 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3899
3900 2012-04-23 Chong Yidong <cyd@gnu.org>
3901
3902 * cus-edit.el (customize-apropos, customize-apropos-options):
3903 Disable matching of non-option variables (Bug#11176).
3904 (customize-option, customize-option-other-window)
3905 (customize-changed-options): Doc fix.
3906 (customize-apropos-options, customize-apropos-faces)
3907 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3908
3909 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3910 Fix word list splitting (Bug#11132).
3911 (apropos-symbol, apropos-keybinding, apropos-label)
3912 (apropos-property, apropos-function-button)
3913 (apropos-variable-button, apropos-misc-button): New faces.
3914 (apropos-symbol-face, apropos-keybinding-face)
3915 (apropos-label-face, apropos-property-face, apropos-match-face):
3916 Variables removed (Bug#8396).
3917 (apropos-library-button, apropos-format-plist, apropos-print)
3918 (apropos-print-doc, apropos-describe-plist): Callers changed.
3919
3920 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3921
3922 * net/xesam.el (xesam-mode-map): Use let-bound map in
3923 initialization. (Bug#11292)
3924
3925 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3926
3927 Preserve ispell session localwords when switching back to
3928 original buffer.
3929
3930 * textmodes/ispell.el (ispell-buffer-session-localwords):
3931 New buffer-local variable to hold buffer session localwords.
3932 (ispell-kill-ispell): Add option 'clear to delete session
3933 localwords.
3934 (ispell-command-loop, ispell-change-dictionary)
3935 (ispell-buffer-local-words): Preserve session localwords when
3936 needed.
3937
3938 * textmodes/flyspell.el (flyspell-process-localwords)
3939 (flyspell-do-correct): Preserve session localwords when needed.
3940
3941 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3942
3943 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3944 using obsolete `translation-table-for-input'.
3945 (ispell-word, ispell-process-line, ispell-complete-word):
3946 Use plain `insert' instead of removed `ispell-insert-word'.
3947
3948 2012-04-22 Chong Yidong <cyd@gnu.org>
3949
3950 * cus-edit.el (custom-variable-menu)
3951 (custom-variable-reset-saved, custom-face-menu)
3952 (custom-face-reset-saved): If there is no saved value, make the
3953 "reset-saved" operation bring back the default (Bug#9509).
3954 (custom-face-state): Properly detect themed faces.
3955
3956 * faces.el (face-spec-set): Stop supporting deprecated form of
3957 third arg.
3958
3959 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3960
3961 Move functions from C to Lisp. Make non-blocking method calls
3962 the default. Implement further D-Bus standard interfaces.
3963
3964 * net/dbus.el (dbus-message-internal): Declare function.
3965 Remove unneeded function declarations.
3966 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3967 (dbus-message-type-method-return, dbus-message-type-error)
3968 (dbus-message-type-signal): Declare variables. Remove local
3969 definitions.
3970 (dbus-interface-dbus, dbus-interface-peer)
3971 (dbus-interface-introspectable, dbus-interface-properties)
3972 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3973 Adapt docstring.
3974 (dbus-interface-objectmanager): New defconst.
3975 (dbus-call-method, dbus-call-method-asynchronously)
3976 (dbus-send-signal, dbus-method-return-internal)
3977 (dbus-method-error-internal, dbus-register-service)
3978 (dbus-register-signal, dbus-register-method): New defuns, moved
3979 from dbusbind.c
3980 (dbus-call-method-handler, dbus-setenv)
3981 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3982 New defuns.
3983 (dbus-call-method-non-blocking): Make it an obsolete function.
3984 (dbus-unregister-object, dbus-unregister-service)
3985 (dbus-handle-event, dbus-register-property)
3986 (dbus-property-handler): Obey the new structure of
3987 `bus-registered-objects'.
3988 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3989 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3990 Use `dbus-call-method'.
3991
3992 2012-04-22 Chong Yidong <cyd@gnu.org>
3993
3994 * cus-edit.el (custom-commands, custom-reset-menu)
3995 (Custom-reset-standard): Tweak labels.
3996 (custom-reset-button-menu): Change default to t.
3997 (custom-buffer-create-internal): For the custom-reset-button-menu
3998 case, put the revert button first.
3999 (custom-group-subtitle): New face.
4000 (custom-group-value-create): Align docstring to a specific column.
4001
4002 * wid-edit.el (widget-documentation-link-add): Don't handle
4003 indentation in this function.
4004 (widget-documentation-string-indent-to): New function.
4005 (widget-documentation-string-value-create): Use it.
4006
4007 * autorevert.el (auto-revert):
4008 * epg-config.el (epg):
4009 * ibuffer.el (ibuffer):
4010 * mpc.el (mpc):
4011 * ses.el (ses):
4012 * eshell/eshell.el (eshell):
4013 * net/ange-ftp.el (ange-ftp):
4014 * progmodes/ebnf2ps.el (postscript):
4015 * progmodes/flymake.el (flymake):
4016 * progmodes/prolog.el (prolog):
4017 * progmodes/verilog-mode.el (verilog-mode):
4018 * progmodes/which-func.el (which-func):
4019 * term/xterm.el (xterm):
4020 * textmodes/picture.el (picture):
4021 * textmodes/tildify.el (tildify):
4022 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4023 customization buffers.
4024
4025 2012-04-22 Alan Mackenzie <acm@muc.de>
4026
4027 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4028 Adding a ) can hide the resulting (..) from searches. Fix it.
4029 Bound the backward search to the position of the existing (.
4030
4031 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4032
4033 * progmodes/verilog-mode.el (verilog-mode): Check whether
4034 which-func-modes is t before adding verilog-mode.
4035 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4036
4037 2012-04-21 Leo Liu <sdl.web@gmail.com>
4038
4039 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4040
4041 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4042
4043 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4044 filling of the last column of a table (Bug#5635).
4045 (woman-find-next-control-line): New arg, specifying an additional
4046 regexp component for the control line.
4047 (woman2-roff-buffer): Use it.
4048 (woman-break-table): New function.
4049 (woman2-TS): Use it.
4050
4051 2012-04-21 Chong Yidong <cyd@gnu.org>
4052
4053 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4054 (woman-horizontal-escapes, woman-negative-vertical-space)
4055 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4056 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4057
4058 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * minibuffer.el (completion-file-name-table): Complete user names.
4061
4062 2012-04-20 Leo Liu <sdl.web@gmail.com>
4063
4064 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4065 and pcase-let*.
4066
4067 2012-04-20 Chong Yidong <cyd@gnu.org>
4068
4069 * server.el (server-execute): Respect initial-buffer-choice if it
4070 is a string and there are no files to open (Bug#2825).
4071 (server-create-window-system-frame, server-create-tty-frame):
4072 Don't switch buffers here.
4073 (server-process-filter): Only try to open a window system frame if
4074 compiled with graphical support (Bug#8314).
4075
4076 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4077
4078 * battery.el (battery-echo-area-format): Display remaining time
4079 for sysfs backend too (Bug#11269).
4080 (battery-linux-sysfs): Fix conditional for the charge.
4081
4082 2012-04-20 Chong Yidong <cyd@gnu.org>
4083
4084 * progmodes/gdb-mi.el (gdb): Revert previous change.
4085 (gdb-inferior-io--init-proc): New function.
4086 (gdb-init-1): Use it.
4087 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4088 responsible for allocating a new pty and hooking it to gdb when
4089 the old pty gets an EIO due to process exit.
4090 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4091 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4092 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4093
4094 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4095
4096 * window.el (window-min-size, window-sizable, window-min-delta)
4097 (window-max-delta, window--resizable, window-resizable)
4098 (window-total-size, window-full-height-p, window-full-width-p)
4099 (window-in-direction, window--resize-mini-window, window-resize)
4100 (window--resize-child-windows-normal)
4101 (window--resize-child-windows, window--resize-siblings)
4102 (window--resize-this-window, adjust-window-trailing-edge)
4103 (enlarge-window, shrink-window): Doc fixes.
4104
4105 2012-04-20 Chong Yidong <cyd@gnu.org>
4106
4107 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4108 New function to call delete-process on the gdb-inferior buffer's pty.
4109 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4110 pty process (Bug#11273).
4111 (gdb-update): New arg to suppress talking to the gdb process.
4112 (gdb-done-or-error): Use it.
4113 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4114 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4115 sentinel not being called.
4116
4117 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4118
4119 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4120
4121 2012-04-20 Glenn Morris <rgm@gnu.org>
4122
4123 * net/network-stream.el (open-network-stream): Doc fix.
4124
4125 2012-04-20 Chong Yidong <cyd@gnu.org>
4126
4127 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4128
4129 2012-04-20 Alan Mackenzie <acm@muc.de>
4130
4131 Ensure searching for keywords is case sensitive.
4132
4133 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4134 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4135 (c-defun-name, c-mark-function, c-cpp-define-name)
4136 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4137 (c-context-line-break): Bind case-fold-search to nil.
4138
4139 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4140 Bind case-fold-search to nil.
4141
4142 2012-04-20 Chong Yidong <cyd@gnu.org>
4143
4144 * mail/sendmail.el (mail-bury): Call return action with the right
4145 Rmail buffer (Bug#11242).
4146
4147 * server.el (server-process-filter): Handle corner case where both
4148 tty and nowait options are present (Bug#11102).
4149
4150 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4151
4152 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4153 (top level): Put into the executable the ident-style '$Id:' tag on
4154 windows-nt as well.
4155
4156 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * electric.el (electric-indent-post-self-insert-function): Check that
4159 electric-indent-mode is enabled in current buffer.
4160
4161 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4162
4163 * imenu.el (imenu-progress-message): Restore; it is "used" in
4164 erc/erc-imenu.el and net/snmp-mode.el.
4165
4166 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4167
4168 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4169 (mouse-avoidance-nudge-mouse): Remove unused binding.
4170
4171 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4172
4173 * descr-text.el (describe-char):
4174 * progmodes/python.el (python-describe-symbol):
4175 Don't call `toggle-read-only', set `buffer-read-only'.
4176
4177 * imenu.el (imenu-default-goto-function): Mark unused args.
4178 (imenu-progress-message): Remove obsolete macro; all callers changed.
4179
4180 * subr.el (keymap-canonicalize): Remove unused binding.
4181 (read-passwd): Mark unused arg.
4182
4183 * tutorial.el (tutorial--display-changes): Remove unused binding.
4184 (tutorial--save-tutorial-to): Remove unused variable.
4185
4186 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4187 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4188 (package-generate-autoloads, package-menu--generate)
4189 (package-menu--find-upgrades): Remove unused bindings.
4190
4191 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4192 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4193 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4194 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4195 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4196 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4197 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4198 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4199 (cua-delete-char-rectangle): Mark unused args.
4200 (cua-align-rectangle): Remove unused binding.
4201
4202 * mail/rmail.el (compilation--message->loc)
4203 (epa--find-coding-system-for-mime-charset): Declare.
4204
4205 * net/dbus.el (dbus-register-service): Declare.
4206 (dbus-name-owner-changed-handler): Remove unused binding.
4207
4208 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4209 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4210 (nxml-scan-backward-within): Mark unused arg.
4211 (nxml-dynamic-markup-word): Remove unused binding.
4212
4213 * mouse.el (mouse-menu-major-mode-map):
4214 * emacs-lisp/authors.el (authors-scan-change-log)
4215 (authors-add-to-author-list):
4216 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4217 * emacs-lisp/smie.el (smie-auto-fill):
4218 * mail/sendmail.el (mail-bury):
4219 * mail/unrmail.el (unrmail):
4220 * net/tls.el (open-tls-stream):
4221 * textmodes/picture.el (picture-mouse-set-point):
4222 Remove unused bindings.
4223
4224 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4225
4226 * net/tramp.el (tramp-action-password): Let-bind
4227 `enable-recursive-minibuffers' to t.
4228
4229 2012-04-18 Sam Steingold <sds@gnu.org>
4230
4231 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4232 instead of 'string to accommodate values like [f11].
4233 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4234 * progmodes/gdb-mi.el: Likewise.
4235
4236 2012-04-18 Leo Liu <sdl.web@gmail.com>
4237
4238 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4239 current buffer.
4240 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4241 LOCAL is nil.
4242
4243 2012-04-18 Chong Yidong <cyd@gnu.org>
4244
4245 * simple.el (line-move): Use forward-line if in batch mode
4246 (Bug#11053).
4247
4248 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4249
4250 * files.el (after-find-file): Do not try to add a final newline if
4251 the buffer is read-only (Bug#11156).
4252
4253 2012-04-17 Richard Stallman <rms@gnu.org>
4254
4255 * mail/rmail.el (rmail-start-mail):
4256 Pass (rmail-mail-return...) for the return-action.
4257 Pass (rmail-yank-current-message...) for the yank-action.
4258 (rmail-yank-current-message): New function.
4259 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4260 (rmail-reply): Likewise.
4261 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4262
4263 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4264 buffer, not the last. Reject temp buffers. Use the rmail-mode
4265 buffer, not newbuf.
4266
4267 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4268
4269 * server.el (server-ensure-safe-dir): Simplify.
4270
4271 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * emacs-lisp/smie.el: Provide smarter auto-filling.
4274 (smie-auto-fill): New function.
4275 (smie-setup): Use it.
4276
4277 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4278
4279 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4280
4281 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4282 (comment-indent): Use it.
4283
4284 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4285
4286 * ses.el: The overall change is to add cell renaming, that is
4287 setting fancy names for cell symbols other than name matching
4288 "\\`[A-Z]+[0-9]+\\'" regexp .
4289 (ses-localvars): Add ses--renamed-cell-symb-list.
4290 (ses-create-cell-variable): New defun.
4291 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4292 (ses-relocate-formula): Relocate formulas only for cells the
4293 symbols of which are not renamed, i.e. symbols whose names do not
4294 match regexp "\\`[A-Z]+[0-9]+\\'".
4295 (ses-relocate-all): Relocate values only for cells the symbols of
4296 which are not renamed.
4297 (ses-load): Create cells variables as the (ses-cell ...) are read,
4298 in order to check row col consistency with cell symbol name only
4299 for cells that are not renamed.
4300 (ses-replace-name-in-formula): New defun.
4301 (ses-rename-cell): New defun.
4302
4303 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4304
4305 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4306 New option (bug#11118).
4307 (perl-calculate-indent): Respect it.
4308
4309 2012-04-17 Glenn Morris <rgm@gnu.org>
4310
4311 * dired-aux.el (dired-mark-read-string): Doc fix.
4312
4313 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4314
4315 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4316 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4317
4318 2012-04-17 Glenn Morris <rgm@gnu.org>
4319
4320 * mouse.el (mouse-drag-track):
4321 * speedbar.el (speedbar-frame-mode):
4322 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4323
4324 2012-04-16 Leo Liu <sdl.web@gmail.com>
4325
4326 * progmodes/python.el: Trivial cleanup.
4327
4328 2012-04-16 Glenn Morris <rgm@gnu.org>
4329
4330 * vc/vc.el (vc-string-prefix-p):
4331 * vc/pcvs-util.el (cvs-string-prefix-p):
4332 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4333 * mpc.el (mpc-string-prefix-p):
4334 Make all of these into obsolete aliases for string-prefix-p.
4335 Update callers.
4336 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4337
4338 * textmodes/two-column.el: Move custom options to the start.
4339 (frame-width): Remove compat definition.
4340 (2C-associate-buffer, 2C-dissociate):
4341 Use with-current-buffer rather than save-excursion.
4342 (2C-dissociate): Force a mode-line update.
4343 (2C-autoscroll): Use ignore-errors.
4344
4345 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4346 Autoload trivia.
4347
4348 * emacs-lisp/cl-extra.el (*random-state*):
4349 Remove unnecessary declaration.
4350
4351 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4352
4353 * play/cookie1.el (cookie-snarf):
4354 Give an explicit error if input file cannot be read.
4355
4356 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4357
4358 * progmodes/perl-mode.el (c-macro-expand):
4359 Remove unnecessary autoload (it is in loaddefs.el).
4360
4361 * textmodes/picture.el (picture-desired-column)
4362 (picture-update-desired-column): Convert comments to doc-strings.
4363 (picture-substitute): Remove function.
4364 (picture-mode-map): Initialize in the defvar.
4365
4366 * woman.el: Remove eval-after-load for tar-mode.
4367 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4368 (woman-tar-extract-file): Autoload it.
4369
4370 * frame.el (automatic-hscrolling): Make this alias obsolete.
4371
4372 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4373
4374 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4375 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4376 (ispell-dictionary-base-alist): Revert to original XEmacs
4377 friendly version for default. [:alpha:] will be added in
4378 `ispell-set-spellchecker-params' if needed.
4379
4380 2012-04-16 Chong Yidong <cyd@gnu.org>
4381
4382 * image.el (imagemagick--file-regexp): New variable.
4383 (imagemagick-register-types): Use it.
4384 (imagemagick-types-inhibit): Add :set function. Allow new value
4385 of t to inhibit all types.
4386
4387 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4388 so we can preload it.
4389
4390 * loadup.el (fboundp): Preload regexp-opt, needed by
4391 imagemagick-register-types.
4392
4393 2012-04-15 Chong Yidong <cyd@gnu.org>
4394
4395 * frame.el (scrolling): Remove nearly unused customization group.
4396
4397 * scroll-all.el (scroll-all-mode): Move to windows group.
4398
4399 2012-04-15 Chong Yidong <cyd@gnu.org>
4400
4401 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4402
4403 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4406 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4407
4408 2012-04-15 Glenn Morris <rgm@gnu.org>
4409
4410 * simple.el (process-file-side-effects): Doc fix.
4411
4412 2012-04-15 Glenn Morris <rgm@gnu.org>
4413
4414 * international/mule-cmds.el (set-language-environment): Doc fix.
4415
4416 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4417
4418 * server.el (server-auth-key, server-generate-key): Doc fixes.
4419 (server-get-auth-key): Doc fix. Use `string-match-p'.
4420 (server-start): Reflow docstring.
4421
4422 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4423
4424 * server.el (server-generate-key): `called-interactively-p'
4425 requires a parameter.
4426
4427 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4428
4429 * server.el (server-auth-key): New variable.
4430 (server-generate-key, server-get-auth-key): New function.
4431 (server-start): Use the new variable and functions to allow
4432 setting a permanent server key (bug#9423).
4433
4434 2012-04-14 Leo Liu <sdl.web@gmail.com>
4435
4436 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4437
4438 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4439
4440 Spelling fixes.
4441 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4442 Emacs uses American spelling.
4443
4444 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4445
4446 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4447 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4448 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4449 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4450
4451 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * progmodes/which-func.el (which-func-modes): Change default.
4454
4455 2012-04-14 Kim F. Storm <storm@cua.dk>
4456
4457 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4458 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4459
4460 2012-04-14 Chong Yidong <cyd@gnu.org>
4461
4462 * custom.el (custom-theme-set-variables): Doc fix.
4463
4464 2012-04-14 Glenn Morris <rgm@gnu.org>
4465
4466 * international/mule.el (set-auto-coding-for-load): Doc fix.
4467
4468 2012-04-14 Alan Mackenzie <acm@muc.de>
4469
4470 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4471 imenu work again for Objective C Mode. Correct the *-index values,
4472 these having been disturbed by a previous change in 2011-08.
4473
4474 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4475 Correct two search limits.
4476
4477 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4480
4481 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4482
4483 * international/characters.el: Fix sorting.
4484
4485 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4486
4487 * international/characters.el: Add more missing Latin case pairs.
4488
4489 2012-04-14 Glenn Morris <rgm@gnu.org>
4490
4491 * files.el (dir-locals-set-class-variables): Doc fix.
4492
4493 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4494
4495 * international/characters.el: Add set-case-syntax-pair call for
4496 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4497 counterpart. (Bug#11209)
4498
4499 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4500
4501 2012-04-14 Glenn Morris <rgm@gnu.org>
4502
4503 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4504
4505 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4506
4507 * textmodes/ispell.el (ispell-dictionary-base-alist):
4508 Add data for Hebrew.
4509
4510 2012-04-14 Chong Yidong <cyd@gnu.org>
4511
4512 * net/rcirc.el (rcirc-cmd-quit):
4513 Revert 2012-03-18 change (Bug#11192).
4514
4515 2012-04-14 Glenn Morris <rgm@gnu.org>
4516
4517 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4518
4519 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4520
4521 * minibuffer.el (completion-in-region-mode-map):
4522 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
4523
4524 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4525
4526 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4527
4528 2012-04-13 Masatake YAMATO <yamato@redhat.com>
4529
4530 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4531 to allow `C-M-f' and `C-M-b' to move to the nearest path
4532 separator (bug#9511).
4533
4534 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4535
4536 * avoid.el: Require cl when compiling. And also move the
4537 `provide' to the end.
4538
4539 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4540
4541 * avoid.el (mouse-avoidance-banish-position): New variable.
4542 (mouse-avoidance-banish-destination): Use it (bug#10165).
4543
4544 2012-04-13 Leo Liu <sdl.web@gmail.com>
4545
4546 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4547
4548 2012-04-13 Ken Brown <kbrown@cornell.edu>
4549
4550 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4551 this is no longer needed now that cygstart understands file:// URLs.
4552 (browse-url-filename-alist): For the same reason, don't modify
4553 file:// URLs on Cygwin.
4554
4555 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4558 the region on shift if the binding is already shifted (bug#11221).
4559
4560 2012-04-12 Glenn Morris <rgm@gnu.org>
4561
4562 * mail/mailpost.el: Move to obsolete/.
4563
4564 2012-04-12 Drew Adams <drew.adams@oracle.com>
4565
4566 * imenu.el (imenu--generic-function): Ignore invisible definitions
4567 (bug#10123).
4568
4569 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4570
4571 * hexl.el (hexl-bits): New variable.
4572 (hexl-options): Mention the variable in the doc string.
4573 (hexl-rulerise, hexl-line-displen): New functions.
4574 (hexl-mode): Mention the new variable.
4575 (hexl-mode, hexl-current-address, hexl-current-address):
4576 Use the displen.
4577 (hexl-ascii-start-column): New function.
4578 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4579 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4580
4581 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4582
4583 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4584 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4585 the encoding, as expected by hunspell.
4586
4587 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * battery.el (battery--linux-sysfs-regexp): New const.
4590 (battery-status-function): Use it. Remove yeeloong special case.
4591 (battery-yeeloong-sysfs): Remove.
4592 (battery-echo-area-format): Remove yeeloong special case.
4593
4594 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4595
4596 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4597 Reported by Noah Friedman.
4598
4599 * subr.el (read-passwd): Use read-string.
4600
4601 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4602
4603 * vcursor.el (vcursor-move): Increase the priority of the overlay
4604 (bug#9663).
4605
4606 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4607
4608 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4609 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4610
4611 2012-04-11 William Stevenson <yhvh2000@gmail.com>
4612
4613 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4614 define-minor-mode (bug#10760).
4615
4616 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4617
4618 * progmodes/grep.el (rgrep): Tweak the find command line so
4619 that directories matching `grep-find-ignored-files' won't be
4620 pruned (bug#10351).
4621
4622 2012-04-11 Chong Yidong <cyd@gnu.org>
4623
4624 * startup.el (command-line): Remove support for long-obsolete
4625 variable font-lock-face-attributes.
4626
4627 2012-04-11 Glenn Morris <rgm@gnu.org>
4628
4629 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4630
4631 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4632
4633 * window.el (window--state-get-1): Obey window-point-insertion-type.
4634
4635 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4636
4637 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4638 to previous function when point is on the first character of a
4639 function. Take care of that in `narrow-to-defun' (bug#6157).
4640
4641 2012-04-11 Glenn Morris <rgm@gnu.org>
4642
4643 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4644 not just file-errors.
4645
4646 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4647 (vc-bzr-sha1): Use internal sha1.
4648
4649 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4652
4653 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4654
4655 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4656 that start in the middle of the line (bug#10496).
4657
4658 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4659
4660 * battery.el (battery-linux-proc-acpi): Only one battery is
4661 discharged at a time, but that seems to confuse battery.el when
4662 computing `rate-type' for the battery not being discharged
4663 (bug#10332).
4664
4665 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4666
4667 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4668
4669 * international/quail.el: Use dolist and simplify.
4670 (quail-define-package, quail-update-keyboard-layout)
4671 (quail-define-rules): Use dolist.
4672 (quail-insert-kbd-layout, quail-get-translation): CSE.
4673
4674 * tmm.el: Use dolist, remove left over hook.
4675 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4676 Use dolist.
4677 (calendar-load-hook): Don't mess with it.
4678
4679 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4680 Use derived-mode-p. Run the diff asynchronously.
4681
4682 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4683
4684 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4685
4686 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4687
4688 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4689 (list-dynamic-libraries--loaded): New function.
4690 (list-dynamic-libraries--refresh): Use it.
4691
4692 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4693
4694 * progmodes/python.el (python-fill-paragraph):
4695 Make python-fill-region in a multiline string work when font-lock is
4696 disabled (bug#7018).
4697
4698 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4699
4700 * language/european.el (cp775): Add oem/legacy (en)coding on
4701 DOS/MS Windows for the Baltic languages. There are still plenty
4702 of texts written in this encoding/codepage (bug#6519).
4703
4704 2012-04-10 Glenn Morris <rgm@gnu.org>
4705
4706 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4707 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4708
4709 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4710
4711 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4712 next-line "n" and previous-line "p" in order to make recentf more
4713 consistent with ibuffer, dired or org-mode (bug#9387).
4714
4715 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4716
4717 * image.el (put-image): Return the overlay created instead of the
4718 optional input string (bug#7834). Note that this may break code
4719 that is (for some reason or other) depending on `put-image'
4720 returning the string.
4721
4722 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4723
4724 * simple.el (zap-to-char): Allow zapping using input methods
4725 (bug#1580).
4726
4727 * textmodes/fill.el (fill-region): Leave point and mark where they
4728 were before filling (bug#5399).
4729
4730 2012-04-09 Glenn Morris <rgm@gnu.org>
4731
4732 * version.el (emacs-bzr-get-version):
4733 Handle lightweight checkouts of local branches.
4734
4735 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4736
4737 * international/characters.el: Recover lost case pairs. (Bug#11209)
4738
4739 2012-04-09 Chong Yidong <cyd@gnu.org>
4740
4741 * custom.el (custom-variable-p): Return nil for non-symbol
4742 arguments instead of signaling an error.
4743 (user-variable-p): Obsolete alias for custom-variable-p.
4744
4745 * apropos.el (apropos-variable):
4746 * files-x.el (read-file-local-variable):
4747 * simple.el (set-variable):
4748 * woman.el (woman-mini-help):
4749 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4750
4751 2012-04-09 Glenn Morris <rgm@gnu.org>
4752
4753 * startup.el (normal-top-level): Don't look for leim-list.el
4754 in places where it will not be found. (Bug#910)
4755
4756 * international/mule-cmds.el (set-default-coding-systems):
4757 * files.el (normal-mode):
4758 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4759 This function was removed with ucs-tables.el in 2008.
4760
4761 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4762
4763 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4764 ispell-encoding8-command to "-i", without a trailing space.
4765 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4766 separate command-line arguments, to specify the encoding, since
4767 that's how hunspell expects it.
4768
4769 2012-04-08 Glenn Morris <rgm@gnu.org>
4770
4771 * loadup.el: Load bindings before cus-start.
4772 This reduces somewhat the number of "rogue" settings in emacs -Q.
4773
4774 2012-04-07 Glenn Morris <rgm@gnu.org>
4775
4776 * version.el (emacs-bzr-get-version): New function.
4777 (emacs-bzr-version): New variable.
4778 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4779 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4780
4781 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4782
4783 * international/uni-bidi.el, international/uni-category.el:
4784 * international/uni-combining.el, international/uni-decimal.el:
4785 * international/uni-decomposition.el, international/uni-digit.el:
4786 * international/uni-lowercase.el, international/uni-mirrored.el:
4787 * international/uni-name.el, international/uni-numeric.el:
4788 * international/uni-titlecase.el, international/uni-uppercase.el:
4789 Update for Unicode 6.1.
4790
4791 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4792
4793 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4794
4795 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4796
4797 * window.el (shrink-window): Mention the `window-min-height'
4798 variable in the doc string.
4799
4800 2012-04-05 Bastien Guerry <bzg@altern.org>
4801
4802 * color.el (color-lighten-name): Fix typo.
4803
4804 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4805
4806 * server.el (server--on-display-p): New function.
4807 (server--on-display-p): Use it.
4808
4809 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4810
4811 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4812 (bug#11145).
4813
4814 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * comint.el (comint--common-quoted-suffix): Check string boundary
4817 before comparing (bug#11158).
4818 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4819
4820 2012-04-04 Chong Yidong <cyd@gnu.org>
4821
4822 * minibuffer.el (completion-extra-properties): Doc fix.
4823
4824 * subr.el (delayed-warnings-hook): Doc fix.
4825
4826 2012-04-04 Daiki Ueno <ueno@unixuser.org>
4827
4828 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4829 selection (Bug#11159).
4830 (epa-insert-keys): Inform that the default public key will be
4831 exported if no key is selected.
4832
4833 2012-04-04 Richard Stallman <rms@gnu.org>
4834
4835 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4836
4837 2012-04-03 Chong Yidong <cyd@gnu.org>
4838
4839 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4840 mail-insert-file, not its obsolete alias mail-attach-file.
4841
4842 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
4843
4844 * notifications.el (notifications-notify): Fix docstring.
4845
4846 2012-04-02 Glenn Morris <rgm@gnu.org>
4847
4848 * emacs-lisp/authors.el (authors-aliases): Another addition.
4849
4850 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
4851
4852 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4853 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4854 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4855
4856 2012-04-01 Chong Yidong <cyd@gnu.org>
4857
4858 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4859 Handle root directory properly.
4860 (copy-directory): Caller changed.
4861
4862 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4863 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4864
4865 2012-03-31 Glenn Morris <rgm@gnu.org>
4866
4867 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4868
4869 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4870
4871 * calendar/calendar.el (calendar-window-list)
4872 (calendar-hide-window): Restore. (Bug#11140)
4873 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4874
4875 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4876
4877 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4878
4879 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4880 Check if file is a symlink (Bug#10489).
4881
4882 * files.el (copy-directory): Likewise.
4883
4884 2012-03-30 Chong Yidong <cyd@gnu.org>
4885
4886 * image.el (imagemagick-types-inhibit)
4887 (imagemagick-register-types): Doc fix.
4888
4889 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4890
4891 * textmodes/ispell.el (ispell-get-extended-character-mode):
4892 Disable extended-char-mode for hunspell. hunspell does not support it
4893 and treats ~word as ordinary words in pipe mode.
4894
4895 2012-03-30 Glenn Morris <rgm@gnu.org>
4896
4897 * tutorial.el (help-with-tutorial): Ensure local variables don't
4898 happen to make the buffer read-only. (Bug#11127)
4899
4900 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4901
4902 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4903 (perl-calculate-indent): Return `noindent' in strings.
4904
4905 2012-03-28 Sam Steingold <sds@gnu.org>
4906
4907 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4908 instead of the broken adhockery which does not prevent calendar
4909 buffers from being displayed at random after exit.
4910 (calendar-window-list, calendar-hide-window): Remove the broken
4911 adhockery.
4912
4913 2012-03-28 Glenn Morris <rgm@gnu.org>
4914
4915 * replace.el (query-replace-map): Doc fix.
4916
4917 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4918
4919 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4920 contents. (Bug#11109)
4921
4922 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4925 (bug#11077).
4926 (avl-tree--check, avl-tree--check-node): New funs.
4927
4928 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4929
4930 * window.el (switch-to-visible-buffer): New option.
4931 (switch-to-prev-buffer, switch-to-next-buffer):
4932 Observe switch-to-visible-buffer. Make sure that checking for a window
4933 showing a buffer already is done on the same frame.
4934
4935 2012-03-27 Glenn Morris <rgm@gnu.org>
4936
4937 * startup.el (mail-host-address): Doc fix.
4938
4939 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4942 than 197 variables.
4943
4944 2012-03-26 Ami Fischman <ami@fischman.org>
4945
4946 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4947
4948 2012-03-26 Glenn Morris <rgm@gnu.org>
4949
4950 * files.el (save-buffers-kill-emacs): Doc fix.
4951
4952 * startup.el (normal-top-level, command-line, command-line-1):
4953 Give them doc strings.
4954
4955 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4956
4957 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4958 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4959
4960 2012-03-25 Chong Yidong <cyd@gnu.org>
4961
4962 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4963 theme if it was previously enabled before (Bug#11031).
4964
4965 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4966 spec with custom-face-get-current-spec if its :shown-value is not
4967 determined yet (Bug#9337).
4968 (customize-create-theme, custom-theme-revert): Doc fixes.
4969
4970 * button.el (button-at): Minor addition to docstring.
4971
4972 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4973
4974 * vc/vc.el (vc-merge): Fix a prompt.
4975
4976 2012-03-24 Chong Yidong <cyd@gnu.org>
4977
4978 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4979 point (Bug#9623).
4980
4981 * button.el (button-at): Minor addition to docstring.
4982
4983 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 * newcomment.el (comment-choose-indent): No space after BOL.
4986
4987 2012-03-22 Sam Steingold <sds@gnu.org>
4988
4989 * window.el (switch-to-prev-buffer): Revert last patch because the
4990 bug turned out to be an advertised feature (Elisp manual 28.14).
4991
4992 2012-03-22 Glenn Morris <rgm@gnu.org>
4993
4994 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4995 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4996
4997 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4998
4999 * net/network-stream.el (network-stream-open-starttls): Make error
5000 message under Windows be less misleading.
5001
5002 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5003
5004 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5005 understands (bug#9942).
5006
5007 2012-03-22 Chong Yidong <cyd@gnu.org>
5008
5009 * simple.el (end-of-visible-line): Handle return value of
5010 next-single-property-change properly (Bug#9371).
5011
5012 2012-03-22 Kenichi Handa <handa@m17n.org>
5013
5014 * international/quail.el (quail-insert-kbd-layout): Fix previous
5015 change. To avoid unwanted bidi reordering, use
5016 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5017
5018 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5019
5020 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5021 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5022 (ruby-beginning-of-indent): Be more careful with the difference
5023 between word-boundary and symbol boundary.
5024 (ruby-mode-syntax-table): Make : a symbol constituent.
5025
5026 2012-03-21 Andreas Politz <politza@fh-trier.de>
5027
5028 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5029
5030 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * progmodes/etags.el (tags-completion-at-point-function):
5033 Improve last fix.
5034
5035 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5036
5037 2012-03-21 Sam Steingold <sds@gnu.org>
5038
5039 * progmodes/etags.el (tags-completion-at-point-function):
5040 Avoid the error when point is inside the pattern.
5041
5042 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5043
5044 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5045 line (Bug#10855).
5046
5047 2012-03-21 Drew Adams <drew.adams@oracle.com>
5048
5049 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5050
5051 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5052
5053 * ido.el (ido-set-current-directory, ido-read-internal)
5054 (ido-choose-completion-string, ido-completion-help): Handle nil
5055 value of ido-completion-buffer (Bug#11008).
5056
5057 2012-03-21 Sam Steingold <sds@gnu.org>
5058
5059 * window.el (switch-to-prev-buffer): Do not switch to a visible
5060 window previous buffer, just like with the frame previous buffers.
5061
5062 2012-03-21 Chong Yidong <cyd@gnu.org>
5063
5064 * faces.el (make-face, make-empty-face, copy-face):
5065 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5066 Doc fixes.
5067
5068 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5071 (widget-complete): Remove broken use of it.
5072
5073 2012-03-20 Chong Yidong <cyd@gnu.org>
5074
5075 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5076 Use string-width and truncate-string-width to handle arbitrary
5077 characters.
5078
5079 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5080
5081 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5082 to draw rectangles, not squares. (Regression introduced by revno
5083 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5084
5085 2012-03-18 Chong Yidong <cyd@gnu.org>
5086
5087 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5088 it is not yet defined (for temacs).
5089
5090 2012-03-18 Leo Liu <sdl.web@gmail.com>
5091
5092 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5093
5094 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5095
5096 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5097 (ispell-choices-win-default-height, ispell-silently-savep)
5098 (ispell-dictionary-alist, ispell-encoding8-command)
5099 (ispell-check-version, ispell-aspell-find-dictionary)
5100 (ispell-valid-dictionary-list, ispell-words-keyword)
5101 (ispell-get-word, ispell-internal-change-dictionary)
5102 (ispell-region, ispell-skip-region-list)
5103 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5104 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5105 (ispell-message-text-end, ispell-message)
5106 (ispell-buffer-local-parsing): Doc fix.
5107
5108 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5109
5110 * htmlfontify.el: Add support for code block fontification for ODT
5111 export (Bug #9914).
5112 (hfy-optimisations): Define new option
5113 `body-text-only'
5114 (hfy-fontify-buffer): Honor above setting.
5115 (hfy-begin-span, hfy-end-span): New routines factored out form
5116 `hfy-fontify-buffer'.
5117 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5118 that permit insertion of custom tags.
5119 (hfy-fontify-buffer): Use above handlers.
5120 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5121 (hfy-face-to-css): Re-defined to be a variable.
5122 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5123 over multiple runs. This is made possible by having the caller let
5124 bind a special variable `hfy-user-sheet-assoc'.
5125 (htmlfontify-string): New defun.
5126 (hfy-compile-face-map): Make sure that the last char in the
5127 buffer is correctly fontified.
5128 (hfy-face-resolve-face): Whitespace only change.
5129
5130 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5131
5132 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5133 message more clear.
5134
5135 2012-03-16 Leo Liu <sdl.web@gmail.com>
5136
5137 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5138
5139 2012-03-16 Alan Mackenzie <acm@muc.de>
5140
5141 Further optimise the handling of large macros.
5142
5143 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5144 limit to a call of `c-literal-limits'.
5145 (c-determine-+ve-limit): New function.
5146 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5147 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5148 In CASE 5B, restrict a search limit to 500.
5149 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5150
5151 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5152 Restrict macro bounds to +-500 from after-change's BEG END.
5153
5154 2012-03-16 Leo Liu <sdl.web@gmail.com>
5155
5156 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5157
5158 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5159
5160 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5161 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5162
5163 2012-03-16 Glenn Morris <rgm@gnu.org>
5164
5165 * view.el (view-buffer, view-buffer-other-window)
5166 (view-buffer-other-frame): Doc fixes re special mode-class.
5167
5168 * subr.el (eval-after-load): If named feature is provided not from
5169 a file, run after-load forms. (Bug#10946)
5170
5171 * calendar/calendar.el (calendar-insert-at-column):
5172 Handle non-unit-width characters a bit better. (Bug#10978)
5173
5174 2012-03-15 Chong Yidong <cyd@gnu.org>
5175
5176 * emacs-lisp/ring.el (ring-extend): New function.
5177 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5178
5179 * comint.el (comint-read-input-ring)
5180 (comint-add-to-input-history): Grow comint-input-ring lazily.
5181
5182 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5183
5184 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5185 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5186
5187 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5188 (imenu-add-to-menubar): Don't add a redundant index.
5189 (imenu-update-menubar): Handle a dynamically composed keymap.
5190
5191 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5192
5193 * mail/sendmail.el (mail-encode-header):
5194 Bind rfc2047-encode-encoded-words to nil.
5195
5196 2012-03-13 Glenn Morris <rgm@gnu.org>
5197
5198 * calendar/calendar.el (calendar-string-spread):
5199 Handle non-unit-width characters a bit better. (Bug#10978)
5200
5201 2012-03-13 Leo Liu <sdl.web@gmail.com>
5202
5203 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5204 directory and file as argument (Bug#10822).
5205
5206 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5207
5208 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5209 For dynamically generated code, follow $PC.
5210 (gdb-disassembly-handler-custom): Handle no function name case.
5211
5212 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5213
5214 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5215 * emulation/ws-mode.el (ws-query-replace):
5216 * sort.el (sort-regexp-fields):
5217 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5218
5219 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * dabbrev.el: Fix cycle completion order (bug#10963).
5222 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5223 (dabbrev-completion): Don't use an obarray; provide
5224 a cycle-sort-function.
5225
5226 2012-03-12 Leo Liu <sdl.web@gmail.com>
5227
5228 * simple.el (kill-new): Use equal-including-properties for comparison.
5229 (kill-do-not-save-duplicates): Doc fix.
5230
5231 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * dabbrev.el: Fix cycle completion (bug#10963).
5234 Use lexical binding and wrap to 80 columns.
5235 (dabbrev-completion): Delay computing the list of completions.
5236
5237 2012-03-12 Kenichi Handa <handa@m17n.org>
5238
5239 * international/quail.el (quail-insert-kbd-layout): Surround each
5240 row by LRO and PDF instead of inserting many LRMs. Pad the left
5241 and right of each non-spacing marks. Insert invisible space
5242 between lower and upper characters to prevent composition.
5243
5244 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5245
5246 * minibuffer.el (minibuffer-complete): Don't get confused when the
5247 function is run twice via different commands (bug#10958).
5248 (complete-with-action): Fix docstring.
5249
5250 2012-03-12 Chong Yidong <cyd@gnu.org>
5251
5252 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5253 (nxml-completion-at-point-function): New function.
5254 (nxml-mode): Use it.
5255 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5256
5257 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5258 Load generated autoloads file before byte compiling (Bug#10970).
5259 (package--make-autoloads-and-compile): New helper fun.
5260
5261 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5262
5263 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5264
5265 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5266
5267 * autorevert.el (auto-revert-handler): Ensure, that
5268 file-readable-p is applied only for local files or in
5269 auto-revert-tail-mode.
5270
5271 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5272
5273 * server.el (server-eval-at): Handle non-tcp connections.
5274 Decode result string.
5275
5276 * server.el (server-msg-size): New constant.
5277 (server-reply-print): New function.
5278 (server-eval-and-print): Use it.
5279 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5280 Handle -print-nonl.
5281
5282 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5283
5284 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5285 (Bug#10987).
5286
5287 2012-03-11 Chong Yidong <cyd@gnu.org>
5288
5289 * simple.el (goto-line): Doc fix (Bug#9938).
5290
5291 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5292
5293 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5294 when finished (Bug#10963).
5295
5296 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5297
5298 * window.el (split-window-below): Fix bug in case where
5299 split-window-keep-point is nil (Bug#10971).
5300
5301 2012-03-11 Juri Linkov <juri@jurta.org>
5302
5303 * replace.el (replace-highlight): Set isearch-word to nil
5304 unconditionally. (Bug#10887)
5305
5306 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5307
5308 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5309 mairix-replace-illegal-chars; all callers changed. Don't remove
5310 ^, ~, and = characters: they are meaningful in mairix search specs.
5311 (mairix-widget-create-query): Add usage information about mairix
5312 search forms: negating words, searching for substrings, etc.
5313
5314 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5315
5316 * international/fontset.el (font-encoding-alist): Add an entry for
5317 ksx1001 (Bug#5667).
5318
5319 2012-03-10 Richard Stallman <rms@gnu.org>
5320
5321 * mail/sendmail.el (mail-encode-header):
5322 Set rfc2047-encode-encoded-words.
5323
5324 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5325
5326 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5327 view buffer means not swapped.
5328 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5329 (rmail-write-region-annotate): Error if real text has disappeared.
5330
5331 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5332
5333 2012-03-10 Chong Yidong <cyd@gnu.org>
5334
5335 * emulation/cua-rect.el (cua--init-rectangles):
5336 * emulation/cua-base.el (cua--init-keymaps):
5337 Add delete-forward-char to remappings (Bug#9666).
5338
5339 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5340
5341 * speedbar.el (speedbar-unhighlight-one-tag-line):
5342 Avoid unhighlighting due to frame switching (Bug#10275).
5343
5344 2012-03-10 Chong Yidong <cyd@gnu.org>
5345
5346 * minibuffer.el (completion-in-region, completion-help-at-point):
5347 Give the completion field overlay a high priority (Bug#6830).
5348
5349 * dired.el (dired-goto-file): Recognize absolute file name
5350 listings (Bug#7126).
5351 (dired-goto-file-1): New helper function.
5352 (dired-toggle-read-only): Inhibit warnings.
5353
5354 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5355
5356 * net/dbus.el (dbus-property-handler): Return empty array if
5357 there are no properties.
5358
5359 2012-03-09 Leo Liu <sdl.web@gmail.com>
5360
5361 * savehist.el (savehist-printable): Stricter check for string
5362 value (Bug#10937).
5363
5364 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5365
5366 * mail/smtpmail.el (smtpmail-send-it):
5367 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5368 valid mbox format.
5369
5370 2012-03-09 Glenn Morris <rgm@gnu.org>
5371
5372 * files.el (dir-locals-find-file):
5373 Don't check result is regular, readable.
5374 (dir-locals-read-from-file): Demote errors.
5375
5376 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5377
5378 * international/quail.el (quail-insert-kbd-layout):
5379 Insert invisible LRM characters before each character in a keyboard
5380 layout cell, to prevent their reordering by bidi display engine.
5381 For details, see the discussion in
5382 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5383
5384 2012-03-08 Alan Mackenzie <acm@muc.de>
5385
5386 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5387 the starting position; make it extend the marked region when
5388 invoked repeatedly - all under appropriate circumstances.
5389 Fixes bugs #5525, #10906.
5390
5391 2012-03-08 Glenn Morris <rgm@gnu.org>
5392
5393 * files.el (locate-dominating-file, dir-locals-find-file):
5394 Undo 2012-03-06 change.
5395
5396 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5397
5398 * international/quail.el (quail-help):
5399 Force bidi-paragraph-direction be left-to-right. See discussion in
5400 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5401 for the reason.
5402
5403 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5404
5405 Avoid superfluous registering of signals. (Bug#10807)
5406
5407 * notifications.el (notifications-on-action-object)
5408 (notifications-on-close-object): New defvars.
5409 (notifications-on-action-signal, notifications-on-closed-signal):
5410 Unregister the signal if not needed any longer.
5411 (notifications-notify): Register `notifications-action-signal' or
5412 `notifications-closed-signal', if :on-action or :on-close has been
5413 passed as argument.
5414
5415 2012-03-07 Chong Yidong <cyd@gnu.org>
5416
5417 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5418 non-X platforms.
5419
5420 2012-03-06 Glenn Morris <rgm@gnu.org>
5421
5422 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5423 (x-disown-selection-internal, x-get-selection-internal):
5424 Doc fix (add arglist signatures). (Bug#10783)
5425
5426 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5427
5428 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5429 Handle breakpoints with no "type".
5430
5431 2012-03-06 Glenn Morris <rgm@gnu.org>
5432
5433 * files.el (locate-dominating-file): Add optional predicate argument.
5434 (dir-locals-find-file): Make use of above change.
5435
5436 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5437
5438 * info.el (Info-insert-dir): Also try "dir.gz".
5439
5440 2012-03-06 Glenn Morris <rgm@gnu.org>
5441
5442 * files.el (dir-locals-find-file):
5443 Ignore non-readable or non-regular files. (Bug#10928)
5444
5445 * files.el (locate-dominating-file): Doc fix.
5446
5447 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5448
5449 * calendar/calendar.el (calendar-set-mode-line):
5450 `getenv' returns a string. (Bug#10951)
5451
5452 2012-03-05 Leo Liu <sdl.web@gmail.com>
5453
5454 * simple.el (backward-delete-char-untabify): Constrain point to
5455 field (Bug#10939).
5456
5457 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5458
5459 2012-03-05 Chong Yidong <cyd@gnu.org>
5460
5461 * simple.el (count-words): If called from Lisp, return the word
5462 count, for symmetry with `count-lines'. Arglist changed.
5463 (count-words--message): Args changed. Consolidate counting code
5464 from count-words and count-words-region.
5465 (count-words-region): Caller changed.
5466 (count-lines-region): Make it an obsolete alias.
5467
5468 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5469
5470 * saveplace.el (save-place-to-alist)
5471 (save-place-ignore-files-regexp): Allow value nil to disable this
5472 feature.
5473
5474 2012-03-04 Chong Yidong <cyd@gnu.org>
5475
5476 * faces.el (face-spec-reset-face): For the default face, reset the
5477 attributes to default values (Bug#10748).
5478
5479 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5480
5481 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5482 previous patch: Check `message-send-mail-function', and not the
5483 default function (bug#10897).
5484
5485 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5486
5487 * notifications.el (notifications-on-action-signal)
5488 (notifications-on-closed-signal): Check for unique service name of
5489 incoming event. Fix error in removing entry.
5490 (top): Register for signals with wildcard service name.
5491 (notifications-notify): Use daemon unique service name for map entries.
5492
5493 2012-03-04 Chong Yidong <cyd@gnu.org>
5494
5495 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5496
5497 2012-03-04 Glenn Morris <rgm@gnu.org>
5498
5499 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5500 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5501 (expand-abbrev, define-abbrev-table): Doc fixes.
5502
5503 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5504
5505 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5506 `message-default-send-mail-function' and not `send-mail-function'
5507 when doing the prompting for `sendmail-query-once' before sending
5508 in Message buffers (bug#10897).
5509
5510 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5511 This is inconsistent with all the other stream functions, which leave
5512 the setting up to the higher levels (if so wanted) (bug#10931).
5513
5514 2012-03-02 Alan Mackenzie <acm@muc.de>
5515
5516 Depessimize the handling of very large macros.
5517
5518 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5519 (c-macro-cache-syntactic): New variables to implement a one
5520 element macro cache.
5521 (c-invalidate-macro-cache): New function.
5522 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5523 Adapt to use the new cache.
5524 (c-state-safe-place): Use better the cache of safe positions.
5525 (c-state-semi-nonlit-pos-cache)
5526 (c-state-semi-nonlit-pos-cache-limit):
5527 New variables for...
5528 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5529 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
5530 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5531 Use c-state-semi-safe-place.
5532
5533 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5534 Add c-invalidate-macro-cache to the C, C++, Obj entries.
5535
5536 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
5537
5538 * jka-compr.el (jka-compr-call-process):
5539 Apply `file-accessible-directory-p' only when the default directory is
5540 not remote.
5541
5542 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
5543
5544 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5545 access of FILE2, if FILE1 does not exist.
5546
5547 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5548 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5549
5550 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5551 Add "PAGER=" to `process-environment'.
5552
5553 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5554
5555 * progmodes/sql.el: Bug fix
5556 (sql-get-login-ext): Save login values in globals.
5557 (sql-get-login): Use new version of `sql-get-login-ext'.
5558 (sql-interactive-mode): Set global `sql-connection' to nil.
5559 (sql-connect): Set global values for connection.
5560 (sql-product-interactive): Save global values as buffer local.
5561
5562 2012-02-29 Leo Liu <sdl.web@gmail.com>
5563
5564 * abbrev.el (define-abbrevs): Reset sys to nil.
5565
5566 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5567
5568 * files.el (file-equal-p): Rename from `files-equal-p'.
5569 Return nil when one or both files don't exist.
5570 (file-subdir-of-p): Now only top directory must exists,
5571 return nil if it doesn't.
5572 (copy-directory): No need to test with `file-subdir-of-p' after
5573 creating dir.
5574 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5575 to `file-equal-p'.
5576
5577 2012-02-28 Glenn Morris <rgm@gnu.org>
5578
5579 * shell.el (shell-mode):
5580 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5581 * play/landmark.el (landmark-font-lock-face-O):
5582 * play/handwrite.el (handwrite):
5583 * play/gomoku.el (gomoku-O):
5584 * net/browse-url.el (browse-url-browser-display):
5585 * international/mule.el (define-charset):
5586 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5587 * filesets.el (filesets-find-file-delay):
5588 * eshell/em-xtra.el (eshell-xtra):
5589 * eshell/em-unix.el (eshell-grep):
5590 * emulation/viper.el (viper-mode):
5591 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5592 * emacs-lisp/easymenu.el (easy-menu-define):
5593 * calendar/timeclock.el (timeclock-use-display-time):
5594 * bs.el (bs-mode):
5595 * bookmark.el (bookmark-save-flag):
5596 Doc fix (standardize possessive apostrophe usage).
5597
5598 2012-02-27 Chong Yidong <cyd@gnu.org>
5599
5600 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5601 Fix key-binding lookup for ESC key (Bug#9146).
5602
5603 * font-lock.el (font-lock-specified-p): Rename from
5604 font-lock-spec-present. Callers changed.
5605
5606 2012-02-27 Daniel Hackney <dan@haxney.org>
5607
5608 * emacs-lisp/package.el (package-compute-transaction):
5609 Handle holding a package version to t in package-load-list.
5610
5611 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
5612
5613 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5614 (tramp-get-inode, tramp-get-device): Use cached values.
5615
5616 2012-02-26 Alan Mackenzie <acm@muc.de>
5617
5618 Check there is a font-lock specification before doing initial
5619 fontification.
5620
5621 * font-core.el (font-lock-mode): Move the conditional from
5622 :after-hook to font-lock-initial-fontify.
5623 (font-lock-default-function): Move the check for a specification
5624 to font-lock-spec-present.
5625
5626 * font-lock.el (font-lock-initial-fontify): Call ...
5627 (font-lock-spec-present): New function.
5628
5629 2012-02-26 Jim Blandy <jimb@red-bean.com>
5630
5631 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5632 (gdb-send): Apply it to the operand of the '-interpreter-exec
5633 console' command, so that we can pass arguments with (say) quotes
5634 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5635
5636 2012-02-26 Chong Yidong <cyd@gnu.org>
5637
5638 * help-fns.el (describe-function-1): Clarify description of
5639 remapping (Bug#10844).
5640
5641 * files.el (files-equal-p): Doc fix.
5642 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5643 and quit the loop once a mismatch is found.
5644
5645 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5646
5647 * bs.el (bs--show-with-configuration): Don't throw an error
5648 if the window cannot be split; otherwise, subsequent calls to
5649 bs-show fail, restoring a stale window config. (Bug#10882)
5650
5651 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5652
5653 * term/ns-win.el (global-map): Bind ns-drag-file to
5654 ns-find-file (Bug#5855, Bug#10050).
5655
5656 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5657
5658 * calendar/parse-time.el (parse-time-string): Allow extractor to
5659 return nil.
5660
5661 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5662
5663 * net/tramp.el (tramp-file-name-for-operation):
5664 Add `files-equal-p' and `file-subdir-of-p'.
5665
5666 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5667 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5668 Add COPY-CONTENTS argument.
5669
5670 2012-02-25 Chong Yidong <cyd@gnu.org>
5671
5672 Add custom groups for VC backends, for consistency with vc-bzr.
5673
5674 * vc/vc-arch.el (vc-arch):
5675 * vc/vc-cvs.el (vc-cvs):
5676 * vc/vc-git.el (vc-git):
5677 * vc/vc-hg.el (vc-hg):
5678 * vc/vc-mtn.el (vc-mtn):
5679 * vc/vc-rcs.el (vc-rcs):
5680 * vc/vc-sccs.el (vc-sccs):
5681 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5682 All relevant defcustoms reassigned.
5683
5684 2012-02-25 Chong Yidong <cyd@gnu.org>
5685
5686 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5687
5688 * term/x-win.el (x-initialize-window-system): Reduce default for
5689 x-selection-timeout to 5 seconds (Bug#8869).
5690
5691 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5692
5693 * files.el (files-equal-p, file-subdir-of-p): New functions.
5694 (copy-directory): Error when trying to copy a directory on itself.
5695 Add missing copy-contents arg to tramp handler.
5696 * dired-aux.el (dired-copy-file-recursive): Same.
5697 (dired-create-files): Modify destination when source is equal to
5698 dest when copying files.
5699 Return also when dest is a subdir of source. (Bug#10489)
5700
5701 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5702
5703 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5704 (Bug#10874)
5705
5706 2012-02-23 Alan Mackenzie <acm@muc.de>
5707
5708 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5709 parameter "after-hook:" to allow the expansion to run code after
5710 the execution of the mode hooks.
5711
5712 * font-lock.el (font-lock-initial-fontify): New function extracted
5713 from font-lock-mode-internal.
5714
5715 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5716 :after-hook.
5717
5718 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5719
5720 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5721 (completion--cache-all-sorted-completions): New function.
5722 (completion-all-sorted-completions): Use it.
5723 (completion--do-completion, minibuffer-force-complete):
5724 Use it to re-instate the flush hook.
5725
5726 * icomplete.el (icomplete-completions): Replace last fix with a better
5727 one (bug#10850).
5728
5729 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5730
5731 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5732 when it might call us back infinitely (bug#10797).
5733
5734 2012-02-23 Glenn Morris <rgm@gnu.org>
5735
5736 * minibuffer.el (completion-category-overrides): Doc fix.
5737
5738 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5741 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5742
5743 2012-02-23 Glenn Morris <rgm@gnu.org>
5744
5745 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5746 (authors-obsolete-files-regexps, authors-ignored-files)
5747 (authors-ambiguous-files, authors-renamed-files-alist):
5748 Add more entries.
5749
5750 2012-02-23 Juri Linkov <juri@jurta.org>
5751
5752 * isearch.el (isearch-occur): Sync interactive spec with occur's
5753 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5754
5755 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5756
5757 2012-02-22 Juri Linkov <juri@jurta.org>
5758
5759 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5760 (ucs-insert): Doc fix. Check for hex digits in the string.
5761 Don't display `nil' in the error message. (Bug#10857)
5762
5763 2012-02-22 Alan Mackenzie <acm@muc.de>
5764
5765 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5766
5767 2012-02-22 Glenn Morris <rgm@gnu.org>
5768
5769 * ffap.el (ffap-c-path):
5770 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5771
5772 2012-02-22 Chong Yidong <cyd@gnu.org>
5773
5774 * custom.el (load-theme): Doc fix.
5775
5776 2012-02-22 Glenn Morris <rgm@gnu.org>
5777
5778 * dired-x.el (dired-guess-shell-alist-default):
5779 Remove escape sequences from nroff output. (Bug#172)
5780
5781 2012-02-21 Glenn Morris <rgm@gnu.org>
5782
5783 * vc/emerge.el (emerge-defvar-local):
5784 Set `permanent-local' property rather than unused `preserved'.
5785
5786 * textmodes/picture.el (picture-delete-char): New alias.
5787 (picture-mode-map): Use it. (Bug#10860)
5788 (picture-mode): Doc fix.
5789
5790 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
5791
5792 * newcomment.el (uncomment-region-default): Remove unused binding.
5793
5794 2012-02-21 Glenn Morris <rgm@gnu.org>
5795
5796 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5797 (picture-self-insert, picture-tab-chars): Doc fix.
5798 (picture-mode-map): Fix C-a, C-e.
5799
5800 2012-02-20 Glenn Morris <rgm@gnu.org>
5801
5802 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5803
5804 2012-02-20 Leo Liu <sdl.web@gmail.com>
5805
5806 * icomplete.el (icomplete-completions): Check FROM arg before
5807 passing to substring (Bug#10850).
5808
5809 2012-02-19 Chong Yidong <cyd@gnu.org>
5810
5811 * comint.el: Require ansi-color.
5812 (comint-output-filter-functions): Add ansi-color-process-output.
5813
5814 * ansi-color.el: Don't set comint-output-filter-functions; it is
5815 now in the initial value defined in comint.el.
5816 (ansi-color-apply-face-function): New variable.
5817 (ansi-color-apply-on-region): Use it.
5818 (ansi-color-apply-overlay-face): New function.
5819
5820 * shell.el (shell): No need to require ansi-color.
5821 (shell-mode): Use ansi-color-apply-face-function to highlight
5822 color escapes using font-lock-face property (Bug#10835).
5823
5824 2012-02-19 Chong Yidong <cyd@gnu.org>
5825
5826 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5827 mode-line formats (Bug#10839).
5828
5829 2012-02-18 Glenn Morris <rgm@gnu.org>
5830
5831 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5832
5833 * mail/undigest.el (unforward-rmail-message): Doc fix.
5834
5835 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5836
5837 2012-02-18 Eli Zaretskii <eliz@gnu.org>
5838
5839 * international/characters.el (script-list): Sync with the latest
5840 Unicode Character Database.
5841
5842 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5843
5844 * international/titdic-cnv.el: Remove duplicate coding tag.
5845 * language/cham.el: Likewise.
5846 * language/tai-viet.el: Likewise.
5847
5848 2012-02-18 Glenn Morris <rgm@gnu.org>
5849
5850 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5851 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5852 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5853 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5854 * calendar/holidays.el (holiday-bahai-holidays)
5855 (calendar-holidays, list-holidays):
5856 Use utf-8 Bahá'í in doc-strings, menus, etc.
5857
5858 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5859
5860 * saveplace.el (save-place-ignore-files-regexp): New variable
5861 allowing for excluding files from saving their location of point.
5862 The default value matches the temporary commit message editing
5863 files from Git, SVN, Bazaar, and Mercurial.
5864 (save-place-to-alist): Use it.
5865
5866 2012-02-17 Lawrence Mitchell <wence@gmx.li>
5867 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * newcomment.el (uncomment-region-default): Don't leave extra space
5870 when an arg is provided (bug#8150).
5871
5872 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5873
5874 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5875
5876 2012-02-17 Glenn Morris <rgm@gnu.org>
5877
5878 * net/socks.el: Require network-stream. (Bug#10599)
5879
5880 2012-02-17 Kenichi Handa <handa@m17n.org>
5881
5882 * international/charprop.el:
5883 * international/uni-name.el:
5884 * international/uni-old-name.el:
5885 * international/uni-comment.el: Regenerate.
5886
5887 2012-02-16 Glenn Morris <rgm@gnu.org>
5888
5889 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5890 Interactively in calendar buffer, give an error if not on a date.
5891
5892 2012-02-15 Glenn Morris <rgm@gnu.org>
5893
5894 * shell.el (shell-delimiter-argument-list):
5895 Revert 2011-02-17 change. (Bug#8027)
5896
5897 2012-02-15 Chong Yidong <cyd@gnu.org>
5898
5899 * minibuffer.el (completion-at-point-functions): Doc fix.
5900
5901 * custom.el (defcustom): Doc fix; note use of defvar.
5902
5903 2012-02-15 Glenn Morris <rgm@gnu.org>
5904
5905 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5906 Doc fixes.
5907
5908 2012-02-14 Glenn Morris <rgm@gnu.org>
5909
5910 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5911
5912 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5913
5914 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5915 way the ports list is computed.
5916 (smtpmail-query-smtp-server): Prompt the user for a port number if
5917 we can't connect to any of the standard ports (bug#10810).
5918
5919 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5920
5921 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5922
5923 2012-02-13 Glenn Morris <rgm@gnu.org>
5924
5925 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5926
5927 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5928
5929 * net/gnutls.el (gnutls-trustfiles): New variable.
5930 (gnutls-negotiate): Use it.
5931
5932 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5933
5934 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5935 does its stuff if Gnus is running.
5936
5937 2012-02-13 Alan Mackenzie <acm@muc.de>
5938
5939 Fix a loop in c-set-fl-decl-start.
5940
5941 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5942 c-backward-syntactic-ws actually moves backwards.
5943
5944 2012-02-13 Leo Liu <sdl.web@gmail.com>
5945
5946 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5947 beginning so that all \C-o chars are removed.
5948
5949 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5950
5951 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5952
5953 2012-02-12 Alan Mackenzie <acm@muc.de>
5954
5955 Fix infinite loop with long macros.
5956 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5957
5958 2012-02-12 Chong Yidong <cyd@gnu.org>
5959
5960 * window.el (display-buffer): Doc fix (Bug#10785).
5961
5962 2012-02-12 Glenn Morris <rgm@gnu.org>
5963
5964 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5965 (x-disown-selection-internal, x-get-selection-internal):
5966 Sync docs with the xselect.c versions.
5967
5968 * allout-widgets.el: Add missing license notice.
5969
5970 2012-02-11 Glenn Morris <rgm@gnu.org>
5971
5972 * select.el (x-get-selection-internal, x-own-selection-internal)
5973 (x-disown-selection-internal):
5974 * x-dnd.el (x-get-selection-internal): Update declarations.
5975
5976 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5977
5978 * window.el (window-sides-slots):
5979 * tool-bar.el (tool-bar-position):
5980 * term/xterm.el (xterm-extra-capabilities):
5981 * ses.el (ses-self-reference-early-detection):
5982 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5983 (verilog-auto-wire-type)
5984 (verilog-auto-delete-trailing-whitespace)
5985 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5986 (verilog-auto-tieoff-declaration):
5987 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5988 (sql-oracle-statement-starters, sql-oracle-scan-on):
5989 * progmodes/prolog.el (prolog-align-comments-flag)
5990 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5991 (prolog-left-indent-regexp, prolog-paren-indent-p)
5992 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5993 (prolog-types, prolog-mode-specificators)
5994 (prolog-determinism-specificators, prolog-directives)
5995 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5996 (prolog-electric-dot-flag)
5997 (prolog-electric-dot-full-predicate-template)
5998 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5999 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6000 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6001 (prolog-program-switches, prolog-prompt-regexp)
6002 (prolog-debug-on-string, prolog-debug-off-string)
6003 (prolog-trace-on-string, prolog-trace-off-string)
6004 (prolog-zip-on-string, prolog-zip-off-string)
6005 (prolog-use-standard-consult-compile-method-flag)
6006 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6007 (prolog-imenu-max-lines, prolog-info-predicate-index)
6008 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6009 (prolog-char-quote-workaround):
6010 * progmodes/cc-vars.el (c-defun-tactic):
6011 * net/tramp.el (tramp-encoding-command-interactive)
6012 (tramp-local-end-of-line):
6013 * net/soap-client.el (soap-client):
6014 * net/netrc.el (netrc-file):
6015 * net/gnutls.el (gnutls):
6016 * minibuffer.el (completion-category-overrides)
6017 (completion-cycle-threshold)
6018 (completion-pcm-complete-word-inserts-delimiters):
6019 * man.el (Man-name-local-regexp):
6020 * mail/feedmail.el (feedmail-display-full-frame):
6021 * international/characters.el (glyphless-char-display-control):
6022 * eshell/em-ls.el (eshell-ls-date-format):
6023 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6024 (lisp-lambda-list-keyword-parameter-indentation)
6025 (lisp-lambda-list-keyword-parameter-alignment):
6026 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6027 * dired-x.el (dired-omit-verbose):
6028 * cus-theme.el (custom-theme-allow-multiple-selections):
6029 * calc/calc.el (calc-highlight-selections-with-faces)
6030 (calc-lu-field-reference, calc-lu-power-reference)
6031 (calc-note-threshold):
6032 * battery.el (battery-mode-line-limit):
6033 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6034 (archive-7z-update):
6035 * allout.el (allout-prefixed-keybindings)
6036 (allout-unprefixed-keybindings)
6037 (allout-inhibit-auto-fill-on-headline)
6038 (allout-flattened-numbering-abbreviation):
6039 * allout-widgets.el (allout-widgets-auto-activation)
6040 (allout-widgets-icons-dark-subdir)
6041 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6042 (allout-widgets-theme-dark-background)
6043 (allout-widgets-theme-light-background)
6044 (allout-widgets-item-image-properties-emacs)
6045 (allout-widgets-item-image-properties-xemacs)
6046 (allout-widgets-run-unit-tests-on-load)
6047 (allout-widgets-time-decoration-activity)
6048 (allout-widgets-hook-error-post-time)
6049 (allout-widgets-track-decoration):
6050 Add missing :version tags to new defcustoms and defgroups.
6051
6052 * progmodes/sql.el (sql-ansi-statement-starters)
6053 (sql-oracle-statement-starters): Add custom type.
6054
6055 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6056 (prolog-system-version): Give it a type.
6057
6058 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6059
6060 * term/pc-win.el (x-select-text, x-selection-owner-p)
6061 (x-own-selection-internal, x-disown-selection-internal)
6062 (x-get-selection-internal): Sync doc strings and argument lists
6063 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6064
6065 2012-02-11 Leo Liu <sdl.web@gmail.com>
6066
6067 * progmodes/python.el (python-end-of-statement): Fix infinite
6068 loop. (Bug#10788)
6069
6070 2012-02-10 Glenn Morris <rgm@gnu.org>
6071
6072 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6073 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6074
6075 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6076
6077 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6078 about SMTP before checking the From header.
6079
6080 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6081 into own function for reuse by emacsbug.el.
6082
6083 2012-02-10 Leo Liu <sdl.web@gmail.com>
6084
6085 * subr.el (condition-case-unless-debug): Rename from
6086 condition-case-no-debug. All callers changed.
6087 (with-demoted-errors): Fix caller.
6088
6089 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6090 * nxml/rng-valid.el (rng-do-some-validation):
6091 * emacs-lisp/package.el (package-refresh-contents)
6092 (package-menu-execute):
6093 * desktop.el (desktop-create-buffer):
6094 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6095
6096 2012-02-10 Glenn Morris <rgm@gnu.org>
6097
6098 * textmodes/bibtex.el:
6099 Add missing :version tags for new/changed defcustoms.
6100
6101 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6102
6103 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6104
6105 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6106 (smtpmail-via-smtp): Use it, or fall back on the From address.
6107 (smtpmail-send-it): Ditto.
6108
6109 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6110
6111 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6112 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6113 (byte-compile-tmp-var): New const.
6114 (byte-compile-defvar): Use it to minimize .elc size.
6115 Just use `defvar' rather than simulate it (bug#10761).
6116
6117 2012-02-09 Glenn Morris <rgm@gnu.org>
6118
6119 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6120
6121 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6122 Add :version tags.
6123
6124 * progmodes/compile.el (compilation-error-screen-columns)
6125 (compilation-first-column, compilation-filter-start): Doc fixes.
6126
6127 * vc/log-view.el (log-view-toggle-entry-display):
6128 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6129
6130 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6131 (report-emacs-bug-can-use-xdg-email):
6132 (report-emacs-bug-insert-to-mailer): Doc fixes.
6133 (report-emacs-bug): Message fix.
6134
6135 * net/browse-url.el (browse-url-can-use-xdg-open)
6136 (browse-url-xdg-open): Doc fixes.
6137
6138 * electric.el (electric-indent-mode, electric-pair-mode)
6139 (electric-layout-rules, electric-layout-mode): Doc fixes.
6140 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6141
6142 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6143
6144 * server.el (server-unselect-display): Don't inadvertently kill
6145 the current buffer. (Bug#10729)
6146
6147 2012-02-08 Glenn Morris <rgm@gnu.org>
6148
6149 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6150 (sql-list-table): Doc fixes.
6151
6152 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6153 Comment out (does nothing).
6154
6155 * completion.el (dynamic-completion-mode):
6156 * dirtrack.el (dirtrack-debug-mode):
6157 * electric.el (electric-layout-mode):
6158 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6159 * face-remap.el (text-scale-mode, buffer-face-mode):
6160 * iimage.el (iimage-mode):
6161 * image-mode.el (image-transform-mode):
6162 * minibuffer.el (completion-in-region-mode):
6163 * scroll-lock.el (scroll-lock-mode):
6164 * simple.el (next-error-follow-minor-mode):
6165 * tar-mode.el (tar-subfile-mode):
6166 * tooltip.el (tooltip-mode):
6167 * vcursor.el (vcursor-use-vcursor-map):
6168 * wid-browse.el (widget-minor-mode):
6169 * emulation/tpu-edt.el (tpu-edt-mode):
6170 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6171 * international/iso-ascii.el (iso-ascii-mode):
6172 * language/thai-util.el (thai-word-mode):
6173 * mail/supercite.el (sc-minor-mode):
6174 * net/goto-addr.el (goto-address-mode):
6175 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6176 * progmodes/cwarn.el (cwarn-mode):
6177 * progmodes/flymake.el (flymake-mode):
6178 * progmodes/glasses.el (glasses-mode):
6179 * progmodes/hideshow.el (hs-minor-mode):
6180 * progmodes/pascal.el (pascal-outline-mode):
6181 * textmodes/enriched.el (enriched-mode):
6182 * vc/smerge-mode.el (smerge-mode):
6183 Doc fixes (minor mode argument).
6184
6185 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6186
6187 * ls-lisp.el (ls-lisp-sanitize): New function.
6188 (ls-lisp-insert-directory): Use it to fix or remove any elements
6189 in file-alist with missing attributes. (Bug#4673)
6190
6191 2012-02-07 Alan Mackenzie <acm@muc.de>
6192
6193 Fix spurious recognition of c-in-knr-argdecl.
6194
6195 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6196 putative K&R region.
6197
6198 2012-02-07 Alan Mackenzie <acm@muc.de>
6199
6200 * progmodes/cc-engine.el (c-forward-objc-directive):
6201 Prevent looping in "#pragma mark @implementation".
6202
6203 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6204
6205 * notifications.el (notifications-on-closed-signal): Make `reason'
6206 optional. (Bug#10744)
6207
6208 2012-02-07 Glenn Morris <rgm@gnu.org>
6209
6210 * emacs-lisp/easy-mmode.el (define-minor-mode):
6211 Doc fixes for the macro and the mode it defines.
6212
6213 * image.el (imagemagick-types-inhibit): Doc fix.
6214
6215 * cus-start.el (imagemagick-render-type): Add it.
6216
6217 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6218
6219 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6220 Set the default at load time, too, so that `font-lock-fontify-buffer'
6221 can be called without setting up the entire mode first. This fixes
6222 a bug in `mm-inline-text' with C MIME parts.
6223
6224 2012-02-06 Chong Yidong <cyd@gnu.org>
6225
6226 * simple.el (list-processes--refresh): Delete exited processes
6227 (Bug#8094).
6228
6229 * comint.el (comint-next-prompt): next-single-char-property-change
6230 and prev-single-char-property-change never return nil (Bug#8657).
6231
6232 * custom.el (defcustom): Doc fix (Bug#9711).
6233
6234 2012-02-05 Chong Yidong <cyd@gnu.org>
6235
6236 * cus-edit.el (custom-variable-reset-backup): Quote the value
6237 before storing it in the customized-value property (Bug#6712).
6238 (custom-display): Add a customization type tag.
6239 (custom-buffer-create-internal): Improve tooltip message.
6240
6241 * wid-edit.el (widget-field-value-get): New optional arg to
6242 suppress trailing whitespace truncation.
6243 (character): Use it (Bug#2689).
6244
6245 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6246
6247 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6248 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6249
6250 2012-02-05 Chong Yidong <cyd@gnu.org>
6251
6252 * cus-edit.el (custom-variable-value-create): For mismatched
6253 types, show the current value (Bug#7600).
6254
6255 * custom.el (defcustom): Doc fix.
6256
6257 2012-02-05 Glenn Morris <rgm@gnu.org>
6258
6259 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6260
6261 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6262
6263 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6264 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6265 (pp-last-sexp): Use `looking-at-p'.
6266
6267 2012-02-04 Glenn Morris <rgm@gnu.org>
6268
6269 * files.el (revert-buffer):
6270 Doc fix (mention revert-buffer-in-progress-p).
6271
6272 * emacs-lisp/ert-x.el (ert-simulate-command):
6273 Check deferred-action-list (which is obsolete) is bound.
6274
6275 * subr.el (with-wrapper-hook): Doc fixes.
6276
6277 * simple.el (filter-buffer-substring-functions)
6278 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6279
6280 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6281
6282 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6283 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6284
6285 2012-02-04 Leo Liu <sdl.web@gmail.com>
6286
6287 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6288
6289 2012-02-04 Glenn Morris <rgm@gnu.org>
6290
6291 * image.el (image-extension-data): Add obsolete alias.
6292
6293 * isearch.el (isearch-update): Doc fix.
6294
6295 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6296
6297 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6298
6299 2012-02-03 Glenn Morris <rgm@gnu.org>
6300
6301 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6302 (image-animate-timeout): Doc fix.
6303
6304 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6305
6306 2012-02-02 Glenn Morris <rgm@gnu.org>
6307
6308 * server.el (server-auth-dir): Doc fix.
6309 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6310
6311 * subr.el (run-mode-hooks): Doc fix.
6312
6313 2012-02-02 Juri Linkov <juri@jurta.org>
6314
6315 * image-mode.el (image-toggle-display-image): Remove tautological
6316 `major-mode' from the `derived-mode-p' test.
6317
6318 2012-02-02 Kenichi Handa <handa@m17n.org>
6319
6320 * composite.el (compose-region): Cancel previous change.
6321
6322 2012-02-02 Kenichi Handa <handa@m17n.org>
6323
6324 * composite.el (compose-region, compose-string): Signal error for
6325 a null string component (Bug#6988).
6326
6327 2012-02-01 Chong Yidong <cyd@gnu.org>
6328
6329 * view.el (view-buffer-other-window, view-buffer-other-frame):
6330 Handle special modes like view-buffer (Bug#10650).
6331 (view-buffer): Simplify.
6332
6333 * frame.el (set-frame-font): Tweak meaning of third argument.
6334
6335 * dynamic-setting.el (font-setting-change-default-font):
6336 Use set-frame-font (Bug#9982).
6337
6338 2012-02-01 Glenn Morris <rgm@gnu.org>
6339
6340 * progmodes/compile.el (compilation-internal-error-properties):
6341 Respect compilation-first-column in the "*compilation*" buffer.
6342
6343 * emacs-lisp/easy-mmode.el (define-minor-mode):
6344 Relax :variable's test for a named function.
6345
6346 2012-01-31 Alan Mackenzie <acm@muc.de>
6347
6348 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6349 off by one error.
6350
6351 2012-01-31 Chong Yidong <cyd@gnu.org>
6352
6353 * frame.el (set-frame-font): New arg ALL-FRAMES.
6354
6355 * menu-bar.el (menu-set-font): Use set-frame-font.
6356
6357 * faces.el (face-spec-reset-face): Don't apply unspecified
6358 attribute values to the default face.
6359
6360 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * progmodes/cwarn.el (cwarn): Remove dead link.
6363 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6364 Remove * from defcustom docstrings.
6365 (turn-on-cwarn-mode): Make obsolete.
6366 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6367 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6368
6369 2012-01-31 Glenn Morris <rgm@gnu.org>
6370
6371 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6372 Fix :variable handling of mode a symbol not equal to modefun.
6373 Allow named functions to be used as the cdr of :variable.
6374
6375 2012-01-30 Glenn Morris <rgm@gnu.org>
6376
6377 * emacs-lisp/authors.el (authors-fixed-entries):
6378 Remove reference to deleted file rnewspost.el.
6379
6380 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6381
6382 * window.el (window-with-parameter): Remove unused variable `windows'.
6383 (window--side-check): Remove unused variable `code'.
6384 (window--resize-siblings): Remove unused variable `first'.
6385 (adjust-window-trailing-edge): Remove unused variable `failed'.
6386 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6387 Use `let', not `let*'.
6388 (balance-windows-2): Remove unused variable `found'.
6389 (window--state-put-2): Remove unused variable `splits'.
6390 (window-state-put): Remove unused variable `selected'.
6391 (same-window-p): Use `string-match-p'.
6392 (display-buffer-assq-regexp): Remove unused variable `value'.
6393 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6394 Mark argument ALIST as ignored.
6395 (pop-to-buffer): Remove unused variable `old-window'.
6396
6397 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6398
6399 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6400 and .lzma compressed files.
6401
6402 2012-01-29 Chong Yidong <cyd@gnu.org>
6403
6404 * frame.el (window-system-default-frame-alist): Doc fix.
6405
6406 * dynamic-setting.el (font-setting-change-default-font): Don't
6407 change the default face if SET-FONT argument is non-nil (Bug#9982).
6408
6409 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6410
6411 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6412
6413 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6414
6415 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6416 breakpoints in files outside current directory (Bug#6098).
6417
6418 2012-01-29 Chong Yidong <cyd@gnu.org>
6419
6420 * progmodes/python.el: Require ansi-color at top-level.
6421
6422 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6423 Define and use in Emacs Lisp mode (Bug#9360).
6424 (lisp-mode-abbrev-table): Add doc.
6425 (lisp-mode-variables): Don't set local-abbrev-table.
6426 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6427
6428 2012-01-28 Roland Winkler <winkler@gnu.org>
6429
6430 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6431
6432 2012-01-28 Roland Winkler <winkler@gnu.org>
6433
6434 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6435 (bibtex-set-dialect): Use it. Either set global values of
6436 dialect-dependent variables or bind these variables buffer-locally
6437 (Bug#10254).
6438 (bibtex-mode): Call bibtex-set-dialect via
6439 hack-local-variables-hook.
6440 (bibtex-dialect): Update docstring.
6441 Add safe-local-variable predicate.
6442 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6443 bibtex-set-dialect.
6444 (bibtex-mode-map): Define menu for each dialect.
6445 (bibtex-entry): Fix docstring.
6446
6447 2012-01-28 Chong Yidong <cyd@gnu.org>
6448
6449 * eshell/esh-arg.el (eshell-quote-argument): New function.
6450
6451 * eshell/esh-ext.el (eshell-invoke-batch-file):
6452 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6453 first arg to eshell-parse-command (Bug#10523).
6454
6455 2012-01-28 Drew Adams <drew.adams@oracle.com>
6456
6457 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6458 `default-directory' is non-nil.
6459
6460 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6461
6462 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6463 line that displays system-configuration-options. (Bug#9924)
6464
6465 2012-01-28 Drew Adams <drew.adams@oracle.com>
6466
6467 * descr-text.el (describe-char): Show information about POS, in
6468 addition to information about the character at POS. Improve and
6469 update the doc string. Change "code point" to "code point in
6470 charset", to avoid confusion with the character's Unicode code
6471 point shown above that. (Bug#10129)
6472
6473 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6474
6475 * descr-text.el (describe-char): Show the raw character, not only
6476 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6477 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6478 for the reasons.
6479
6480 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6481
6482 * emacs-lisp/package.el (package-install):
6483 Run package-refresh-contents if there is no archive yet (Bug#9798).
6484
6485 2012-01-28 Chong Yidong <cyd@gnu.org>
6486
6487 * emacs-lisp/package.el (package-maybe-load-descriptor):
6488 New function, split from package-maybe-load-descriptor.
6489 (package-maybe-load-descriptor): Use it.
6490 (package-download-transaction): Fully load required packages
6491 inside the loop, so that `require' calls work (Bug#10593).
6492 (package-install): No need to call package-initialize now.
6493
6494 2012-01-28 Chong Yidong <cyd@gnu.org>
6495
6496 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6497
6498 * tooltip.el (tooltip-mode): Doc fix.
6499 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6500
6501 * frame.el (set-cursor-color): Doc fix (Bug#352).
6502
6503 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6504 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6505
6506 * cus-edit.el (custom-buffer-create-internal): Fix search button
6507 action (Bug#10542).
6508 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6509
6510 2012-01-27 Eduard Wiebe <usenet@pusto.de>
6511
6512 * dired.el (dired-mark-files-regexp):
6513 Include any subdirectory components. (Bug#10445)
6514
6515 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6516
6517 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6518 Handle [host]:port syntax. (Bug#10533)
6519
6520 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
6521
6522 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6523
6524 2012-01-26 Glenn Morris <rgm@gnu.org>
6525
6526 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6527 * term.el (term-raw-escape-map): Use Control-X-prefix.
6528 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6529
6530 2012-01-25 Martin Rudalics <rudalics@gmx.at>
6531
6532 * window.el (window-state-get, window--state-get-1): Don't deal
6533 with fixed-sizeness of windows. Simplify code.
6534
6535 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6536
6537 * window.el (window--state-get-1, window--state-put-2):
6538 Don't save and restore the mark.
6539
6540 2012-01-25 Chong Yidong <cyd@gnu.org>
6541
6542 * custom.el (custom-variable-p): Doc fix.
6543
6544 2012-01-25 Glenn Morris <rgm@gnu.org>
6545
6546 * dired.el (dired-goto-file): Handle some of the more common
6547 characters that `ls -b' escapes. (Bug#10596)
6548
6549 * progmodes/compile.el (compilation-next-error-function):
6550 Respect compilation-first-column in the "*compilation*" buffer.
6551 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6552
6553 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6554
6555 2012-01-24 Glenn Morris <rgm@gnu.org>
6556
6557 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6558
6559 2012-01-24 Julien Danjou <julien@danjou.info>
6560
6561 * color.el (color-rgb-to-hsl): Fix value computing.
6562 (color-hue-to-rgb): New function.
6563 (color-hsl-to-rgb): New function.
6564 (color-clamp, color-saturate-hsl, color-saturate-name)
6565 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6566 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6567
6568 2012-01-24 Glenn Morris <rgm@gnu.org>
6569
6570 * vc/vc-rcs.el (vc-rcs-create-tag):
6571 * vc/vc-sccs.el (vc-sccs-create-tag):
6572 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6573
6574 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6575
6576 * eshell/esh-util.el (eshell-read-hosts-file):
6577 Skip comment lines. (Bug#10549)
6578
6579 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6580
6581 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
6582
6583 * subr.el (display-delayed-warnings): Doc fix.
6584 (collapse-delayed-warnings): New function to collapse identical
6585 adjacent warnings.
6586 (delayed-warnings-hook): Add it.
6587
6588 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
6589
6590 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6591
6592 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6593 (tramp-default-user-alist): Don't add "pscp".
6594 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6595 property "login-as", if set. (Bug#10530)
6596
6597 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
6598
6599 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6600 "plink1" and "psftp". (Bug#10530)
6601
6602 2012-01-21 Kenichi Handa <handa@m17n.org>
6603
6604 * international/mule-cmds.el (prefer-coding-system): Show a
6605 warning message if the default value of file-name-coding-system
6606 was not changed.
6607
6608 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6609
6610 * windmove.el (windmove-reference-loc):
6611 Fix windmove-reference-loc miscalculation.
6612
6613 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6614
6615 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6616 default unit.
6617
6618 2012-01-21 Glenn Morris <rgm@gnu.org>
6619
6620 * international/mule.el (auto-coding-alist): Add .tbz.
6621
6622 * files.el (local-enable-local-variables): Doc fix.
6623 (inhibit-local-variables-regexps): Rename from
6624 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6625 Doc fix. Add some extensions from auto-coding-alist.
6626 (inhibit-local-variables-suffixes):
6627 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6628 (inhibit-local-variables-p):
6629 New function, extracted from set-auto-mode-1.
6630 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6631 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6632 (hack-local-variables): Doc fix. Make the mode-only case
6633 respect enable-local-variables and friends.
6634 Respect inhibit-local-variables-regexps for file-locals, but
6635 not for directory-locals.
6636 (set-visited-file-name):
6637 Take account of inhibit-local-variables-regexps.
6638 Whether it applies may change as the file name is changed.
6639 * jka-cmpr-hook.el (jka-compr-install):
6640 * jka-compr.el (jka-compr-uninstall):
6641 Update for inhibit-first-line-modes-suffixes name change.
6642
6643 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6644
6645 * help-macro.el (make-help-screen): Temporarily restore original
6646 binding for minor-mode-map-alist (Bug#10454).
6647
6648 2012-01-19 Julien Danjou <julien@danjou.info>
6649
6650 * color.el (color-name-to-rgb): Use the white color to find the max
6651 color component value and return correctly computed values.
6652 (color-name-to-rgb): Add missing float conversion for max value.
6653
6654 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6655
6656 * window.el (window--state-get-1, window-state-get): Do not use
6657 special state value for window-persistent-parameters.
6658 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6659 (window--state-put-2): Reset all window parameters to nil before
6660 assigning values of persistent parameters.
6661
6662 2012-01-18 Alan Mackenzie <acm@muc.de>
6663
6664 Eliminate sluggishness and hangs in fontification of "semicolon
6665 deserts".
6666
6667 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6668 Change value 10000 -> 3000.
6669 (c-state-safe-place): Reformulate so it doesn't stack up an
6670 infinite number of wrong entries in c-state-nonlit-pos-cache.
6671 (c-determine-limit-get-base, c-determine-limit): New functions to
6672 determine backward search limits disregarding literals.
6673 (c-find-decl-spots): Amend commenting.
6674 (c-cheap-inside-bracelist-p): New function which detects "={".
6675
6676 * progmodes/cc-fonts.el
6677 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6678 backward search.
6679 (c-font-lock-declarations): Fix an occurrence of point being
6680 undefined. Check additionally for point being in a bracelist or
6681 near a macro invocation without a semicolon so as to avoid a
6682 fruitless time consuming search for a declarator. Give a more
6683 precise search limit for declarators using the new
6684 c-determine-limit.
6685
6686 2012-01-18 Glenn Morris <rgm@gnu.org>
6687
6688 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6689 (set-auto-mode): Doc fixes.
6690
6691 2012-01-17 Glenn Morris <rgm@gnu.org>
6692
6693 * isearch.el (search-nonincremental-instead): Fix doc typo.
6694
6695 * dired.el (dired-insert-directory): Handle newlines in directory name.
6696 (dired-build-subdir-alist): Unescape newlines in directory name.
6697
6698 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6699
6700 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6701 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6702 (tramp-action-terminal): Use it. (Bug#10530)
6703
6704 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6705
6706 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6707
6708 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6709
6710 * window.el (window-state-ignored-parameters): Remove variable.
6711 (window--state-get-1): Rename argument MARKERS to IGNORE.
6712 Handle persistent window parameters. Make copy of clone-of
6713 parameter only if requested. (Bug#10348)
6714 (window--state-put-2): Install a window parameter only if it has
6715 a non-nil value or an existing parameter shall be overwritten.
6716
6717 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6718
6719 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6720
6721 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6722
6723 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6724 don't pass the (nil) value of `upnode' to string-match.
6725
6726 2012-01-14 Chong Yidong <cyd@gnu.org>
6727
6728 * startup.el (command-line): Fix X resource class for cursorColor.
6729 Fix values recognized by the cursorBlink resource.
6730
6731 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6732
6733 * epg.el (epg--make-temp-file): Avoid permission race condition
6734 when running on old Emacs versions (bug#10403).
6735
6736 2012-01-14 Glenn Morris <rgm@gnu.org>
6737
6738 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6739
6740 2012-01-13 Alan Mackenzie <acm@muc.de>
6741
6742 Fix filling for when filladapt mode is enabled.
6743
6744 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6745 c-mask-paragraph, pass in `fill-paragraph' rather than
6746 `fill-region-as-paragraph'. (This is a reversion of a previous
6747 change.)
6748 * progmodes/cc-mode.el (c-basic-common-init):
6749 Make fill-paragraph-handle-comment buffer local and set it to nil.
6750
6751 2012-01-13 Glenn Morris <rgm@gnu.org>
6752
6753 * dired.el (dired-switches-escape-p): New function.
6754 (dired-insert-directory): Use dired-switches-escape-p.
6755 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6756
6757 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6758
6759 2012-01-12 Glenn Morris <rgm@gnu.org>
6760
6761 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6762 changes in adaptive-fill-regexp. (Bug#10276)
6763
6764 2012-01-11 Alan Mackenzie <acm@muc.de>
6765
6766 Fix Emacs bug #10463 - put `widen's around the critical spots.
6767
6768 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6769 widen around each invocation of c-state-pp-to-literal. Remove an
6770 unused let variable.
6771
6772 2012-01-11 Glenn Morris <rgm@gnu.org>
6773
6774 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
6775 Doc fix.
6776
6777 2012-01-10 Chong Yidong <cyd@gnu.org>
6778
6779 * net/network-stream.el (network-stream-open-starttls):
6780 Avoid emitting a confusing error message when the server gives a bad
6781 response to the capability command.
6782
6783 2012-01-10 Glenn Morris <rgm@gnu.org>
6784
6785 * mail/unrmail.el (unrmail): Tweak previous change.
6786
6787 2012-01-09 Chong Yidong <cyd@gnu.org>
6788
6789 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6790
6791 2012-01-08 Alan Mackenzie <acm@muc.de>
6792
6793 Optimise font locking in long enum definitions.
6794
6795 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6796 arm to a cond form to handle enums.
6797 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6798 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6799
6800 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6801
6802 * files.el (move-file-to-trash): Preserve default file modes on error.
6803 (Bug#10401)
6804
6805 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6806
6807 * faces.el (set-face-attribute): Clarify the meaning of the nil
6808 frame (bug#10294).
6809
6810 * subr.el (with-selected-frame): Mention that the selected frame
6811 is restored (bug#9980).
6812
6813 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6814 (bug#9759).
6815
6816 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6817 (password-read): Don't autoload unused function.
6818
6819 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
6820
6821 * progmodes/which-func.el (which-func-mode): Turn into a
6822 non-interactive function and mark as obsolete (bug#10428).
6823
6824 2012-01-06 Chong Yidong <cyd@gnu.org>
6825
6826 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6827 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6828 functions, along with 1 and -1.
6829
6830 2012-01-06 Eli Zaretskii <eliz@gnu.org>
6831
6832 * time.el (display-time-load-average)
6833 (display-time-default-load-average): Doc fixes. See the thread
6834 starting at
6835 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6836 for the details.
6837
6838 2012-01-06 Glenn Morris <rgm@gnu.org>
6839
6840 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6841 has no messages. (Bug#10377)
6842
6843 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6844 than Info-edit. (Bug#10385)
6845
6846 * time.el (display-time-load-average, display-time-next-load-average):
6847 Doc fixes.
6848
6849 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6850 local setting of buffer-read-only to the input buffer. (Bug#10419)
6851
6852 * calendar/calendar.el (calendar-mode):
6853 Locally set scroll-margin to 0. (Bug#10379)
6854
6855 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
6856
6857 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6858
6859 2012-01-05 Glenn Morris <rgm@gnu.org>
6860
6861 * eshell/em-unix.el (diff-no-select): Autoload it.
6862 (eshell/diff): Use diff-no-select. (Bug#10420)
6863
6864 2012-01-05 Chong Yidong <cyd@gnu.org>
6865
6866 * shell.el (shell-dynamic-complete-functions): Revert last change.
6867 (shell-command-completion-function): New function.
6868 (shell-completion-vars): Use it to implement
6869 shell-completion-execonly (Bug#10417).
6870
6871 * custom.el (enable-theme): Don't set custom-safe-themes.
6872
6873 * cus-theme.el (custom-theme-merge-theme):
6874 Ignore custom-enabled-themes and custom-safe-themes.
6875
6876 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6877
6878 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6879 first prompt in `sql-interacive-mode'.
6880 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6881 keywords.
6882 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6883 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6884 context of original buffer. Invoke `sql-login-hook'.
6885
6886 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6887
6888 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6889 letters in cite-prefix.
6890
6891 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6892
6893 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6894
6895 2012-01-03 Chong Yidong <cyd@gnu.org>
6896
6897 * shell.el (shell-dynamic-complete-functions):
6898 Put pcomplete-completions-at-point, so as to try
6899 comint-filename-completion first (Bug#10417).
6900
6901 2012-01-02 Richard Stallman <rms@gnu.org>
6902
6903 * battery.el (battery-status-function):
6904 Detect when to use battery-yeeloong-sysfs.
6905 (battery-echo-area-format): Add string for Yeeloong.
6906 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6907 (battery-yeeloong-sysfs): New function.
6908
6909 2012-01-02 Chong Yidong <cyd@gnu.org>
6910
6911 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6912 (dirtrack): Merge code for handling relative filenames in prompt
6913 from shell-dir-cookie-watcher.
6914 (dirtrack-debug-message): New arg to avoid excess format calls.
6915
6916 * shell.el (shell-dir-cookie-re): Variable deleted.
6917 (shell-dir-cookie-watcher): Function deleted.
6918 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6919 with dirtrack-mode.
6920
6921 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6922
6923 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6924 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6925 libgnutls-26.dll.
6926
6927 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6928
6929 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6930
6931 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6932
6933 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6934 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6935
6936 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6937
6938 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6939 also for alternative shells.
6940 (tramp-open-connection-setup-interactive-shell): Check, whether
6941 the shell is a busybox.
6942 (tramp-send-command): Don't suppress multiple prompts for
6943 busyboxes, it hurts.
6944
6945 2011-12-28 Chong Yidong <cyd@gnu.org>
6946
6947 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6948 (gdb-get-source-file): Move mode line update to
6949 gdb-get-source-file (Bug#10087).
6950
6951 2011-12-25 Chong Yidong <cyd@gnu.org>
6952
6953 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6954 gud-gdb-marker-filter without taking it as an argument.
6955 (gud-gdb-run-command-fetch-lines): Caller changed.
6956 (gud-gdb-completion-function): New variable.
6957 (gud-gdb-completion-at-point): Use it.
6958 (gud-gdb-completions-1): Split from gud-gdb-completions.
6959
6960 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6961 function as separate arguments.
6962 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6963 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6964 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6965 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6966 (gdb-stopped, def-gdb-auto-update-trigger)
6967 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6968 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6969 Callers changed.
6970 (gud-gdbmi-completions): New function.
6971 (gdb): Use it for generating the completion table.
6972
6973 2011-12-24 Alan Mackenzie <acm@muc.de>
6974
6975 Introduce a mechanism to widen the region used in context font
6976 locking. Use this to protect declarations from losing their contexts.
6977
6978 * progmodes/cc-langs.el (c-before-font-lock-functions):
6979 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6980 (c-before-context-fontification-functions): New defvar, a list of
6981 functions to be run just before context (etc.) font locking.
6982
6983 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6984 New, functionality extracted from
6985 c-neutralize-syntax-in-and-mark-CPP.
6986 (c-in-after-change-fontification): New variable.
6987 (c-after-change): Set c-in-after-change-fontification.
6988 (c-set-fl-decl-start): Rejig its interface, so it can be called
6989 from both after-change and context fontifying.
6990 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6991 New functions.
6992 (c-standard-font-lock-fontify-region-function): New variable.
6993 (c-font-lock-fontify-region): New function.
6994
6995 2011-12-24 Juri Linkov <juri@jurta.org>
6996
6997 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6998 (Bug#10348)
6999
7000 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7001
7002 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7003 existence of source file. (Bug#10325)
7004
7005 2011-12-23 Alan Mackenzie <acm@muc.de>
7006
7007 Fix unstable fontification inside templates.
7008
7009 * progmodes/cc-langs.el (c-before-font-lock-functions):
7010 Newly created from the singular version. The (c c++ objc) entry now
7011 additionally has c-set-fl-decl-start. The other languages (apart
7012 from AWK) have that as a single entry.
7013
7014 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7015 The functionality for "local" declarations has been extracted to
7016 c-set-fl-decl-start.
7017
7018 * progmodes/cc-mode.el (c-common-init, c-after-change):
7019 Changes due to pluralisation of c-before-font-lock-functions.
7020 (c-set-fl-decl-start): New function, extracted from
7021 c-font-lock-enclosing-decls and enhanced.
7022
7023 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7024
7025 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7026
7027 2011-12-22 Juri Linkov <juri@jurta.org>
7028
7029 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7030
7031 2011-12-22 Chong Yidong <cyd@gnu.org>
7032
7033 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7034
7035 2011-12-21 Drew Adams <drew.adams@oracle.com>
7036
7037 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7038
7039 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7040
7041 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7042
7043 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7044
7045 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7046 highlighting and support. Fix up comments for capitalization.
7047 (cfengine-mode-debug): New var.
7048 (cfengine3-mode): Change the modeline indicator to "CFE3".
7049 (cfengine3-font-lock-keywords): Improve defun highlighting.
7050 (cfengine2-actions): Rename from `cfengine-actions'.
7051 (cfengine2-font-lock-keywords): Rename from
7052 `cfengine-font-lock-keywords'.
7053 (cfengine2-imenu-expression): Rename from
7054 `cfengine-imenu-expression'.
7055 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7056 (cfengine2-beginning-of-defun): Rename from
7057 `cfengine-beginning-of-defun'.
7058 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7059 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7060 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7061 modeline indicator to "CFE2".
7062 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7063 (cfengine-mode-abbrevs): Mark obsolete.
7064
7065 2011-12-21 Chong Yidong <cyd@gnu.org>
7066
7067 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7068 filename argument.
7069
7070 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7071
7072 * window.el (window-normalize-buffer-to-display): Remove.
7073 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7074
7075 2011-12-19 Chong Yidong <cyd@gnu.org>
7076
7077 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7078 Don't signal an error in a predicate function; return non-nil.
7079 (vc-dir-mark-file): Move the error here.
7080 (vc-dir-mark-unmark): If acting on the region, keep going if one
7081 of the entries cannot be marked/unmarked.
7082 (vc-dir-mark-all-files): If current entry is a directory, mark
7083 only child files, as documented.
7084
7085 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7086
7087 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7088 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7089 addition.
7090
7091 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7092
7093 * term/ns-win.el (ns-get-selection-internal)
7094 (ns-store-selection-internal): Declare.
7095 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7096 Declare as obsolete.
7097 (ns-get-pasteboard, ns-paste-secondary):
7098 Use ns-get-selection-internal.
7099 (ns-set-pasteboard, ns-copy-including-secondary):
7100 Use ns-store-selection-internal.
7101
7102 2011-12-17 Chong Yidong <cyd@gnu.org>
7103
7104 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7105 (vc-deduce-fileset): Doc fix.
7106
7107 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7108
7109 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7110
7111 2011-12-13 Sam Steingold <sds@gnu.org>
7112
7113 * man.el (Man-getpage-in-background): When running under a
7114 window-system, ignore $MANWIDTH and $COLUMNS.
7115
7116 2011-12-15 Kenichi Handa <handa@m17n.org>
7117
7118 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7119 (setup-ethiopic-environment-internal): Comment out key-binding for
7120 ethio-toggle-punctuation.
7121
7122 2011-12-13 Alan Mackenzie <acm@muc.de>
7123
7124 Add the switch statement to AWK Mode.
7125
7126 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7127 "default" to the keywords regexp.
7128
7129 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7130 expression as the rest.
7131 (c-nonlabel-token-key): Allow string literals for AWK.
7132 Refactor for the other modes.
7133
7134 Large brace-block initialisation makes CC Mode slow: Fix.
7135 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7136 routines. Limit backward searching in c-font-lock-enclosing.decl.
7137
7138 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7139 pp-state and literal type in addition to the limits.
7140 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7141 (c-state-literal-at): Use the above new defun.
7142 (c-slow-in-literal, c-fast-in-literal): Remove.
7143 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7144
7145 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7146 being in a literal. Add a limit for backward searching.
7147
7148 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7149 c-slow-in-literal.
7150
7151 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7154
7155 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7156
7157 * window.el (delete-other-windows): Use correct frame in call to
7158 window-with-parameter.
7159
7160 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7161
7162 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7163 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7164 (makefile-gmake-statements, makefile-makepp-statements):
7165 Use it and add new makepp keywords.
7166 (makefile-makepp-font-lock-keywords): Add new patterns.
7167 (makefile-match-function-end): Match new [...] and [[...]].
7168
7169 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7170
7171 * ses.el (ses-call-printer-return, ses-cell-property-get)
7172 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7173 (ses-create-cell-variable, ses-reset-header-string)
7174 (ses-cell-set-formula, ses-repair-cell-reference-all)
7175 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7176 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7177 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7178 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7179 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7180 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7181 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7182 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7183 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7184 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7185 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7186 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7187
7188 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7189
7190 * ses.el: The overall change is to add cell renaming, that is
7191 setting fancy names for cell symbols other than name matching
7192 "\\`[A-Z]+[0-9]+\\'" regexp .
7193 (ses-create-cell-variable): New defun.
7194 (ses-relocate-formula): Relocate formulas only for cells the
7195 symbols of which are not renamed, i.e. symbols whose names do not
7196 match regexp "\\`[A-Z]+[0-9]+\\'".
7197 (ses-relocate-all): Relocate values only for cells the symbols of
7198 which are not renamed.
7199 (ses-load): Create cells variables as the (ses-cell ...) are read,
7200 in order to check row col consistency with cell symbol name only
7201 for cells that are not renamed.
7202 (ses-replace-name-in-formula): New defun.
7203 (ses-rename-cell): New defun.
7204
7205 2011-12-11 Chong Yidong <cyd@gnu.org>
7206
7207 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7208 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7209
7210 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7211
7212 * window.el (other-window): Fix docstring.
7213
7214 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7215
7216 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7217 `from' or `to' address before taking its substring.
7218 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7219 encoded name is chopped in the middle of the encoded string, and
7220 thus displayed encoded.
7221
7222 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7223
7224 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7225
7226 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7227
7228 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7229 to use texinfo-update-node and commands that call it if the
7230 Texinfo file uses @node lines without next/prev/up pointers.
7231 Correct outdated description about texinfo-master-menu.
7232 (texinfo-all-menus-update, texinfo-master-menu)
7233 (texinfo-update-node, texinfo-every-node-update)
7234 (texinfo-multiple-files-update): Doc fix. Warn against updating
7235 all the @node lines.
7236 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7237 argument is numeric. Explain better in the doc string what the
7238 function really does.
7239 (texinfo-insert-master-menu-list): Improve the error message
7240 displayed if there's no menu in the Top node.
7241 (Bug#2975) See also this thread:
7242 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7243
7244 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7245
7246 * speedbar.el (speedbar-supported-extension-expressions):
7247 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7248
7249 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7250
7251 * printing.el (pr-mode-alist):
7252 * simple.el (filter-buffer-substring-functions)
7253 (completion-list-insert-choice-function):
7254 * window.el (window-with-parameter, window-atom-root)
7255 (window-sides-slots, window-size-fixed, window-min-delta)
7256 (window-max-delta, window--resize-mini-window)
7257 (window--resize-child-windows-normal, window-tree)
7258 (delete-other-windows, quit-window, split-window)
7259 (display-buffer-record-window, special-display-buffer-names)
7260 (special-display-regexps, special-display-popup-frame)
7261 (same-window-p, split-window-sensibly)
7262 (display-buffer-overriding-action, display-buffer-alist)
7263 (display-buffer-base-action, display-buffer, switch-to-buffer)
7264 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7265 (fit-window-to-buffer, recenter-positions)
7266 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7267 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7268 and remove unneeded backslashes in docstrings.
7269
7270 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7273
7274 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7275 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7276 end in ".mk".
7277 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7278 when reading the makefile (bug#10116).
7279
7280 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7283 (bug#10116).
7284
7285 2011-12-06 Glenn Morris <rgm@gnu.org>
7286
7287 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7288
7289 2011-12-06 Chong Yidong <cyd@gnu.org>
7290
7291 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7292
7293 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7294
7295 * textmodes/table.el (table-shorten-cell): Fix typo.
7296
7297 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7298
7299 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7300
7301 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7302
7303 * descr-text.el (describe-char): Fix display of strong
7304 right-to-left characters and directional embeddings and overrides.
7305
7306 * simple.el (what-cursor-position): Fix display of codepoints of
7307 strong right-to-left characters.
7308
7309 2011-12-05 Chong Yidong <cyd@gnu.org>
7310
7311 * faces.el (read-color): Doc fix.
7312
7313 2011-12-05 Glenn Morris <rgm@gnu.org>
7314
7315 * align.el (align--set-marker): Add doc-string.
7316 Don't try to move something that is not a marker. (Bug#10216)
7317
7318 2011-12-04 Glenn Morris <rgm@gnu.org>
7319
7320 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7321 overly zealous deletion of trailing whitespace.
7322
7323 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7324
7325 * server.el (server-delete-client): On Windows, do not try to delete
7326 the only terminal.
7327 (server-process-filter): On Windows, treat requests for a tty frame as
7328 if they were for a GUI frame if the running server is in GUI mode.
7329
7330 2011-12-03 Glenn Morris <rgm@gnu.org>
7331
7332 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7333
7334 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * electric.el: Streamline electric-indent's hook.
7337 (electric-indent-chars): Revert to simple list.
7338 (electric-indent-functions): New var.
7339 (electric-indent-post-self-insert-function): Use it.
7340
7341 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7342 there's no inferior buffer (bug#10196).
7343 (prolog-consult-compile): Don't use toggle-read-only.
7344
7345 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7346
7347 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7348 interrupt. (Bug#10187)
7349
7350 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7353 (bug#9160).
7354
7355 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7356 (bug#10191).
7357
7358 2011-12-02 Juri Linkov <juri@jurta.org>
7359
7360 * info.el (Info-search): Display "end of manual" when Isearch
7361 reaches the end of single-file Info manual. (Bug#9918)
7362
7363 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7364
7365 * isearch.el (isearch-message-prefix): Run the input method part
7366 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7367
7368 2011-12-02 Juri Linkov <juri@jurta.org>
7369
7370 * isearch.el (isearch-occur): Use `word-search-regexp' for
7371 `isearch-word'.
7372 (isearch-search-and-update): Add condition for `isearch-word' and
7373 call `word-search-regexp'. (Bug#10145)
7374
7375 2011-12-01 Glenn Morris <rgm@gnu.org>
7376
7377 * eshell/em-hist.el (eshell-hist-initialize):
7378 Handle eshell-history-size nil and HISTSIZE set or unset.
7379 (eshell-history-file-name, eshell-history-size): Fix custom type.
7380
7381 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7384
7385 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7386
7387 * progmodes/verilog-mode.el (verilog-pretty-expr):
7388 Rework verilog-pretty-expr to handle new assignment operators in system
7389 verilog, such as += *= and the like.
7390 (verilog-assignment-operator-re): Regular expression to find the
7391 assigment operator in a verilog assignment.
7392 (verilog-assignment-operation-re): Regular expression to find an
7393 assignment statement for pretty-expr.
7394 (verilog-in-attribute-p): Query returns true if point is in an
7395 attribute context; used to skip these for expression line up from
7396 pretty-expr.
7397 (verilog-in-parameter-p): Query returns true if point is in an
7398 parameter definition context; used to skip these for expression
7399 line up from pretty-expr.
7400 (verilog-in-parenthesis-p): Query returns true if point is in a
7401 parenthetical expression, specifically ( ) but not [ ] or { };
7402 used by pretty-expr.
7403 (verilog-just-one-space): If there is no space, don't add one.
7404 (verilog-get-lineup-indent-2): Specifically skip just attribute
7405 contexts for expression lineup, rather than skipping all
7406 parenthetical expressions.
7407 (verilog-calculate-indent): Fix comment, and fix indent.
7408 (verilog-do-indent): Indent declarations in lists (suggested by
7409 Joachim Lechner).
7410 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7411 skeleton items.
7412 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7413 by Alain Mellan).
7414
7415 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7416
7417 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7418 parameters with embedded comments. Reported by Ray Stevens.
7419 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7420 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7421 Reported by Tim Holt.
7422 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7423 instantiated by upper module causing wrong expansion until AUTOed a
7424 second time. Reported by K C Buckenmaier.
7425 (verilog-diff-auto): Fix showing .* as a difference when
7426 `verilog-auto-star-save' off. Reported by Dan Dever.
7427 (verilog-auto-reset, verilog-read-always-signals)
7428 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7429 temporary signals in reset list if
7430 verilog-auto-reset-blocking-in-non is nil, and match assignment
7431 style to each signal's assignment type, bug381.
7432 Reported by Thomas Esposito.
7433 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7434 (verilog-uvm-statement-re): Support UVM indentation and
7435 highlighting, with old OVM keywords only.
7436 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7437 Support AUTOTIEOFF creating non-wire data types.
7438 Suggested by Jonathan Greenlaw.
7439 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7440 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7441 (verilog-inject-sense, verilog-read-inst-pins)
7442 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7443 Fix mismatching parenthesis inside commented out code when deleting
7444 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7445 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7446 non-numeric vector width. Reported by Alex Reed.
7447 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7448 detecting signals with parameter widths. Reported by Alex Reed.
7449 (verilog-auto-delete-trailing-whitespace):
7450 With `verilog-auto-delete-trailing-whitespace' remove trailing
7451 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7452 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7453 Fix verilog-scan-cache corruption when running user AUTO expansion
7454 hooks that call indentation routines.
7455 (verilog-simplify-range-expression): Fix typo ignoring lower case
7456 identifiers.
7457 (verilog-delete-auto): Fix delete-autos to also remove user created
7458 automatics, as long as they start with AUTO.
7459 (verilog-batch-diff-auto, verilog-diff-auto)
7460 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7461 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7462 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7463 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7464 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7465 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7466 is disabled and its cache will get corrupt, causing AUTOS not to
7467 expand. Instead use only -quick functions.
7468 (verilog-scan-region): Fix scanning over escaped quotes.
7469 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7470 (verilog-re-search-backward-quick)
7471 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7472 related functions now ignore strings, to fix misparsing of strings
7473 with magic comments embedded in them.
7474 (verilog-read-auto-template):
7475 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7476 Reported by Brad Dobbie.
7477 (verilog-read-auto-template):
7478 Fix 'verilog-auto-inst-template-numbers' with comments.
7479 Reported by Brad Dobbie.
7480 (verilog-auto-inst, verilog-auto-inst-param)
7481 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7482 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7483 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7484 debugging templates without merge conflicts, bug357.
7485 Reported by Brad Dobbie.
7486 (verilog-read-auto-template):
7487 Fix verilog-auto-inst-template-numbers with multiple templates.
7488 Reported by Brad Dobbie.
7489 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7490 abbrevs so user won't be asked to save.
7491 (verilog-read-auto-lisp-present): Fix to start at beginning of
7492 buffer in case called outside of verilog-auto.
7493 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7494 to "X-2". Reported by Matthew Myers.
7495 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7496 all inputs from module templates. Reported by Leith Johnson.
7497 (verilog-module-inside-filename-p): Fix locating programs as with
7498 modules.
7499 (verilog-auto-inst-port): Fix vl-width expressions when using
7500 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7501 (verilog-decls-get-regs, verilog-decls-get-signals,
7502 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7503 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7504 verilog-read-decls): Combine reg and wire structures into one var
7505 structure to represent SystemVerilog concepts.
7506 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7507 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7508 (verilog-auto-wire-type, verilog-insert-definition):
7509 Add verilog-auto-wire-type and AUTOLOGIC to support using
7510 SystemVerilog "logic" keyword instead of "wire"/"reg".
7511 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7512 to declares outputs that also have assignments (presumably in an
7513 ifdef or generate if so there's not a driver conflict).
7514 Reported by Matthew Myers.
7515 (verilog-auto-declare-nettype, verilog-insert-definition):
7516 Add verilog-auto-declare-nettype to fix declarations using
7517 `default_nettype none. Reported by Julian Gorfajn.
7518 (verilog-read-always-signals-recurse, verilog-read-decls)
7519 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7520 malformed end statement, bug325. Reported by Joshua Wise and
7521 Andrew Drake.
7522 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7523 (verilog-inst-comment-re): Fix not deleting Interfaced comment
7524 when expanding .* in interfaces, bug320.
7525 Reported by Pierre-David Pfister.
7526 (verilog-read-module-name): Fix import statements between module
7527 name and open parenthesis, bug317.
7528 Reported by Pierre-David Pfister.
7529 (verilog-simplify-range-expression): Fix simplification of
7530 multiplications inside AUTOWIRE connections, bug303.
7531 (verilog-auto-inst-port): Support parameter expansion in
7532 multidimensional arrays.
7533 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7534 after "assert property". Reported by Julian Gorfajn.
7535 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7536 with multiplication, bug303.
7537 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7538 Reported by Jan Frode Lonnum.
7539
7540 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
7541
7542 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7543 (hfy-shell-file-name, hfy-shell):
7544 * international/fontset.el (x-decompose-font-name): Fix typos.
7545
7546 2011-11-29 Ken Brown <kbrown@cornell.edu>
7547
7548 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7549 (gdb-version): Remove defvar.
7550 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7551 (gdb-gud-context-command, gdb-non-stop-handler)
7552 (gdb-current-context-command, gdb-stopped): Use it.
7553 (gdb-init-1): Enable pretty printing here.
7554 (gdb-non-stop-handler): Don't enable pretty-printing here.
7555 Check to see if the target supports non-stop mode; if not, turn off
7556 non-stop mode. Use the following.
7557 (gdb-check-target-async): New defun.
7558 (gud-watch, gdb-stopped): Fix whitespace.
7559 (gdb-get-source-file): Don't try to display the source file if
7560 `gdb-main-file' is nil.
7561
7562 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7563
7564 * align.el: Try to generate fewer markers (bug#10047).
7565 (align--set-marker): New macro.
7566 (align-region): Use it.
7567
7568 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7571
7572 2011-11-29 Chong Yidong <cyd@gnu.org>
7573
7574 * indent.el (indent-for-tab-command, indent-according-to-mode):
7575 Doc fix.
7576 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7577
7578 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
7579
7580 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7581 aware of remote file names. (Bug#10124)
7582
7583 2011-11-29 Chong Yidong <cyd@gnu.org>
7584
7585 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7586
7587 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * files.el (find-file): Don't use force-same-window (bug#10144).
7590 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7591 use pop-to-buffer if the selected window can't be used.
7592 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7593
7594 2011-11-28 Eli Zaretskii <eliz@gnu.org>
7595
7596 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7597 special-mode-map.
7598
7599 2011-11-28 Chong Yidong <cyd@gnu.org>
7600
7601 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7602
7603 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
7604
7605 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7606 gdb-get-source-file-list on gdb-create-source-file-list.
7607
7608 2011-11-26 Eli Zaretskii <eliz@gnu.org>
7609
7610 * whitespace.el (whitespace-newline): Use a different foreground
7611 color for 16-color light-background displays.
7612
7613 2011-11-24 Chong Yidong <cyd@gnu.org>
7614
7615 * window.el (display-buffer--special-action): Doc fix.
7616
7617 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
7618
7619 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7620 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7621 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7622 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7623 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7624 (avl-tree-stack-first):
7625 * emacs-lisp/cconv.el (cconv--analyse-use):
7626 * net/gnutls.el (gnutls-negotiate): Fix typos.
7627
7628 2011-11-24 Glenn Morris <rgm@gnu.org>
7629
7630 * lpr.el (lpr-windows-system, lpr-lp-system):
7631 * mail/binhex.el (binhex-begin-line):
7632 * progmodes/grep.el (grep-history, grep-find-history):
7633 * textmodes/flyspell.el:
7634 * vc/pcvs-defs.el (cvs-global-menu):
7635 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7636 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7637 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7638
7639 * net/tls.el: Fix case of "GnuTLS".
7640
7641 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7642
7643 * version.el (emacs-build-system): Give it a doc-string.
7644
7645 2011-11-24 Juri Linkov <juri@jurta.org>
7646
7647 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7648
7649 2011-11-24 Glenn Morris <rgm@gnu.org>
7650
7651 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7652 if called on a non-mime message just toggle the headers. (Bug#8006)
7653
7654 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7655
7656 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7657 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7658 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7659 (allout-rebullet-heading, allout-open-sibtopic)
7660 (allout-toggle-current-subtree-encryption)
7661 (allout-toggle-subtree-encryption, allout-encrypt-string)
7662 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7663 (allout-distinctive-bullets-string, allout-auto-activation):
7664 * window.el (window-normalize-buffer-to-display):
7665 * progmodes/verilog-mode.el (verilog-batch-indent):
7666 * textmodes/bibtex.el (bibtex-field-braces-opt)
7667 (bibtex-field-strings-opt):
7668 * vc/cvs-status.el (cvs-tree-merge):
7669 Fix typos.
7670
7671 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7672
7673 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7674 `non-essential' to t, in order to avoid remote connections.
7675
7676 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7677
7678 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7679 On MS-DOS and MS-Windows, compare with loaddefs.el
7680 case-insensitively.
7681
7682 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7683
7684 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7685
7686 2011-11-23 Glenn Morris <rgm@gnu.org>
7687
7688 * paths.el (rmail-file-name): Reformat the doc-string so that it
7689 is picked up.
7690
7691 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7692 (rmail-auto-file): Ignore case in the "special" field names,
7693 as mail-fetch-field does for all others.
7694
7695 * mail/rmail.el (rmail-forward):
7696 * mail/rmailkwd.el (rmail-set-label):
7697 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7698 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7699
7700 * mail/rmail.el (rmail-current-message): Doc fix.
7701
7702 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7703
7704 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7705
7706 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7707
7708 2011-11-22 Glenn Morris <rgm@gnu.org>
7709
7710 * mail/rmailmm.el (test-rmail-mime-handler)
7711 (test-rmail-mime-bulk-handler)
7712 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7713
7714 2011-11-21 Juri Linkov <juri@jurta.org>
7715
7716 * calc/calc.el (calc-read-key-sequence):
7717 Let-bind `input-method-function' to nil. (Bug#10018)
7718
7719 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7720
7721 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7722 Tell the caller that the next line needs recomputation, even
7723 though it doesn't start a sexp (bug#10094).
7724
7725 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7728
7729 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7732 Use force-same-window.
7733
7734 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7735
7736 * descr-text.el (describe-char-unicode-data):
7737 * json.el (json-string-escape):
7738 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7739 (Footnote-unicode, Footnote-style-p):
7740 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7741
7742 2011-11-20 Chong Yidong <cyd@gnu.org>
7743
7744 * window.el (replace-buffer-in-windows): Restore interactive spec.
7745
7746 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7747
7748 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7749
7750 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7751 (byte-compile-global-not-obsolete-vars): New var.
7752 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7753 Use it.
7754 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7755
7756 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7757
7758 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7759 * progmodes/pascal.el (electric-pascal-equal):
7760 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7761 * xml.el (xml-substitute-special): Fix typos.
7762
7763 2011-11-20 Glenn Morris <rgm@gnu.org>
7764
7765 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7766 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7767 Doc fixes.
7768 (rmail-decode-mime-charset): Mark as obsolete.
7769
7770 * mail/rmailsum.el (rmail-message-regexp-p-1):
7771 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7772 Before using mime functions, check they are set. (Bug#10077)
7773
7774 2011-11-19 Juri Linkov <juri@jurta.org>
7775
7776 * info.el (Info-finder-find-node): Use `package--builtins' instead
7777 of `package-alist'. Use node names formed by the pattern "Keyword "
7778 and the keyword name.
7779
7780 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7781
7782 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7783
7784 2011-11-19 Juri Linkov <juri@jurta.org>
7785
7786 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7787 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7788 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7789 `old-history', `old-history-forward'. Add let-binding
7790 `window-selected'. Remove calls to `kill-buffer',
7791 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7792 before calling `Info-find-node', so `Info-find-node-2' will reread
7793 the Info file. Restore window positions only when `window-selected'
7794 is non-nil.
7795
7796 2011-11-19 Juri Linkov <juri@jurta.org>
7797
7798 * isearch.el (isearch-lazy-highlight-new-loop):
7799 Remove condition `(not isearch-error)'. (Bug#9918)
7800
7801 * misearch.el (multi-isearch-search-fun): Add condition
7802 `(not bound)' to ignore lazy-highlighting search.
7803 Add the search-failed message "end of multi" when the end of
7804 multi-sequence is reached. Uncapitalize the search-failed
7805 message "Repeat for next buffer".
7806
7807 * info.el (Info-search): Add the search-failed message
7808 "end of the manual" when the end of the manual is reached
7809 in Isearch mode.
7810
7811 2011-11-19 Juri Linkov <juri@jurta.org>
7812
7813 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7814 Use non-destructive `remove' instead of `delete' because
7815 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7816 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7817
7818 2011-11-19 Juri Linkov <juri@jurta.org>
7819
7820 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7821 to nil instead of binding `search-ring' and `regexp-search-ring'.
7822 (Bug#9185)
7823
7824 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7825
7826 * simple.el (line-move): Force movement by logical lines for any
7827 hscrolled window, not only when auto-hscroll-mode is on.
7828 (line-move-visual): Update doc string to that effect. (Bug#10076)
7829
7830 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7831
7832 * language/european.el (macintosh): Define as alias for mac-roman.
7833
7834 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7835
7836 * mail/rmailmm.el (rmail-mime-display-header)
7837 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7838 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7839 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7840 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7841 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7842 of a raw aref.
7843 (rmail-mime-entity-segment): To get past the tagline, move forward
7844 2 more lines, to account for the 2 empty lines that precede and
7845 follow the line with the buttons.
7846 (rmail-mime-update-tagline): Move one more line, to get past the
7847 empty line that follows the buttons in the tagline. (Bug#9520)
7848
7849 2011-11-19 Martin Rudalics <rudalics@gmx.at>
7850
7851 * window.el (window-max-delta-1, window-min-delta-1)
7852 (window-min-size-1, window-state-get-1, window-state-put-1)
7853 (window-state-put-2): Use "window--" prefix.
7854
7855 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7858 (smie-warning-count): New var.
7859 (smie-set-prec2tab): Use it.
7860 (smie-bnf->prec2): Improve warnings. Add docstring.
7861 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7862 (smie-bnf--set-class): New function.
7863 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7864 corner case.
7865
7866 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7867 (compilation-error-properties, compilation-move-to-column):
7868 Handle compilation-first-column while in the target buffer.
7869
7870 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7871 Don't hardcode point-min==1.
7872
7873 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7874 (eshell-rewrite-for-command): Remove workaround.
7875 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7876 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7877 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7878
7879 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7880
7881 2011-11-17 Glenn Morris <rgm@gnu.org>
7882
7883 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7884 Ignore buffer-local generated-autoload-file if it is the same
7885 as the global value. (Bug#10049)
7886
7887 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7888
7889 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7890 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7891 (reftex-toc-previous-heading, reftex-toc-max-level)
7892 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7893 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7894 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7895 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7896 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7897 (reftex-toc-rename-label, reftex-toc-visit-location)
7898 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7899 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7900 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7901 leaving "*toc*" only for references to the buffer.
7902
7903 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7904
7905 * window.el (window-resize, delete-window, split-window):
7906 Replace window-splits by window-combination-resize.
7907 * cus-start.el (window-splits): Replace by window-combination-resize.
7908
7909 2011-11-17 Glenn Morris <rgm@gnu.org>
7910
7911 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7912 Make bash entry derive from sh entry, not shell entry.
7913
7914 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7915
7916 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7917 local file name.
7918
7919 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7920
7921 * menu-bar.el (menu-bar-file-menu):
7922 * printing.el (pr-ps-utility):
7923 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7924 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7925 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7926 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7927 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7928 (icalendar--convert-cyclic-to-ical)
7929 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7930 (icalendar--convert-ical-to-diary)
7931 (icalendar--convert-recurring-to-diary)
7932 (icalendar--convert-non-recurring-all-day-to-diary)
7933 (icalendar-import-format-sample):
7934 * progmodes/idlw-shell.el (idlwave-shell-mode):
7935 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7936 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7937 (vhdl-ps-print-init): Fix typos.
7938
7939 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7940
7941 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7942 FSF and collapse date sequence, obscure author/maintainer email address
7943 better, remove extra version line, track relocation of author's webpage.
7944
7945 * progmodes/python.el (python-pdbtrack-input-prompt)
7946 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7947 regular python pdb prompts. Adjustments shamelessly taken exactly as
7948 suggested in EmacsWiki page (tiny change):
7949 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7950
7951 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7952
7953 * expand.el (expand-pos, expand-index, expand-point):
7954 Remove redundant info from docstring.
7955 (expand-add-abbrevs): Doc fix.
7956 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7957 (expand-sample-perl-mode-expand-list): Fix typos.
7958
7959 * net/dbus.el (dbus-event-member-name):
7960 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7961 * term/pc-win.el (msdos-create-frame-with-faces):
7962 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7963
7964 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7965
7966 * window.el (split-window, window-state-get-1)
7967 (window-state-put-1, window-state-put-2): Rename occurrences of
7968 window-nest to window-combination-limit.
7969 * cus-start.el (window-nest): Rename to window-combination-limit.
7970
7971 2011-11-16 Chong Yidong <cyd@gnu.org>
7972
7973 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7974 regexp (Bug#10033).
7975
7976 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7979 `completing-read' will remove *Completions* and will preserve
7980 current-buffer for us.
7981 (tmm-add-prompt): Users of *Completions* will always (re)set its
7982 major mode.
7983 (tmm-old-comp-map): Remove.
7984
7985 2011-11-16 Glenn Morris <rgm@gnu.org>
7986
7987 * mail/rmailedit.el: Require rmailmm when compiling.
7988 (rmail-old-mime-state): New declaration.
7989 (rmail-edit-current-message): If editing a mime message,
7990 edit the "raw" message from the mbox buffer.
7991 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7992
7993 2011-11-15 Glenn Morris <rgm@gnu.org>
7994
7995 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7996 which wasn't being used. Add optional arg to force given state.
7997 (rmail-mime): Add optional arg to force given state.
7998
7999 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8000
8001 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8002 * frame.el (display-mm-dimensions-alist):
8003 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8004 (outline-move-subtree-down):
8005 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8006 (newsticker--treeview-do-get-node):
8007 * net/quickurl.el (quickurl-list-buffer-name):
8008 * progmodes/dcl-mode.el (dcl-mode):
8009 * progmodes/gdb-mi.el (gdb-mapcar*):
8010 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8011
8012 2011-11-15 Glenn Morris <rgm@gnu.org>
8013
8014 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8015 in a boolean sense, so just make it a boolean, and fix the doc.
8016 (rmail-show-mime-function, rmail-mime-feature)
8017 (rmail-require-mime-maybe): Doc fixes.
8018 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8019
8020 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8021
8022 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8023
8024 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8025 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8026 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8027 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8028
8029 2011-11-15 Glenn Morris <rgm@gnu.org>
8030
8031 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8032 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8033 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8034 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8035 (rmail-mime, rmail-show-mime): Doc fixes.
8036
8037 * term/ns-win.el (mode-line-frame-identification):
8038 Leave it alone. (Bug#10051)
8039
8040 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8041
8042 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8043 Handle empty buffers. (Bug#9978)
8044
8045 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8046
8047 * international/mule.el (define-charset):
8048 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8049 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8050 * progmodes/verilog-mode.el (verilog-backward-token):
8051 * textmodes/ispell.el (lookup-words):
8052 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8053
8054 2011-11-14 Glenn Morris <rgm@gnu.org>
8055
8056 * progmodes/executable.el
8057 (executable-make-buffer-file-executable-if-script-p):
8058 Handle file-modes returning nil.
8059
8060 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8061 message - not necessary, and causes problems. (Bug#9831)
8062
8063 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8064
8065 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8066
8067 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8068 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8069 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8070
8071 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8072
8073 * window.el (window-resize, delete-window): Use window-splits
8074 variable instead of function.
8075 (window-state-get-1, window-state-put-2, window-state-put):
8076 Don't deal with windows' splits status.
8077
8078 2011-11-12 Glenn Morris <rgm@gnu.org>
8079
8080 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8081 (apropos-documentation): Doc fixes.
8082
8083 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8084
8085 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8086 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8087
8088 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8089
8090 * electric.el (electric-indent-post-self-insert-function): Make it
8091 possible for a char to only indent in some circumstances.
8092 (electric-indent-mode): Simplify.
8093
8094 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8095
8096 * window.el (windows-with-parameter): Remove unused function.
8097 (windows-at-side): Rename to window-at-side-list.
8098 (window-check, window-atom-check, window-atom-check-1)
8099 (window-side-check, window-size-ignore, window-size-fixed-1)
8100 (window-in-direction-2): Prefix with "window--".
8101 (window-tree-1): Rename to window--subtree, fix doc-string.
8102
8103 2011-11-11 Glenn Morris <rgm@gnu.org>
8104
8105 * subr.el (eval-after-load): If FILE is already loaded,
8106 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8107
8108 2011-11-10 Glenn Morris <rgm@gnu.org>
8109
8110 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8111 Call svn via vc-svn-command rather than vc-do-command.
8112 (vc-svn-command): Add --non-interactive. (Bug#9993)
8113 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8114
8115 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8116 Add toggle-read-only. (Bug#7292)
8117 * files.el (toggle-read-only): Mention that it should only
8118 be used interactively. (Bug#10006)
8119
8120 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8123 Adjust regexp for OCaml warnings.
8124
8125 * electric.el (electric-pair-post-self-insert-function): Let user
8126 turn it off buffer-locally (bug#9932).
8127
8128 * progmodes/python.el (python-beginning-of-statement):
8129 Rewrite (bug#2703).
8130
8131 * progmodes/compile.el: Better handle TABs (bug#9749).
8132 (compilation-internal-error-properties)
8133 (compilation-next-error-function): Obey the target buffer's
8134 compilation-error-screen-columns.
8135
8136 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8137
8138 * progmodes/meta-mode.el: Remove obsolete comments.
8139 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8140 Fix typos in docstrings.
8141
8142 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8143
8144 * window.el (window-size-fixed-p): Rewrite doc-string.
8145 (window-resizable-p): Rename to window--resizable-p. Update callers.
8146 (window--resizable): New function. Make all callers of
8147 window-resizable call window--resizable instead.
8148 (window-resizable): Rewrite in terms of window--resizable.
8149
8150 2011-11-08 Glenn Morris <rgm@gnu.org>
8151
8152 * progmodes/delphi.el (delphi-mode-syntax-table):
8153 Let define-derived-mode define a proper syntax table. (Bug#9994)
8154
8155 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * window.el: Stay away from defsubst.
8158 (window-list-no-nils): Remove.
8159 (window-state-get-1, window-state-get): Use backquote instead.
8160
8161 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8162
8163 * emacs-lisp/find-func.el (find-function-read):
8164 Fix incorrect use of default argument in `completing-read'.
8165
8166 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8167
8168 * window.el (display-buffer-function, special-display-function):
8169 Mention display-buffer-record-window but do not mention
8170 help-setup parameter in doc-strings.
8171 (window-min-delta): Fix doc-string typo.
8172
8173 2011-11-08 Chong Yidong <cyd@gnu.org>
8174
8175 * window.el (window-total-height, window-total-width): Doc fix.
8176 (window-body-size): Move from C.
8177 (window-body-height, window-body-width): Move to C.
8178
8179 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8180
8181 * window.el: Make special-display like display-buffer-alist (bug#9532).
8182 (display-buffer--special-action): New function, morphed
8183 from display-buffer--special.
8184 (display-buffer): Use it to handle special-display-buffers at higher
8185 priority (just after display-buffer-alist).
8186 (display-buffer-fallback-action, display-buffer--other-frame-action)
8187 (pop-to-buffer-same-window): Remove display-buffer--special.
8188
8189 2011-11-07 Glenn Morris <rgm@gnu.org>
8190
8191 * calendar/cal-menu.el (cal-menu-set-date-title):
8192 Do nothing if not in a calendar. (Bug#9976)
8193
8194 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 * files.el (find-file): Always use selected-window.
8197
8198 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8199
8200 * window.el (window-combinations): Make WINDOW argument
8201 mandatory. Rewrite doc-string.
8202 (walk-window-subtree, window-atom-check, window-min-delta)
8203 (window-max-delta, window--resize-this-window)
8204 (window--resize-root-window-vertically, window-tree)
8205 (balance-windows, window-state-put): Rewrite doc-strings as to
8206 not mention the term "subwindow".
8207 (window--resize-subwindows-skip-p): Rename to
8208 window--resize-child-windows-skip-p.
8209 (window--resize-subwindows-normal): Rename to
8210 window--resize-child-windows-normal.
8211 (window--resize-subwindows): Rename to
8212 window--resize-child-windows.
8213 (window-or-subwindow-p): Rename to window--in-subtree-p.
8214
8215 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8216
8217 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8218 Ensure that mbox format messages end in two newlines (Bug#9974).
8219
8220 2011-11-06 Chong Yidong <cyd@gnu.org>
8221
8222 * window.el (window-combination-p): Function deleted; its
8223 side-effect is not used in any existing code.
8224 (window-combinations, window-combined-p): Call window-*-child
8225 directly.
8226
8227 2011-11-05 Chong Yidong <cyd@gnu.org>
8228
8229 * window.el (window-valid-p): Rename from window-any-p.
8230 (window-size-ignore, window-state-get): Callers changed.
8231 (window-normalize-window): Rename from window-normalize-any-window.
8232 New arg LIVE-ONLY, replacing window-normalize-live-window.
8233 (window-normalize-live-window): Delete.
8234 (window-combination-p, window-combined-p, window-combinations)
8235 (walk-window-subtree, window-atom-root, window-min-size)
8236 (window-sizable, window-sizable-p, window-size-fixed-p)
8237 (window-min-delta, window-max-delta, window-resizable)
8238 (window-resizable-p, window-full-height-p, window-full-width-p)
8239 (window-current-scroll-bars, window-point-1, set-window-point-1)
8240 (window-at-side-p, window-in-direction, window-resize)
8241 (adjust-window-trailing-edge, maximize-window, minimize-window)
8242 (window-deletable-p, delete-window, delete-other-windows)
8243 (record-window-buffer, unrecord-window-buffer)
8244 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8245 (quit-window, split-window, window-state-put)
8246 (set-window-text-height, fit-window-to-buffer)
8247 (shrink-window-if-larger-than-buffer): Callers changed.
8248
8249 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8250
8251 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8252 rfc2047-decode-string.
8253 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8254 warnings.
8255
8256 * window.el (window-body-height, window-body-width): Mention in
8257 the doc string that the return values are in frame's canonical
8258 units. (Bug#9949)
8259
8260 2011-11-03 Alan Mackenzie <acm@muc.de>
8261
8262 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8263 change in cc-engine.el.
8264
8265 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8268
8269 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8270
8271 * window.el (quit-window): Call unrecord-window-buffer after
8272 showing another buffer in the window. (Bug#9937)
8273 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8274
8275 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8276
8277 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8278 Accept status with more than 9 shelves. (Bug#9935)
8279 Reported by Colin D Bennett <colin@gibibit.com>.
8280
8281 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8282
8283 * help.el (with-help-window): Don't reference
8284 temp-buffer-show-specifiers in doc-string.
8285
8286 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8287
8288 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8289 menu-item.
8290
8291 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8292
8293 * whitespace.el: New version 13.2.2.
8294 (whitespace-newline-mode): Disable properly. Reported by Sarah
8295 <EmacsWiki>.
8296
8297 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8298
8299 * net/newst-treeview.el: Remove "Time-stamp".
8300 (newsticker--group-manage-orphan-feeds): Do not call
8301 newsticker--treeview-tree-update.
8302 (newsticker-treeview-update, newsticker-treeview):
8303 Call newsticker--treeview-tree-update if necessary.
8304
8305 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8306
8307 * window.el (window-iso-combination-p, window-iso-combined-p)
8308 (window-iso-combinations): Remove "iso-" infix.
8309 Suggested by Chong Yidong.
8310 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8311 (window-max-delta-1, window-resize, window--resize-siblings)
8312 (window--resize-this-window, adjust-window-trailing-edge)
8313 (split-window, balance-windows-1)
8314 (shrink-window-if-larger-than-buffer):
8315 * calendar/calendar.el (calendar-generate-window):
8316 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8317
8318 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8319
8320 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8321 in place (bug#9907).
8322 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8323 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8324 (eshell-structure-basic-command, eshell-rewrite-while-command)
8325 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8326 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8327 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8328 (eshell-do-pipelines-synchronously, eshell-eval-command):
8329 Use backquotes and prefer setq to set.
8330 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8331 (eshell-macrop): Use functionp.
8332 (eshell-do-eval): Handle multiple expressions in `while' body.
8333
8334 2011-10-30 Chong Yidong <cyd@gnu.org>
8335
8336 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8337 instead of set-mark (Bug#9810).
8338
8339 2011-10-30 Chong Yidong <cyd@gnu.org>
8340
8341 * window.el (split-window-below, split-window-right): Rename from
8342 split-window-above-each-other and split-window-side-by-side
8343 respectively. All callers changed.
8344 (split-window-sensibly, split-window-sensibly): Use them.
8345 (split-window-keep-point): Doc fix.
8346
8347 * isearch.el: Add isearch-scroll property to split-window-below
8348 and split-window-right.
8349
8350 * follow.el (follow-mode):
8351 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8352 * progmodes/ada-xref.el (ada-gdb-application):
8353 * emulation/vip.el (vip-buffer-in-two-windows):
8354 * image-dired.el (image-dired-dired-with-window-configuration):
8355 * dired-x.el (dired-do-find-marked-files):
8356 * dired.el (dired-pop-to-buffer):
8357 * bs.el (bs--show-with-configuration):
8358 * vc/emerge.el (emerge-setup-windows):
8359 * textmodes/two-column.el (2C-two-columns):
8360 * textmodes/reftex-toc.el (reftex-toc):
8361 * progmodes/gdb-mi.el (gdb-setup-windows):
8362 * progmodes/fortran.el (fortran-window-create):
8363 * net/newst-treeview.el (newsticker--treeview-window-init):
8364 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8365 * emulation/tpu-edt.el (tpu-gold-map):
8366 * emulation/crisp.el (crisp-mode-map):
8367 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8368
8369 2011-10-29 Chong Yidong <cyd@gnu.org>
8370
8371 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8372
8373 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8374
8375 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8376 forged Ispell output (Bug#7904).
8377
8378 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8379
8380 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * doc-view.el: Avoid ugly errors about not finding nil.
8383 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8384 (doc-view-dvipdf-program, doc-view-unoconv-program)
8385 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8386 Avoid nil or absolute file name as default value.
8387 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8388
8389 2011-10-28 Alan Mackenzie <acm@muc.de>
8390
8391 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8392
8393 2011-10-28 Alan Mackenzie <acm@muc.de>
8394
8395 Amend the handling of c-beginning/end-of-defun in nested declaration
8396 scopes.
8397
8398 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8399 cc-langs.el. Change it to a defcustom.
8400
8401 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8402 cc-vars.el.
8403
8404 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8405 Prevent "class foo : bar" being spuriously recognized as a label.
8406
8407 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8408 Add parameter `inclusive' (to include enclosing braces in the region).
8409 (c-widen-to-enclosing-decl-scope): New function.
8410 (c-while-widening-to-decl-block): New macro.
8411 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8412 outward for defun boundaries, and correspondingly change symbol
8413 `respect-enclosure' to `go-outward'.
8414 (c-declaration-limits): Change algorithm to report only the "innermost"
8415 defun's boundaries.
8416
8417 2011-10-28 Deniz Dogan <deniz@dogan.se>
8418
8419 * net/rcirc.el (rcirc-mode): Use hard newlines.
8420
8421 2011-10-28 Alan Mackenzie <acm@muc.de>
8422
8423 Amend to indent and fontify macros "which include their own semicolon"
8424 correctly, using the "virtual semicolon" mechanism.
8425
8426 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8427
8428 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8429 Recode to scan one line at a time rather than having \n and \r
8430 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8431 (c-forward-label): Amend for virtual semicolons.
8432 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8433
8434 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8435 of the new C macros.
8436
8437 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8438 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8439 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8440 (c-opt-cpp-macro-define): Make into a full language variable.
8441 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8442 AWK Mode (including \n, \r) removed, no longer needed.
8443
8444 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8445 Invoke c-make-macro-with-semi-re.
8446
8447 * progmodes/cc-vars.el (c-macro-with-semi-re):
8448 (c-macro-names-with-semicolon): New variables.
8449 (c-make-macro-with-semi-re): New function.
8450
8451 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8453 * vc/log-edit.el: Fill empty field rather than adding new one.
8454 (log-edit-add-field): New function.
8455 (log-edit-insert-changelog): Use it.
8456
8457 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8458
8459 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8460
8461 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8464 (gdb--check-interpreter): New function.
8465 (gdb): Use it.
8466
8467 2011-10-27 Glenn Morris <rgm@gnu.org>
8468
8469 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8470 (least-positive-float, least-negative-float)
8471 (least-positive-normalized-float, least-negative-normalized-float)
8472 (float-epsilon, float-negative-epsilon):
8473 Remove unnecessary declarations.
8474
8475 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8476 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8477 (least-positive-float, least-negative-float)
8478 (least-positive-normalized-float, least-negative-normalized-float)
8479 (float-epsilon, float-negative-epsilon): Add doc-strings,
8480 based on those in cl.texi.
8481
8482 * files.el (set-visited-file-name): If the major-mode changed,
8483 reload the local variables. (Bug#9796)
8484
8485 2011-10-27 Chong Yidong <cyd@gnu.org>
8486
8487 * subr.el (change-major-mode-after-body-hook): New hook.
8488 (run-mode-hooks): Run it.
8489
8490 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8491 Use change-major-mode-before-body-hook.
8492
8493 * simple.el (fundamental-mode):
8494 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8495 change introducing fundamental-mode-hook.
8496
8497 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
8498
8499 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8500
8501 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
8502
8503 * ido.el (ido-file-name-all-completions-1): Do not require
8504 tramp.el explicitly. (Bug#7583)
8505
8506 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * progmodes/octave-mod.el:
8509 * progmodes/octave-inf.el: Update maintainer.
8510
8511 2011-10-26 Chong Yidong <cyd@gnu.org>
8512
8513 * subr.el (with-wrapper-hook): Rewrite doc.
8514
8515 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
8516
8517 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8518 filenames "/method:foo:". (Bug#9793)
8519
8520 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8523 (bug#9865).
8524
8525 2011-10-24 Glenn Morris <rgm@gnu.org>
8526
8527 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8528
8529 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
8530
8531 * notifications.el: Add the requirement of a running D-Bus session
8532 bus to the Commentary.
8533
8534 2011-10-24 Juri Linkov <juri@jurta.org>
8535
8536 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8537 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8538 (Bug#9364)
8539
8540 2011-10-24 Juri Linkov <juri@jurta.org>
8541
8542 * info.el (Info-following-node-name-re): Add newline to the list
8543 of allowed characters for leading space. (Bug#9824)
8544
8545 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * progmodes/octave-inf.el (inferior-octave-mode-map):
8548 Fix C-c C-h binding.
8549 * progmodes/octave-mod.el (octave-help): Remove.
8550
8551 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
8552
8553 Sync with Tramp 2.2.3.
8554
8555 * net/tramp-cache.el (top): Pacify byte-compiler using
8556 `init-file-user' and `site-run-file'.
8557
8558 * net/trampver.el: Update release number.
8559
8560 2011-10-23 Chong Yidong <cyd@gnu.org>
8561
8562 * files.el (toggle-read-only): Remove obsolete comment about
8563 version control.
8564
8565 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8566 for toggle-read-only. Note that this hasn't called vc-next-action
8567 since 2008-05-02, though it wasn't documented at the time.
8568
8569 * vc/ediff-init.el (ediff-toggle-read-only-function):
8570 Use toggle-read-only.
8571
8572 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8573
8574 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8575 of c-parse-state.
8576
8577 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8578 correct faulty logical expression.
8579 (c-parse-state-state, c-record-parse-state-state):
8580 (c-replay-parse-state-state): New defvar/defuns.
8581 (c-debug-parse-state): Use new functions.
8582
8583 2011-10-22 Martin Rudalics <rudalics@gmx.at>
8584
8585 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8586 last fix. Use window-in-direction correctly.
8587
8588 2011-10-21 Chong Yidong <cyd@gnu.org>
8589
8590 * progmodes/idlwave.el (idlwave-mode):
8591 * progmodes/vera-mode.el (vera-mode): No need to set
8592 require-final-newline; that's done in prog-mode.
8593 Suggested by Stefan Monnier.
8594
8595 2011-10-21 Martin Rudalics <rudalics@gmx.at>
8596
8597 * mouse.el (mouse-drag-window-above)
8598 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8599 (mouse-drag-mode-line-1, mouse-drag-header-line)
8600 (mouse-drag-vertical-line-rightward-window): Remove.
8601 (mouse-drag-line): New function.
8602 (mouse-drag-mode-line, mouse-drag-header-line)
8603 (mouse-drag-vertical-line): Call mouse-drag-line.
8604 * window.el (window-at-side-p, windows-at-side): New functions.
8605
8606 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
8607
8608 * tar-mode.el (tar-grind-file-mode):
8609 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8610
8611 2011-10-21 Chong Yidong <cyd@gnu.org>
8612
8613 * progmodes/idlwave.el (idlwave-mode):
8614 * progmodes/vera-mode.el (vera-mode):
8615 Use mode-require-final-newline.
8616
8617 2011-10-20 Glenn Morris <rgm@gnu.org>
8618
8619 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
8620
8621 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8622
8623 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8624
8625 2011-10-20 Chong Yidong <cyd@gnu.org>
8626
8627 * emulation/cua-base.el (cua-mode):
8628 * mail/footnote.el (footnote-mode):
8629 * mail/mailabbrev.el (mail-abbrevs-mode):
8630 * net/xesam.el (xesam-minor-mode):
8631 * progmodes/bug-reference.el (bug-reference-mode):
8632 * progmodes/cap-words.el (capitalized-words-mode):
8633 * progmodes/compile.el (compilation-minor-mode)
8634 (compilation-shell-minor-mode):
8635 * progmodes/gud.el (gud-tooltip-mode):
8636 * progmodes/hideif.el (hide-ifdef-mode):
8637 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8638 * progmodes/subword.el (subword-mode):
8639 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8640 * progmodes/which-func.el (which-function-mode):
8641 * term/tvi970.el (tvi970-set-keypad-mode):
8642 * term/vt100.el (vt100-wide-mode):
8643 * textmodes/flyspell.el (flyspell-mode):
8644 * textmodes/ispell.el (ispell-minor-mode):
8645 * textmodes/nroff-mode.el (nroff-electric-mode):
8646 * textmodes/paragraphs.el (use-hard-newlines):
8647 * textmodes/refill.el (refill-mode):
8648 * textmodes/reftex.el (reftex-mode):
8649 * textmodes/rst.el (rst-minor-mode):
8650 * textmodes/sgml-mode.el (html-autoview-mode)
8651 (sgml-electric-tag-pair-mode):
8652 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8653 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8654 * emulation/crisp.el (crisp-mode):
8655 * emacs-lisp/eldoc.el (eldoc-mode):
8656 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8657 minor mode behavior.
8658
8659 2011-10-19 Juri Linkov <juri@jurta.org>
8660
8661 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8662 the list of hard-coded chars with escape-glyph face.
8663
8664 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8667
8668 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8669
8670 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8671 running process.
8672
8673 2011-10-19 Glenn Morris <rgm@gnu.org>
8674
8675 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8676 Ignore ignored files. (Bug#9726)
8677
8678 2011-10-19 Chong Yidong <cyd@gnu.org>
8679
8680 Doc fix for minor modes, stating that an omitted argument enables
8681 the mode unconditionally when called from Lisp.
8682
8683 * abbrev.el (abbrev-mode):
8684 * allout.el (allout-mode):
8685 * autoinsert.el (auto-insert-mode):
8686 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8687 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8688 (global-auto-revert-mode):
8689 * battery.el (display-battery-mode):
8690 * composite.el (global-auto-composition-mode)
8691 (auto-composition-mode):
8692 * delsel.el (delete-selection-mode):
8693 * desktop.el (desktop-save-mode):
8694 * dired-x.el (dired-omit-mode):
8695 * dirtrack.el (dirtrack-mode):
8696 * doc-view.el (doc-view-minor-mode):
8697 * double.el (double-mode):
8698 * electric.el (electric-indent-mode, electric-pair-mode):
8699 * emacs-lock.el (emacs-lock-mode):
8700 * epa-hook.el (auto-encryption-mode):
8701 * follow.el (follow-mode):
8702 * font-core.el (font-lock-mode):
8703 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8704 * help.el (temp-buffer-resize-mode):
8705 * hilit-chg.el (highlight-changes-mode)
8706 (highlight-changes-visible-mode):
8707 * hi-lock.el (hi-lock-mode):
8708 * hl-line.el (hl-line-mode, global-hl-line-mode):
8709 * icomplete.el (icomplete-mode):
8710 * ido.el (ido-everywhere):
8711 * image-file.el (auto-image-file-mode):
8712 * image-mode.el (image-minor-mode):
8713 * iswitchb.el (iswitchb-mode):
8714 * jka-cmpr-hook.el (auto-compression-mode):
8715 * linum.el (linum-mode):
8716 * longlines.el (longlines-mode):
8717 * master.el (master-mode):
8718 * mb-depth.el (minibuffer-depth-indicate-mode):
8719 * menu-bar.el (menu-bar-mode):
8720 * minibuf-eldef.el (minibuffer-electric-default-mode):
8721 * mouse-sel.el (mouse-sel-mode):
8722 * msb.el (msb-mode):
8723 * mwheel.el (mouse-wheel-mode):
8724 * outline.el (outline-minor-mode):
8725 * paren.el (show-paren-mode):
8726 * recentf.el (recentf-mode):
8727 * reveal.el (reveal-mode, global-reveal-mode):
8728 * rfn-eshadow.el (file-name-shadow-mode):
8729 * ruler-mode.el (ruler-mode):
8730 * savehist.el (savehist-mode):
8731 * scroll-all.el (scroll-all-mode):
8732 * scroll-bar.el (scroll-bar-mode):
8733 * server.el (server-mode):
8734 * shell.el (shell-dirtrack-mode):
8735 * simple.el (auto-fill-mode, transient-mark-mode)
8736 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8737 (line-number-mode, column-number-mode, size-indication-mode)
8738 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8739 * strokes.el (strokes-mode):
8740 * time.el (display-time-mode):
8741 * t-mouse.el (gpm-mouse-mode):
8742 * tool-bar.el (tool-bar-mode):
8743 * tooltip.el (tooltip-mode):
8744 * type-break.el (type-break-mode-line-message-mode)
8745 (type-break-query-mode):
8746 * view.el (view-mode):
8747 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8748 (global-whitespace-mode, global-whitespace-newline-mode):
8749 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8750
8751 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8752 Fix autogenerated docstring.
8753
8754 2011-10-19 Juri Linkov <juri@jurta.org>
8755
8756 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8757 by checking environment variables "DESKTOP_SESSION" and
8758 "XDG_CURRENT_DESKTOP". (Bug#9779)
8759
8760 2011-10-19 Juri Linkov <juri@jurta.org>
8761
8762 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8763 (browse-url-chromium-program, browse-url-chromium-arguments):
8764 New defcustoms.
8765 (browse-url-default-browser): Check for `browse-url-chromium' and
8766 call `browse-url-chromium-program'.
8767 (browse-url-chromium): New command. (Bug#9779)
8768
8769 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
8770
8771 * facemenu.el (list-colors-duplicates): On Windows, detect more
8772 duplicates by assuming that only colors matching "^System" are
8773 special "system colors". (Bug#9722)
8774
8775 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8778 to distinguish the author from the committer.
8779
8780 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
8781
8782 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8783
8784 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8785
8786 * international/mule.el (sgml-html-meta-auto-coding-function):
8787 Add support for detecting encoding in HTML5 specified only as
8788 <meta charset="UTF-8">. Implementation just makes http-equiv and
8789 content-type parts from HTML4 encoding string optional. (Bug#9716)
8790
8791 2011-10-18 Glenn Morris <rgm@gnu.org>
8792
8793 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8794
8795 2011-10-18 Chong Yidong <cyd@gnu.org>
8796
8797 * faces.el (cursor): Doc fix.
8798
8799 2011-10-17 Chong Yidong <cyd@gnu.org>
8800
8801 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8802
8803 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
8804
8805 * dirtrack.el (dirtrack): Support shell buffers with path
8806 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8807
8808 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8809
8810 * json.el: Bump version to 1.3 and note change in History.
8811 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8812
8813 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * comint.el (comint-insert-input, comint-send-input)
8816 (comint-get-old-input-default, comint-backward-matching-input)
8817 (comint-next-prompt): Use nil instead of `input' for field property of
8818 past user input (bug#114).
8819
8820 * minibuffer.el (completion--replace): Inherit surrounding properties
8821 (bug#114).
8822 (minibuffer-complete-and-exit): Use it.
8823
8824 * comint.el (comint--table-subvert): Quote the all-completions output
8825 (bug#9160).
8826
8827 2011-10-17 Martin Rudalics <rudalics@gmx.at>
8828
8829 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8830
8831 * menu-bar.el (menu-bar-file-menu): Add entry for making new
8832 window on right of selected. (Bug#9350) Reword other window
8833 entries and separate them from frame entries.
8834
8835 2011-10-15 Glenn Morris <rgm@gnu.org>
8836
8837 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8838 Doc fixes.
8839
8840 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
8841
8842 * net/network-stream.el (network-stream-open-starttls):
8843 Improve detection of failure due to lack of TLS support.
8844
8845 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8846 putting the input text in front and in bold.
8847
8848 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8851
8852 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8853 empty buffer.
8854
8855 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8856 unread-command-events rather than pushing yet-another event.
8857
8858 2011-10-14 Eli Zaretskii <eliz@gnu.org>
8859
8860 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8861 the explanation of the possible choices. Make the options passed
8862 to completing-read shorter.
8863
8864 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8865
8866 * textmodes/flyspell.el (flyspell-large-region): Make sure
8867 extended character mode is used if defined (Bug#1339).
8868
8869 2011-10-13 Eli Zaretskii <eliz@gnu.org>
8870
8871 * simple.el (what-cursor-position): Fix the display of the
8872 character info for LRE, LRO, RLE, and RLO characters by appending
8873 an invisible PDF.
8874
8875 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8878 even in case of error; add debug spec; simplify data flow.
8879 (with-timeout-handler): Remove.
8880
8881 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8882
8883 Fix Bug#6019, Bug#9315.
8884
8885 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8886 complete `buffer-file-name', the local file name part could look
8887 remotely (for example on VMS).
8888
8889 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8890 `tramp-run-real-handler'.
8891 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8892 already quoted by '"'.
8893
8894 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8895 Let `file-name-handler-alist' be nil, the local file name part
8896 could look remotely (for example on VMS).
8897
8898 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8901 from here...
8902 (flyspell-post-command-hook): ...to here.
8903
8904 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8905
8906 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8907 if not needed.
8908 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8909 using completion. Protect against "slow" callers.
8910 Remove the "message hack".
8911
8912 2011-10-11 Juri Linkov <juri@jurta.org>
8913
8914 * isearch.el (isearch-lazy-highlight-word): New variable.
8915 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8916 Use it. (Bug#9727)
8917
8918 2011-10-11 Glenn Morris <rgm@gnu.org>
8919
8920 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8921 like f90-previous-statement does.
8922
8923 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8924
8925 * eshell/eshell.el (eshell-command): History should be saved
8926 only in interactive use, to avoid error.
8927
8928 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8929
8930 * minibuffer.el (completion-file-name-table): Fix last change,
8931 i.e. ignore normal errors but not the other ones.
8932
8933 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8934
8935 * window.el (special-display-buffer-names)
8936 (special-display-regexps): Remove some remnants of earlier
8937 changes from doc-strings.
8938 (quit-windows-on): New function.
8939
8940 * vc/vc.el (vc-revert, vc-rollback):
8941 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8942 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8943 (Bug#6183) (Bug#7074) (Bug#7447)
8944
8945 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8946
8947 * window.el (frame-auto-hide-function): Add version tag.
8948 (Bug#9699)
8949
8950 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8953 condition.
8954
8955 2011-10-09 Leo Liu <sdl.web@gmail.com>
8956
8957 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8958 (Bug#9701)
8959
8960 2011-10-08 Glenn Morris <rgm@gnu.org>
8961
8962 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8963 before the first code statement zero indent. (Bug#9690)
8964
8965 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8966
8967 * simple.el (count-words-region): Always count in the region.
8968 Report the number of lines and characters too.
8969 (count-words): New command, which counts in the buffer if the
8970 region is inactive, as count-words-region used to.
8971 (count-words--message): New function. Handle plurals.
8972 (count-lines-region): Make it an alias for count-words-region.
8973
8974 * bindings.el (esc-map): Replace count-lines-region with
8975 count-words-region.
8976
8977 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8978
8979 * window.el (window--delete): Delete dedicated frame
8980 unconditionally when argument KILL is non-nil. (Bug#9699)
8981 (switch-to-buffer): Fix doc-string typo.
8982
8983 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8984
8985 * eshell/eshell.el (eshell-command): Avoid using hooks.
8986
8987 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8988
8989 * bindings.el ([M-left],[M-right]): Bind to left-word and
8990 right-word respectively.
8991
8992 2011-10-07 Glenn Morris <rgm@gnu.org>
8993
8994 * cus-start.el (debug-on-quit): Fix custom type.
8995
8996 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8997
8998 * subr.el (define-key-after): Clarify that the function is not
8999 useful for non-menu keymaps.
9000
9001 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9002
9003 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9004
9005 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9006 in current minibuffer (Fix bug with recursive minibuffers).
9007
9008 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9009
9010 * progmodes/gdb-mi.el (gdb): Doc fix.
9011
9012 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9013
9014 * window.el (frame-auto-hide-function): New option replacing
9015 frame-auto-delete. Suggested by Stefan Monnier.
9016 (window--delete): Call frame-auto-hide-function instead of
9017 investigating frame-auto-delete.
9018 (window-point-1, set-window-point-1): New functions.
9019 (window-in-direction, record-window-buffer, window-state-get-1)
9020 (display-buffer-record-window): Use window-point-1 instead of
9021 window-point.
9022 (set-window-buffer-start-and-point): Use set-window-point-1.
9023
9024 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9027
9028 2011-10-05 Glenn Morris <rgm@gnu.org>
9029
9030 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9031 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9032
9033 2011-10-05 Leo Liu <sdl.web@gmail.com>
9034
9035 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9036 works with buffer object.
9037
9038 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * mpc.el (mpc-tool-bar-map): Add labels.
9041
9042 2011-10-04 Glenn Morris <rgm@gnu.org>
9043
9044 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9045
9046 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9047
9048 * window.el (window--delete): New function.
9049 (frame-auto-delete): Resuscitate option.
9050 (bury-buffer, replace-buffer-in-windows)
9051 (quit-window): Rewrite using window--delete.
9052 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9053 Pass display-buffer-mark-dedicated to window--display-buffer-2
9054 (Bug#9639).
9055
9056 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9057
9058 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9059 returns a list (bug#9554). Add remote file name completion.
9060 * comint.el (comint--table-subvert): Curry and get quote&unquote
9061 functions as arguments.
9062 (comint--complete-file-name-data): Adjust call accordingly.
9063 * pcomplete.el (pcomplete--table-subvert): Remove.
9064 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9065
9066 * minibuffer.el (completion-table-case-fold): Use currying.
9067 (completion--styles-type, completion--cycling-threshold-type):
9068 New constants.
9069 (completion-styles, completion-category-overrides)
9070 (completion-cycle-threshold): Use them.
9071 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9072 completion-table-case-fold.
9073
9074 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9075
9076 * minibuffer.el (completion-category-overrides): Fix type of styles
9077 and add more user friendly tags (bug#9660).
9078
9079 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9082 (mule-input-method-string): New widget.
9083 (default-input-method, language-info-custom-alist): Use it.
9084
9085 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9086
9087 * pcomplete.el: Require comint.
9088 (pcomplete--common-suffix): Remove.
9089 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9090 (pcomplete--table-subvert): Sync with comint--table-subvert.
9091 (pcomplete--entries): Use comint-completion-file-name-table.
9092 * comint.el (comint-unquote-filename): Simplify.
9093 (comint-completion-file-name-table): New function (bug#9616).
9094 (comint--complete-file-name-data): Use it.
9095
9096 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9097 (pcmpl-gnu-tar-buffer): Remove.
9098 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9099 around. Make sure pcomplete-suffix-list is only changed temporarily.
9100 Don't look inside the tar's file if it's too large.
9101
9102 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9103
9104 * cus-edit.el (custom-mode-map):
9105 * epa.el (epa-key-list-mode-map):
9106 * man.el (Man-mode-map):
9107 * startup.el (splash-screen-keymap):
9108 * simple.el (special-mode-map): Use scroll-up-command and
9109 scroll-down-command.
9110
9111 * progmodes/idlw-help.el (idlwave-help-mode-map):
9112 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9113 * net/newst-plainview.el (newsticker-mode-map):
9114 * emulation/ws-mode.el (wordstar-mode-map):
9115 * emulation/vi.el (vi-com-map):
9116 * calc/calc-graph.el (calc-graph-show-dumb):
9117 * term/sun.el (terminal-init-sun):
9118 * term/ns-win.el (global-map):
9119 * progmodes/grep.el (grep-mode-map):
9120 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9121 * mail/rmail.el (rmail-mode-map):
9122 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9123
9124 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9125 custom-safe-themes as special.
9126
9127 2011-10-01 Julien Danjou <julien@danjou.info>
9128
9129 * notifications.el (notifications-notify): Fix docstring.
9130
9131 2011-10-01 Per Starbäck <per@starback.se>
9132
9133 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9134
9135 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9136
9137 * startup.el (command-line-1): Fix last fix by inserting
9138 initial-scratch-message into *scratch* before displaying it.
9139 (Bug#9605) and (Bug#9636)
9140
9141 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9142
9143 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9144 window is hscrolled, move by logical lines. (Bug#9607)
9145 (line-move-visual): Update the doc string to the above effect.
9146
9147 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9148
9149 * window.el (display-buffer-record-window): When WINDOW is the
9150 selected window use `point' instead of `window-point'. (Bug#9626)
9151
9152 * startup.el (command-line-1): Use insert-before-markers when
9153 inserting initial-scratch-message. (Bug#9605)
9154
9155 * help.el (help-window): Remove variable.
9156
9157 2011-09-29 Glenn Morris <rgm@gnu.org>
9158
9159 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9160
9161 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9162
9163 * descr-text.el (describe-char-categories): Accept category
9164 descriptions more than one line long.
9165
9166 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * simple.el (delete-trailing-whitespace): Fix last change.
9169
9170 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9171 Don't confuse "y => 3" as the beginning of a `y' operation.
9172
9173 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9174 object has more than 4 slots (bug#9613).
9175
9176 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9177
9178 * subr.el (with-output-to-temp-buffer):
9179 * net/quickurl.el (quickurl, quickurl-browse-url):
9180 Fix typos in docstrings.
9181
9182 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9183
9184 * minibuffer.el (completion-styles)
9185 (completion-category-overrides): Cross reference each other in doc
9186 strings.
9187
9188 2011-09-27 Glenn Morris <rgm@gnu.org>
9189
9190 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9191 to split-string. (Bug#9606)
9192
9193 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9194
9195 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9196 (bug#9615).
9197
9198 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9199
9200 * emacs-lisp/package.el (list-packages): Fix echo area message.
9201
9202 2011-09-27 Leo Liu <sdl.web@gmail.com>
9203
9204 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9205
9206 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9207
9208 * net/dbus.el (dbus-unregister-object): Don't release services for
9209 registered signals. (Bug#9581)
9210
9211 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9212
9213 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9214 function that picks between cfengine 2 and 3 support
9215 automatically. Update docs accordingly.
9216
9217 2011-09-22 Kenichi Handa <handa@m17n.org>
9218
9219 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9220 ZERO.
9221 (indian-itrans-v5-table-for-tamil): New variable.
9222 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9223
9224 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9225
9226 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9227 that's true if the current command involved collapsing of text.
9228 It's reset to false at the beginning of the next command.
9229 (allout-post-command-business): Move the cursor to the beginning
9230 of entry if the cursor is hidden and collapsing activity just
9231 happened.
9232
9233 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9234
9235 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9236 tracking (Bug#9541).
9237
9238 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9239
9240 * net/newst-reader.el (newsticker-html-renderer)
9241 (newsticker-show-news): Automatically load html rendering package
9242 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9243 because w3m-fill-column is let-bound" and the error "Symbol's value
9244 as variable is void: w3m-fill-column".
9245
9246 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9247
9248 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9249 Release services only if they are defined. (Bug#9581)
9250
9251 2011-09-23 Richard Stallman <rms@gnu.org>
9252
9253 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9254 distinguish start of paragraph from start of its text.
9255
9256 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9257
9258 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9259 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9260 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9261
9262 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9263
9264 * international/mule-diag.el (mule-diag): Insert a newline after
9265 each fontset description.
9266
9267 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9268
9269 * simple.el (delete-trailing-whitespace):
9270 Document last change; simplify.
9271
9272 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9273
9274 * simple.el (delete-trailing-whitespace): Also delete
9275 extra newlines at the end of the buffer.
9276
9277 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9278 (picture-newline): Use forward-line so as to ignore fields.
9279
9280 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9281
9282 * subr.el (with-wrapper-hook): Fix edebug spec.
9283
9284 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9285
9286 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9287 (bug#4538).
9288
9289 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9290
9291 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9292 Fix nasty bug using wrong cached values.
9293
9294 2011-09-23 Alan Mackenzie <acm@muc.de>
9295
9296 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9297
9298 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9299
9300 * window.el (pop-to-buffer): Ensure right window is selected if we
9301 chose another frame.
9302
9303 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9304
9305 * simple.el (what-cursor-position): Use get-char-property-change
9306 and next-single-char-property-change, to be able to show display
9307 properties that come from overlays as well as text properties.
9308
9309 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9310
9311 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9312
9313 * cmuscheme.el (run-scheme, switch-to-scheme):
9314 * cus-edit.el (customize-group, custom-buffer-create)
9315 (customize-browse):
9316 * info.el (info):
9317 * shell.el (shell):
9318 * mail/sendmail.el (mail):
9319 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9320
9321 2011-09-22 Richard Stallman <rms@gnu.org>
9322
9323 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9324 move back only to line beg, don't move back over blank lines.
9325
9326 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9327
9328 * files.el (copy-directory): Set directory attributes only in case
9329 they could be retrieved from the source directory. (Bug#9565)
9330
9331 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9332
9333 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9334 (hs-find-block-beginning, hs-hide-level-recursive):
9335 Ignore strings as well as comments. (Bug#9502)
9336
9337 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9338
9339 * progmodes/sql.el (sql-comint-postgres):
9340 Convert port number to a string. (Bug#9566)
9341
9342 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9343
9344 * window.el (quit-window): Undedicate window when switching to
9345 previous buffer. Reported by Thierry Volpiatto
9346 <thierry.volpiatto@gmail.com>.
9347 (special-display-popup-frame): When popping up a new frame reset
9348 its previous buffers to nil. Simplify code.
9349
9350 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9351
9352 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9353 and process filter, as done also in `shell-command'.
9354
9355 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9356
9357 * window.el (set-window-buffer-start-and-point):
9358 Call set-window-start with NOFORCE argument t.
9359 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9360 (quit-window): Reword doc-string. Handle new format of
9361 quit-restore parameter. Don't delete window if it has a
9362 previous buffer we can show instead of the present one.
9363 (display-buffer-record-window): Rewrite using a new format for
9364 the quit-restore window parameter
9365 (special-display-popup-frame, display-buffer-same-window)
9366 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9367 (display-buffer-pop-up-window, display-buffer-use-some-window):
9368 Adapt symbol passed to display-buffer-record-window.
9369 * help.el (help-window-setup): Handle new format of quit-restore
9370 parameter.
9371
9372 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * faces.el (face-list): Fix docstring (bug#9564).
9375
9376 * window.el (display-buffer--action-function-custom-type):
9377 Don't include internal functions in the Custom interface.
9378
9379 2011-09-20 Juri Linkov <juri@jurta.org>
9380
9381 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9382 (Info-forward-node, Info-backward-node, Info-next-preorder)
9383 (Info-last-preorder): Use it. (Bug#9528)
9384
9385 2011-09-20 Juri Linkov <juri@jurta.org>
9386
9387 * info.el (Info-last-preorder): Visit last menu item only when
9388 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9389
9390 2011-09-20 Julien Danjou <julien@danjou.info>
9391
9392 * password-cache.el (password-cache-remove): Remove entries even if the
9393 value is nil, so that password with a nil value (negative caching) is
9394 possible to invalidate.
9395
9396 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9397
9398 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9399 all whitespace around breakpoint. (Bug#9553)
9400 (f90-find-breakpoint): Only break at whitespace inside a comment.
9401
9402 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * minibuffer.el (completion-file-name-table): Keep track of errors.
9405 (completion-table-with-predicate): Handle the case where pred1 is nil.
9406 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9407
9408 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9411 (debugger-return-value): Signal an error if the debugging context does
9412 not await any return value.
9413
9414 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9415 * image-mode.el (image-toggle-display-text)
9416 (image-toggle-display-image): Stay away from evil `intangible'.
9417
9418 2011-09-19 Leo Liu <sdl.web@gmail.com>
9419
9420 * replace.el (occur-revert-arguments): Make it permanent-local.
9421 (occur-mode): Don't call font-lock-defontify.
9422
9423 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9424
9425 * net/ldap.el (ldap-search-internal): Don't push empty search
9426 result (Bug#9508).
9427
9428 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9429
9430 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9431
9432 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9433
9434 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9435 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9436
9437 2011-09-18 Juri Linkov <juri@jurta.org>
9438
9439 * buff-menu.el (Buffer-menu-mode-map):
9440 * dired.el (dired-mode-map):
9441 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9442 (lisp-interaction-mode-map):
9443 * emacs-lisp/package.el (package-menu-mode-map):
9444 * epa.el (epa-key-list-mode-map):
9445 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9446 (menu-bar-options-menu):
9447 * outline.el (outline-mode-menu-bar-map):
9448 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9449 * vc/vc-dir.el (vc-dir-menu-map):
9450 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9451 Capitalize non-function content words in menu item strings.
9452
9453 * dired.el (dired-mode-map): Add menu item for
9454 `image-dired-dired-toggle-marked-thumbs'.
9455
9456 2011-09-18 Juri Linkov <juri@jurta.org>
9457
9458 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9459 to `isearch-case-fold-search' and restore its original value
9460 after the `isearch-mode' call.
9461
9462 2011-09-18 Juri Linkov <juri@jurta.org>
9463
9464 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9465 because `zgrep' returns 1 for successful matches (bug#9226).
9466
9467 2011-09-18 Juri Linkov <juri@jurta.org>
9468
9469 * info.el (Info-extract-menu-node-name): Check the second match
9470 for empty string (second test-case of bug#9528).
9471 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9472 intermediate nodes to the history (first test-case of bug#9528).
9473
9474 2011-09-18 Juri Linkov <juri@jurta.org>
9475
9476 * info.el (Info-mode-syntax-table): New variable.
9477 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9478
9479 2011-09-18 Juri Linkov <juri@jurta.org>
9480
9481 * info.el (Info-file-supports-index-cookies):
9482 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9483 outputs one more line for long file names (bug#4142).
9484
9485 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9486
9487 * newcomment.el (comment-normalize-vars): If prompting for
9488 comment-start, set comment-start-skip too (Bug#8424).
9489
9490 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9491
9492 * icomplete.el: Fix previous fix of Bug#5849.
9493 (icomplete-mode): Don't set completion-show-inline-help.
9494 (icomplete-minibuffer-setup): Set completion-show-inline-help
9495 locally during icompletion.
9496
9497 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9498
9499 * woman.el (woman2-process-escapes): Don't delete unrecognized
9500 escapes (Bug#7843).
9501
9502 * files.el (inhibit-first-line-modes-regexps): Add image files.
9503 (hack-local-variables-prop-line): Return nil for malformed
9504 prop-lines (Bug#9044).
9505
9506 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
9507
9508 * net/tramp.el (top): Don't require 'shell.
9509 (tramp-methods): Fix docstring.
9510 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9511 Return complete remote file name. Handle "smb" case.
9512 Use `tramp-tmpdir', if defined for the respective method.
9513 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9514
9515 * net/tramp-compat.el (top): Require 'shell.
9516
9517 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9518 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9519 `tramp-current-host'.
9520 (tramp-get-remote-tmpdir): Remove.
9521
9522 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9523 `tramp-tmpdir' entries.
9524 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9525 (tramp-smb-handle-file-attributes): Ignore errors.
9526 (tramp-smb-wait-for-output): Check also for process end.
9527
9528 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9529
9530 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9531 when sending QUIT (bug#9312).
9532
9533 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
9534
9535 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9536 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9537 occur-mode-display-occurrence.
9538 (occur-edit-mode): Add usage message.
9539 (occur-cease-edit): New command.
9540 (occur-after-change-function): Use text properties to find the
9541 position of the prefix text.
9542 (occur-engine): Set stickiness of prefix text properties.
9543
9544 2011-09-17 Glenn Morris <rgm@gnu.org>
9545
9546 * progmodes/etags.el (complete-tag):
9547 Fix call to completion-in-region. (Bug#9526)
9548
9549 2011-09-17 Juri Linkov <juri@jurta.org>
9550
9551 * textmodes/ispell.el (ispell-word): Add to the error message
9552 the word, ispell program name and current dictionary (bug#9121).
9553 (ispell-tex-arg-end): Capitalize "error" in the error message.
9554
9555 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9556
9557 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9558 check. (Bug#4251)
9559
9560 2011-09-17 Juri Linkov <juri@jurta.org>
9561
9562 * window.el (window-safe-min-height, window-safe-min-width):
9563 Fix typos (followup to bug#9522).
9564
9565 2011-09-17 Sven Joachim <svenjoac@gmx.de>
9566
9567 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9568
9569 2011-09-16 Eli Zaretskii <eliz@gnu.org>
9570
9571 * simple.el (line-move): If goal-column is set, move by logical
9572 lines, not by display lines. (Bug#971)
9573 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9574 to reflect the above change.
9575
9576 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9577
9578 * image.el (imagemagick-register-types): Use regexp-opt.
9579
9580 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9581
9582 * window.el (display-buffer-base-action): Rename from
9583 display-buffer-default-action. Make default value empty.
9584 (display-buffer-overriding-action): Convert to defvar.
9585 (display-buffer-fallback-action): New var.
9586
9587 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9588
9589 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9590 declaration.
9591 (package--add-to-archive-contents): If there is a duplicate entry
9592 with an older version, remove it.
9593 (package-menu-mark-delete, package-menu-mark-install)
9594 (package-menu-mark-unmark): Make unused args optional.
9595 (package-menu-mark-obsolete-for-deletion):
9596 Use package-menu-get-status instead of a regexp search.
9597 (package-menu-get-status): Use tabulated-list-entry.
9598 (package-menu-mark-upgrades): New command.
9599 (package-menu-mode-map): Bind it to U. Add it to menu bar.
9600 (package-menu-execute): Do installation before deletion.
9601 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9602 instead of checking major-mode.
9603 (package-menu--find-upgrades): New function.
9604
9605 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9606
9607 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9608 passwords in the log buffer.
9609 (smtpmail-process-filter): Update the process marker so that the
9610 "broken by peer" status message is inserted in the right place.
9611
9612 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9613
9614 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9615 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9616 bibtex-completion-at-point-function.
9617 (bibtex-completion-at-point-function): Use them.
9618
9619 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9620
9621 * mpc.el (mpc-constraints-tag-lookup): New function.
9622 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9623 also to browser "album|playlist".
9624
9625 2011-09-14 Juri Linkov <juri@jurta.org>
9626
9627 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9628 (isearch-edit-string): Use length of `isearch-string' when
9629 `isearch-fail-pos' returns nil.
9630 (isearch-message): Remove duplicate code and call
9631 `isearch-fail-pos' with arg `t'.
9632
9633 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9634
9635 * replace.el (occur-mode-goto-occurrence): Don't force using other
9636 window (Bug#9499).
9637
9638 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9639
9640 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9641
9642 * window.el (display-buffer-window): Remove.
9643 (display-buffer-record-window): Use help-setup window parameter
9644 instead of variable display-buffer-window.
9645 (display-buffer-function, special-display-buffer-names)
9646 (special-display-function): Mention help-setup parameter instead
9647 of display-buffer-window in doc-string.
9648 * help.el (help-window-setup): New argument help-window.
9649 Use help-window-setup parameter instead of display-buffer-window.
9650 Reword some messages.
9651 (with-help-window): Pass window used for displaying the buffer
9652 to help-window-setup. Don't set display-buffer-window.
9653
9654 2011-09-13 Glenn Morris <rgm@gnu.org>
9655
9656 * emacs-lisp/debug.el (debugger-make-xrefs):
9657 Preserve point. (Bug#9462)
9658
9659 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9660
9661 * window.el (window-deletable-p): Use next-frame.
9662
9663 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9664
9665 * window.el (window-auto-delete): Remove.
9666 (window-deletable-p): Remove argument FORCE. Don't deal with
9667 dedication and previous buffers.
9668 (switch-to-prev-buffer): Don't delete window.
9669 (delete-windows-on): Delete a window's frame if and only if the
9670 window is dedicated.
9671 (replace-buffer-in-windows): Delete buffer's window or frame if
9672 and only if window is dedicated.
9673 (quit-window): Handle quit-restore as before last change.
9674 (bury-buffer): Delete window only if window-deletable-p returns t.
9675
9676 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9677
9678 * window.el (window-deletable-p): Never delete the last frame on a
9679 given terminal.
9680
9681 2011-09-13 Glenn Morris <rgm@gnu.org>
9682
9683 * help.el (describe-key-briefly): Copy previous standard-output change.
9684
9685 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9686
9687 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9688
9689 2011-09-13 Glenn Morris <rgm@gnu.org>
9690
9691 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9692 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9693
9694 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9695
9696 * dired-aux.el (dired-mark-read-string): Don't return default
9697 value on empty input (Bug#9361).
9698 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9699 Omit initial minibuffer contents.
9700 (dired-do-chmod): Signal an error on empty input.
9701 (dired-mark-read-string): Don't return default on empty input.
9702
9703 * files.el (file-modes-symbolic-to-number): Doc fix.
9704
9705 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9706
9707 * international/mule-cmds.el (ucs-completions): Remove.
9708 (read-char-by-name): Use complete-with-action instead; add metadata.
9709
9710 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9711
9712 * window.el (display-buffer--action-function-custom-type)
9713 (display-buffer--action-custom-type): New vars.
9714 (display-buffer-alist, display-buffer-default-action)
9715 (display-buffer-overriding-action): Add defcustom types.
9716
9717 * frame.el (delete-other-frames): Doc fix (Bug#276).
9718
9719 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9720
9721 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9722
9723 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9724
9725 Change modes that used same-window-* vars to use switch-to-buffer.
9726
9727 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9728 Use switch-to-buffer.
9729
9730 * cus-edit.el (customize-group, custom-buffer-create)
9731 (customize-browse, custom-buffer-create-other-window):
9732 Use switch-to-buffer or switch-to-buffer-other-window.
9733
9734 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9735 (Info-prev, Info-up, Info-speedbar-goto-node)
9736 (info-display-manual): Use switch-to-buffer.
9737 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9738
9739 * mail/sendmail.el (mail): Use switch-to-buffer.
9740 (mail-recover): Use switch-to-buffer-other-window.
9741
9742 * cmuscheme.el (run-scheme, switch-to-scheme):
9743 * ielm.el (ielm):
9744 * shell.el (shell):
9745 * net/rlogin.el (rlogin):
9746 * net/telnet.el (telnet, rsh):
9747 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9748
9749 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9750
9751 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9752
9753 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9754
9755 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9756 so don't mention it (bug#9301).
9757 (dired-sort-toggle-or-edit): Clarify string further.
9758
9759 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9760 match `x', `w32' and `ns', like the manual says (bug#9029).
9761
9762 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9763 (process-kill-buffer-query-function): Mention the buffer name in
9764 the query.
9765
9766 * image-mode.el (image-next-line): The line parameter is mandatory
9767 (bug#9258).
9768
9769 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9770 which can be useful (bug#9301).
9771
9772 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9773
9774 * subr.el (match-string): Mention that the current buffer should
9775 be the same as the search was done in (bug#9282).
9776
9777 * facemenu.el: Disable the remove-* commands if the mark isn't
9778 active (bug#9162).
9779
9780 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9781
9782 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9783 of display-buffer.
9784 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9785
9786 * replace.el (occur-mode-goto-occurrence)
9787 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9788 and display-buffer.
9789
9790 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9791 display-buffer.
9792
9793 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9794 special-display and same-window variables.
9795 (mail-other-window): Use switch-to-buffer-other-window.
9796 (mail-other-frame): USe switch-to-buffer-other-frame.
9797
9798 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9799 Use display-buffer-other-frame.
9800 (gdb-display-gdb-buffer): Use pop-to-buffer.
9801
9802 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9803
9804 * progmodes/python.el: Don't set same-window-buffer-names.
9805
9806 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9807
9808 * window.el (display-buffer-alist): Add *Python*.
9809
9810 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9811
9812 * window.el (display-buffer-alist): Add entry for buffers
9813 previously handled same-window-*.
9814 (display-buffer-alist, display-buffer-default-action)
9815 (display-buffer-overriding-action): Mark as risky.
9816 (display-buffer-alist): Document action function changes.
9817 (display-buffer--same-window-action)
9818 (display-buffer--other-frame-action): New variables.
9819 (switch-to-buffer, display-buffer-other-frame): Use them.
9820 (display-buffer): Rename reuse-frame entry to reusable-frames.
9821 (display-buffer-reuse-selected-window): Function deleted.
9822 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9823 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9824 (display-buffer-special): New function.
9825 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9826 display-buffer-reuse-or-pop-window. Split off special-display
9827 part into display-buffer-special.
9828 (display-buffer-use-some-window): Don't perform any special
9829 pop-up-frames handling.
9830 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9831 (display-buffer--maybe-same-window): Rename from
9832 display-buffer-maybe-same-window.
9833
9834 * info.el: Don't set same-window-regexps.
9835 (info-setup): New function.
9836 (info-other-window, info): Call it.
9837
9838 * cus-edit.el: Don't set same-window-regexps.
9839 (customize-group): New argument.
9840 (customize-group-other-window): Use it.
9841 (customize-face, customize-face-other-window): Likewise.
9842 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9843
9844 * net/rlogin.el:
9845 * net/telnet.el:
9846 * progmodes/gud.el: Don't set same-window-regexps.
9847
9848 * cmuscheme.el:
9849 * ielm.el:
9850 * shell.el:
9851 * mail/sendmail.el:
9852 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9853
9854 2011-09-10 Juri Linkov <juri@jurta.org>
9855
9856 * isearch.el (isearch-edit-string): Remove obsolete mention of
9857 `C-w' (`isearch-yank-word-or-char') from docstring.
9858 (isearch-query-replace): Fix typo in docstring (bug#9466).
9859
9860 2011-09-10 Juri Linkov <juri@jurta.org>
9861
9862 * paren.el (show-paren-function): Don't show escaped parens.
9863 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9864
9865 2011-09-10 Eli Zaretskii <eliz@gnu.org>
9866
9867 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9868 (mm-default-file-encoding): Remove autoload forms, they are
9869 replaced with autoload cookies in mml.el and mm-encode.el.
9870 (mail-add-attachment): New command.
9871 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9872 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9873 the doc string.
9874 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9875
9876 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9877
9878 * simple.el (count-words-region): Use buffer if there's no region
9879 (bug#9429).
9880
9881 2011-09-09 Juri Linkov <juri@jurta.org>
9882
9883 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9884 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9885 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9886
9887 2011-09-09 Alan Mackenzie <acm@muc.de>
9888
9889 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9890 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9891
9892 2011-09-09 Eli Zaretskii <eliz@gnu.org>
9893
9894 Fix for Savannah bug#9392.
9895 * simple.el (mail-encode-mml): New defvar.
9896
9897 * mail/rmail.el (mail-encode-mml): Add a defvar.
9898 (rmail-enable-mime-composing): Default to t.
9899 (rmail-forward): Use MIME method of forwarding only if both
9900 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9901 Set mail-encode-mml non-nil if the MIME method was used.
9902
9903 * mail/sendmail.el (mml-to-mime): Add autoload form.
9904 (mail-encode-mml): Add a defvar.
9905 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9906 to nil.
9907 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9908 message through mml-to-mime, and reset mail-encode-mml to nil.
9909
9910 2011-09-09 Glenn Morris <rgm@gnu.org>
9911
9912 * woman.el (woman-if-body): When processing an .el block,
9913 do not delete the next .el block as well. (Bug#9447)
9914 (woman-special-characters): Add oq, cq, and hy characters.
9915
9916 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9917
9918 * window.el (window-deletable-p): Make sure window is live before
9919 invoking window-prev-buffers.
9920
9921 2011-09-08 Leo Liu <sdl.web@gmail.com>
9922
9923 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9924
9925 2011-09-08 Juri Linkov <juri@jurta.org>
9926
9927 * progmodes/compile.el (compilation-environment): Make it
9928 a defcustom (bug#8340).
9929
9930 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9931
9932 * window.el (frame-auto-delete): Rename to window-auto-delete.
9933 Make it control auto-deletion of windows and/or frames.
9934 (window-deletable-p): New argument FORCE. Rewrite conditions
9935 for deleting window/frame. (Bug#9419)
9936 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9937 Rewrite handling of case when window/frame can be deleted.
9938 (delete-windows-on): Call window-deletable-p with new FORCE
9939 argument t. (Bug#9456)
9940
9941 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9942
9943 * help-mode.el (help-mode): Restore autoload.
9944
9945 2011-09-07 Juri Linkov <juri@jurta.org>
9946
9947 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9948 `compilation-environment'. Set buffer-local
9949 `compilation-environment' to `thisenv' later after (funcall mode).
9950 (Bug#8340)
9951
9952 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9953 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9954 instead of replacing its value. (Bug#8340)
9955
9956 2011-09-07 Juri Linkov <juri@jurta.org>
9957
9958 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9959 based on text properties put by `grep-filter' instead of matching
9960 escape sequences.
9961 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9962 to the value of `grep-error-screen-columns' (bug#9438).
9963
9964 2011-09-07 Juri Linkov <juri@jurta.org>
9965
9966 * simple.el (next-error-highlight, next-error-highlight-no-select):
9967 Doc fix (bug#9432).
9968
9969 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9970
9971 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9972 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9973
9974 2011-09-07 Leo Liu <sdl.web@gmail.com>
9975
9976 * net/rcirc.el (rcirc-mode): Conditionally initialize
9977 rcirc-input-ring.
9978
9979 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9980
9981 * emacs-lisp/find-func.el (find-function-C-source): Only set
9982 find-function-C-source-directory after checking that we found a source
9983 file there (bug#9440).
9984
9985 2011-09-06 Alan Mackenzie <acm@muc.de>
9986
9987 * isearch.el (isearch-other-meta-char): Wherever a key list is
9988 unread, "unread" the prefix arg, too. This fixes bug #8901.
9989
9990 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9991
9992 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9993
9994 2011-09-05 Juri Linkov <juri@jurta.org>
9995
9996 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9997
9998 2011-09-05 Juri Linkov <juri@jurta.org>
9999
10000 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10001 keeping point where processing of grep matches begins, and
10002 continue to delete remaining escape sequences from the same point.
10003 (grep-filter): Make leading zero optional in "0?1;31m" because
10004 git-grep emits "\033[1;31m" escape sequences unlike expected
10005 "\033[01;31m" as GNU Grep does (bug#9408).
10006 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10007
10008 2011-09-05 Juri Linkov <juri@jurta.org>
10009
10010 * subr.el (y-or-n-p): Capitalize "yes".
10011
10012 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10013
10014 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10015 `tramp-cache-unload-hook' where appropriate.
10016 (tramp-methods): Rename `tramp-remote-sh' to
10017 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10018 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10019
10020 * net/tramp-sh.el (top): Don't require 'shell.
10021 (tramp-methods): Add `tramp-remote-shell' and
10022 `tramp-remote-shell-args' entries.
10023 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10024 (tramp-sh-handle-shell-command): Remove.
10025 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10026 Use `tramp-remote-shell'.
10027
10028 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10029
10030 * mail/sendmail.el (sendmail-query-once-function): Delete.
10031 (sendmail-query-once): Save directly to send-mail-function.
10032 Update message-send-mail-function too.
10033
10034 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10035
10036 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10037
10038 * progmodes/python.el (python-mode-map): Use correct function to
10039 start python interpreter from menu-bar (as reported by Geert
10040 Kloosterman).
10041 (inferior-python-mode-map): Fix typo.
10042 (python-shell-map): Remove.
10043
10044 2011-09-03 Deniz Dogan <deniz@dogan.se>
10045
10046 * net/rcirc.el (rcirc-print): Simplify code for
10047 rcirc-scroll-show-maximum-output. There is no need to walk
10048 through all windows to find the right one.
10049
10050 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10051
10052 * help.el (help-return-method): Doc fix.
10053
10054 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10055
10056 * window.el (window-deletable-p): Don't return a non-nil value
10057 when there's a buffer that was shown in the window before.
10058 (Bug#9419)
10059 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10060 Set window's previous buffers to nil.
10061
10062 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10063
10064 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10065 newline before and after the tag line, so it doesn't interfere
10066 with determining the paragraph direction of bidirectional text.
10067
10068 2011-09-03 Leo Liu <sdl.web@gmail.com>
10069
10070 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10071
10072 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10073
10074 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10075 (pop-to-buffer): Change interactive spec. Pass second argument
10076 directly to display-buffer.
10077 (display-buffer): Fix interactive spec. Use functionp to
10078 distinguish between a function and a list of functions.
10079
10080 * abbrev.el (edit-abbrevs):
10081 * arc-mode.el (archive-extract):
10082 * autoinsert.el (auto-insert):
10083 * bookmark.el (bookmark-bmenu-list):
10084 * files.el (find-file):
10085 * view.el (view-buffer):
10086 * progmodes/compile.el (compilation-goto-locus):
10087 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10088
10089 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10090
10091 * window.el (display-buffer-alist): Doc fix.
10092 (display-buffer): Add docstring. Don't treat
10093 display-buffer-default specially.
10094 (display-buffer-reuse-selected-window)
10095 (display-buffer-same-window, display-buffer-maybe-same-window)
10096 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10097 (display-buffer-pop-up-window)
10098 (display-buffer-reuse-or-pop-window)
10099 (display-buffer-use-some-window): New functions.
10100 (display-buffer-default-action): Use them.
10101 (display-buffer-default): Delete.
10102 (pop-to-buffer-1): Fix choice of actions.
10103
10104 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10105
10106 * minibuffer.el (completion--insert-strings): Don't get confused by
10107 completion entries that end with an LF char.
10108
10109 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10110
10111 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10112
10113 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10114
10115 * window.el (display-buffer): Restore interactive spec.
10116 (display-buffer-same-window, display-buffer-other-window):
10117 New functions.
10118 (pop-to-buffer-1): New function. Use the above.
10119 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10120 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10121
10122 * view.el (view-buffer-other-window, view-buffer-other-frame):
10123 Just use pop-to-buffer.
10124
10125 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10126
10127 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10128
10129 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10130
10131 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10132
10133 2011-08-31 Richard Stallman <rms@gnu.org>
10134
10135 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10136 of the separation of rmail-view-buffer from rmail-buffer.
10137 If you say no to "replace original", the decrypt is in the
10138 view buffer. If you say yes, the decrypt goes into the
10139 rmail buffer also.
10140
10141 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10142
10143 * window.el (display-buffer-window): Rewrite doc-string.
10144 (display-buffer-record-window): New function.
10145 (display-buffer-macro-specifiers)
10146 (display-buffer-even-window-sizes, display-buffer-set-height)
10147 (display-buffer-set-width, display-buffer-in-window)
10148 (display-buffer-reuse-window, display-buffer-split-specifiers)
10149 (display-buffer-side-specifiers, display-buffer-split-window-1)
10150 (display-buffer-split-window, display-buffer-split-atom-window)
10151 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10152 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10153 (display-buffer-other-window-means-other-frame)
10154 (display-buffer-normalize-special)
10155 (display-buffer-normalize-default)
10156 (display-buffer-normalize-argument)
10157 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10158 (display-buffer-normalize-specifiers, display-buffer-frame)
10159 (display-buffer-same-window, display-buffer-same-frame)
10160 (display-buffer-other-window)
10161 (display-buffer-same-frame-other-window)
10162 (display-buffer-other-frame, pop-to-buffer-same-window)
10163 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10164 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10165 (switch-to-buffer-same-frame)
10166 (switch-to-buffer-other-window-same-frame)
10167 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10168 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10169 (display-buffer-alist-set): Remove.
10170 (display-buffer-function, special-display-buffer-names)
10171 (special-display-regexps, special-display-function):
10172 In doc-string refer to display-buffer-window and quit-restore
10173 parameter.
10174 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10175 (special-display-frame-alist, special-display-popup-frame)
10176 (same-window-buffer-names, same-window-regexps, same-window-p)
10177 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10178 (split-window-preferred-function, split-height-threshold)
10179 (split-width-threshold, window-splittable-p)
10180 (split-window-sensibly, window--try-to-split-window)
10181 (window--frame-usable-p, even-window-heights)
10182 (window--even-window-heights, window--display-buffer-1)
10183 (window--display-buffer-2, display-buffer-other-frame):
10184 Restore old Emacs 23 code, order and doc-strings where applicable.
10185 (display-buffer-default, display-buffer-assq-regexp): New functions.
10186 (display-buffer-alist): Rewrite doc-string.
10187 (display-buffer-default-action)
10188 (display-buffer-overriding-action): New variables.
10189 (display-buffer, switch-to-buffer): Rewrite.
10190 (pop-to-buffer): Restore Emacs 23 behavior but use
10191 window-normalize-buffer-to-display.
10192 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10193 Restore Emacs 23 behavior but use
10194 window-normalize-buffer-to-switch-to.
10195 (pop-to-buffer-same-window): Rewrite.
10196 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10197 Rewrite using Emacs 23 options.
10198
10199 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10200
10201 * net/tramp.el (tramp-root-regexp): Remove.
10202 (tramp-completion-file-name-regexp-unified)
10203 (tramp-completion-file-name-regexp-separate)
10204 (tramp-completion-file-name-regexp-url): Don't use leading volume
10205 letter on win32 systems. (Bug#5303, Bug#9311)
10206 (tramp-drop-volume-letter): Simplify definition.
10207 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10208
10209 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10212 (bug#9356).
10213
10214 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10215
10216 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10217
10218 2011-08-29 Juri Linkov <juri@jurta.org>
10219
10220 * isearch.el (isearch-done): Don't display message "Mark saved"
10221 when arg `edit' is non-nil to prevent its flicker in the echo area.
10222
10223 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10224
10225 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10226 obsolete packages for deletion.
10227
10228 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10229
10230 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10231 (help-mode): Derive help-mode from special-mode. Don't invoke
10232 view-mode from help-mode.
10233 (help-xref-override-view-map): Remove.
10234 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10235 view-mode is not used anymore.
10236
10237 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10238
10239 * server.el (server-port): Doc fix.
10240
10241 * cus-theme.el (custom-theme-choose-mode): Inherit from
10242 special-mode (Bug#9124).
10243 (custom-theme-choose-mode-map): Add special-mode to parent.
10244
10245 2011-08-28 Alan Mackenzie <acm@muc.de>
10246
10247 * progmodes/cc-fonts.el
10248 (c-make-font-lock-BO-decl-search-function): New function.
10249 (c-basic-matchers-after - "Fontify the clauses after various
10250 keywords"): Extract the three keyword lists for the 3 erroneous
10251 constructs from the list of four, and use the new function above
10252 in place of an old one.
10253
10254 2011-08-28 Deniz Dogan <deniz@dogan.se>
10255
10256 * net/rcirc.el (rcirc-insert-prev-input)
10257 (rcirc-insert-next-input): Remove unused argument.
10258
10259 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10262
10263 2011-08-27 Alan Mackenzie <acm@muc.de>
10264
10265 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10266 handle function pointer parameters properly.
10267
10268 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10269
10270 * window.el (display-buffer-reuse-window): Fix case where
10271 selected window was reused with non-nil OTHER-WINDOW argument.
10272 (Bug#9381)
10273
10274 2011-08-27 Deniz Dogan <deniz@dogan.se>
10275
10276 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10277 oftc's NickServ messages.
10278
10279 2011-08-27 Glenn Morris <rgm@gnu.org>
10280
10281 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10282
10283 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10284
10285 * emacs-lisp/package.el (package-install): Call package-initialize
10286 if called interactively.
10287
10288 2011-08-26 Leo Liu <sdl.web@gmail.com>
10289
10290 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10291
10292 2011-08-25 Juri Linkov <juri@jurta.org>
10293
10294 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10295 `search-whitespace-regexp' (bug#9364).
10296
10297 2011-08-25 Juri Linkov <juri@jurta.org>
10298
10299 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10300 `regexp-search-ring' to their global values to protect from
10301 updating by `read-from-minibuffer' (bug#9185).
10302
10303 2011-08-25 Juri Linkov <juri@jurta.org>
10304
10305 * textmodes/ispell.el (ispell-command-loop): Add newline
10306 at the end of the "Use option `i'..." line.
10307
10308 2011-08-25 Juri Linkov <juri@jurta.org>
10309
10310 * battery.el (display-battery-mode): If `battery-status-function'
10311 or `battery-mode-line-format' is nil, display the message and set
10312 `display-battery-mode' to nil (bug#9363).
10313
10314 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10315
10316 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10317 bidi-string-mark-left-to-right; they are unnecessary now.
10318
10319 2011-08-25 Deniz Dogan <deniz@dogan.se>
10320
10321 * net/quickurl.el: Documentation typo fixes.
10322
10323 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10324
10325 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10326
10327 2011-08-25 Glenn Morris <rgm@gnu.org>
10328
10329 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10330
10331 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10332 (smtpmail-via-smtp): Handle nil response from smtp.
10333
10334 2011-08-24 Juri Linkov <juri@jurta.org>
10335
10336 * proced.el (proced-marked): Inherit from `error' instead of
10337 `font-lock-warning-face'.
10338
10339 * ibuffer.el (ibuffer-marked-face): Change default face from
10340 `font-lock-warning-face' to `warning'.
10341 (ibuffer-deletion-face): Change default face from
10342 `font-lock-type-face' to `error'.
10343
10344 * battery.el (battery-update): Use the face `error' instead of
10345 `font-lock-warning-face' (bug#6117).
10346
10347 2011-08-24 Juri Linkov <juri@jurta.org>
10348
10349 * faces.el (success): Change face color from "Green3" to
10350 "ForestGreen" on light background (bug#9353).
10351
10352 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10353
10354 * window.el (quit-window): Rename from quit-restore-window.
10355 Use same arglist as old quit-window.
10356 (frame-auto-delete): Doc fix.
10357
10358 * view.el (view-mode-exit): Use quit-window.
10359
10360 2011-08-24 Juri Linkov <juri@jurta.org>
10361
10362 * isearch.el (isearch-ring-adjust1): Start visiting previous
10363 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10364 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10365 for empty search string (when the last search string is reused
10366 automatically) to adjust the isearch ring to the last element and
10367 prepare the correct index for further M-p commands (bug#9185).
10368
10369 2011-08-24 Kenichi Handa <handa@m17n.org>
10370
10371 * international/ucs-normalize.el: If decomposition property of
10372 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10373 nil.
10374 (nfd, nfkd): Likewise.
10375
10376 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10377
10378 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10379 from process filters aren't reliably transmitted to the surrounding
10380 accept-process-output.
10381 (mpc-proc-check): New function.
10382 (mpc-proc-sync): Use it (bug#8293)
10383
10384 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10387 Add compatibility functions (bug#9313).
10388
10389 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10390
10391 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10392
10393 * international/uni-bidi.el: Regenerate.
10394
10395 2011-08-23 Kenichi Handa <handa@m17n.org>
10396
10397 * international/charprop.el:
10398 * international/uni-bidi.el:
10399 * international/uni-category.el:
10400 * international/uni-combining.el:
10401 * international/uni-comment.el:
10402 * international/uni-decimal.el:
10403 * international/uni-decomposition.el:
10404 * international/uni-digit.el:
10405 * international/uni-lowercase.el:
10406 * international/uni-mirrored.el:
10407 * international/uni-name.el:
10408 * international/uni-numeric.el:
10409 * international/uni-old-name.el:
10410 * international/uni-titlecase.el:
10411 * international/uni-uppercase.el: Regenerate.
10412
10413 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10414
10415 * help.el (help-window-setup): Fix message displayed when other
10416 window is reused. (Bug#9341)
10417
10418 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10421 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10422
10423 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10424 Mark obsolete.
10425 * shell.el (shell-parse-pcomplete-arguments): New function.
10426 (shell-completion-vars): Use it instead (bug#9160).
10427
10428 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10431 strings and comments (bug#9333).
10432
10433 * emacs-lisp/debug.el (debug-arglist): New function.
10434 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10435 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10436
10437 2011-08-22 Juri Linkov <juri@jurta.org>
10438
10439 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10440 Revert regexp that highlights output switches to its old
10441 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10442
10443 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10444 to check for empty output (bug#9226).
10445
10446 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10447
10448 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10449 symbol-constituent as the default, as that stops font-lock from
10450 working properly (Bug#8843).
10451
10452 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10453
10454 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10455 `coding-system-for-*' around the process open call to avoid
10456 auth-source side effects.
10457 (smtpmail-try-auth-methods): Expand the secret password.
10458 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10459 probe hangs.
10460
10461 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10462
10463 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10464
10465 * emacs-lisp/find-func.el (find-function-noselect): New arg
10466 lisp-only.
10467
10468 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10469 signal an error for built-in functions (Bug#6664).
10470
10471 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10472
10473 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10474 (smtpmail-try-auth-methods): Use it.
10475
10476 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10477
10478 * font-lock.el (font-lock-fontify-region)
10479 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10480 (font-lock-default-unfontify-buffer)
10481 (font-lock-default-fontify-region)
10482 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10483
10484 * progmodes/compile.el (compilation-error-properties):
10485 Fix confusion between file struct and message struct (Bug#9319).
10486 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10487 `ant' regexp.
10488
10489 * net/browse-url.el (browse-url-firefox): Don't call
10490 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10491
10492 2011-08-20 Glenn Morris <rgm@gnu.org>
10493
10494 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10495
10496 * tutorial.el (tutorial--default-keys): Update some default bindings.
10497
10498 * files.el (hack-local-variables): Fully ignore case for "mode:".
10499
10500 2011-08-20 Alan Mackenzie <acm@muc.de>
10501
10502 Resolve invalid use of a regexp in regexp-opt.
10503
10504 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10505 detection for a java annotation.
10506
10507 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10508 detection for a java annotation.
10509
10510 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10511 handling for java.
10512 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10513
10514 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
10515
10516 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10517 (Bug#9274).
10518
10519 2011-08-20 Alan Mackenzie <acm@muc.de>
10520
10521 Fontify CPP expressions correctly when starting in the middle of
10522 such a construct. Mainly for when jit-lock etc. starts a chunk
10523 here.
10524
10525 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
10526 variable.
10527 (c-make-font-lock-search-form): New function, extracted from
10528 c-make-font-lock-search-function.
10529 (c-make-font-lock-search-function): Use the above function.
10530 (c-make-font-lock-context-search-function): New function.
10531 (c-cpp-matchers): Enhance the preprocessor expression case with
10532 the above function
10533 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10534 which takes an expression.
10535
10536 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10537
10538 2011-08-20 Martin Rudalics <rudalics@gmx.at>
10539
10540 * window.el (display-buffer-reuse-window)
10541 (display-buffer-pop-up-window): Don't reuse or split a side
10542 window.
10543
10544 2011-08-19 Glenn Morris <rgm@gnu.org>
10545
10546 * files.el (hack-local-variables-prop-line, hack-local-variables):
10547 Downcase "Mode:". (Bug#9331)
10548
10549 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
10550
10551 * international/characters.el: Add L and R categories.
10552
10553 * subr.el (bidi-string-mark-left-to-right): Rename from
10554 string-mark-left-to-right. Use category search.
10555
10556 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10557
10558 2011-08-18 Juri Linkov <juri@jurta.org>
10559
10560 * faces.el (error, warning, success): New faces with definitions
10561 copied from old default values of `font-lock-warning-face',
10562 `compilation-warning', `compilation-info' (bug#6117).
10563
10564 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10565
10566 * progmodes/compile.el (compilation-error): Inherit from `error'.
10567 (compilation-warning): Inherit from `warning'.
10568 (compilation-info): Inherit from `success'.
10569
10570 * dired.el (dired-marked): Inherit from `warning'.
10571 (dired-flagged): Inherit from `error'.
10572
10573 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10574
10575 * mail/smtpmail.el (auth-source): Require to avoid problems with
10576 binding variables (bug#9298). Also clean up some unused
10577 autoloads.
10578
10579 * net/network-stream.el (network-stream-open-starttls):
10580 Support using starttls.el without using gnutls-cli.
10581
10582 2011-08-17 Juri Linkov <juri@jurta.org>
10583
10584 * progmodes/grep.el (rgrep): Handle the case when
10585 `grep-find-command' is a cons cell (bug#9278).
10586
10587 2011-08-17 Martin Rudalics <rudalics@gmx.at>
10588
10589 * window.el (display-buffer-pop-up-frame): Run frame creation
10590 function with BUFFER current (as special-display-popup-frame
10591 does). Reported by Drew Adams.
10592
10593 2011-08-17 Daiki Ueno <ueno@unixuser.org>
10594
10595 * epa-mail.el: Simplify GnuPG group expansion using
10596 epg-expand-group.
10597 (epa-mail-group-alist, epa-mail-group-modtime)
10598 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10599 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10600 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10601 Remove.
10602
10603 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
10604
10605 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10606
10607 2011-08-16 Alan Mackenzie <acm@muc.de>
10608
10609 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10610 Correct, to avoid the inside of macros.
10611
10612 2011-08-16 Richard Stallman <rms@gnu.org>
10613
10614 * epa-mail.el: Handle GnuPG group definitions.
10615 (epa-mail-group-alist, epa-mail-group-modtime)
10616 (epa-mail-gnupg-conf-file): New variables.
10617 (epa-mail-parse-groups, epa-mail-sync-groups)
10618 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10619 (epa-mail-expand-recipients): New functions.
10620 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10621
10622 * mail/rmail.el (rmail-epa-decrypt): New command.
10623
10624 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10625 Don't bind buffer-read-only, just inhibit-read-only.
10626 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10627 (epa-decrypt-armor-in-region): Make error message clearer.
10628
10629 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10630
10631 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10632 and "a2b" to "ab" for `prefix'.
10633
10634 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10635
10636 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10637 filter groups.
10638 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10639 Fourquet (Bug#8804).
10640
10641 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10642
10643 * startup.el (argi): Declare as global variable (bug#9275).
10644
10645 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10646
10647 * subr.el (string-mark-left-to-right): Search the entire string
10648 for RTL script, not just the terminating character. Doc fix.
10649
10650 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10653 New function.
10654 (js--regexp-literal, js-syntax-propertize-function): Remove.
10655 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10656 (js-mode-map): Don't rebind electric keys.
10657 (js-insert-and-indent): Remove.
10658 (js-mode): Setup electric-layout and electric-indent instead.
10659
10660 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10661
10662 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10663
10664 * epa.el (epa-progress-callback-function): Fix the logic of
10665 displaying progress.
10666 * epa-file.el (epa-file-insert-file-contents): Make progress
10667 display more user-friendly.
10668 (epa-file-write-region): Ditto.
10669
10670 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10671
10672 * subr.el (string-mark-left-to-right): New function.
10673
10674 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10675 Use string-mark-left-to-right.
10676 (list-buffers-noselect): Caller changed.
10677
10678 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10679 Use string-mark-left-to-right.
10680 (tabulated-list-print): Recenter after moving point.
10681
10682 2011-08-10 Juri Linkov <juri@jurta.org>
10683
10684 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10685 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10686 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10687
10688 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10691 (Bug#7554).
10692
10693 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10694
10695 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10696 character. (Bug#6594)
10697
10698 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10699
10700 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10701 (image-dired--with-db-file): New macro.
10702 (image-dired-write-tags, image-dired-remove-tag)
10703 (image-dired-create-gallery-lists, image-dired-write-comments)
10704 (image-dired-get-comment, image-dired-mark-tagged-files)
10705 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10706 (image-dired-gallery-generate): Use insert-file-contents.
10707
10708 * time.el (display-time-world-list, display-time-world-display):
10709 * time-stamp.el (time-stamp-string):
10710 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10711 set-time-zone-rule (Bug#7337).
10712
10713 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10714
10715 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10716 (epg-error-to-string, epg-errors-to-string): New function.
10717 (epg-wait-for-completion): Reverse errors list.
10718 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10719 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10720 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10721 (epg-sign-keys, epg-generate-key-from-file)
10722 (epg-generate-key-from-string): Format errors by using
10723 epg-errors-to-string (bug#9255).
10724 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10725
10726 2011-08-07 Juri Linkov <juri@jurta.org>
10727
10728 * faces.el (list-faces-display): Remove extra angle bracket
10729 from `help-mode-map'.
10730
10731 * info.el (Info-history-toc-nodes): Doc fix.
10732
10733 * longlines.el (longlines-mode): Doc fix.
10734
10735 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10736
10737 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10738 of statements and in a few more cases (bug#9183).
10739
10740 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10741 New functions.
10742 (cl-transform-lambda): Use them (bug#9239).
10743
10744 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10745
10746 * window.el (display-buffer-same-window)
10747 (display-buffer-same-frame, display-buffer-other-window)
10748 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10749 (pop-to-buffer-other-window)
10750 (pop-to-buffer-same-frame-other-window)
10751 (pop-to-buffer-other-frame): Make them defuns.
10752 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10753
10754 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * subr.el (make-composed-keymap): Move from C. Change calling
10757 convention, and improve docstring to bring attention to a subtle point.
10758 * minibuffer.el (completing-read-default): Adjust accordingly.
10759
10760 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10761
10762 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10763 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10764
10765 * net/trampver.el: Update release number.
10766
10767 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10768
10769 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10770 "in" (bug#9190).
10771
10772 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10773
10774 * mail/sendmail.el (sendmail-query-once): Restore the current
10775 buffer after querying (bug#9074).
10776
10777 * dired.el (dired-flagged): Use different faces for marked and
10778 flagged files (bug#6117).
10779
10780 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10781 (bug#4433).
10782
10783 * ido.el (ido-mode): Switch off the message if called
10784 non-interactively.
10785
10786 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10787 before 587, since it appears that that's more likely to work for
10788 more people.
10789
10790 * cus-edit.el (custom-file): When running under emacs -q, always
10791 refuse to save the customizations, even if the .emacs file doesn't
10792 exist.
10793
10794 * info.el: Remove the `Info-beginning-of-buffer' function
10795 (bug#8325).
10796
10797 * net/network-stream.el (network-stream-open-starttls):
10798 Use `starttls-available-p' to see whether starttls.el can be used.
10799
10800 2011-08-01 Martin Rudalics <rudalics@gmx.at>
10801
10802 * window.el (display-buffer-in-window): Don't set dedicated status
10803 of window here (Bug#9215).
10804 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10805 (display-buffer-pop-up-side-window)
10806 (display-buffer-in-side-window): Set dedicated status of window here.
10807
10808 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10811 before binding generated-autoload-file.
10812
10813 2011-08-01 Deniz Dogan <deniz@dogan.se>
10814
10815 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10816
10817 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
10818
10819 Sync with Tramp 2.2.2.
10820
10821 * net/trampver.el: Update release number.
10822
10823 2011-07-30 Juri Linkov <juri@jurta.org>
10824
10825 * dired-aux.el (dired-touch-initial): Remove function.
10826 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10827 current time, and `default' to the last modification time of the
10828 current marked file (bug#6887).
10829
10830 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10831
10832 * simple.el (goto-line): Use string-to-number to provide a
10833 numeric argument to read-number (bug#9163).
10834
10835 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
10836
10837 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10838 connection process, it could be nil.
10839
10840 2011-07-27 Leo Liu <sdl.web@gmail.com>
10841
10842 Simplify url handling in rcirc-mode.
10843
10844 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10845 (rcirc-browse-url-at-mouse): Remove.
10846 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10847
10848 2011-07-26 Alan Mackenzie <acm@muc.de>
10849
10850 Fontify bitfield declarations properly.
10851
10852 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10853 (c-symbol-chars): Now exported as a lang variable.
10854 (c-not-primitive-type-keywords): New lang variable.
10855
10856 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10857 QT keyword "more" to prevent "more slots: ...." being spuriously
10858 parsed as a bitfield declaration.
10859
10860 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10861 Refactor and enhance to handle bitfield declarations.
10862 (c-punctuation-in): New function.
10863 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10864 declarations properly.
10865
10866 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
10867
10868 * calendar/icalendar.el (icalendar--all-events): Take care of
10869 multiple vcalendars in a single file.
10870 (icalendar--convert-float-to-ical): Checkdoc fixes.
10871
10872 2011-07-25 Deniz Dogan <deniz@dogan.se>
10873
10874 * image.el (insert-image): Clarifying docstring.
10875
10876 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10877
10878 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10879 `tramp-send-command-and-check' if there is no error.
10880 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10881
10882 2011-07-22 Alan Mackenzie <acm@muc.de>
10883
10884 Prevent cc-langs.elc being loaded at run time.
10885
10886 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10887 cc-langs.
10888
10889 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10890 "(require 'cc-langs)". Quote a form so it will evaluate at
10891 (cc-mode's) compilation time.
10892
10893 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10894
10895 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10896 loading. (Bug#9114)
10897
10898 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10899
10900 * window.el (display-buffer-pop-up-window)
10901 (display-buffer-pop-up-side-window)
10902 (display-buffer-in-side-window): Call display-buffer-set-height
10903 and display-buffer-set-width after setting the new window's
10904 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10905
10906 2011-07-20 Sam Steingold <sds@gnu.org>
10907
10908 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10909 (etags-tags-included-tables): Call `convert-standard-filename' on
10910 the file names contained in TAGS so that windows Emacs can handle
10911 TAGS files created by cygwin ctags.
10912
10913 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10914
10915 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10916 which apparently didn't work.
10917
10918 2011-07-19 Roland Winkler <winkler@gnu.org>
10919
10920 * proced.el (proced-send-signal): For *Marked Processes* buffer
10921 put point at beginning of buffer.
10922
10923 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10924
10925 * proced.el (proced-format): Make header lines align with the text
10926 (bug#1779).
10927
10928 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10929
10930 * view.el (view-buffer): Allow running in `special' modes if we're
10931 visiting a file (bug#8615).
10932
10933 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10934
10935 * window.el (display-buffer-alist-of-strings-p)
10936 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10937 New functions.
10938 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10939 more accurately.
10940
10941 2011-07-18 Alan Mackenzie <acm@muc.de>
10942
10943 Fontify declarators properly when, e.g., a jit-lock chunk begins
10944 inside a declaration.
10945
10946 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10947
10948 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10949 New function.
10950 (c-complex-decl-matchers): Insert reference to
10951 c-font-lock-enclosing-decls.
10952
10953 * progmodes/cc-engine.el (c-backward-single-comment):
10954 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10955 to nil around calls to (forward-comment -1).
10956
10957 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10958
10959 * image.el (put-image): Doc typo fix.
10960
10961 * progmodes/etags.el (tags-search): Doc typo fix.
10962
10963 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10964 password if we get errors 550 to 554.
10965
10966 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10967
10968 * net/gnutls.el (gnutls-log-level): Remove.
10969
10970 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10971 indentation character (bug#6380).
10972
10973 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10974
10975 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10976 to clarify what the problem is (bug#4291).
10977
10978 * simple.el (current-kill): Clarify what
10979 `interprogram-paste-function' does (bug#7500).
10980 (auto-fill-mode): Document `auto-fill-function' in relation to
10981 `auto-fill-mode' (bug#2470).
10982
10983 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10984
10985 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10986 method if slot is read-only (bug#9035).
10987
10988 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10989
10990 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10991 * window.el (pop-to-buffer): Select window used even if it was
10992 selected before, see discussion of (Bug#8615), (Bug#6954).
10993 Pass argument NORECORD on to select-frame-set-input-focus.
10994
10995 2011-07-15 Glenn Morris <rgm@gnu.org>
10996
10997 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10998 Respect help-form.
10999
11000 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11001
11002 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11003 (gnutls-negotiate): Use it.
11004
11005 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11006
11007 * net/gnutls.el (gnutls-negotiate):
11008 Upcase `gnutls-algorithm-priority'.
11009
11010 2011-07-15 Glenn Morris <rgm@gnu.org>
11011
11012 * jka-compr.el (jka-compr-verbose): Move from here...
11013 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11014 Add missing :version tag.
11015 * info.el: No need to require jka-compr when compiling.
11016
11017 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11018
11019 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11020 (gnutls-negotiate): Use it.
11021
11022 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11023
11024 * info.el (Info-beginning-of-buffer): New command.
11025 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11026 announcing `b' as the key (bug#8325).
11027 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11028
11029 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11030
11031 * international/mule-cmds.el
11032 (describe-specified-language-support): Make the error message
11033 clearer (bug#8905).
11034
11035 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11036
11037 * isearch.el (isearch-barrier): Add a doc string, since it's
11038 mentioned in a function doc string (bug#8678).
11039
11040 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11041
11042 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11043 buffer argument (Bug#9083) and self-identifying label argument.
11044
11045 2011-07-15 Glenn Morris <rgm@gnu.org>
11046
11047 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11048
11049 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11050
11051 * man.el (Man-fontify-manpage): Fix message when formatting the
11052 man page (bug#7929).
11053
11054 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11055
11056 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11057 argument LRM; if non-nil, append an invisible LRM character to the
11058 buffer name.
11059 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11060 last argument non-nil, when formatting buffer names.
11061 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11062 paragraph direction.
11063
11064 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11065
11066 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11067 the man page name (bug#7929).
11068
11069 * image.el (put-image): Mention the `put-image' overlay property
11070 (bug#7834).
11071
11072 * scroll-bar.el (set-scroll-bar-mode): Mention that
11073 `scroll-bar-mode' lists the values (bug#7772).
11074
11075 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11076 command (bug#7729).
11077
11078 * rect.el (apply-on-rectangle): Return the point after the last
11079 operation.
11080 (string-rectangle): Go to the point after the last operation
11081 (bug#7522).
11082
11083 * printing.el (pr-toggle-region): Clarify the documentation
11084 slightly (bug#7493).
11085
11086 * time.el (display-time-update):
11087 Allow `display-time-mail-function' to return nil (bug#7158).
11088 Fix suggested by Detlev Zundel.
11089
11090 * vc/diff.el (diff): Clarify the order the file names are read
11091 (bug#7111).
11092
11093 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11094 the doc string (bug#7015).
11095
11096 * font-lock.el (font-lock-maximum-decoration): Mention what
11097 numeric levels mean (bug#6935).
11098
11099 * startup.el (initial-buffer-choice): Don't mention the `none'
11100 selection, which is against policy.
11101
11102 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11103
11104 * window.el (display-buffer-normalize-special):
11105 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11106
11107 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11108
11109 * subr.el (version<, version<=, version=): Mention "-CVS" and
11110 "-12345" alpha version numbers.
11111
11112 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11113
11114 * bindings.el: Add advertised binding for set-mark-command
11115 (Bug#5772).
11116
11117 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11118
11119 * bindings.el (mode-line-other-buffer):
11120 * bookmark.el (bookmark-bmenu-2-window):
11121 * bs.el (bs-cycle-next, bs-cycle-previous):
11122 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11123 switch-to-buffer.
11124
11125 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11126 Delete.
11127
11128 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11129
11130 * follow.el (follow-debug-message, follow-redisplay):
11131 * jka-cmpr-hook.el (with-auto-compression-mode):
11132 Fix typos in docstrings.
11133
11134 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11135
11136 * subr.el (with-silent-modifications): Clarify somewhat what the
11137 macro inhibits (bug#6525).
11138
11139 * simple.el (eval-expression): Note what it does if called
11140 interactively (bug#6495).
11141
11142 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11143
11144 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11145 Use pop-to-buffer buffer-or-name if it is nil.
11146
11147 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11148 Remove switch-to-buffer.
11149
11150 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11151
11152 * files.el (make-directory): Clarify that an error will be raised
11153 if there's an error (bug#6397).
11154
11155 * startup.el (initial-buffer-choice): Add `none' as a choice
11156 (bug#6234).
11157
11158 * subr.el (add-hook): Clarify section about buffer-local hooks
11159 (bug#6218).
11160
11161 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11162
11163 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11164
11165 * tabify.el (untabify): Preserve the current column so that point
11166 doesn't move (bug#6032).
11167
11168 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11169
11170 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11171 Rewrite to avoid awkward possessive "s" (bug#5986).
11172
11173 2011-07-13 Glenn Morris <rgm@gnu.org>
11174
11175 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11176 (dired-insert-directory): Give a message the first time
11177 if ls is found not to support --dired.
11178
11179 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11180
11181 * simple.el (toggle-truncate-lines): Clarify what is toggled
11182 (bug#5580). Text by Drew Adams.
11183
11184 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11185
11186 * simple.el (blink-matching-open): Make the error message from the
11187 last change less verbose.
11188
11189 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11190
11191 * font-lock.el (font-lock-comment-face): Use the high contrast
11192 "yellow" color for font-lock-comment-face on low color terminals
11193 using a dark background color (bug#4221).
11194
11195 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11196
11197 * dired.el (dired-insert-set-properties): Make the doc string
11198 reflect what it does now (bug#5325).
11199
11200 * simple.el (blink-matching-open): Say that we were unable to find
11201 the match within the limit, if we're limited (bug#5122).
11202
11203 * international/mule-cmds.el (prefer-coding-system): Add an
11204 example (bug#4869).
11205
11206 * progmodes/etags.el (tags-search): Document `file-list-form'
11207 (bug#4731).
11208
11209 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11210
11211 * net/browse-url.el (browse-url-default-browser)
11212 (browse-url-browser-function): Make the default browser choice a
11213 bit more logical (bug#4300). Also clean up the doc string.
11214
11215 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11216
11217 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11218 binary endings (bug#4440).
11219
11220 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11221
11222 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11223 which can be pretty annoying (bug#8971).
11224
11225 * jka-compr.el (jka-compr-verbose): New variable, and use
11226 throughout (bug#8971).
11227
11228 * info.el (Info-find-file): Fall back on the installation
11229 directory if we can't find the info node anywhere else.
11230
11231 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11232
11233 * vc/vc.el (vc-revert-file):
11234 Don't set file time-stamp in the past. (Bug#5181)
11235
11236 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11237
11238 * files.el (after-find-file): Give a better error message when
11239 trying to find a symlink that points to a file that doesn't exist
11240 (bug#4398).
11241
11242 * progmodes/cc-vars.el: Remove (probably) misleading comment
11243 (bug#4396).
11244
11245 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11246
11247 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11248
11249 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11250
11251 * mouse-sel.el: Hack restoring functionality, while keeping
11252 compatibility with 2010-07-03 changes to mouse selection.
11253 (mouse-sel-primary-overlay): New var.
11254 (mouse-sel-selection-alist): Use it.
11255 (mouse-sel-mode): Doc fix; remove points that are default features
11256 of mouse.el.
11257
11258 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11259
11260 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11261 Fix previous fix (bug#2490).
11262
11263 2011-07-12 Roland Winkler <winkler@gnu.org>
11264
11265 * textmodes/bibtex.el (bibtex-initialize):
11266 Use pop-to-buffer-same-window.
11267 (bibtex-search-entries): Fix interactive call.
11268
11269 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11270
11271 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11272 Fontise bytecomp Error lines more correctly (bug#2490).
11273 Fix suggested by Johan Bockgård.
11274
11275 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11276
11277 * dired-x.el (dired-guess-default): Use `delete-dups'.
11278
11279 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11280
11281 * dired.el (dired-mark-prompt):
11282 * dired-aux.el (dired-read-shell-command): Doc fix.
11283
11284 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11285
11286 * mail/sendmail.el (sendmail-query-once):
11287 Use `customize-save-variable' unconditionally, now that it works under
11288 emacs -Q.
11289
11290 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11291
11292 * cus-edit.el (custom-file): Take an optional no-error variable.
11293 (customize-save-variable): Set the variable, and give a warning if
11294 running under "emacs -q".
11295
11296 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11297
11298 * loadhist.el (unload-feature-special-hooks):
11299 Add `auto-coding-functions', `fill-nobreak-predicate' and
11300 `find-directory-functions' (bug#5327).
11301
11302 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11303
11304 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11305
11306 * cus-edit.el (custom-guess-name-alist): -alist variables should
11307 use the `alist' type (bug#3120). Suggested by Drew Adams.
11308
11309 * printing.el: Add documentation to all the `pr-toggle-' commands.
11310
11311 2011-07-11 Leo Liu <sdl.web@gmail.com>
11312
11313 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11314 backends where it makes sense (bug#2623).
11315
11316 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11317
11318 * dired-x.el (dired-guess-default): Remove duplicate shell command
11319 entries (bug#2028).
11320 (dired-guess-default): Fix grammar in doc string (bug#2028).
11321 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11322
11323 * subr.el (remove-duplicates): New conveniency function.
11324
11325 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11326
11327 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11328 (bug#1526).
11329
11330 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11331
11332 * window.el (display-buffer-normalize-default): Don't invert
11333 meaning of even-window-heights. Reported by Eli Zaretskii
11334 <eliz@gnu.org>.
11335
11336 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11337
11338 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11339
11340 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11341
11342 * window.el (display-buffer): Fix arguments to
11343 display-buffer-reuse-window in last change.
11344
11345 * faces.el (link): Use a less saturated blue on light backgrounds.
11346
11347 * startup.el (fancy-startup-text, fancy-about-text)
11348 (fancy-startup-tail): Use font-lock faces, for background safety.
11349
11350 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11351
11352 * emulation/viper-cmd.el (viper-change-state-to-vi):
11353 Limit triggering of abbrev expansion (Bug#9038).
11354
11355 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11356
11357 * window.el (display-buffer-default-specifiers): Remove.
11358 (display-buffer-macro-specifiers): Remove default specifiers.
11359 (display-buffer-alist): Default to nil.
11360 (display-buffer-reuse-window): New optional argument other-window.
11361 (display-buffer-pop-up-window): Allow splitting internal
11362 windows. Check whether a live window was created.
11363 (display-buffer-other-window-means-other-frame)
11364 (display-buffer-normalize-arguments): Rename to
11365 display-buffer-normalize-argument and rewrite. Set the
11366 other-window specifier.
11367 (display-buffer-normalize-special): New function.
11368 (display-buffer-normalize-options): Rename to
11369 display-buffer-normalize-default and rewrite.
11370 (display-buffer-normalize-options-inhibit): Remove.
11371 (display-buffer-normalize-specifiers): Rewrite.
11372 (display-buffer): Process other-window specifier and call
11373 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11374 more faithfully.
11375 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11376 (display-buffer-alist-set): Don't handle 'unset default values.
11377 (display-buffer-in-window, display-buffer-alist-set):
11378 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11379 <tassilo@member.fsf.org>.
11380
11381 2011-07-09 Leo Liu <sdl.web@gmail.com>
11382
11383 * register.el (insert-register): Restore accidental change on
11384 2011-06-26. (Bug#9028)
11385
11386 2011-07-09 Glenn Morris <rgm@gnu.org>
11387
11388 * subr.el (remq): Handle the empty list. (Bug#9024)
11389
11390 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11391
11392 * mail/sendmail.el (send-mail-function): No longer delay custom
11393 initialization.
11394 * custom.el (custom-initialize-delay): Doc fix.
11395
11396 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11397
11398 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11399
11400 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11401
11402 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11403 human-friendly prompt.
11404
11405 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11408 provided by a particular plugin.
11409
11410 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11411
11412 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11413 save customizations (with "emacs -Q"), just set the variable
11414 instead of erroring out.
11415
11416 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11417
11418 2011-07-08 Juri Linkov <juri@jurta.org>
11419
11420 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11421 (archive-zip-update-case): Use 7z if found by `executable-find'.
11422 The order of searching the available programs is the same as in
11423 `archive-zip-extract' (bug#8968).
11424
11425 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11426
11427 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11428 (menu-bar-options-menu): Tweak descriptions.
11429
11430 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11431
11432 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11433 menu items into verb phrases (bug#1421). Also refill to fit under
11434 80 columns.
11435
11436 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11437
11438 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11439 (Info-read-node-name): Doc fix (Bug#1084).
11440
11441 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11442 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11443 (end-of-sexp, beginning-of-sexp)
11444 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11445 (forward-symbol, forward-same-syntax, word-at-point)
11446 (sentence-at-point): Doc fix (Bug#1144).
11447
11448 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11449
11450 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11451 should cover it (bug#1281).
11452
11453 * cus-edit.el (custom-show): Mark as obsolete.
11454
11455 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11456 negotiation fails, then possibly try again with a non-encrypted
11457 connection (bug#9017).
11458
11459 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11460 be used.
11461
11462 2011-07-07 Richard Stallman <rms@gnu.org>
11463
11464 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11465 property, and handle its changed format.
11466 Look for the correct line number.
11467 Use file's line contents (but not past first =) to find
11468 correct line in message.
11469
11470 2011-07-07 Kenichi Handa <handa@m17n.org>
11471
11472 * international/characters.el (build-unicode-category-table):
11473 Delete it.
11474 (unicode-category-table): Set it by unicode-property-table-internal.
11475
11476 * international/mule-cmds.el (char-code-property-alist): Move to
11477 to src/chartab.c.
11478 (get-char-code-property): Call unicode-property-table-internal to
11479 load a file. Call get-unicode-property-internal where necessary.
11480 (put-char-code-property): Call unicode-property-table-internal to
11481 load a file. Call put-unicode-property-internal where necessary.
11482 put-unicode-property-internal where necessary.
11483 (char-code-property-description):
11484 Call unicode-property-table-internal to load a file.
11485
11486 * international/charprop.el:
11487 * international/uni-bidi.el:
11488 * international/uni-category.el:
11489 * international/uni-combining.el:
11490 * international/uni-comment.el:
11491 * international/uni-decimal.el:
11492 * international/uni-decomposition.el:
11493 * international/uni-digit.el:
11494 * international/uni-lowercase.el:
11495 * international/uni-mirrored.el:
11496 * international/uni-name.el:
11497 * international/uni-numeric.el:
11498 * international/uni-old-name.el:
11499 * international/uni-titlecase.el:
11500 * international/uni-uppercase.el: Regenerate.
11501
11502 * loadup.el: Load international/charprop.el before
11503 international/characters.
11504
11505 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11506
11507 * window.el (next-buffer, previous-buffer): Signal an error if
11508 called from a minibuffer window.
11509
11510 * bindings.el: Revert 2011-07-04 change.
11511
11512 2011-07-06 Richard Stallman <rms@gnu.org>
11513
11514 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11515 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11516 Treat markers like ints.
11517 (rmail-mime-entity): Doc fix.
11518
11519 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11520
11521 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11522 defcustom again for backwards compatibility.
11523
11524 * simple.el (shell-command-on-region): Fill.
11525
11526 * dired-aux.el (dired-kill-line): Add a doc string.
11527
11528 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11529 to "\\sw\\|\\s_" (bug#358).
11530
11531 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11532 (dired-unmark-backward): Ditto.
11533 (dired-flag-backup-files): Ditto.
11534
11535 * dired-x.el (dired-mark-sexp): Ditto.
11536
11537 2011-07-06 Richard Stallman <rms@gnu.org>
11538
11539 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11540 (rmail-mime-entity): New arg TRUNCATED.
11541 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11542 New functions.
11543 (rmail-mime-save): Warn if entity is truncated.
11544 (rmail-mime-toggle-hidden): Likewise, for showing.
11545 (rmail-mime-process-multipart): Record when an entity is truncated.
11546
11547 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11548 if ENTITY is a string.
11549
11550 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11551
11552 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11553 of faces when `M-C-x'-ing their definitions (bug#8378).
11554 Also clean up the code slightly.
11555
11556 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11557 because that makes the colors go away.
11558
11559 * mail/sendmail.el (send-mail-function): Change the default to
11560 `sendmail-query-once'.
11561 (sendmail-query-once): Add an autoload cookie.
11562
11563 * net/network-stream.el (network-stream-open-starttls): Try using
11564 a plain connection even if the server offered STARTTLS, and we
11565 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11566 capability. This should make smtpmail.el work in slightly more
11567 configurations.
11568
11569 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
11570
11571 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11572 New defun.
11573 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11574
11575 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11576
11577 * progmodes/sql.el: Version 3.0
11578 (sql-product-alist): Add product :completion-object,
11579 :completion-column, and :statement attributes.
11580 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11581 (sql-mode-syntax-table): Mark all punctuation.
11582 (sql-font-lock-keywords-builder): Temporarily remove fallback on
11583 ansi keywords.
11584 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11585 (sql-mode-oracle-font-lock-keywords): Improve.
11586 (sql-oracle-show-reserved-words): New function for development.
11587 (sql-product-font-lock): Simplify for source code buffers.
11588 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11589 New functions.
11590 (sql-highlight-product): Set product specific syntax table.
11591 (sql-mode-map): Add statement movement functions.
11592 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11593 New variable.
11594 (sql-statement-regexp, sql-beginning-of-statement)
11595 (sql-end-of-statement, sql-signum): New functions.
11596 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11597 (sql-show-sqli-buffer): Bug fix.
11598 (sql-interactive-mode): Store connection data as buffer local.
11599 (sql-connect): Add NEW-NAME parameter. Redesign interaction
11600 with sql-interactive-mode.
11601 (sql-save-connection): Save buffer local settings.
11602 (sql-connection-menu-filter): Change menu entry name.
11603 (sql-product-interactive): Bug fix.
11604 (sql-preoutput-hold): New variable.
11605 (sql-interactive-remove-continuation-prompt): Bug fixes.
11606 (sql-debug-redirect): New variable.
11607 (sql-str-literal): New function.
11608 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11609 Redesign.
11610 (sql-oracle-save-settings, sql-oracle-restore-settings)
11611 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11612 (sql-completion-object, sql-completion-column)
11613 (sql-completion-sqlbuf): New variables.
11614 (sql-build-completions-1, sql-build-completions)
11615 (sql-try-completion): New functions.
11616 (sql-read-table-name): Use them.
11617 (sql-contains-names): New buffer local variable.
11618 (sql-list-all, sql-list-table): Use it.
11619 (sql-oracle-completion-types): New variable.
11620 (sql-oracle-completion-object, sql-sqlite-completion-object)
11621 (sql-postgres-completion-object): New functions.
11622
11623 2011-07-06 Glenn Morris <rgm@gnu.org>
11624
11625 * window.el (pop-to-buffer): Doc fix.
11626
11627 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11628
11629 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11630
11631 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11632
11633 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11634
11635 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11636
11637 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11638
11639 * button.el (button): Inherit from link face. Suggested by Dan
11640 Nicolaescu.
11641
11642 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * progmodes/gdb-mi.el: Fit in 80 columns.
11645 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11646 switch-to-buffer.
11647
11648 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11649 if imenu is simply not configured (bug#8941).
11650
11651 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11652
11653 * allout.el (allout-post-undo-hook): New allout outline-change
11654 event hook to signal undo activity.
11655 (allout-post-command-business): Run allout-post-undo-hook if an
11656 undo just occurred.
11657 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11658 * allout-widgets.el (allout-widgets-after-undo-function):
11659 Ensure the integrity of the current item's decoration after it has been
11660 in the vicinity of an undo.
11661 (allout-widgets-mode): Include allout-widgets-after-undo-function
11662 on the new allout-post-undo-hook.
11663
11664 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11667 Let define-derived-mode define it.
11668 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11669 cycles of abbrev-table inheritance (bug#8998).
11670
11671 2011-07-05 Roland Winkler <winkler@gnu.org>
11672
11673 * textmodes/bibtex.el: Add support for biblatex.
11674 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11675 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11676 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11677 (bibtex-entry-alist, bibtex-field-alist): New variables.
11678 (bibtex-entry-field-alist): Obsolete alias for
11679 bibtex-BibTeX-entry-alist.
11680 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11681 (bibtex-set-dialect): New command.
11682 (bibtex-entry-type, bibtex-entry-head)
11683 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11684 Bind via bibtex-set-dialect.
11685 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11686 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11687 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11688 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11689 Define via bibtex-set-dialect.
11690 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11691 Obey bibtex-no-opt-remove-re.
11692 (bibtex-vec-push, bibtex-vec-incr): New functions.
11693 (bibtex-format-entry, bibtex-field-list)
11694 (bibtex-print-help-message, bibtex-validate)
11695 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11696
11697 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11698
11699 * progmodes/compile.el (compilation-goto-locus):
11700 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11701 * bs.el (bs-cycle-next, bs-cycle-previous):
11702 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11703 * bindings.el (mode-line-other-buffer):
11704 * autoinsert.el (auto-insert):
11705 * arc-mode.el (archive-extract):
11706 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11707
11708 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11709
11710 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11711 Fix check of `emacs-lock-unlockable-modes'.
11712 Coerce true values of `emacs-lock--try-unlocking' to t.
11713
11714 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11715
11716 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11717 * emacs-lock.el: New file.
11718
11719 2011-07-05 Julien Danjou <julien@danjou.info>
11720
11721 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11722 than `boundp' to check if face is set.
11723
11724 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11725
11726 * register.el (registerv-make):
11727 * window.el (window-min-height): Fix typos in docstrings.
11728
11729 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11730
11731 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11732 Update doc string.
11733
11734 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11735
11736 * server.el (server-execute): Catch quit and call
11737 `server-return-error' to pass the error back to emacsclient and
11738 close the connection (bug#8942).
11739
11740 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11741
11742 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11743 insecure exception for current topic. Also note that auto-saves
11744 are handled differently.
11745
11746 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11747 State variables for tracking auto-save inhibition situation.
11748
11749 (allout-write-contents-hook-handler): Rename from
11750 'allout-write-file-hook-handler', and describe how it depends on
11751 write-contents-functions sensitivity to non-nil value to prevent
11752 file write.
11753
11754 (allout-auto-save-hook-handler): Remove. auto-save does not check
11755 this in individual buffers, only in the starting buffer, so this
11756 is not the right way for us to inhibit auto-save in a buffer
11757 according to its condition.
11758
11759 (allout-mode): Use new allout-write-contents-hook-handler, and
11760 only with write-contents-functions. Remove auto-save provisions -
11761 they're implemented elsewhere.
11762
11763 (allout-before-change-handler): If undo is in progress, note that
11764 for attention of allout-post-command-business.
11765
11766 (allout-post-command-business): If the command we're following was
11767 an undo, check for change in the status of encrypted items and
11768 adjust auto-save inhibitions accordingly.
11769
11770 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11771 according to whether there are or aren't any plain-text topics
11772 pending encryption.
11773
11774 (allout-inhibit-auto-save-info-for-decryption):
11775 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11776 if there are plain-text topics pending encryption.
11777
11778 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11779 buffer-saved-size and some allout state to not inhibit auto-saves
11780 if there are no longer any plain-text topics pending encryption.
11781
11782 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11783 No longer provide for exemption of the current topic.
11784
11785 2011-07-04 Juri Linkov <juri@jurta.org>
11786
11787 Add 7z operations to delete and save changed members (bug#8968).
11788 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11789 New defcustoms.
11790 (archive-7z-write-file-member): New function.
11791 (archive-7z-summarize): Fix the number of dashes in the
11792 listing output.
11793
11794 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11795
11796 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11797 (bug#8958).
11798
11799 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
11800
11801 * bindings.el: Ignore next-buffer and previous-buffer in
11802 minibuffer-local-map.
11803
11804 * font-lock.el (font-lock-builtin-face): Change light background
11805 color to dark slate blue (Bug#6693).
11806
11807 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11808
11809 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11810
11811 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11812
11813 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11814 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11815 Add switch-to-buffer.
11816
11817 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11818
11819 * isearch.el (isearch-search-fun-function): Clarify further the
11820 meaning of the function returned.
11821
11822 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
11823
11824 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11825
11826 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11827 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11828 Use it.
11829 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11830 `tramp-default-remote-path' does not exist.
11831 (tramp-send-command-and-read): New optional argument NOERROR.
11832 (tramp-open-connection-setup-interactive-shell)
11833 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11834 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11835 (tramp-process-sentinel): Flush also process' connection property.
11836 (tramp-sh-handle-start-file-process): Do not set process
11837 sentinel. It is done now ...
11838 (tramp-maybe-open-connection): ... here. (Bug#8929)
11839
11840 2011-07-04 MON KEY <monkey@sandpframing.com>
11841
11842 * play/animate.el (animate-string): Doc fixes and allow changing
11843 the buffer name (bug#5417).
11844
11845 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11846
11847 * play/animate.el (animation-buffer-name): Rename from *animate*.
11848
11849 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11850
11851 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11852 This is simpler and helps future-proof the code.
11853 (timer-until): Use time-subtract and float-time.
11854 (timer--time-less-p): Use time-less-p.
11855
11856 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11857
11858 * type-break.el (timep): Use the value of `float-time' to avoid a
11859 byte-compiler warning.
11860
11861 * server.el (server-eval-and-print): Return any result, even nil.
11862
11863 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11864
11865 * type-break.el: Accept time formats that the builtins accept.
11866 (timep, type-break-time-difference): Accept any format that
11867 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11868 This is simpler and helps future-proof the code.
11869 (type-break-time-difference): Round rather than ignoring
11870 subseconds components.
11871
11872 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11873
11874 * info.el (Info-apropos-matches): Make non-interactive, since it
11875 doesn't seem to do anything useful as a command (bug#8829).
11876
11877 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11878
11879 * frame.el (frame-background-mode, frame-set-background-mode):
11880 Move from faces.el.
11881 (frame-default-terminal-background): New function.
11882
11883 * custom.el (custom-push-theme): Don't record faces in `changed'
11884 theme; this doesn't work correctly for per-frame face settings.
11885 (disable-theme): Use face-set-after-frame-default to reset faces.
11886 (custom--frame-color-default): New function.
11887
11888 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11889
11890 * dired.el (dired-flagging-regexp): Remove unused variable
11891 (bug#8769).
11892
11893 2011-03-29 Kevin Ryde <user42@zip.com.au>
11894
11895 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11896 `perl-Test2' extend to match possible "fail #N" rep count
11897 (bug#8377).
11898
11899 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11900
11901 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11902 `smtpmail-via-smtp' now returns the error instead of nil.
11903
11904 * isearch.el (isearch-search-fun-function): Clarify the doc string
11905 (bug#8101).
11906
11907 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11908
11909 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11910 unnecessary spaces (bug#8987).
11911
11912 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11913
11914 * net/network-stream.el (open-network-stream): Use the
11915 :end-of-capability command thoughout.
11916
11917 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11918
11919 * net/network-stream.el (open-network-stream): Add the
11920 :end-of-capability command parameter, used by pop3.el.
11921
11922 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11923
11924 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11925
11926 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11927 for list)" (bug#6475).
11928
11929 * files.el (file-expand-wildcards): Ignore non-readable
11930 sub-directories while trying to find matches instead of signaling
11931 an error (bug#6297).
11932
11933 * man.el (Man-reference-regexp): Allow matching possible
11934 word-wrapped references (bug#6289).
11935
11936 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11937 for consistency with the other vc buffers (bug#6197).
11938 (vc-checkin): Ditto.
11939
11940 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11941
11942 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11943
11944 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11945
11946 * custom.el (defcustom): Clarify that :set is only used in the
11947 Customize user interface (bug#6089).
11948
11949 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11950 associated with a file, refuse to run instead of erroring out
11951 (bug#6084).
11952
11953 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11954 the doc string, since it appears that using `fill-column' always
11955 controls the width (bug#7845).
11956
11957 * simple.el (shell-command-on-region): Say where the error output
11958 went if `shell-command-default-error-buffer' is set (bug#6857).
11959
11960 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11961
11962 * allout.el (allout-yank-processing): Adjust cursor position for
11963 backwards-deleted space.
11964
11965 (allout-rebullet-heading): Register changes with
11966 allout-exposure-changed-hook, so the modified topic is properly
11967 decorated.
11968
11969 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11970
11971 * minibuffer.el (completion-in-region): Document PREDICATE
11972 (bug#7136).
11973
11974 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11975 of keyword/argument pairs (bug#6904).
11976
11977 * replace.el (multi-occur):
11978 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11979
11980 2011-07-02 Drew Adams <drew.adams@oracle.com>
11981
11982 * dired.el (dired-mark-if): Make the message about whether it's
11983 marking or unmarking clearer (bug#8523).
11984
11985 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11986
11987 * disp-table.el (display-table-print-array): New function.
11988 (describe-display-table): Use it to print the vectors more pretty
11989 (Bug#8859).
11990
11991 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11992
11993 * window.el (window-state-get-1): Don't assign clone numbers.
11994 Add clone-of item to list of window parameters.
11995 (window-state-put-2): Don't process clone numbers.
11996 (display-buffer-alist): Fix doc-string.
11997
11998 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11999
12000 * subr.el (remq): Don't allocate if it's not needed.
12001 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12002 (keymap--merge-bindings): New functions.
12003 (keymap-canonicalize): Use them to refine the canonicalization.
12004 * minibuffer.el (minibuffer-local-completion-map)
12005 (minibuffer-local-must-match-map): Move initialization from C.
12006 (minibuffer-local-filename-completion-map): Move initialization from C;
12007 don't inherit from anything here.
12008 (minibuffer-local-filename-must-match-map): Make obsolete.
12009 (completing-read-default): Use make-composed-keymap to combine
12010 minibuffer-local-filename-completion-map with either
12011 minibuffer-local-must-match-map or
12012 minibuffer-local-filename-completion-map.
12013
12014 2011-07-01 Glenn Morris <rgm@gnu.org>
12015
12016 * type-break.el (type-break-time-sum): Use dolist.
12017
12018 * textmodes/flyspell.el (flyspell-word-search-backward):
12019 Replace CL function.
12020
12021 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12022
12023 * mouse.el (mouse--strip-first-event): New function.
12024 (function-key-map): Use it to map fringe clicks to normal clicks
12025 by default.
12026
12027 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12028 (vc-bzr-revision-completion-table): Add support for annotate and date.
12029
12030 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12031 inherit from parent.
12032
12033 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12034
12035 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12036 (dired-show-file-type): Doc fixup (bug#8818).
12037
12038 * dired.el (dired-mode): Fix up the doc string as suggested by
12039 Drew Adams (bug#8817).
12040
12041 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12042 cookie, since the manual says that it should be possible to add
12043 this function to `find-file-hook' (bug#8709).
12044
12045 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12046
12047 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12048 here. Noted Ted Zlatanov as the maintainer.
12049 (cfengine-common-settings, cfengine-common-syntax): New functions
12050 to set up common things between `cfengine-mode' and
12051 `cfengine3-mode'.
12052 (cfengine3-mode): New mode.
12053 (cfengine3-defuns cfengine3-defuns-regex
12054 (cfengine3-class-selector-regex cfengine3-category-regex)
12055 (cfengine3-vartypes cfengine3-font-lock-keywords)
12056 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12057 (cfengine3-indent-line): Add from cfengine3.el.
12058
12059 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12060
12061 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12062
12063 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12064
12065 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12066
12067 * window.el (same-window-buffer-names, same-window-regexps)
12068 (same-window-p, special-display-frame-alist)
12069 (special-display-popup-frame, special-display-function)
12070 (special-display-buffer-names, special-display-regexps)
12071 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12072 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12073 (split-window-preferred-function, split-height-threshold)
12074 (split-width-threshold, even-window-heights)
12075 (display-buffer-mark-dedicated, window-splittable-p)
12076 (split-window-sensibly, window-safely-shrinkable-p):
12077 Un-obsolete.
12078 (display-buffer): Don't spread args with function specifier
12079 because special-display-popup-frame won't like it.
12080
12081 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12082
12083 Time-stamp simplifications and fixes.
12084 These improve accuracy slightly, and future-proof the code
12085 against some potential changes to current-time format.
12086
12087 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12088 by using time-since and float-time.
12089
12090 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12091 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12092 + NNN microseconds".
12093
12094 * type-break.el (type-break-time-sum): Rewrite using time-add.
12095
12096 * play/hanoi.el (hanoi-current-time-float): Remove.
12097 All uses replaced by float-time.
12098
12099 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12100 This yields a more-accurate answer.
12101 (rng-time-to-float): Remove; no longer needed.
12102
12103 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12104
12105 * calendar/timeclock.el (timeclock-seconds-to-time):
12106 Defalias to seconds-to-time, since they're the same thing.
12107
12108 * emacs-lisp/elp.el (elp-elapsed-time):
12109 * emacs-lisp/benchmark.el (benchmark-elapse):
12110 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12111
12112 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12113
12114 * window.el (bury-buffer): Don't iconify the only frame.
12115 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12116 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12117
12118 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12119
12120 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12121 Add mouse-yank-primary.
12122
12123 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12124
12125 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12126
12127 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12130 (find-library-name): Use it to find relative load names when provided
12131 absolute file name (bug#8803).
12132
12133 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12134
12135 * textmodes/flyspell.el (flyspell-word): Consider words that
12136 differ only in case as potential doublons (bug#5687).
12137
12138 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12139 Remove two rather uninteresting debugging-like messages to make
12140 debbugs.el more silent.
12141
12142 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12143 a password-like phrase.
12144
12145 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12146
12147 * progmodes/cc-guess.el: New file.
12148
12149 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12150
12151 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12152 derived from `c-basic-common-init'.
12153
12154 * progmodes/cc-mode.el (top-level): Require cc-guess.
12155 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12156
12157 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12158
12159 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12160
12161 2011-06-30 Alan Mackenzie <acm@muc.de>
12162
12163 * progmodes/cc-engine.el (c-guess-continued-construct):
12164 Correct the handling of template-args-cont, particularly for when font
12165 lock is disabled. Name this case as "CASE G".
12166
12167 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12168
12169 * allout.el (allout-yank-processing): Fix injection of extra space
12170 between bullet and non-whitespace character in first topic when
12171 pasting, ensuring that the actual spacing in the pasted topic
12172 following the bullet char is preserved. This extra space was
12173 causing pasted encrypted topics to get a decrypted status even
12174 when the content was actually still encrypted. Now the decryption
12175 status from before the paste is preserved.
12176
12177 (allout-flag-region): Set all allout overlays so they evaporate
12178 when reduced to zero length (evanescent), to prevent overlay
12179 leakage.
12180
12181 2011-06-30 Glenn Morris <rgm@gnu.org>
12182
12183 * w32-fns.el (w32-charset-info-alist): Declare.
12184
12185 * find-dired.el (find-grep-options): Simplify.
12186
12187 * term/ns-win.el (ns-set-resource): Declare.
12188
12189 * ses.el (row, col): Declare dynamic variables honestly.
12190
12191 * textmodes/reftex-parse.el (index-tags): Declare.
12192
12193 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12194
12195 * cus-edit.el (customize-push-and-save): New function.
12196
12197 * files.el (hack-local-variables-confirm): Use it.
12198
12199 * custom.el (load-theme): New arg NO-CONFIRM.
12200 Use customize-push-and-save (Bug#8720).
12201 (custom-enabled-themes): Doc fix.
12202
12203 * cus-theme.el (customize-create-theme)
12204 (custom-theme-merge-theme): Callers to load-theme changed.
12205
12206 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12207
12208 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12209 short URLs have at least one dot in them (bug #7614).
12210
12211 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12212 nil, because using a pty is apparently too slow (bug #895).
12213
12214 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12215
12216 * mail/sendmail.el (sendmail-query-once): New function.
12217 (sendmail-query-once-function): New variable.
12218
12219 2011-06-29 Glenn Morris <rgm@gnu.org>
12220
12221 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12222
12223 * ses.el (top-level): Require cl when compiling.
12224 (ses-set-localvars): Fix error statement.
12225 Call it at compile time to silence a storm of warnings.
12226
12227 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12228
12229 * window.el (normalize-live-buffer): Rename to
12230 window-normalize-buffer.
12231 (normalize-live-frame): Rename to window-normalize-frame.
12232 (normalize-any-window): Rename to window-normalize-any-window.
12233 (normalize-live-window): Rename to window-normalize-live-window.
12234 (make-window-atom): Rename to window-make-atom.
12235 (window-resize-reset): Rename to window--resize-reset.
12236 (window-resize-reset-1): Rename to window--resize-reset-1.
12237 (resize-mini-window): Rename to window--resize-mini-window.
12238 (resize-subwindows-skip-p): Rename to
12239 window--resize-subwindows-skip-p.
12240 (resize-subwindows-normal): Rename to
12241 window--resize-subwindows-normal.
12242 (resize-subwindows): Rename to window--resize-subwindows.
12243 (resize-other-windows): Rename to window--resize-siblings.
12244 (resize-this-window): Rename to window--resize-this-window.
12245 (resize-root-window): Rename to window--resize-root-window.
12246 (resize-root-window-vertically): Rename to
12247 window--resize-root-window-vertically.
12248 (normalize-buffer-to-display): Rename to
12249 window-normalize-buffer-to-display.
12250 (normalize-buffer-to-switch-to): Rename to
12251 window-normalize-buffer-to-switch-to.
12252 Correspondingly update all callers of the functions listed
12253 above.
12254 (display-buffer-alist, display-buffer-normalize-arguments)
12255 (display-buffer-normalize-options, display-buffer)
12256 (display-buffer-alist-set): Use "function" instead of
12257 "fun-with-args".
12258
12259 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12260
12261 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12262 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12263 debbugs.gnu.org. Mention acknowledgment email.
12264
12265 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12266
12267 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12268 buffer multibyteness, since it shouldn't matter.
12269
12270 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12271
12272 * window.el (display-buffer-in-side-window): Handle dedicated
12273 windows as in display-buffer-reuse-window.
12274 (display-buffer-normalize-alist): Use value of override
12275 specifier.
12276 (display-buffer-normalize-specifiers): Use value of
12277 other-window-means-other-frame specifier.
12278 (display-buffer-alist): Rewrite some texts in widgets.
12279 (display-buffer): Spread arguments when calling function
12280 specified by fun-with-args.
12281
12282 2011-06-28 Deniz Dogan <deniz@dogan.se>
12283
12284 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12285 Unnest `let'.
12286
12287 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12288 selectors (Bug#5732).
12289 (css-proprietary-nmstart-re): Use `regexp-opt'.
12290
12291 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12292
12293 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12294 (eshell-ls-date-format): New defcustom.
12295 (eshell-ls-file): Use it.
12296
12297 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12300
12301 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12302
12303 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12304 (ange-ftp-make-tmp-name): New arg.
12305 (ange-ftp-file-local-copy): Use it.
12306
12307 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12308
12309 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12310 no-conversion (Bug#8870).
12311
12312 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12313
12314 * window.el (window-right, window-left, window-child)
12315 (window-child-count, window-last-child)
12316 (window-iso-combination-p, walk-window-tree-1)
12317 (window-atom-check-1, window-tree-1, delete-window)
12318 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12319 new naming conventions - window-vchild, window-hchild,
12320 window-next and window-prev are now called window-top-child,
12321 window-left-child, window-next-sibling and window-prev-sibling
12322 respectively.
12323 (resize-window-reset): Rename to window-resize-reset.
12324 (resize-window-reset-1): Rename to window-resize-reset-1.
12325 (resize-window): Rename to window-resize.
12326 (window-min-height, window-min-width)
12327 (resize-mini-window, resize-this-window, resize-root-window)
12328 (resize-root-window-vertically, adjust-window-trailing-edge)
12329 (enlarge-window, shrink-window, maximize-window)
12330 (minimize-window, delete-window, quit-restore-window)
12331 (split-window, balance-windows, balance-windows-area-adjust)
12332 (balance-windows-area, window-state-put-2)
12333 (display-buffer-even-window-sizes, display-buffer-set-height)
12334 (display-buffer-set-width, set-window-text-height)
12335 (fit-window-to-buffer): Rename all "resize-window" prefixed
12336 calls to use the "window-resize" prefix convention.
12337 (display-buffer-alist): Fix symbol for label specifier.
12338 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12339 corresponding specifier.
12340 Reported by Juanma Barranquero <lekktu@gmail.com>.
12341
12342 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12343
12344 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12345 convention.
12346 (ses-call-printer): Does not pass an empty string to formatter when the
12347 cell is empty to keep from barking printer Calc math-format-value.
12348
12349 2011-06-27 Richard Stallman <rms@gnu.org>
12350
12351 * battery.el (battery-mode-line-limit): New variable.
12352 (battery-update): Handle it.
12353
12354 * mail/rmailmm.el (rmail-mime-process-multipart):
12355 Handle truncated messages.
12356
12357 2011-06-27 Glenn Morris <rgm@gnu.org>
12358
12359 * progmodes/flymake.el (flymake-err-line-patterns):
12360 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12361
12362 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12363
12364 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12365 (ses--clean-!, ses--clean-_): New functions.
12366 (ses-range): Add configurability of readout order, and conversion
12367 to Calc vector.
12368
12369 * ses.el (ses-repair-cell-reference-all): New function.
12370 (ses-cell-symbol): Set macro as safe, so that it can be used in
12371 formulas.
12372
12373 * ses.el: Update cycle detection algorithm.
12374 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12375 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12376 (ses-set-localvars): New function.
12377 (ses-make-cell): Add property-list as a cell element.
12378 (ses-cell-property-get-fun, ses-cell-property-get)
12379 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12380 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12381 New functions.
12382 (ses-cell-property-set, ses-cell-property-pop)
12383 (ses-cell-property-get-handle): New macro.
12384 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12385 New aliases, used for code readability.
12386 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12387 cycle detection.
12388 (ses-self-reference-early-detection): New defcustom.
12389 (ses-formula-references): Robustify against self-referring cells.
12390 (ses-mode): Use ses-set-localvars.
12391 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12392 before lauching the update processing.
12393 (ses-initialize-Dijkstra-attempt): New function.
12394 (ses-recalculate-cell): Update for cycle detection based on
12395 Dijkstra algorithm.
12396
12397 * ses.el: Fix commenting and indenting convention.
12398
12399 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 * bs.el (bs-cycle-next): Complete last change.
12402
12403 2011-06-27 Drew Adams <drew.adams@oracle.com>
12404
12405 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12406
12407 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12408
12409 * net/network-stream.el (network-stream-open-starttls):
12410 Don't re-get capabilities unless we've reestablished connection.
12411 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12412
12413 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12414 to binary to possibly avoid line encoding issues on Windows (among
12415 other things).
12416
12417 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12418
12419 * net/network-stream.el (open-network-stream): Return an :error
12420 saying what the problem was, if possible.
12421
12422 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12423 server.
12424
12425 * net/network-stream.el (network-stream-open-starttls): If we
12426 wanted to use STARTTLS, and the server offered it, but we weren't
12427 able to because we had no STARTTLS support, then close the connection.
12428 (open-network-stream): Return an :error element, if present.
12429
12430 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12431
12432 * hl-line.el (hl-line-sticky-flag): Doc fix.
12433 (global-hl-line-sticky-flag): New option (Bug#8323).
12434 (global-hl-line-highlight): Obey it.
12435
12436 * vc/vc.el (vc-revert-show-diff): Default to t.
12437
12438 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12439
12440 * allout-widgets.el (allout-widgets-post-command-business):
12441 Stop decorating intermediate isearch matches. They're not being
12442 undecorated when an isearch is continued past, and isearch
12443 automatically collapses them. This leads to "widget leaks", where
12444 decorated items accumulate in collapsed areas. Lines with lots of
12445 hidden widgets can slow down cursor travel, substantially.
12446 Too much complicated machinery would be needed to ensure undecoration,
12447 so we're doing without this nicety.
12448
12449 (allout-widgets-tally-string): Don't try to do a hash-table-count
12450 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12451 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12452 *Messages* when allout-widgets-maintain-tally is t.
12453
12454 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12455
12456 * window.el (display-buffer-normalize-argument): Rename to
12457 display-buffer-normalize-arguments. Handle special meaning of
12458 LABEL argument. Respect special-display-function when popping up
12459 a new frame. Fix code searching for a window showing the buffer
12460 on another frame.
12461 (display-buffer-normalize-specifiers):
12462 Call display-buffer-normalize-arguments.
12463 (display-buffer-in-window): Don't undedicate the window if its
12464 buffer remains the same.
12465 Reported by Drew Adams <drew.adams@oracle.com>.
12466 (display-buffer-alist): Add choice for same-window macro
12467 specfier.
12468 (display-buffer): Mention special meaning of LABEL argument in
12469 doc-string. Fix quoting. Don't pop up a new frame even as
12470 fallback.
12471
12472 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12473
12474 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12475 avoid deleting the current window in some cases (bug#8911).
12476
12477 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12478
12479 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12480 (Bug#8934)
12481
12482 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12483
12484 * net/network-stream.el (network-stream-open-starttls):
12485 Use built-in TLS support if `gnutls-available-p' is true.
12486 (network-stream-open-tls): Ditto.
12487
12488 2011-06-26 Leo Liu <sdl.web@gmail.com>
12489
12490 * register.el (registerv): New struct.
12491 (registerv-make): New function.
12492 (jump-to-register, describe-register-1, insert-register):
12493 Support the jump-func, print-func and insert-func slot of a registerv
12494 struct. (Bug#8415)
12495
12496 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12497
12498 * vc/vc.el (vc-revert-show-diff): New defcustom.
12499 (vc-diff-internal): New arg specifying diff buffer.
12500 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12501 reuse an existing *vc-diff* buffer (Bug#8927).
12502
12503 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12504
12505 2011-06-26 Glenn Morris <rgm@gnu.org>
12506
12507 * progmodes/f90.el (f90-critical-indent): New option.
12508 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12509 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12510 (f90-mode): Doc fix.
12511 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12512 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12513 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12514 (f90-match-end): Handle block, critical.
12515
12516 2011-06-25 Glenn Morris <rgm@gnu.org>
12517
12518 * calendar/diary-lib.el (diary-included-files): Doc fix.
12519 (diary-include-files): New function, extracted from
12520 diary-include-other-diary-files and diary-mark-included-diary-files.
12521 (diary-include-other-diary-files, diary-mark-included-diary-files):
12522 Just call diary-include-files.
12523 (diary-mark-entries): Reset diary-included-files on first call.
12524
12525 * calendar/diary-lib.el (diary-mark-entries)
12526 (diary-mark-included-diary-files):
12527 Visit included diary-files in temp buffers.
12528
12529 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12530 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12531 (f90-start-block-re, f90-imenu-generic-expression)
12532 (f90-looking-at-program-block-start, f90-no-block-limit):
12533 Add support for submodules.
12534
12535 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12536 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
12537
12538 2011-06-25 Eli Zaretskii <eliz@gnu.org>
12539
12540 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12541 buffer-file-type before setting its value, to avoid disastrous
12542 global effects on decoding files for DOS/Windows systems. (Bug#8780)
12543
12544 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12545
12546 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12547
12548 * ses.el (ses-unload-function):
12549 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12550
12551 * proced.el (proced-unload-function):
12552 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12553
12554 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12555
12556 * server.el (server-create-window-system-frame): Add parameters arg.
12557 (server-process-filter): Doc fix. Handle frame-parameters.
12558
12559 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12560
12561 Fix bug#8730, bug#8781.
12562
12563 * loadhist.el (unload--set-major-mode): New function.
12564 (unload-feature): Use it.
12565
12566 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12567 (python-unload-function): New function.
12568
12569 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12572
12573 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12574
12575 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12576 the candidates list.
12577
12578 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
12579
12580 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12581
12582 2011-06-23 Richard Stallman <rms@gnu.org>
12583
12584 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12585 (rmail-variables): Set next-error-move-function.
12586 (rmail-what-message): Take argument POS.
12587 (rmail-next-error-move): New function.
12588
12589 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12590
12591 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12592 messages for adjacent non-terminals.
12593
12594 2011-06-23 Richard Stallman <rms@gnu.org>
12595
12596 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12597 (rmail-show-message-1): Preserve buffer modified flag.
12598 (rmail-start-mail): Don't specify use of rmail-mail-return;
12599 that's done by mail-bury now.
12600 (rmail-mail-return): Handle arg NEWBUF.
12601
12602 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
12603
12604 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12605 SIZE is a number.
12606
12607 2011-06-23 Martin Rudalics <rudalics@gmx.at>
12608
12609 * window.el (get-lru-window, get-mru-window)
12610 (get-largest-window): Never return a minibuffer window.
12611 (display-buffer-pop-up-window): Fix a bug that could lead to
12612 reusing the minibuffer window.
12613 (display-buffer): Pass original specifier argument to
12614 display-buffer-function instead of the normalized one.
12615 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12616
12617 2011-06-22 Leo Liu <sdl.web@gmail.com>
12618
12619 * minibuffer.el (completing-read-function)
12620 (completing-read-default): Move from minibuf.c
12621
12622 2011-06-22 Richard Stallman <rms@gnu.org>
12623
12624 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12625 to Rmail even if not started by a special Rmail command.
12626
12627 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12628 Copy the buffer currently showing just one message.
12629
12630 2011-06-22 Roland Winkler <winkler@gnu.org>
12631
12632 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12633 (bibtex-clean-entry): First delete the old key so that a
12634 customized algorithm for generating the new key does not get
12635 confused by the old key.
12636 (bibtex-url): Obey regexp of first step.
12637 (bibtex-search-entries): Do not use add-to-list with local
12638 list-var.
12639
12640 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12641
12642 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12643 stored a user name, then query for the password first, instead of
12644 waiting for SMTP to give an error message and the trying again.
12645
12646 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12647
12648 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12649 BUFFER in call-process.
12650
12651 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12652
12653 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12654 QUIT twice.
12655 (smtpmail-try-auth-methods): Require user name and password from
12656 auth-source.
12657
12658 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12659
12660 * window.el (display-buffer-default-specifiers)
12661 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12662 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12663 (split-window): Normalize SIDE argument (Bug#8916).
12664
12665 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12666 (special-display-frame-alist, special-display-popup-frame):
12667 Remove duplicate declarations. These are now in window.el.
12668
12669 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12670
12671 * mail/smtpmail.el (smtpmail-via-smtp):
12672 Set :use-starttls-if-possible so that we always use STARTTLS if the
12673 server supports it. SMTP servers that support STARTTLS commonly
12674 require it.
12675
12676 * net/network-stream.el (network-stream-open-starttls): Support
12677 upgrading to STARTTLS always, even if we don't have built-in support.
12678 (open-network-stream): Add the :always-query-capabilities keyword.
12679
12680 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12681 upgrades with `open-network-stream', and rely solely on
12682 auth-source for all credentials. Big changes throughout the file,
12683 but in particular:
12684 (smtpmail-auth-credentials): Remove.
12685 (smtpmail-starttls-credentials): Remove.
12686 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12687 MAIL FROM, too.
12688
12689 * net/network-stream.el (network-stream-open-starttls):
12690 Provide support for client certificates both for external and built-in
12691 STARTTLS.
12692 (auth-source): Require.
12693 (open-network-stream): Document the :client-certificate keyword.
12694 (network-stream-certificate): Change cert-cert to cert and
12695 cert-key to key.
12696
12697 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12698
12699 * net/tramp-cache.el (top): Don't load the persistency file when
12700 "emacs -Q" has been called.
12701
12702 2011-06-21 Tim Harper <timcharper@gmail.com>
12703
12704 * term/ns-win.el (ns-initialize-window-system):
12705 Set application-specific `ApplePressAndHoldEnabled' system
12706 resource to NO as it is not yet supported by the NS port.
12707
12708 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12709
12710 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12711 (list-dynamic-libraries): ...not here.
12712
12713 2011-06-21 Leo Liu <sdl.web@gmail.com>
12714
12715 * subr.el (sha1): Implement sha1 using secure-hash.
12716
12717 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12718
12719 * window.el (display-buffer-alist): In default value do not
12720 enforce searching a window on any but the selected frame.
12721 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12722 (display-buffer-select-window): Remove function.
12723 (display-buffer-in-window): When a window on another frame gets
12724 reused, do not select it any more but just raise its frame if
12725 necessary (Bug#8851) and (Bug#8856).
12726 (display-buffer-normalize-options): Handle pop-up-frames related
12727 options more faithfully.
12728 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12729 window if it is on another frame.
12730 (display-buffer-alist, display-buffer-default-specifiers):
12731 Don't make new frame unsplittable by default.
12732 (display-buffer-normalize-argument): Fix doc-string typo and use
12733 'same-frame-other-window instead of 'other-window when associating
12734 with display-buffer-macro-specifiers.
12735
12736 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12737
12738 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12739 New functions.
12740 (5x5-mode-map, 5x5-mode-menu): Bind them.
12741 (5x5-draw-grid): Tweak the solver's rendering.
12742
12743 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12746 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12747
12748 2011-06-21 Drew Adams <drew.adams@oracle.com>
12749
12750 * menu-bar.el: Use function variable instead of switch-to-buffer.
12751 (menu-bar-select-buffer-function): New variable.
12752 (menu-bar-update-buffers): Use it (bug#8876).
12753
12754 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12755
12756 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12757 variable's status.
12758
12759 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12760
12761 * x-dnd.el (x-dnd-version-from-flags)
12762 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12763 and long as number (Bug#8899).
12764 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12765
12766 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12769 (completion-try-completion, completion-all-completions): Compute the
12770 metadata argument if it's missing; make it optional (bug#8795).
12771
12772 * wid-edit.el: Use lex-bind and move towards completion-at-point.
12773 (widget-complete): Use new :completion-function property.
12774 (widget-completions-at-point): New function.
12775 (default): Use :completion-function instead of :complete.
12776 (widget-default-completions): Rename from widget-default-complete;
12777 Rewrite.
12778 (widget-string-complete, widget-file-complete, widget-color-complete):
12779 Remove functions.
12780 (file, symbol, function, variable, coding-system, color):
12781 * international/mule-cmds.el (default-input-method, charset)
12782 (language-info-custom-alist):
12783 * cus-edit.el (face): Use new property :completions.
12784
12785 * progmodes/pascal.el (pascal-completions-at-point): New function.
12786 (pascal-mode): Use it.
12787 (pascal-mode-map): Use completion-at-point.
12788 (pascal-toggle-completions): Make obsolete.
12789 (pascal-complete-word, pascal-show-completions):
12790 * progmodes/octave-mod.el (octave-complete-symbol):
12791 Redefine as obsolete alias.
12792 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12793 Signal absence of completion info for old Octave,
12794 (inferior-octave-complete): Redefine as obsolete alias.
12795 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12796 (meta-completions-at-point): Rename from meta-complete-symbol and
12797 adapt it for use on completion-at-point-functions.
12798 (meta-common-mode): Use it.
12799 (meta-looking-at-backward, meta-match-buffer): Remove.
12800 (meta-complete-symbol): Redefine as obsolete alias.
12801 (meta-common-mode-map): Use completion-at-point.
12802 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12803 (makefile-mode-map): Use completion-at-point.
12804 (makefile-completions-at-point): Rename from makefile-complete and
12805 adapt it for use on completion-at-point-functions.
12806 (makefile-mode): Use it.
12807 (makefile-complete): Redefine as obsolete alias.
12808
12809 2011-06-20 Deniz Dogan <deniz@dogan.se>
12810
12811 * net/rcirc.el: Delete trailing whitespaces once and for all.
12812
12813 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12814
12815 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12816
12817 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
12818
12819 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12820
12821 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12822
12823 2011-06-19 Martin Rudalics <rudalics@gmx.at>
12824
12825 * window.el (display-buffer-other-window-means-other-frame):
12826 Call display-buffer-normalize-alist.
12827 (display-buffer-normalize-specifiers-1): Rename to
12828 display-buffer-normalize-argument. New argument other-frame.
12829 Rewrite.
12830 (display-buffer-normalize-specifiers-2): Rename to
12831 display-buffer-normalize-options.
12832 (display-buffer-normalize-alist-1): New function.
12833 (display-buffer-normalize-specifiers-3): Rename to
12834 display-buffer-normalize-alist.
12835 Call display-buffer-normalize-alist-1.
12836 (display-buffer-normalize-options-inhibit): New variable.
12837 (display-buffer-normalize-specifiers): Rewrite calling
12838 display-buffer-normalize-alist,
12839 display-buffer-normalize-argument, and
12840 display-buffer-normalize-options. Don't call the latter if
12841 display-buffer-normalize-options-inhibit is non-nil.
12842 (frame-auto-delete): New option.
12843 (window-deletable-p): Use frame-auto-delete.
12844 (window-list-no-nils, window-state-ignored-parameters)
12845 (window-state-get-1, window-state-get, window-state-put-list)
12846 (window-state-put-1, window-state-put-2, window-state-put):
12847 New functions.
12848 (display-buffer-normalize-options): Move special-display-p group
12849 after pop-up-frame group (Bug#8851) and (Bug#8856).
12850
12851 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
12852
12853 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12854 groups (Bug#8776).
12855 (rx-submatch-n): New function.
12856 (rx): Document it.
12857
12858 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12859 (Bug#8768).
12860
12861 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12862
12863 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12864
12865 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12866 anytime existing face settings are present (Bug#8889).
12867
12868 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12869 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12870 Remove unused argument.
12871
12872 2011-06-18 Martin Rudalics <rudalics@gmx.at>
12873
12874 * window.el (display-buffer-default-specifiers):
12875 Remove pop-up-frame. Add pop-up-window-min-height,
12876 pop-up-window-min-width, and another reuse-window specifier
12877 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12878 (display-buffer-normalize-specifiers-2):
12879 Handle split-height-threshold and split-width-threshold also when
12880 pop-up-windows is unset. Add a reuse-window specifier for the
12881 case popping up a new window fails.
12882 (special-display-popup-frame): Remove double quoting.
12883 (display-buffer-normalize-specifiers-1): Fix thinko.
12884
12885 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12886
12887 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12888 according to comint-completion-addsuffix.
12889
12890 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12891 (pcomplete-suffix-list): Mark as obsolete.
12892 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12893 pcomplete-seen in the closure.
12894 (pcomplete-comint-setup): Setup completion-at-point as well.
12895 (pcomplete--entries): New function.
12896 (pcomplete--env-regexp): New var.
12897 (pcomplete-entries): Rewrite to work with partial-completion and
12898 without relying on pcomplete-suffix-list.
12899 (pcomplete-pare-list): Remove, unused.
12900
12901 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12902
12903 * window.el (display-buffer-alist): Set pop-up-window-min-height
12904 and pop-up-window-min-width in default value. Reported by
12905 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12906 other-window-means-other-frame.
12907 (display-buffer-macro-specifiers): Comment out entry for
12908 other-window specifier.
12909 (display-buffer-other-window-means-other-frame): New function.
12910 (display-buffer-normalize-specifiers-1): New arguments
12911 buffer-name and label. Treat other-window case specially.
12912 (display-buffer-normalize-specifiers-2): Treat other-window case
12913 specially.
12914 (display-buffer-normalize-specifiers-3): New function.
12915 (display-buffer-normalize-specifiers):
12916 Call display-buffer-normalize-specifiers-3.
12917
12918 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12919
12920 * window.el (same-window-p): Fix two typos introduced when
12921 adding with-no-warnings.
12922 (display-buffer-normalize-specifiers-1): Don't check
12923 pop-up-frames for 'unset initialization.
12924 (display-buffer-normalize-specifiers-2): Major rewrite using
12925 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12926 (pop-up-frames, display-buffer-reuse-frames)
12927 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12928 Suggested by David Engster <deng@randomsample.de>.
12929 (even-window-heights): Initialize to 'unset.
12930 (display-buffer-alist-set): Handle new 'unset initializations.
12931 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12932 other window case.
12933
12934 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12935
12936 * window.el (display-buffer-normalize-specifiers-1):
12937 Respect current value of pop-up-frames for most reasonable values of
12938 second argument of display-buffer (Bug#8865).
12939 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12940 (switch-to-buffer-other-window-same-frame)
12941 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12942 Adams (Bug#8875).
12943 (display-buffer): Don't check noninteractive when calling
12944 display-buffer-pop-up-frame.
12945 (display-buffer-pop-up-frame): Never pop up a frame in
12946 noninteractive mode (Bug#8857).
12947 (enlarge-window, shrink-window): Don't report an error when the
12948 window can't be resized as requested (Bug#8862).
12949
12950 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12951
12952 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12953
12954 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12955
12956 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12957
12958 2011-06-15 Alan Mackenzie <acm@muc.de>
12959
12960 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12961 for declarators, disable knr checking to speed up for normal files.
12962 2: Refactor, replacing a sequence of nested if forms by a cond form.
12963
12964 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12965
12966 * net/network-stream.el (open-network-stream): Add the keyword
12967 :always-query-capabilities for the case where you want to force a
12968 `plain' network connection, but the protocol still requires the
12969 capabilitiy command (i.e., SMTP and EHLO).
12970
12971 * subr.el (process-live-p): Rename from `process-alive-p' for
12972 consistency with other `-live-p' functions.
12973
12974 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12975
12976 * window.el (same-window-buffer-names, same-window-regexps)
12977 (special-display-frame-alist, special-display-popup-frame)
12978 (special-display-function, special-display-buffer-names)
12979 (special-display-regexps, pop-up-frame-alist)
12980 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12981 (pop-up-windows, split-window-preferred-function)
12982 (split-height-threshold, split-width-threshold, even-window-heights)
12983 (display-buffer-mark-dedicated): Don't encourage the use of
12984 display-buffer-alist from Elisp code.
12985
12986 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12987
12988 * progmodes/python.el (python-mode): Derive from prog-mode.
12989 * progmodes/ps-mode.el (ps-mode):
12990 * progmodes/mixal-mode.el (mixal-mode):
12991 * progmodes/cfengine.el (cfengine-mode):
12992 * progmodes/ld-script.el (ld-script-mode): Likewise.
12993
12994 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12995
12996 * window.el (display-buffer-alist): Trim default value to avoid
12997 popping up a new frame (Bug#8857) or reusing an arbitrary window
12998 on another frame.
12999 (display-buffer): Do not fall back on popping up a new frame in
13000 batch mode (Bug#8857).
13001
13002 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13003
13004 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13005 (custom-theme-summary): New function.
13006 (customize-themes): Use it.
13007
13008 2011-06-13 Glenn Morris <rgm@gnu.org>
13009
13010 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13011
13012 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13013
13014 * help.el (help-window): Remove variable.
13015 (help-window-point-marker, temp-buffer-max-height)
13016 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13017 (help-print-return-message): Don't set help-window.
13018 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13019 (help-window-setup-finish): Remove.
13020 (help-window-display-message, help-window-setup)
13021 (with-help-window): Major rewrite based on new
13022 display-buffer-window variable.
13023
13024 * help-mode.el (help-mode-finish): Remove help-window related
13025 code.
13026
13027 * view.el (view-exits-all-viewing-windows): Remove reference to
13028 view-return-to-alist in doc-string.
13029 (view-return-to-alist): Make obsolete.
13030 (view-buffer): Call pop-to-buffer-same-window and remove
13031 undo-window code.
13032 (view-buffer-other-window): Call pop-to-buffer-other-window and
13033 simplify code. Ignore second argument.
13034 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13035 simplify code. Ignore second argument.
13036 (view-return-to-alist-update): Make obsolete.
13037 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13038 Rewrite using quit-restore window parameters.
13039 (view-mode-exit): Rename second argument to EXIT-ONLY.
13040 Rewrite using quit-restore-window.
13041 (View-exit, View-exit-and-edit, View-leave, View-quit)
13042 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13043 appropriate arguments.
13044 (view-end-message): Use quit-restore window parameter.
13045
13046 * window.el (display-buffer-function): Rewrite doc-string.
13047 (display-buffer-window, display-buffer-alist): New variables.
13048 (display-buffer-split-specifiers)
13049 (display-buffer-side-specifiers)
13050 (display-buffer-macro-specifiers): New constants.
13051 (display-buffer-even-window-sizes, display-buffer-set-height)
13052 (display-buffer-set-width, display-buffer-select-window)
13053 (display-buffer-in-window, display-buffer-reuse-window)
13054 (display-buffer-split-window-1, display-buffer-split-window)
13055 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13056 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13057 (display-buffer-in-side-window, normalize-buffer-to-display)
13058 (display-buffer-normalize-specifiers-1)
13059 (display-buffer-normalize-specifiers-2)
13060 (display-buffer-normalize-specifiers, display-buffer-frame):
13061 New functions.
13062 (display-buffer): Major rewrite.
13063 (display-buffer-other-window, display-buffer-other-frame)
13064 (pop-to-buffer, switch-to-buffer-other-window)
13065 (switch-to-buffer-other-frame): Rewrite.
13066 (display-buffer-same-window, display-buffer-same-frame)
13067 (display-buffer-same-frame-other-window)
13068 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13069 (pop-to-buffer-other-window)
13070 (pop-to-buffer-same-frame-other-window)
13071 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13072 (switch-to-buffer-other-window-same-frame): New functions.
13073 (same-window-p, special-display-p): Rewrite disabling warnings.
13074 Make obsolete.
13075 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13076 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13077 Make obsolete
13078 (same-window-buffer-names, same-window-regexps)
13079 (special-display-frame-alist, special-display-popup-frame)
13080 (special-display-function, special-display-buffer-names)
13081 (special-display-regexps, pop-up-frame-alist)
13082 (pop-up-frame-function, split-window-preferred-function)
13083 (split-height-threshold, split-width-threshold)
13084 (even-window-heights): Make obsolete.
13085
13086 2011-06-12 Glenn Morris <rgm@gnu.org>
13087
13088 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13089 Misc simplifications.
13090
13091 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13092
13093 * window.el (window-safely-shrinkable-p): Restore function which
13094 was inadvertently removed in change from 2011-06-11. Declare as
13095 obsolete.
13096
13097 * calendar/calendar.el (calendar-generate-window):
13098 Use window-iso-combined-p instead of combination of one-window-p and
13099 window-safely-shrinkable-p.
13100
13101 2011-06-12 Glenn Morris <rgm@gnu.org>
13102
13103 * progmodes/fortran.el (fortran-mode-syntax-table):
13104 * progmodes/f90.el (f90-mode-syntax-table):
13105 Set % to punctuation. (Bug#8820)
13106 (f90-find-tag-default): Remove, no longer needed.
13107
13108 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13109
13110 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13111
13112 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13113
13114 * image.el (image-animated-p): Return animation delay in seconds.
13115 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13116 (image-animate-timeout): Remove DELAY argument. Don't assume
13117 every subimage has the same delay; get it from image-animated-p.
13118 (image-animate): Caller changed.
13119
13120 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13121
13122 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13123 to ignored backtrace functions.
13124
13125 2011-06-11 Glenn Morris <rgm@gnu.org>
13126
13127 * calendar/appt.el (appt-disp-window-function): Doc fix.
13128 (appt-check): Handle overlapping appointments. (Bug#8337)
13129
13130 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13131
13132 * window.el (window-tree-1, window-tree): New functions, moving
13133 the latter to window.el.
13134 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13135 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13136 (bw-refresh-edges): Remove.
13137 (balance-windows-1, balance-windows-2): New functions.
13138 (balance-windows): Rewrite in terms of window tree functions,
13139 balance-windows-1 and balance-windows-2.
13140 (bw-adjust-window): Remove.
13141 (balance-windows-area-adjust): New function with functionality of
13142 bw-adjust-window but using resize-window.
13143 (set-window-text-height): Rewrite doc-string.
13144 Use normalize-live-window and resize-window.
13145 (enlarge-window-horizontally, shrink-window-horizontally):
13146 Rename argument to DELTA.
13147 (window-buffer-height): New function.
13148 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13149 Rewrite using new window resize routines.
13150 (kill-buffer-and-window, mouse-autoselect-window-select):
13151 Use ignore-errors instead of condition-case.
13152 (quit-window): Call delete-frame instead of delete-windows-on
13153 for the only buffer on frame.
13154
13155 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13156
13157 * loadup.el (top-level): Load window before files for the sake
13158 of replace-buffer-in-windows.
13159
13160 * files.el (read-buffer-to-switch)
13161 (switch-to-buffer-other-window)
13162 (switch-to-buffer-other-frame, display-buffer-other-frame):
13163 Move to window.el.
13164
13165 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13166 (previous-buffer): Move to window.el.
13167
13168 * bindings.el (unbury-buffer): Move to window.el.
13169
13170 * window.el (delete-other-windows-vertically): Move after
13171 definition of delete-other-windows.
13172 (other-window, delete-windows-on, replace-buffer-in-windows):
13173 Move here from window.c.
13174 (record-window-buffer, unrecord-window-buffer)
13175 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13176 (switch-to-next-buffer): New functions.
13177 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13178 from simple.el. Call switch-to-next-buffer.
13179 (previous-buffer): Move here from simple.el.
13180 Call switch-to-prev-buffer.
13181 (bury-buffer): Move here from buffer.c. Switch to previous
13182 buffer when window cannot be deleted.
13183 (unbury-buffer): Move here from bindings.el.
13184 (ctl-x-map): Move binding for other-window from window.c to
13185 here.
13186 (read-buffer-to-switch, switch-to-buffer-other-window)
13187 (switch-to-buffer-other-frame): Move here from files.el.
13188 (normalize-buffer-to-switch-to): New functions.
13189 (switch-to-buffer): Move here from buffer.c.
13190 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13191
13192 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13193
13194 * window.el (window-min-height, window-min-width): Move here
13195 from window.c. Add defcustoms and rewrite doc-strings.
13196 (resize-mini-window, resize-window): New functions.
13197 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13198 Move here from window.c.
13199 (maximize-window, minimize-window): New functions.
13200 (delete-window, delete-other-windows, split-window): Move here
13201 from window.c.
13202 (window-split-min-size): New function.
13203 (split-window-keep-point): Mention split-window-above-each-other
13204 instead of split-window-vertically.
13205 (split-window-above-each-other, split-window-vertically):
13206 Rename split-window-vertically to split-window-above-each-other
13207 and provide defalias for old definition.
13208 (split-window-side-by-side, split-window-horizontally):
13209 Rename split-window-horizontally to split-window-side-by-side
13210 and provide defalias for the old definition.
13211 (ctl-x-map): Move bindings for delete-window,
13212 delete-other-windows and enlarge-window here from window.c.
13213 Replace bindings for split-window-vertically and
13214 split-window-horizontally by bindings for
13215 split-window-above-each-other and split-window-side-by-side.
13216
13217 * cus-start.el (all): Remove entries for window-min-height and
13218 window-min-width. Add entries for window-splits and
13219 window-nest.
13220
13221 2011-06-09 Glenn Morris <rgm@gnu.org>
13222
13223 * calendar/appt.el (appt-mode-line): New function.
13224 (appt-check, appt-disp-window): Use it.
13225
13226 * files.el (hack-one-local-variable-eval-safep):
13227 Allow minor-modes with explicit +/-1 arguments.
13228
13229 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13230
13231 * term/xterm.el (xterm): Add defgroup.
13232 (xterm-extra-capabilities): Add defcustom to supply known xterm
13233 capabilities, skip querying them, or query them (default).
13234 (terminal-init-xterm): Use it.
13235 (terminal-init-xterm-modify-other-keys): New function to set up
13236 modifyOtherKeys support to simplify `terminal-init-xterm'.
13237
13238 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13239
13240 * window.el (resize-window-reset, resize-window-reset-1)
13241 (resize-subwindows-skip-p, resize-subwindows-normal)
13242 (resize-subwindows, resize-other-windows, resize-this-window)
13243 (resize-root-window, resize-root-window-vertically)
13244 (window-deletable-p, window-or-subwindow-p)
13245 (frame-root-window-p): New functions.
13246
13247 2011-06-09 Glenn Morris <rgm@gnu.org>
13248
13249 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13250 (ange-ftp-get-files): Use it.
13251
13252 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13253
13254 * mail/sendmail.el (mail-recover-1, mail-recover):
13255 * files.el (recover-file, recover-session):
13256 Handle dired-listing-switches not being just a single short option.
13257
13258 2011-06-09 Glenn Morris <rgm@gnu.org>
13259
13260 * calendar/appt.el (appt-display-message, appt-disp-window):
13261 Handle lists of appointments.
13262
13263 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13264
13265 * window.el (one-window-p): Move down in code.
13266 Rewrite doc-string.
13267 (window-current-scroll-bars): Rewrite doc-string.
13268 Normalize live window argument.
13269 (walk-windows, get-window-with-predicate, count-windows):
13270 Rewrite doc-string. Use window-list-1.
13271 (window-in-direction-2, window-in-direction, get-mru-window):
13272 New functions.
13273
13274 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13275
13276 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13277 Doc fix (Bug#8713).
13278
13279 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13280
13281 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13282
13283 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13284
13285 * loadhist.el (unload-feature-special-hooks):
13286 Add `comint-output-filter-functions'.
13287
13288 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13289
13290 * calendar/appt.el (appt-check): Move some initializations into the let.
13291
13292 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13293
13294 * window.el (window-height): Defalias to window-total-height.
13295 (window-width): Defalias to window-body-width.
13296
13297 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13298
13299 * image-mode.el (image-toggle-animation): New command.
13300 (image-mode-map): Bind it to RET.
13301 (image-mode): Update message.
13302 (image-toggle-display-image): Avoid a spurious cache flush.
13303 (image-transform-rotation): Doc fix.
13304 (image-transform-properties): Return quickly in the normal case.
13305 (image-animate-loop): Rename from image-animate-max-time.
13306
13307 * image.el (image-animate-max-time): Move to image-mode.el.
13308 (create-animated-image): Remove unnecessary function.
13309 (image-animate): Rename from image-animate-start. New arg.
13310 (image-animate-stop): Remove; just use image-animate-timer.
13311 (image-animate-timer): Use car-safe.
13312 (image-animate-timeout): Rename argument.
13313
13314 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13315
13316 * window.el (get-lru-window, get-largest-window): Move here from
13317 window.c. Rename first argument to ALL-FRAMES.
13318 Rephrase doc-strings.
13319 (get-buffer-window-list): Rewrite using window-list-1.
13320 Rephrase doc-string.
13321 (window-safe-min-height, window-safe-min-width): New constants.
13322 (window-size-ignore, window-min-size, window-min-size-1)
13323 (window-sizable, window-sizable-p, window-size-fixed-1)
13324 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13325 (window-max-delta-1, window-max-delta, window-resizable)
13326 (window-resizable-p, window-total-height, window-total-width)
13327 (window-body-width): New functions.
13328 (window-full-height-p, window-full-width-p): Rewrite using
13329 window-total-size.
13330 (window-body-height): Rewrite using window-body-size.
13331
13332 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13333
13334 * window.el (window-right, window-left, window-child)
13335 (window-child-count, window-last-child, window-any-p)
13336 (normalize-live-buffer, normalize-live-frame)
13337 (normalize-any-window, normalize-live-window)
13338 (window-iso-combination-p, window-iso-combined-p)
13339 (window-iso-combinations)
13340 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13341 (windows-with-parameter, window-with-parameter)
13342 (window-atom-root, make-window-atom, window-atom-check-1)
13343 (window-atom-check, window-side-check, window-check):
13344 New functions.
13345 (ignore-window-parameters, window-sides, window-sides-vertical)
13346 (window-sides-slots): New variables.
13347 (window-size-fixed): Move down in code. Minor doc-string fix.
13348
13349 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13350
13351 * comint.el (comint-dynamic-complete-as-filename)
13352 (comint-dynamic-complete-filename): Correctly call
13353 completion-in-region.
13354
13355 2011-06-05 Deniz Dogan <deniz@dogan.se>
13356
13357 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13358 in last change.
13359
13360 2011-06-05 Deniz Dogan <deniz@dogan.se>
13361
13362 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13363 (rcirc): Use it to prompt for encryption.
13364
13365 2011-06-05 Roland Winkler <winkler@gnu.org>
13366
13367 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13368 (bibtex-search-entries): New command bound to C-c C-a.
13369 (bibtex-display-entries): New function.
13370
13371 2011-06-05 Roland Winkler <winkler@gnu.org>
13372
13373 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13374 (bibtex-insert-kill): After yanking insert newline if necessary.
13375 (bibtex-initialize): Call bibtex-string-files-init only once.
13376 (bibtex-mode): Do not call easy-menu-add.
13377 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13378 (bibtex-yank): Set arg properly if nil.
13379
13380 2011-06-05 Roland Winkler <winkler@gnu.org>
13381
13382 * textmodes/bibtex.el (bibtex-search-entry-globally):
13383 New variable.
13384 (bibtex-search-entry): Use it.
13385
13386 2011-06-05 Roland Winkler <winkler@gnu.org>
13387
13388 * textmodes/bibtex.el (bibtex-entry-format): New option
13389 sort-fields.
13390 (bibtex-format-entry, bibtex-reformat): Honor this option.
13391 (bibtex-parse-entry): Return fields in proper order.
13392
13393 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13394
13395 * doc-view.el (doc-view-remove-if): Move computation of result out
13396 of `dolist' to silence misleading lexical-binding warning.
13397
13398 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13399
13400 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13401 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13402
13403 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13404
13405 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13406 "SunOS 5.10".
13407
13408 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13409
13410 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13411 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13412 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13413 (tramp-parse-putty):
13414 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13415 (tramp-completion-function-alist-ssh)
13416 (tramp-completion-function-alist-telnet)
13417 (tramp-completion-function-alist-su)
13418 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13419 cookie.
13420
13421 * net/tramp-ftp.el:
13422 * net/tramp-sh.el:
13423 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13424 load "tramp.el" `tramp-set-completion-function'.
13425
13426 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13427
13428 * shell.el: Require and use pcomplete.
13429 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13430 (shell-completion-vars): Set pcomplete-default-completion-function.
13431
13432 2011-06-04 Deniz Dogan <deniz@dogan.se>
13433
13434 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13435 `memq' (Bug#8799).
13436
13437 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13438
13439 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13440
13441 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13442
13443 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13444 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13445 * vc/log-view.el (log-view-beginning-of-defun):
13446 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13447 (smerge-refine-forward, smerge-refine-chopup-region):
13448 Silence warning for unused `dotimes' counter variables.
13449
13450 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13451
13452 * net/tramp.el (tramp-with-progress-reporter): Rename from
13453 with-progress-reporter. Use `declare'.
13454 * net/tramp-smb.el:
13455 * net/tramp-sh.el:
13456 * net/tramp-gvfs.el: Update all uses.
13457
13458 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13459
13460 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13461 buffer isn't killed before making it current.
13462
13463 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13464
13465 Silence various byte-compiler warnings.
13466 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13467 `access-type' and new obsolescence format.
13468 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13469 new format.
13470 (byte-compile-check-variable): New `access-type' argument.
13471 Only warn if the access-type is obsolete.
13472 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13473 (byte-compile-variable-set): Adjust callers.
13474 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13475 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13476 setting it as obsolete.
13477 * simple.el (minibuffer-completing-symbol):
13478 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13479 access as obsolete.
13480 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13481 obsolete yet.
13482 * international/quail.el (quail-mouse-choose-completion): Remove unused
13483 code referring to obsolete var.
13484 (quail-choose-completion-string): Remove.
13485 * server.el (server-clients-with, server-kill-buffer-query-function)
13486 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13487 * proced.el (proced-send-signal):
13488 * emacs-lisp/lisp.el (lisp-complete-symbol):
13489 Replace completion-annotate-function with completion-extra-properties.
13490
13491 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13492
13493 * simple.el (goto-line): Use read-number.
13494 (overriding-map-is-bound): Remove.
13495 (saved-overriding-map): Change default.
13496 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13497 Take the map as argument.
13498 (universal-argument, negative-argument, digit-argument): Use it.
13499 (restore-overriding-map): Adjust.
13500 (do-auto-fill): Use fill-forward-paragraph.
13501 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13502
13503 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13504 (minibuffer-inactive-mode): New major mode.
13505 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13506 the *Messages* buffer" hack.
13507 (mouse-popup-menubar): Don't burp if the event is a normal key.
13508
13509 Miscellaneous tweaks.
13510 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13511 lexical scoping as in subr.el's dolist and dotimes.
13512 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13513 Silence compiler warning.
13514 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13515 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13516 * international/ccl.el (ccl-compile): Trivial simplification.
13517 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13518 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13519 `printflag' argument.
13520 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13521 Purecopy the whole obsolescence data.
13522
13523 2011-06-01 Leo Liu <sdl.web@gmail.com>
13524
13525 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13526 improve doc-string as suggested by Marco Pessotto
13527 <melmothx@gmail.com>.
13528 (rcirc-print): Fix last change.
13529
13530 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13531
13532 * minibuffer.el (complete-with-action): Return nil for the metadata and
13533 boundaries of non-functional tables.
13534 (completion-table-dynamic): Return nil for the metadata.
13535 (completion-table-with-terminator): Add default case, using
13536 complete-with-action.
13537 (completion--metadata): New function.
13538 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13539 to try and avoid pathological performance problems.
13540 (completion--embedded-envvar-table): Return `category' metadata.
13541
13542 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13543
13544 * subr.el (process-alive-p): New tiny convenience function.
13545
13546 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13547
13548 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13549 content but also its previous major mode.
13550
13551 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
13552
13553 * emacs-lisp/debug.el (debug): Restore the previous content of the
13554 *Backtrace* buffer when we exit with C-M-c.
13555
13556 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13557
13558 * minibuffer.el: Add metadata method to completion tables.
13559 (completion-category-overrides): New defcustom.
13560 (completion-metadata, completion--field-metadata)
13561 (completion-metadata-get, completion--styles)
13562 (completion--cycle-threshold): New functions.
13563 (completion-try-completion, completion-all-completions):
13564 Add `metadata' argument to choose completion-styles.
13565 (completion--do-completion): Use metadata to choose cycling.
13566 (completion-all-sorted-completions): Use metadata for sorting.
13567 Remove :completion-cycle-penalty which is not needed any more.
13568 (completion--try-word-completion): Add `metadata' argument.
13569 (minibuffer-completion-help): Check metadata for annotation function
13570 and sorting.
13571 (completion-file-name-table): Return `category' metadata.
13572 (minibuffer-completing-file-name): Make obsolete.
13573 * simple.el (minibuffer-completing-symbol): Make obsolete.
13574 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13575 completion-try-completion.
13576
13577 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13580
13581 2011-05-30 Leo Liu <sdl.web@gmail.com>
13582
13583 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13584 (rcirc-print): Decode all incoming messages (bug#8744).
13585 (rcirc-decode-coding-system): Allow value nil for automatic coding
13586 system detection.
13587
13588 2011-06-01 Glenn Morris <rgm@gnu.org>
13589
13590 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13591
13592 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13593
13594 * image.el (image-animate-max-time): Allow nil and t values.
13595 Default to nil.
13596 (create-animated-image): Doc fix.
13597 (image-animate-start): Remove second arg; just use
13598 image-animate-max-time.
13599 (image-animate-timeout): Doc fix. Args changed.
13600
13601 * image-mode.el (image-toggle-display-image): Ensure that the
13602 image spec passed to the animate timer is the same object as in
13603 the buffer's display property (Bug#6981).
13604 (image-transform-properties): Doc fix.
13605
13606 * image.el (image-animate-max-time): Default to nil.
13607
13608 2011-05-29 Martin Rudalics <rudalics@gmx.at>
13609
13610 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13611 entire buffer list (Bug#8184).
13612
13613 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13614
13615 * image.el (imagemagick-types-inhibit)
13616 (imagemagick-register-types): Doc fix.
13617
13618 2011-05-29 Deniz Dogan <deniz@dogan.se>
13619
13620 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13621 default.
13622
13623 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13624
13625 * select.el: Don't perform clipboard-manager saving in hooks;
13626 leave the hooks empty.
13627
13628 2011-05-28 Leo Liu <sdl.web@gmail.com>
13629
13630 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13631 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13632 (occur-edit-mode): New major mode (Bug#8463).
13633 (occur-after-change-function): New function.
13634 (occur-engine): Give Occur tags a read-only property.
13635
13636 2011-05-28 Kevin Ryde <user42@zip.com.au>
13637
13638 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13639
13640 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13641
13642 * bindings.el (help-echo): Make the initial non-indicator dash
13643 empty on graphical terminals (Bug#7295).
13644
13645 * files.el (auto-mode-alist): Move config rule after the
13646 in-stripping one (Bug#8547).
13647
13648 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13649
13650 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13651 setting (Bug#8740).
13652
13653 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13654
13655 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13656 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13657 (Bug#8539).
13658
13659 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13660
13661 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13662
13663 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13664
13665 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13666 (hs-hide-block-at-point, hs-find-block-beginning)
13667 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13668 (Bug#8279).
13669
13670 2011-05-28 Glenn Morris <rgm@gnu.org>
13671
13672 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13673
13674 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13675
13676 * help-fns.el (describe-function-1): If the function is a derived
13677 major mode, print the parent mode.
13678
13679 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13680 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13681
13682 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13683
13684 * minibuffer.el (completion--capf-wrapper): Check applicability before
13685 returning non-nil for non-exclusive completion data.
13686 * progmodes/etags.el (tags-completion-at-point-function):
13687 * info-look.el (info-lookup-completions-at-point): Mark as
13688 non-exclusive.
13689 (info-complete): Adjust accordingly.
13690
13691 * info-look.el: Convert to lexical-binding and completion-at-point.
13692 (info-lookup-completions-at-point): New function.
13693 (info-complete): Use it and completion-in-region.
13694
13695 2011-05-28 Drew Adams <drew.adams@oracle.com>
13696
13697 * isearch.el: Let M-e start with point at the first mismatched char.
13698 (isearch-fail-pos): New function.
13699 (isearch-edit-string): Use it.
13700
13701 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13702
13703 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13704
13705 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13706
13707 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13708 traversal functions for avl-trees.
13709 (avl-tree--stack): New struct.
13710 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13711 (avl-tree-enter): Add optional `updatefun' arg.
13712 (avl-tree--do-enter): Add optional `updatefun' arg.
13713 Change return value.
13714 (avl-tree-delete): Add optional `test' and `nilflag' args.
13715 (avl-tree--do-delete): Add `test' and `nilflag' args.
13716 Change return value.
13717 (avl-tree-member): Add optional `nilflag'
13718 (avl-tree-member-p): New function.
13719 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13720 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13721 (avl-tree-stack-empty-p): New functions.
13722
13723 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13724 avl-tree--del-balance1 and make it work both ways.
13725 (avl-tree--del-balance2): Remove.
13726 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13727 make it work both ways.
13728 (avl-tree--enter-balance2): Remove.
13729 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13730 New macros.
13731 (avl-tree--mapc, avl-tree-map): Add direction argument.
13732
13733 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13734
13735 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13736
13737 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13738
13739 * select.el: Support clipboard managers with built-in function
13740 x-clipboard-manager-save, via delete-frame-functions and
13741 kill-emacs-hook.
13742 (xselect-convert-to-targets): Add MULTIPLE target to list.
13743 (xselect-convert-to-save-targets): New function.
13744
13745 2011-05-27 Kenichi Handa <handa@m17n.org>
13746
13747 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13748 let-binding rfc2047-encode-encoded-words to nil.
13749
13750 2011-05-27 Glenn Morris <rgm@gnu.org>
13751
13752 * mail/emacsbug.el: Don't require url-util.
13753
13754 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13755
13756 * files.el (set-auto-mode):
13757 Also respect mode: entries at the end of the file. (Bug#8586)
13758
13759 2011-05-26 Glenn Morris <rgm@gnu.org>
13760
13761 * files.el (hack-local-variables-prop-line, hack-local-variables):
13762 Downcase mode names, as seems to be traditional.
13763 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13764
13765 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13766 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13767
13768 2011-05-25 Julien Danjou <julien@danjou.info>
13769
13770 * textmodes/rst.el (rst-define-level-faces): Do not define face
13771 symbol if it is already defined.
13772
13773 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13774
13775 * play/5x5.el (5x5-new-game, 5x5-randomize):
13776 Reset 5x5-solver-output to nil when a new grid is cast.
13777 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13778 these debugging traces, as defmacro breaks the compiled code.
13779
13780 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13781
13782 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13783
13784 2011-05-24 Leo Liu <sdl.web@gmail.com>
13785
13786 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13787 (vc-bzr-sha1): Adapt.
13788
13789 * sha1.el: Remove. Function `sha1' is now builtin.
13790
13791 * bindings.el: Provide sha1 feature.
13792
13793 2011-05-24 Kenichi Handa <handa@m17n.org>
13794
13795 * mail/sendmail.el: Require `rfc2047'.
13796 (mail-insert-from-field): Do not perform RFC2047 encoding.
13797 (mail-encode-header): New function.
13798 (sendmail-send-it): Set buffer-file-coding-system of the work
13799 buffer to the return value of select-message-coding-system.
13800 Call mail-encode-header.
13801
13802 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13803
13804 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
13805
13806 * mail/supercite.el (sc-default-cite-frame):
13807 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13808
13809 2011-05-24 Glenn Morris <rgm@gnu.org>
13810
13811 * progmodes/python.el (brm-menu): Declare.
13812
13813 * emulation/viper.el (viper-set-hooks): Declare.
13814
13815 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13816 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13817 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13818 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13819 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13820 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13821
13822 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13823
13824 Add an :exit-function for completion-at-point.
13825
13826 * minibuffer.el (completion--done): New fun.
13827 (completion--do-completion): Use it. New arg `expect-exact'.
13828 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13829 since completion--do-completion does it for us now.
13830 (minibuffer-force-complete): Use completion--done and
13831 completion--replace. Handle sole-completion case with more care.
13832 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13833 (completion-extra-properties): New var.
13834 (completion-annotate-function): Make obsolete.
13835 (minibuffer-completion-help): Adjust accordingly.
13836 Use completion-list-insert-choice-function.
13837 (completion-at-point, completion-help-at-point):
13838 Bind completion-extra-properties.
13839 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13840 * simple.el (completion-list-insert-choice-function): New var.
13841 (completion-setup-function): Preserve it.
13842 (choose-completion): Pay attention to it, shuffle the code a bit.
13843 (choose-completion-string): New arg `insert-function'.
13844
13845 * textmodes/bibtex.el: Convert to lexical binding.
13846 (bibtex-mode-map): Use completion-at-point.
13847 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13848 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13849 (bibtex-complete): Define as obsolete alias.
13850 (bibtex-complete-internal): Remove.
13851 (bibtex-format-entry): Remove unused sub-group in regexp.
13852 * shell.el (shell--command-completion-data)
13853 (shell-environment-variable-completion):
13854 * pcomplete.el (pcomplete-completions-at-point):
13855 * comint.el (comint--complete-file-name-data): Use :exit-function
13856 instead of completion-table-with-terminator so it also works for
13857 choose-completion.
13858
13859 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13860
13861 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13862
13863 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13864 (bug#8710).
13865
13866 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13867
13868 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13869
13870 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13871 customization variable and implement: If non-nil, auto-fill will
13872 be inhibited while on topic's header line.
13873
13874 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13875
13876 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13877 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13878 always have a solution in grid size = 5 cases.
13879 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13880 (5x5-solver-output, 5x5-log-buffer): New vars.
13881 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13882 Make these variables buffer local to achieve 5x5 multi-session-ness.
13883 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13884 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13885 (5x5-solve-suggest): New funs.
13886 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13887 randomize a grid so that we ensure that there is always a solution.
13888 (5x5-make-random-grid): Allow other movement than flipping.
13889
13890 2011-05-23 Kevin Ryde <user42@zip.com.au>
13891
13892 * emacs-lisp/advice.el (ad-read-advised-function):
13893 Use `function-called-at-point' as the default, if it has
13894 advice and passes PREDICATE.
13895
13896 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13897
13898 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13899 byte-compile-lambda if it's actually a lambda.
13900
13901 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13902 Fix function quoting. Use backquote better.
13903
13904 2011-05-22 Yuanle Song <sylecn@gmail.com>
13905
13906 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13907 matching (Bug#8516).
13908
13909 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13910
13911 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13912 different face (Bug#8178).
13913
13914 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13915
13916 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13917 defface (Bug#8144).
13918
13919 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13920
13921 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13922 funcall as well (bug#8712). Warn when performing those conversions.
13923 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13924
13925 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13926
13927 2011-05-22 Glenn Morris <rgm@gnu.org>
13928
13929 * files.el (hack-local-variables-prop-line): Small simplifications.
13930 (hack-local-variables, hack-local-variables-prop-line):
13931 If MODE-ONLY, return the mode, rather than just `t'.
13932
13933 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13936
13937 2011-05-21 Glenn Morris <rgm@gnu.org>
13938
13939 * files.el (hack-local-variables-prop-line, hack-local-variables):
13940 If only interested in the mode, don't bother doing the other stuff.
13941
13942 * image-mode.el (image-after-revert-hook):
13943 Redraw all frames on which the image is visible. (Bug#8567)
13944
13945 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13946
13947 * wid-edit.el (widget-checklist-match-inline):
13948 Fix 2011-04-19 change. (Bug#8649)
13949
13950 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13951
13952 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13953 Also allow singlespace after single-letter capitals followed by a dot.
13954
13955 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13956 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13957
13958 2011-05-20 Nix <nix@esperi.org.uk>
13959
13960 * files.el (basic-save-buffer-2):
13961 Fix handling of break-hardlink-on-save with non-existent files.
13962
13963 2011-05-19 Deniz Dogan <deniz@dogan.se>
13964
13965 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13966 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13967
13968 2011-05-19 Glenn Morris <rgm@gnu.org>
13969
13970 * progmodes/f90.el (f90-type-def-re):
13971 Handle "type, bind(c)". (Bug#8691)
13972
13973 * emacs-lisp/autoload.el (batch-update-autoloads):
13974 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13975
13976 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13977
13978 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13979 property for the correct connection in case of multihops.
13980
13981 2011-05-18 Glenn Morris <rgm@gnu.org>
13982
13983 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13984 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13985
13986 Rationalize calendar handling of day and month abbrev-arrays.
13987 * calendar/calendar.el (calendar-customized-p): New function.
13988 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13989 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13990 Add :set function.
13991 (calendar-abbrev-length, calendar-day-abbrev-array)
13992 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13993 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13994 Elements may no longer be nil.
13995 (calendar-day-name, calendar-month-name):
13996 Update for changed nature of abbrev arrays.
13997 * calendar/diary-lib.el (diary-name-pattern):
13998 Update for changed nature of abbrev arrays.
13999 (diary-mark-entries-1): Update calendar-make-alist calls.
14000 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14001 * calendar/cal-html.el (cal-html-day-abbrev-array):
14002 Simply inherit from calendar-day-abbrev-array.
14003
14004 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * progmodes/grep.el (grep-mode): Disable default
14007 compilation-directory-matcher setting (bug#8684).
14008
14009 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14010
14011 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14012 instead of "head" and "tail". There were problems with SunOS 5.9,
14013 and it performs better.
14014
14015 2011-05-17 Glenn Morris <rgm@gnu.org>
14016
14017 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14018
14019 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14020 Replace obsolete function.
14021
14022 * shell.el (pcomplete-parse-arguments-function): Declare.
14023
14024 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14025 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14026 (appt-check): Doc fixes.
14027 (appt-disp-window-function, appt-delete-window-function):
14028 Remove needless special case in custom :type.
14029 (appt-display-count): Default to 0, not nil.
14030 (appt-check): Reset appt-display-count to 0, not nil.
14031
14032 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14033
14034 * progmodes/python.el (python-font-lock-keywords):
14035 Add the Python 3.X keyword "nonlocal" (bug#8639).
14036
14037 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14038
14039 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14040
14041 2011-05-16 Kevin Ryde <user42@zip.com.au>
14042
14043 * info-look.el (makefile-automake-mode): New setups, looking in
14044 automake manual, then makefile-mode.
14045 (makefile-mode): Remove automake manual, have it just in
14046 makefile-automake-mode since there's various things different or
14047 not relevant to plain make.
14048 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14049 believe a hypothetical automake-mode would go to makefile-mode,
14050 not the other way around.
14051
14052 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14053
14054 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14055 hunk-end tags (Bug#8672).
14056
14057 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14058 vc-annotate-show-diff-revision-at-line (Bug#8671).
14059
14060 2011-05-14 Glenn Morris <rgm@gnu.org>
14061
14062 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14063 in the middle of an existing one with multiple authors. (Bug#8645)
14064 (change-log-font-lock-keywords): Also handle multiple author lines
14065 with leading tabs. (Bug#8644)
14066
14067 * calendar/appt.el (appt-check): Rename some local variables.
14068 Some simplification/reordering.
14069
14070 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14071 (feedmail-sendmail-f-doesnt-sell-me-out)
14072 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14073 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14074 (feedmail-queue-runner-message-sender): Set :version.
14075 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14076 (bbdb-dwim-net-address, vm-mail): Declare.
14077 (feedmail-binmail-gnulinuxish-template):
14078 Rename from feedmail-binmail-linuxish-template.
14079 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14080 Use insert-buffer-substring.
14081
14082 2011-05-14 Bill Carpenter <bill@carpenter.org>
14083
14084 * mail/feedmail.el (feedmail-patch-level): Increase.
14085 (feedmail-debug): New custom group.
14086 (feedmail-confirm-outgoing-timeout)
14087 (feedmail-sendmail-f-doesnt-sell-me-out)
14088 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14089 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14090 (feedmail-sender-line, feedmail-from-line)
14091 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14092 (feedmail-spray-this-address)
14093 (feedmail-spray-address-fiddle-plex-list)
14094 (feedmail-queue-use-send-time-for-date)
14095 (feedmail-queue-use-send-time-for-message-id)
14096 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14097 (feedmail-buffer-eating-function):
14098 Doc fixes.
14099 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14100 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14101 (feedmail-message-action-scroll-down): New functions.
14102 (feedmail-queue-directory, feedmail-queue-draft-directory):
14103 Use expand-file-name.
14104 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14105 Remove C-v help entry.
14106 (feedmail-queue-buffer-file-name): New variable.
14107 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14108 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14109 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14110 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14111 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14112 (feedmail-message-action-toggle-spray)
14113 (feedmail-run-the-queue-no-prompts)
14114 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14115 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14116 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14117 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14118 (feedmail-envelope-deducer, feedmail-fiddle-from)
14119 (feedmail-fiddle-sender, feedmail-default-date-generator)
14120 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14121 (feedmail-fiddle-spray-address)
14122 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14123 (feedmail-fiddle-list-of-fiddle-plexes)
14124 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14125 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14126 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14127 Change default. Doc fix.
14128 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14129 (feedmail-binmail-linuxish-template): New constant.
14130 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14131 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14132 (feedmail-send-it): Add debug call.
14133 Use feedmail-queue-buffer-file-name, and
14134 feedmail-send-it-immediately-wrapper.
14135 (feedmail-message-action-send): Add debug call.
14136 Use feedmail-send-it-immediately-wrapper.
14137 (feedmail-queue-express-to-queue): Add debug call.
14138 Run feedmail-queue-express-hook.
14139 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14140 (feedmail-message-action-help-blat):
14141 Rename from feedmail-queue-send-edit-prompt-help-first.
14142 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14143 Check line-endings. Handle errors better.
14144 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14145 Doc fix. Add debug call.
14146 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14147 Use feedmail-queue-send-edit-prompt-inner.
14148 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14149 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14150 from feedmail-queue-send-edit-prompt.
14151 (feedmail-queue-send-edit-prompt-help)
14152 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14153 (feedmail-tidy-up-slug): Add debug call.
14154 Respect feedmail-queue-slug-suspect-regexp.
14155 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14156 (feedmail-dump-message-to-queue): Add debug call.
14157 Expand queue-directory.
14158 (feedmail-dump-message-to-queue): Change message slightly.
14159 Use feedmail-say-chatter.
14160 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14161 (feedmail-send-it-immediately-wrapper): New function.
14162 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14163 Insert empty string rather than newline. Handle full-frame case.
14164 Use catch/throw. Use feedmail-say-chatter.
14165 (feedmail-fiddle-from): Try mail-host-address.
14166 (feedmail-default-message-id-generator): Doc fix.
14167 Bind system-time-locale. Handle missing end.
14168 (feedmail-fiddle-x-mailer): Add debug call.
14169 Handle feedmail-x-mailer-line being nil.
14170 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14171 Add debug call. Use buffer-substring-no-properties.
14172 (feedmail-say-debug, feedmail-say-chatter): New functions.
14173 (feedmail-find-eoh): Give an explicit error.
14174
14175 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14176
14177 * net/newst-treeview.el (newsticker-treeview-face): Change default
14178 family from helvetica to sans.
14179 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14180 etc/images/newsticker.
14181
14182 * net/newst-reader.el (newsticker-feed-face): Change default
14183 family from helvetica to sans.
14184
14185 * net/newst-plainview.el (newsticker-new-item-face)
14186 (newsticker-old-item-face, newsticker-immortal-item-face)
14187 (newsticker-obsolete-item-face, newsticker-date-face)
14188 (newsticker-statistics-face): Change default family from
14189 helvetica to sans.
14190 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14191 etc/images/newsticker.
14192
14193 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14194 (newsticker--process-auto-mark-filter-match): Tell user about
14195 auto-marking.
14196
14197 2011-05-13 Didier Verna <didier@xemacs.org>
14198
14199 Common Lisp indentation improvements on defmethod and lambda-lists.
14200 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14201 TODO entries.
14202 (lisp-lambda-list-keyword-parameter-indentation)
14203 (lisp-lambda-list-keyword-parameter-alignment)
14204 (lisp-lambda-list-keyword-alignment): New customizable user options.
14205 (lisp-indent-defun-method): Improve docstring.
14206 (extended-loop-p): Fix comment.
14207 (lisp-indent-lambda-list-keywords-regexp): New variable.
14208 (lisp-indent-lambda-list): New function.
14209 (lisp-indent-259): Use it.
14210 (lisp-indent-defmethod): Support for more than one
14211 method qualifier and properly indent methods lambda-lists.
14212 (defgeneric): Provide a missing common-lisp-indent-function property.
14213
14214 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14215
14216 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14217 bounds for the empty string (bug#8667).
14218
14219 2011-05-13 Glenn Morris <rgm@gnu.org>
14220
14221 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14222
14223 * mail/sendmail.el (sendmail-program): Try executable-find first.
14224 (sendmail-send-it): `sendmail-program' cannot be unbound.
14225
14226 * calendar/appt.el (appt-make-list): Simplify.
14227 (appt-time-msg-list): Doc fix.
14228 (appt-check): Change mode-line message at the time of the appointment.
14229
14230 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14231
14232 * progmodes/ld-script.el (ld-script-keywords)
14233 (ld-script-builtins): Update keywords list.
14234
14235 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14236
14237 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14238
14239 * shell.el (shell-completion-vars): New function.
14240 (shell-mode):
14241 * simple.el (read-shell-command): Use it.
14242 (blink-matching-open): No need for " [...]" in minibuffer-message.
14243
14244 2011-05-12 Glenn Morris <rgm@gnu.org>
14245
14246 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14247 (appt-check): Simplify.
14248
14249 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14250
14251 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14252 literal "/dev/null".
14253
14254 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14255
14256 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14257 Fix typo.
14258
14259 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14260
14261 * progmodes/which-func.el (which-function):
14262 Use add-log-current-defun instead of add-log-current-defun-function,
14263 which might not be defined (Bug#8260).
14264
14265 2011-05-12 Glenn Morris <rgm@gnu.org>
14266
14267 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14268 Let byte-compile-initial-macro-environment always take precedence.
14269
14270 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14271
14272 * net/rcirc.el: Add support for SSL/TLS connections.
14273 (rcirc-server-alist): New field `encryption'.
14274 (rcirc): Check `encryption' settings.
14275 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14276 Merge make-local-variable into `set'.
14277 (rcirc--connection-open-p): New function.
14278 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14279 the process is not a network process (e.g. running gnutls-cli).
14280 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14281 Make rcirc-(en|de)code-coding-system local here.
14282 (rcirc-mode): Merge make-local-variable into `set'.
14283 (rcirc-parent-buffer): Make permanent buffer-local.
14284 (rcirc-multiline-minor-mode): Don't do it here.
14285 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14286 there's no server buffer.
14287
14288 2011-05-11 Glenn Morris <rgm@gnu.org>
14289
14290 * newcomment.el (comment-kill): Prefix "unused" local.
14291
14292 * term/w32console.el (get-screen-color): Declare.
14293
14294 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14295 Handle symbol elements of byte-compile-initial-macro-environment.
14296
14297 2011-05-10 Leo Liu <sdl.web@gmail.com>
14298
14299 * bookmark.el (bookmark-bmenu-mode-map):
14300 Bind bookmark-bmenu-search to `/'.
14301
14302 * mail/footnote.el: Convert to utf-8 encoding.
14303 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14304 (Footnote-unicode): New function.
14305 (footnote-style-alist): Add unicode style to the list.
14306 (footnote-style): Doc fix.
14307
14308 2011-05-10 Jim Meyering <meyering@redhat.com>
14309
14310 Fix doubled-word typos.
14311 * international/quail.el (quail-insert-kbd-layout): and and -> and
14312 * kermit.el: and and -> and
14313 * net/ldap.el (ldap-search-internal): to to -> to
14314 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14315 * progmodes/js.el (js-mode): and and -> and
14316 * textmodes/artist.el (artist-move-to-xy): at at -> at
14317 (artist-draw-region-trim-line-endings): if if -> if
14318 And Safetyc -> Safety.
14319 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14320
14321 2011-05-10 Glenn Morris <rgm@gnu.org>
14322 Stefan Monnier <monnier@iro.umontreal.ca>
14323
14324 * files.el (hack-one-local-variable-eval-safep):
14325 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14326
14327 2011-05-10 Glenn Morris <rgm@gnu.org>
14328
14329 * calendar/diary-lib.el (diary-list-entries-hook)
14330 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14331 (diary-nongregorian-marking-hook, diary-list-entries)
14332 (diary-include-other-diary-files, diary-mark-entries)
14333 (diary-mark-included-diary-files): Doc fixes.
14334
14335 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14336
14337 * misc.el: Require tabulated-list.el during compilation.
14338
14339 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14340
14341 * progmodes/compile.el (compilation-start):
14342 Run compilation-filter-hook for the async case too.
14343 (compilation-filter-hook): Doc fix.
14344
14345 2011-05-09 Deniz Dogan <deniz@dogan.se>
14346
14347 * wdired.el: Remove outdated installation comment. Fix usage
14348 comment.
14349
14350 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14351
14352 * misc.el: Implement new command `list-dynamic-libraries'.
14353 (list-dynamic-libraries--loaded-only-p): New variable.
14354 (list-dynamic-libraries--refresh): New function.
14355 (list-dynamic-libraries): New command.
14356
14357 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14358
14359 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14360 Fix the ant regexp to handle end-line and end-column info from jikes.
14361 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14362 higher priority to avoid clobbering by gnu.
14363
14364 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14365
14366 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14367 if the face has existing theme settings (Bug#8454).
14368
14369 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14370
14371 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14372 Only match variables declared via `my' or `our' (Bug#8261).
14373
14374 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14375 special file names `.' and `..' (Bug#8259).
14376
14377 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14378
14379 * progmodes/grep.el (grep-mode-font-lock-keywords):
14380 Remove buffer-changing entries.
14381 (grep-filter): New function.
14382 (grep-mode): Add it to compilation-filter-hook.
14383
14384 * progmodes/compile.el (compilation-filter-hook)
14385 (compilation-filter-start): New defvars.
14386 (compilation-filter): Call compilation-filter-hook prior to
14387 updating the process mark.
14388
14389 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14390
14391 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14392
14393 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14394
14395 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14396 mailclient-send-it even if window-system is nil. (Bug#8595)
14397
14398 * term/w32console.el (terminal-init-w32console):
14399 Call get-screen-color and use its output to set the frame
14400 background-mode. (Bug#8597)
14401
14402 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14403
14404 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14405 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14406 New functions.
14407 (defgeneric, eieio--defmethod): Use them.
14408 (eieio-defgeneric): Remove.
14409 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14410
14411 2011-05-07 Glenn Morris <rgm@gnu.org>
14412
14413 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14414 Use let rather than let*.
14415 (timeclock-find-discrep): Remove unused local.
14416
14417 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14418
14419 * calendar/appt.el (appt-time-msg-list): Doc fix.
14420
14421 2011-05-06 Noah Friedman <friedman@splode.com>
14422
14423 * apropos.el (apropos-print-doc): Only use
14424 emacs-lisp-docstring-fill-column when it is bound to an integer,
14425 per that variable's documentation.
14426
14427 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14428
14429 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14430 and warnings are not silently discarded (e.g. use -d instead of -P).
14431
14432 2011-05-06 Glenn Morris <rgm@gnu.org>
14433
14434 * calendar/appt.el (appt-message-warning-time): Doc fix.
14435 (appt-warning-time-regexp): New option.
14436 (appt-make-list): Respect appt-message-warning-time.
14437
14438 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14439 New options.
14440 (diary-add-to-list): Strip comments from the displayed string.
14441 (diary-mode): Set comment-start and comment-end.
14442
14443 * vc/diff-mode.el (smerge-refine-subst): Declare.
14444 (diff-refine-hunk): Don't require smerge-mode when compiling.
14445
14446 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14447
14448 * simple.el (list-processes): Return nil as the docstring says.
14449
14450 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14451
14452 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14453 to "".
14454 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14455 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14456 determining of binary transfer. (Bug#7383)
14457
14458 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14459
14460 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14461 Fix port computation bug. (Bug#8618)
14462
14463 2011-05-05 Glenn Morris <rgm@gnu.org>
14464
14465 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14466
14467 * simple.el (shell-dynamic-complete-functions)
14468 (comint-dynamic-complete-functions): Declare.
14469
14470 * net/network-stream.el (gnutls-negotiate):
14471 * simple.el (tabulated-list-print): Fix declarations.
14472
14473 * progmodes/gud.el (syntax-symbol, syntax-point):
14474 Remove unnecessary and incorrect declarations.
14475
14476 * emacs-lisp/check-declare.el (check-declare-scan):
14477 Handle byte-compile-initial-macro-environment in bytecomp.el
14478
14479 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14480
14481 Fix earlier half-done eieio-defmethod change (bug#8338).
14482 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14483 Streamline and change calling convention.
14484 (defmethod): Adjust accordingly and simplify.
14485 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14486 new eieio--defmethod.
14487 (slot-boundp): Minor CSE simplification.
14488
14489 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14490
14491 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14492 (glasses-make-readable): Use glasses-separate-capital-groups.
14493
14494 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14495
14496 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14497 (warning-series): Doc fix.
14498 (display-warning): Don't try to create the buffer if we just found it.
14499
14500 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
14501
14502 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14503 (autoload-find-generated-file): New function.
14504 (generate-file-autoloads): Bind generated-autoload-file to
14505 buffer-file-name.
14506 (update-file-autoloads, update-directory-autoloads):
14507 Use autoload-find-generated-file. If called interactively, prompt for
14508 output file (Bug#7989).
14509 (batch-update-autoloads): Doc fix.
14510
14511 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
14512
14513 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14514
14515 2011-05-04 Glenn Morris <rgm@gnu.org>
14516
14517 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14518 function, so it follows changes in calendar-date-style.
14519 (diary-fancy-date-matcher): New function.
14520 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14521 (diary-fancy-font-lock-fontify-region-function):
14522 Use diary-fancy-date-pattern as a function.
14523
14524 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14525 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14526
14527 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14528
14529 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14530 instead of positional arguments. Allow :keylist and :crlfiles
14531 arguments.
14532 (open-gnutls-stream): Call it.
14533
14534 * net/network-stream.el (network-stream-open-starttls): Adjust to
14535 call `gnutls-negotiate' with :process and :hostname arguments.
14536
14537 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14538
14539 * minibuffer.el (completion--message): New function.
14540 (completion--do-completion, minibuffer-complete)
14541 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14542 (completion--do-completion): Don't ignore completion-auto-help when in
14543 icomplete-mode.
14544
14545 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14546 internal encoding (e.g. tibetan zero is not whitespace).
14547 (global-whitespace-mode): Prefer save-current-buffer.
14548 (whitespace-trailing-regexp): Remove useless save-match-data.
14549 (whitespace-empty-at-bob-regexp): Minor simplification.
14550
14551 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
14552
14553 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14554
14555 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14556
14557 * textmodes/ispell.el (ispell-add-per-file-word-list):
14558 Use `concat' to create string for insertion.
14559
14560 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14561
14562 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14563 Avoid open-line which runs post-self-insert-hook.
14564 (bibtex-fill-entry): Remove unused `end' var.
14565
14566 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14567
14568 * textmodes/ispell.el (ispell-add-per-file-word-list):
14569 Protect against `nil' value of `comment-start' (Bug#8579).
14570
14571 2011-05-03 Leo Liu <sdl.web@gmail.com>
14572
14573 * isearch.el (isearch-yank-pop): New command.
14574 (isearch-mode-map): Bind it to `M-y'.
14575 (isearch-forward): Mention it.
14576
14577 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14578
14579 * simple.el (minibuffer-complete-shell-command): Remove.
14580 (minibuffer-local-shell-command-map): Use completion-at-point.
14581 (read-shell-command): Setup completion vars here instead.
14582 (read-expression-map): Bind TAB to symbol completion.
14583
14584 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14585 error directly rather via storing it into `results'.
14586
14587 2011-05-02 Leo Liu <sdl.web@gmail.com>
14588
14589 * vc/diff.el: Fix description.
14590
14591 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14592
14593 * server.el (server-eval-at): New function.
14594
14595 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14596
14597 * net/network-stream.el (open-network-stream): Take a :nowait
14598 parameter and pass it on to `make-network-process'.
14599 (network-stream-open-plain): Ditto.
14600
14601 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14602
14603 * faces.el (face-spec-set-match-display): Don't match toolkit
14604 options on terminal frames.
14605
14606 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14607
14608 * progmodes/pascal.el: Use lexical binding.
14609 (pascal-mode-map): Remove author preferences.
14610
14611 * pcomplete.el (pcomplete-std-complete): Don't abuse
14612 completion-at-point.
14613
14614 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14615
14616 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14617 removing code that has been dead since 1991 or so.
14618
14619 * startup.el (command-line): When warning about "_emacs", use a
14620 delayed warning to allow the user to filter it out.
14621
14622 2011-04-28 Deniz Dogan <deniz@dogan.se>
14623
14624 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14625 user has not joined.
14626
14627 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14628
14629 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14630 aren't any completions at point.
14631
14632 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14633
14634 * subr.el (display-delayed-warnings): New function.
14635 (delayed-warnings-hook): New variable.
14636
14637 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14638
14639 * minibuffer.el (completion-at-point, completion-help-at-point):
14640 Don't presume that a given completion-at-point-function will always
14641 use the same calling convention.
14642
14643 * pcomplete.el (pcomplete-completions-at-point):
14644 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14645 pcomplete-seen is non-nil.
14646 (pcomplete-comint-setup): Also recognize the new comint/shell
14647 completion functions.
14648 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14649 pcomplete-seen is non-nil.
14650
14651 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14652
14653 * calendar/icalendar.el (diary-lib): Add require statement.
14654 (icalendar--create-uid): Read out a uid from a text-property on
14655 the first character in the entry. This allows for code to add its
14656 own uid to the entry.
14657 (icalendar--convert-float-to-ical): Add export of
14658 `diary-float'-entries save for those with the optional DAY
14659 argument.
14660
14661 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14662
14663 * subr.el (shell-quote-argument): Use alternate escaping strategy
14664 when we spot a variable reference in a string.
14665
14666 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14667
14668 * cus-start.el (all): Define customization for debug-on-event.
14669
14670 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14671
14672 * subr.el (shell-quote-argument): Escape correctly under Windows.
14673
14674 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14675
14676 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14677
14678 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14679
14680 * net/tramp.el (tramp-process-actions): Add POS argument.
14681 Delete region between POS and (pos).
14682
14683 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14684 Use `nil' position in `tramp-process-actions' call.
14685 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14686
14687 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14688 position in `tramp-process-actions' call.
14689
14690 * net/trampver.el: Update release number.
14691
14692 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14693
14694 * custom.el (defcustom): Obey lexical-binding.
14695
14696 Fix octave-inf completion problems reported by Alexander Klimov.
14697 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14698 Inherit from octave-mode-syntax-table.
14699 (inferior-octave-mode): Set info-lookup-mode.
14700 (inferior-octave-completion-at-point): New function.
14701 (inferior-octave-complete): Use it and completion-in-region.
14702 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14703 comint-filename-completion.
14704 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14705 symbol elements which shouldn't be word elements.
14706 (octave-font-lock-keywords, octave-beginning-of-defun)
14707 (octave-function-header-regexp): Adjust regexps accordingly.
14708 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14709
14710 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14711
14712 * net/gnutls.el (gnutls-errorp): Declare before first use.
14713
14714 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14715
14716 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14717 verify-error, and verify-hostname-error parameters. Check whether
14718 default trustfile exists before going to use it. Add missing
14719 argument to gnutls-message-maybe call. Return value.
14720 Reported by Claudio Bley <claudio.bley@gmail.com>.
14721 (open-gnutls-stream): Add usage example.
14722
14723 * net/network-stream.el (network-stream-open-starttls): Give host
14724 parameter to `gnutls-negotiate'.
14725 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14726 * subr.el (shell-quote-argument): Escape correctly under Windows.
14727
14728 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14729
14730 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14731 Use correct match group (bug#8438).
14732
14733 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14734
14735 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14736 (package-menu--generate): New arg specifying packages to show.
14737 (package-menu-refresh, package-menu-execute, list-packages):
14738 Callers changed.
14739 (package-show-package-list): New function, replacing deleted
14740 package--list-packages (renamed because it is non-internal).
14741
14742 * finder.el (finder-list-matches): Use package-show-package-list
14743 instead of deleted package--list-packages.
14744
14745 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14746 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14747 (vc-annotate-mode-map): Bind it to RET.
14748
14749 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14750
14751 * progmodes/etags.el (next-file): Don't use set-buffer to change
14752 buffers (Bug#8478).
14753
14754 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14755
14756 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14757
14758 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14759 (apropos-accumulator): Doc fix.
14760 (apropos-function, apropos-macro, apropos-command)
14761 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14762 (apropos-plist): Add face property.
14763 (apropos-symbols-internal): Fix indentation.
14764 (apropos-print): Simplify help, and recognize apropos-multi-type.
14765 (apropos-print-doc): Use button-type-get to extract the button's
14766 face property. Fill docstring (Bug#8352).
14767
14768 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
14769
14770 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14771
14772 * play/mpuz.el (mpuz-silent): Doc fix.
14773 (mpuz-mode-map): Use mapc.
14774 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14775 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14776 Fix typos in docstrings.
14777
14778 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14779 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14780
14781 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14782
14783 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
14784
14785 * minibuffer.el (completion--do-completion): Avoid the "Next char
14786 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14787
14788 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14789 mouse-2 into unread-command-events, it is interpreted correctly.
14790
14791 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14792 (image-toggle-display): Doc fix.
14793
14794 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
14795
14796 * textmodes/page.el (what-page): Use line-number-at-pos to
14797 calculate line number (Bug#6825).
14798
14799 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14800
14801 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14802 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14803 Pass argument NO-DEFAULT to `find-tag-interactive'.
14804
14805 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14806
14807 Lexical-binding cleanup.
14808
14809 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14810 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14811 * progmodes/ada-prj.el (ada-prj-initialize-values)
14812 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14813 (ada-prj-show-value):
14814 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14815 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14816 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14817 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14818 * progmodes/bug-reference.el (bug-reference-push-button):
14819 * progmodes/fortran.el (fortran-line-length):
14820 * progmodes/glasses.el (glasses-change):
14821 * progmodes/octave-mod.el (octave-fill-paragraph):
14822 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14823 (python-pdbtrack-grub-for-buffer, python-sentinel):
14824 * progmodes/sql.el (sql-save-connection):
14825 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14826 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14827 Mark unused parameters.
14828
14829 * progmodes/compile.el (compilation--flush-directory-cache)
14830 (compilation--flush-parse, compile-internal): Mark unused parameters.
14831 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14832 (compilation-next-error-function): Remove unused variable `timestamp'.
14833
14834 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14835 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14836
14837 * progmodes/dcl-mode.el (dcl-end-of-command):
14838 Remove unused variable `start'.
14839 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14840 (dcl-option-value-basic, dcl-option-value-offset)
14841 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14842 Mark unused parameters.
14843 (dcl-save-local-variable): Remove unused variable `val'.
14844 (mode): Declare.
14845
14846 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14847 Mark unused parameters.
14848 (delphi-ignore-changes): Move before first use.
14849 (delphi-charset-token-at): Remove unused variable `start'.
14850 (delphi-else-start): Remove unused variable `if-count'.
14851 (delphi-comment-block-start, delphi-comment-block-end):
14852 Remove unused variable `kind'.
14853 (delphi-indent-line): Remove unused variable `new-point'.
14854
14855 * progmodes/ebrowse.el (ebrowse-files-list)
14856 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14857 Mark unused parameters. Don't quote `lambda'.
14858 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14859 Don't quote `lambda'.
14860 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14861 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14862 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14863 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14864 Use `ignore-errors'.
14865 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14866 (ebrowse-view/find-file-and-search-pattern)
14867 (ebrowse-view/find-member-declaration/definition):
14868 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14869 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14870 Rename parameter PREFIX-ARG to PREFIX.
14871 (ebrowse-tags-read-name): Remove unused variables `start' and
14872 `member-info'.
14873 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14874 to `tags-file'.
14875
14876 * progmodes/etags.el (local-find-tag-hook): Declare.
14877 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14878 Mark unused parameters.
14879
14880 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14881 (executable-interpret): Mark unused parameter.
14882
14883 * progmodes/flymake.el (flymake-process-sentinel)
14884 (flymake-after-change-function)
14885 (flymake-create-temp-with-folder-structure)
14886 (flymake-get-include-dirs-dot): Mark unused parameters.
14887 (flymake-safe-delete-directory): Remove unused variable `err'.
14888
14889 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14890 (speedbar-timer-fn, speedbar-line-text)
14891 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14892 (speedbar-center-buffer-smartly): Declare functions.
14893 (gdb-find-watch-expression): Remove unused variable `array'.
14894 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14895 (gdb-starting): Mark unused parameters.
14896 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14897 (gdb-table-string): Remove unused variable `res'.
14898 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14899 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14900 (gdb-display-buffer): Remove unused variable `cur-size'.
14901
14902 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14903 allow lexical-binding compilation.
14904 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14905 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14906 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14907 Mark unused parameters.
14908 (gud-gdb-marker-filter): Remove unused variable `match'.
14909 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14910 lambda expressions and funcall them, instead of using `fset'.
14911
14912 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14913 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14914
14915 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14916 variable `header-beg'; use `let'.
14917
14918 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14919 `restart', `last-sexp' and `at-do'.
14920
14921 * progmodes/js.el (js--debug): Mark unused parameter.
14922 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14923 (js--splice-into-items): Remove unused variable `item'.
14924 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14925
14926 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14927 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14928 (makefile-complete): Remove unused variable `try'.
14929 (makefile-fill-paragraph, makefile-match-function-end):
14930 Mark unused parameters.
14931
14932 * progmodes/octave-inf.el (inferior-octave-complete):
14933 Remove unused variable `proc'.
14934 (inferior-octave-output-digest): Mark unused parameter.
14935
14936 * progmodes/perl-mode.el (perl-calculate-indent):
14937 Remove unused variable `err'.
14938
14939 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14940 (prolog-indent-line): Mark unused parameters.
14941 (prolog-indent-line): Remove unused variable `beg'.
14942
14943 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14944 (reporter-dont-compact-list): Declare.
14945
14946 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14947 Remove unused variable `char'.
14948 (sh-debug): Mark unused parameter.
14949 (sh-get-indent-info): Remove unused variable `start'.
14950 (sh-calculate-indent): Remove unused variable `var'.
14951
14952 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14953 (simula-electric-keyword): Remove unused variable `null'.
14954 (simula-search-backward, simula-search-forward): Remove unused
14955 variables `begin' and `end'.
14956
14957 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14958 Remove unused variable `pos'.
14959 (vera-electric-tab, vera-comment-uncomment-region):
14960 Mark unused parameters.
14961 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14962
14963 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14964
14965 * emacs-lisp/package.el (package--builtins, package-alist)
14966 (package-load-descriptor, package-built-in-p, package-activate)
14967 (define-package, package-installed-p)
14968 (package-compute-transaction, package-buffer-info)
14969 (package--push): Doc fix. Distinguish more clearly between
14970 version strings and version lists.
14971
14972 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14973
14974 Lexical-binding cleanup.
14975
14976 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14977 (5x5-make-mutate-best):
14978 * play/fortune.el (fortune-in-buffer):
14979 * play/gomoku.el (gomoku-init-display):
14980 * play/solitaire.el (solitaire, solitaire-do-check):
14981 * play/tetris.el (tetris-default-update-speed-function):
14982 Mark unused parameters.
14983
14984 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14985 (bubbles--shift): Remove unused variable `char-org'.
14986 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14987 (bubbles--show-images): Remove unused variable `char'.
14988
14989 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14990 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14991 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14992 (decipher-analyze-buffer): Use ?\s.
14993 (decipher-make-checkpoint): Remove unused variable `mapping'.
14994
14995 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14996
14997 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14998 Remove unused variable `result'; use `let'.
14999
15000 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15001 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15002 (gametree-children-shown-p, gametree-compute-reduced-score):
15003 Use `ignore-errors'.
15004
15005 * play/handwrite.el (ps-lpr-switches): Declare.
15006 (handwrite): Remove unused variables `pmin' and `lastp'.
15007
15008 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15009
15010 * play/landmark.el (landmark-init-display)
15011 (landmark-update-naught-weights): Mark unused parameters.
15012 (landmark-y): Remove unused variable `noise'. Simplify.
15013 (landmark-human-plays): Remove unused variable `score'.
15014
15015 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15016 (mpuz-try-proposal): Remove unused variable `game'.
15017
15018 * play/zone.el (life-patterns): Declare.
15019
15020 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15021
15022 * vc/vc.el (ediff-vc-internal): Declare function.
15023
15024 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15025
15026 * shell.el: Use lexical-binding and std completion UI.
15027 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15028 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15029 comint-preoutput-filter-functions rather than on
15030 comint-output-filter-functions.
15031 (shell-command-completion, shell--command-completion-data)
15032 (shell-filename-completion, shell-environment-variable-completion)
15033 (shell-c-a-p-replace-by-expanded-directory): New functions.
15034 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15035 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15036 (shell-dynamic-complete-environment-variable): Use them.
15037 (shell-dynamic-complete-as-environment-variable)
15038 (shell-dynamic-complete-as-command): Remove.
15039 (shell-match-partial-variable): Match past point.
15040 * comint.el: Clean up use of completion-at-point-functions.
15041 (comint-completion-at-point): New function.
15042 (comint-mode): Use it completion-at-point-functions.
15043 (comint-dynamic-complete): Make it obsolete.
15044 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15045 (comint-c-a-p-replace-by-expanded-history): New function.
15046 (comint-dynamic-complete-functions)
15047 (comint-replace-by-expanded-history): Use it.
15048 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15049 termination strings. Try harder to avoid second try-completion.
15050 (completion-in-region-mode-map): Disable bindings that don't work yet.
15051
15052 * comint.el: Use lexical-binding. Require CL.
15053 (comint-dynamic-complete-functions): Use comint-filename-completion.
15054 (comint-completion-addsuffix): Tweak custom type.
15055 (comint-filename-completion, comint--common-suffix)
15056 (comint--common-quoted-suffix, comint--table-subvert)
15057 (comint--complete-file-name-data): New functions.
15058 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15059 (comint-dynamic-list-filename-completions): Use them.
15060 (comint-dynamic-simple-complete): Make obsolete.
15061
15062 * minibuffer.el (completion-in-region-mode):
15063 Keep completion-in-region-mode--predicate global.
15064 (completion-in-region--postch):
15065 Assume completion-in-region-mode--predicate is not null.
15066
15067 * progmodes/flymake.el (flymake-start-syntax-check-process):
15068 Obey `dir'. Simplify.
15069
15070 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15071 we're in VC after all.
15072
15073 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15074
15075 * vc/vc.el (vc-diff-build-argument-list-internal)
15076 (vc-version-ediff, vc-ediff): New commands.
15077 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15078
15079 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15080
15081 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15082 add sanity check.
15083
15084 * obsolete/erc-hecomplete.el: Make obsolete.
15085 * obsolete/: Standardize obsolescence info in the header.
15086
15087 2011-04-20 Glenn Morris <rgm@gnu.org>
15088
15089 * calendar/solar.el (solar-horizontal-coordinates):
15090 Use the longitude argument rather than `calendar-longitude'.
15091 (solar-date-next-longitude): Remove unused locals.
15092
15093 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15094
15095 * whitespace.el: New version 13.2.1.
15096
15097 2011-04-20 felix <EmacsWiki> (tiny change)
15098
15099 * whitespace.el (global-whitespace-mode): Keep highlight when
15100 switching between major modes on a file.
15101
15102 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15103
15104 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15105 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15106 multi-line comments as well.
15107
15108 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15109
15110 Lexical-binding cleanup.
15111
15112 * arc-mode.el (archive-mode-revert):
15113 * cmuscheme.el (scheme-interactively-start-process):
15114 * custom.el (custom-initialize-delay):
15115 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15116 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15117 * emacs-lock.el (emacs-lock-clear-sentinel):
15118 * ezimage.el (defezimage):
15119 * follow.el (follow-avoid-tail-recenter):
15120 * fringe.el (set-fringe-mode-1):
15121 * generic-x.el (bat-generic-mode-compile):
15122 * help-mode.el (help-info-variable, help-do-xref)
15123 (help-mode-revert-buffer):
15124 * help.el (view-emacs-todo):
15125 * iswitchb.el (iswitchb-completion-help):
15126 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15127 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15128 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15129 * locate.el (locate-update):
15130 * longlines.el (longlines-encode-region)
15131 (longlines-after-change-function):
15132 * outline.el (outline-isearch-open-invisible):
15133 * ps-def.el (declare-function, charset-dimension, char-width)
15134 (encode-char):
15135 * ps-mule.el (ps-mule-plot-string):
15136 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15137 (recentf-edit-list-select, recentf-edit-list-validate)
15138 (recentf-open-files-action):
15139 * rect.el (delete-whitespace-rectangle-line)
15140 (rectangle-number-line-callback):
15141 * register.el (window-configuration-to-register)
15142 (frame-configuration-to-register):
15143 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15144 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15145 (xselect-convert-to-targets, xselect-convert-to-delete)
15146 (xselect-convert-to-filename, xselect-convert-to-charpos)
15147 (xselect-convert-to-lineno, xselect-convert-to-colno)
15148 (xselect-convert-to-os, xselect-convert-to-host)
15149 (xselect-convert-to-user, xselect-convert-to-class)
15150 (xselect-convert-to-name, xselect-convert-to-integer)
15151 (xselect-convert-to-atom, xselect-convert-to-identity):
15152 * subr.el (declare, ignore, process-kill-without-query)
15153 (text-clone-maintain):
15154 * terminal.el (te-get-char, te-tic-sentinel):
15155 * tool-bar.el (tool-bar-make-keymap):
15156 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15157 * type-break.el (type-break-mode, type-break-noninteractive-query):
15158 * view.el (View-back-to-mark):
15159 * wid-browse.el (widget-browse-action, widget-browse-widget)
15160 (widget-browse-widgets, widget-browse-sexp):
15161 * widget.el (define-widget-keywords):
15162 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15163 Mark unused parameters.
15164
15165 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15166 (align-areas): Remove unused variable `look'.
15167 (align-region): Remove unused variables `real-end' and `pos-list'.
15168
15169 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15170
15171 * bindings.el (mode-line-modified, mode-line-remote):
15172 Mark unused parameters.
15173 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15174
15175 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15176 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15177
15178 * comint.el (comint-history-isearch-pop-state)
15179 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15180 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15181 (comint-substitute-in-file-name): Doc fix.
15182
15183 * completion.el (cmpl-statistics-block): Mark unused parameter.
15184 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15185 (save-completions-to-file, load-completions-from-file):
15186 Remove unused local variable `e'.
15187
15188 * composite.el (compose-chars): Remove unused variable `len'.
15189 (lgstring-insert-glyph): Remove unused variable `g'.
15190 (compose-glyph-string): Remove unused variables `ascent',
15191 `descent', `lbearing' and `rbearing'.
15192 (compose-glyph-string-relative): Remove unused variables
15193 `lbearing', `rbearing' and `wadjust'.
15194 (compose-gstring-for-graphic): Remove unused variables `header',
15195 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15196 (compose-gstring-for-terminal): Remove unused variables `header'
15197 and `nchars'. Use `let', not `let*'.
15198
15199 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15200 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15201 (Custom-buffer-done, custom-buffer-create-internal)
15202 (custom-browse-visibility-action, custom-browse-group-tag-action)
15203 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15204 (widget-magic-mouse-down-action, custom-toggle-parent)
15205 (custom-add-parent-links, custom-toggle-hide-variable)
15206 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15207 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15208 (custom-face-menu-create, custom-variable-menu-create, get)
15209 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15210 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15211 (customize-apropos): Remove unused variable `tests'.
15212 (custom-group-value-create): Remove unused variable `hidden-p'.
15213 (sort-fold-case): Declare.
15214
15215 * cus-theme.el (custom-reset-standard-faces-list)
15216 (custom-reset-standard-variables-list): Declare.
15217 (customize-create-theme, custom-theme-revert, custom-theme-write)
15218 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15219 Mark unused parameters.
15220
15221 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15222
15223 * delim-col.el (delimit-columns-max): Move defvar before first use.
15224
15225 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15226 (describe-char): Don't quote `lambda'. Mark unused parameter.
15227
15228 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15229 (auto-insert): Declare.
15230 (desktop-restore-file-buffer): Rename desktop-* parameters;
15231 mark unused ones.
15232 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15233 (desktop-buffer): Rename desktop-* parameters.
15234
15235 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15236 (dframe-reposition-frame-xemacs, dframe-help-echo)
15237 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15238 Mark unused parameters.
15239
15240 * dired-aux.el (backup-extract-version-start, overwrite-query)
15241 (overwrite-backup-query, rename-regexp-query)
15242 (rename-non-directory-query): Declare.
15243 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15244 (dired-add-entry): Remove unused variable `orig-file-name'.
15245 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15246 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15247 `dired-copy-preserve-time' directly.
15248 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15249 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15250
15251 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15252 (dired-virtual-revert, dired-make-relative-symlink):
15253 Mark unused parameters.
15254 (manual-program): Declare.
15255 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15256 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15257 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15258
15259 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15260
15261 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15262
15263 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15264 Declare.
15265
15266 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15267
15268 * electric.el (Electric-command-loop): Rename parameter
15269 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15270
15271 * expand.el (expand-in-literal): Remove unused variable `here'.
15272
15273 * facemenu.el (facemenu-add-new-color):
15274 Remove unused variable `docstring'.
15275
15276 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15277 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15278 (face-attr-construct): Mark unused parameter. Doc fix.
15279 (read-color): Remove unused variable `hex-string'.
15280
15281 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15282 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15283 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15284 (display-buffer-other-frame): Remove unused variable `old-window'.
15285 (kill-buffer-hook): Declare.
15286 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15287 Mark unused parameters.
15288 (after-find-file): Pass 1 to `auto-save-mode', not t.
15289
15290 * files-x.el (auto-insert): Declare.
15291 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15292
15293 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15294 variable `buf'. Mark unused parameter.
15295 (find-lisp-insert-directory): Mark unused parameter.
15296
15297 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15298 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15299 (format-common-tail): Remove, unused.
15300 (format-deannotate-region): Remove unused variable `loc'.
15301 (format-annotate-region): Remove unused variable `p'.
15302 (format-annotate-single-property-change): Remove unused variables
15303 `default' and `tail'.
15304
15305 * forms.el (read-file-filter): Declare.
15306 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15307
15308 * frame.el (frame-creation-function-alist): Mark unused parameter.
15309 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15310
15311 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15312 Remove unused parameters.
15313 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15314 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15315
15316 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15317 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15318 (hfy-prepare-tag-map): Mark unused parameters.
15319 (htmlfontify-buffer): Use `called-interactively-p'.
15320
15321 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15322 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15323 (ibuffer-do-occur): Mark unused parameters.
15324 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15325 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15326
15327 * ibuffer.el: Don't quote `lambda'.
15328 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15329 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15330 Mark unused parameters.
15331
15332 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15333 (ido-completing-read): Mark unused parameters.
15334 (ido-copy-current-word): Mark unused parameters;
15335 remove unused variable `name'.
15336 (ido-sort-merged-list): Remove unused parameter `dirs'.
15337
15338 * ielm.el (ielm-input-sender): Mark unused parameter.
15339 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15340 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15341 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15342 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15343 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15344
15345 * image-dired.el (image-dired-display-thumbs): Remove unused
15346 variables `curr-file' and `count'.
15347 (image-dired-remove-tag): Remove unused variable `start'.
15348 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15349 variable `curr-file'
15350 (image-dired-rotate-original): Remove unused variable `temp-file'.
15351 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15352 Remove unused variable `file'.
15353 (image-dired-gallery-generate): Remove unused variable `curr'.
15354 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15355
15356 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15357
15358 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15359
15360 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15361
15362 * isearch.el (minibuffer-history-symbol): Declare.
15363 (isearch-edit-string): Remove unused variable `err'.
15364 (isearch-message-prefix, isearch-message-suffix):
15365 Mark unused parameters.
15366
15367 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15368
15369 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15370
15371 * makesum.el (double-column): Remove unused variable `cnt'.
15372
15373 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15374 (ido-ignore-item-temp-list): Declare.
15375
15376 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15377 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15378 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15379 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15380 `mouse-col-delta'.
15381
15382 * mouse-sel.el (mouse-extend-internal):
15383 Remove unused variable `orig-window-frame'.
15384
15385 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15386 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15387 Move declarations before first use.
15388 (pcomplete-opt): Mark unused parameters; doc fix.
15389
15390 * proced.el (proced-revert): Mark unused parameter.
15391 (proced-send-signal): Remove unused variable `err'.
15392
15393 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15394 Rename parameter PREFIX-ARG to ARG.
15395 (ps-basic-plot-string, ps-basic-plot-whitespace):
15396 Mark unused parameters.
15397
15398 * replace.el (replace-count): Define.
15399 (occur-revert-function): Mark unused parameters.
15400 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15401 (isearch-case-fold-search, isearch-string): Declare.
15402 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15403 bind `case-fold-search'. Remove unused variables `beg' and `end',
15404 and simplify.
15405 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15406 COUNT and bind `replace-count'.
15407 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15408 to COUNT.
15409
15410 * savehist.el (print-readably, print-string-length): Declare.
15411
15412 * shadowfile.el (shadow-expand-cluster-in-file-name):
15413 Remove unused variable `cluster'.
15414 (shadow-copy-file): Remove unused variable `i'.
15415 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15416 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15417 (shadow-define-literal-group, shadow-define-regexp-group)
15418 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15419
15420 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15421 (shell): Use `called-interactively-p'.
15422 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15423
15424 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15425 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15426 (delete-backward-char): Remove unused variable `ocol'.
15427 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15428 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15429 (event-apply-hyper-modifier, event-apply-shift-modifier)
15430 (event-apply-control-modifier, event-apply-meta-modifier):
15431 Mark unused parameters.
15432 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15433 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15434
15435 * speedbar.el (speedbar-ignored-directory-expressions)
15436 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15437 (speedbar-find-file, speedbar-dir-follow)
15438 (speedbar-directory-buttons-follow, speedbar-tag-find)
15439 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15440 (speedbar-buffers-line-directory, speedbar-buffer-click):
15441 Mark unused parameters.
15442 (speedbar-tag-file): Remove unused variable `mode'.
15443 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15444
15445 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15446
15447 * talk.el (talk): Remove unused variable `display'.
15448
15449 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15450 (tar-write-region-annotate): Mark unused parameter.
15451
15452 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15453 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15454 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15455 warning by another.
15456
15457 * time-stamp.el (time-stamp-string-preprocess):
15458 Remove unused variable `require-padding'.
15459
15460 * tree-widget.el (widget-glyph-enable): Declare.
15461 (tree-widget-action): Mark unused parameter.
15462
15463 * w32-fns.el (x-get-selection): Mark unused parameter.
15464 (autoload-make-program, generated-autoload-file): Declare.
15465
15466 * wdired.el (wdired-revert): Mark unused parameters.
15467 (wdired-xcase-word): Remove unused variable `err'.
15468
15469 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15470 (whitespace-help-scroll): Remove unused variable `data-help'.
15471
15472 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15473 (widget-image-insert, widget-after-change, default)
15474 (widget-default-format-handler, widget-default-notify)
15475 (widget-default-prompt-value, widget-info-link-action)
15476 (widget-url-link-action, widget-function-link-action)
15477 (widget-variable-link-action, widget-file-link-action)
15478 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15479 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15480 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15481 (widget-insert-button-action, widget-delete-button-action, visibility)
15482 (widget-documentation-link-action, widget-documentation-string-action)
15483 (widget-const-prompt-value, widget-regexp-match, symbol)
15484 (widget-coding-system-prompt-value)
15485 (widget-key-sequence-value-to-external, sexp)
15486 (widget-sexp-value-to-internal, character, vector, cons)
15487 (widget-choice-prompt-value, widget-boolean-prompt-value)
15488 (widget-color--choose-action): Mark unused parameters.
15489 (widget-item-match-inline, widget-choice-match-inline)
15490 (widget-checklist-match, widget-checklist-match-inline)
15491 (widget-group-match): Rename parameter VALUES to VALS.
15492 (widget-field-value-set): Remove unused variable `size'.
15493 (widget-color-action): Remove unused variables `value' and `start'.
15494
15495 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15496 variable `dir'. Doc fix.
15497 (windmove-find-other-window): Don't pass it.
15498
15499 * window.el (count-windows): Mark unused parameter.
15500 (bw-adjust-window): Remove unused variable `err'.
15501
15502 * woman.el (woman-file-name): Remove unused variable `default'.
15503 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15504 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15505 (global-font-lock-mode): Declare.
15506 (woman-decode-region): Mark unused parameter.
15507 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15508
15509 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15510 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15511 (x-dnd-handle-moz-url): Remove unused variable `title'.
15512 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15513
15514 * xml.el (xml-parse-tag, xml-parse-attlist):
15515 Remove unused variable `pos'.
15516
15517 2011-04-19 Glenn Morris <rgm@gnu.org>
15518
15519 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15520 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15521 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15522 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15523 * calendar/cal-html.el (cal-html-insert-minical):
15524 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15525 (calendar-mark-date-pattern):
15526 Prefix "unused" locals.
15527
15528 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15529 optional argument `style'.
15530
15531 * calendar/appt.el (appt-make-list):
15532 * calendar/cal-china.el (calendar-chinese-date-string):
15533 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15534 (diary-hebrew-yahrzeit):
15535 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15536 * calendar/calendar.el (calendar-generate-window):
15537 * calendar/time-date.el (time-to-days):
15538 Remove unused local variables.
15539
15540 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
15541
15542 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15543 glyphless-char-display table.
15544 (tabulated-list-glyphless-char-display): New var.
15545
15546 2011-04-18 Sam Steingold <sds@gnu.org>
15547
15548 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15549 to acknowledgments.
15550
15551 2011-04-17 Glenn Morris <rgm@gnu.org>
15552
15553 * calendar/diary-lib.el (diary-sexp-entry):
15554 * calendar/holidays.el (holiday-sexp):
15555 Set debug-on-error rather than the removed stack-trace-on-error.
15556
15557 2011-04-16 Glenn Morris <rgm@gnu.org>
15558
15559 * progmodes/f90.el: Use lexical-binding.
15560 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15561
15562 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15563
15564 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15565 (mail-mode): Setup mailalias completion here instead.
15566 * mail/mailalias.el: Use lexical-binding.
15567 (pattern, mailalias-done): Declare dynamic.
15568 (mail-completion-at-point-function): New function, from mail-complete.
15569 (mail-complete): Use it.
15570 (mail-completion-expand): New function.
15571 (mail-get-names): Use it.
15572 (mail-directory, mail-directory-process, mail-directory-stream):
15573 Don't use `pattern' for lexically bound arg.
15574
15575 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15576
15577 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15578 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15579 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15580
15581 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15582 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15583 (byte-interactive-p): Define them again, for use when inlining
15584 old code.
15585
15586 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
15587
15588 * loadup.el: Use `string-to-number', not `string-to-int'.
15589
15590 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15591
15592 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15593 gud-gdb-complete-command.
15594 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15595 (gud-gdb-completion-at-point): New function.
15596 (gud-gdb-completions): Remove.
15597
15598 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
15599
15600 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15601 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15602 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15603 whether `executable-find' is bound.
15604
15605 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15606
15607 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15608
15609 * minibuffer.el (completion-in-region-mode-predicate)
15610 (completion-in-region-mode--predicate): New vars.
15611 (completion-in-region, completion-in-region--postch)
15612 (completion-in-region-mode): Use them.
15613 (completion--capf-wrapper): Also return the hook function.
15614 (completion-at-point, completion-help-at-point):
15615 Adjust and provide a predicate.
15616
15617 Preserve arg names for advice of subr and lexical functions (bug#8457).
15618 * help-fns.el (help-function-arglist): Consolidate the subr and
15619 new-byte-code cases. Add argument `preserve-names' to extract names
15620 from the docstring when needed.
15621 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15622 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15623 (ad-arglist): Use help-function-arglist's new arg.
15624 (ad-definition-type): Use cond.
15625
15626 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15627
15628 * autorevert.el (auto-revert-handler):
15629 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15630 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15631 Don't quote lambda.
15632
15633 * image-mode.el (image-transform-set-scale):
15634 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15635
15636 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15637
15638 * net/network-stream.el (network-stream-open-starttls): Only do
15639 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15640 Upgrades via gnutls-cli are too slow to be done opportunistically.
15641
15642 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15643
15644 * dframe.el (dframe-current-frame): Remove spurious quote.
15645
15646 2011-04-12 Glenn Morris <rgm@gnu.org>
15647
15648 * calendar/cal-tex.el (cal-tex-end-document):
15649 Try to automatically use latin1 input if needed.
15650
15651 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15652 Don't try to cons a mark onto an empty element.
15653
15654 2011-04-11 Leo Liu <sdl.web@gmail.com>
15655
15656 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15657 buffers.
15658 (ido-kill-buffer-at-head): Support killing virtual buffers.
15659
15660 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15661
15662 * minibuffer.el (completion-show-inline-help): New var.
15663 (completion--do-completion, minibuffer-complete)
15664 (minibuffer-force-complete, minibuffer-complete-word):
15665 Inhibit minibuffer messages if completion-show-inline-help is nil.
15666
15667 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15668 to avoid interference from inline help (Bug#5849).
15669
15670 2011-04-10 Leo Liu <sdl.web@gmail.com>
15671
15672 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15673 Fix typo.
15674
15675 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15676
15677 * image-mode.el (image-toggle-display-image): Signal an error if
15678 not in Image mode.
15679 (image-transform-mode, image-transform-resize)
15680 (image-transform-set-rotation): Doc fix.
15681 (image-transform-set-resize): Delete.
15682 (image-transform-set-scale, image-transform-fit-to-height)
15683 (image-transform-fit-to-width): Handle image-toggle-display-image
15684 and image-transform-resize directly.
15685
15686 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15687
15688 * doc-view.el (doc-view-fit-width-to-window)
15689 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15690 New functions for fitting the shown image to the Emacs window size.
15691 (doc-view-mode-map): Add bindings for the new functions.
15692
15693 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15694
15695 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15696 Fix typo in docstring.
15697
15698 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15699
15700 * files.el (file-size-human-readable): Produce one digit after
15701 decimal, like "ls -lh" does.
15702
15703 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15704 the file size representation.
15705
15706 * simple.el (list-processes): If async subprocesses are not
15707 available, error out with a clear error message.
15708
15709 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15710
15711 * help.el (help-form-show): New function, to be called from C.
15712 Put help-form output in a buffer named differently than *Help*.
15713
15714 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15715
15716 * files.el (file-size-human-readable): New function.
15717
15718 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15719 computing the representation inline. Don't require `cl'.
15720
15721 2011-04-08 Glenn Morris <rgm@gnu.org>
15722
15723 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15724
15725 * net/browse-url.el (browse-url-firefox):
15726 Test system-type, not system-configuration.
15727
15728 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15729 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15730 Use log-edit-empty-buffer-p. (Bug#7598)
15731
15732 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15733 (rlogin-mode-map): Initialize in the defvar.
15734 (rlogin): Use ignore-errors.
15735
15736 * replace.el (occur-mode-map): Some fixes for menu items.
15737
15738 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15739
15740 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15741
15742 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15743
15744 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15745 issuing unused warnings.
15746
15747 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15748 macro directly.
15749
15750 * simple.el: Lisp reimplement of list-processes. Based on an
15751 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15752 (process-menu-mode): New major mode.
15753 (list-processes--refresh, list-processes):
15754 (process-menu-visit-buffer): New functions.
15755
15756 * files.el (save-buffers-kill-emacs): Don't assume any return
15757 value of list-processes, which is undocumented anyway.
15758
15759 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15760
15761 * emacs-lisp/tabulated-list.el: New file.
15762
15763 * emacs-lisp/package.el: Use Tabulated List mode.
15764 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15765 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15766 table format using Tabulated List mode variables.
15767 (package--push): New macro, replacing package-list-maybe-add.
15768 (package-menu--generate): Use package--push. Renamed from
15769 package--generate-package-list.
15770 (package-menu-refresh, list-packages): Use it.
15771 (package-menu--print-info): Rename from package-print-package.
15772 Return insertion data instead of inserting it directly.
15773 (package-menu-describe-package, package-menu-execute):
15774 Use tabulated-list-get-id.
15775 (package-menu-mark-delete, package-menu-mark-install)
15776 (package-menu-mark-unmark, package-menu-backup-unmark)
15777 (package-menu-mark-obsolete-for-deletion):
15778 Use tabulated-list-put-tag.
15779 (package--list-packages, package-menu-revert)
15780 (package-menu-get-package, package-menu-get-version)
15781 (package-menu-sort-by-column): Functions deleted.
15782 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15783 (package-menu--status-predicate, package-menu--version-predicate)
15784 (package-menu--name-predicate)
15785 (package-menu--description-predicate): Handle arguments in the
15786 Tabulated List format.
15787 (package-list-packages-no-fetch): Call list-packages.
15788
15789 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
15790
15791 * files.el (after-find-file-from-revert-buffer): Remove variable.
15792 (after-find-file): Don't bind it.
15793 (revert-buffer-in-progress-p): New variable.
15794 (revert-buffer): Bind it.
15795 Pass nil for `after-find-file-from-revert-buffer'.
15796
15797 * saveplace.el (save-place-find-file-hook): Use new variable
15798 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15799
15800 2011-04-06 Glenn Morris <rgm@gnu.org>
15801
15802 * Makefile.in (AUTOGEN_VCS): New variable.
15803 (autoloads): Use $AUTOGEN_VCS.
15804
15805 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15806 * calendar/calendar.el (calendar-mode-map):
15807 Check for toolkit scroll bars. (Bug#8305)
15808
15809 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15810
15811 * minibuffer.el (completion-in-region--postch)
15812 (completion-in-region-mode): Remove unnecessary messages.
15813
15814 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
15815
15816 * font-lock.el (font-lock-refresh-defaults):
15817 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15818 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15819
15820 * info.el (Info-directory-list, Info-read-node-name-2)
15821 (Info-split-parameter-string): Doc fixes.
15822 (Info-virtual-nodes): Reflow docstring.
15823 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15824 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15825 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15826 Fix typos in docstrings.
15827 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15828 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15829 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15830 (Info-restore-desktop-buffer): Mark unused parameters.
15831 (Info-directory-find-file, Info-directory-find-node)
15832 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15833 (Info-virtual-index-find-node, Info-apropos-find-file)
15834 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15835 Mark unused parameters; fix typos in docstrings.
15836 (Info-virtual-index): Remove unused local variable `nodename'.
15837
15838 2011-04-05 Deniz Dogan <deniz@dogan.se>
15839
15840 * net/rcirc.el: Update my e-mail address.
15841 (rcirc-mode-map): Remove M-o binding.
15842
15843 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15844
15845 * startup.el (command-line): Save the cursor's theme-face
15846 directly, instead of using face-override-spec.
15847
15848 * custom.el (load-theme): Minor optimization in assigning faces.
15849
15850 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15851
15852 * help-fns.el (describe-variable): Complete all variables having
15853 documentation, including keywords.
15854 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15855
15856 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15857
15858 Convert to lexical-binding.
15859
15860 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15861 (bs--get-marked-string, bs--get-modified-string)
15862 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15863 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15864 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15865
15866 * ehelp.el (electric-help-execute-extended)
15867 (electric-help-ctrl-x-prefix):
15868 * hexl.el (hexl-revert-buffer-function):
15869 * linum.el (linum-after-change, linum-after-scroll):
15870 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15871
15872 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15873
15874 2011-04-04 Daiki Ueno <ueno@unixuser.org>
15875
15876 * epa-dired.el:
15877 * epa-mail.el:
15878 * epa-hook.el:
15879 * epa-file.el:
15880 * epa.el:
15881 * epg.el: Use lexical binding.
15882
15883 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15884
15885 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15886
15887 * textmodes/flyspell.el (flyspell-word): Recognize default
15888 dictionary case for flyspell-mark-duplications-exceptions.
15889 Use regexp matching for languages.
15890 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15891 default dictionary (Bug#7926).
15892
15893 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15894
15895 * emacs-lisp/package.el (package--with-work-buffer):
15896 Recognize https URLs.
15897
15898 * net/network-stream.el: Move from gnus/proto-stream.el.
15899 Change prefix to network-stream throughout.
15900 (open-protocol-stream): Merge into open-network-stream, leaving
15901 open-protocol-stream as an alias. Handle nil BUFFER args.
15902
15903 * subr.el (open-network-stream): Move to net/network-stream.el.
15904
15905 2011-04-02 Glenn Morris <rgm@gnu.org>
15906
15907 * find-dired.el (find-exec-terminator): New option.
15908 (find-ls-option): Test for -ls support.
15909 (find-ls-subdir-switches): Test for -b in find-ls-option.
15910 (find-dired, find-grep-dired): Doc fixes.
15911 (find-dired): Use find-exec-terminator.
15912
15913 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15914 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15915 (find-name-arg): Remove purecopy.
15916
15917 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15918 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15919 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15920 accordingly. Don't add the null-device if not needed.
15921
15922 * files.el (save-some-buffers): Doc fix.
15923
15924 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15925
15926 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15927
15928 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15929
15930 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15931 Use `dolist' rather than `mapcar'.
15932
15933 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15934
15935 Add lexical binding.
15936
15937 * subr.el (apply-partially): Use new closures rather than CL.
15938 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15939 (dolist, dotimes): Use slightly different expansion for lexical code.
15940 (functionp): Move to C.
15941 (letrec): New macro.
15942 (with-wrapper-hook): Use it and apply-partially instead of CL.
15943 (eval-after-load): Preserve lexical-binding.
15944 (save-window-excursion, with-output-to-temp-buffer): Turn them
15945 into macros.
15946
15947 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15948
15949 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15950 than the arglist.
15951 (help-add-fundoc-usage): Don't add `Not documented'.
15952 (help-function-arglist): Handle closures, subroutines, and new
15953 byte-code-functions.
15954 (help-make-usage): Remove leading underscores.
15955 (describe-function-1): Handle closures.
15956 (describe-variable): Use special-variable-p for completion.
15957
15958 * files.el (lexical-binding): Declare safe.
15959
15960 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15961 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15962 (pcase): Add `let' pattern.
15963 Change memoization so it actually works.
15964 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15965 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15966 <let>: New case.
15967
15968 * emacs-lisp/macroexp.el: Use lexical binding.
15969 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15970 Don't convert ' to #' without checking that it's indeed quoting
15971 a lambda.
15972
15973 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15974 Use eval-sexp-add-defvars.
15975 (eval-sexp-add-defvars): New fun.
15976
15977 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15978
15979 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15980 Don't autoload.
15981 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15982 than the internal `byte-compile-lambda'.
15983 (defmethod): Don't hide code under quotes.
15984 (eieio-defmethod): New `code' argument.
15985
15986 * emacs-lisp/eieio-comp.el: Remove.
15987
15988 * emacs-lisp/edebug.el (edebug-eval-defun)
15989 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15990 (edebug-toggle): Avoid `eval'.
15991
15992 * emacs-lisp/disass.el (disassemble-internal): Handle new
15993 `closure' objects.
15994 (disassemble-1): Handle new byte codes.
15995
15996 * emacs-lisp/cl.el (pushnew): Silence warning.
15997
15998 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15999 (cl-byte-compile-throw): Remove.
16000 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16001
16002 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16003 closures.
16004
16005 * emacs-lisp/cconv.el: New file.
16006
16007 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16008 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16009 (byte-compile-initial-macro-environment):
16010 Handle declare-function here.
16011 (byte-compile--lexical-environment): New var.
16012 (byte-stack-ref, byte-stack-set, byte-discardN)
16013 (byte-discardN-preserve-tos): New lap codes.
16014 (byte-interactive-p): Don't use any more.
16015 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16016 New macros.
16017 (byte-compile-lapcode): Use them and handle new lap codes.
16018 (byte-compile-obsolete): Remove.
16019 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16020 (byte-compile-arglist-warn): Check late def of inlinable funs.
16021 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16022 since they should have been expanded by now.
16023 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16024 (byte-compile-from-buffer): Remove unused second arg.
16025 (byte-compile-preprocess): New function.
16026 (byte-compile-toplevel-file-form): New function to distinguish
16027 file-form calls from outside from file-form calls from hunk-handlers.
16028 (byte-compile-file-form): Simplify.
16029 (byte-compile-file-form-defsubst): Remove.
16030 (byte-compile-file-form-defmumble): Simplify now that
16031 byte-compile-lambda always returns a byte-code-function.
16032 (byte-compile): Preprocess.
16033 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16034 Remove, not used any more.
16035 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16036 (byte-compile-make-args-desc): New funs.
16037 (byte-compile-lambda): Handle lexical functions. Always return
16038 a byte-code-function.
16039 (byte-compile-reserved-constants): New var, to make up room for
16040 closed-over variables.
16041 (byte-compile-constants-vector): Obey it.
16042 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16043 (byte-compile-macroexpand-declare-function): New function.
16044 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16045 byte-code-functions.
16046 (byte-compile-form): Check obsolescence here.
16047 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16048 (byte-compile-variable-ref): Remove.
16049 (byte-compile-dynamic-variable-op): New fun.
16050 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16051 (byte-compile-variable-set): New funs.
16052 (byte-compile-discard): Add 2 args.
16053 (byte-compile-stack-ref, byte-compile-stack-set)
16054 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16055 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16056 macroexpand-all instead.
16057 (byte-compile-quote-form): Remove.
16058 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16059 (byte-compile-bind, byte-compile-unbind): New funs.
16060 (byte-compile-let): Handle let* and lexical binding.
16061 (byte-compile-let*): Remove.
16062 (byte-compile-catch, byte-compile-unwind-protect)
16063 (byte-compile-track-mouse, byte-compile-condition-case):
16064 Handle a new :fun-body form, used for lexical scoping.
16065 (byte-compile-save-window-excursion)
16066 (byte-compile-with-output-to-temp-buffer): Remove.
16067 (byte-compile-defun): Simplify.
16068 (byte-compile-stack-adjustment): New fun.
16069 (byte-compile-out): Use it.
16070 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16071
16072 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16073 handler any more.
16074
16075 * emacs-lisp/byte-opt.el: Use lexical binding.
16076 (byte-inline-lapcode): Remove (to bytecomp).
16077 (byte-compile-inline-expand): Pay attention to inlining to/from
16078 lexically bound code.
16079 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16080 any more.
16081 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16082 any more and don't call compiler-macros.
16083 (byte-compile-splice-in-already-compiled-code): Remove.
16084 (byte-code): Don't inline any more.
16085 (disassemble-offset): Receive `bytes' as argument rather than via
16086 dynamic scoping.
16087 (byte-compile-tag-number): Declare before first use.
16088 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16089 `return' even if make-spliceable.
16090 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16091 obsolete interactive-p.
16092 (byte-optimize-lapcode): Optimize new lap-codes.
16093 Don't trip up on new form of `byte-constant' lap code.
16094
16095 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16096
16097 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16098
16099 * custom.el (custom-initialize-default, custom-declare-variable):
16100 Use `defvar'.
16101
16102 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16103 New variables.
16104 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16105 (COMPILE_FIRST): Add macroexp and cconv.
16106 * makefile.w32-in: Mirror changes in Makefile.in.
16107
16108 * vc/cvs-status.el:
16109 * vc/diff-mode.el:
16110 * vc/log-edit.el:
16111 * vc/log-view.el:
16112 * vc/smerge-mode.el:
16113 * textmodes/bibtex-style.el:
16114 * textmodes/css-mode.el:
16115 * startup.el:
16116 * uniquify.el:
16117 * minibuffer.el:
16118 * newcomment.el:
16119 * reveal.el:
16120 * server.el:
16121 * mpc.el:
16122 * emacs-lisp/smie.el:
16123 * doc-view.el:
16124 * dired.el:
16125 * abbrev.el: Use lexical binding.
16126
16127 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16128
16129 * info.el (info-display-manual): New function.
16130
16131 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16132
16133 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16134
16135 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16136
16137 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16138 an entry for that server in rcirc-authinfo. (Bug#8385)
16139
16140 2011-03-31 Glenn Morris <rgm@gnu.org>
16141
16142 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16143
16144 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16145
16146 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16147
16148 * progmodes/python.el (python-default-interpreter)
16149 (python-python-command-args, python-jython-command-args)
16150 (python-which-shell, python-which-args, python-which-bufname)
16151 (python-file-queue, python-comint-output-filter-function)
16152 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16153 variables and functions.
16154
16155 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16156
16157 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16158 (completion-in-region-mode): New minor mode.
16159 (completion-in-region): Use it.
16160 (completion-in-region--data, completion-in-region-mode-map): New vars.
16161 (completion-in-region--postch): New function.
16162 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16163 New vars.
16164 (completion--capf-wrapper): New function.
16165 (completion-at-point): Use it to track well-behavedness of
16166 hook functions.
16167 (completion-help-at-point): New command.
16168
16169 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16170
16171 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16172 syntax class to search for whitespace on a single line
16173 (Message-ID: <4D938140.4030905@redhat.com>).
16174
16175 2011-03-30 Leo Liu <sdl.web@gmail.com>
16176
16177 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16178 New commands.
16179 (edit-abbrevs-map): Bind them here.
16180 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16181
16182 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16183
16184 * allout.el (allout-hide-by-annotation, allout-flag-region):
16185 Reduce possibility of overlay leakage by making them volatile.
16186
16187 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16188 hash is not shared between buffers. Mode initialization is
16189 responsible for giving it a useful starting value.
16190 (allout-item-span): Reduce possibility of overlay leakage by
16191 making them volatile.
16192 (allout-widgets-count-buttons-in-region): Add diagnostic function
16193 for tracking down button overlay leaks.
16194
16195 2011-03-29 Leo Liu <sdl.web@gmail.com>
16196
16197 * ido.el (ido-read-internal): Use the default history var
16198 minibuffer-history if no HISTORY is specified.
16199
16200 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16201
16202 * net/imap.el (imap-shell-open, imap-process-connection-type):
16203 Use imap-process-connection-type for 'shell' streams as well as
16204 Kerberos, SSL, other subprocesses.
16205
16206 2011-03-28 Leo Liu <sdl.web@gmail.com>
16207
16208 * abbrev.el (abbrev-table-empty-p): New function.
16209 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16210 nonempty ones. (Bug#5937)
16211
16212 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16213
16214 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16215
16216 2011-03-27 Leo Liu <sdl.web@gmail.com>
16217
16218 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16219 for foreground and background colors.
16220 (ansi-color-make-color-map): Adapt.
16221
16222 2011-03-25 Leo Liu <sdl.web@gmail.com>
16223
16224 * midnight.el (midnight-time-float): Remove. Note it calculates
16225 the microsecond component incorrectly and seconds-to-time does the
16226 same job.
16227 Remove redundant (require 'timer).
16228
16229 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16230 (ido-completions): Remove unused arguments. (Bug#8329)
16231
16232 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16233
16234 * minibuffer.el (completion--flush-all-sorted-completions):
16235 Remove itself from hook.
16236 (completion-at-point): Let the functions perform the completion
16237 immediately and return nil or t.
16238 * comint.el (comint-dynamic-complete-functions): Now identical to
16239 completion-at-point-functions.
16240 (comint-dynamic-list-input-ring): Remove unused var `index'.
16241 (comint--match-partial-filename, comint--unquote&expand-filename):
16242 New funs, split from comint-match-partial-filename.
16243 (comint-dynamic-complete): Use completion-at-point.
16244 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16245
16246 2011-03-24 Drew Adams <drew.adams@oracle.com>
16247
16248 * thingatpt.el: Support `defun'.
16249
16250 2011-03-23 Leo Liu <sdl.web@gmail.com>
16251
16252 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16253
16254 * help-mode.el (help-mode-finish): Tweak regexp.
16255
16256 2011-03-23 Glenn Morris <rgm@gnu.org>
16257
16258 * eshell/esh-opt.el (eshell-eval-using-options):
16259 Do not bind unused local variable `eshell-option-stub'.
16260
16261 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16262
16263 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16264
16265 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16266 keymap variable in `with-no-warnings' to avoid a warning when the
16267 keymap has been already `defconst'ed.
16268
16269 2011-03-22 Leo Liu <sdl.web@gmail.com>
16270
16271 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16272 encode all chars in abbrevs; otherwise use emacs-mule or
16273 utf-8-emacs. (Bug#8308)
16274
16275 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16276
16277 * simple.el (backward-delete-char-untabify):
16278 Avoid warning about using `delete-backward-char'.
16279
16280 * image.el (image-type-file-name-regexps): Make it variable.
16281 `imagemagick-register-types' modifies it, and the user may want
16282 to add new extensions for known image types.
16283 (imagemagick-register-types): Throw error if not using ImageMagick.
16284
16285 2011-03-22 Leo Liu <sdl.web@gmail.com>
16286
16287 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16288 located before rcirc-prompt-end-marker.
16289 (rcirc-complete): Error if point is not after rcirc prompt.
16290 Handle the case when table is nil.
16291 (rcirc-user-authenticated): Define to fix compiler warning.
16292
16293 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16294
16295 * custom.el (custom--inhibit-theme-enable): Make it affect only
16296 custom-theme-set-variables and custom-theme-set-faces.
16297 (provide-theme): Ignore custom--inhibit-theme-enable.
16298 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16299 (custom-enabling-themes): Delete variable.
16300 (enable-theme): Accept only loaded themes as arguments.
16301 Ignore the special custom-enabled-themes variable.
16302 (custom-enabled-themes): Forbid themes from setting this.
16303 Eliminate use of custom-enabling-themes.
16304 (custom-push-theme): Quote "changed" custom var entry.
16305
16306 2011-03-21 Leo Liu <sdl.web@gmail.com>
16307
16308 * ido.el (ido-read-internal): Add ido-selected to history instead
16309 of user input.
16310
16311 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16312
16313 * subr.el (deferred-action-list, deferred-action-function):
16314 Mark obsolete.
16315
16316 2011-03-21 Leo Liu <sdl.web@gmail.com>
16317
16318 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16319 change on 2011-02-13 (bug#8309).
16320
16321 * minibuffer.el (read-file-name-function): Change default value.
16322 (read-file-name--defaults): Rename from read-file-name-defaults.
16323 (read-file-name-default): Rename from read-file-name.
16324 (read-file-name): Call read-file-name-function.
16325
16326 2011-03-21 Glenn Morris <rgm@gnu.org>
16327
16328 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16329 Doc fixes.
16330
16331 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16332
16333 * cus-theme.el: Add missing provide statement.
16334 (customize-create-theme): Extract theme value correctly.
16335 (custom-theme-visit-theme): Autoload.
16336 (customize-create-theme): Prompt before inserting default faces.
16337
16338 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16339
16340 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16341 units and musical notes.
16342
16343 2011-03-20 Leo Liu <sdl.web@gmail.com>
16344
16345 * ido.el (ido-read-internal): Use completing-read-default.
16346 (ido-completing-read): Fix compatibility with completing-read.
16347
16348 2011-03-20 Christian Ohler <ohler@gnu.org>
16349
16350 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16351 (ert-delete-all-tests): Use `called-interactively-p' rather than
16352 `interactive-p'.
16353 (ert--make-xrefs-region): Respect END.
16354
16355 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16356
16357 * dired-aux.el (dired-create-directory): Signal an error if the
16358 directory already exists (Bug#8246).
16359
16360 * facemenu.el (list-colors-display): Call list-faces-display
16361 inside with-help-window.
16362 (list-colors-print): Use display property to align the final
16363 column, instead of checking window-width.
16364
16365 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16366
16367 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16368 windows-nt systems.
16369 (emerge-protect-metachars): Quote correctly for ms-dos and
16370 windows-nt systems.
16371
16372 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16373
16374 * info.el (info-initialize): Replace all uses of `:' with
16375 path-separator for compatibility with non-Unix systems.
16376 Cache quoting of path-separator. (Bug#8258)
16377
16378 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16379
16380 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16381 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16382 (mouse-avoidance-mode): Fix typos in docstrings.
16383
16384 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16385
16386 * startup.el (package-subdirectory-regexp): Move from package.el.
16387 Omit \\` and \\', and let callers add them.
16388
16389 * emacs-lisp/package.el (package-strip-version)
16390 (package-load-all-descriptors): Add \\` and \\' to
16391 package-subdirectory-regexp before using it.
16392 (package-untar-buffer): New arg DIR; ensure that file untars only
16393 into this expected directory. Remove superfluous delete-region.
16394 (package-unpack): Caller changed.
16395 (package-tar-file-info): Use package-subdirectory-regexp.
16396
16397 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16398
16399 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16400 diff-mode-shared-map (bug#8284).
16401 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16402
16403 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16404
16405 * calendar/time-date.el (format-seconds): Use assoc instead of
16406 assoc-string, since assoc-string doesn't exist in XEmacs.
16407
16408 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16409
16410 * custom.el (custom-known-themes): Reflow docstring.
16411 (custom-theme-load-path): Fix typo in docstring.
16412 (load-theme): Fix typo in error message.
16413 (custom-available-themes, custom-variable-theme-value):
16414 Use `let', not `let*'.
16415
16416 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16417
16418 * calc/README: Mention inclusion of musical notes.
16419
16420 * calc/calc-units.el (calc-lu-quant): Rename from
16421 `calc-logunits-quantity'.
16422 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16423 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16424 (calc-db): Rename from `calc-dblevel'.
16425 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16426 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16427 (calc-np): Rename from `calc-nplevel'.
16428 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16429 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16430 (calc-lu-plus): Rename from `calc-logunits-add'.
16431 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16432 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16433 (calc-lu-minus): Rename from `calc-logunits-sub'.
16434 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16435 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16436 (calc-lu-times): Rename from `calc-logunits-mul'.
16437 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16438 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16439 (calc-lu-divide): Rename from `calc-logunits-div'.
16440 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16441 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16442
16443 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16444 functions being autoloaded.
16445
16446 * calc/calc.el (calc-lu-power-reference): Rename from
16447 `calc-logunits-power-reference'.
16448 (calc-lu-field-reference): Rename from
16449 `calc-logunits-field-reference'.
16450
16451 * calc/calc-help.el (calc-l-prefix-help):
16452 Mention musical note functions.
16453
16454 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16455
16456 * minibuffer.el (completion-all-sorted-completions):
16457 Use :completion-cycle-penalty text property if present.
16458
16459 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16460
16461 * allout.el (allout-yank-processing): Adjust for new rebulleting
16462 regime so bullet being yanked is used without prompting the user
16463 for a choice.
16464
16465 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16466
16467 * startup.el (command-line): Warn the user that _emacs is deprecated.
16468
16469 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16470
16471 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16472 (delphi-verbose, delphi-comment-face, delphi-string-face)
16473 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16474 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16475 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16476 (delphi-new-comment-line, delphi-font-lock-defaults)
16477 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16478 Fix typos in docstrings.
16479
16480 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16481
16482 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16483 Invert the roles of character and string values for INSTEAD, so a
16484 string is used for the more common case of a defaulting prompt.
16485
16486 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16487
16488 * progmodes/ruby-mode.el (ruby-backward-sexp):
16489 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16490 * play/gamegrid.el (gamegrid-make-face):
16491 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16492 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16493 * notifications.el (notifications-notify):
16494 * net/xesam.el (xesam-search-engines):
16495 * net/quickurl.el (quickurl-list-insert):
16496 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16497
16498 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
16499
16500 * startup.el (command-line): Update package subdirectory regexp.
16501
16502 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16503
16504 * allout.el (allout-abbreviate-flattened-numbering)
16505 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16506
16507 * subr.el (read-char-choice): Only show the cursor after the prompt,
16508 not after the answer.
16509
16510 2011-03-15 Kevin Ryde <user42@zip.com.au>
16511
16512 * help-fns.el (variable-at-point): Skip leading quotes, if any
16513 (bug#8253).
16514
16515 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16516
16517 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16518 warning message.
16519
16520 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
16521
16522 * shell.el (shell): When called interactively, offer to change the
16523 shell file name on remote hosts.
16524
16525 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16526
16527 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16528 integration for LDAP parameters. The host, base, user or binddn,
16529 and secret tokens can be specified in a netrc file, for instance.
16530 This is optional because an `auth-source' parameter must be
16531 specified in the search attributes.
16532
16533 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
16534
16535 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16536
16537 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16538
16539 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16540 into declaration. Remove redundant and harmful binding.
16541
16542 2011-03-12 Eli Zaretskii <eliz@gnu.org>
16543
16544 * files.el (file-ownership-preserved-p): Pass `integer' as an
16545 explicit 2nd argument to `file-attributes'. If the file's owner
16546 is the Administrators group on Windows, and the current user is
16547 Administrator, consider that a match.
16548
16549 * server.el (server-ensure-safe-dir): Consider server directory
16550 safe on MS-Windows if its owner is the Administrators group while
16551 the current Emacs user is Administrator. Use `=' to compare
16552 numerical UIDs, since they could be integers or floats.
16553
16554 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
16555
16556 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16557
16558 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
16559
16560 Sync with Tramp 2.2.1.
16561
16562 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16563
16564 * net/trampver.el: Update release number.
16565
16566 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16567
16568 * progmodes/compile.el (compilation--previous-directory): Fix up
16569 various nil/dead-marker mismatches (bug#8014).
16570 (compilation-directory-properties, compilation-error-properties):
16571 Don't call it at a position past the one we're about to change.
16572
16573 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16574 Disable obsolescence warnings in the file that declares it.
16575
16576 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16577
16578 * allout-widgets.el (allout-widgets-tally):
16579 Initialize allout-widgets-tally as a hash table rather than nil to
16580 prevent mode-line redisplay warnings. Also, clarify the module
16581 description and fix a comment typo.
16582
16583 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
16584
16585 * help-fns.el (describe-variable): Don't complete keywords.
16586 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16587
16588 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
16589
16590 * emacs-lisp/package.el (package-version-join): Impose a standard
16591 string representation for pre/alpha/beta version lists.
16592 (package-unpack-single): Standardize the directory name by passing
16593 it through package-version-join.
16594 (package-strip-rcs-id): Accept any version string that does not
16595 signal an error in version-to-list.
16596
16597 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
16598
16599 * simple.el (delete-trailing-whitespace): Return nil for the
16600 benefit of `write-file-functions'.
16601
16602 2011-03-10 Glenn Morris <rgm@gnu.org>
16603
16604 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16605
16606 * vc/vc-git.el (vc-git-program): New option.
16607 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16608 (vc-git--call): Use it.
16609
16610 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16611
16612 * cus-edit.el (Custom-newline): If no button at point, look
16613 for a subgroup button at start-of-line. (Bug#2298)
16614
16615 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16616
16617 2011-03-10 Julien Danjou <julien@danjou.info>
16618
16619 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16620 `cursor-type' is nil.
16621
16622 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16623
16624 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16625
16626 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16627
16628 * allout.el: Change so yank of distinctive-bullet items
16629 preserves the existing header prefix, rebulleting it if necessary,
16630 rather than replacing it. This is necessary for proper operation
16631 of cooperative addons like allout-widgets.
16632 (allout-make-topic-prefix, allout-rebullet-heading):
16633 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16634 value as alternate bullet to be used, instead of prompting the user
16635 for a bullet character.
16636
16637 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16638
16639 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16640 Do not use `tramp-file-name-port', because this returns also
16641 `tramp-default-port'.
16642
16643 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16644
16645 * net/rcirc.el (rcirc-handler-001): Remove useless
16646 with-rcirc-process-buffer.
16647 (rcirc-check-auth-status): Swap arguments to string-match.
16648
16649 2011-03-09 Glenn Morris <rgm@gnu.org>
16650
16651 * shell.el (shell-mode):
16652 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16653
16654 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16655 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16656
16657 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16658
16659 * emacs-lisp/package.el (package-refresh-contents)
16660 (package-menu-execute): Use condition-case-no-debug.
16661
16662 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16663
16664 * simple.el (shell-command-to-string): Use `process-file'.
16665
16666 * emacs-lisp/package.el (package-tar-file-info): Handle also
16667 remote files.
16668
16669 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16670 Use `equal' for upload base check.
16671
16672 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16673
16674 * textmodes/texinfo.el (texinfo-environments):
16675 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16676
16677 2011-03-08 Glenn Morris <rgm@gnu.org>
16678
16679 * cus-start.el (cursor-in-non-selected-windows):
16680 Fix :set quoting oddness. (Bug#8192)
16681
16682 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16683 in some setf expressions. (Bug#2159)
16684
16685 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16686
16687 * custom.el (custom-available-themes): Return themes in
16688 alphabetical order.
16689
16690 See ChangeLog.15 for earlier changes.
16691
16692 ;; Local Variables:
16693 ;; coding: utf-8
16694 ;; End:
16695
16696 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16697
16698 This file is part of GNU Emacs.
16699
16700 GNU Emacs is free software: you can redistribute it and/or modify
16701 it under the terms of the GNU General Public License as published by
16702 the Free Software Foundation, either version 3 of the License, or
16703 (at your option) any later version.
16704
16705 GNU Emacs is distributed in the hope that it will be useful,
16706 but WITHOUT ANY WARRANTY; without even the implied warranty of
16707 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16708 GNU General Public License for more details.
16709
16710 You should have received a copy of the GNU General Public License
16711 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.