* international/mule-cmds.el (ucs-insert): Mark it as an obsolete
[bpt/emacs.git] / lisp / ChangeLog
1 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2
3 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4 function, not an obsolete variable (Bug#12046).
5
6 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7
8 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9
10 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11
12 * emacs-lisp/pp.el (pp-display-expression): Select old selected
13 window only if it is still live (Bug#12034).
14
15 2012-07-25 Martin Rudalics <rudalics@gmx.at>
16
17 * subr.el (redirect-frame-focus): Add advertised calling
18 convention (Bug#12030).
19
20 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
21
22 Prefer typical American spelling for "acknowledgment".
23 * vc/add-log.el (change-log-acknowledgment): Rename from
24 change-log-acknowledgement, with an alias for the old name.
25
26 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
27
28 * calc-alg.el (math-simplify-divide): Don't cross multiply
29 in an equation when the lhs is a variable.
30
31 2012-07-24 Julien Danjou <julien@danjou.info>
32
33 * net/netrc.el (netrc-find-service-number, netrc-store-data):
34 Remove, unused.
35
36 2012-07-23 Eli Zaretskii <eliz@gnu.org>
37
38 * startup.el (command-line): Don't display an empty user name in
39 the error message about non-existent home directory, when
40 init-file-user was set to an empty string. See
41 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
42 for the details and context.
43
44 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
45
46 * ses.el (ses-cell-formula-aset): New macro.
47 (ses-cell-references-aset): New macro.
48 (ses-cell-p): New function.
49 (ses-rename-cell): Do no longer rely on complex operations like
50 ses-cell-set-formula or ses-set-cell to change the cell and handle
51 the undo at the same time, but rather use lower level new macros
52 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
53 the undo directly. Refresh the mode line.
54
55 2012-07-21 Leo Liu <sdl.web@gmail.com>
56
57 * progmodes/cc-cmds.el (c-defun-name): Use
58 match-string-no-properties instead for consistency.
59
60 2012-07-20 Leo Liu <sdl.web@gmail.com>
61
62 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
63 (Bug#7879)
64
65 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
66
67 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
70 * progmodes/bug-reference.el, misearch.el: Provide themselves
71 (bug#11915).
72
73 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
74 of narrowed buffer (bug#11966).
75
76 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
77
78 * ses.el (ses-rename-cell): Set new name also in reference list of
79 cells of which the renamed cell depends.
80
81 2012-07-20 Masatake YAMATO <yamato@redhat.com>
82
83 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
84 to check whether menu-bar is shown or not. If not shown,
85 show the menu-bar as a popup menu instead of using tmm.
86 * mouse.el (popup-menu): Accept `point' as `position' argument.
87
88 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
89
90 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
91 up inside string symbol literal (bug#11923).
92
93 2012-07-20 Eli Zaretskii <eliz@gnu.org>
94
95 * startup.el (fancy-startup-text): Read the whole tutorial, not
96 just its first 256 bytes. Prevents gibberish in display of the
97 tutorial title.
98
99 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
100
101 Drop idle buffer compaction due to an absence of the
102 proved efficiency.
103 * compact.el: Remove.
104
105 2012-07-19 Sam Steingold <sds@gnu.org>
106
107 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
108 vc-bzr-pull & vc-bzr-merge-branch.
109 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
110 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
111 for consistency with compilation-error-regexp-alist.
112 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
113 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
114 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
115 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
116
117 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * emacs-lisp/chart.el: Use lexical-binding.
120 (chart-emacs-storage): Don't hardcode the list of entries.
121
122 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
123
124 Next round of tweaks caused by Fgarbage_collect changes.
125 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
126
127 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
128
129 Compact buffers when idle.
130 * compact.el: New file.
131
132 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * subr.el (eventp): Presume that if it looks vaguely like an event,
135 it's an event (bug#10190).
136
137 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
138
139 Enhancements to ppss related code (thanks Stefan).
140 * progmodes/python.el (python-indent-context)
141 (python-indent-calculate-indentation, python-indent-dedent-line)
142 (python-indent-electric-colon, python-nav-forward-block)
143 (python-mode-abbrev-table)
144 (python-info-assignment-continuation-line-p): Simplify checks
145 for ppss context.
146 (python-info-continuation-line-p): Cleanup.
147 (python-info-ppss-context): Do not catch 'quote.
148 (python-info-ppss-context-type)
149 (python-info-ppss-comment-or-string-p): Simplify.
150
151 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
152
153 * progmodes/python.el: Enhancements to eldoc support.
154 (python-info-current-symbol): New function.
155 (python-eldoc-at-point): Use python-info-current-symbol.
156 (python-info-current-defun): Fix cornercase on first defun scan.
157 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
158 and signal error when no inferior python process is available.
159
160 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
161
162 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
163 assume it's always t.
164 (vc-git-registered): Remove caching, the function is only called
165 once.
166 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
167
168 2012-07-18 Chong Yidong <cyd@gnu.org>
169
170 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
171
172 * simple.el (count-words): Report on narrowing (Bug#9959).
173
174 * bindings.el: Bind M-= to count-words.
175
176 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
177
178 2012-07-18 Masatake YAMATO <yamato@redhat.com>
179
180 * progmodes/sh-script.el (sh-imenu-generic-expression):
181 Capture a function with `function' keyword and without parentheses
182 like "function FOO" (bug#11856).
183
184 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
185
186 * window.el (split-window-sensibly): Make WINDOW argument
187 optional.
188
189 2012-07-18 Chong Yidong <cyd@gnu.org>
190
191 * subr.el (keyboard-translate): Doc fix (Bug#7261).
192
193 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
194 and make C-x 8 RET exit isearch (Bug#11439).
195
196 * international/iso-transl.el: Move isearch-mode-map key
197 definitions to isearch.el.
198
199 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
202 (eieio-defclass): Use gv-define-setter when possible.
203
204 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
205
206 Reflect recent changes in Fgarbage_collect.
207 * emacs-lisp/chart.el (chart-emacs-storage): Change to
208 reflect new format of data returned by Fgarbage_collect.
209
210 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
211
212 New utility functions + python-info-ppss-context fix (Bug#11910).
213 * progmodes/python.el (python-info-beginning-of-block-statement-p)
214 (python-info-ppss-comment-or-string-p): New functions.
215 (python-info-ppss-context): Small fix for string check.
216
217 2012-07-17 Juri Linkov <juri@jurta.org>
218
219 * dired-aux.el (dired-do-async-shell-command): Doc fix.
220 (dired-do-async-shell-command): Don't add `*' at the end of the
221 command (Bug#11815).
222 (dired-do-shell-command): Doc fix.
223 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
224 Join the individual commands using either "&" or ";" as the
225 separator depending on the values of these trailing characters.
226 At the end re-add the trailing "&". (Bug#10598)
227
228 * simple.el (async-shell-command): Sync the interactive spec with
229 `shell-command'. Doc fix.
230 (shell-command): Doc fix.
231
232 2012-07-17 Juri Linkov <juri@jurta.org>
233
234 * descr-text.el (describe-char): Fix format args. (Bug#10129)
235
236 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
237
238 Final renames and doc fixes for movement commands (bug#11899).
239 * progmodes/python.el (python-nav-beginning-of-statement):
240 Rename from python-nav-statement-start.
241 (python-nav-end-of-statement): Rename from
242 python-nav-statement-end.
243 (python-nav-beginning-of-block): Rename from
244 python-nav-block-start.
245 (python-nav-end-of-block): Rename from python-nav-block-end.
246
247 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
248
249 * progmodes/python.el (python-shell-send-string-no-output):
250 Allow accept-process-output to quit, keeping shell process ready for
251 future interactions (Bug#11868).
252
253 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
256
257 * emacs-lisp/elint.el (elint-find-args-in-code):
258 Use help-function-arglist, so as to handle lexical byte-code.
259
260 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
261 change (bug#11826).
262
263 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
266 Avoid spuriously marking the buffer as modified because of c-is-sws.
267
268 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
269 as not-a-comment (bug#11946).
270
271 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
272 for uninterned vars.
273
274 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
275 Use read-event since we don't really want to read chars but bytes.
276
277 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
278 $$..$$ but also $..$ using regexps (bug#11953).
279 Use tex-verbatim for \url and \path.
280 (tex-font-lock-keywords): Define as defconst like the others.
281 (tex-common-initialization): Don't use font-lock-syntax-table any more.
282
283 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
284
285 * international/mule-cmds.el (ucs-insert): Make it an obsolete
286 alias for insert-char.
287
288 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
289
290 * progmodes/python.el: Simplified imenu implementation.
291 (python-nav-jump-to-defun): Remove command.
292 (python-mode-map): Use `imenu' instead.
293 (python-nav-list-defun-positions-cache)
294 (python-imenu-include-defun-type, python-imenu-make-tree)
295 (python-imenu-subtree-root-label, python-imenu-index-alist):
296 Remove vars.
297 (python-nav-list-defun-positions, python-nav-read-defun)
298 (python-imenu-tree-assoc, python-imenu-make-element-tree)
299 (python-imenu-make-tree, python-imenu-create-index):
300 Remove functions.
301 (python-mode): Update to interact with imenu by setting
302 `imenu-extract-index-name-function' only.
303
304 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
305
306 * progmodes/python.el: Enhancements to navigation commands.
307 (python-nav-backward-sentence)
308 (python-nav-forward-sentence): Remove.
309 (python-nav-backward-statement, python-nav-forward-statement)
310 (python-nav-statement-start, python-nav-statement-end)
311 (python-nav-backward-block, python-nav-forward-block)
312 (python-nav-block-start, python-nav-block-end)
313 (python-nav-forward-sexp-function)
314 (python-info-current-line-comment-p)
315 (python-info-current-line-empty-p): New functions.
316 (python-indent-context): Use `python-nav-statement-start'.
317
318 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
319
320 * eshell/em-ls.el (eshell/ls): Use `apply'.
321
322 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
323 multi-hops, instead of Tramp internals.
324
325 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
326
327 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
328 when F1 and F2 are located on different hosts.
329
330 2012-07-14 Chong Yidong <cyd@gnu.org>
331
332 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
333 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
334 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
335 (xterm-mouse--read-event-sequence-1000)
336 (xterm-mouse--read-event-sequence-1006): New functions. For old
337 mouse protocol, handle M-mouse-X events correctly.
338 (xterm-mouse-event): New arg specifying mouse protocol.
339 (turn-on-xterm-mouse-tracking-on-terminal)
340 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
341 sequence to toggle extended coordinates on newer XTerms.
342 This appears to be harmless on terminals which do not support this.
343
344 2012-07-14 Leo Liu <sdl.web@gmail.com>
345
346 Add fringe bitmap indicators for flymake. (Bug#11253)
347 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
348 (flymake-make-overlay): New arg BITMAP.
349 (flymake-error-bitmap, flymake-warning-bitmap)
350 (flymake-fringe-indicator-position): New user variables.
351
352 * fringe.el: New bitmap exclamation-mark.
353
354 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
355
356 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
357 also (Bug#7879).
358
359 2012-07-14 Chong Yidong <cyd@gnu.org>
360
361 * electric.el (electric-pair-post-self-insert-function): Fix pair
362 insertion in empty-region case (Bug#11520).
363
364 2012-07-14 Chong Yidong <cyd@gnu.org>
365
366 * bindings.el: Consolidate ctl-x-r-map bindings.
367 Bind copy-rectangle-as-kill to C-x r w.
368
369 * rect.el, register.el: Move bindings to bindings.el.
370
371 2012-07-14 Reuben Thomas <rrt@sc3d.org>
372
373 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
374
375 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
376
377 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
378
379 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
380
381 * bindings.el (top): Use `mapc' instead of `mapcar'.
382
383 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
384
385 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
386
387 * progmodes/sql.el (sql-comint): Suppress the check for program on
388 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
389 (Bug#11908)
390
391 2012-07-13 Chong Yidong <cyd@gnu.org>
392
393 * bindings.el: Assign a non-nil permanent-local property to
394 per-buffer variables which lack a default value (Bug#11930).
395
396 * help-fns.el (describe-variable): In the "automatically becomes
397 local" notice, take note of permanent-local variables.
398
399 2012-07-13 Chong Yidong <cyd@gnu.org>
400
401 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
402 to allow printing the message when called from Lisp.
403
404 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
405 Remove toggle-read-only.
406
407 * bs.el (bs-toggle-readonly):
408 * buff-menu.el (Buffer-menu-toggle-read-only):
409 Remove with-no-warnings around toggle-read-only.
410
411 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
412 Remove with-no-warnings around toggle-read-only.
413 (ffap-read-only, ffap-read-only-other-window)
414 (ffap-read-only-other-frame): Callers changed.
415
416 * help-mode.el: Don't require view package.
417 (help-mode-finish): Set buffer-read-only instead of calling
418 toggle-read-only.
419
420 * bindings.el (mode-line-toggle-read-only):
421 * dired.el (dired-toggle-read-only):
422 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
423 with non-nil second arg.
424
425 * emacs-lisp/eieio-custom.el (eieio-customize-object):
426 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
427 directly.
428
429 2012-07-12 Eli Zaretskii <eliz@gnu.org>
430
431 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
432 not incf.
433
434 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 More CL cleanups and reduction of use of cl.el.
437 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
438 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
439 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
440 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
441 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
442 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
443 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
444 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
445 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
446 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
447 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
448 * eshell/em-cmpl.el, eshell/em-banner.el:
449 * calendar/parse-time.el: Use cl-lib.
450 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
451 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
452 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
453 * term/ns-win.el, term.el, shell.el, ps-samp.el:
454 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
455 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
456 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
457 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
458 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
459 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
460 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
461 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
462 `lambda' rather than with `quote'.
463 (eshell-do-opt): Adjust accordingly.
464 (eshell-process-option): Simplify.
465 * eshell/esh-var.el:
466 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
467 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
468 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
469 to `pcase--dontcare'.
470 * emacs-lisp/cl.el (labels): Mark obsolete.
471 (cl--letf, letf): Move to cl-lib.
472 (cl--letf*, letf*): Remove.
473 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
474 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
475 (cl-progv): Rewrite.
476 (cl--letf, cl-letf): Move from cl.el.
477 (cl-letf*): New macro.
478 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
479
480 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
481
482 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
483
484 2012-07-11 Chong Yidong <cyd@gnu.org>
485
486 * vc/log-edit.el (log-edit-vc-backend): New variable.
487 (log-edit): Doc fix.
488
489 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
490 argument of log-edit to set up all local variables.
491 (vc-start-logentry): New optional arg specifying VC backend.
492
493 * vc/vc.el (vc-checkin): Use it.
494 (vc-deduce-fileset): Handle Log Edit buffers.
495 (vc-diff): Make first argument optional too.
496
497 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
498
499 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
500
501 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
502 command, just in case. The function is not needed anymore.
503 (eshell-external-command): Do not call `eshell-remote-command'.
504
505 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 Reduce use of (require 'cl).
508 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
509 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
510 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
511 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
512 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
513 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
514 * battery.el, avoid.el, abbrev.el: Use cl-lib.
515 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
516 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
517 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
518 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
519 * calculator.el, autorevert.el, apropos.el: Don't require CL.
520 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
521 (byte-compile-unfold-bcf, byte-compile-check-variable):
522 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
523 (byte-compile-nilconstp):
524 * emacs-lisp/autoload.el (make-autoload): Use pcase.
525 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
526
527 * emacs-lisp/gv.el (cond): Make it a valid place.
528 (if): Simplify slightly.
529
530 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
531 (pcase--self-quoting-p): New function.
532 (pcase--u1): Use it.
533
534 2012-07-10 Glenn Morris <rgm@gnu.org>
535
536 * emacs-lisp/authors.el (authors-fixed-entries):
537 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
538
539 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
540
541 Rename configure.in to configure.ac (Bug#11603).
542 * emacs-lisp/authors.el (authors-canonical-file-name):
543 * progmodes/autoconf.el (autoconf-mode):
544 Prefer configure.ac to configure.in.
545
546 2012-07-08 Chong Yidong <cyd@gnu.org>
547
548 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
549 Implement the mouse-1-click-follows-link handling properly.
550
551 * info.el (Info-link-keymap): Use follow-link mechanism for
552 header-line links (Bug#374).
553
554 * simple.el (deactivate-mark): Do not set the primary selection
555 if another program has acquired it (Bug#11772).
556
557 2012-07-07 Kevin Ryde <user42@zip.com.au>
558
559 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
560 (woman-decode-region): Replace escaped-escapes without destroying
561 bold or underline (Bug#11552).
562 (woman2-process-escapes): Handle nofill regions (Bug#11591).
563
564 2012-07-07 Chong Yidong <cyd@gnu.org>
565
566 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
567 (interprogram-cut-function, interprogram-paste-function):
568 Mention that we typically mean the clipboard.
569
570 2012-07-06 Glenn Morris <rgm@gnu.org>
571
572 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
573
574 * files.el (toggle-read-only): Restrict message to interactive use.
575
576 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
577
578 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
579
580 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
581
582 2012-07-06 Glenn Morris <rgm@gnu.org>
583
584 * Makefile.in (compile-one-process): Rename from "recompile".
585
586 * Makefile.in (bzr-update): "compile" is the same as "recompile
587 autoloads", but parallelizable, so use that instead.
588
589 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
590
591 * window.el (quit-window): Always restore window height when
592 it's saved in quit-restore parameter (Bug#11810).
593
594 2012-07-06 Glenn Morris <rgm@gnu.org>
595
596 * simple.el (kill-whole-line): Doc tweak.
597
598 2012-07-06 Eli Zaretskii <eliz@gnu.org>
599
600 * files.el (file-relative-name): Compare file names
601 case-insensitively if on MS-Windows or MS-DOS, or if
602 read-file-name-completion-ignore-case is non-nil. Don't use
603 case-fold-search for this purpose. (Bug#11827)
604
605 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
606
607 * calendar/cal-dst.el (calendar-current-time-zone):
608 Return calendar-current-time-zone-cache if non-nil.
609
610 2012-07-17 Masatake YAMATO <yamato@redhat.com>
611 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
612
613 * calendar/cal-dst.el (calendar-current-time-zone):
614 Return calendar-current-time-zone-cache if non-nil.
615
616 2012-07-06 Glenn Morris <rgm@gnu.org>
617
618 * Makefile.in (cvs-update): Remove old alias.
619
620 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
621
622 Sync with Tramp 2.2.6-pre.
623
624 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
625 compatible declaration.
626
627 * net/tramp-cmds.el (tramp-append-tramp-buffers):
628 Protect `list-load-path-shadows' call.
629
630 * net/tramp-compat.el (top): Require packages, which aren't
631 autoloaded anymore for XEmacs. Protect call of
632 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
633 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
634 it hurts at least for SXEmacs.
635 (tramp-compat-temporary-file-directory): In XEmacs, there is no
636 standard-value for `temporary-file-directory'.
637
638 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
639 Redirect stderr to /dev/null.
640 (tramp-sh-handle-write-region): uid and gid can be floats.
641 Reported by Russell Sim <russell.sim@gmail.com>.
642 (tramp-sh-handle-vc-registered): Hide errors.
643 (tramp-vc-file-name-handler): Use dummy results for `process-file'
644 and `start-file-process'.
645 (tramp-maybe-open-connection): Check also whether `non-essential'
646 is bound.
647
648 2012-07-04 Chong Yidong <cyd@gnu.org>
649
650 * xml.el (xml--parse-buffer): Use xml-syntax-table.
651 (xml-parse-tag): Likewise, and avoid changing entity tables.
652 (xml-syntax-table): Define from scratch, making sure not to give
653 x2000 and other Unicode spaces whitespace syntax, since those are
654 not spaces in XML.
655 (xml-parse-fragment): Delete unused function.
656 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
657 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
658 (xml-entity-ref, xml-pe-reference-re)
659 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
660 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
661 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
662 (xml-entity-value-re): Use syntax references in regexps where
663 possible; no need to define inside a let-binding.
664 (xml-parse-dtd): Use xml-pe-reference-re.
665 (xml-entity-or-char-ref-re): New defconst.
666 (xml-parse-string, xml-substitute-special): Use it.
667
668 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * files.el (locate-dominating-file): Allow `name' to be a predicate.
671 (find-file--read-only): New function.
672 (find-file-read-only, find-file-read-only-other-window)
673 (find-file-read-only-other-frame): Use it.
674 (insert-file-contents-literally): Don't `fset'.
675 (get-free-disk-space): Use locate-dominating-file.
676
677 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
678 function is already compiled.
679
680 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
681
682 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
683
684 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
685 files on the same host.
686
687 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
688
689 * help-fns.el (describe-function-1): Only call
690 help-fns--autoloaded-p when we have a file name. (Bug#11848)
691
692 2012-07-03 Chong Yidong <cyd@gnu.org>
693
694 * xml.el: Protect parser against XML bombs.
695 (xml-entity-expansion-limit): New variable.
696 (xml-parse-string, xml-substitute-special): Use it.
697 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
698
699 2012-07-03 Glenn Morris <rgm@gnu.org>
700
701 * progmodes/bug-reference.el (bug-reference-bug-regexp):
702 Allow linking to specific messages in debbugs reports (eg 123#5).
703
704 2012-07-02 Chong Yidong <cyd@gnu.org>
705
706 * xml.el: Fix entity and character reference expansion, allowing
707 them to expand into markup as per XML spec.
708 (xml-default-ns): New variable.
709 (xml-entity-alist): Use XML spec definitions for lt and amp.
710 (xml-parse-region): Make first two arguments optional.
711 Discard text properties.
712 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
713 All callers changed.
714 (xml-parse-tag): Call xml-parse-tag-1. For backward
715 compatibility, this function should not modify buffer contents.
716 (xml-parse-tag-1): Fix opening-tag regexp.
717 (xml-parse-string): Rewrite, handling entity and character
718 references properly.
719 (xml--entity-replacement-text): Signal an error if a parameter
720 entity is undefined.
721
722 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * comint.el (comint-output-filter): Filter out repeated prompts.
725
726 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
727 and file-name-absolute-p.
728 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
729 internal calls.
730
731 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
732
733 Spelling fixes.
734 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
735 Rename from byte-compile--refiy-function. All uses changed.
736
737 2012-07-01 Chong Yidong <cyd@gnu.org>
738
739 * xml.el (xml--parse-buffer): New function. Move most of
740 xml-parse-region here.
741 (xml-parse-region): Copy region into a temporary buffer, since
742 parameter entity substitution requires changing buffer contents.
743 Use xml--parse-buffer.
744 (xml-parse-file): Use xml--parse-buffer.
745 (xml-parse-dtd): Make parameter entity substitution work right.
746 Use proper regexps for ELEMENT declarations (Bug#7172).
747
748 2012-06-30 Glenn Morris <rgm@gnu.org>
749
750 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
751
752 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
753 Remove outdated and unnecessary dbus declarations.
754
755 2012-06-30 Eli Zaretskii <eliz@gnu.org>
756
757 * emacs-lisp/timer.el (timer-until): Subtract results of
758 float-time, instead of taking float-time of the result of
759 time-subtract, since float-time signals an error for negative time
760 arguments.
761
762 2012-06-30 Chong Yidong <cyd@gnu.org>
763
764 * xml.el (xml-*-re): Convert defvars into defconsts, and
765 eval-and-compile them so eval-and-compile works on derivatives.
766 (xml--entity-replacement-text): Use eval-and-comple.
767
768 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
769
770 * vc/vc-git.el (vc-git-registered): Use cache property
771 `git-registered'.
772 (vc-git-mode-line-string): Call `vc-working-revision' instead of
773 `vc-git-working-revision' in order to benefit from the cache.
774 (vc-git-root): Use cache property `git-root'. (Bug#11757)
775
776 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
777
778 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
779 removed (likely outside Emacs). (Bug#11757)
780
781 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * emacs-lisp/cl-lib.el: Require macroexp.
784
785 2012-06-30 Chong Yidong <cyd@gnu.org>
786
787 * xml.el: Implement XML parameter entities.
788 (xml-parameter-entity-alist): New variable.
789 (xml-parse-region, xml-parse-fragment): Preserve previous values
790 of xml-entity-alist and xml-parameter-entity-alist, so that
791 repeated calls on different documents do not change them.
792 (xml-parse-tag): Fix doctype regexp.
793 (xml--entity-replacement-text): New function.
794 (xml-parse-dtd): Use it. Don't handle system entities; doing that
795 properly requires url retrieval which is unimplemented.
796 (xml-escape-string): Doc fix.
797
798 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
801
802 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
803
804 * fringe.el (fringe-mode): Doc fix.
805
806 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
807
808 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
809 is non-nil.
810 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
811 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
812
813 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
814
815 * calendar/cal-dst.el (calendar-current-time-zone):
816 Return calendar-current-time-zone-cache if non-nil.
817
818 2012-06-29 Masatake YAMATO <yamato@redhat.com>
819
820 * progmodes/which-func.el (which-func-format):
821 Add mouse-face. (Bug#11698)
822
823 2012-06-29 Leo Liu <sdl.web@gmail.com>
824
825 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
826
827 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
828
829 * minibuffer.el (minibuffer-confirm-exit-commands):
830 Add completion-at-point (bug#11725).
831
832 2012-06-29 Glenn Morris <rgm@gnu.org>
833
834 * progmodes/f90.el (f90-font-lock-keywords-2):
835 Add some preprocessor elements. (Bug#10499)
836
837 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * progmodes/cperl-mode.el (cperl-update-syntaxification):
840 Use syntax-propertize (bug#11739).
841
842 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
843
844 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
845
846 2012-06-28 Julien Danjou <julien@danjou.info>
847
848 * term.el (term-handle-colors-array): Use a set of new faces to
849 color the terminal. Also uses :inverse-video property.
850 (term-default-fg-color): Set to nil by default, deprecate in favor
851 of `term-face'.
852 (term-default-bg-color): Set to nil by default, deprecate in favor
853 of `term-face'.
854 (term-current-face): Use `term-face' by default.
855 (term-bold-attribute): Variable deleted.
856
857 2012-06-28 Glenn Morris <rgm@gnu.org>
858
859 * simple.el (completion-list-mode-finish):
860 Don't use toggle-read-only. (Since completion-list-mode has
861 a special mode-class, it wasn't doing anything extra anyway.)
862
863 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 Make inlining of other-mode interpreted functions work (bug#11799).
866 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
867 (byte-compile): Use it to fix compilation of lexical-binding closures.
868 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
869 function, if needed.
870
871 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
872
873 * help-mode.el (help-make-xrefs): Don't just withstand
874 cyclic-variable-indirection but any error in documentation-property.
875
876 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
877 memory use.
878 * bindings.el (bindings--define-key): New function.
879 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
880 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
881 * bindings.el: Use it to purecopy define-key bindings.
882
883 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
884
885 * emacs-lisp/cl.el (flet): Mark obsolete.
886 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
887 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
888 * progmodes/js.el (js-c-fill-paragraph):
889 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
890 (ebrowse-switch-member-buffer-to-derived-class):
891 * play/5x5.el (5x5-solver): Use cl-flet.
892
893 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
894 (cl--symbol-function): New macro.
895 (cl--letf, cl--letf*): Use it.
896
897 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
898 Strip "toggle-" if any.
899
900 2012-06-27 Glenn Morris <rgm@gnu.org>
901
902 * info.el (Info-default-directory-list): Move here from paths.el.
903 * paths.el: Remove file, which is now empty.
904 * loadup.el: No longer load "paths".
905
906 * custom.el (custom-initialize-delay): Doc fix.
907
908 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
909 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
910 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
911 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
912 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
913 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
914 * eshell/eshell.el (eshell-defgroup): Remove alias.
915
916 2012-06-27 Chong Yidong <cyd@gnu.org>
917
918 * help.el (help-enable-auto-load): New variable.
919
920 * help-fns.el (help-fns--autoloaded-p): New function.
921 (describe-function-1): Refer to a function as "autoloaded" if it
922 was autoloaded at any time in the past. Perform autoloading if
923 help-enable-auto-load is non-nil.
924
925 2012-06-26 Eli Zaretskii <eliz@gnu.org>
926
927 * makefile.w32-in (compile, compile-always): Depend on
928 update-subdirs, not on subdirs.el. Otherwise, several different
929 sub-targets of 'bootstrap' running in parallel could
930 simultaneously write to subdirs.el, producing a garbled file.
931
932 2012-06-26 Sam Steingold <sds@gnu.org>
933
934 * files.el (file-name-base): New convenience function.
935 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
936 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
937 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
938 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
939 * textmodes/ispell.el, textmodes/reftex-ref.el:
940 * textmodes/tex-mode.el: Use it.
941 Did not touch cedet and org because they are maintained elsewhere.
942
943 2012-06-26 Martin Rudalics <rudalics@gmx.at>
944
945 * calendar/calendar.el (calendar-exit): Don't try to delete or
946 iconify last frame. See:
947 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
948
949 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
950
951 * server.el (server-process-filter): Remember dir in the
952 process's `server-client-directory' properties.
953
954 2012-06-24 Chong Yidong <cyd@gnu.org>
955
956 * xml.el (xml-parse-tag): Correctly handle comment embedded in
957 non-tag text.
958
959 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
960
961 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
962
963 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * help-fns.el (describe-variable): Don't croak when doc is not found.
966 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
967 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
968 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
969 * emacs-lisp/smie.el (smie-next-sexp): CSE.
970 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
971 ((lambda ..) ..).
972 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
973
974 2012-06-23 Chong Yidong <cyd@gnu.org>
975
976 * info.el (Info-mouse-follow-link): Accept symbol values of
977 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
978 (Info-fontify-node): Use Info-link-keymap for all navigation
979 buttons, with link-args property to perform the desired action.
980 (Info-link-keymap): Doc fix.
981 (Info-next-link-keymap, Info-prev-link-keymap)
982 (Info-up-link-keymap): Delete now-unused keymaps.
983
984 2012-06-23 Chong Yidong <cyd@gnu.org>
985
986 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
987
988 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
989 system abbrevs.
990
991 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
992
993 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
996 (bug#11719).
997
998 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
999 the requote function doesn't work properly (bug#11714).
1000
1001 2012-06-23 Glenn Morris <rgm@gnu.org>
1002
1003 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1004
1005 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 Further GV/CL cleanups.
1008 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1009 gv-expander.
1010 (gv--defun-declaration): New function.
1011 (defun-declarations-alist): Use it.
1012 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1013 (gv-place): Autoload.
1014 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1015 original definition of dotimes and dolist.
1016 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1017 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1018 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1019 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1020 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1021 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1022 to the function's definition.
1023 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1024 * window.el:
1025 * files.el:
1026 * faces.el:
1027 * env.el: Don't use CL.
1028
1029 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1030
1031 Support higher-resolution time stamps (Bug#9000).
1032
1033 * calendar/time-date.el (with-decoded-time-value): New arg
1034 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1035 (encode-time-value): New optional arg PICO. New type 3.
1036 (time-to-seconds) [!float-time]: Support the new picoseconds
1037 component if it's used.
1038 (seconds-to-time, time-subtract, time-add):
1039 Support ps-resolution time stamps as well.
1040
1041 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1042 (timerp): Timer vectors now have length 9, not 8.
1043 (timer--time): Support new-style (4-part) time stamps.
1044 (timer-next-integral-multiple-of-time): Time stamps now have
1045 picosecond resolution, so take a bit more care about rounding.
1046 (timer-relative-time, timer-inc-time): New optional arg psecs.
1047 (timer-set-time-with-usecs): Set psecs to 0.
1048 (timer--activate): Check psecs component, too.
1049
1050 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1051
1052 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1055 Move the non-essential binding to the post/pre-command-hook where it is
1056 more obviously correct.
1057
1058 * subr.el (read-passwd): Don't use a history at all.
1059 * savehist.el (savehist-save): Remove password saved accidentally
1060 because of the above bug.
1061
1062 2012-06-22 Bastien Guerry <bzg@gnu.org>
1063
1064 * files.el (toggle-read-only): Display a message telling whether
1065 the buffer is read-only or not (bug#11726).
1066
1067 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * emacs-lisp/gv.el: New file.
1070 * subr.el (push, pop): Extend to generalized variables.
1071 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1072 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1073 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1074 gv-define-simple-setter, and gv-define-expander.
1075 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1076 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1077 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1078 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1079 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1080 gv-letplace.
1081 (cl-defstruct): Don't define setf-method any more.
1082 * emacs-lisp/cl.el (flet): Don't autoload.
1083 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1084 (define-setf-expander, defsetf, define-modify-macro)
1085 (cl-struct-setf-expander): Move from cl-lib.el.
1086 * emacs-lisp/syntax.el:
1087 * emacs-lisp/ewoc.el:
1088 * emacs-lisp/smie.el:
1089 * emacs-lisp/cconv.el:
1090 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1091 (timer--time): Use gv-define-simple-setter.
1092 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1093 to avoid coding-system problems in subr.el. Adjust all users.
1094 (macroexp--maxsize, macroexp-small-p): New functions.
1095 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1096 * scroll-bar.el (scroll-bar-mode):
1097 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1098 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1099 * winner.el (winner-configuration, winner-make-point-alist)
1100 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1101 * files.el (locate-file-completion-table): Avoid list*.
1102
1103 2012-06-22 Chong Yidong <cyd@gnu.org>
1104
1105 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1106 (dired-create-files): Doc fix (Bug#11329).
1107 (dired-do-copy): Doc fix (Bug#11334).
1108 (dired-mark-read-string): Doc fix (Bug#11553).
1109
1110 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1111 Doc fix (Bug#11326).
1112 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1113 (dired-dwim-target): Doc fix.
1114
1115 * wdired.el (wdired-mode): Doc fix.
1116
1117 2012-06-22 Glenn Morris <rgm@gnu.org>
1118
1119 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1120 (pcmpl-rpm-cache-stamp-file): New constant.
1121 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1122 (pcmpl-rpm-packages): Optionally cache list of packages.
1123
1124 * pcmpl-rpm.el (pcmpl-rpm): New group.
1125 (pcmpl-rpm-query-options): New option.
1126 (pcmpl-rpm-packages): No need to inline it.
1127 Use pcmpl-rpm-query-options.
1128
1129 * calendar/calendar.el (calendar-in-read-only-buffer):
1130 Avoid some needless mode changes.
1131
1132 2012-06-21 Chong Yidong <cyd@gnu.org>
1133
1134 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1135 (desktop-path): Remove . from the default value (Bug#10977).
1136 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1137
1138 2012-06-20 Chong Yidong <cyd@gnu.org>
1139
1140 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1141
1142 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1143
1144 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1145 (bug#11201).
1146
1147 2012-06-20 Chong Yidong <cyd@gnu.org>
1148
1149 * term.el (term-window-width): Handle the case of a missing right
1150 fringe (Bug#8837).
1151 (term-check-size): Use window-text-height (Bug#5445).
1152 (term-mode): Use define-derived-mode. Minor cleanups.
1153 Set font-lock-defaults (Bug#7692).
1154 (term-move-columns, term-insert-char, term-emulate-terminal)
1155 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1156
1157 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1158
1159 * net/ange-ftp.el (ange-ftp-get-passwd):
1160 Bind `enable-recursive-minibuffers'.
1161 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1162
1163 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1164
1165 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1166
1167 2012-06-19 Glenn Morris <rgm@gnu.org>
1168
1169 * progmodes/python.el (python-mode): Derive from prog-mode.
1170
1171 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1172
1173 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1174 (edt-user-menu-bar-update-buffers): New functions.
1175 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1176
1177 2012-06-19 Chong Yidong <cyd@gnu.org>
1178
1179 * subr.el (with-selected-window): Preserve the selected window's
1180 terminal's top-frame (Bug#4702).
1181
1182 * window.el (save-selected-window): Likewise.
1183
1184 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * progmodes/python.el (python-rx-constituents): Move backquote.
1187 (python-skeleton-define, python-define-auxiliary-skeleton):
1188 Use `declare'.
1189
1190 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1191
1192 * minibuffer.el (read-file-name-default): Revert the patch from
1193 2012-06-17.
1194
1195 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1198 (pcase--u1, pcase--q1): Don't use apply-partially.
1199
1200 2012-06-18 Glenn Morris <rgm@gnu.org>
1201
1202 * progmodes/python.el (python-proc, python-buffer)
1203 (python-send-receive, python-send-string): Fix obsolete versions.
1204
1205 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1206
1207 * window.el (special-display-p): Completely remove stringp
1208 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1209
1210 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1211
1212 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1213
1214 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1215
1216 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1217 * net/tramp-sh.el (tramp-maybe-open-connection):
1218 Throw if `non-essential' is non-nil.
1219
1220 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1221
1222 * window.el (special-display-p): Signal an error if BUFFER-NAME
1223 is not a string (Bug#11713).
1224
1225 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1226
1227 * progmodes/python.el (python-info-beginning-of-backslash):
1228 Rename from python-info-beginning-of-backlash, as a spelling fix.
1229
1230 2012-06-17 Chong Yidong <cyd@gnu.org>
1231
1232 * term.el (term-emulate-terminal): If term-check-size is called,
1233 move point to the process mark without resetting point (Bug#4635).
1234
1235 2012-06-17 Glenn Morris <rgm@gnu.org>
1236
1237 * international/mule-cmds.el (mule-menu-keymap)
1238 (set-language-environment, set-locale-environment): Doc tweaks.
1239
1240 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1241
1242 * cus-face.el (custom-face-attributes): Add wave-style underline
1243 attribute.
1244 * faces.el (set-face-attribute): Update docstring to describe
1245 wave-style underline attribute.
1246
1247 2012-06-16 Chong Yidong <cyd@gnu.org>
1248
1249 * term/xterm.el (terminal-init-xterm): Discard input before
1250 querying background mode (Bug#10959).
1251
1252 2012-06-16 Stefan Merten <smerten@oekonux.de>
1253
1254 * textmodes/rst.el: Added and corrected some comments.
1255 (rst-re-alist-def): Improve symbol syntax.
1256 (rst-mode-syntax-table): Correct syntax entries.
1257 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1258 (rst-official-version, rst-official-cvs-rev): Update version
1259 information.
1260
1261 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1262
1263 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1264 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1265
1266 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1267
1268 * progmodes/python.el: New python.el merge.
1269 (python-guess-indent): Obsolete var.
1270 (python-indent-guess-indent-offset): New defcustom.
1271 (python-indent): Obsolete var.
1272 (python-indent-offset): New defcustom.
1273 (python-python-command, python-jython-command): Delete var.
1274 (python-shell-interpreter): New defcustom.
1275 (python-pdbtrack-do-tracking-p): Delete var.
1276 (python-pdbtrack-activate): New defcustom.
1277 (python-use-skeletons): Obsolete var.
1278 (python-skeleton-autoinsert): New defcustom.
1279 (inferior-python-filter-regexp, python-continuation-offset)
1280 (python-honour-comment-indentation, python-indent-string-contents)
1281 (python-jython-packages, python-mode-hook)
1282 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1283 (python-shell-prompt-alist)
1284 (python-source-modes): Delete defcustoms.
1285 (python-check-buffer-name, python-eldoc-setup-code)
1286 (python-eldoc-string-code, python-ffap-setup-code)
1287 (python-ffap-string-code, python-fill-comment-function)
1288 (python-fill-decorator-function, python-fill-paren-function)
1289 (python-fill-string-function, python-imenu-include-defun-type)
1290 (python-imenu-make-tree, python-imenu-subtree-root-label)
1291 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1292 (python-shell-compilation-regexp-alist)
1293 (python-shell-completion-module-string-code)
1294 (python-shell-completion-pdb-string-code)
1295 (python-shell-completion-setup-code)
1296 (python-shell-completion-string-code)
1297 (python-shell-enable-font-lock, python-shell-exec-path)
1298 (python-shell-extra-pythonpaths)
1299 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1300 (python-shell-process-environment)
1301 (python-shell-prompt-block-regexp)
1302 (python-shell-prompt-output-regexp)
1303 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1304 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1305 (python-shell-virtualenv-path): New defcustoms.
1306 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1307 (inferior-python-mode-syntax-table, python--prompt-regexp)
1308 (python-buffer, python-command python-python-command)
1309 (python-default-template, python-imports, python-indent-index)
1310 (python-indent-list, python-indent-list-length)
1311 (python-mode-running, python-pdbtrack-is-tracking-p)
1312 (python-preoutput-continuation, python-preoutput-leftover)
1313 (python-preoutput-result, python-preoutput-skip-next-prompt)
1314 (python-prev-dir/file, python-recursing)
1315 (python-saved-check-command, python-version-checked)
1316 (python-which-func-length-limit)
1317 (view-return-to-alist): Delete vars.
1318 (python-check-custom-command, python-dotty-syntax-table)
1319 (python-imenu-index-alist, python-indent-current-level)
1320 (python-indent-dedenters, python-indent-levels)
1321 (python-nav-beginning-of-defun-regexp)
1322 (python-nav-list-defun-positions-cache)
1323 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1324 (python-shell-internal-buffer)
1325 (python-skeleton-available): New vars.
1326 (def-python-skeleton): Delete macro.
1327 (python-skeleton-define): New macro.
1328 (python-define-auxiliary-skeleton, python-rx): New macros.
1329 (python-insert-class): Delete command.
1330 (python-skeleton-class): New command.
1331 (python-insert-def): Delete command.
1332 (python-skeleton-def): New command.
1333 (python-insert-for): Delete command.
1334 (python-skeleton-for): New command.
1335 (python-insert-if): Delete command.
1336 (python-skeleton-if): New command.
1337 (python-insert-try/except, python-insert-try/finally): Delete commands.
1338 (python-skeleton-try): New command.
1339 (python-insert-while): Delete command.
1340 (python-skeleton-while): New command.
1341 (python-backspace): Delete command.
1342 (python-indent-dedent-line-backspace): New command.
1343 (python-electric-colon): Delete command.
1344 (python-indent-electric-colon): New command.
1345 (python-guess-indent): Delete command.
1346 (python-indent-guess-indent-offset): New command.
1347 (python-shift-left): Delete command.
1348 (python-indent-shift-left): New command.
1349 (python-shift-right): Delete command.
1350 (python-indent-shift-right): New command.
1351 (python-find-function): Delete command.
1352 (python-nav-jump-to-defun): New command.
1353 (python-next-statement): Delete command.
1354 (python-nav-forward-sentence): New command.
1355 (python-previous-statement): Delete command.
1356 (python-nav-backward-sentence): New command.
1357 (python-fill-paragraph): Delete command.
1358 (python-fill-paragraph-function): New command.
1359 (python-send-buffer): Delete command.
1360 (python-shell-send-buffer): New command.
1361 (python-send-defun): Delete command.
1362 (python-shell-send-defun): New command.
1363 (python-send-region, python-send-region-and-go): Delete commands.
1364 (python-shell-send-region)
1365 (python-shell-switch-to-shell): New commands.
1366 (python-send-string): Delete command.
1367 (python-shell-send-string): New command.
1368 (python-switch-to-python): Delete command.
1369 (python-shell-switch-to-shell): New command.
1370 (python-describe-symbol): Delete command.
1371 (python-eldoc-at-point): New command.
1372 (python--set-prompt-regexp, python-args-to-list)
1373 (python-after-info-look, python-check-version)
1374 (python-check-comint-prompt, python-find-imports)
1375 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1376 (python-unload-function, python-expand-template)
1377 (python-maybe-jython, python-preoutput-filter)
1378 (python-pdbtrack-get-source-buffer)
1379 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1380 (python-pdbtrack-toggle-stack-tracking)
1381 (python-pdbtrack-track-stack-file, python-initial-text)
1382 (python-first-word, python-comment-line-p, python-send-command)
1383 (python-setup-brm, python-sentinel, python-set-proc)
1384 (python-skip-out, python-input-filter, python-outdent-p)
1385 (python-outline-level, python-backslash-continuation-line-p)
1386 (python-end-of-block, python-end-of-statement, python-mark-block)
1387 (python-beginning-of-block, python-beginning-of-statement)
1388 (python-blank-line-p, python-beginning-of-string)
1389 (python-open-block-statement-p): Delete functions.
1390 (python-indent-line, python-indent-line-1): Delete functions.
1391 (python-indent-line): New function.
1392 (python-indentation-levels): Delete function.
1393 (python-indent-calculate-levels): New function.
1394 (python-proc): Delete function.
1395 (python-shell-get-process): New function.
1396 (python-send-receive): Delete function.
1397 (python-shell-send-string-no-output): New function.
1398 (python-module-path): Delete function.
1399 (python-ffap-module-path): New function.
1400 (python-completion-at-point)
1401 (python-symbol-completions): Delete functions.
1402 (python-completion-complete-at-point): New function.
1403 (python-load-file): Delete function.
1404 (python-shell-send-file): New function.
1405 (python-calculate-indentation): Delete function.
1406 (python-indent-calculate-indentation): New function.
1407 (python-skip-comments/blanks): Delete function.
1408 (python-util-forward-comment): New function.
1409 (python-continuation-line-p): Delete function.
1410 (python-info-continuation-line-p): New function.
1411 (python-which-func, python-current-defun): Delete function.
1412 (python-info-current-defun): New function.
1413 (python-beginning-of-defun): Delete function.
1414 (python-nav-beginning-of-defun): New function.
1415 (python-close-block-statement-p)
1416 (python-block-end-p): Delete function.
1417 (python-info-closing-block): New function.
1418 (python-comint-output-filter-function)
1419 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1420 (python-fill-comment, python-fill-decorator, python-fill-paren)
1421 (python-fill-string, python-imenu-make-element-tree)
1422 (python-imenu-make-tree, python-imenu-tree-assoc)
1423 (python-indent-context, python-indent-dedent-line)
1424 (python-indent-line-function)
1425 (python-indent-post-self-insert-function)
1426 (python-indent-toggle-levels)
1427 (python-info-assignment-continuation-line-p)
1428 (python-info-beginning-of-backlash)
1429 (python-info-block-continuation-line-p)
1430 (python-info-closing-block-message)
1431 (python-info-line-ends-backslash-p)
1432 (python-info-looking-at-beginning-of-defun)
1433 (python-info-ppss-context, python-info-ppss-context-type)
1434 (python-nav-list-defun-positions, python-nav-read-defun)
1435 (python-nav-sentence-end, python-nav-sentence-start)
1436 (python-pdbtrack-comint-output-filter-function)
1437 (python-pdbtrack-set-tracked-buffer)
1438 (python-shell-calculate-exec-path)
1439 (python-shell-calculate-process-environment)
1440 (python-shell-completion--do-completion-at-point)
1441 (python-shell-completion--get-completions)
1442 (python-shell-completion-complete-at-point)
1443 (python-shell-completion-complete-or-indent)
1444 (python-shell-get-or-create-process)
1445 (python-shell-get-process-name)
1446 (python-shell-internal-get-or-create-process)
1447 (python-shell-internal-get-process-name)
1448 (python-shell-internal-send-string, python-shell-make-comint)
1449 (python-shell-parse-command, python-shell-send-setup-code)
1450 (python-skeleton-add-menu-items)
1451 (python-util-clone-local-variables, python-util-position)
1452 (run-python-internal, python-indentation-levels)
1453 (python-nav-beginning-of-defun)
1454 (python-completion-complete-at-point): New functions.
1455 (run-python): Change arguments. New API requirements.
1456
1457 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1460 (bug#11649).
1461
1462 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1463 (macroexp--expand-all): Use it.
1464
1465 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1466 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1467 Use `cl-function' instead.
1468
1469 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1470
1471 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1472 Suggested by Stefan Monnier while discussing bug#11657.
1473
1474 2012-06-14 Sam Steingold <sds@gnu.org>
1475
1476 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1477
1478 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1479
1480 * play/doctor.el (doctor-doc): Remove parameter and use
1481 doctor-sent instead of sent.
1482 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1483
1484 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1485
1486 * files.el: Require cl-lib.
1487 (file-name-non-special): Replace case -> cl-case.
1488
1489 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1490
1491 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1492 mapping from #' to function*.
1493
1494 2012-06-13 Chong Yidong <cyd@gnu.org>
1495
1496 * mouse.el (mouse-drag-track): Do not set the mark if the user
1497 releases the mouse without selecting anything (Bug#11588).
1498
1499 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1502 as well (bug#11646).
1503
1504 * loadup.el: Count byte-code functions as well.
1505
1506 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1507 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1508
1509 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1510 (bug#11649). Add cl-defun and cl-defmacro.
1511
1512 2012-06-13 Drew Adams <drew.adams@oracle.com>
1513
1514 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1515 Fix last change.
1516
1517 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1518
1519 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1520 Otherwise, it blocks in batch mode.
1521
1522 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1523
1524 * help-mode.el (bookmark-make-record-default): Declare.
1525
1526 2012-06-13 Chong Yidong <cyd@gnu.org>
1527
1528 * emacs-lisp/package.el (list-packages): Compute a list of
1529 packages that are newly-available since the last list-packages
1530 invocation.
1531 (package-menu--new-package-list): New var.
1532 (package-menu--generate, package-menu--print-info)
1533 (package-menu--status-predicate, package-menu-mark-install):
1534 Handle new status label "new".
1535
1536 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1537
1538 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1539 conversion to backquotes.
1540
1541 2012-06-12 Chong Yidong <cyd@gnu.org>
1542
1543 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1544 Rename from gud-inhibit-global-bindings.
1545
1546 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1547
1548 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1549 hook from nxml-glyph-set-hook.
1550
1551 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1552 declaration.
1553
1554 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1555
1556 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1557 Convert to defcustom.
1558
1559 2012-06-12 Drew Adams <drew.adams@oracle.com>
1560
1561 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1562 New functions.
1563 (help-mode): Use them.
1564
1565 2012-06-11 Glenn Morris <rgm@gnu.org>
1566
1567 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1568 Use preprocessor face for directives.
1569 (fortran-directive-re): Doc fix.
1570
1571 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1574 conversion to backquotes (bug#11652).
1575
1576 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1577 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1578 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1579 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1580 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1581 (cl-ninth, cl-tenth): Mark them as inlinable.
1582 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1583 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1584 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1585 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1586 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1587 (cl-list*, cl-adjoin): Don't put an autoload manually.
1588 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1589 (cl--compiler-macro-list*): Add autoload cookie.
1590 (cl--compiler-macro-cXXr): New function.
1591
1592 * help-fns.el (help-fns--compiler-macro): New function extracted from
1593 describe-function-1; follow aliases and use `compiler-macro' property.
1594 (describe-function-1): Use it.
1595
1596 2012-06-11 Chong Yidong <cyd@gnu.org>
1597
1598 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1599 is uninstalled, if imagemagick is installed.
1600
1601 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * emacs-lisp/cl-lib.el: Use lexical-binding.
1604 (cl-map-extents, cl-maclisp-member): Remove.
1605 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1606 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1607 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1608 * emacs-lisp/cl-extra.el: Use lexical-binding.
1609 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1610 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1611 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1612 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1613 * emacs-lisp/cl-seq.el: Use lexical-binding.
1614 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1615 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1616 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1617 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1618 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1619 CL's internals.
1620
1621 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
1622
1623 Sync with Tramp 2.2.6-pre.
1624
1625 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1626 `print-length' and `print-level' to nil, in order to avoid
1627 truncation. Reported by Christopher Schmidt
1628 <christopher@ristopher.com>.
1629
1630 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1631
1632 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1633 New defmacro.
1634 (tramp-compat-copy-directory): Add optional argument
1635 COPY-CONTENTS. It is not handled yet.
1636
1637 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1638 (tramp-ftp-file-name-p): Simplify.
1639
1640 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1641 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1642 connection vector.
1643
1644 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1645 (tramp-methods): Do not use `tramp-password-end-of-line'.
1646 (tramp-completion-function-alist-putty): Handle UNIX case.
1647 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1648 (tramp-do-file-attributes-with-stat)
1649 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1650 gid as real numbers. They could run out of integer range on cygwin.
1651 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1652 (tramp-sh-handle-expand-file-name): Handle hops.
1653 (tramp-open-connection-setup-interactive-shell):
1654 Use `tramp-cleanup'. Move check for busyboxes ...
1655 (tramp-find-shell): ... here. Simplify implementation.
1656 Set "remote-shell" property also for alternative shells.
1657 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1658 If failing, a regular file would be written otherwise.
1659 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1660 (tramp-find-inline-encoding): Cache the coding commands in the
1661 process cache. Apply test command on the remote side, if defined.
1662 (tramp-find-inline-compress): Cache the compress commands in the
1663 process cache.
1664 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1665 when requested. Handle hops.
1666 (tramp-current-connection): New defvar.
1667 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1668 Throw `suppress', if there was a failed connection shortly before.
1669 Handle user interrupt. (Bug#10187)
1670 (tramp-get-inline-compress, tramp-get-inline-coding):
1671 Read connection properties from the process cache.
1672
1673 * net/tramp-smb.el (tramp-smb-server-version)
1674 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1675 New defconsts.
1676 (tramp-smb-prompt): Extend for powershell prompt.
1677 (tramp-smb-file-name-handler-alist): Add handlers for
1678 `process-file', `shell-command' and `start-file-process'.
1679 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1680 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1681 (tramp-smb-file-name-p): Simplify.
1682 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1683 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1684 (tramp-smb-shell-quote-argument): New defuns.
1685 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1686 Implement using "tar". By this, time-stamps are preserved.
1687 (tramp-smb-handle-copy-file): Handle also the case of directories.
1688 (tramp-smb-do-file-attributes-with-stat)
1689 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1690 Use `tramp-get-connection-buffer').
1691 (tramp-smb-handle-rename-file): Use "rename", when source and
1692 target are on the same share.
1693 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1694 Use `tramp-smb-server-version'.
1695 (tramp-smb-wait-for-output): Remove prompt.
1696
1697 * net/tramp.el (top): Require 'cl.
1698 (tramp-methods, tramp-rsh-end-of-line):
1699 Remove `tramp-password-end-of-line' from docstring.
1700 (tramp-save-ad-hoc-proxies): New defcustom.
1701 (tramp-completion-function-alist): Adapt docstring.
1702 (tramp-default-password-end-of-line): Remove defcustom.
1703 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1704 (tramp-user-regexp, tramp-file-name-regexp-unified)
1705 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1706 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1707 (tramp-remote-file-name-spec-regexp): New defconst.
1708 (tramp-file-name-structure): Extend structure for hops.
1709 (tramp-get-method-parameter): Move up.
1710 (tramp-file-name-p, tramp-dissect-file-name)
1711 (with-parsed-tramp-file-name): Handle hops.
1712 (tramp-file-name-hop): New defun.
1713 (tramp-make-tramp-file-name): New optional arg HOP.
1714 (tramp-message-show-progress-reporter-message): New defvar.
1715 (tramp-with-progress-reporter): Use it. We cannot use
1716 `tramp-message-show-message' here, because this suppresses also
1717 error buffers.
1718 (tramp-error-with-buffer): Suppress buffer view, if
1719 `tramp-message-show-message' is nil.
1720 Use `tramp-get-connection-buffer'.
1721 (tramp-cleanup): New defun.
1722 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1723 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1724 an error unchanged.
1725 (tramp-completion-handle-file-name-all-completions): Handle hops.
1726 Fix an error when called from ido.
1727 (tramp-completion-dissect-file-name): Use better local variable
1728 name. Add hop to the vector.
1729 (tramp-handle-insert-file-contents): Use progress-reporter for the
1730 whole scenario.
1731 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1732 to `t'.
1733 (tramp-check-for-regexp): Simplify search.
1734 (tramp-enter-password): Remove it. Move implementation ...
1735 (tramp-action-password): ... here.
1736 (tramp-mode-string-to-int, tramp-local-host-p)
1737 (tramp-make-tramp-temp-file, tramp-read-passwd)
1738 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1739 Set tramp-autoload cookie.
1740
1741 * net/trampver.el: Update release number.
1742
1743 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1744 Michael Albinus <michael.albinus@gmx.de>
1745
1746 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1747 (tramp-parse-group, tramp-parse-file)
1748 (tramp-parse-shostkeys-sknownhosts): New defuns.
1749 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1750 (tramp-parse-shosts-group, tramp-parse-sconfig)
1751 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1752 (tramp-parse-sknownhosts, tramp-parse-hosts)
1753 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1754 Use them.
1755 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1756 (tramp-parse-putty-group): Don't narrow.
1757 (tramp-parse-putty): Make a loop.
1758 (tramp-file-name-handler): Catch the `suppress' signal.
1759
1760 2012-06-11 Chong Yidong <cyd@gnu.org>
1761
1762 * image.el (imagemagick-register-types): Put the ImageMagick entry
1763 at the end of image-type-file-name-regexps.
1764
1765 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1766
1767 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1768 (pcase, pcase-let*, pcase-dolist): Use them.
1769
1770 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * emacs-lisp/pcase.el (pcase--let*): New function.
1773 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1774 (pcase--expand): Use macroexp-let².
1775
1776 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1779 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1780 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1781 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1782 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1783 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1784
1785 2012-06-10 Glenn Morris <rgm@gnu.org>
1786
1787 * mail/rmail.el (rmail-yank-current-message): Leave point at
1788 correct position. (Bug#11660)
1789
1790 2012-06-10 Chong Yidong <cyd@gnu.org>
1791
1792 * allout-widgets.el: Fix code header.
1793
1794 2012-06-10 Chong Yidong <cyd@gnu.org>
1795
1796 * cus-edit.el (customize-changed-options-previous-release):
1797 Bump to 24.1.
1798
1799 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1800
1801 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1802
1803 2012-06-09 Chong Yidong <cyd@gnu.org>
1804
1805 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1806
1807 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1808
1809 * window.el (special-display-popup-frame): Don't use
1810 window--display-buffer (Bug#11651).
1811
1812 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1813
1814 Fix parallel builds: make sure loaddefs.el is not being written
1815 while Lisp files are compiled.
1816 (compile): Don't depend on 'mh-autoloads'.
1817 (compile-CMD, compile-SH): Depend on 'autoloads'.
1818 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1819
1820 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1821
1822 2012-06-09 Chong Yidong <cyd@gnu.org>
1823
1824 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1825 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1826 Doc fixes (Bug#11225).
1827
1828 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1831 a function if there's a clear indication that it has a compiler-macro.
1832 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1833 (macro-declarations-alist): Add arglist to declaration functions.
1834 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1835 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1836 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1837 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1838 Also add autoload to find the compiler macro.
1839 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1840 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1841 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1842 (cl--compiler-macro-get): New functions, replacing calls to
1843 cl-define-compiler-macro.
1844 (cl-typep) [compiler-macro]: Use macroexp-let².
1845
1846 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
1847
1848 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1849 string properly, fixes Bug#11473.
1850
1851 2012-06-08 Chong Yidong <cyd@gnu.org>
1852
1853 * faces.el (set-face-attribute): Doc fix.
1854 (modify-face): Don't use :bold and :italic.
1855 (error, warning, success): Tweak definitions.
1856
1857 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1858 (custom-modified, custom-set, custom-changed, custom-themed)
1859 (custom-saved, custom-button, custom-button-mouse)
1860 (custom-button-pressed, custom-state, custom-comment-tag)
1861 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1862 (custom-group-subtitle): Use new-style face specs.
1863 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1864 (custom-set-face, custom-changed-face, custom-saved-face)
1865 (custom-button-face, custom-button-pressed-face)
1866 (custom-documentation-face, custom-state-face)
1867 (custom-comment-face, custom-comment-tag-face)
1868 (custom-variable-tag-face, custom-variable-button-face)
1869 (custom-face-tag-face, custom-group-tag-face-1)
1870 (custom-group-tag-face): Remove obsolete face alias.
1871
1872 * epa.el (epa-validity-high, epa-validity-medium)
1873 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1874 (epa-field-name, epa-field-body):
1875 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1876 (font-lock-keyword-face, font-lock-builtin-face)
1877 (font-lock-function-name-face, font-lock-variable-name-face)
1878 (font-lock-type-face, font-lock-constant-face):
1879 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1880 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1881 * speedbar.el (speedbar-button-face, speedbar-file-face)
1882 (speedbar-directory-face, speedbar-tag-face)
1883 (speedbar-selected-face, speedbar-highlight-face)
1884 (speedbar-separator-face):
1885 * whitespace.el (whitespace-newline, whitespace-space)
1886 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1887 (whitespace-line, whitespace-space-before-tab)
1888 (whitespace-space-after-tab, whitespace-indentation)
1889 (whitespace-empty):
1890 * emulation/cua-base.el (cua-global-mark):
1891 * eshell/em-prompt.el (eshell-prompt):
1892 * net/newst-plainview.el (newsticker-new-item-face)
1893 (newsticker-old-item-face, newsticker-immortal-item-face)
1894 (newsticker-obsolete-item-face, newsticker-date-face)
1895 (newsticker-statistics-face, newsticker-default-face):
1896 * net/newst-reader.el (newsticker-feed-face)
1897 (newsticker-extra-face, newsticker-enclosure-face):
1898 * net/newst-treeview.el (newsticker-treeview-face)
1899 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1900 (newsticker-treeview-immortal-face)
1901 (newsticker-treeview-obsolete-face)
1902 (newsticker-treeview-selection-face):
1903 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1904 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1905 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1906 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1907 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1908 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1909 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1910 (mpuz-text):
1911 * progmodes/vera-mode.el (vera-font-lock-number)
1912 (vera-font-lock-function, vera-font-lock-interface):
1913 * textmodes/table.el (table-cell): Use new-style face specs, and
1914 don't use the old :bold and :italic attributes.
1915
1916 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1917 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1918 (ebrowse-member-class, ebrowse-progress): Likewise.
1919 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1920 (ebrowse-file-name-face, ebrowse-default-face)
1921 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1922 (ebrowse-progress-face): Remove obsolete faces.
1923
1924 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1925 Inherit from error and warning faces respectively.
1926
1927 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1928 Likewise.
1929 (flyspell-incorrect-face, flyspell-duplicate-face):
1930 Remove obsolete aliases.
1931
1932 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1933
1934 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1935 Avoid infloop.
1936
1937 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * startup.el (argv, argi): Make lexically scoped.
1940 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1941 * emacs-lisp/cl-macs.el: Use lexical-binding.
1942 Rename cl-bind-* to cl--bind-*.
1943 * files.el: Don't require `cl' since it doesn't use it.
1944 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1945
1946 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
1947
1948 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1949 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1950 instead of calling external sort utility.
1951 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1952
1953 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1954
1955 * descr-text.el (describe-char): Mention how to insert the
1956 character, if the current input method doesn't support it.
1957 See the discussion in this thread for the details:
1958 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1959
1960 2012-06-08 Sam Steingold <sds@gnu.org>
1961
1962 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1963 XF86Back to previous-buffer.
1964 (minibuffer-local-map): Bind them to next-history-element and
1965 previous-history-element respectively.
1966 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1967 help-go-back respectively.
1968 * info.el (Info-mode-map): Bind them to Info-history-forward and
1969 Info-history-back respectively.
1970 These are the keys next to Up on the ThinkPad keyboard.
1971
1972 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1975 * emacs-lisp/cl-macs.el: Provide itself.
1976 (cl--labels-convert-cache): New var.
1977 (cl--labels-convert): New function.
1978 (cl-flet, cl-labels): New implementation with new semantics, relying on
1979 lexical-binding.
1980 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1981 (cl-closure-vars, cl--function-convert-cache)
1982 (cl--function-convert): Move from cl-macs.el.
1983 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1984 rename by removing the "cl-" prefix.
1985 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1986
1987 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1990 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1991 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1992 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1993 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1994 (cl-hash-table-count): Add old compatibility aliases.
1995
1996 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1997 Use macroexpand-all-environment instead.
1998 (cl--old-macroexpand): New var.
1999 (cl--sm-macroexpand): New function.
2000 (cl-symbol-macrolet): Use it during macro expansion.
2001 (cl--function-convert-cache): New var.
2002 (cl--function-convert): New function, extracted from
2003 cl-macroexpand-all.
2004 (cl-lexical-let): Use it.
2005
2006 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2007 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2008 (cl-member): Remove old alias.
2009
2010 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2011 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2012 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2013 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2014 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2015 (cl-macroexpand-cmacs): Remove var.
2016 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2017 Use macroexpand-all instead.
2018
2019 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2022 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2023 (macroexp-copyable-p): New functions and macros.
2024 * emacs-lisp/edebug.el (edebug-unwrap):
2025 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2026 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2027 (pcase--let*): Remove.
2028 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2029 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2030 macroexp-const-p instead.
2031 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2032
2033 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2034 instead of "cl-" for internal definitions. Use macroexp-const-p.
2035 (cl-old-bc-file-form): Remove var.
2036 (cl-const-exprs-p): Remove fun.
2037 (cl-labels, cl-macrolet): Use backquote.
2038 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2039 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2040 (cl-define-setf-expander): Rename from cl-define-setf-method.
2041 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2042
2043 * international/mule-cmds.el: Don't require CL.
2044 (view-hello-file): Don't use `letf'.
2045
2046 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * tmm.el (tmm-prompt): Use string-prefix-p.
2049 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2050 (tmm-add-prompt): Use minibuffer-completion-help.
2051 (tmm-delete-map): Remove.
2052
2053 * subr.el (kbd): Make it its own function.
2054
2055 2012-06-07 Stefan Merten <smerten@oekonux.de>
2056
2057 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2058 Silence compiler warnings. Fix versions.
2059 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2060 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2061 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2062 (rst-package-emacs-version-alist): Correct Emacs version to
2063 represent major merge with upstream.
2064 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2065
2066 2012-06-06 Glenn Morris <rgm@gnu.org>
2067
2068 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2069 Only print environment variables if set.
2070
2071 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2074 (macroexp--cons): Rename from maybe-cons.
2075 (macroexp--accumulate): Rename from macroexp-accumulate.
2076 (macroexp--all-forms): Rename from macroexpand-all-forms.
2077 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2078 (macroexp--expand-all): Rename from macroexpand-all-1.
2079
2080 2012-06-06 Sam Steingold <sds@gnu.org>
2081
2082 * calendar/calendar.el (calendar-in-read-only-buffer):
2083 Call `special-mode' to enable the standard read-only keybindings.
2084
2085 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2088 with "loading" messages (bug#11635).
2089
2090 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2091
2092 * files.el (enable-remote-dir-locals): New option.
2093 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2094
2095 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2096 Ensure, that the temp directory is local.
2097
2098 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2099 `temporary-file-directory'.
2100
2101 * progmodes/python.el (python-send-region): Ensure, that the
2102 temporary file is created also in the remote case.
2103
2104 2012-06-06 Glenn Morris <rgm@gnu.org>
2105
2106 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2107 (vc-rcs-update-changelog): Use it.
2108
2109 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2110
2111 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2112 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2113 (vc-sccs-diff): Replace use of the external vcdiff script.
2114
2115 2012-06-05 Glenn Morris <rgm@gnu.org>
2116
2117 * ledit.el: Move to obsolete/.
2118
2119 2012-06-05 Sam Steingold <sds@gnu.org>
2120
2121 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2122 patch (Bug#11140).
2123
2124 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2125
2126 * emacs-lisp/cust-print.el: Move to obsolete.
2127
2128 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2129 compiler-macro expansion.
2130
2131 Add native compiler-macro support.
2132 * emacs-lisp/macroexp.el (macroexpand-all-1):
2133 Support compiler-macros directly. Properly follow aliases and apply
2134 the compiler macros more thoroughly.
2135 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2136 macroexpand now properly follows aliases.
2137 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2138 (cl-compiler-macroexpand): Use new prop.
2139 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2140
2141 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2142
2143 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2144
2145 * window.el (get-lru-window, get-mru-window, get-largest-window):
2146 New argument NOT-SELECTED to avoid picking the selected window.
2147 (window--display-buffer-1, window--display-buffer-2): Replace by
2148 new function window--display-buffer
2149 (display-buffer-same-window, display-buffer-reuse-window)
2150 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2151 Use window--display-buffer.
2152 (display-buffer-use-some-window): Remove temporary dedication
2153 hack by calling get-lru-window and get-largest-window with
2154 NOT-SELECTED argument non-nil. Call window--display-buffer.
2155
2156 2012-06-05 Glenn Morris <rgm@gnu.org>
2157
2158 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2159 Replace external vcdiff script.
2160
2161 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2162
2163 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2164
2165 2012-06-04 Chong Yidong <cyd@gnu.org>
2166
2167 * image.el (imagemagick-types-inhibit): Revert last change.
2168 Add INFO and M.
2169 (imagemagick-enabled-types): Remove CIN and EPS*.
2170
2171 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * emacs-lisp/cl-lib.el: Rename from cl.el.
2174 * emacs-lisp/cl.el: New compatibility file.
2175 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2176 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2177 to obey the "cl-" prefix.
2178 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2179
2180 2012-06-03 Glenn Morris <rgm@gnu.org>
2181
2182 * emacs-lisp/authors.el (authors-aliases): Addition.
2183
2184 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2185 Fix :version.
2186
2187 2012-06-03 Stefan Merten <smerten@oekonux.de>
2188
2189 * textmodes/rst.el: Add comments.
2190 (rst-transition, rst-adornment): New faces.
2191 (rst-adornment-faces-alist): Make default safe to reevaluate.
2192 Fixes
2193 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2194 Improve customization tags.
2195 (rst-define-level-faces): Clarify meaning.
2196
2197 2012-06-03 Chong Yidong <cyd@gnu.org>
2198
2199 * progmodes/compile.el (compilation-mode-line-fail)
2200 (compilation-mode-line-run, compilation-mode-line-exit):
2201 New faces.
2202 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2203
2204 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2205
2206 * progmodes/which-func.el (which-func-update-ediff-windows):
2207 New function. Use it in ediff-select-hook (Bug#11478).
2208
2209 2012-06-03 Chong Yidong <cyd@gnu.org>
2210
2211 * bindings.el: Remove explicit help text from format-mode-line.
2212 It is now supplied by mode-line-default-help-echo.
2213 (mode-line-front-space, mode-line-end-spaces)
2214 (mode-line-misc-info): New variables.
2215 (mode-line-modes, mode-line-position): Move the default value to
2216 the variable definition.
2217 (mode-line-default-help-echo): New defcustom.
2218 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2219 (mode-line-modified-help-echo): New functions.
2220 (mode-line-mule-info, mode-line-modified): Use them.
2221 (mode-line-eol-desc, propertized-buffer-identification):
2222 Consistency fixes for help text.
2223 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2224 set-buffer-file-coding-system (Bug#289).
2225 (mode-line-mule-info-help-echo): Update help text.
2226
2227 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * simple.el (execute-extended-command): Set real-this-command
2230 (bug#11506).
2231
2232 2012-06-02 Chong Yidong <cyd@gnu.org>
2233
2234 Remove incorrect uses of "modeline" in comments, docstrings, and
2235 function/variable names (Bug#10329).
2236
2237 * cus-edit.el (mode-line):
2238 * dframe.el (dframe-mouse-hscroll):
2239 * emacs-lisp/re-builder.el:
2240 * emacs-lisp/easy-mmode.el (define-minor-mode):
2241 * frame.el (set-frame-name):
2242 * help.el (lookup-minor-mode-from-indicator):
2243 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2244 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2245 (c-toggle-hungry-state):
2246 * progmodes/antlr-mode.el (antlr-language-alist):
2247 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2248 * progmodes/vhdl-mode.el (vhdl-mode):
2249 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2250 * term/ns-win.el (ns-face-at-pos):
2251 * term/sup-mouse.el (sup-mouse-report):
2252 * textmodes/flyspell.el (flyspell-mode-line-string):
2253 * textmodes/ispell.el (ispell-highlight-face):
2254 * textmodes/reftex-global.el:
2255 * vc/vc-arch.el (vc-arch-mode-line-string):
2256 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2257 * vc/vc-git.el (vc-git-mode-line-string):
2258 * vc/vc-hooks.el (vc-display-status)
2259 (vc-default-mode-line-string):
2260 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2261
2262 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2263
2264 * dired.el (dired-sort-set-mode-line): Rename from
2265 dired-sort-set-modeline. All callers changed.
2266
2267 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2268 eshell-status-in-modeline.
2269
2270 * foldout.el (foldout-mode-line-string): Rename from
2271 foldout-modeline-string. All callers changed.
2272 (foldout-update-mode-line): Rename from foldout-update-modeline.
2273
2274 * subr.el (redraw-modeline): Make into obsolete alias.
2275
2276 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2277 timeclock-modeline-display. Make old name an alias.
2278 (timeclock-update-mode-line): Likewise. All callers changed.
2279 (timeclock-mode-line-display): No need to check before using
2280 add-hook.
2281 (timeclock-relative, timeclock-day-over-hook)
2282 (timeclock-use-elapsed, timeclock-mode-string)
2283 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2284
2285 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2286 crisp-mode-modeline-string.
2287
2288 * play/solitaire.el (solitaire-build-mode-line): Rename from
2289 solitaire-build-modeline. All callers changed.
2290
2291 * play/zone.el (zone-hiding-mode-line): Rename from
2292 zone-hiding-modeline. All callers changed.
2293 (zone): Remove unusued `modeline-hidden-level' property.
2294
2295 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2296 xscheme-modeline-initialize. All callers changed.
2297
2298 * strokes.el (strokes-lighter): Rename from
2299 strokes-modeline-string.
2300
2301 * textmodes/sgml-mode.el (html-face-tag-alist)
2302 (html-tag-face-alist): Use mode-line face instead of obsolete
2303 alias modeline.
2304
2305 2012-06-02 Stefan Merten <smerten@oekonux.de>
2306
2307 * textmodes/rst.el: Always require `cl'.
2308 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2309
2310 2012-06-02 Chong Yidong <cyd@gnu.org>
2311
2312 * image.el (imagemagick-enabled-types): Rename from
2313 imagemagick-types-enable. Add many more types.
2314 (imagemagick-types-inhibit): Change default to nil.
2315 (imagemagick-filter-types): Caller changed.
2316
2317 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2318
2319 * emacs-lisp/cl-macs.el: Use backquotes.
2320 (cl-transform-function-property): Use eval-and-compile rather than
2321 abusing `require'.
2322 (defstruct): Use declare-function instead of with-no-warnings.
2323
2324 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2325 (byte-compile-output-docform): Re-add the print-circle bindings.
2326 (byte-compile-fix-header): Use #$ just because it's shorter.
2327 (byte-compile-output-file-form): Remove defun/defmacro.
2328
2329 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2330
2331 * simple.el (choose-completion): Remove now obsolete binding for
2332 owindow.
2333
2334 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2335
2336 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2337 in order to avoid "Stack overflow in regexp matcher".
2338
2339 2012-05-31 Glenn Morris <rgm@gnu.org>
2340
2341 * image.el: For clarity, call imagemagick-register-types at
2342 top-level, rather than relying on a custom :initialize.
2343 (imagemagick-types-enable): New option. (Bug#11557)
2344 (imagemagick-filter-types): New function. (Bug#7406)
2345 (imagemagick-register-types): Use imagemagick-filter-types.
2346 If disabling support, remove elements altogether rather
2347 than using an impossible regexp.
2348 (imagemagick-types-inhibit): Give it the default init function.
2349
2350 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2353 Handle arbitrary file name lengths (Bug#11585).
2354
2355 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2356
2357 * desktop.el (desktop-read): Clear previous and next buffers for
2358 all windows and bury *Messages* buffer (bug#11556).
2359
2360 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 Add `declare' for `defun'. Align `defmacro's with it.
2363 * emacs-lisp/easy-mmode.el (define-minor-mode)
2364 (define-globalized-minor-mode): Don't autoload the var definitions.
2365 * emacs-lisp/byte-run.el: Use lexical-binding.
2366 (defun-declarations-alist, macro-declarations-alist): New vars.
2367 (defmacro, defun): Use them.
2368 (make-obsolete, define-obsolete-function-alias)
2369 (make-obsolete-variable, define-obsolete-variable-alias):
2370 Use `declare'.
2371 (macro-declaration-function): Mark obsolete.
2372 * emacs-lisp/autoload.el: Use lexical-binding.
2373 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2374
2375 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2376
2377 * textmodes/ispell.el (ispell-with-no-warnings):
2378 Define as a macro.
2379 (ispell-kill-ispell, ispell-change-dictionary):
2380 Use `called-interactively-p' for Emacs instead of obsolete
2381 `interactive-p'.
2382
2383 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2384
2385 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2386 (macro-declaration-function): Move var from C code.
2387 (macro-declaration-function): Define function with defalias.
2388 * emacs-lisp/macroexp.el (macroexpand-all-1):
2389 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2390 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2391 defun/defmacro any more.
2392 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2393 Provide fallback for unknown arglist.
2394 (byte-compile-arglist-warn): Change calling convention.
2395 (byte-compile-output-file-form): Move print-vars binding.
2396 (byte-compile-output-docform): Simplify accordingly.
2397 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2398 (byte-compile-defmacro-declaration): Remove.
2399 (byte-compile-file-form-defmumble): Generalize to defalias.
2400 (byte-compile-output-as-comment): Return byte-positions.
2401 Simplify callers accordingly.
2402 (byte-compile-lambda): Use `assert'.
2403 (byte-compile-defun, byte-compile-defmacro): Remove.
2404 (byte-compile-file-form-defalias):
2405 Use byte-compile-file-form-defmumble.
2406 (byte-compile-defalias-warn): Remove.
2407
2408 2012-05-29 Stefan Merten <smerten@oekonux.de>
2409
2410 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2411 possible. Fix authors. Improve comments. Improve loading of `cl'.
2412
2413 (rst-mode-abbrev-table): Merge definition.
2414 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2415 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2416
2417 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2418
2419 * calendar/icalendar.el
2420 (icalendar-export-region): Export UID properly.
2421
2422 2012-05-29 Leo Liu <sdl.web@gmail.com>
2423 * calendar/icalendar.el (icalendar-import-format):
2424 Add `icalendar-import-format-uid' (Bug#11525).
2425 (icalendar-import-format-uid): New.
2426 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2427 Export UID.
2428
2429 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2432 different alternative patterns.
2433 (pcase-codegen): Be more careful to preserve identity.
2434 (pcase--u1): Don't forget to mark vars as used.
2435
2436 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2437 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2438 (byte-compile-from-buffer): ...rather than here.
2439
2440 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2441 functions from byte-compile-function-environment.
2442
2443 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2444
2445 * window.el (window-deletable-p): Avoid deleting the root window
2446 of a frame with an active minibuffer.
2447
2448 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2449
2450 * simple.el (choose-completion): Use quit-window (Bug#11567).
2451
2452 2012-05-29 Chong Yidong <cyd@gnu.org>
2453
2454 * whitespace.el (whitespace-cleanup): Fix usage of
2455 whitespace-empty-at-bob-regexp (Bug#11492).
2456
2457 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2458
2459 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2460 revert (Bug#11488).
2461
2462 2012-05-29 Juri Linkov <juri@jurta.org>
2463
2464 * isearch.el (isearch-mode-map): Bind `M-s _' to
2465 `isearch-toggle-symbol'. Bind `M-s c' to
2466 `isearch-toggle-case-fold'.
2467 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2468 (isearch-forward): Add `M-s _' to the docstring.
2469 (isearch-forward-symbol, isearch-toggle-case-fold)
2470 (isearch-symbol-regexp): New functions. (Bug#11381)
2471
2472 2012-05-29 Juri Linkov <juri@jurta.org>
2473
2474 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2475 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2476 a function, call it to get the regexp.
2477 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2478 property `isearch-message-prefix' instead of the string "word ".
2479 (isearch-search-fun-default): For the case of `isearch-word',
2480 return a lambda that calls re-search-forward/re-search-backward
2481 with a regexp returned by `word-search-regexp' or by the function
2482 in `isearch-word'.
2483
2484 2012-05-29 Juri Linkov <juri@jurta.org>
2485
2486 * isearch.el (isearch-search-fun-default): New function.
2487 (isearch-search-fun): Move default part to the new function
2488 `isearch-search-fun-default'.
2489 (isearch-search-fun-function): Set the default value to
2490 `isearch-search-fun-default'. (Bug#11381)
2491
2492 * comint.el (comint-history-isearch-end):
2493 Use `isearch-search-fun-default'.
2494 (comint-history-isearch-search): Use `isearch-search-fun-default'
2495 and remove spacial case for `isearch-word'.
2496 (comint-history-isearch-wrap): Remove spacial case for
2497 `isearch-word'.
2498
2499 * hexl.el (hexl-isearch-search-function):
2500 Use `isearch-search-fun-default'.
2501
2502 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2503 Use `word-search-regexp' for `isearch-word'.
2504
2505 * misearch.el (multi-isearch-search-fun):
2506 Use `isearch-search-fun-default'.
2507
2508 * simple.el (minibuffer-history-isearch-search):
2509 Use `isearch-search-fun-default' and remove spacial case for
2510 `isearch-word'.
2511 (minibuffer-history-isearch-wrap): Remove spacial case for
2512 `isearch-word'.
2513
2514 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2515 Remove spacial case for `isearch-word'.
2516 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2517
2518 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2519
2520 Decrease XEmacs incompatibilities.
2521 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2522 Use `string-match'.
2523 (flyspell-delete-region-overlays): Use alternative definition for
2524 XEmacs.
2525 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2526 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2527 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2528 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2529 `define-obsolete-face-alias' under XEmacs, but old method.
2530
2531 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2532 `with-no-warnings' definition or Emacs alias.
2533 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2534 (ispell-word): Do not use `region-p' if XEmacs.
2535
2536 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2537
2538 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2539 Check for `ispell-dictionary-base-alist' instead of full
2540 `ispell-dictionary-alist'.
2541 (ispell-init-process): Show spellchecker when starting new Ispell
2542 process.
2543
2544 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2547 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2548
2549 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2550
2551 * version.el (motif-version-string, gtk-version-string)
2552 (ns-version-string): Declare.
2553
2554 2012-05-27 Juri Linkov <juri@jurta.org>
2555
2556 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2557 after the `eval-defun-1' specialcaseing
2558 like in `edebug-eval-defun' (bug#10181).
2559
2560 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2561 like in `eval-defun-1'.
2562
2563 2012-05-27 Eli Zaretskii <eliz@gnu.org>
2564
2565 * mail/sendmail.el (mail-yank-region):
2566 Recognize rmail-yank-current-message in addition to insert-buffer.
2567 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2568 a *mail* buffer created through rmail-start-mail with sendmail as
2569 mail-user-agent.
2570
2571 2012-05-27 Chong Yidong <cyd@gnu.org>
2572
2573 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2574 Default to 256 (Bug#11267).
2575
2576 * help.el (describe-mode): Doc fix.
2577
2578 2012-05-26 Glenn Morris <rgm@gnu.org>
2579
2580 * w32-fns.el (w32-init-info): Remove.
2581 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2582
2583 * info.el (info-initialize): For self-contained NS builds, put the
2584 included info/ directory at the front. (Bug#2791)
2585
2586 * paths.el (Info-default-directory-list): Make it a defcustom,
2587 mainly so that we can use custom-initialize-delay.
2588
2589 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2590
2591 * subr.el (buffer-has-markers-at): Mark obsolete.
2592
2593 * subr.el (lambda): Use declare.
2594
2595 * emacs-lisp/lisp-mode.el (lambda):
2596 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2597
2598 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2599
2600 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2601
2602 2012-05-26 Glenn Morris <rgm@gnu.org>
2603
2604 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2605
2606 2012-05-25 Glenn Morris <rgm@gnu.org>
2607
2608 * paths.el: Remove no-byte-compile.
2609 * loadup.el: No need to load paths.el uncompiled.
2610
2611 * image.el (imagemagick-types-inhibit): Doc fix.
2612
2613 * version.el: Remove no-byte-compile and associated formatting.
2614 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2615 is ancient code from when there was an "inc-vers.el".
2616
2617 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * progmodes/gdb-mi.el: Minor style changes.
2620 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2621 Turn into minor modes.
2622 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2623 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2624 (gdb-shell): Remove unneeded let-binding.
2625 (gdb-get-many-fields): Eliminate O(n²) behavior.
2626
2627 2012-05-25 Eli Zaretskii <eliz@gnu.org>
2628
2629 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2630 platforms that don't link in fontset.c.
2631
2632 2012-05-25 Juri Linkov <juri@jurta.org>
2633
2634 Use the same diff color scheme as in modern VCSes (bug#10181).
2635
2636 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2637 to avoid confusion with `diff-added' that now uses green colors.
2638 (diff-removed): Use shades of red.
2639 (diff-added): Use shades of green.
2640 (diff-changed): Leave just the yellow color.
2641 (diff-use-changed-face): New variable.
2642 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2643 how to highlight context diff changes.
2644 (diff-refine-change): Use shades of yellow.
2645 (diff-refine-removed): New face that uses shades of red.
2646 (diff-refine-added): New face that uses shades of green.
2647 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2648 `diff-refine-removed' in the call to `smerge-refine-subst'
2649 depending on the value of `diff-use-changed-face'.
2650
2651 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2652 (smerge-other): Use shades of green.
2653 (smerge-base): Use shades of yellow.
2654 (smerge-refined-change): Empty face.
2655 (smerge-refined-removed): New face that uses shades of red.
2656 (smerge-refined-added): New face that uses shades of green.
2657 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2658 args `props-r' and `props-a', and use them. Doc fix.
2659 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2660 on its value use different faces `smerge-refined-change',
2661 `smerge-refined-removed', `smerge-refined-added' in the call to
2662 `smerge-refine-subst'.
2663
2664 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2665 Add face condition `min-colors 88' with shades of red.
2666 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2667 `min-colors 88' with shades of green.
2668 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2669 `min-colors 88' with shades of yellow.
2670
2671 2012-05-24 Glenn Morris <rgm@gnu.org>
2672
2673 * paths.el (prune-directory-list, remote-shell-program): Move to...
2674 * files.el (prune-directory-list, remote-shell-program): ...here.
2675 For the latter, delay initialization, prefer ssh, just search PATH.
2676
2677 * paths.el (term-file-prefix): Move to faces.el (the only user).
2678 * faces.el (term-file-prefix): Move here, make it a defcustom.
2679
2680 * paths.el (news-directory, news-path, news-inews-program):
2681 Move to gnus/nnspool.el.
2682
2683 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2684
2685 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2686 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2687 Make the latter a defcustom, with a delayed initialization.
2688
2689 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2690 These were deleted from Gnus itself late 2010.
2691
2692 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2693
2694 * progmodes/which-func.el (which-func-ff-hook):
2695 Check against user-error, not error.
2696
2697 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2698 cl-specs.el, which no longer exists.
2699
2700 2012-05-22 Glenn Morris <rgm@gnu.org>
2701
2702 * info.el (info-emacs-bug): New command.
2703 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2704 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2705
2706 2012-05-21 Glenn Morris <rgm@gnu.org>
2707
2708 * makefile.w32-in (update-subdirs-SH):
2709 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2710
2711 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2714
2715 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2716 Simplify Maven regexp, and make sure the file can't start with a space
2717 (bug#11517).
2718
2719 2012-05-21 Glenn Morris <rgm@gnu.org>
2720
2721 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2722 Scrap superfluous subshells.
2723
2724 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2725
2726 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2727 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2728
2729 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2730
2731 * calc/calc.el (calc-ensure-consistent-units): New variable.
2732
2733 * calc/calc-units.el (math-consistent-units-p)
2734 (math-check-unit-consistency): New functions.
2735 (calc-quick-units, calc-convert-units):
2736 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2737 is non-nil.
2738 (calc-extract-units): Fix typo.
2739
2740 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2743
2744 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2745 (flyspell-default-deplacement-commands): Don't spell check after
2746 repeated window/frame switches (e.g. triggered by mouse-movement).
2747 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2748 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2749 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2750 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2751 Remove unused vars.
2752 (flyspell-get-casechars, flyspell-get-not-casechars):
2753 Simplify; Don't bother removing a ] just to add it back.
2754 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2755
2756 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2757
2758 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2759 New functions.
2760 (math-function-table): Add support for more C functions.
2761
2762 2012-05-18 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 Protect delay handling for otherchars against empty otherchars.
2767
2768 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2771 their respective macro declarations.
2772 * skeleton.el (define-skeleton):
2773 * progmodes/compile.el (define-compilation-mode):
2774 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2775 (define-ibuffer-filter):
2776 * emacs-lisp/generic.el (define-generic-mode):
2777 * emacs-lisp/easy-mmode.el (define-minor-mode)
2778 (define-globalized-minor-mode):
2779 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2780 * emacs-lisp/byte-run.el (defsubst):
2781 * custom.el (deftheme): Add doc-string metadata.
2782
2783 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2786
2787 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2790
2791 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2792 * emacs-lisp/cl-macs.el: Idem.
2793 * emacs-lisp/cl-specs.el: Remove.
2794
2795 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 Minor renaming of internal CL functions and variables.
2798 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2799 (cl--position): Rename from cl-position.
2800 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2801 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2802 (cl--random-state): Rename from *random-state*.
2803
2804 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2805
2806 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2807 parens around the arg list (bug#11499).
2808
2809 2012-05-17 Juri Linkov <juri@jurta.org>
2810
2811 * isearch.el (word-search-regexp, word-search-backward)
2812 (word-search-forward, word-search-backward-lax)
2813 (word-search-forward-lax): Move functions from search.c
2814 (bug#10145, bug#11381).
2815
2816 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2817
2818 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2819 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2820 Delay for otherchars as for normal word components.
2821
2822 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2823
2824 * minibuffer.el (completion--sifn-requote): Fix last change.
2825 (minibuffer-local-must-match-filename-map):
2826 Move define-obsolete-variable-alias before its var.
2827
2828 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2829
2830 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2831
2832 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2833 behavior.
2834 (completion--string-equal-p): New function.
2835 (completion--twq-all): Use it to get better assertion failure data.
2836
2837 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2838 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2839 (shell--requote-argument): New functions.
2840 (shell-completion-vars): Use them.
2841 (shell--parse-pcomplete-arguments): Rename from
2842 shell-parse-pcomplete-arguments.
2843 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2844 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2845 Obey comint-file-name-quote-list.
2846
2847 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2848 (smie-indent-keyword): Use it.
2849
2850 2012-05-14 Stefan Merten <smerten@oekonux.de>
2851
2852 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2853
2854 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * net/rlogin.el (rlogin-mode-map): Fix last change.
2857
2858 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
2859
2860 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2861 the following \r\n using a single `process-send-string', since the
2862 Lotus SMTP server refuses to accept any commands if they are sent
2863 with two `process-send-string's (Bug#11444).
2864
2865 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * shell.el (shell-parse-pcomplete-arguments):
2868 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2869
2870 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2871
2872 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2873 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2874 (image-transform-width, image-transform-fit-width): New functions.
2875 (image-transform-properties): Use them.
2876 (image-transform-check-size): New function.
2877 (image-toggle-display-image): Use it (for testing).
2878 (image-transform-set-rotation): Reduce angle mod 360.
2879 Delete obsolete comment.
2880
2881 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2882
2883 * image-mode.el: Fix scaling (bug#11399).
2884 (image-transform-resize): Doc fix.
2885 (image-transform-properties): Default scale is 1 and height should
2886 be an integer.
2887
2888 2012-05-13 Johan Bockgård <bojohan@gnu.org>
2889
2890 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2891 than hard-coding `car', to fix misbehavior when moving forward.
2892
2893 2012-05-13 Chong Yidong <cyd@gnu.org>
2894
2895 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2896 (tabulated-list-entries, tabulated-list-padding)
2897 (tabulated-list-sort-key): Make permanent-local.
2898
2899 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2900 (electric-buffer-list): Put electric buffer menu
2901 command descriptions in this docstring, instead of the docstring
2902 of electric-buffer-menu-mode. Code cleanups.
2903 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2904 Electric-buffer-menu-mode.
2905 (electric-buffer-update-highlight): Minor code cleanup.
2906
2907 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
2908
2909 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2910 (Bug#11447)
2911
2912 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 Move define-obsolete-variable-alias before the var's definition.
2915 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2916 * tooltip.el (tooltip-hook):
2917 * textmodes/reftex-toc.el (reftex-toc-map):
2918 * textmodes/reftex-sel.el (reftex-select-label-map)
2919 (reftex-select-bib-map):
2920 * textmodes/reftex-index.el (reftex-index-map)
2921 (reftex-index-phrases-map):
2922 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2923 * progmodes/meta-mode.el (meta-mode-map):
2924 * novice.el (disabled-command-hook):
2925 * loadhist.el (unload-hook-features-list):
2926 * frame.el (blink-cursor):
2927 * files.el (find-file-not-found-hooks, write-file-hooks)
2928 (write-contents-hooks):
2929 * emulation/tpu-edt.el (GOLD-map):
2930 * emacs-lock.el (emacs-lock-from-exiting):
2931 * emacs-lisp/generic.el (generic-font-lock-defaults):
2932 * emacs-lisp/chart.el (chart-map):
2933 * dos-fns.el (register-name-alist):
2934 * dired-x.el (dired-omit-files-p):
2935 * desktop.el (desktop-enable):
2936 * cus-edit.el (custom-mode-hook):
2937 * buff-menu.el (buffer-menu-mode-hook):
2938 * bookmark.el (bookmark-read-annotation-text-func)
2939 (bookmark-exit-hooks):
2940 * allout.el (allout-mode-deactivate-hook)
2941 (allout-exposure-change-hook, allout-structure-added-hook)
2942 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2943 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2944 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2945 comes before the corresponding variable's definition.
2946
2947 2012-05-12 Chong Yidong <cyd@gnu.org>
2948
2949 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2950 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2951 (Buffer-menu-mode-map): Bind it.
2952 (Buffer-menu--pretty-name): Add a mouse-face property.
2953
2954 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2955
2956 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2957 (prolog-upper-case-string, prolog-lower-case-string)
2958 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2959 (prolog-use-smie, prolog-smie-grammar): New vars.
2960 (prolog-smie-forward-token, prolog-smie-backward-token)
2961 (prolog-smie-rules): New funs.
2962 (prolog-comment-indent): Remove.
2963 (prolog-mode-variables): Use default comment indentation instead.
2964 Setup SMIE.
2965 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2966 (prolog-mode): Don't call them any more.
2967 (prolog-electric-colon, prolog-electric-dash)
2968 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2969
2970 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2971
2972 * minibuffer.el (completion--twq-all): Again, allow case differences.
2973
2974 * term.el: Move keymap initialization code to be more idiomatic.
2975 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2976 (term-terminal-menu): Move initialization into declaration.
2977 (term-escape-char): Let the user set it in her .emacs.
2978
2979 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2980 Provide SMIE-based indentation (not enabled by default yet).
2981 (sh-mode-map): Don't bind electric keys.
2982 Use electric-pair-mode instead of skeleton-pair.
2983 (sh-assignment-regexp): Fit within 80 columns.
2984 (sh-indent-supported): Specify actual shell name instead of boolean.
2985 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2986 (sh-maybe-here-document): Use it. Make obsolete.
2987 (sh-electric-here-document-mode) New minor mode.
2988 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2989 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2990 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2991 (sh-smie-rc-grammar, sh-use-smie): New vars.
2992 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2993 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2994 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2995 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2996 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2997 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2998 (sh-set-shell): Use smie-setup if requested.
2999
3000 * term.el (term-set-escape-char): Properly set term-escape-char.
3001 See http://stackoverflow.com/questions/10524656.
3002
3003 2012-05-10 Chong Yidong <cyd@gnu.org>
3004
3005 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3006 Use url-generic-parse-url, and handle host names and Windows
3007 filenames properly.
3008 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3009 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3010 URL schemes to work on.
3011 (ffap--toggle-read-only): New function.
3012 (ffap-read-only, ffap-read-only-other-window)
3013 (ffap-read-only-other-frame): Use it.
3014 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3015 necessary for ffap-url-unwrap-remote.
3016
3017 2012-05-10 Dave Abrahams <dave@boostpro.com>
3018
3019 * cus-start.el (create-lockfiles): Add it.
3020
3021 2012-05-09 Chong Yidong <cyd@gnu.org>
3022
3023 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3024 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3025
3026 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3029
3030 2012-05-09 Chong Yidong <cyd@gnu.org>
3031
3032 * ansi-color.el (ansi-color-process-output): Check for validity of
3033 comint-last-output-start before using it. This avoids a bad
3034 interaction with gdb-mi's input/output buffer.
3035
3036 2012-05-09 Glenn Morris <rgm@gnu.org>
3037
3038 * files.el (dir-locals-read-from-file):
3039 Mention dir-locals in any error message.
3040
3041 2012-05-09 Chong Yidong <cyd@gnu.org>
3042
3043 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3044 package (Bug#11410).
3045
3046 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3047 variables into description.
3048
3049 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3052 shell-delimiter-argument-list (bug#11348).
3053 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3054
3055 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3056
3057 * textmodes/rst.el: Silence byte-compiler warnings.
3058 (rst-re-alist, rst-reset-section-caches): Move around.
3059 (rst-re): Use `characterp', not `char-valid-p'.
3060 (font-lock-beg, font-lock-end): Declare.
3061
3062 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3063 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3064
3065 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3066
3067 2012-05-08 Glenn Morris <rgm@gnu.org>
3068
3069 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3070
3071 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * vc/log-edit.el: Add GNU coding standards highlighting.
3074 (log-edit-font-lock-gnu-style)
3075 (log-edit-font-lock-gnu-keywords): New vars.
3076 (log-edit-font-lock-keywords): New fun.
3077 (log-edit-mode): Don't fold case in font-lock.
3078 (log-edit-font-lock-keywords): Do not assume case-folding.
3079
3080 * imenu.el: Misc cleanup. Make docstrings out of comments.
3081 Use lexical-binding.
3082 (imenu--index-alist, imenu--last-menubar-index-alist)
3083 (imenu-menubar-modified-tick): Use defvar-local.
3084 (imenu--split-menu): Remove unused var.
3085 (imenu--cleanup-seen): Declare as global.
3086 (imenu--cleanup): Use dolist.
3087
3088 * subr.el (defvar-local): Add debug spec and doc-string position.
3089
3090 2012-05-08 Glenn Morris <rgm@gnu.org>
3091
3092 * language/burmese.el, language/cham.el, language/czech.el:
3093 * language/english.el, language/georgian.el, language/greek.el:
3094 * language/japanese.el, language/khmer.el, language/korean.el:
3095 * language/lao.el, language/misc-lang.el, language/romanian.el:
3096 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3097 * language/thai.el, language/utf-8-lang.el:
3098 Remove no-byte-compile setting.
3099
3100 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3101
3102 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3103
3104 * progmodes/make-mode.el (makefile-browse):
3105 Remove unnecessary interactive. (Bug#11324)
3106
3107 2012-05-07 Glenn Morris <rgm@gnu.org>
3108
3109 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3110
3111 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3112
3113 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * loadup.el: Preload newcomment.el.
3116 * newcomment.el: Move autoload-only code to toplevel.
3117
3118 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3119 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3120 Handle new :right-align column property.
3121 (tabulated-list-print-col): Idem, plus use `display' text-property to
3122 try and preserve alignment for variable pitch fonts.
3123
3124 2012-05-07 Chong Yidong <cyd@gnu.org>
3125
3126 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3127 (tabulated-list-use-header-line): New var.
3128 (tabulated-list-init-header): Use it.
3129 (tabulated-list-print-fake-header): New function.
3130 (tabulated-list-print): Use it.
3131 (tabulated-list-sort-button-map): Add non-header-line commands.
3132 (tabulated-list-init-header): Add column name property to basic
3133 labels as well.
3134 (tabulated-list-col-sort): Handle non-header-line button case.
3135 (tabulated-list--sort-by-column-name): Fix a corner case.
3136
3137 * buff-menu.el (list-buffers--refresh):
3138 Handle Buffer-menu-use-header-line.
3139
3140 2012-05-06 Chong Yidong <cyd@gnu.org>
3141
3142 * buff-menu.el: Convert to Tabulated List mode.
3143 (Buffer-menu-buffer+size-width): Make obsolete.
3144 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3145 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3146 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3147 documentation into docstring of buffer-menu.
3148 (Buffer-menu-toggle-files-only): Add an informative message.
3149 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3150 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3151 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3152 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3153 (Buffer-menu-execute, Buffer-menu-select)
3154 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3155 (Buffer-menu-bury): Use Tabulated List machinery.
3156 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3157 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3158 Delete.
3159 (list-buffers--refresh): New function.
3160 (list-buffers-noselect): Use it.
3161 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3162 (Buffer-menu--pretty-file-name): New helper functions.
3163
3164 * loadup.el: Preload tabulated-list.
3165
3166 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3167 tabulated-list-sort-column.
3168 (tabulated-list-init-header): Add the initial aligning space even
3169 if tabulated-list-padding is zero.
3170
3171 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3172
3173 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3174 whose cdr is not a cons cell correctly (bug#11038).
3175
3176 2012-05-06 Chong Yidong <cyd@gnu.org>
3177
3178 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3179 Accept additional plist in column descriptors.
3180 (tabulated-list-init-header): Obey it.
3181 (tabulated-list-get-entry): New function.
3182 (tabulated-list-put-tag): Use it. Use string-width instead of
3183 length.
3184 (tabulated-list--column-number): New function.
3185 (tabulated-list-print): Use it.
3186 (tabulated-list-print-col): New function.
3187 Set `tabulated-list-column-name' property on each column's text.
3188 (tabulated-list-print-entry): Use it.
3189 (tabulated-list-delete-entry, tabulated-list-set-col):
3190 New functions.
3191 (tabulated-list-sort-column): New command (Bug#11337).
3192
3193 * buff-menu.el (list-buffers): Move C-x C-b binding from
3194 buff-menu.el to bindings.el.
3195
3196 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3197 :advertised-binding feature.
3198
3199 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3200
3201 * progmodes/compile.el (compilation-internal-error-properties):
3202 Calculate start position correctly when end-col is set but
3203 end-line is not (Bug#11382).
3204
3205 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3206
3207 * man.el (Man-unindent): Use text-property-default-nonsticky to
3208 prevent untabify from inheriting face properties (Bug#11408).
3209
3210 2012-05-05 Stefan Merten <smerten@oekonux.de>
3211
3212 * textmodes/rst.el: Major merge with upstream development up to
3213 Docutils SVN r7399 / rst.el V1.2.1.
3214
3215 Clarify maintainership and authors.
3216
3217 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3218 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3219 (rst-official-version, rst-official-cvs-rev, rst-version)
3220 (rst-package-emacs-version-alist): New functions and variables
3221 for version information.
3222
3223 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3224 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3225 (rst-mode-syntax-table, rst-mode): New and corrected functions
3226 and variables representing reStructuredText features.
3227
3228 (rst-re): New function for reStructuredText regexes. Use in
3229 many places.
3230
3231 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3232 (rst-mode-map): Rebind keys.
3233
3234 (rst-mode-lazy, rst-font-lock-keywords)
3235 (rst-font-lock-extend-region)
3236 (rst-font-lock-extend-region-internal)
3237 (rst-font-lock-extend-region-extend)
3238 (rst-font-lock-find-unindented-line-limit)
3239 (rst-font-lock-find-unindented-line-match)
3240 (rst-adornment-level, rst-font-lock-adornment-level)
3241 (rst-font-lock-adornment-match)
3242 (rst-font-lock-handle-adornment-pre-match-form)
3243 (rst-font-lock-handle-adornment-matcher): Major revision of
3244 font-locking. Integrate with other code. Use `jit-lock-mode'.
3245
3246 (rst-preferred-adornments, rst-adjust-hook)
3247 (rst-new-adornment-down, rst-preferred-bullets)
3248 (rst-preferred-bullets, rst-indent, rst-indent-width)
3249 (rst-indent-field, rst-indent-literal-normal)
3250 (rst-indent-literal-minimized, rst-indent-comment): Change,
3251 extend and improve customization.
3252
3253 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3254 (rst-normalize-cursor-position, rst-get-decoration)
3255 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3256 (rst-rstrip, rst-toc-insert-find-delete-contents)
3257 (rst-shift-fill-region, rst-compute-bullet-tabs)
3258 (rst-debug-print-tabs, rst-debug-mark-found)
3259 (rst-shift-region-guts, rst-shift-region-right)
3260 (rst-shift-region-left, rst-use-char-classes)
3261 (rst-font-lock-keywords-function)
3262 (rst-font-lock-indentation-point)
3263 (rst-font-lock-find-unindented-line-begin)
3264 (rst-font-lock-find-unindented-line-end)
3265 (rst-font-lock-find-unindented-line)
3266 (rst-font-lock-adornment-point, rst-font-lock-level)
3267 (rst-adornment-level-alist): Remove functions and variables.
3268
3269 (rst-compare-adornments, rst-get-adornment-match)
3270 (rst-suggest-new-adornment, rst-get-adornments-around)
3271 (rst-adornment-complete-p, rst-get-next-adornment)
3272 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3273 (rst-straighten-adornments): Standardize function names to
3274 use "adornment" instead of "decoration". Correct callers.
3275 Similar standardizing in many places.
3276
3277 (rst-update-section, rst-adjust, rst-promote-region)
3278 (rst-enumerate-region, rst-bullet-list-region)
3279 (rst-repeat-last-character): Correct use of `interactive'.
3280
3281 (rst-classify-adornment, rst-find-all-adornments)
3282 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3283 (rst-find-leftmost-column, rst-repeat-last-character):
3284 Refactor functions.
3285
3286 (rst-find-title-line, rst-reset-section-caches)
3287 (rst-get-adornments-around, rst-adjust-adornment-work)
3288 (rst-arabic-to-roman, rst-roman-to-arabic)
3289 (rst-insert-list-pos, rst-insert-list-new-item)
3290 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3291 New functions.
3292
3293 (rst-all-sections, rst-section-hierarchy)
3294 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3295 New variables.
3296
3297 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3298 configuration instead of only buffer. Change where necessary.
3299
3300 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3301 (rst-shift-region, rst-adaptive-fill): New functions for
3302 indentation and filling.
3303
3304 (rst-comment-line-break, rst-comment-indent)
3305 (rst-comment-insert-comment, rst-comment-region)
3306 (rst-uncomment-region): New functions for handling comments.
3307
3308 (rst-compile): Quote shell arguments.
3309
3310 (rst-compile-pdf-preview, rst-compile-slides-preview):
3311 Delete temporary files after use.
3312
3313 2012-05-05 Glenn Morris <rgm@gnu.org>
3314
3315 * calendar/cal-html.el: Optionally include holidays in the output.
3316 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3317 (cal-html-holidays): New option.
3318 (cal-html-css-default): Add holiday entry.
3319 (holiday-in-range): Autoload it.
3320 (cal-html-htmlify-entry): Add optional class argument.
3321 (cal-html-htmlify-list): Add optional holidays argument.
3322 (cal-html-insert-agenda-days): Include holidays in the output.
3323 (cal-html-one-month): Maybe include holidays.
3324
3325 * calendar/holidays.el (holiday-in-range):
3326 Move here from cal-tex-list-holidays.
3327 * calendar/cal-tex.el (cal-tex-list-holidays):
3328 Make it an obsolete alias for holiday-in-range. Update all callers.
3329
3330 2012-05-05 Chong Yidong <cyd@gnu.org>
3331
3332 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3333 Nextstep.
3334
3335 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3336
3337 * files.el (file-auto-mode-skip): New var.
3338 (set-auto-mode-1): Use it.
3339
3340 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * repeat.el: Use lexical-binding.
3343 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3344 (repeat-undo-count): Remove.
3345 (repeat):
3346 * progmodes/octave-mod.el (octave-abbrev-start):
3347 * progmodes/f90.el (f90-abbrev-start):
3348 * face-remap.el (text-scale-adjust):
3349 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3350
3351 * emacs-lisp/pcase.el (pcase--let*): New function.
3352 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3353 a bit more.
3354 (pcase--split-pred): Be more clever about ruling out overlap between
3355 a predicate and some constant pattern.
3356 (pcase--q1): Use `null' instead of (eq foo nil).
3357
3358 * subr.el (setq-local, defvar-local): New macros.
3359 (kbd): Redefine as an alias.
3360 (with-selected-window): Leave unrelated frames alone.
3361 (set-temporary-overlay-map): New function.
3362
3363 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * subr.el (user-error): New function.
3366 * window.el (switch-to-buffer):
3367 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3368 (smerge-match-conflict):
3369 * simple.el (previous-matching-history-element)
3370 (next-matching-history-element, goto-history-element, undo-more)
3371 (undo-start):
3372 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3373 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3374 (next-file, tags-loop-scan, list-tags, complete-tag):
3375 * progmodes/compile.el (compilation-loop):
3376 * mouse.el (mouse-minibuffer-check):
3377 * man.el (Man-bgproc-sentinel, Man-goto-page):
3378 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3379 (Info-history-forward, Info-follow-reference, Info-menu)
3380 (Info-extract-menu-item, Info-extract-menu-counting)
3381 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3382 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3383 (Info-next-reference, Info-prev-reference, Info-index)
3384 (Info-index-next, Info-follow-nearest-node)
3385 (Info-copy-current-node-name):
3386 * imenu.el (imenu--make-index-alist)
3387 (imenu-default-create-index-function, imenu-add-to-menubar):
3388 * files.el (basic-save-buffer, recover-file):
3389 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3390 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3391 (checkdoc-message-text, checkdoc-defun):
3392 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3393 * cus-edit.el (customize-changed-options, customize-rogue)
3394 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3395 (custom-variable-mark-to-reset-standard)
3396 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3397 (custom-file):
3398 * completion.el (check-completion-length):
3399 * comint.el (comint-search-arg)
3400 (comint-previous-matching-input-string-position)
3401 (comint-previous-matching-input)
3402 (comint-replace-by-expanded-history-before-point, comint-send-input)
3403 (comint-copy-old-input, comint-backward-matching-input)
3404 (comint-goto-process-mark, comint-set-process-mark):
3405 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3406 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3407
3408 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3409
3410 * dabbrev.el (dabbrev--ignore-case-p): New function.
3411 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3412 Use it.
3413
3414 * files.el (automount-dir-prefix): Mark as obsolete.
3415
3416 2012-05-04 Glenn Morris <rgm@gnu.org>
3417
3418 * patcomp.el, play/bruce.el: Move to obsolete/.
3419
3420 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3421
3422 Fix minor Y10k bugs.
3423 * arc-mode.el (archive-unixdate):
3424 * autoinsert.el (auto-insert-alist):
3425 * calc/calc-forms.el (math-this-year):
3426 * emacs-lisp/copyright.el (copyright-current-year)
3427 (copyright-update-year, copyright):
3428 * tar-mode.el (tar-clip-time-string):
3429 * time.el (display-time-update):
3430 Don't assume years have 4 digits.
3431
3432 2012-05-04 Chong Yidong <cyd@gnu.org>
3433
3434 * dos-w32.el (file-name-buffer-file-type-alist)
3435 (direct-print-region-use-command-dot-com):
3436 * ffap.el (ffap-menu-regexp):
3437 * find-file.el (ff-special-constructs):
3438 * follow.el (follow-debug):
3439 * forms.el (forms--debug):
3440 * iswitchb.el (iswitchb-all-frames):
3441 * ido.el (ido-all-frames):
3442 * emacs-lisp/timer.el (timer-max-repeats):
3443 * mail/feedmail.el (feedmail-mail-send-hook)
3444 (feedmail-mail-send-hook-queued):
3445 * mail/footnote.el (footnote-signature-separator):
3446 * mail/mailabbrev.el (mail-alias-separator-string)
3447 (mail-abbrev-mode-regexp):
3448 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3449 * progmodes/idlwave.el (idlwave-libinfo-file)
3450 (idlwave-default-completion-case-is-down)
3451 (idlwave-library-routines): Convert defvars to defcustoms.
3452
3453 * mail/rmail.el (rmail-decode-mime-charset):
3454 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3455 (idlwave-shell-fix-inserted-breaks)
3456 (idlwave-shell-activate-alt-keybindings)
3457 (idlwave-shell-use-breakpoint-glyph):
3458 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3459
3460 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3463
3464 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3465
3466 * progmodes/verilog-mode.el (font-lock-keywords):
3467 Fix mis-highligting auto. Reported by Craig Barner.
3468 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3469 defines from global name space. Reported by Dan Dever.
3470 (verilog-auto-reset, verilog-auto-reset-widths)
3471 (verilog-auto-tieoff): Support using unbased numbers for
3472 AUTORESET and AUTOTIEOFF.
3473 (verilog-submit-bug-report): Update variable list.
3474 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3475 parenthesis from not matching. Reported by Michael Rytting.
3476 (verilog-auto-template-lint): Fix hash error when linting modules
3477 with no used templates.
3478 (verilog-warn, verilog-warn-error)
3479 (verilog-warn-fatal): When non-interactive report multiple
3480 warnings before exiting. Suggested by Brad Dobbie.
3481 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3482 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3483 to report unused template errors. Reported by Brad Dobbie.
3484 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3485 nets, bug438. Reported by Vns Blore.
3486 (verilog-auto-inout-module, verilog-auto-reg)
3487 (verilog-read-decls, verilog-read-sub-decls-sig)
3488 (verilog-signals-edit-wire-reg, verilog-signals-with):
3489 Fix passing of Verilog data types in ANSI input/output ports
3490 such as "output logic" into the AUTOs. Special case "wire" and
3491 "reg" for backwards compatibility presuming Verilog 2001.
3492 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3493 (verilog-preprocess): Fix replication of preprocess output.
3494 Reported by Brad Dobbie.
3495 (verilog-auto-inst-interfaced-ports):
3496 Create verilog-auto-inst-interfaced-ports, bug429.
3497 Reported by Julian Gorfajn.
3498 (verilog-after-save-font-hook)
3499 (verilog-before-save-font-hook): New variable.
3500 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3501 (verilog-save-font-mods): Wrap disabling fontification, reported
3502 by David Rogoff.
3503 (verilog-do-indent, verilog-pretty-declarations-auto)
3504 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3505 Reported by Pierre-David Pfister.
3506 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3507 of class declarations, bug292. Reported by Kevin Heilman.
3508 (verilog-read-decls): Fix 'parameter type' not appearing in
3509 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3510 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3511 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3512 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3513 Reported by David Kravitz.
3514
3515 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3516
3517 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3518 assignment with tests in ifs and for loops.
3519 (verilog-extended-complete-re, verilog-complete-reg): Change so
3520 that DPI inport functions don't look like fuction declarations.
3521 (verilog-pretty-expr): Don't line up assignment
3522 operations to the test and increment in if and for loops
3523 (verilog-extended-complete-re, verilog-complete-reg): Change so
3524 that DPI inport functions don't look like fuction declarations.
3525
3526 2012-05-03 Kenichi Handa <handa@m17n.org>
3527
3528 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3529 decoding, and show a warning message without signaling an error
3530 (Bug#11282).
3531
3532 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * emacs-lisp/bytecomp.el
3535 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3536 since cconv.el might have introduced :fun-body, internal-make-closure,
3537 and friends for bytecomp to handle (bug#11391).
3538 * custom.el (defcustom): Avoid ((λ ..) ..).
3539
3540 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3541
3542 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3543
3544 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3545
3546 * notifications.el (dbus-debug):
3547 * term/linux.el (gpm-mouse-enable):
3548 * term/screen.el (xterm-register-default-colors): Declare.
3549
3550 2012-05-02 Chong Yidong <cyd@gnu.org>
3551
3552 * cus-start.el (gc-cons-percentage, exec-suffixes)
3553 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3554 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3555 (make-cursor-line-fully-visible, void-text-area-pointer)
3556 (font-list-limit): Add customization data.
3557
3558 * allout.el (allout-exposure-change-functions)
3559 (allout-structure-added-functions)
3560 (allout-structure-deleted-functions)
3561 (allout-structure-shifted-functions): Rename abnormal hooks from
3562 *-hook, and convert to defcustoms.
3563 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3564 Convert to defcustoms.
3565 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3566
3567 * allout-widgets.el: Hook callers changed.
3568
3569 2012-05-02 Eli Zaretskii <eliz@gnu.org>
3570
3571 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3572 the yanked message in preference to the default value of
3573 buffer-file-coding-system.
3574
3575 2012-05-02 Martin Rudalics <rudalics@gmx.at>
3576
3577 * window.el (display-buffer--action-function-custom-type):
3578 Fix entry.
3579
3580 2012-05-02 Alan Mackenzie <acm@muc.de>
3581
3582 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3583
3584 2012-05-01 Glenn Morris <rgm@gnu.org>
3585
3586 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3587
3588 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3589
3590 * cus-edit.el (custom-variable-documentation): Simplify with format.
3591
3592 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3593 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * simple.el (suggest-key-bindings, execute-extended-command):
3596 Move from keyboard.c.
3597
3598 2012-05-01 Chong Yidong <cyd@gnu.org>
3599
3600 * follow.el: Eliminate advice.
3601 (set-process-filter, process-filter, sit-for): Advice deleted.
3602 (follow-mode-off-hook): Obsolete hook removed.
3603 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3604 Vars deleted.
3605 (follow-auto): Use a :set function.
3606 (follow-mode): Rewritten. Don't advise process filters.
3607 (follow-switch-to-current-buffer-all, follow-scroll-up)
3608 (follow-scroll-down): Assume follow-mode is bound.
3609 (follow-comint-scroll-to-bottom)
3610 (follow-align-compilation-windows): New functions.
3611 (follow--window-sorter): New function.
3612 (follow-all-followers): Use it to explicitly sort windows by their
3613 positions; don't make assumptions about next-window order.
3614 (follow-windows-start-end, follow-delete-other-windows-and-split)
3615 (follow-calc-win-start): Doc fix.
3616 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3617 vertical-motion unnecessarily.
3618 (follow-adjust-window): New function.
3619 (follow-post-command-hook): Use it.
3620 (follow-call-set-process-filter, follow-call-process-filter)
3621 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3622 (follow-stop-intercept-process-output, follow-generic-filter):
3623 Functions deleted.
3624 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3625 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3626 New functions, replacing advice on scroll-bar-* commands.
3627 (follow-mwheel-scroll): New function (Bug#4112).
3628
3629 * comint.el (comint-adjust-point): New function.
3630 (comint-postoutput-scroll-to-bottom): Use it.
3631 Call follow-comint-scroll-to-bottom for Follow mode buffers.
3632
3633 2012-05-01 Glenn Morris <rgm@gnu.org>
3634
3635 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3636 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3637 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3638 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3639 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3640 Remove no-byte-compile setting.
3641
3642 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3645 all-completions code to not return a number in the last cdr.
3646
3647 2012-04-30 Leo Liu <sdl.web@gmail.com>
3648
3649 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3650 read-only error.
3651
3652 2012-04-29 Chong Yidong <cyd@gnu.org>
3653
3654 * follow.el (follow-calc-win-end): Rewrite to handle partial
3655 screen lines correctly (Bug#8390).
3656 (follow-avoid-tail-recenter): Minor cleanup.
3657
3658 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 Avoid the obsolete `assoc' package.
3661 * speedbar.el (speedbar-refresh): Avoid adelete.
3662 (speedbar-file-lists): Simplify and avoid aput.
3663 * man.el (Man--sections, Man--refpages): New vars, replacing
3664 Man-sections-alist and Man-refpages-alist.
3665 (Man-build-section-alist, Man-build-references-alist):
3666 Use them; avoid aput.
3667 (Man--last-section, Man--last-refpage): New vars.
3668 (Man-follow-manual-reference): Use them.
3669 Use the `default' arg of completing-read.
3670 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3671
3672 2012-04-27 Chong Yidong <cyd@gnu.org>
3673
3674 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3675
3676 * startup.el (x-apply-session-resources): New function.
3677
3678 * term/ns-win.el (ns-initialize-window-system):
3679 * term/w32-win.el (w32-initialize-window-system):
3680 * term/x-win.el (x-initialize-window-system): Use it to properly
3681 set menu-bar-mode and other vars from X resources, even if the
3682 initial frame is not a window-system frame (Bug#2299).
3683
3684 * subr.el (read-key): Avoid running filter function when setting
3685 up temporary tool bar entries (Bug#9922).
3686
3687 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3688
3689 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3690 (Bug#11344)
3691
3692 2012-04-27 Chong Yidong <cyd@gnu.org>
3693
3694 * select.el (xselect--encode-string): New function, split from
3695 xselect-convert-to-string.
3696 (xselect-convert-to-string): Use it.
3697 (xselect-convert-to-filename, xselect-convert-to-os)
3698 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3699 returned strings are properly encoded (Bug#11315).
3700
3701 2012-04-27 Chong Yidong <cyd@gnu.org>
3702
3703 * simple.el (delete-active-region): Move to killing custom group.
3704
3705 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3706
3707 * progmodes/which-func.el (which-func-current): Quote %
3708 characters for mode-line processing.
3709
3710 2012-04-27 Chong Yidong <cyd@gnu.org>
3711
3712 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3713 reaching eob (Bug#11286).
3714
3715 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3716
3717 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3718 (gdb): Make it buffer-local and init to zero.
3719 (gdb-control-commands-regexp): New variable.
3720 (gdb-send): Don't wrap in "-interpreter-exec console" if
3721 gdb-control-level is positive. Increment gdb-control-level
3722 whenever the command matches gdb-control-commands-regexp, and
3723 decrement it each time the command is "end". (Bug#11279)
3724
3725 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3726
3727 * window.el (adjust-window-trailing-edge, enlarge-window)
3728 (shrink-window, window-resize):
3729 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3730 windows (Bug#11276).
3731
3732 2012-04-27 Chong Yidong <cyd@gnu.org>
3733
3734 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3735 fix "missing prefix" warning. All callers changed.
3736
3737 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * emacs-lisp/assoc.el: Move to obsolete/.
3740
3741 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3742
3743 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3744
3745 * term/ns-win.el (ns-define-service):
3746 * progmodes/pascal.el (pascal-goto-defun):
3747 * progmodes/js.el (js--read-tab):
3748 * progmodes/etags.el (tags-lazy-completion-table):
3749 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3750 * emacs-lisp/ewoc.el (ewoc--wrap):
3751 * emacs-lisp/assoc.el (aput, adelete, amake):
3752 * doc-view.el (doc-view-convert-current-doc):
3753 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3754
3755 2012-04-26 Chong Yidong <cyd@gnu.org>
3756
3757 * image.el (image-type-from-buffer): Only return supported image
3758 type (Bug#9045).
3759
3760 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3761 value, for symmetry with diff-end-of-hunk.
3762 (diff-split-hunk, diff-find-source-location)
3763 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3764 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3765 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3766 compute the relevant hunk or file properly (Bug#6005).
3767 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3768
3769 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * vc/vc-mtn.el:
3772 * vc/vc-hg.el:
3773 * vc/vc-git.el:
3774 * vc/vc-dir.el:
3775 * vc/vc-cvs.el:
3776 * vc/vc-bzr.el:
3777 * vc/vc-arch.el:
3778 * vc/vc.el: Replace lexical-let by lexical-binding.
3779 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3780 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3781 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3782
3783 2012-04-26 Chong Yidong <cyd@gnu.org>
3784
3785 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3786 (diff-mode-shared-map): Bind it to / and [remap undo].
3787
3788 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3789 (ediff-window-setup-function): Use it as the default, to set up
3790 windows based on whether the current frame is graphical (Bug#2138).
3791 (ediff-choose-window-setup-function-automatically): Make obsolete.
3792
3793 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3794
3795 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3796
3797 * ffap.el: Remove old code for obsolete package.
3798 (ffap-complete-as-file-p): Remove.
3799
3800 Use completion-table-with-quoting for comint and pcomplete.
3801 * comint.el (comint--unquote&requote-argument)
3802 (comint--unquote-argument, comint--requote-argument): New functions.
3803 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3804 (comint-quote-filename): Use regexp-opt-charset.
3805 (comint--common-suffix, comint--common-quoted-suffix)
3806 (comint--table-subvert): Remove.
3807 (comint-unquote-function, comint-requote-function): New vars.
3808 (comint--complete-file-name-data): Use them with
3809 completion-table-with-quoting.
3810 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3811 * pcomplete.el (pcomplete-arg-quote-list)
3812 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3813 (pcomplete-unquote-argument-function): Default to non-nil.
3814 (pcomplete-unquote-argument): Simplify.
3815 (pcomplete--common-quoted-suffix): Remove.
3816 (pcomplete-requote-argument-function): New var.
3817 (pcomplete--common-suffix): New function.
3818 (pcomplete-completions-at-point): Use completion-table-with-quoting
3819 and completion-table-subvert.
3820
3821 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3822 (minibuffer--double-dollars): Preserve properties.
3823 (completion--sifn-requote): New function.
3824 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3825
3826 * minibuffer.el: Add support for completion of quoted/escaped data.
3827 (completion-table-with-quoting, completion-table-subvert): New funs.
3828 (completion--twq-try, completion--twq-all): New functions.
3829 (completion--nth-completion): New function.
3830 (completion-try-completion, completion-all-completions): Use it.
3831
3832 2012-04-25 Leo Liu <sdl.web@gmail.com>
3833
3834 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3835 Use compilation-message if available to find real filename.
3836
3837 2012-04-25 Chong Yidong <cyd@gnu.org>
3838
3839 * vc/diff-mode.el (diff-setup-whitespace): New function.
3840 (diff-mode): Use it.
3841
3842 * vc/diff.el (diff-sentinel):
3843 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3844 Whitespace mode variables based on diff style (Bug#8612).
3845
3846 2012-04-25 Leo Liu <sdl.web@gmail.com>
3847
3848 * progmodes/python.el (python-send-region): Add suffix .py to the
3849 temp file.
3850
3851 * files.el (auto-mode-alist): Use javascript-mode instead.
3852
3853 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3854
3855 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
3856
3857 * net/soap-client.el (soap-resolve-references-for-sequence-type)
3858 (soap-resolve-references-for-array-type): Hack to prevent self
3859 references, see Bug#9.
3860 (soap-parse-envelope): Report the contents of the 'detail' node
3861 when receiving a fault reply.
3862 (soap-parse-envelope): Report the contents of the entire 'detail' node.
3863
3864 * net/soap-inspect.el (soap-sample-value-for-simple-type)
3865 (soap-inspect-simple-type): New function.
3866
3867 * net/soap-client.el (soap-simple-type): New struct.
3868 (soap-default-xsd-types, soap-default-soapenc-types)
3869 (soap-decode-basic-type, soap-encode-basic-type):
3870 support unsignedInt and double basic types.
3871 (soap-resolve-references-for-simple-type)
3872 (soap-parse-simple-type, soap-encode-simple-type): New function.
3873 (soap-parse-schema): Parse xsd:simpleType declarations.
3874
3875 * net/soap-client.el (soap-default-xsd-types)
3876 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3877 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3878 the local name of "soapenc:Array".
3879 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3880 decoding integer, byte and anyURI xsd types.
3881
3882 2012-04-25 Chong Yidong <cyd@gnu.org>
3883
3884 * cus-edit.el (custom-buffer-create-internal): Update header text.
3885
3886 2012-04-25 Eli Zaretskii <eliz@gnu.org>
3887
3888 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3889 settings on 'system-type', not on 'window-system'. On MS-Windows,
3890 set interactive-mode on in GDB.
3891
3892 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3895 (ruby-syntax-propertize-regexp): Remove.
3896 (ruby-syntax-propertize-function): Split regexp into chunks.
3897 Match following code directly.
3898
3899 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3900
3901 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3902 (ruby-syntax-propertize-regexp): New function.
3903 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3904 by a special keyword.
3905
3906 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3907 (ruby-syntax-general-delimiters-goto-beg)
3908 (ruby-syntax-propertize-general-delimiters): New functions.
3909 (ruby-syntax-propertize-function): Use them to handle GDL.
3910 (ruby-font-lock-keywords): Move old handling of GDL...
3911 (ruby-font-lock-syntactic-keywords): .. to here.
3912 (ruby-calculate-indent): Adjust indentation for GDL.
3913
3914 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
3915
3916 * notifications.el (top): Remove unneeded declarations.
3917 (notifications-specification-version): Change to "1.2".
3918 (notifications-interface, notifications-notify-method)
3919 (notifications-close-notification-method): Fix docstring.
3920 (notifications-get-capabilities-method): New defconst.
3921 (notifications-notify): Add :action-items, :resident and
3922 :transient hints. Change "image_data" to "image-data" and
3923 "image_path" to "image-path".
3924 (notifications-get-capabilities): New defun.
3925
3926 2012-04-24 Leo Liu <sdl.web@gmail.com>
3927
3928 * progmodes/python.el: Move hideshow setup to the end.
3929
3930 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3931
3932 * window.el (handle-select-window): Clear echo area since this is
3933 no more done by read_char (Bug#11304).
3934
3935 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3938 and `/ M' to filter-derived-mode.
3939 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3940 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3941 (ibuffer-mark-by-mode): Use default rather than initial-input.
3942 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3943
3944 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3945
3946 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3947 (ibuffer-filter-by-derived-mode): New filter.
3948 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3949
3950 2012-04-23 Andreas Politz <politza@fh-trier.de>
3951
3952 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3953
3954 2012-04-23 Chong Yidong <cyd@gnu.org>
3955
3956 * cus-edit.el (customize-apropos, customize-apropos-options):
3957 Disable matching of non-option variables (Bug#11176).
3958 (customize-option, customize-option-other-window)
3959 (customize-changed-options): Doc fix.
3960 (customize-apropos-options, customize-apropos-faces)
3961 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3962
3963 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3964 Fix word list splitting (Bug#11132).
3965 (apropos-symbol, apropos-keybinding, apropos-label)
3966 (apropos-property, apropos-function-button)
3967 (apropos-variable-button, apropos-misc-button): New faces.
3968 (apropos-symbol-face, apropos-keybinding-face)
3969 (apropos-label-face, apropos-property-face, apropos-match-face):
3970 Variables removed (Bug#8396).
3971 (apropos-library-button, apropos-format-plist, apropos-print)
3972 (apropos-print-doc, apropos-describe-plist): Callers changed.
3973
3974 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3975
3976 * net/xesam.el (xesam-mode-map): Use let-bound map in
3977 initialization. (Bug#11292)
3978
3979 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3980
3981 Preserve ispell session localwords when switching back to
3982 original buffer.
3983
3984 * textmodes/ispell.el (ispell-buffer-session-localwords):
3985 New buffer-local variable to hold buffer session localwords.
3986 (ispell-kill-ispell): Add option 'clear to delete session
3987 localwords.
3988 (ispell-command-loop, ispell-change-dictionary)
3989 (ispell-buffer-local-words): Preserve session localwords when
3990 needed.
3991
3992 * textmodes/flyspell.el (flyspell-process-localwords)
3993 (flyspell-do-correct): Preserve session localwords when needed.
3994
3995 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3996
3997 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3998 using obsolete `translation-table-for-input'.
3999 (ispell-word, ispell-process-line, ispell-complete-word):
4000 Use plain `insert' instead of removed `ispell-insert-word'.
4001
4002 2012-04-22 Chong Yidong <cyd@gnu.org>
4003
4004 * cus-edit.el (custom-variable-menu)
4005 (custom-variable-reset-saved, custom-face-menu)
4006 (custom-face-reset-saved): If there is no saved value, make the
4007 "reset-saved" operation bring back the default (Bug#9509).
4008 (custom-face-state): Properly detect themed faces.
4009
4010 * faces.el (face-spec-set): Stop supporting deprecated form of
4011 third arg.
4012
4013 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4014
4015 Move functions from C to Lisp. Make non-blocking method calls
4016 the default. Implement further D-Bus standard interfaces.
4017
4018 * net/dbus.el (dbus-message-internal): Declare function.
4019 Remove unneeded function declarations.
4020 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4021 (dbus-message-type-method-return, dbus-message-type-error)
4022 (dbus-message-type-signal): Declare variables. Remove local
4023 definitions.
4024 (dbus-interface-dbus, dbus-interface-peer)
4025 (dbus-interface-introspectable, dbus-interface-properties)
4026 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4027 Adapt docstring.
4028 (dbus-interface-objectmanager): New defconst.
4029 (dbus-call-method, dbus-call-method-asynchronously)
4030 (dbus-send-signal, dbus-method-return-internal)
4031 (dbus-method-error-internal, dbus-register-service)
4032 (dbus-register-signal, dbus-register-method): New defuns, moved
4033 from dbusbind.c
4034 (dbus-call-method-handler, dbus-setenv)
4035 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4036 New defuns.
4037 (dbus-call-method-non-blocking): Make it an obsolete function.
4038 (dbus-unregister-object, dbus-unregister-service)
4039 (dbus-handle-event, dbus-register-property)
4040 (dbus-property-handler): Obey the new structure of
4041 `bus-registered-objects'.
4042 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4043 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4044 Use `dbus-call-method'.
4045
4046 2012-04-22 Chong Yidong <cyd@gnu.org>
4047
4048 * cus-edit.el (custom-commands, custom-reset-menu)
4049 (Custom-reset-standard): Tweak labels.
4050 (custom-reset-button-menu): Change default to t.
4051 (custom-buffer-create-internal): For the custom-reset-button-menu
4052 case, put the revert button first.
4053 (custom-group-subtitle): New face.
4054 (custom-group-value-create): Align docstring to a specific column.
4055
4056 * wid-edit.el (widget-documentation-link-add): Don't handle
4057 indentation in this function.
4058 (widget-documentation-string-indent-to): New function.
4059 (widget-documentation-string-value-create): Use it.
4060
4061 * autorevert.el (auto-revert):
4062 * epg-config.el (epg):
4063 * ibuffer.el (ibuffer):
4064 * mpc.el (mpc):
4065 * ses.el (ses):
4066 * eshell/eshell.el (eshell):
4067 * net/ange-ftp.el (ange-ftp):
4068 * progmodes/ebnf2ps.el (postscript):
4069 * progmodes/flymake.el (flymake):
4070 * progmodes/prolog.el (prolog):
4071 * progmodes/verilog-mode.el (verilog-mode):
4072 * progmodes/which-func.el (which-func):
4073 * term/xterm.el (xterm):
4074 * textmodes/picture.el (picture):
4075 * textmodes/tildify.el (tildify):
4076 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4077 customization buffers.
4078
4079 2012-04-22 Alan Mackenzie <acm@muc.de>
4080
4081 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4082 Adding a ) can hide the resulting (..) from searches. Fix it.
4083 Bound the backward search to the position of the existing (.
4084
4085 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4086
4087 * progmodes/verilog-mode.el (verilog-mode): Check whether
4088 which-func-modes is t before adding verilog-mode.
4089 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4090
4091 2012-04-21 Leo Liu <sdl.web@gmail.com>
4092
4093 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4094
4095 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4096
4097 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4098 filling of the last column of a table (Bug#5635).
4099 (woman-find-next-control-line): New arg, specifying an additional
4100 regexp component for the control line.
4101 (woman2-roff-buffer): Use it.
4102 (woman-break-table): New function.
4103 (woman2-TS): Use it.
4104
4105 2012-04-21 Chong Yidong <cyd@gnu.org>
4106
4107 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4108 (woman-horizontal-escapes, woman-negative-vertical-space)
4109 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4110 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4111
4112 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * minibuffer.el (completion-file-name-table): Complete user names.
4115
4116 2012-04-20 Leo Liu <sdl.web@gmail.com>
4117
4118 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4119 and pcase-let*.
4120
4121 2012-04-20 Chong Yidong <cyd@gnu.org>
4122
4123 * server.el (server-execute): Respect initial-buffer-choice if it
4124 is a string and there are no files to open (Bug#2825).
4125 (server-create-window-system-frame, server-create-tty-frame):
4126 Don't switch buffers here.
4127 (server-process-filter): Only try to open a window system frame if
4128 compiled with graphical support (Bug#8314).
4129
4130 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4131
4132 * battery.el (battery-echo-area-format): Display remaining time
4133 for sysfs backend too (Bug#11269).
4134 (battery-linux-sysfs): Fix conditional for the charge.
4135
4136 2012-04-20 Chong Yidong <cyd@gnu.org>
4137
4138 * progmodes/gdb-mi.el (gdb): Revert previous change.
4139 (gdb-inferior-io--init-proc): New function.
4140 (gdb-init-1): Use it.
4141 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4142 responsible for allocating a new pty and hooking it to gdb when
4143 the old pty gets an EIO due to process exit.
4144 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4145 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4146 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4147
4148 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4149
4150 * window.el (window-min-size, window-sizable, window-min-delta)
4151 (window-max-delta, window--resizable, window-resizable)
4152 (window-total-size, window-full-height-p, window-full-width-p)
4153 (window-in-direction, window--resize-mini-window, window-resize)
4154 (window--resize-child-windows-normal)
4155 (window--resize-child-windows, window--resize-siblings)
4156 (window--resize-this-window, adjust-window-trailing-edge)
4157 (enlarge-window, shrink-window): Doc fixes.
4158
4159 2012-04-20 Chong Yidong <cyd@gnu.org>
4160
4161 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4162 New function to call delete-process on the gdb-inferior buffer's pty.
4163 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4164 pty process (Bug#11273).
4165 (gdb-update): New arg to suppress talking to the gdb process.
4166 (gdb-done-or-error): Use it.
4167 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4168 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4169 sentinel not being called.
4170
4171 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4172
4173 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4174
4175 2012-04-20 Glenn Morris <rgm@gnu.org>
4176
4177 * net/network-stream.el (open-network-stream): Doc fix.
4178
4179 2012-04-20 Chong Yidong <cyd@gnu.org>
4180
4181 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4182
4183 2012-04-20 Alan Mackenzie <acm@muc.de>
4184
4185 Ensure searching for keywords is case sensitive.
4186
4187 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4188 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4189 (c-defun-name, c-mark-function, c-cpp-define-name)
4190 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4191 (c-context-line-break): Bind case-fold-search to nil.
4192
4193 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4194 Bind case-fold-search to nil.
4195
4196 2012-04-20 Chong Yidong <cyd@gnu.org>
4197
4198 * mail/sendmail.el (mail-bury): Call return action with the right
4199 Rmail buffer (Bug#11242).
4200
4201 * server.el (server-process-filter): Handle corner case where both
4202 tty and nowait options are present (Bug#11102).
4203
4204 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4205
4206 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4207 (top level): Put into the executable the ident-style '$Id:' tag on
4208 windows-nt as well.
4209
4210 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4211
4212 * electric.el (electric-indent-post-self-insert-function): Check that
4213 electric-indent-mode is enabled in current buffer.
4214
4215 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4216
4217 * imenu.el (imenu-progress-message): Restore; it is "used" in
4218 erc/erc-imenu.el and net/snmp-mode.el.
4219
4220 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4221
4222 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4223 (mouse-avoidance-nudge-mouse): Remove unused binding.
4224
4225 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4226
4227 * descr-text.el (describe-char):
4228 * progmodes/python.el (python-describe-symbol):
4229 Don't call `toggle-read-only', set `buffer-read-only'.
4230
4231 * imenu.el (imenu-default-goto-function): Mark unused args.
4232 (imenu-progress-message): Remove obsolete macro; all callers changed.
4233
4234 * subr.el (keymap-canonicalize): Remove unused binding.
4235 (read-passwd): Mark unused arg.
4236
4237 * tutorial.el (tutorial--display-changes): Remove unused binding.
4238 (tutorial--save-tutorial-to): Remove unused variable.
4239
4240 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4241 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4242 (package-generate-autoloads, package-menu--generate)
4243 (package-menu--find-upgrades): Remove unused bindings.
4244
4245 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4246 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4247 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4248 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4249 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4250 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4251 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4252 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4253 (cua-delete-char-rectangle): Mark unused args.
4254 (cua-align-rectangle): Remove unused binding.
4255
4256 * mail/rmail.el (compilation--message->loc)
4257 (epa--find-coding-system-for-mime-charset): Declare.
4258
4259 * net/dbus.el (dbus-register-service): Declare.
4260 (dbus-name-owner-changed-handler): Remove unused binding.
4261
4262 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4263 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4264 (nxml-scan-backward-within): Mark unused arg.
4265 (nxml-dynamic-markup-word): Remove unused binding.
4266
4267 * mouse.el (mouse-menu-major-mode-map):
4268 * emacs-lisp/authors.el (authors-scan-change-log)
4269 (authors-add-to-author-list):
4270 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4271 * emacs-lisp/smie.el (smie-auto-fill):
4272 * mail/sendmail.el (mail-bury):
4273 * mail/unrmail.el (unrmail):
4274 * net/tls.el (open-tls-stream):
4275 * textmodes/picture.el (picture-mouse-set-point):
4276 Remove unused bindings.
4277
4278 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4279
4280 * net/tramp.el (tramp-action-password): Let-bind
4281 `enable-recursive-minibuffers' to t.
4282
4283 2012-04-18 Sam Steingold <sds@gnu.org>
4284
4285 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4286 instead of 'string to accommodate values like [f11].
4287 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4288 * progmodes/gdb-mi.el: Likewise.
4289
4290 2012-04-18 Leo Liu <sdl.web@gmail.com>
4291
4292 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4293 current buffer.
4294 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4295 LOCAL is nil.
4296
4297 2012-04-18 Chong Yidong <cyd@gnu.org>
4298
4299 * simple.el (line-move): Use forward-line if in batch mode
4300 (Bug#11053).
4301
4302 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4303
4304 * files.el (after-find-file): Do not try to add a final newline if
4305 the buffer is read-only (Bug#11156).
4306
4307 2012-04-17 Richard Stallman <rms@gnu.org>
4308
4309 * mail/rmail.el (rmail-start-mail):
4310 Pass (rmail-mail-return...) for the return-action.
4311 Pass (rmail-yank-current-message...) for the yank-action.
4312 (rmail-yank-current-message): New function.
4313 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4314 (rmail-reply): Likewise.
4315 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4316
4317 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4318 buffer, not the last. Reject temp buffers. Use the rmail-mode
4319 buffer, not newbuf.
4320
4321 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4322
4323 * server.el (server-ensure-safe-dir): Simplify.
4324
4325 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * emacs-lisp/smie.el: Provide smarter auto-filling.
4328 (smie-auto-fill): New function.
4329 (smie-setup): Use it.
4330
4331 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4332
4333 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4334
4335 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4336 (comment-indent): Use it.
4337
4338 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4339
4340 * ses.el: The overall change is to add cell renaming, that is
4341 setting fancy names for cell symbols other than name matching
4342 "\\`[A-Z]+[0-9]+\\'" regexp .
4343 (ses-localvars): Add ses--renamed-cell-symb-list.
4344 (ses-create-cell-variable): New defun.
4345 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4346 (ses-relocate-formula): Relocate formulas only for cells the
4347 symbols of which are not renamed, i.e. symbols whose names do not
4348 match regexp "\\`[A-Z]+[0-9]+\\'".
4349 (ses-relocate-all): Relocate values only for cells the symbols of
4350 which are not renamed.
4351 (ses-load): Create cells variables as the (ses-cell ...) are read,
4352 in order to check row col consistency with cell symbol name only
4353 for cells that are not renamed.
4354 (ses-replace-name-in-formula): New defun.
4355 (ses-rename-cell): New defun.
4356
4357 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4358
4359 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4360 New option (bug#11118).
4361 (perl-calculate-indent): Respect it.
4362
4363 2012-04-17 Glenn Morris <rgm@gnu.org>
4364
4365 * dired-aux.el (dired-mark-read-string): Doc fix.
4366
4367 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4368
4369 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4370 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4371
4372 2012-04-17 Glenn Morris <rgm@gnu.org>
4373
4374 * mouse.el (mouse-drag-track):
4375 * speedbar.el (speedbar-frame-mode):
4376 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4377
4378 2012-04-16 Leo Liu <sdl.web@gmail.com>
4379
4380 * progmodes/python.el: Trivial cleanup.
4381
4382 2012-04-16 Glenn Morris <rgm@gnu.org>
4383
4384 * vc/vc.el (vc-string-prefix-p):
4385 * vc/pcvs-util.el (cvs-string-prefix-p):
4386 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4387 * mpc.el (mpc-string-prefix-p):
4388 Make all of these into obsolete aliases for string-prefix-p.
4389 Update callers.
4390 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4391
4392 * textmodes/two-column.el: Move custom options to the start.
4393 (frame-width): Remove compat definition.
4394 (2C-associate-buffer, 2C-dissociate):
4395 Use with-current-buffer rather than save-excursion.
4396 (2C-dissociate): Force a mode-line update.
4397 (2C-autoscroll): Use ignore-errors.
4398
4399 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4400 Autoload trivia.
4401
4402 * emacs-lisp/cl-extra.el (*random-state*):
4403 Remove unnecessary declaration.
4404
4405 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4406
4407 * play/cookie1.el (cookie-snarf):
4408 Give an explicit error if input file cannot be read.
4409
4410 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4411
4412 * progmodes/perl-mode.el (c-macro-expand):
4413 Remove unnecessary autoload (it is in loaddefs.el).
4414
4415 * textmodes/picture.el (picture-desired-column)
4416 (picture-update-desired-column): Convert comments to doc-strings.
4417 (picture-substitute): Remove function.
4418 (picture-mode-map): Initialize in the defvar.
4419
4420 * woman.el: Remove eval-after-load for tar-mode.
4421 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4422 (woman-tar-extract-file): Autoload it.
4423
4424 * frame.el (automatic-hscrolling): Make this alias obsolete.
4425
4426 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4427
4428 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4429 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4430 (ispell-dictionary-base-alist): Revert to original XEmacs
4431 friendly version for default. [:alpha:] will be added in
4432 `ispell-set-spellchecker-params' if needed.
4433
4434 2012-04-16 Chong Yidong <cyd@gnu.org>
4435
4436 * image.el (imagemagick--file-regexp): New variable.
4437 (imagemagick-register-types): Use it.
4438 (imagemagick-types-inhibit): Add :set function. Allow new value
4439 of t to inhibit all types.
4440
4441 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4442 so we can preload it.
4443
4444 * loadup.el (fboundp): Preload regexp-opt, needed by
4445 imagemagick-register-types.
4446
4447 2012-04-15 Chong Yidong <cyd@gnu.org>
4448
4449 * frame.el (scrolling): Remove nearly unused customization group.
4450
4451 * scroll-all.el (scroll-all-mode): Move to windows group.
4452
4453 2012-04-15 Chong Yidong <cyd@gnu.org>
4454
4455 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4456
4457 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4460 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4461
4462 2012-04-15 Glenn Morris <rgm@gnu.org>
4463
4464 * simple.el (process-file-side-effects): Doc fix.
4465
4466 2012-04-15 Glenn Morris <rgm@gnu.org>
4467
4468 * international/mule-cmds.el (set-language-environment): Doc fix.
4469
4470 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4471
4472 * server.el (server-auth-key, server-generate-key): Doc fixes.
4473 (server-get-auth-key): Doc fix. Use `string-match-p'.
4474 (server-start): Reflow docstring.
4475
4476 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4477
4478 * server.el (server-generate-key): `called-interactively-p'
4479 requires a parameter.
4480
4481 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4482
4483 * server.el (server-auth-key): New variable.
4484 (server-generate-key, server-get-auth-key): New function.
4485 (server-start): Use the new variable and functions to allow
4486 setting a permanent server key (bug#9423).
4487
4488 2012-04-14 Leo Liu <sdl.web@gmail.com>
4489
4490 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4491
4492 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4493
4494 Spelling fixes.
4495 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4496 Emacs uses American spelling.
4497
4498 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4501 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4502 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4503 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4504
4505 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * progmodes/which-func.el (which-func-modes): Change default.
4508
4509 2012-04-14 Kim F. Storm <storm@cua.dk>
4510
4511 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4512 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4513
4514 2012-04-14 Chong Yidong <cyd@gnu.org>
4515
4516 * custom.el (custom-theme-set-variables): Doc fix.
4517
4518 2012-04-14 Glenn Morris <rgm@gnu.org>
4519
4520 * international/mule.el (set-auto-coding-for-load): Doc fix.
4521
4522 2012-04-14 Alan Mackenzie <acm@muc.de>
4523
4524 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4525 imenu work again for Objective C Mode. Correct the *-index values,
4526 these having been disturbed by a previous change in 2011-08.
4527
4528 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4529 Correct two search limits.
4530
4531 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4532
4533 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4534
4535 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4536
4537 * international/characters.el: Fix sorting.
4538
4539 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4540
4541 * international/characters.el: Add more missing Latin case pairs.
4542
4543 2012-04-14 Glenn Morris <rgm@gnu.org>
4544
4545 * files.el (dir-locals-set-class-variables): Doc fix.
4546
4547 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4548
4549 * international/characters.el: Add set-case-syntax-pair call for
4550 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4551 counterpart. (Bug#11209)
4552
4553 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4554
4555 2012-04-14 Glenn Morris <rgm@gnu.org>
4556
4557 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4558
4559 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4560
4561 * textmodes/ispell.el (ispell-dictionary-base-alist):
4562 Add data for Hebrew.
4563
4564 2012-04-14 Chong Yidong <cyd@gnu.org>
4565
4566 * net/rcirc.el (rcirc-cmd-quit):
4567 Revert 2012-03-18 change (Bug#11192).
4568
4569 2012-04-14 Glenn Morris <rgm@gnu.org>
4570
4571 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4572
4573 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4574
4575 * minibuffer.el (completion-in-region-mode-map):
4576 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
4577
4578 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4579
4580 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4581
4582 2012-04-13 Masatake YAMATO <yamato@redhat.com>
4583
4584 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4585 to allow `C-M-f' and `C-M-b' to move to the nearest path
4586 separator (bug#9511).
4587
4588 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4589
4590 * avoid.el: Require cl when compiling. And also move the
4591 `provide' to the end.
4592
4593 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4594
4595 * avoid.el (mouse-avoidance-banish-position): New variable.
4596 (mouse-avoidance-banish-destination): Use it (bug#10165).
4597
4598 2012-04-13 Leo Liu <sdl.web@gmail.com>
4599
4600 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4601
4602 2012-04-13 Ken Brown <kbrown@cornell.edu>
4603
4604 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4605 this is no longer needed now that cygstart understands file:// URLs.
4606 (browse-url-filename-alist): For the same reason, don't modify
4607 file:// URLs on Cygwin.
4608
4609 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4612 the region on shift if the binding is already shifted (bug#11221).
4613
4614 2012-04-12 Glenn Morris <rgm@gnu.org>
4615
4616 * mail/mailpost.el: Move to obsolete/.
4617
4618 2012-04-12 Drew Adams <drew.adams@oracle.com>
4619
4620 * imenu.el (imenu--generic-function): Ignore invisible definitions
4621 (bug#10123).
4622
4623 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4624
4625 * hexl.el (hexl-bits): New variable.
4626 (hexl-options): Mention the variable in the doc string.
4627 (hexl-rulerise, hexl-line-displen): New functions.
4628 (hexl-mode): Mention the new variable.
4629 (hexl-mode, hexl-current-address, hexl-current-address):
4630 Use the displen.
4631 (hexl-ascii-start-column): New function.
4632 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4633 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4634
4635 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4636
4637 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4638 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4639 the encoding, as expected by hunspell.
4640
4641 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * battery.el (battery--linux-sysfs-regexp): New const.
4644 (battery-status-function): Use it. Remove yeeloong special case.
4645 (battery-yeeloong-sysfs): Remove.
4646 (battery-echo-area-format): Remove yeeloong special case.
4647
4648 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4651 Reported by Noah Friedman.
4652
4653 * subr.el (read-passwd): Use read-string.
4654
4655 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4656
4657 * vcursor.el (vcursor-move): Increase the priority of the overlay
4658 (bug#9663).
4659
4660 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4661
4662 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4663 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4664
4665 2012-04-11 William Stevenson <yhvh2000@gmail.com>
4666
4667 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4668 define-minor-mode (bug#10760).
4669
4670 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4671
4672 * progmodes/grep.el (rgrep): Tweak the find command line so
4673 that directories matching `grep-find-ignored-files' won't be
4674 pruned (bug#10351).
4675
4676 2012-04-11 Chong Yidong <cyd@gnu.org>
4677
4678 * startup.el (command-line): Remove support for long-obsolete
4679 variable font-lock-face-attributes.
4680
4681 2012-04-11 Glenn Morris <rgm@gnu.org>
4682
4683 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4684
4685 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * window.el (window--state-get-1): Obey window-point-insertion-type.
4688
4689 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4690
4691 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4692 to previous function when point is on the first character of a
4693 function. Take care of that in `narrow-to-defun' (bug#6157).
4694
4695 2012-04-11 Glenn Morris <rgm@gnu.org>
4696
4697 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4698 not just file-errors.
4699
4700 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4701 (vc-bzr-sha1): Use internal sha1.
4702
4703 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4704
4705 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4706
4707 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4708
4709 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4710 that start in the middle of the line (bug#10496).
4711
4712 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4713
4714 * battery.el (battery-linux-proc-acpi): Only one battery is
4715 discharged at a time, but that seems to confuse battery.el when
4716 computing `rate-type' for the battery not being discharged
4717 (bug#10332).
4718
4719 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4722
4723 * international/quail.el: Use dolist and simplify.
4724 (quail-define-package, quail-update-keyboard-layout)
4725 (quail-define-rules): Use dolist.
4726 (quail-insert-kbd-layout, quail-get-translation): CSE.
4727
4728 * tmm.el: Use dolist, remove left over hook.
4729 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4730 Use dolist.
4731 (calendar-load-hook): Don't mess with it.
4732
4733 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4734 Use derived-mode-p. Run the diff asynchronously.
4735
4736 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4737
4738 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4739
4740 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4741
4742 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4743 (list-dynamic-libraries--loaded): New function.
4744 (list-dynamic-libraries--refresh): Use it.
4745
4746 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4747
4748 * progmodes/python.el (python-fill-paragraph):
4749 Make python-fill-region in a multiline string work when font-lock is
4750 disabled (bug#7018).
4751
4752 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4753
4754 * language/european.el (cp775): Add oem/legacy (en)coding on
4755 DOS/MS Windows for the Baltic languages. There are still plenty
4756 of texts written in this encoding/codepage (bug#6519).
4757
4758 2012-04-10 Glenn Morris <rgm@gnu.org>
4759
4760 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4761 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4762
4763 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4764
4765 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4766 next-line "n" and previous-line "p" in order to make recentf more
4767 consistent with ibuffer, dired or org-mode (bug#9387).
4768
4769 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4770
4771 * image.el (put-image): Return the overlay created instead of the
4772 optional input string (bug#7834). Note that this may break code
4773 that is (for some reason or other) depending on `put-image'
4774 returning the string.
4775
4776 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4777
4778 * simple.el (zap-to-char): Allow zapping using input methods
4779 (bug#1580).
4780
4781 * textmodes/fill.el (fill-region): Leave point and mark where they
4782 were before filling (bug#5399).
4783
4784 2012-04-09 Glenn Morris <rgm@gnu.org>
4785
4786 * version.el (emacs-bzr-get-version):
4787 Handle lightweight checkouts of local branches.
4788
4789 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4790
4791 * international/characters.el: Recover lost case pairs. (Bug#11209)
4792
4793 2012-04-09 Chong Yidong <cyd@gnu.org>
4794
4795 * custom.el (custom-variable-p): Return nil for non-symbol
4796 arguments instead of signaling an error.
4797 (user-variable-p): Obsolete alias for custom-variable-p.
4798
4799 * apropos.el (apropos-variable):
4800 * files-x.el (read-file-local-variable):
4801 * simple.el (set-variable):
4802 * woman.el (woman-mini-help):
4803 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4804
4805 2012-04-09 Glenn Morris <rgm@gnu.org>
4806
4807 * startup.el (normal-top-level): Don't look for leim-list.el
4808 in places where it will not be found. (Bug#910)
4809
4810 * international/mule-cmds.el (set-default-coding-systems):
4811 * files.el (normal-mode):
4812 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4813 This function was removed with ucs-tables.el in 2008.
4814
4815 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4816
4817 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4818 ispell-encoding8-command to "-i", without a trailing space.
4819 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4820 separate command-line arguments, to specify the encoding, since
4821 that's how hunspell expects it.
4822
4823 2012-04-08 Glenn Morris <rgm@gnu.org>
4824
4825 * loadup.el: Load bindings before cus-start.
4826 This reduces somewhat the number of "rogue" settings in emacs -Q.
4827
4828 2012-04-07 Glenn Morris <rgm@gnu.org>
4829
4830 * version.el (emacs-bzr-get-version): New function.
4831 (emacs-bzr-version): New variable.
4832 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4833 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4834
4835 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4836
4837 * international/uni-bidi.el, international/uni-category.el:
4838 * international/uni-combining.el, international/uni-decimal.el:
4839 * international/uni-decomposition.el, international/uni-digit.el:
4840 * international/uni-lowercase.el, international/uni-mirrored.el:
4841 * international/uni-name.el, international/uni-numeric.el:
4842 * international/uni-titlecase.el, international/uni-uppercase.el:
4843 Update for Unicode 6.1.
4844
4845 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4846
4847 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4848
4849 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4850
4851 * window.el (shrink-window): Mention the `window-min-height'
4852 variable in the doc string.
4853
4854 2012-04-05 Bastien Guerry <bzg@altern.org>
4855
4856 * color.el (color-lighten-name): Fix typo.
4857
4858 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * server.el (server--on-display-p): New function.
4861 (server--on-display-p): Use it.
4862
4863 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4864
4865 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4866 (bug#11145).
4867
4868 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4869
4870 * comint.el (comint--common-quoted-suffix): Check string boundary
4871 before comparing (bug#11158).
4872 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4873
4874 2012-04-04 Chong Yidong <cyd@gnu.org>
4875
4876 * minibuffer.el (completion-extra-properties): Doc fix.
4877
4878 * subr.el (delayed-warnings-hook): Doc fix.
4879
4880 2012-04-04 Daiki Ueno <ueno@unixuser.org>
4881
4882 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4883 selection (Bug#11159).
4884 (epa-insert-keys): Inform that the default public key will be
4885 exported if no key is selected.
4886
4887 2012-04-04 Richard Stallman <rms@gnu.org>
4888
4889 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4890
4891 2012-04-03 Chong Yidong <cyd@gnu.org>
4892
4893 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4894 mail-insert-file, not its obsolete alias mail-attach-file.
4895
4896 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
4897
4898 * notifications.el (notifications-notify): Fix docstring.
4899
4900 2012-04-02 Glenn Morris <rgm@gnu.org>
4901
4902 * emacs-lisp/authors.el (authors-aliases): Another addition.
4903
4904 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
4905
4906 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4907 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4908 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4909
4910 2012-04-01 Chong Yidong <cyd@gnu.org>
4911
4912 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4913 Handle root directory properly.
4914 (copy-directory): Caller changed.
4915
4916 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4917 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4918
4919 2012-03-31 Glenn Morris <rgm@gnu.org>
4920
4921 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4922
4923 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4924
4925 * calendar/calendar.el (calendar-window-list)
4926 (calendar-hide-window): Restore. (Bug#11140)
4927 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4928
4929 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4930
4931 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4932
4933 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4934 Check if file is a symlink (Bug#10489).
4935
4936 * files.el (copy-directory): Likewise.
4937
4938 2012-03-30 Chong Yidong <cyd@gnu.org>
4939
4940 * image.el (imagemagick-types-inhibit)
4941 (imagemagick-register-types): Doc fix.
4942
4943 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4944
4945 * textmodes/ispell.el (ispell-get-extended-character-mode):
4946 Disable extended-char-mode for hunspell. hunspell does not support it
4947 and treats ~word as ordinary words in pipe mode.
4948
4949 2012-03-30 Glenn Morris <rgm@gnu.org>
4950
4951 * tutorial.el (help-with-tutorial): Ensure local variables don't
4952 happen to make the buffer read-only. (Bug#11127)
4953
4954 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4957 (perl-calculate-indent): Return `noindent' in strings.
4958
4959 2012-03-28 Sam Steingold <sds@gnu.org>
4960
4961 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4962 instead of the broken adhockery which does not prevent calendar
4963 buffers from being displayed at random after exit.
4964 (calendar-window-list, calendar-hide-window): Remove the broken
4965 adhockery.
4966
4967 2012-03-28 Glenn Morris <rgm@gnu.org>
4968
4969 * replace.el (query-replace-map): Doc fix.
4970
4971 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4972
4973 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4974 contents. (Bug#11109)
4975
4976 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4979 (bug#11077).
4980 (avl-tree--check, avl-tree--check-node): New funs.
4981
4982 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4983
4984 * window.el (switch-to-visible-buffer): New option.
4985 (switch-to-prev-buffer, switch-to-next-buffer):
4986 Observe switch-to-visible-buffer. Make sure that checking for a window
4987 showing a buffer already is done on the same frame.
4988
4989 2012-03-27 Glenn Morris <rgm@gnu.org>
4990
4991 * startup.el (mail-host-address): Doc fix.
4992
4993 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4996 than 197 variables.
4997
4998 2012-03-26 Ami Fischman <ami@fischman.org>
4999
5000 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5001
5002 2012-03-26 Glenn Morris <rgm@gnu.org>
5003
5004 * files.el (save-buffers-kill-emacs): Doc fix.
5005
5006 * startup.el (normal-top-level, command-line, command-line-1):
5007 Give them doc strings.
5008
5009 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5010
5011 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5012 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5013
5014 2012-03-25 Chong Yidong <cyd@gnu.org>
5015
5016 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5017 theme if it was previously enabled before (Bug#11031).
5018
5019 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5020 spec with custom-face-get-current-spec if its :shown-value is not
5021 determined yet (Bug#9337).
5022 (customize-create-theme, custom-theme-revert): Doc fixes.
5023
5024 * button.el (button-at): Minor addition to docstring.
5025
5026 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5027
5028 * vc/vc.el (vc-merge): Fix a prompt.
5029
5030 2012-03-24 Chong Yidong <cyd@gnu.org>
5031
5032 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5033 point (Bug#9623).
5034
5035 * button.el (button-at): Minor addition to docstring.
5036
5037 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * newcomment.el (comment-choose-indent): No space after BOL.
5040
5041 2012-03-22 Sam Steingold <sds@gnu.org>
5042
5043 * window.el (switch-to-prev-buffer): Revert last patch because the
5044 bug turned out to be an advertised feature (Elisp manual 28.14).
5045
5046 2012-03-22 Glenn Morris <rgm@gnu.org>
5047
5048 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5049 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5050
5051 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5052
5053 * net/network-stream.el (network-stream-open-starttls): Make error
5054 message under Windows be less misleading.
5055
5056 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5057
5058 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5059 understands (bug#9942).
5060
5061 2012-03-22 Chong Yidong <cyd@gnu.org>
5062
5063 * simple.el (end-of-visible-line): Handle return value of
5064 next-single-property-change properly (Bug#9371).
5065
5066 2012-03-22 Kenichi Handa <handa@m17n.org>
5067
5068 * international/quail.el (quail-insert-kbd-layout): Fix previous
5069 change. To avoid unwanted bidi reordering, use
5070 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5071
5072 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5073
5074 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5075 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5076 (ruby-beginning-of-indent): Be more careful with the difference
5077 between word-boundary and symbol boundary.
5078 (ruby-mode-syntax-table): Make : a symbol constituent.
5079
5080 2012-03-21 Andreas Politz <politza@fh-trier.de>
5081
5082 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5083
5084 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * progmodes/etags.el (tags-completion-at-point-function):
5087 Improve last fix.
5088
5089 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5090
5091 2012-03-21 Sam Steingold <sds@gnu.org>
5092
5093 * progmodes/etags.el (tags-completion-at-point-function):
5094 Avoid the error when point is inside the pattern.
5095
5096 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5097
5098 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5099 line (Bug#10855).
5100
5101 2012-03-21 Drew Adams <drew.adams@oracle.com>
5102
5103 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5104
5105 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5106
5107 * ido.el (ido-set-current-directory, ido-read-internal)
5108 (ido-choose-completion-string, ido-completion-help): Handle nil
5109 value of ido-completion-buffer (Bug#11008).
5110
5111 2012-03-21 Sam Steingold <sds@gnu.org>
5112
5113 * window.el (switch-to-prev-buffer): Do not switch to a visible
5114 window previous buffer, just like with the frame previous buffers.
5115
5116 2012-03-21 Chong Yidong <cyd@gnu.org>
5117
5118 * faces.el (make-face, make-empty-face, copy-face):
5119 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5120 Doc fixes.
5121
5122 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5125 (widget-complete): Remove broken use of it.
5126
5127 2012-03-20 Chong Yidong <cyd@gnu.org>
5128
5129 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5130 Use string-width and truncate-string-width to handle arbitrary
5131 characters.
5132
5133 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5134
5135 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5136 to draw rectangles, not squares. (Regression introduced by revno
5137 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5138
5139 2012-03-18 Chong Yidong <cyd@gnu.org>
5140
5141 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5142 it is not yet defined (for temacs).
5143
5144 2012-03-18 Leo Liu <sdl.web@gmail.com>
5145
5146 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5147
5148 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5149
5150 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5151 (ispell-choices-win-default-height, ispell-silently-savep)
5152 (ispell-dictionary-alist, ispell-encoding8-command)
5153 (ispell-check-version, ispell-aspell-find-dictionary)
5154 (ispell-valid-dictionary-list, ispell-words-keyword)
5155 (ispell-get-word, ispell-internal-change-dictionary)
5156 (ispell-region, ispell-skip-region-list)
5157 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5158 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5159 (ispell-message-text-end, ispell-message)
5160 (ispell-buffer-local-parsing): Doc fix.
5161
5162 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5163
5164 * htmlfontify.el: Add support for code block fontification for ODT
5165 export (Bug #9914).
5166 (hfy-optimisations): Define new option
5167 `body-text-only'
5168 (hfy-fontify-buffer): Honor above setting.
5169 (hfy-begin-span, hfy-end-span): New routines factored out form
5170 `hfy-fontify-buffer'.
5171 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5172 that permit insertion of custom tags.
5173 (hfy-fontify-buffer): Use above handlers.
5174 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5175 (hfy-face-to-css): Re-defined to be a variable.
5176 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5177 over multiple runs. This is made possible by having the caller let
5178 bind a special variable `hfy-user-sheet-assoc'.
5179 (htmlfontify-string): New defun.
5180 (hfy-compile-face-map): Make sure that the last char in the
5181 buffer is correctly fontified.
5182 (hfy-face-resolve-face): Whitespace only change.
5183
5184 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5185
5186 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5187 message more clear.
5188
5189 2012-03-16 Leo Liu <sdl.web@gmail.com>
5190
5191 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5192
5193 2012-03-16 Alan Mackenzie <acm@muc.de>
5194
5195 Further optimise the handling of large macros.
5196
5197 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5198 limit to a call of `c-literal-limits'.
5199 (c-determine-+ve-limit): New function.
5200 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5201 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5202 In CASE 5B, restrict a search limit to 500.
5203 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5204
5205 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5206 Restrict macro bounds to +-500 from after-change's BEG END.
5207
5208 2012-03-16 Leo Liu <sdl.web@gmail.com>
5209
5210 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5211
5212 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5213
5214 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5215 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5216
5217 2012-03-16 Glenn Morris <rgm@gnu.org>
5218
5219 * view.el (view-buffer, view-buffer-other-window)
5220 (view-buffer-other-frame): Doc fixes re special mode-class.
5221
5222 * subr.el (eval-after-load): If named feature is provided not from
5223 a file, run after-load forms. (Bug#10946)
5224
5225 * calendar/calendar.el (calendar-insert-at-column):
5226 Handle non-unit-width characters a bit better. (Bug#10978)
5227
5228 2012-03-15 Chong Yidong <cyd@gnu.org>
5229
5230 * emacs-lisp/ring.el (ring-extend): New function.
5231 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5232
5233 * comint.el (comint-read-input-ring)
5234 (comint-add-to-input-history): Grow comint-input-ring lazily.
5235
5236 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5237
5238 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5239 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5240
5241 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5242 (imenu-add-to-menubar): Don't add a redundant index.
5243 (imenu-update-menubar): Handle a dynamically composed keymap.
5244
5245 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5246
5247 * mail/sendmail.el (mail-encode-header):
5248 Bind rfc2047-encode-encoded-words to nil.
5249
5250 2012-03-13 Glenn Morris <rgm@gnu.org>
5251
5252 * calendar/calendar.el (calendar-string-spread):
5253 Handle non-unit-width characters a bit better. (Bug#10978)
5254
5255 2012-03-13 Leo Liu <sdl.web@gmail.com>
5256
5257 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5258 directory and file as argument (Bug#10822).
5259
5260 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5261
5262 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5263 For dynamically generated code, follow $PC.
5264 (gdb-disassembly-handler-custom): Handle no function name case.
5265
5266 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5267
5268 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5269 * emulation/ws-mode.el (ws-query-replace):
5270 * sort.el (sort-regexp-fields):
5271 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5272
5273 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * dabbrev.el: Fix cycle completion order (bug#10963).
5276 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5277 (dabbrev-completion): Don't use an obarray; provide
5278 a cycle-sort-function.
5279
5280 2012-03-12 Leo Liu <sdl.web@gmail.com>
5281
5282 * simple.el (kill-new): Use equal-including-properties for comparison.
5283 (kill-do-not-save-duplicates): Doc fix.
5284
5285 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * dabbrev.el: Fix cycle completion (bug#10963).
5288 Use lexical binding and wrap to 80 columns.
5289 (dabbrev-completion): Delay computing the list of completions.
5290
5291 2012-03-12 Kenichi Handa <handa@m17n.org>
5292
5293 * international/quail.el (quail-insert-kbd-layout): Surround each
5294 row by LRO and PDF instead of inserting many LRMs. Pad the left
5295 and right of each non-spacing marks. Insert invisible space
5296 between lower and upper characters to prevent composition.
5297
5298 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5299
5300 * minibuffer.el (minibuffer-complete): Don't get confused when the
5301 function is run twice via different commands (bug#10958).
5302 (complete-with-action): Fix docstring.
5303
5304 2012-03-12 Chong Yidong <cyd@gnu.org>
5305
5306 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5307 (nxml-completion-at-point-function): New function.
5308 (nxml-mode): Use it.
5309 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5310
5311 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5312 Load generated autoloads file before byte compiling (Bug#10970).
5313 (package--make-autoloads-and-compile): New helper fun.
5314
5315 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5316
5317 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5318
5319 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5320
5321 * autorevert.el (auto-revert-handler): Ensure, that
5322 file-readable-p is applied only for local files or in
5323 auto-revert-tail-mode.
5324
5325 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5326
5327 * server.el (server-eval-at): Handle non-tcp connections.
5328 Decode result string.
5329
5330 * server.el (server-msg-size): New constant.
5331 (server-reply-print): New function.
5332 (server-eval-and-print): Use it.
5333 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5334 Handle -print-nonl.
5335
5336 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5337
5338 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5339 (Bug#10987).
5340
5341 2012-03-11 Chong Yidong <cyd@gnu.org>
5342
5343 * simple.el (goto-line): Doc fix (Bug#9938).
5344
5345 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5346
5347 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5348 when finished (Bug#10963).
5349
5350 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5351
5352 * window.el (split-window-below): Fix bug in case where
5353 split-window-keep-point is nil (Bug#10971).
5354
5355 2012-03-11 Juri Linkov <juri@jurta.org>
5356
5357 * replace.el (replace-highlight): Set isearch-word to nil
5358 unconditionally. (Bug#10887)
5359
5360 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5361
5362 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5363 mairix-replace-illegal-chars; all callers changed. Don't remove
5364 ^, ~, and = characters: they are meaningful in mairix search specs.
5365 (mairix-widget-create-query): Add usage information about mairix
5366 search forms: negating words, searching for substrings, etc.
5367
5368 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5369
5370 * international/fontset.el (font-encoding-alist): Add an entry for
5371 ksx1001 (Bug#5667).
5372
5373 2012-03-10 Richard Stallman <rms@gnu.org>
5374
5375 * mail/sendmail.el (mail-encode-header):
5376 Set rfc2047-encode-encoded-words.
5377
5378 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5379
5380 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5381 view buffer means not swapped.
5382 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5383 (rmail-write-region-annotate): Error if real text has disappeared.
5384
5385 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5386
5387 2012-03-10 Chong Yidong <cyd@gnu.org>
5388
5389 * emulation/cua-rect.el (cua--init-rectangles):
5390 * emulation/cua-base.el (cua--init-keymaps):
5391 Add delete-forward-char to remappings (Bug#9666).
5392
5393 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5394
5395 * speedbar.el (speedbar-unhighlight-one-tag-line):
5396 Avoid unhighlighting due to frame switching (Bug#10275).
5397
5398 2012-03-10 Chong Yidong <cyd@gnu.org>
5399
5400 * minibuffer.el (completion-in-region, completion-help-at-point):
5401 Give the completion field overlay a high priority (Bug#6830).
5402
5403 * dired.el (dired-goto-file): Recognize absolute file name
5404 listings (Bug#7126).
5405 (dired-goto-file-1): New helper function.
5406 (dired-toggle-read-only): Inhibit warnings.
5407
5408 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5409
5410 * net/dbus.el (dbus-property-handler): Return empty array if
5411 there are no properties.
5412
5413 2012-03-09 Leo Liu <sdl.web@gmail.com>
5414
5415 * savehist.el (savehist-printable): Stricter check for string
5416 value (Bug#10937).
5417
5418 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5419
5420 * mail/smtpmail.el (smtpmail-send-it):
5421 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5422 valid mbox format.
5423
5424 2012-03-09 Glenn Morris <rgm@gnu.org>
5425
5426 * files.el (dir-locals-find-file):
5427 Don't check result is regular, readable.
5428 (dir-locals-read-from-file): Demote errors.
5429
5430 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5431
5432 * international/quail.el (quail-insert-kbd-layout):
5433 Insert invisible LRM characters before each character in a keyboard
5434 layout cell, to prevent their reordering by bidi display engine.
5435 For details, see the discussion in
5436 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5437
5438 2012-03-08 Alan Mackenzie <acm@muc.de>
5439
5440 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5441 the starting position; make it extend the marked region when
5442 invoked repeatedly - all under appropriate circumstances.
5443 Fixes bugs #5525, #10906.
5444
5445 2012-03-08 Glenn Morris <rgm@gnu.org>
5446
5447 * files.el (locate-dominating-file, dir-locals-find-file):
5448 Undo 2012-03-06 change.
5449
5450 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5451
5452 * international/quail.el (quail-help):
5453 Force bidi-paragraph-direction be left-to-right. See discussion in
5454 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5455 for the reason.
5456
5457 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5458
5459 Avoid superfluous registering of signals. (Bug#10807)
5460
5461 * notifications.el (notifications-on-action-object)
5462 (notifications-on-close-object): New defvars.
5463 (notifications-on-action-signal, notifications-on-closed-signal):
5464 Unregister the signal if not needed any longer.
5465 (notifications-notify): Register `notifications-action-signal' or
5466 `notifications-closed-signal', if :on-action or :on-close has been
5467 passed as argument.
5468
5469 2012-03-07 Chong Yidong <cyd@gnu.org>
5470
5471 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5472 non-X platforms.
5473
5474 2012-03-06 Glenn Morris <rgm@gnu.org>
5475
5476 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5477 (x-disown-selection-internal, x-get-selection-internal):
5478 Doc fix (add arglist signatures). (Bug#10783)
5479
5480 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5481
5482 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5483 Handle breakpoints with no "type".
5484
5485 2012-03-06 Glenn Morris <rgm@gnu.org>
5486
5487 * files.el (locate-dominating-file): Add optional predicate argument.
5488 (dir-locals-find-file): Make use of above change.
5489
5490 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5491
5492 * info.el (Info-insert-dir): Also try "dir.gz".
5493
5494 2012-03-06 Glenn Morris <rgm@gnu.org>
5495
5496 * files.el (dir-locals-find-file):
5497 Ignore non-readable or non-regular files. (Bug#10928)
5498
5499 * files.el (locate-dominating-file): Doc fix.
5500
5501 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5502
5503 * calendar/calendar.el (calendar-set-mode-line):
5504 `getenv' returns a string. (Bug#10951)
5505
5506 2012-03-05 Leo Liu <sdl.web@gmail.com>
5507
5508 * simple.el (backward-delete-char-untabify): Constrain point to
5509 field (Bug#10939).
5510
5511 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5512
5513 2012-03-05 Chong Yidong <cyd@gnu.org>
5514
5515 * simple.el (count-words): If called from Lisp, return the word
5516 count, for symmetry with `count-lines'. Arglist changed.
5517 (count-words--message): Args changed. Consolidate counting code
5518 from count-words and count-words-region.
5519 (count-words-region): Caller changed.
5520 (count-lines-region): Make it an obsolete alias.
5521
5522 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5523
5524 * saveplace.el (save-place-to-alist)
5525 (save-place-ignore-files-regexp): Allow value nil to disable this
5526 feature.
5527
5528 2012-03-04 Chong Yidong <cyd@gnu.org>
5529
5530 * faces.el (face-spec-reset-face): For the default face, reset the
5531 attributes to default values (Bug#10748).
5532
5533 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5534
5535 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5536 previous patch: Check `message-send-mail-function', and not the
5537 default function (bug#10897).
5538
5539 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5540
5541 * notifications.el (notifications-on-action-signal)
5542 (notifications-on-closed-signal): Check for unique service name of
5543 incoming event. Fix error in removing entry.
5544 (top): Register for signals with wildcard service name.
5545 (notifications-notify): Use daemon unique service name for map entries.
5546
5547 2012-03-04 Chong Yidong <cyd@gnu.org>
5548
5549 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5550
5551 2012-03-04 Glenn Morris <rgm@gnu.org>
5552
5553 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5554 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5555 (expand-abbrev, define-abbrev-table): Doc fixes.
5556
5557 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5558
5559 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5560 `message-default-send-mail-function' and not `send-mail-function'
5561 when doing the prompting for `sendmail-query-once' before sending
5562 in Message buffers (bug#10897).
5563
5564 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5565 This is inconsistent with all the other stream functions, which leave
5566 the setting up to the higher levels (if so wanted) (bug#10931).
5567
5568 2012-03-02 Alan Mackenzie <acm@muc.de>
5569
5570 Depessimize the handling of very large macros.
5571
5572 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5573 (c-macro-cache-syntactic): New variables to implement a one
5574 element macro cache.
5575 (c-invalidate-macro-cache): New function.
5576 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5577 Adapt to use the new cache.
5578 (c-state-safe-place): Use better the cache of safe positions.
5579 (c-state-semi-nonlit-pos-cache)
5580 (c-state-semi-nonlit-pos-cache-limit):
5581 New variables for...
5582 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5583 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
5584 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5585 Use c-state-semi-safe-place.
5586
5587 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5588 Add c-invalidate-macro-cache to the C, C++, Obj entries.
5589
5590 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
5591
5592 * jka-compr.el (jka-compr-call-process):
5593 Apply `file-accessible-directory-p' only when the default directory is
5594 not remote.
5595
5596 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
5597
5598 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5599 access of FILE2, if FILE1 does not exist.
5600
5601 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5602 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5603
5604 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5605 Add "PAGER=" to `process-environment'.
5606
5607 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5608
5609 * progmodes/sql.el: Bug fix
5610 (sql-get-login-ext): Save login values in globals.
5611 (sql-get-login): Use new version of `sql-get-login-ext'.
5612 (sql-interactive-mode): Set global `sql-connection' to nil.
5613 (sql-connect): Set global values for connection.
5614 (sql-product-interactive): Save global values as buffer local.
5615
5616 2012-02-29 Leo Liu <sdl.web@gmail.com>
5617
5618 * abbrev.el (define-abbrevs): Reset sys to nil.
5619
5620 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5621
5622 * files.el (file-equal-p): Rename from `files-equal-p'.
5623 Return nil when one or both files don't exist.
5624 (file-subdir-of-p): Now only top directory must exists,
5625 return nil if it doesn't.
5626 (copy-directory): No need to test with `file-subdir-of-p' after
5627 creating dir.
5628 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5629 to `file-equal-p'.
5630
5631 2012-02-28 Glenn Morris <rgm@gnu.org>
5632
5633 * shell.el (shell-mode):
5634 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5635 * play/landmark.el (landmark-font-lock-face-O):
5636 * play/handwrite.el (handwrite):
5637 * play/gomoku.el (gomoku-O):
5638 * net/browse-url.el (browse-url-browser-display):
5639 * international/mule.el (define-charset):
5640 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5641 * filesets.el (filesets-find-file-delay):
5642 * eshell/em-xtra.el (eshell-xtra):
5643 * eshell/em-unix.el (eshell-grep):
5644 * emulation/viper.el (viper-mode):
5645 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5646 * emacs-lisp/easymenu.el (easy-menu-define):
5647 * calendar/timeclock.el (timeclock-use-display-time):
5648 * bs.el (bs-mode):
5649 * bookmark.el (bookmark-save-flag):
5650 Doc fix (standardize possessive apostrophe usage).
5651
5652 2012-02-27 Chong Yidong <cyd@gnu.org>
5653
5654 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5655 Fix key-binding lookup for ESC key (Bug#9146).
5656
5657 * font-lock.el (font-lock-specified-p): Rename from
5658 font-lock-spec-present. Callers changed.
5659
5660 2012-02-27 Daniel Hackney <dan@haxney.org>
5661
5662 * emacs-lisp/package.el (package-compute-transaction):
5663 Handle holding a package version to t in package-load-list.
5664
5665 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
5666
5667 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5668 (tramp-get-inode, tramp-get-device): Use cached values.
5669
5670 2012-02-26 Alan Mackenzie <acm@muc.de>
5671
5672 Check there is a font-lock specification before doing initial
5673 fontification.
5674
5675 * font-core.el (font-lock-mode): Move the conditional from
5676 :after-hook to font-lock-initial-fontify.
5677 (font-lock-default-function): Move the check for a specification
5678 to font-lock-spec-present.
5679
5680 * font-lock.el (font-lock-initial-fontify): Call ...
5681 (font-lock-spec-present): New function.
5682
5683 2012-02-26 Jim Blandy <jimb@red-bean.com>
5684
5685 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5686 (gdb-send): Apply it to the operand of the '-interpreter-exec
5687 console' command, so that we can pass arguments with (say) quotes
5688 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5689
5690 2012-02-26 Chong Yidong <cyd@gnu.org>
5691
5692 * help-fns.el (describe-function-1): Clarify description of
5693 remapping (Bug#10844).
5694
5695 * files.el (files-equal-p): Doc fix.
5696 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5697 and quit the loop once a mismatch is found.
5698
5699 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5700
5701 * bs.el (bs--show-with-configuration): Don't throw an error
5702 if the window cannot be split; otherwise, subsequent calls to
5703 bs-show fail, restoring a stale window config. (Bug#10882)
5704
5705 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5706
5707 * term/ns-win.el (global-map): Bind ns-drag-file to
5708 ns-find-file (Bug#5855, Bug#10050).
5709
5710 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5711
5712 * calendar/parse-time.el (parse-time-string): Allow extractor to
5713 return nil.
5714
5715 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5716
5717 * net/tramp.el (tramp-file-name-for-operation):
5718 Add `files-equal-p' and `file-subdir-of-p'.
5719
5720 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5721 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5722 Add COPY-CONTENTS argument.
5723
5724 2012-02-25 Chong Yidong <cyd@gnu.org>
5725
5726 Add custom groups for VC backends, for consistency with vc-bzr.
5727
5728 * vc/vc-arch.el (vc-arch):
5729 * vc/vc-cvs.el (vc-cvs):
5730 * vc/vc-git.el (vc-git):
5731 * vc/vc-hg.el (vc-hg):
5732 * vc/vc-mtn.el (vc-mtn):
5733 * vc/vc-rcs.el (vc-rcs):
5734 * vc/vc-sccs.el (vc-sccs):
5735 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5736 All relevant defcustoms reassigned.
5737
5738 2012-02-25 Chong Yidong <cyd@gnu.org>
5739
5740 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5741
5742 * term/x-win.el (x-initialize-window-system): Reduce default for
5743 x-selection-timeout to 5 seconds (Bug#8869).
5744
5745 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5746
5747 * files.el (files-equal-p, file-subdir-of-p): New functions.
5748 (copy-directory): Error when trying to copy a directory on itself.
5749 Add missing copy-contents arg to tramp handler.
5750 * dired-aux.el (dired-copy-file-recursive): Same.
5751 (dired-create-files): Modify destination when source is equal to
5752 dest when copying files.
5753 Return also when dest is a subdir of source. (Bug#10489)
5754
5755 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5756
5757 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5758 (Bug#10874)
5759
5760 2012-02-23 Alan Mackenzie <acm@muc.de>
5761
5762 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5763 parameter "after-hook:" to allow the expansion to run code after
5764 the execution of the mode hooks.
5765
5766 * font-lock.el (font-lock-initial-fontify): New function extracted
5767 from font-lock-mode-internal.
5768
5769 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5770 :after-hook.
5771
5772 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5775 (completion--cache-all-sorted-completions): New function.
5776 (completion-all-sorted-completions): Use it.
5777 (completion--do-completion, minibuffer-force-complete):
5778 Use it to re-instate the flush hook.
5779
5780 * icomplete.el (icomplete-completions): Replace last fix with a better
5781 one (bug#10850).
5782
5783 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5784
5785 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5786 when it might call us back infinitely (bug#10797).
5787
5788 2012-02-23 Glenn Morris <rgm@gnu.org>
5789
5790 * minibuffer.el (completion-category-overrides): Doc fix.
5791
5792 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5793
5794 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5795 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5796
5797 2012-02-23 Glenn Morris <rgm@gnu.org>
5798
5799 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5800 (authors-obsolete-files-regexps, authors-ignored-files)
5801 (authors-ambiguous-files, authors-renamed-files-alist):
5802 Add more entries.
5803
5804 2012-02-23 Juri Linkov <juri@jurta.org>
5805
5806 * isearch.el (isearch-occur): Sync interactive spec with occur's
5807 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5808
5809 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5810
5811 2012-02-22 Juri Linkov <juri@jurta.org>
5812
5813 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5814 (ucs-insert): Doc fix. Check for hex digits in the string.
5815 Don't display `nil' in the error message. (Bug#10857)
5816
5817 2012-02-22 Alan Mackenzie <acm@muc.de>
5818
5819 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5820
5821 2012-02-22 Glenn Morris <rgm@gnu.org>
5822
5823 * ffap.el (ffap-c-path):
5824 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5825
5826 2012-02-22 Chong Yidong <cyd@gnu.org>
5827
5828 * custom.el (load-theme): Doc fix.
5829
5830 2012-02-22 Glenn Morris <rgm@gnu.org>
5831
5832 * dired-x.el (dired-guess-shell-alist-default):
5833 Remove escape sequences from nroff output. (Bug#172)
5834
5835 2012-02-21 Glenn Morris <rgm@gnu.org>
5836
5837 * vc/emerge.el (emerge-defvar-local):
5838 Set `permanent-local' property rather than unused `preserved'.
5839
5840 * textmodes/picture.el (picture-delete-char): New alias.
5841 (picture-mode-map): Use it. (Bug#10860)
5842 (picture-mode): Doc fix.
5843
5844 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
5845
5846 * newcomment.el (uncomment-region-default): Remove unused binding.
5847
5848 2012-02-21 Glenn Morris <rgm@gnu.org>
5849
5850 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5851 (picture-self-insert, picture-tab-chars): Doc fix.
5852 (picture-mode-map): Fix C-a, C-e.
5853
5854 2012-02-20 Glenn Morris <rgm@gnu.org>
5855
5856 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5857
5858 2012-02-20 Leo Liu <sdl.web@gmail.com>
5859
5860 * icomplete.el (icomplete-completions): Check FROM arg before
5861 passing to substring (Bug#10850).
5862
5863 2012-02-19 Chong Yidong <cyd@gnu.org>
5864
5865 * comint.el: Require ansi-color.
5866 (comint-output-filter-functions): Add ansi-color-process-output.
5867
5868 * ansi-color.el: Don't set comint-output-filter-functions; it is
5869 now in the initial value defined in comint.el.
5870 (ansi-color-apply-face-function): New variable.
5871 (ansi-color-apply-on-region): Use it.
5872 (ansi-color-apply-overlay-face): New function.
5873
5874 * shell.el (shell): No need to require ansi-color.
5875 (shell-mode): Use ansi-color-apply-face-function to highlight
5876 color escapes using font-lock-face property (Bug#10835).
5877
5878 2012-02-19 Chong Yidong <cyd@gnu.org>
5879
5880 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5881 mode-line formats (Bug#10839).
5882
5883 2012-02-18 Glenn Morris <rgm@gnu.org>
5884
5885 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5886
5887 * mail/undigest.el (unforward-rmail-message): Doc fix.
5888
5889 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5890
5891 2012-02-18 Eli Zaretskii <eliz@gnu.org>
5892
5893 * international/characters.el (script-list): Sync with the latest
5894 Unicode Character Database.
5895
5896 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5897
5898 * international/titdic-cnv.el: Remove duplicate coding tag.
5899 * language/cham.el: Likewise.
5900 * language/tai-viet.el: Likewise.
5901
5902 2012-02-18 Glenn Morris <rgm@gnu.org>
5903
5904 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5905 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5906 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5907 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5908 * calendar/holidays.el (holiday-bahai-holidays)
5909 (calendar-holidays, list-holidays):
5910 Use utf-8 Bahá'í in doc-strings, menus, etc.
5911
5912 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5913
5914 * saveplace.el (save-place-ignore-files-regexp): New variable
5915 allowing for excluding files from saving their location of point.
5916 The default value matches the temporary commit message editing
5917 files from Git, SVN, Bazaar, and Mercurial.
5918 (save-place-to-alist): Use it.
5919
5920 2012-02-17 Lawrence Mitchell <wence@gmx.li>
5921 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * newcomment.el (uncomment-region-default): Don't leave extra space
5924 when an arg is provided (bug#8150).
5925
5926 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5927
5928 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5929
5930 2012-02-17 Glenn Morris <rgm@gnu.org>
5931
5932 * net/socks.el: Require network-stream. (Bug#10599)
5933
5934 2012-02-17 Kenichi Handa <handa@m17n.org>
5935
5936 * international/charprop.el:
5937 * international/uni-name.el:
5938 * international/uni-old-name.el:
5939 * international/uni-comment.el: Regenerate.
5940
5941 2012-02-16 Glenn Morris <rgm@gnu.org>
5942
5943 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5944 Interactively in calendar buffer, give an error if not on a date.
5945
5946 2012-02-15 Glenn Morris <rgm@gnu.org>
5947
5948 * shell.el (shell-delimiter-argument-list):
5949 Revert 2011-02-17 change. (Bug#8027)
5950
5951 2012-02-15 Chong Yidong <cyd@gnu.org>
5952
5953 * minibuffer.el (completion-at-point-functions): Doc fix.
5954
5955 * custom.el (defcustom): Doc fix; note use of defvar.
5956
5957 2012-02-15 Glenn Morris <rgm@gnu.org>
5958
5959 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5960 Doc fixes.
5961
5962 2012-02-14 Glenn Morris <rgm@gnu.org>
5963
5964 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5965
5966 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5967
5968 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5969 way the ports list is computed.
5970 (smtpmail-query-smtp-server): Prompt the user for a port number if
5971 we can't connect to any of the standard ports (bug#10810).
5972
5973 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5974
5975 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5976
5977 2012-02-13 Glenn Morris <rgm@gnu.org>
5978
5979 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5980
5981 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5982
5983 * net/gnutls.el (gnutls-trustfiles): New variable.
5984 (gnutls-negotiate): Use it.
5985
5986 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5987
5988 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5989 does its stuff if Gnus is running.
5990
5991 2012-02-13 Alan Mackenzie <acm@muc.de>
5992
5993 Fix a loop in c-set-fl-decl-start.
5994
5995 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5996 c-backward-syntactic-ws actually moves backwards.
5997
5998 2012-02-13 Leo Liu <sdl.web@gmail.com>
5999
6000 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6001 beginning so that all \C-o chars are removed.
6002
6003 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6004
6005 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6006
6007 2012-02-12 Alan Mackenzie <acm@muc.de>
6008
6009 Fix infinite loop with long macros.
6010 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6011
6012 2012-02-12 Chong Yidong <cyd@gnu.org>
6013
6014 * window.el (display-buffer): Doc fix (Bug#10785).
6015
6016 2012-02-12 Glenn Morris <rgm@gnu.org>
6017
6018 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6019 (x-disown-selection-internal, x-get-selection-internal):
6020 Sync docs with the xselect.c versions.
6021
6022 * allout-widgets.el: Add missing license notice.
6023
6024 2012-02-11 Glenn Morris <rgm@gnu.org>
6025
6026 * select.el (x-get-selection-internal, x-own-selection-internal)
6027 (x-disown-selection-internal):
6028 * x-dnd.el (x-get-selection-internal): Update declarations.
6029
6030 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6031
6032 * window.el (window-sides-slots):
6033 * tool-bar.el (tool-bar-position):
6034 * term/xterm.el (xterm-extra-capabilities):
6035 * ses.el (ses-self-reference-early-detection):
6036 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6037 (verilog-auto-wire-type)
6038 (verilog-auto-delete-trailing-whitespace)
6039 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6040 (verilog-auto-tieoff-declaration):
6041 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6042 (sql-oracle-statement-starters, sql-oracle-scan-on):
6043 * progmodes/prolog.el (prolog-align-comments-flag)
6044 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6045 (prolog-left-indent-regexp, prolog-paren-indent-p)
6046 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6047 (prolog-types, prolog-mode-specificators)
6048 (prolog-determinism-specificators, prolog-directives)
6049 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6050 (prolog-electric-dot-flag)
6051 (prolog-electric-dot-full-predicate-template)
6052 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6053 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6054 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6055 (prolog-program-switches, prolog-prompt-regexp)
6056 (prolog-debug-on-string, prolog-debug-off-string)
6057 (prolog-trace-on-string, prolog-trace-off-string)
6058 (prolog-zip-on-string, prolog-zip-off-string)
6059 (prolog-use-standard-consult-compile-method-flag)
6060 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6061 (prolog-imenu-max-lines, prolog-info-predicate-index)
6062 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6063 (prolog-char-quote-workaround):
6064 * progmodes/cc-vars.el (c-defun-tactic):
6065 * net/tramp.el (tramp-encoding-command-interactive)
6066 (tramp-local-end-of-line):
6067 * net/soap-client.el (soap-client):
6068 * net/netrc.el (netrc-file):
6069 * net/gnutls.el (gnutls):
6070 * minibuffer.el (completion-category-overrides)
6071 (completion-cycle-threshold)
6072 (completion-pcm-complete-word-inserts-delimiters):
6073 * man.el (Man-name-local-regexp):
6074 * mail/feedmail.el (feedmail-display-full-frame):
6075 * international/characters.el (glyphless-char-display-control):
6076 * eshell/em-ls.el (eshell-ls-date-format):
6077 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6078 (lisp-lambda-list-keyword-parameter-indentation)
6079 (lisp-lambda-list-keyword-parameter-alignment):
6080 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6081 * dired-x.el (dired-omit-verbose):
6082 * cus-theme.el (custom-theme-allow-multiple-selections):
6083 * calc/calc.el (calc-highlight-selections-with-faces)
6084 (calc-lu-field-reference, calc-lu-power-reference)
6085 (calc-note-threshold):
6086 * battery.el (battery-mode-line-limit):
6087 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6088 (archive-7z-update):
6089 * allout.el (allout-prefixed-keybindings)
6090 (allout-unprefixed-keybindings)
6091 (allout-inhibit-auto-fill-on-headline)
6092 (allout-flattened-numbering-abbreviation):
6093 * allout-widgets.el (allout-widgets-auto-activation)
6094 (allout-widgets-icons-dark-subdir)
6095 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6096 (allout-widgets-theme-dark-background)
6097 (allout-widgets-theme-light-background)
6098 (allout-widgets-item-image-properties-emacs)
6099 (allout-widgets-item-image-properties-xemacs)
6100 (allout-widgets-run-unit-tests-on-load)
6101 (allout-widgets-time-decoration-activity)
6102 (allout-widgets-hook-error-post-time)
6103 (allout-widgets-track-decoration):
6104 Add missing :version tags to new defcustoms and defgroups.
6105
6106 * progmodes/sql.el (sql-ansi-statement-starters)
6107 (sql-oracle-statement-starters): Add custom type.
6108
6109 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6110 (prolog-system-version): Give it a type.
6111
6112 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6113
6114 * term/pc-win.el (x-select-text, x-selection-owner-p)
6115 (x-own-selection-internal, x-disown-selection-internal)
6116 (x-get-selection-internal): Sync doc strings and argument lists
6117 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6118
6119 2012-02-11 Leo Liu <sdl.web@gmail.com>
6120
6121 * progmodes/python.el (python-end-of-statement): Fix infinite
6122 loop. (Bug#10788)
6123
6124 2012-02-10 Glenn Morris <rgm@gnu.org>
6125
6126 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6127 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6128
6129 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6130
6131 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6132 about SMTP before checking the From header.
6133
6134 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6135 into own function for reuse by emacsbug.el.
6136
6137 2012-02-10 Leo Liu <sdl.web@gmail.com>
6138
6139 * subr.el (condition-case-unless-debug): Rename from
6140 condition-case-no-debug. All callers changed.
6141 (with-demoted-errors): Fix caller.
6142
6143 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6144 * nxml/rng-valid.el (rng-do-some-validation):
6145 * emacs-lisp/package.el (package-refresh-contents)
6146 (package-menu-execute):
6147 * desktop.el (desktop-create-buffer):
6148 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6149
6150 2012-02-10 Glenn Morris <rgm@gnu.org>
6151
6152 * textmodes/bibtex.el:
6153 Add missing :version tags for new/changed defcustoms.
6154
6155 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6156
6157 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6158
6159 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6160 (smtpmail-via-smtp): Use it, or fall back on the From address.
6161 (smtpmail-send-it): Ditto.
6162
6163 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6166 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6167 (byte-compile-tmp-var): New const.
6168 (byte-compile-defvar): Use it to minimize .elc size.
6169 Just use `defvar' rather than simulate it (bug#10761).
6170
6171 2012-02-09 Glenn Morris <rgm@gnu.org>
6172
6173 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6174
6175 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6176 Add :version tags.
6177
6178 * progmodes/compile.el (compilation-error-screen-columns)
6179 (compilation-first-column, compilation-filter-start): Doc fixes.
6180
6181 * vc/log-view.el (log-view-toggle-entry-display):
6182 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6183
6184 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6185 (report-emacs-bug-can-use-xdg-email):
6186 (report-emacs-bug-insert-to-mailer): Doc fixes.
6187 (report-emacs-bug): Message fix.
6188
6189 * net/browse-url.el (browse-url-can-use-xdg-open)
6190 (browse-url-xdg-open): Doc fixes.
6191
6192 * electric.el (electric-indent-mode, electric-pair-mode)
6193 (electric-layout-rules, electric-layout-mode): Doc fixes.
6194 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6195
6196 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6197
6198 * server.el (server-unselect-display): Don't inadvertently kill
6199 the current buffer. (Bug#10729)
6200
6201 2012-02-08 Glenn Morris <rgm@gnu.org>
6202
6203 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6204 (sql-list-table): Doc fixes.
6205
6206 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6207 Comment out (does nothing).
6208
6209 * completion.el (dynamic-completion-mode):
6210 * dirtrack.el (dirtrack-debug-mode):
6211 * electric.el (electric-layout-mode):
6212 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6213 * face-remap.el (text-scale-mode, buffer-face-mode):
6214 * iimage.el (iimage-mode):
6215 * image-mode.el (image-transform-mode):
6216 * minibuffer.el (completion-in-region-mode):
6217 * scroll-lock.el (scroll-lock-mode):
6218 * simple.el (next-error-follow-minor-mode):
6219 * tar-mode.el (tar-subfile-mode):
6220 * tooltip.el (tooltip-mode):
6221 * vcursor.el (vcursor-use-vcursor-map):
6222 * wid-browse.el (widget-minor-mode):
6223 * emulation/tpu-edt.el (tpu-edt-mode):
6224 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6225 * international/iso-ascii.el (iso-ascii-mode):
6226 * language/thai-util.el (thai-word-mode):
6227 * mail/supercite.el (sc-minor-mode):
6228 * net/goto-addr.el (goto-address-mode):
6229 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6230 * progmodes/cwarn.el (cwarn-mode):
6231 * progmodes/flymake.el (flymake-mode):
6232 * progmodes/glasses.el (glasses-mode):
6233 * progmodes/hideshow.el (hs-minor-mode):
6234 * progmodes/pascal.el (pascal-outline-mode):
6235 * textmodes/enriched.el (enriched-mode):
6236 * vc/smerge-mode.el (smerge-mode):
6237 Doc fixes (minor mode argument).
6238
6239 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6240
6241 * ls-lisp.el (ls-lisp-sanitize): New function.
6242 (ls-lisp-insert-directory): Use it to fix or remove any elements
6243 in file-alist with missing attributes. (Bug#4673)
6244
6245 2012-02-07 Alan Mackenzie <acm@muc.de>
6246
6247 Fix spurious recognition of c-in-knr-argdecl.
6248
6249 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6250 putative K&R region.
6251
6252 2012-02-07 Alan Mackenzie <acm@muc.de>
6253
6254 * progmodes/cc-engine.el (c-forward-objc-directive):
6255 Prevent looping in "#pragma mark @implementation".
6256
6257 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6258
6259 * notifications.el (notifications-on-closed-signal): Make `reason'
6260 optional. (Bug#10744)
6261
6262 2012-02-07 Glenn Morris <rgm@gnu.org>
6263
6264 * emacs-lisp/easy-mmode.el (define-minor-mode):
6265 Doc fixes for the macro and the mode it defines.
6266
6267 * image.el (imagemagick-types-inhibit): Doc fix.
6268
6269 * cus-start.el (imagemagick-render-type): Add it.
6270
6271 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6272
6273 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6274 Set the default at load time, too, so that `font-lock-fontify-buffer'
6275 can be called without setting up the entire mode first. This fixes
6276 a bug in `mm-inline-text' with C MIME parts.
6277
6278 2012-02-06 Chong Yidong <cyd@gnu.org>
6279
6280 * simple.el (list-processes--refresh): Delete exited processes
6281 (Bug#8094).
6282
6283 * comint.el (comint-next-prompt): next-single-char-property-change
6284 and prev-single-char-property-change never return nil (Bug#8657).
6285
6286 * custom.el (defcustom): Doc fix (Bug#9711).
6287
6288 2012-02-05 Chong Yidong <cyd@gnu.org>
6289
6290 * cus-edit.el (custom-variable-reset-backup): Quote the value
6291 before storing it in the customized-value property (Bug#6712).
6292 (custom-display): Add a customization type tag.
6293 (custom-buffer-create-internal): Improve tooltip message.
6294
6295 * wid-edit.el (widget-field-value-get): New optional arg to
6296 suppress trailing whitespace truncation.
6297 (character): Use it (Bug#2689).
6298
6299 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6300
6301 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6302 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6303
6304 2012-02-05 Chong Yidong <cyd@gnu.org>
6305
6306 * cus-edit.el (custom-variable-value-create): For mismatched
6307 types, show the current value (Bug#7600).
6308
6309 * custom.el (defcustom): Doc fix.
6310
6311 2012-02-05 Glenn Morris <rgm@gnu.org>
6312
6313 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6314
6315 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6316
6317 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6318 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6319 (pp-last-sexp): Use `looking-at-p'.
6320
6321 2012-02-04 Glenn Morris <rgm@gnu.org>
6322
6323 * files.el (revert-buffer):
6324 Doc fix (mention revert-buffer-in-progress-p).
6325
6326 * emacs-lisp/ert-x.el (ert-simulate-command):
6327 Check deferred-action-list (which is obsolete) is bound.
6328
6329 * subr.el (with-wrapper-hook): Doc fixes.
6330
6331 * simple.el (filter-buffer-substring-functions)
6332 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6333
6334 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6335
6336 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6337 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6338
6339 2012-02-04 Leo Liu <sdl.web@gmail.com>
6340
6341 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6342
6343 2012-02-04 Glenn Morris <rgm@gnu.org>
6344
6345 * image.el (image-extension-data): Add obsolete alias.
6346
6347 * isearch.el (isearch-update): Doc fix.
6348
6349 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6350
6351 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6352
6353 2012-02-03 Glenn Morris <rgm@gnu.org>
6354
6355 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6356 (image-animate-timeout): Doc fix.
6357
6358 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6359
6360 2012-02-02 Glenn Morris <rgm@gnu.org>
6361
6362 * server.el (server-auth-dir): Doc fix.
6363 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6364
6365 * subr.el (run-mode-hooks): Doc fix.
6366
6367 2012-02-02 Juri Linkov <juri@jurta.org>
6368
6369 * image-mode.el (image-toggle-display-image): Remove tautological
6370 `major-mode' from the `derived-mode-p' test.
6371
6372 2012-02-02 Kenichi Handa <handa@m17n.org>
6373
6374 * composite.el (compose-region): Cancel previous change.
6375
6376 2012-02-02 Kenichi Handa <handa@m17n.org>
6377
6378 * composite.el (compose-region, compose-string): Signal error for
6379 a null string component (Bug#6988).
6380
6381 2012-02-01 Chong Yidong <cyd@gnu.org>
6382
6383 * view.el (view-buffer-other-window, view-buffer-other-frame):
6384 Handle special modes like view-buffer (Bug#10650).
6385 (view-buffer): Simplify.
6386
6387 * frame.el (set-frame-font): Tweak meaning of third argument.
6388
6389 * dynamic-setting.el (font-setting-change-default-font):
6390 Use set-frame-font (Bug#9982).
6391
6392 2012-02-01 Glenn Morris <rgm@gnu.org>
6393
6394 * progmodes/compile.el (compilation-internal-error-properties):
6395 Respect compilation-first-column in the "*compilation*" buffer.
6396
6397 * emacs-lisp/easy-mmode.el (define-minor-mode):
6398 Relax :variable's test for a named function.
6399
6400 2012-01-31 Alan Mackenzie <acm@muc.de>
6401
6402 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6403 off by one error.
6404
6405 2012-01-31 Chong Yidong <cyd@gnu.org>
6406
6407 * frame.el (set-frame-font): New arg ALL-FRAMES.
6408
6409 * menu-bar.el (menu-set-font): Use set-frame-font.
6410
6411 * faces.el (face-spec-reset-face): Don't apply unspecified
6412 attribute values to the default face.
6413
6414 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6415
6416 * progmodes/cwarn.el (cwarn): Remove dead link.
6417 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6418 Remove * from defcustom docstrings.
6419 (turn-on-cwarn-mode): Make obsolete.
6420 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6421 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6422
6423 2012-01-31 Glenn Morris <rgm@gnu.org>
6424
6425 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6426 Fix :variable handling of mode a symbol not equal to modefun.
6427 Allow named functions to be used as the cdr of :variable.
6428
6429 2012-01-30 Glenn Morris <rgm@gnu.org>
6430
6431 * emacs-lisp/authors.el (authors-fixed-entries):
6432 Remove reference to deleted file rnewspost.el.
6433
6434 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6435
6436 * window.el (window-with-parameter): Remove unused variable `windows'.
6437 (window--side-check): Remove unused variable `code'.
6438 (window--resize-siblings): Remove unused variable `first'.
6439 (adjust-window-trailing-edge): Remove unused variable `failed'.
6440 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6441 Use `let', not `let*'.
6442 (balance-windows-2): Remove unused variable `found'.
6443 (window--state-put-2): Remove unused variable `splits'.
6444 (window-state-put): Remove unused variable `selected'.
6445 (same-window-p): Use `string-match-p'.
6446 (display-buffer-assq-regexp): Remove unused variable `value'.
6447 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6448 Mark argument ALIST as ignored.
6449 (pop-to-buffer): Remove unused variable `old-window'.
6450
6451 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6452
6453 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6454 and .lzma compressed files.
6455
6456 2012-01-29 Chong Yidong <cyd@gnu.org>
6457
6458 * frame.el (window-system-default-frame-alist): Doc fix.
6459
6460 * dynamic-setting.el (font-setting-change-default-font): Don't
6461 change the default face if SET-FONT argument is non-nil (Bug#9982).
6462
6463 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6464
6465 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6466
6467 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6468
6469 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6470 breakpoints in files outside current directory (Bug#6098).
6471
6472 2012-01-29 Chong Yidong <cyd@gnu.org>
6473
6474 * progmodes/python.el: Require ansi-color at top-level.
6475
6476 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6477 Define and use in Emacs Lisp mode (Bug#9360).
6478 (lisp-mode-abbrev-table): Add doc.
6479 (lisp-mode-variables): Don't set local-abbrev-table.
6480 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6481
6482 2012-01-28 Roland Winkler <winkler@gnu.org>
6483
6484 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6485
6486 2012-01-28 Roland Winkler <winkler@gnu.org>
6487
6488 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6489 (bibtex-set-dialect): Use it. Either set global values of
6490 dialect-dependent variables or bind these variables buffer-locally
6491 (Bug#10254).
6492 (bibtex-mode): Call bibtex-set-dialect via
6493 hack-local-variables-hook.
6494 (bibtex-dialect): Update docstring.
6495 Add safe-local-variable predicate.
6496 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6497 bibtex-set-dialect.
6498 (bibtex-mode-map): Define menu for each dialect.
6499 (bibtex-entry): Fix docstring.
6500
6501 2012-01-28 Chong Yidong <cyd@gnu.org>
6502
6503 * eshell/esh-arg.el (eshell-quote-argument): New function.
6504
6505 * eshell/esh-ext.el (eshell-invoke-batch-file):
6506 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6507 first arg to eshell-parse-command (Bug#10523).
6508
6509 2012-01-28 Drew Adams <drew.adams@oracle.com>
6510
6511 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6512 `default-directory' is non-nil.
6513
6514 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6515
6516 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6517 line that displays system-configuration-options. (Bug#9924)
6518
6519 2012-01-28 Drew Adams <drew.adams@oracle.com>
6520
6521 * descr-text.el (describe-char): Show information about POS, in
6522 addition to information about the character at POS. Improve and
6523 update the doc string. Change "code point" to "code point in
6524 charset", to avoid confusion with the character's Unicode code
6525 point shown above that. (Bug#10129)
6526
6527 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6528
6529 * descr-text.el (describe-char): Show the raw character, not only
6530 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6531 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6532 for the reasons.
6533
6534 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6535
6536 * emacs-lisp/package.el (package-install):
6537 Run package-refresh-contents if there is no archive yet (Bug#9798).
6538
6539 2012-01-28 Chong Yidong <cyd@gnu.org>
6540
6541 * emacs-lisp/package.el (package-maybe-load-descriptor):
6542 New function, split from package-maybe-load-descriptor.
6543 (package-maybe-load-descriptor): Use it.
6544 (package-download-transaction): Fully load required packages
6545 inside the loop, so that `require' calls work (Bug#10593).
6546 (package-install): No need to call package-initialize now.
6547
6548 2012-01-28 Chong Yidong <cyd@gnu.org>
6549
6550 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6551
6552 * tooltip.el (tooltip-mode): Doc fix.
6553 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6554
6555 * frame.el (set-cursor-color): Doc fix (Bug#352).
6556
6557 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6558 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6559
6560 * cus-edit.el (custom-buffer-create-internal): Fix search button
6561 action (Bug#10542).
6562 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6563
6564 2012-01-27 Eduard Wiebe <usenet@pusto.de>
6565
6566 * dired.el (dired-mark-files-regexp):
6567 Include any subdirectory components. (Bug#10445)
6568
6569 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6570
6571 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6572 Handle [host]:port syntax. (Bug#10533)
6573
6574 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
6575
6576 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6577
6578 2012-01-26 Glenn Morris <rgm@gnu.org>
6579
6580 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6581 * term.el (term-raw-escape-map): Use Control-X-prefix.
6582 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6583
6584 2012-01-25 Martin Rudalics <rudalics@gmx.at>
6585
6586 * window.el (window-state-get, window--state-get-1): Don't deal
6587 with fixed-sizeness of windows. Simplify code.
6588
6589 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6590
6591 * window.el (window--state-get-1, window--state-put-2):
6592 Don't save and restore the mark.
6593
6594 2012-01-25 Chong Yidong <cyd@gnu.org>
6595
6596 * custom.el (custom-variable-p): Doc fix.
6597
6598 2012-01-25 Glenn Morris <rgm@gnu.org>
6599
6600 * dired.el (dired-goto-file): Handle some of the more common
6601 characters that `ls -b' escapes. (Bug#10596)
6602
6603 * progmodes/compile.el (compilation-next-error-function):
6604 Respect compilation-first-column in the "*compilation*" buffer.
6605 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6606
6607 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6608
6609 2012-01-24 Glenn Morris <rgm@gnu.org>
6610
6611 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6612
6613 2012-01-24 Julien Danjou <julien@danjou.info>
6614
6615 * color.el (color-rgb-to-hsl): Fix value computing.
6616 (color-hue-to-rgb): New function.
6617 (color-hsl-to-rgb): New function.
6618 (color-clamp, color-saturate-hsl, color-saturate-name)
6619 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6620 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6621
6622 2012-01-24 Glenn Morris <rgm@gnu.org>
6623
6624 * vc/vc-rcs.el (vc-rcs-create-tag):
6625 * vc/vc-sccs.el (vc-sccs-create-tag):
6626 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6627
6628 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6629
6630 * eshell/esh-util.el (eshell-read-hosts-file):
6631 Skip comment lines. (Bug#10549)
6632
6633 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6634
6635 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
6636
6637 * subr.el (display-delayed-warnings): Doc fix.
6638 (collapse-delayed-warnings): New function to collapse identical
6639 adjacent warnings.
6640 (delayed-warnings-hook): Add it.
6641
6642 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
6643
6644 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6645
6646 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6647 (tramp-default-user-alist): Don't add "pscp".
6648 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6649 property "login-as", if set. (Bug#10530)
6650
6651 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
6652
6653 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6654 "plink1" and "psftp". (Bug#10530)
6655
6656 2012-01-21 Kenichi Handa <handa@m17n.org>
6657
6658 * international/mule-cmds.el (prefer-coding-system): Show a
6659 warning message if the default value of file-name-coding-system
6660 was not changed.
6661
6662 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6663
6664 * windmove.el (windmove-reference-loc):
6665 Fix windmove-reference-loc miscalculation.
6666
6667 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6668
6669 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6670 default unit.
6671
6672 2012-01-21 Glenn Morris <rgm@gnu.org>
6673
6674 * international/mule.el (auto-coding-alist): Add .tbz.
6675
6676 * files.el (local-enable-local-variables): Doc fix.
6677 (inhibit-local-variables-regexps): Rename from
6678 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6679 Doc fix. Add some extensions from auto-coding-alist.
6680 (inhibit-local-variables-suffixes):
6681 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6682 (inhibit-local-variables-p):
6683 New function, extracted from set-auto-mode-1.
6684 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6685 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6686 (hack-local-variables): Doc fix. Make the mode-only case
6687 respect enable-local-variables and friends.
6688 Respect inhibit-local-variables-regexps for file-locals, but
6689 not for directory-locals.
6690 (set-visited-file-name):
6691 Take account of inhibit-local-variables-regexps.
6692 Whether it applies may change as the file name is changed.
6693 * jka-cmpr-hook.el (jka-compr-install):
6694 * jka-compr.el (jka-compr-uninstall):
6695 Update for inhibit-first-line-modes-suffixes name change.
6696
6697 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6698
6699 * help-macro.el (make-help-screen): Temporarily restore original
6700 binding for minor-mode-map-alist (Bug#10454).
6701
6702 2012-01-19 Julien Danjou <julien@danjou.info>
6703
6704 * color.el (color-name-to-rgb): Use the white color to find the max
6705 color component value and return correctly computed values.
6706 (color-name-to-rgb): Add missing float conversion for max value.
6707
6708 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6709
6710 * window.el (window--state-get-1, window-state-get): Do not use
6711 special state value for window-persistent-parameters.
6712 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6713 (window--state-put-2): Reset all window parameters to nil before
6714 assigning values of persistent parameters.
6715
6716 2012-01-18 Alan Mackenzie <acm@muc.de>
6717
6718 Eliminate sluggishness and hangs in fontification of "semicolon
6719 deserts".
6720
6721 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6722 Change value 10000 -> 3000.
6723 (c-state-safe-place): Reformulate so it doesn't stack up an
6724 infinite number of wrong entries in c-state-nonlit-pos-cache.
6725 (c-determine-limit-get-base, c-determine-limit): New functions to
6726 determine backward search limits disregarding literals.
6727 (c-find-decl-spots): Amend commenting.
6728 (c-cheap-inside-bracelist-p): New function which detects "={".
6729
6730 * progmodes/cc-fonts.el
6731 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6732 backward search.
6733 (c-font-lock-declarations): Fix an occurrence of point being
6734 undefined. Check additionally for point being in a bracelist or
6735 near a macro invocation without a semicolon so as to avoid a
6736 fruitless time consuming search for a declarator. Give a more
6737 precise search limit for declarators using the new
6738 c-determine-limit.
6739
6740 2012-01-18 Glenn Morris <rgm@gnu.org>
6741
6742 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6743 (set-auto-mode): Doc fixes.
6744
6745 2012-01-17 Glenn Morris <rgm@gnu.org>
6746
6747 * isearch.el (search-nonincremental-instead): Fix doc typo.
6748
6749 * dired.el (dired-insert-directory): Handle newlines in directory name.
6750 (dired-build-subdir-alist): Unescape newlines in directory name.
6751
6752 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6753
6754 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6755 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6756 (tramp-action-terminal): Use it. (Bug#10530)
6757
6758 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6759
6760 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6761
6762 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6763
6764 * window.el (window-state-ignored-parameters): Remove variable.
6765 (window--state-get-1): Rename argument MARKERS to IGNORE.
6766 Handle persistent window parameters. Make copy of clone-of
6767 parameter only if requested. (Bug#10348)
6768 (window--state-put-2): Install a window parameter only if it has
6769 a non-nil value or an existing parameter shall be overwritten.
6770
6771 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6772
6773 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6774
6775 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6776
6777 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6778 don't pass the (nil) value of `upnode' to string-match.
6779
6780 2012-01-14 Chong Yidong <cyd@gnu.org>
6781
6782 * startup.el (command-line): Fix X resource class for cursorColor.
6783 Fix values recognized by the cursorBlink resource.
6784
6785 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6786
6787 * epg.el (epg--make-temp-file): Avoid permission race condition
6788 when running on old Emacs versions (bug#10403).
6789
6790 2012-01-14 Glenn Morris <rgm@gnu.org>
6791
6792 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6793
6794 2012-01-13 Alan Mackenzie <acm@muc.de>
6795
6796 Fix filling for when filladapt mode is enabled.
6797
6798 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6799 c-mask-paragraph, pass in `fill-paragraph' rather than
6800 `fill-region-as-paragraph'. (This is a reversion of a previous
6801 change.)
6802 * progmodes/cc-mode.el (c-basic-common-init):
6803 Make fill-paragraph-handle-comment buffer local and set it to nil.
6804
6805 2012-01-13 Glenn Morris <rgm@gnu.org>
6806
6807 * dired.el (dired-switches-escape-p): New function.
6808 (dired-insert-directory): Use dired-switches-escape-p.
6809 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6810
6811 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6812
6813 2012-01-12 Glenn Morris <rgm@gnu.org>
6814
6815 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6816 changes in adaptive-fill-regexp. (Bug#10276)
6817
6818 2012-01-11 Alan Mackenzie <acm@muc.de>
6819
6820 Fix Emacs bug #10463 - put `widen's around the critical spots.
6821
6822 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6823 widen around each invocation of c-state-pp-to-literal. Remove an
6824 unused let variable.
6825
6826 2012-01-11 Glenn Morris <rgm@gnu.org>
6827
6828 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
6829 Doc fix.
6830
6831 2012-01-10 Chong Yidong <cyd@gnu.org>
6832
6833 * net/network-stream.el (network-stream-open-starttls):
6834 Avoid emitting a confusing error message when the server gives a bad
6835 response to the capability command.
6836
6837 2012-01-10 Glenn Morris <rgm@gnu.org>
6838
6839 * mail/unrmail.el (unrmail): Tweak previous change.
6840
6841 2012-01-09 Chong Yidong <cyd@gnu.org>
6842
6843 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6844
6845 2012-01-08 Alan Mackenzie <acm@muc.de>
6846
6847 Optimise font locking in long enum definitions.
6848
6849 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6850 arm to a cond form to handle enums.
6851 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6852 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6853
6854 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6855
6856 * files.el (move-file-to-trash): Preserve default file modes on error.
6857 (Bug#10401)
6858
6859 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6860
6861 * faces.el (set-face-attribute): Clarify the meaning of the nil
6862 frame (bug#10294).
6863
6864 * subr.el (with-selected-frame): Mention that the selected frame
6865 is restored (bug#9980).
6866
6867 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6868 (bug#9759).
6869
6870 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6871 (password-read): Don't autoload unused function.
6872
6873 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
6874
6875 * progmodes/which-func.el (which-func-mode): Turn into a
6876 non-interactive function and mark as obsolete (bug#10428).
6877
6878 2012-01-06 Chong Yidong <cyd@gnu.org>
6879
6880 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6881 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6882 functions, along with 1 and -1.
6883
6884 2012-01-06 Eli Zaretskii <eliz@gnu.org>
6885
6886 * time.el (display-time-load-average)
6887 (display-time-default-load-average): Doc fixes. See the thread
6888 starting at
6889 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6890 for the details.
6891
6892 2012-01-06 Glenn Morris <rgm@gnu.org>
6893
6894 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6895 has no messages. (Bug#10377)
6896
6897 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6898 than Info-edit. (Bug#10385)
6899
6900 * time.el (display-time-load-average, display-time-next-load-average):
6901 Doc fixes.
6902
6903 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6904 local setting of buffer-read-only to the input buffer. (Bug#10419)
6905
6906 * calendar/calendar.el (calendar-mode):
6907 Locally set scroll-margin to 0. (Bug#10379)
6908
6909 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
6910
6911 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6912
6913 2012-01-05 Glenn Morris <rgm@gnu.org>
6914
6915 * eshell/em-unix.el (diff-no-select): Autoload it.
6916 (eshell/diff): Use diff-no-select. (Bug#10420)
6917
6918 2012-01-05 Chong Yidong <cyd@gnu.org>
6919
6920 * shell.el (shell-dynamic-complete-functions): Revert last change.
6921 (shell-command-completion-function): New function.
6922 (shell-completion-vars): Use it to implement
6923 shell-completion-execonly (Bug#10417).
6924
6925 * custom.el (enable-theme): Don't set custom-safe-themes.
6926
6927 * cus-theme.el (custom-theme-merge-theme):
6928 Ignore custom-enabled-themes and custom-safe-themes.
6929
6930 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6931
6932 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6933 first prompt in `sql-interacive-mode'.
6934 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6935 keywords.
6936 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6937 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6938 context of original buffer. Invoke `sql-login-hook'.
6939
6940 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6941
6942 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6943 letters in cite-prefix.
6944
6945 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6946
6947 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6948
6949 2012-01-03 Chong Yidong <cyd@gnu.org>
6950
6951 * shell.el (shell-dynamic-complete-functions):
6952 Put pcomplete-completions-at-point, so as to try
6953 comint-filename-completion first (Bug#10417).
6954
6955 2012-01-02 Richard Stallman <rms@gnu.org>
6956
6957 * battery.el (battery-status-function):
6958 Detect when to use battery-yeeloong-sysfs.
6959 (battery-echo-area-format): Add string for Yeeloong.
6960 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6961 (battery-yeeloong-sysfs): New function.
6962
6963 2012-01-02 Chong Yidong <cyd@gnu.org>
6964
6965 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6966 (dirtrack): Merge code for handling relative filenames in prompt
6967 from shell-dir-cookie-watcher.
6968 (dirtrack-debug-message): New arg to avoid excess format calls.
6969
6970 * shell.el (shell-dir-cookie-re): Variable deleted.
6971 (shell-dir-cookie-watcher): Function deleted.
6972 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6973 with dirtrack-mode.
6974
6975 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6976
6977 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6978 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6979 libgnutls-26.dll.
6980
6981 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6982
6983 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6984
6985 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6986
6987 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6988 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6989
6990 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6991
6992 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6993 also for alternative shells.
6994 (tramp-open-connection-setup-interactive-shell): Check, whether
6995 the shell is a busybox.
6996 (tramp-send-command): Don't suppress multiple prompts for
6997 busyboxes, it hurts.
6998
6999 2011-12-28 Chong Yidong <cyd@gnu.org>
7000
7001 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7002 (gdb-get-source-file): Move mode line update to
7003 gdb-get-source-file (Bug#10087).
7004
7005 2011-12-25 Chong Yidong <cyd@gnu.org>
7006
7007 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7008 gud-gdb-marker-filter without taking it as an argument.
7009 (gud-gdb-run-command-fetch-lines): Caller changed.
7010 (gud-gdb-completion-function): New variable.
7011 (gud-gdb-completion-at-point): Use it.
7012 (gud-gdb-completions-1): Split from gud-gdb-completions.
7013
7014 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7015 function as separate arguments.
7016 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7017 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7018 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7019 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7020 (gdb-stopped, def-gdb-auto-update-trigger)
7021 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7022 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7023 Callers changed.
7024 (gud-gdbmi-completions): New function.
7025 (gdb): Use it for generating the completion table.
7026
7027 2011-12-24 Alan Mackenzie <acm@muc.de>
7028
7029 Introduce a mechanism to widen the region used in context font
7030 locking. Use this to protect declarations from losing their contexts.
7031
7032 * progmodes/cc-langs.el (c-before-font-lock-functions):
7033 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7034 (c-before-context-fontification-functions): New defvar, a list of
7035 functions to be run just before context (etc.) font locking.
7036
7037 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7038 New, functionality extracted from
7039 c-neutralize-syntax-in-and-mark-CPP.
7040 (c-in-after-change-fontification): New variable.
7041 (c-after-change): Set c-in-after-change-fontification.
7042 (c-set-fl-decl-start): Rejig its interface, so it can be called
7043 from both after-change and context fontifying.
7044 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7045 New functions.
7046 (c-standard-font-lock-fontify-region-function): New variable.
7047 (c-font-lock-fontify-region): New function.
7048
7049 2011-12-24 Juri Linkov <juri@jurta.org>
7050
7051 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7052 (Bug#10348)
7053
7054 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7055
7056 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7057 existence of source file. (Bug#10325)
7058
7059 2011-12-23 Alan Mackenzie <acm@muc.de>
7060
7061 Fix unstable fontification inside templates.
7062
7063 * progmodes/cc-langs.el (c-before-font-lock-functions):
7064 Newly created from the singular version. The (c c++ objc) entry now
7065 additionally has c-set-fl-decl-start. The other languages (apart
7066 from AWK) have that as a single entry.
7067
7068 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7069 The functionality for "local" declarations has been extracted to
7070 c-set-fl-decl-start.
7071
7072 * progmodes/cc-mode.el (c-common-init, c-after-change):
7073 Changes due to pluralisation of c-before-font-lock-functions.
7074 (c-set-fl-decl-start): New function, extracted from
7075 c-font-lock-enclosing-decls and enhanced.
7076
7077 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7078
7079 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7080
7081 2011-12-22 Juri Linkov <juri@jurta.org>
7082
7083 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7084
7085 2011-12-22 Chong Yidong <cyd@gnu.org>
7086
7087 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7088
7089 2011-12-21 Drew Adams <drew.adams@oracle.com>
7090
7091 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7092
7093 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7094
7095 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7096
7097 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7098
7099 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7100 highlighting and support. Fix up comments for capitalization.
7101 (cfengine-mode-debug): New var.
7102 (cfengine3-mode): Change the modeline indicator to "CFE3".
7103 (cfengine3-font-lock-keywords): Improve defun highlighting.
7104 (cfengine2-actions): Rename from `cfengine-actions'.
7105 (cfengine2-font-lock-keywords): Rename from
7106 `cfengine-font-lock-keywords'.
7107 (cfengine2-imenu-expression): Rename from
7108 `cfengine-imenu-expression'.
7109 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7110 (cfengine2-beginning-of-defun): Rename from
7111 `cfengine-beginning-of-defun'.
7112 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7113 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7114 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7115 modeline indicator to "CFE2".
7116 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7117 (cfengine-mode-abbrevs): Mark obsolete.
7118
7119 2011-12-21 Chong Yidong <cyd@gnu.org>
7120
7121 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7122 filename argument.
7123
7124 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7125
7126 * window.el (window-normalize-buffer-to-display): Remove.
7127 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7128
7129 2011-12-19 Chong Yidong <cyd@gnu.org>
7130
7131 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7132 Don't signal an error in a predicate function; return non-nil.
7133 (vc-dir-mark-file): Move the error here.
7134 (vc-dir-mark-unmark): If acting on the region, keep going if one
7135 of the entries cannot be marked/unmarked.
7136 (vc-dir-mark-all-files): If current entry is a directory, mark
7137 only child files, as documented.
7138
7139 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7140
7141 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7142 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7143 addition.
7144
7145 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7146
7147 * term/ns-win.el (ns-get-selection-internal)
7148 (ns-store-selection-internal): Declare.
7149 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7150 Declare as obsolete.
7151 (ns-get-pasteboard, ns-paste-secondary):
7152 Use ns-get-selection-internal.
7153 (ns-set-pasteboard, ns-copy-including-secondary):
7154 Use ns-store-selection-internal.
7155
7156 2011-12-17 Chong Yidong <cyd@gnu.org>
7157
7158 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7159 (vc-deduce-fileset): Doc fix.
7160
7161 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7162
7163 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7164
7165 2011-12-13 Sam Steingold <sds@gnu.org>
7166
7167 * man.el (Man-getpage-in-background): When running under a
7168 window-system, ignore $MANWIDTH and $COLUMNS.
7169
7170 2011-12-15 Kenichi Handa <handa@m17n.org>
7171
7172 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7173 (setup-ethiopic-environment-internal): Comment out key-binding for
7174 ethio-toggle-punctuation.
7175
7176 2011-12-13 Alan Mackenzie <acm@muc.de>
7177
7178 Add the switch statement to AWK Mode.
7179
7180 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7181 "default" to the keywords regexp.
7182
7183 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7184 expression as the rest.
7185 (c-nonlabel-token-key): Allow string literals for AWK.
7186 Refactor for the other modes.
7187
7188 Large brace-block initialisation makes CC Mode slow: Fix.
7189 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7190 routines. Limit backward searching in c-font-lock-enclosing.decl.
7191
7192 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7193 pp-state and literal type in addition to the limits.
7194 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7195 (c-state-literal-at): Use the above new defun.
7196 (c-slow-in-literal, c-fast-in-literal): Remove.
7197 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7198
7199 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7200 being in a literal. Add a limit for backward searching.
7201
7202 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7203 c-slow-in-literal.
7204
7205 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7208
7209 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7210
7211 * window.el (delete-other-windows): Use correct frame in call to
7212 window-with-parameter.
7213
7214 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7215
7216 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7217 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7218 (makefile-gmake-statements, makefile-makepp-statements):
7219 Use it and add new makepp keywords.
7220 (makefile-makepp-font-lock-keywords): Add new patterns.
7221 (makefile-match-function-end): Match new [...] and [[...]].
7222
7223 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7224
7225 * ses.el (ses-call-printer-return, ses-cell-property-get)
7226 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7227 (ses-create-cell-variable, ses-reset-header-string)
7228 (ses-cell-set-formula, ses-repair-cell-reference-all)
7229 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7230 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7231 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7232 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7233 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7234 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7235 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7236 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7237 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7238 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7239 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7240 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7241
7242 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7243
7244 * ses.el: The overall change is to add cell renaming, that is
7245 setting fancy names for cell symbols other than name matching
7246 "\\`[A-Z]+[0-9]+\\'" regexp .
7247 (ses-create-cell-variable): New defun.
7248 (ses-relocate-formula): Relocate formulas only for cells the
7249 symbols of which are not renamed, i.e. symbols whose names do not
7250 match regexp "\\`[A-Z]+[0-9]+\\'".
7251 (ses-relocate-all): Relocate values only for cells the symbols of
7252 which are not renamed.
7253 (ses-load): Create cells variables as the (ses-cell ...) are read,
7254 in order to check row col consistency with cell symbol name only
7255 for cells that are not renamed.
7256 (ses-replace-name-in-formula): New defun.
7257 (ses-rename-cell): New defun.
7258
7259 2011-12-11 Chong Yidong <cyd@gnu.org>
7260
7261 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7262 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7263
7264 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7265
7266 * window.el (other-window): Fix docstring.
7267
7268 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7269
7270 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7271 `from' or `to' address before taking its substring.
7272 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7273 encoded name is chopped in the middle of the encoded string, and
7274 thus displayed encoded.
7275
7276 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7277
7278 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7279
7280 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7281
7282 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7283 to use texinfo-update-node and commands that call it if the
7284 Texinfo file uses @node lines without next/prev/up pointers.
7285 Correct outdated description about texinfo-master-menu.
7286 (texinfo-all-menus-update, texinfo-master-menu)
7287 (texinfo-update-node, texinfo-every-node-update)
7288 (texinfo-multiple-files-update): Doc fix. Warn against updating
7289 all the @node lines.
7290 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7291 argument is numeric. Explain better in the doc string what the
7292 function really does.
7293 (texinfo-insert-master-menu-list): Improve the error message
7294 displayed if there's no menu in the Top node.
7295 (Bug#2975) See also this thread:
7296 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7297
7298 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7299
7300 * speedbar.el (speedbar-supported-extension-expressions):
7301 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7302
7303 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7304
7305 * printing.el (pr-mode-alist):
7306 * simple.el (filter-buffer-substring-functions)
7307 (completion-list-insert-choice-function):
7308 * window.el (window-with-parameter, window-atom-root)
7309 (window-sides-slots, window-size-fixed, window-min-delta)
7310 (window-max-delta, window--resize-mini-window)
7311 (window--resize-child-windows-normal, window-tree)
7312 (delete-other-windows, quit-window, split-window)
7313 (display-buffer-record-window, special-display-buffer-names)
7314 (special-display-regexps, special-display-popup-frame)
7315 (same-window-p, split-window-sensibly)
7316 (display-buffer-overriding-action, display-buffer-alist)
7317 (display-buffer-base-action, display-buffer, switch-to-buffer)
7318 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7319 (fit-window-to-buffer, recenter-positions)
7320 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7321 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7322 and remove unneeded backslashes in docstrings.
7323
7324 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7325
7326 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7327
7328 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7329 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7330 end in ".mk".
7331 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7332 when reading the makefile (bug#10116).
7333
7334 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7337 (bug#10116).
7338
7339 2011-12-06 Glenn Morris <rgm@gnu.org>
7340
7341 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7342
7343 2011-12-06 Chong Yidong <cyd@gnu.org>
7344
7345 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7346
7347 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7348
7349 * textmodes/table.el (table-shorten-cell): Fix typo.
7350
7351 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7352
7353 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7354
7355 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7356
7357 * descr-text.el (describe-char): Fix display of strong
7358 right-to-left characters and directional embeddings and overrides.
7359
7360 * simple.el (what-cursor-position): Fix display of codepoints of
7361 strong right-to-left characters.
7362
7363 2011-12-05 Chong Yidong <cyd@gnu.org>
7364
7365 * faces.el (read-color): Doc fix.
7366
7367 2011-12-05 Glenn Morris <rgm@gnu.org>
7368
7369 * align.el (align--set-marker): Add doc-string.
7370 Don't try to move something that is not a marker. (Bug#10216)
7371
7372 2011-12-04 Glenn Morris <rgm@gnu.org>
7373
7374 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7375 overly zealous deletion of trailing whitespace.
7376
7377 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7378
7379 * server.el (server-delete-client): On Windows, do not try to delete
7380 the only terminal.
7381 (server-process-filter): On Windows, treat requests for a tty frame as
7382 if they were for a GUI frame if the running server is in GUI mode.
7383
7384 2011-12-03 Glenn Morris <rgm@gnu.org>
7385
7386 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7387
7388 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * electric.el: Streamline electric-indent's hook.
7391 (electric-indent-chars): Revert to simple list.
7392 (electric-indent-functions): New var.
7393 (electric-indent-post-self-insert-function): Use it.
7394
7395 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7396 there's no inferior buffer (bug#10196).
7397 (prolog-consult-compile): Don't use toggle-read-only.
7398
7399 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7400
7401 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7402 interrupt. (Bug#10187)
7403
7404 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7407 (bug#9160).
7408
7409 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7410 (bug#10191).
7411
7412 2011-12-02 Juri Linkov <juri@jurta.org>
7413
7414 * info.el (Info-search): Display "end of manual" when Isearch
7415 reaches the end of single-file Info manual. (Bug#9918)
7416
7417 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7418
7419 * isearch.el (isearch-message-prefix): Run the input method part
7420 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7421
7422 2011-12-02 Juri Linkov <juri@jurta.org>
7423
7424 * isearch.el (isearch-occur): Use `word-search-regexp' for
7425 `isearch-word'.
7426 (isearch-search-and-update): Add condition for `isearch-word' and
7427 call `word-search-regexp'. (Bug#10145)
7428
7429 2011-12-01 Glenn Morris <rgm@gnu.org>
7430
7431 * eshell/em-hist.el (eshell-hist-initialize):
7432 Handle eshell-history-size nil and HISTSIZE set or unset.
7433 (eshell-history-file-name, eshell-history-size): Fix custom type.
7434
7435 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7436
7437 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7438
7439 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7440
7441 * progmodes/verilog-mode.el (verilog-pretty-expr):
7442 Rework verilog-pretty-expr to handle new assignment operators in system
7443 verilog, such as += *= and the like.
7444 (verilog-assignment-operator-re): Regular expression to find the
7445 assigment operator in a verilog assignment.
7446 (verilog-assignment-operation-re): Regular expression to find an
7447 assignment statement for pretty-expr.
7448 (verilog-in-attribute-p): Query returns true if point is in an
7449 attribute context; used to skip these for expression line up from
7450 pretty-expr.
7451 (verilog-in-parameter-p): Query returns true if point is in an
7452 parameter definition context; used to skip these for expression
7453 line up from pretty-expr.
7454 (verilog-in-parenthesis-p): Query returns true if point is in a
7455 parenthetical expression, specifically ( ) but not [ ] or { };
7456 used by pretty-expr.
7457 (verilog-just-one-space): If there is no space, don't add one.
7458 (verilog-get-lineup-indent-2): Specifically skip just attribute
7459 contexts for expression lineup, rather than skipping all
7460 parenthetical expressions.
7461 (verilog-calculate-indent): Fix comment, and fix indent.
7462 (verilog-do-indent): Indent declarations in lists (suggested by
7463 Joachim Lechner).
7464 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7465 skeleton items.
7466 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7467 by Alain Mellan).
7468
7469 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7470
7471 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7472 parameters with embedded comments. Reported by Ray Stevens.
7473 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7474 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7475 Reported by Tim Holt.
7476 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7477 instantiated by upper module causing wrong expansion until AUTOed a
7478 second time. Reported by K C Buckenmaier.
7479 (verilog-diff-auto): Fix showing .* as a difference when
7480 `verilog-auto-star-save' off. Reported by Dan Dever.
7481 (verilog-auto-reset, verilog-read-always-signals)
7482 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7483 temporary signals in reset list if
7484 verilog-auto-reset-blocking-in-non is nil, and match assignment
7485 style to each signal's assignment type, bug381.
7486 Reported by Thomas Esposito.
7487 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7488 (verilog-uvm-statement-re): Support UVM indentation and
7489 highlighting, with old OVM keywords only.
7490 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7491 Support AUTOTIEOFF creating non-wire data types.
7492 Suggested by Jonathan Greenlaw.
7493 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7494 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7495 (verilog-inject-sense, verilog-read-inst-pins)
7496 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7497 Fix mismatching parenthesis inside commented out code when deleting
7498 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7499 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7500 non-numeric vector width. Reported by Alex Reed.
7501 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7502 detecting signals with parameter widths. Reported by Alex Reed.
7503 (verilog-auto-delete-trailing-whitespace):
7504 With `verilog-auto-delete-trailing-whitespace' remove trailing
7505 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7506 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7507 Fix verilog-scan-cache corruption when running user AUTO expansion
7508 hooks that call indentation routines.
7509 (verilog-simplify-range-expression): Fix typo ignoring lower case
7510 identifiers.
7511 (verilog-delete-auto): Fix delete-autos to also remove user created
7512 automatics, as long as they start with AUTO.
7513 (verilog-batch-diff-auto, verilog-diff-auto)
7514 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7515 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7516 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7517 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7518 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7519 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7520 is disabled and its cache will get corrupt, causing AUTOS not to
7521 expand. Instead use only -quick functions.
7522 (verilog-scan-region): Fix scanning over escaped quotes.
7523 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7524 (verilog-re-search-backward-quick)
7525 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7526 related functions now ignore strings, to fix misparsing of strings
7527 with magic comments embedded in them.
7528 (verilog-read-auto-template):
7529 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7530 Reported by Brad Dobbie.
7531 (verilog-read-auto-template):
7532 Fix 'verilog-auto-inst-template-numbers' with comments.
7533 Reported by Brad Dobbie.
7534 (verilog-auto-inst, verilog-auto-inst-param)
7535 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7536 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7537 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7538 debugging templates without merge conflicts, bug357.
7539 Reported by Brad Dobbie.
7540 (verilog-read-auto-template):
7541 Fix verilog-auto-inst-template-numbers with multiple templates.
7542 Reported by Brad Dobbie.
7543 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7544 abbrevs so user won't be asked to save.
7545 (verilog-read-auto-lisp-present): Fix to start at beginning of
7546 buffer in case called outside of verilog-auto.
7547 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7548 to "X-2". Reported by Matthew Myers.
7549 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7550 all inputs from module templates. Reported by Leith Johnson.
7551 (verilog-module-inside-filename-p): Fix locating programs as with
7552 modules.
7553 (verilog-auto-inst-port): Fix vl-width expressions when using
7554 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7555 (verilog-decls-get-regs, verilog-decls-get-signals,
7556 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7557 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7558 verilog-read-decls): Combine reg and wire structures into one var
7559 structure to represent SystemVerilog concepts.
7560 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7561 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7562 (verilog-auto-wire-type, verilog-insert-definition):
7563 Add verilog-auto-wire-type and AUTOLOGIC to support using
7564 SystemVerilog "logic" keyword instead of "wire"/"reg".
7565 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7566 to declares outputs that also have assignments (presumably in an
7567 ifdef or generate if so there's not a driver conflict).
7568 Reported by Matthew Myers.
7569 (verilog-auto-declare-nettype, verilog-insert-definition):
7570 Add verilog-auto-declare-nettype to fix declarations using
7571 `default_nettype none. Reported by Julian Gorfajn.
7572 (verilog-read-always-signals-recurse, verilog-read-decls)
7573 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7574 malformed end statement, bug325. Reported by Joshua Wise and
7575 Andrew Drake.
7576 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7577 (verilog-inst-comment-re): Fix not deleting Interfaced comment
7578 when expanding .* in interfaces, bug320.
7579 Reported by Pierre-David Pfister.
7580 (verilog-read-module-name): Fix import statements between module
7581 name and open parenthesis, bug317.
7582 Reported by Pierre-David Pfister.
7583 (verilog-simplify-range-expression): Fix simplification of
7584 multiplications inside AUTOWIRE connections, bug303.
7585 (verilog-auto-inst-port): Support parameter expansion in
7586 multidimensional arrays.
7587 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7588 after "assert property". Reported by Julian Gorfajn.
7589 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7590 with multiplication, bug303.
7591 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7592 Reported by Jan Frode Lonnum.
7593
7594 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
7595
7596 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7597 (hfy-shell-file-name, hfy-shell):
7598 * international/fontset.el (x-decompose-font-name): Fix typos.
7599
7600 2011-11-29 Ken Brown <kbrown@cornell.edu>
7601
7602 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7603 (gdb-version): Remove defvar.
7604 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7605 (gdb-gud-context-command, gdb-non-stop-handler)
7606 (gdb-current-context-command, gdb-stopped): Use it.
7607 (gdb-init-1): Enable pretty printing here.
7608 (gdb-non-stop-handler): Don't enable pretty-printing here.
7609 Check to see if the target supports non-stop mode; if not, turn off
7610 non-stop mode. Use the following.
7611 (gdb-check-target-async): New defun.
7612 (gud-watch, gdb-stopped): Fix whitespace.
7613 (gdb-get-source-file): Don't try to display the source file if
7614 `gdb-main-file' is nil.
7615
7616 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7617
7618 * align.el: Try to generate fewer markers (bug#10047).
7619 (align--set-marker): New macro.
7620 (align-region): Use it.
7621
7622 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7623
7624 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7625
7626 2011-11-29 Chong Yidong <cyd@gnu.org>
7627
7628 * indent.el (indent-for-tab-command, indent-according-to-mode):
7629 Doc fix.
7630 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7631
7632 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
7633
7634 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7635 aware of remote file names. (Bug#10124)
7636
7637 2011-11-29 Chong Yidong <cyd@gnu.org>
7638
7639 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7640
7641 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7642
7643 * files.el (find-file): Don't use force-same-window (bug#10144).
7644 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7645 use pop-to-buffer if the selected window can't be used.
7646 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7647
7648 2011-11-28 Eli Zaretskii <eliz@gnu.org>
7649
7650 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7651 special-mode-map.
7652
7653 2011-11-28 Chong Yidong <cyd@gnu.org>
7654
7655 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7656
7657 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
7658
7659 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7660 gdb-get-source-file-list on gdb-create-source-file-list.
7661
7662 2011-11-26 Eli Zaretskii <eliz@gnu.org>
7663
7664 * whitespace.el (whitespace-newline): Use a different foreground
7665 color for 16-color light-background displays.
7666
7667 2011-11-24 Chong Yidong <cyd@gnu.org>
7668
7669 * window.el (display-buffer--special-action): Doc fix.
7670
7671 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7674 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7675 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7676 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7677 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7678 (avl-tree-stack-first):
7679 * emacs-lisp/cconv.el (cconv--analyse-use):
7680 * net/gnutls.el (gnutls-negotiate): Fix typos.
7681
7682 2011-11-24 Glenn Morris <rgm@gnu.org>
7683
7684 * lpr.el (lpr-windows-system, lpr-lp-system):
7685 * mail/binhex.el (binhex-begin-line):
7686 * progmodes/grep.el (grep-history, grep-find-history):
7687 * textmodes/flyspell.el:
7688 * vc/pcvs-defs.el (cvs-global-menu):
7689 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7690 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7691 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7692
7693 * net/tls.el: Fix case of "GnuTLS".
7694
7695 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7696
7697 * version.el (emacs-build-system): Give it a doc-string.
7698
7699 2011-11-24 Juri Linkov <juri@jurta.org>
7700
7701 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7702
7703 2011-11-24 Glenn Morris <rgm@gnu.org>
7704
7705 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7706 if called on a non-mime message just toggle the headers. (Bug#8006)
7707
7708 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7709
7710 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7711 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7712 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7713 (allout-rebullet-heading, allout-open-sibtopic)
7714 (allout-toggle-current-subtree-encryption)
7715 (allout-toggle-subtree-encryption, allout-encrypt-string)
7716 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7717 (allout-distinctive-bullets-string, allout-auto-activation):
7718 * window.el (window-normalize-buffer-to-display):
7719 * progmodes/verilog-mode.el (verilog-batch-indent):
7720 * textmodes/bibtex.el (bibtex-field-braces-opt)
7721 (bibtex-field-strings-opt):
7722 * vc/cvs-status.el (cvs-tree-merge):
7723 Fix typos.
7724
7725 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7726
7727 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7728 `non-essential' to t, in order to avoid remote connections.
7729
7730 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7731
7732 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7733 On MS-DOS and MS-Windows, compare with loaddefs.el
7734 case-insensitively.
7735
7736 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7737
7738 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7739
7740 2011-11-23 Glenn Morris <rgm@gnu.org>
7741
7742 * paths.el (rmail-file-name): Reformat the doc-string so that it
7743 is picked up.
7744
7745 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7746 (rmail-auto-file): Ignore case in the "special" field names,
7747 as mail-fetch-field does for all others.
7748
7749 * mail/rmail.el (rmail-forward):
7750 * mail/rmailkwd.el (rmail-set-label):
7751 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7752 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7753
7754 * mail/rmail.el (rmail-current-message): Doc fix.
7755
7756 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7757
7758 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7761
7762 2011-11-22 Glenn Morris <rgm@gnu.org>
7763
7764 * mail/rmailmm.el (test-rmail-mime-handler)
7765 (test-rmail-mime-bulk-handler)
7766 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7767
7768 2011-11-21 Juri Linkov <juri@jurta.org>
7769
7770 * calc/calc.el (calc-read-key-sequence):
7771 Let-bind `input-method-function' to nil. (Bug#10018)
7772
7773 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7774
7775 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7776 Tell the caller that the next line needs recomputation, even
7777 though it doesn't start a sexp (bug#10094).
7778
7779 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7782
7783 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7786 Use force-same-window.
7787
7788 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7789
7790 * descr-text.el (describe-char-unicode-data):
7791 * json.el (json-string-escape):
7792 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7793 (Footnote-unicode, Footnote-style-p):
7794 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7795
7796 2011-11-20 Chong Yidong <cyd@gnu.org>
7797
7798 * window.el (replace-buffer-in-windows): Restore interactive spec.
7799
7800 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7801
7802 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7803
7804 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7805 (byte-compile-global-not-obsolete-vars): New var.
7806 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7807 Use it.
7808 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7809
7810 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7811
7812 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7813 * progmodes/pascal.el (electric-pascal-equal):
7814 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7815 * xml.el (xml-substitute-special): Fix typos.
7816
7817 2011-11-20 Glenn Morris <rgm@gnu.org>
7818
7819 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7820 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7821 Doc fixes.
7822 (rmail-decode-mime-charset): Mark as obsolete.
7823
7824 * mail/rmailsum.el (rmail-message-regexp-p-1):
7825 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7826 Before using mime functions, check they are set. (Bug#10077)
7827
7828 2011-11-19 Juri Linkov <juri@jurta.org>
7829
7830 * info.el (Info-finder-find-node): Use `package--builtins' instead
7831 of `package-alist'. Use node names formed by the pattern "Keyword "
7832 and the keyword name.
7833
7834 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7835
7836 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7837
7838 2011-11-19 Juri Linkov <juri@jurta.org>
7839
7840 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7841 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7842 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7843 `old-history', `old-history-forward'. Add let-binding
7844 `window-selected'. Remove calls to `kill-buffer',
7845 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7846 before calling `Info-find-node', so `Info-find-node-2' will reread
7847 the Info file. Restore window positions only when `window-selected'
7848 is non-nil.
7849
7850 2011-11-19 Juri Linkov <juri@jurta.org>
7851
7852 * isearch.el (isearch-lazy-highlight-new-loop):
7853 Remove condition `(not isearch-error)'. (Bug#9918)
7854
7855 * misearch.el (multi-isearch-search-fun): Add condition
7856 `(not bound)' to ignore lazy-highlighting search.
7857 Add the search-failed message "end of multi" when the end of
7858 multi-sequence is reached. Uncapitalize the search-failed
7859 message "Repeat for next buffer".
7860
7861 * info.el (Info-search): Add the search-failed message
7862 "end of the manual" when the end of the manual is reached
7863 in Isearch mode.
7864
7865 2011-11-19 Juri Linkov <juri@jurta.org>
7866
7867 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7868 Use non-destructive `remove' instead of `delete' because
7869 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7870 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7871
7872 2011-11-19 Juri Linkov <juri@jurta.org>
7873
7874 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7875 to nil instead of binding `search-ring' and `regexp-search-ring'.
7876 (Bug#9185)
7877
7878 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7879
7880 * simple.el (line-move): Force movement by logical lines for any
7881 hscrolled window, not only when auto-hscroll-mode is on.
7882 (line-move-visual): Update doc string to that effect. (Bug#10076)
7883
7884 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7885
7886 * language/european.el (macintosh): Define as alias for mac-roman.
7887
7888 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7889
7890 * mail/rmailmm.el (rmail-mime-display-header)
7891 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7892 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7893 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7894 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7895 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7896 of a raw aref.
7897 (rmail-mime-entity-segment): To get past the tagline, move forward
7898 2 more lines, to account for the 2 empty lines that precede and
7899 follow the line with the buttons.
7900 (rmail-mime-update-tagline): Move one more line, to get past the
7901 empty line that follows the buttons in the tagline. (Bug#9520)
7902
7903 2011-11-19 Martin Rudalics <rudalics@gmx.at>
7904
7905 * window.el (window-max-delta-1, window-min-delta-1)
7906 (window-min-size-1, window-state-get-1, window-state-put-1)
7907 (window-state-put-2): Use "window--" prefix.
7908
7909 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7910
7911 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7912 (smie-warning-count): New var.
7913 (smie-set-prec2tab): Use it.
7914 (smie-bnf->prec2): Improve warnings. Add docstring.
7915 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7916 (smie-bnf--set-class): New function.
7917 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7918 corner case.
7919
7920 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7921 (compilation-error-properties, compilation-move-to-column):
7922 Handle compilation-first-column while in the target buffer.
7923
7924 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7925 Don't hardcode point-min==1.
7926
7927 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7928 (eshell-rewrite-for-command): Remove workaround.
7929 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7930 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7931 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7932
7933 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7934
7935 2011-11-17 Glenn Morris <rgm@gnu.org>
7936
7937 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7938 Ignore buffer-local generated-autoload-file if it is the same
7939 as the global value. (Bug#10049)
7940
7941 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7942
7943 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7944 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7945 (reftex-toc-previous-heading, reftex-toc-max-level)
7946 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7947 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7948 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7949 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7950 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7951 (reftex-toc-rename-label, reftex-toc-visit-location)
7952 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7953 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7954 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7955 leaving "*toc*" only for references to the buffer.
7956
7957 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7958
7959 * window.el (window-resize, delete-window, split-window):
7960 Replace window-splits by window-combination-resize.
7961 * cus-start.el (window-splits): Replace by window-combination-resize.
7962
7963 2011-11-17 Glenn Morris <rgm@gnu.org>
7964
7965 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7966 Make bash entry derive from sh entry, not shell entry.
7967
7968 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7969
7970 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7971 local file name.
7972
7973 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7974
7975 * menu-bar.el (menu-bar-file-menu):
7976 * printing.el (pr-ps-utility):
7977 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7978 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7979 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7980 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7981 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7982 (icalendar--convert-cyclic-to-ical)
7983 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7984 (icalendar--convert-ical-to-diary)
7985 (icalendar--convert-recurring-to-diary)
7986 (icalendar--convert-non-recurring-all-day-to-diary)
7987 (icalendar-import-format-sample):
7988 * progmodes/idlw-shell.el (idlwave-shell-mode):
7989 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7990 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7991 (vhdl-ps-print-init): Fix typos.
7992
7993 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7994
7995 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7996 FSF and collapse date sequence, obscure author/maintainer email address
7997 better, remove extra version line, track relocation of author's webpage.
7998
7999 * progmodes/python.el (python-pdbtrack-input-prompt)
8000 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8001 regular python pdb prompts. Adjustments shamelessly taken exactly as
8002 suggested in EmacsWiki page (tiny change):
8003 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8004
8005 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8006
8007 * expand.el (expand-pos, expand-index, expand-point):
8008 Remove redundant info from docstring.
8009 (expand-add-abbrevs): Doc fix.
8010 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8011 (expand-sample-perl-mode-expand-list): Fix typos.
8012
8013 * net/dbus.el (dbus-event-member-name):
8014 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8015 * term/pc-win.el (msdos-create-frame-with-faces):
8016 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8017
8018 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8019
8020 * window.el (split-window, window-state-get-1)
8021 (window-state-put-1, window-state-put-2): Rename occurrences of
8022 window-nest to window-combination-limit.
8023 * cus-start.el (window-nest): Rename to window-combination-limit.
8024
8025 2011-11-16 Chong Yidong <cyd@gnu.org>
8026
8027 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8028 regexp (Bug#10033).
8029
8030 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8031
8032 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8033 `completing-read' will remove *Completions* and will preserve
8034 current-buffer for us.
8035 (tmm-add-prompt): Users of *Completions* will always (re)set its
8036 major mode.
8037 (tmm-old-comp-map): Remove.
8038
8039 2011-11-16 Glenn Morris <rgm@gnu.org>
8040
8041 * mail/rmailedit.el: Require rmailmm when compiling.
8042 (rmail-old-mime-state): New declaration.
8043 (rmail-edit-current-message): If editing a mime message,
8044 edit the "raw" message from the mbox buffer.
8045 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8046
8047 2011-11-15 Glenn Morris <rgm@gnu.org>
8048
8049 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8050 which wasn't being used. Add optional arg to force given state.
8051 (rmail-mime): Add optional arg to force given state.
8052
8053 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8054
8055 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8056 * frame.el (display-mm-dimensions-alist):
8057 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8058 (outline-move-subtree-down):
8059 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8060 (newsticker--treeview-do-get-node):
8061 * net/quickurl.el (quickurl-list-buffer-name):
8062 * progmodes/dcl-mode.el (dcl-mode):
8063 * progmodes/gdb-mi.el (gdb-mapcar*):
8064 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8065
8066 2011-11-15 Glenn Morris <rgm@gnu.org>
8067
8068 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8069 in a boolean sense, so just make it a boolean, and fix the doc.
8070 (rmail-show-mime-function, rmail-mime-feature)
8071 (rmail-require-mime-maybe): Doc fixes.
8072 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8073
8074 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8075
8076 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8077
8078 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8079 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8080 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8081 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8082
8083 2011-11-15 Glenn Morris <rgm@gnu.org>
8084
8085 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8086 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8087 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8088 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8089 (rmail-mime, rmail-show-mime): Doc fixes.
8090
8091 * term/ns-win.el (mode-line-frame-identification):
8092 Leave it alone. (Bug#10051)
8093
8094 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8095
8096 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8097 Handle empty buffers. (Bug#9978)
8098
8099 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8100
8101 * international/mule.el (define-charset):
8102 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8103 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8104 * progmodes/verilog-mode.el (verilog-backward-token):
8105 * textmodes/ispell.el (lookup-words):
8106 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8107
8108 2011-11-14 Glenn Morris <rgm@gnu.org>
8109
8110 * progmodes/executable.el
8111 (executable-make-buffer-file-executable-if-script-p):
8112 Handle file-modes returning nil.
8113
8114 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8115 message - not necessary, and causes problems. (Bug#9831)
8116
8117 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8118
8119 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8120
8121 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8122 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8123 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8124
8125 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8126
8127 * window.el (window-resize, delete-window): Use window-splits
8128 variable instead of function.
8129 (window-state-get-1, window-state-put-2, window-state-put):
8130 Don't deal with windows' splits status.
8131
8132 2011-11-12 Glenn Morris <rgm@gnu.org>
8133
8134 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8135 (apropos-documentation): Doc fixes.
8136
8137 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8138
8139 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8140 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8141
8142 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * electric.el (electric-indent-post-self-insert-function): Make it
8145 possible for a char to only indent in some circumstances.
8146 (electric-indent-mode): Simplify.
8147
8148 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8149
8150 * window.el (windows-with-parameter): Remove unused function.
8151 (windows-at-side): Rename to window-at-side-list.
8152 (window-check, window-atom-check, window-atom-check-1)
8153 (window-side-check, window-size-ignore, window-size-fixed-1)
8154 (window-in-direction-2): Prefix with "window--".
8155 (window-tree-1): Rename to window--subtree, fix doc-string.
8156
8157 2011-11-11 Glenn Morris <rgm@gnu.org>
8158
8159 * subr.el (eval-after-load): If FILE is already loaded,
8160 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8161
8162 2011-11-10 Glenn Morris <rgm@gnu.org>
8163
8164 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8165 Call svn via vc-svn-command rather than vc-do-command.
8166 (vc-svn-command): Add --non-interactive. (Bug#9993)
8167 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8168
8169 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8170 Add toggle-read-only. (Bug#7292)
8171 * files.el (toggle-read-only): Mention that it should only
8172 be used interactively. (Bug#10006)
8173
8174 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8177 Adjust regexp for OCaml warnings.
8178
8179 * electric.el (electric-pair-post-self-insert-function): Let user
8180 turn it off buffer-locally (bug#9932).
8181
8182 * progmodes/python.el (python-beginning-of-statement):
8183 Rewrite (bug#2703).
8184
8185 * progmodes/compile.el: Better handle TABs (bug#9749).
8186 (compilation-internal-error-properties)
8187 (compilation-next-error-function): Obey the target buffer's
8188 compilation-error-screen-columns.
8189
8190 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8191
8192 * progmodes/meta-mode.el: Remove obsolete comments.
8193 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8194 Fix typos in docstrings.
8195
8196 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8197
8198 * window.el (window-size-fixed-p): Rewrite doc-string.
8199 (window-resizable-p): Rename to window--resizable-p. Update callers.
8200 (window--resizable): New function. Make all callers of
8201 window-resizable call window--resizable instead.
8202 (window-resizable): Rewrite in terms of window--resizable.
8203
8204 2011-11-08 Glenn Morris <rgm@gnu.org>
8205
8206 * progmodes/delphi.el (delphi-mode-syntax-table):
8207 Let define-derived-mode define a proper syntax table. (Bug#9994)
8208
8209 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * window.el: Stay away from defsubst.
8212 (window-list-no-nils): Remove.
8213 (window-state-get-1, window-state-get): Use backquote instead.
8214
8215 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8216
8217 * emacs-lisp/find-func.el (find-function-read):
8218 Fix incorrect use of default argument in `completing-read'.
8219
8220 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8221
8222 * window.el (display-buffer-function, special-display-function):
8223 Mention display-buffer-record-window but do not mention
8224 help-setup parameter in doc-strings.
8225 (window-min-delta): Fix doc-string typo.
8226
8227 2011-11-08 Chong Yidong <cyd@gnu.org>
8228
8229 * window.el (window-total-height, window-total-width): Doc fix.
8230 (window-body-size): Move from C.
8231 (window-body-height, window-body-width): Move to C.
8232
8233 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8234
8235 * window.el: Make special-display like display-buffer-alist (bug#9532).
8236 (display-buffer--special-action): New function, morphed
8237 from display-buffer--special.
8238 (display-buffer): Use it to handle special-display-buffers at higher
8239 priority (just after display-buffer-alist).
8240 (display-buffer-fallback-action, display-buffer--other-frame-action)
8241 (pop-to-buffer-same-window): Remove display-buffer--special.
8242
8243 2011-11-07 Glenn Morris <rgm@gnu.org>
8244
8245 * calendar/cal-menu.el (cal-menu-set-date-title):
8246 Do nothing if not in a calendar. (Bug#9976)
8247
8248 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * files.el (find-file): Always use selected-window.
8251
8252 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8253
8254 * window.el (window-combinations): Make WINDOW argument
8255 mandatory. Rewrite doc-string.
8256 (walk-window-subtree, window-atom-check, window-min-delta)
8257 (window-max-delta, window--resize-this-window)
8258 (window--resize-root-window-vertically, window-tree)
8259 (balance-windows, window-state-put): Rewrite doc-strings as to
8260 not mention the term "subwindow".
8261 (window--resize-subwindows-skip-p): Rename to
8262 window--resize-child-windows-skip-p.
8263 (window--resize-subwindows-normal): Rename to
8264 window--resize-child-windows-normal.
8265 (window--resize-subwindows): Rename to
8266 window--resize-child-windows.
8267 (window-or-subwindow-p): Rename to window--in-subtree-p.
8268
8269 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8270
8271 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8272 Ensure that mbox format messages end in two newlines (Bug#9974).
8273
8274 2011-11-06 Chong Yidong <cyd@gnu.org>
8275
8276 * window.el (window-combination-p): Function deleted; its
8277 side-effect is not used in any existing code.
8278 (window-combinations, window-combined-p): Call window-*-child
8279 directly.
8280
8281 2011-11-05 Chong Yidong <cyd@gnu.org>
8282
8283 * window.el (window-valid-p): Rename from window-any-p.
8284 (window-size-ignore, window-state-get): Callers changed.
8285 (window-normalize-window): Rename from window-normalize-any-window.
8286 New arg LIVE-ONLY, replacing window-normalize-live-window.
8287 (window-normalize-live-window): Delete.
8288 (window-combination-p, window-combined-p, window-combinations)
8289 (walk-window-subtree, window-atom-root, window-min-size)
8290 (window-sizable, window-sizable-p, window-size-fixed-p)
8291 (window-min-delta, window-max-delta, window-resizable)
8292 (window-resizable-p, window-full-height-p, window-full-width-p)
8293 (window-current-scroll-bars, window-point-1, set-window-point-1)
8294 (window-at-side-p, window-in-direction, window-resize)
8295 (adjust-window-trailing-edge, maximize-window, minimize-window)
8296 (window-deletable-p, delete-window, delete-other-windows)
8297 (record-window-buffer, unrecord-window-buffer)
8298 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8299 (quit-window, split-window, window-state-put)
8300 (set-window-text-height, fit-window-to-buffer)
8301 (shrink-window-if-larger-than-buffer): Callers changed.
8302
8303 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8304
8305 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8306 rfc2047-decode-string.
8307 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8308 warnings.
8309
8310 * window.el (window-body-height, window-body-width): Mention in
8311 the doc string that the return values are in frame's canonical
8312 units. (Bug#9949)
8313
8314 2011-11-03 Alan Mackenzie <acm@muc.de>
8315
8316 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8317 change in cc-engine.el.
8318
8319 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8320
8321 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8322
8323 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8324
8325 * window.el (quit-window): Call unrecord-window-buffer after
8326 showing another buffer in the window. (Bug#9937)
8327 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8328
8329 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8330
8331 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8332 Accept status with more than 9 shelves. (Bug#9935)
8333 Reported by Colin D Bennett <colin@gibibit.com>.
8334
8335 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8336
8337 * help.el (with-help-window): Don't reference
8338 temp-buffer-show-specifiers in doc-string.
8339
8340 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8341
8342 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8343 menu-item.
8344
8345 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8346
8347 * whitespace.el: New version 13.2.2.
8348 (whitespace-newline-mode): Disable properly. Reported by Sarah
8349 <EmacsWiki>.
8350
8351 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8352
8353 * net/newst-treeview.el: Remove "Time-stamp".
8354 (newsticker--group-manage-orphan-feeds): Do not call
8355 newsticker--treeview-tree-update.
8356 (newsticker-treeview-update, newsticker-treeview):
8357 Call newsticker--treeview-tree-update if necessary.
8358
8359 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8360
8361 * window.el (window-iso-combination-p, window-iso-combined-p)
8362 (window-iso-combinations): Remove "iso-" infix.
8363 Suggested by Chong Yidong.
8364 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8365 (window-max-delta-1, window-resize, window--resize-siblings)
8366 (window--resize-this-window, adjust-window-trailing-edge)
8367 (split-window, balance-windows-1)
8368 (shrink-window-if-larger-than-buffer):
8369 * calendar/calendar.el (calendar-generate-window):
8370 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8371
8372 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8375 in place (bug#9907).
8376 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8377 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8378 (eshell-structure-basic-command, eshell-rewrite-while-command)
8379 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8380 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8381 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8382 (eshell-do-pipelines-synchronously, eshell-eval-command):
8383 Use backquotes and prefer setq to set.
8384 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8385 (eshell-macrop): Use functionp.
8386 (eshell-do-eval): Handle multiple expressions in `while' body.
8387
8388 2011-10-30 Chong Yidong <cyd@gnu.org>
8389
8390 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8391 instead of set-mark (Bug#9810).
8392
8393 2011-10-30 Chong Yidong <cyd@gnu.org>
8394
8395 * window.el (split-window-below, split-window-right): Rename from
8396 split-window-above-each-other and split-window-side-by-side
8397 respectively. All callers changed.
8398 (split-window-sensibly, split-window-sensibly): Use them.
8399 (split-window-keep-point): Doc fix.
8400
8401 * isearch.el: Add isearch-scroll property to split-window-below
8402 and split-window-right.
8403
8404 * follow.el (follow-mode):
8405 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8406 * progmodes/ada-xref.el (ada-gdb-application):
8407 * emulation/vip.el (vip-buffer-in-two-windows):
8408 * image-dired.el (image-dired-dired-with-window-configuration):
8409 * dired-x.el (dired-do-find-marked-files):
8410 * dired.el (dired-pop-to-buffer):
8411 * bs.el (bs--show-with-configuration):
8412 * vc/emerge.el (emerge-setup-windows):
8413 * textmodes/two-column.el (2C-two-columns):
8414 * textmodes/reftex-toc.el (reftex-toc):
8415 * progmodes/gdb-mi.el (gdb-setup-windows):
8416 * progmodes/fortran.el (fortran-window-create):
8417 * net/newst-treeview.el (newsticker--treeview-window-init):
8418 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8419 * emulation/tpu-edt.el (tpu-gold-map):
8420 * emulation/crisp.el (crisp-mode-map):
8421 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8422
8423 2011-10-29 Chong Yidong <cyd@gnu.org>
8424
8425 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8426
8427 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8428
8429 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8430 forged Ispell output (Bug#7904).
8431
8432 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8433
8434 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8435
8436 * doc-view.el: Avoid ugly errors about not finding nil.
8437 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8438 (doc-view-dvipdf-program, doc-view-unoconv-program)
8439 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8440 Avoid nil or absolute file name as default value.
8441 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8442
8443 2011-10-28 Alan Mackenzie <acm@muc.de>
8444
8445 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8446
8447 2011-10-28 Alan Mackenzie <acm@muc.de>
8448
8449 Amend the handling of c-beginning/end-of-defun in nested declaration
8450 scopes.
8451
8452 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8453 cc-langs.el. Change it to a defcustom.
8454
8455 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8456 cc-vars.el.
8457
8458 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8459 Prevent "class foo : bar" being spuriously recognized as a label.
8460
8461 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8462 Add parameter `inclusive' (to include enclosing braces in the region).
8463 (c-widen-to-enclosing-decl-scope): New function.
8464 (c-while-widening-to-decl-block): New macro.
8465 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8466 outward for defun boundaries, and correspondingly change symbol
8467 `respect-enclosure' to `go-outward'.
8468 (c-declaration-limits): Change algorithm to report only the "innermost"
8469 defun's boundaries.
8470
8471 2011-10-28 Deniz Dogan <deniz@dogan.se>
8472
8473 * net/rcirc.el (rcirc-mode): Use hard newlines.
8474
8475 2011-10-28 Alan Mackenzie <acm@muc.de>
8476
8477 Amend to indent and fontify macros "which include their own semicolon"
8478 correctly, using the "virtual semicolon" mechanism.
8479
8480 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8481
8482 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8483 Recode to scan one line at a time rather than having \n and \r
8484 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8485 (c-forward-label): Amend for virtual semicolons.
8486 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8487
8488 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8489 of the new C macros.
8490
8491 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8492 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8493 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8494 (c-opt-cpp-macro-define): Make into a full language variable.
8495 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8496 AWK Mode (including \n, \r) removed, no longer needed.
8497
8498 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8499 Invoke c-make-macro-with-semi-re.
8500
8501 * progmodes/cc-vars.el (c-macro-with-semi-re):
8502 (c-macro-names-with-semicolon): New variables.
8503 (c-make-macro-with-semi-re): New function.
8504
8505 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8506
8507 * vc/log-edit.el: Fill empty field rather than adding new one.
8508 (log-edit-add-field): New function.
8509 (log-edit-insert-changelog): Use it.
8510
8511 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8512
8513 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8514
8515 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8516
8517 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8518 (gdb--check-interpreter): New function.
8519 (gdb): Use it.
8520
8521 2011-10-27 Glenn Morris <rgm@gnu.org>
8522
8523 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8524 (least-positive-float, least-negative-float)
8525 (least-positive-normalized-float, least-negative-normalized-float)
8526 (float-epsilon, float-negative-epsilon):
8527 Remove unnecessary declarations.
8528
8529 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8530 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8531 (least-positive-float, least-negative-float)
8532 (least-positive-normalized-float, least-negative-normalized-float)
8533 (float-epsilon, float-negative-epsilon): Add doc-strings,
8534 based on those in cl.texi.
8535
8536 * files.el (set-visited-file-name): If the major-mode changed,
8537 reload the local variables. (Bug#9796)
8538
8539 2011-10-27 Chong Yidong <cyd@gnu.org>
8540
8541 * subr.el (change-major-mode-after-body-hook): New hook.
8542 (run-mode-hooks): Run it.
8543
8544 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8545 Use change-major-mode-before-body-hook.
8546
8547 * simple.el (fundamental-mode):
8548 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8549 change introducing fundamental-mode-hook.
8550
8551 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
8552
8553 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8554
8555 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
8556
8557 * ido.el (ido-file-name-all-completions-1): Do not require
8558 tramp.el explicitly. (Bug#7583)
8559
8560 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8561
8562 * progmodes/octave-mod.el:
8563 * progmodes/octave-inf.el: Update maintainer.
8564
8565 2011-10-26 Chong Yidong <cyd@gnu.org>
8566
8567 * subr.el (with-wrapper-hook): Rewrite doc.
8568
8569 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
8570
8571 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8572 filenames "/method:foo:". (Bug#9793)
8573
8574 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8577 (bug#9865).
8578
8579 2011-10-24 Glenn Morris <rgm@gnu.org>
8580
8581 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8582
8583 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
8584
8585 * notifications.el: Add the requirement of a running D-Bus session
8586 bus to the Commentary.
8587
8588 2011-10-24 Juri Linkov <juri@jurta.org>
8589
8590 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8591 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8592 (Bug#9364)
8593
8594 2011-10-24 Juri Linkov <juri@jurta.org>
8595
8596 * info.el (Info-following-node-name-re): Add newline to the list
8597 of allowed characters for leading space. (Bug#9824)
8598
8599 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * progmodes/octave-inf.el (inferior-octave-mode-map):
8602 Fix C-c C-h binding.
8603 * progmodes/octave-mod.el (octave-help): Remove.
8604
8605 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
8606
8607 Sync with Tramp 2.2.3.
8608
8609 * net/tramp-cache.el (top): Pacify byte-compiler using
8610 `init-file-user' and `site-run-file'.
8611
8612 * net/trampver.el: Update release number.
8613
8614 2011-10-23 Chong Yidong <cyd@gnu.org>
8615
8616 * files.el (toggle-read-only): Remove obsolete comment about
8617 version control.
8618
8619 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8620 for toggle-read-only. Note that this hasn't called vc-next-action
8621 since 2008-05-02, though it wasn't documented at the time.
8622
8623 * vc/ediff-init.el (ediff-toggle-read-only-function):
8624 Use toggle-read-only.
8625
8626 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8627
8628 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8629 of c-parse-state.
8630
8631 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8632 correct faulty logical expression.
8633 (c-parse-state-state, c-record-parse-state-state):
8634 (c-replay-parse-state-state): New defvar/defuns.
8635 (c-debug-parse-state): Use new functions.
8636
8637 2011-10-22 Martin Rudalics <rudalics@gmx.at>
8638
8639 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8640 last fix. Use window-in-direction correctly.
8641
8642 2011-10-21 Chong Yidong <cyd@gnu.org>
8643
8644 * progmodes/idlwave.el (idlwave-mode):
8645 * progmodes/vera-mode.el (vera-mode): No need to set
8646 require-final-newline; that's done in prog-mode.
8647 Suggested by Stefan Monnier.
8648
8649 2011-10-21 Martin Rudalics <rudalics@gmx.at>
8650
8651 * mouse.el (mouse-drag-window-above)
8652 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8653 (mouse-drag-mode-line-1, mouse-drag-header-line)
8654 (mouse-drag-vertical-line-rightward-window): Remove.
8655 (mouse-drag-line): New function.
8656 (mouse-drag-mode-line, mouse-drag-header-line)
8657 (mouse-drag-vertical-line): Call mouse-drag-line.
8658 * window.el (window-at-side-p, windows-at-side): New functions.
8659
8660 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
8661
8662 * tar-mode.el (tar-grind-file-mode):
8663 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8664
8665 2011-10-21 Chong Yidong <cyd@gnu.org>
8666
8667 * progmodes/idlwave.el (idlwave-mode):
8668 * progmodes/vera-mode.el (vera-mode):
8669 Use mode-require-final-newline.
8670
8671 2011-10-20 Glenn Morris <rgm@gnu.org>
8672
8673 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
8674
8675 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8676
8677 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8678
8679 2011-10-20 Chong Yidong <cyd@gnu.org>
8680
8681 * emulation/cua-base.el (cua-mode):
8682 * mail/footnote.el (footnote-mode):
8683 * mail/mailabbrev.el (mail-abbrevs-mode):
8684 * net/xesam.el (xesam-minor-mode):
8685 * progmodes/bug-reference.el (bug-reference-mode):
8686 * progmodes/cap-words.el (capitalized-words-mode):
8687 * progmodes/compile.el (compilation-minor-mode)
8688 (compilation-shell-minor-mode):
8689 * progmodes/gud.el (gud-tooltip-mode):
8690 * progmodes/hideif.el (hide-ifdef-mode):
8691 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8692 * progmodes/subword.el (subword-mode):
8693 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8694 * progmodes/which-func.el (which-function-mode):
8695 * term/tvi970.el (tvi970-set-keypad-mode):
8696 * term/vt100.el (vt100-wide-mode):
8697 * textmodes/flyspell.el (flyspell-mode):
8698 * textmodes/ispell.el (ispell-minor-mode):
8699 * textmodes/nroff-mode.el (nroff-electric-mode):
8700 * textmodes/paragraphs.el (use-hard-newlines):
8701 * textmodes/refill.el (refill-mode):
8702 * textmodes/reftex.el (reftex-mode):
8703 * textmodes/rst.el (rst-minor-mode):
8704 * textmodes/sgml-mode.el (html-autoview-mode)
8705 (sgml-electric-tag-pair-mode):
8706 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8707 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8708 * emulation/crisp.el (crisp-mode):
8709 * emacs-lisp/eldoc.el (eldoc-mode):
8710 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8711 minor mode behavior.
8712
8713 2011-10-19 Juri Linkov <juri@jurta.org>
8714
8715 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8716 the list of hard-coded chars with escape-glyph face.
8717
8718 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8721
8722 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8723
8724 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8725 running process.
8726
8727 2011-10-19 Glenn Morris <rgm@gnu.org>
8728
8729 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8730 Ignore ignored files. (Bug#9726)
8731
8732 2011-10-19 Chong Yidong <cyd@gnu.org>
8733
8734 Doc fix for minor modes, stating that an omitted argument enables
8735 the mode unconditionally when called from Lisp.
8736
8737 * abbrev.el (abbrev-mode):
8738 * allout.el (allout-mode):
8739 * autoinsert.el (auto-insert-mode):
8740 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8741 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8742 (global-auto-revert-mode):
8743 * battery.el (display-battery-mode):
8744 * composite.el (global-auto-composition-mode)
8745 (auto-composition-mode):
8746 * delsel.el (delete-selection-mode):
8747 * desktop.el (desktop-save-mode):
8748 * dired-x.el (dired-omit-mode):
8749 * dirtrack.el (dirtrack-mode):
8750 * doc-view.el (doc-view-minor-mode):
8751 * double.el (double-mode):
8752 * electric.el (electric-indent-mode, electric-pair-mode):
8753 * emacs-lock.el (emacs-lock-mode):
8754 * epa-hook.el (auto-encryption-mode):
8755 * follow.el (follow-mode):
8756 * font-core.el (font-lock-mode):
8757 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8758 * help.el (temp-buffer-resize-mode):
8759 * hilit-chg.el (highlight-changes-mode)
8760 (highlight-changes-visible-mode):
8761 * hi-lock.el (hi-lock-mode):
8762 * hl-line.el (hl-line-mode, global-hl-line-mode):
8763 * icomplete.el (icomplete-mode):
8764 * ido.el (ido-everywhere):
8765 * image-file.el (auto-image-file-mode):
8766 * image-mode.el (image-minor-mode):
8767 * iswitchb.el (iswitchb-mode):
8768 * jka-cmpr-hook.el (auto-compression-mode):
8769 * linum.el (linum-mode):
8770 * longlines.el (longlines-mode):
8771 * master.el (master-mode):
8772 * mb-depth.el (minibuffer-depth-indicate-mode):
8773 * menu-bar.el (menu-bar-mode):
8774 * minibuf-eldef.el (minibuffer-electric-default-mode):
8775 * mouse-sel.el (mouse-sel-mode):
8776 * msb.el (msb-mode):
8777 * mwheel.el (mouse-wheel-mode):
8778 * outline.el (outline-minor-mode):
8779 * paren.el (show-paren-mode):
8780 * recentf.el (recentf-mode):
8781 * reveal.el (reveal-mode, global-reveal-mode):
8782 * rfn-eshadow.el (file-name-shadow-mode):
8783 * ruler-mode.el (ruler-mode):
8784 * savehist.el (savehist-mode):
8785 * scroll-all.el (scroll-all-mode):
8786 * scroll-bar.el (scroll-bar-mode):
8787 * server.el (server-mode):
8788 * shell.el (shell-dirtrack-mode):
8789 * simple.el (auto-fill-mode, transient-mark-mode)
8790 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8791 (line-number-mode, column-number-mode, size-indication-mode)
8792 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8793 * strokes.el (strokes-mode):
8794 * time.el (display-time-mode):
8795 * t-mouse.el (gpm-mouse-mode):
8796 * tool-bar.el (tool-bar-mode):
8797 * tooltip.el (tooltip-mode):
8798 * type-break.el (type-break-mode-line-message-mode)
8799 (type-break-query-mode):
8800 * view.el (view-mode):
8801 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8802 (global-whitespace-mode, global-whitespace-newline-mode):
8803 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8804
8805 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8806 Fix autogenerated docstring.
8807
8808 2011-10-19 Juri Linkov <juri@jurta.org>
8809
8810 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8811 by checking environment variables "DESKTOP_SESSION" and
8812 "XDG_CURRENT_DESKTOP". (Bug#9779)
8813
8814 2011-10-19 Juri Linkov <juri@jurta.org>
8815
8816 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8817 (browse-url-chromium-program, browse-url-chromium-arguments):
8818 New defcustoms.
8819 (browse-url-default-browser): Check for `browse-url-chromium' and
8820 call `browse-url-chromium-program'.
8821 (browse-url-chromium): New command. (Bug#9779)
8822
8823 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
8824
8825 * facemenu.el (list-colors-duplicates): On Windows, detect more
8826 duplicates by assuming that only colors matching "^System" are
8827 special "system colors". (Bug#9722)
8828
8829 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8832 to distinguish the author from the committer.
8833
8834 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
8835
8836 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8837
8838 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8839
8840 * international/mule.el (sgml-html-meta-auto-coding-function):
8841 Add support for detecting encoding in HTML5 specified only as
8842 <meta charset="UTF-8">. Implementation just makes http-equiv and
8843 content-type parts from HTML4 encoding string optional. (Bug#9716)
8844
8845 2011-10-18 Glenn Morris <rgm@gnu.org>
8846
8847 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8848
8849 2011-10-18 Chong Yidong <cyd@gnu.org>
8850
8851 * faces.el (cursor): Doc fix.
8852
8853 2011-10-17 Chong Yidong <cyd@gnu.org>
8854
8855 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8856
8857 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
8858
8859 * dirtrack.el (dirtrack): Support shell buffers with path
8860 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8861
8862 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8863
8864 * json.el: Bump version to 1.3 and note change in History.
8865 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8866
8867 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8868
8869 * comint.el (comint-insert-input, comint-send-input)
8870 (comint-get-old-input-default, comint-backward-matching-input)
8871 (comint-next-prompt): Use nil instead of `input' for field property of
8872 past user input (bug#114).
8873
8874 * minibuffer.el (completion--replace): Inherit surrounding properties
8875 (bug#114).
8876 (minibuffer-complete-and-exit): Use it.
8877
8878 * comint.el (comint--table-subvert): Quote the all-completions output
8879 (bug#9160).
8880
8881 2011-10-17 Martin Rudalics <rudalics@gmx.at>
8882
8883 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8884
8885 * menu-bar.el (menu-bar-file-menu): Add entry for making new
8886 window on right of selected. (Bug#9350) Reword other window
8887 entries and separate them from frame entries.
8888
8889 2011-10-15 Glenn Morris <rgm@gnu.org>
8890
8891 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8892 Doc fixes.
8893
8894 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
8895
8896 * net/network-stream.el (network-stream-open-starttls):
8897 Improve detection of failure due to lack of TLS support.
8898
8899 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8900 putting the input text in front and in bold.
8901
8902 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8903
8904 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8905
8906 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8907 empty buffer.
8908
8909 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8910 unread-command-events rather than pushing yet-another event.
8911
8912 2011-10-14 Eli Zaretskii <eliz@gnu.org>
8913
8914 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8915 the explanation of the possible choices. Make the options passed
8916 to completing-read shorter.
8917
8918 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8919
8920 * textmodes/flyspell.el (flyspell-large-region): Make sure
8921 extended character mode is used if defined (Bug#1339).
8922
8923 2011-10-13 Eli Zaretskii <eliz@gnu.org>
8924
8925 * simple.el (what-cursor-position): Fix the display of the
8926 character info for LRE, LRO, RLE, and RLO characters by appending
8927 an invisible PDF.
8928
8929 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8932 even in case of error; add debug spec; simplify data flow.
8933 (with-timeout-handler): Remove.
8934
8935 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8936
8937 Fix Bug#6019, Bug#9315.
8938
8939 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8940 complete `buffer-file-name', the local file name part could look
8941 remotely (for example on VMS).
8942
8943 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8944 `tramp-run-real-handler'.
8945 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8946 already quoted by '"'.
8947
8948 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8949 Let `file-name-handler-alist' be nil, the local file name part
8950 could look remotely (for example on VMS).
8951
8952 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8955 from here...
8956 (flyspell-post-command-hook): ...to here.
8957
8958 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8961 if not needed.
8962 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8963 using completion. Protect against "slow" callers.
8964 Remove the "message hack".
8965
8966 2011-10-11 Juri Linkov <juri@jurta.org>
8967
8968 * isearch.el (isearch-lazy-highlight-word): New variable.
8969 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8970 Use it. (Bug#9727)
8971
8972 2011-10-11 Glenn Morris <rgm@gnu.org>
8973
8974 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8975 like f90-previous-statement does.
8976
8977 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8978
8979 * eshell/eshell.el (eshell-command): History should be saved
8980 only in interactive use, to avoid error.
8981
8982 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * minibuffer.el (completion-file-name-table): Fix last change,
8985 i.e. ignore normal errors but not the other ones.
8986
8987 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8988
8989 * window.el (special-display-buffer-names)
8990 (special-display-regexps): Remove some remnants of earlier
8991 changes from doc-strings.
8992 (quit-windows-on): New function.
8993
8994 * vc/vc.el (vc-revert, vc-rollback):
8995 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8996 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8997 (Bug#6183) (Bug#7074) (Bug#7447)
8998
8999 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9000
9001 * window.el (frame-auto-hide-function): Add version tag.
9002 (Bug#9699)
9003
9004 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9005
9006 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9007 condition.
9008
9009 2011-10-09 Leo Liu <sdl.web@gmail.com>
9010
9011 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9012 (Bug#9701)
9013
9014 2011-10-08 Glenn Morris <rgm@gnu.org>
9015
9016 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9017 before the first code statement zero indent. (Bug#9690)
9018
9019 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9020
9021 * simple.el (count-words-region): Always count in the region.
9022 Report the number of lines and characters too.
9023 (count-words): New command, which counts in the buffer if the
9024 region is inactive, as count-words-region used to.
9025 (count-words--message): New function. Handle plurals.
9026 (count-lines-region): Make it an alias for count-words-region.
9027
9028 * bindings.el (esc-map): Replace count-lines-region with
9029 count-words-region.
9030
9031 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9032
9033 * window.el (window--delete): Delete dedicated frame
9034 unconditionally when argument KILL is non-nil. (Bug#9699)
9035 (switch-to-buffer): Fix doc-string typo.
9036
9037 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9038
9039 * eshell/eshell.el (eshell-command): Avoid using hooks.
9040
9041 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9042
9043 * bindings.el ([M-left],[M-right]): Bind to left-word and
9044 right-word respectively.
9045
9046 2011-10-07 Glenn Morris <rgm@gnu.org>
9047
9048 * cus-start.el (debug-on-quit): Fix custom type.
9049
9050 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9051
9052 * subr.el (define-key-after): Clarify that the function is not
9053 useful for non-menu keymaps.
9054
9055 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9056
9057 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9058
9059 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9060 in current minibuffer (Fix bug with recursive minibuffers).
9061
9062 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9063
9064 * progmodes/gdb-mi.el (gdb): Doc fix.
9065
9066 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9067
9068 * window.el (frame-auto-hide-function): New option replacing
9069 frame-auto-delete. Suggested by Stefan Monnier.
9070 (window--delete): Call frame-auto-hide-function instead of
9071 investigating frame-auto-delete.
9072 (window-point-1, set-window-point-1): New functions.
9073 (window-in-direction, record-window-buffer, window-state-get-1)
9074 (display-buffer-record-window): Use window-point-1 instead of
9075 window-point.
9076 (set-window-buffer-start-and-point): Use set-window-point-1.
9077
9078 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9081
9082 2011-10-05 Glenn Morris <rgm@gnu.org>
9083
9084 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9085 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9086
9087 2011-10-05 Leo Liu <sdl.web@gmail.com>
9088
9089 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9090 works with buffer object.
9091
9092 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * mpc.el (mpc-tool-bar-map): Add labels.
9095
9096 2011-10-04 Glenn Morris <rgm@gnu.org>
9097
9098 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9099
9100 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9101
9102 * window.el (window--delete): New function.
9103 (frame-auto-delete): Resuscitate option.
9104 (bury-buffer, replace-buffer-in-windows)
9105 (quit-window): Rewrite using window--delete.
9106 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9107 Pass display-buffer-mark-dedicated to window--display-buffer-2
9108 (Bug#9639).
9109
9110 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9113 returns a list (bug#9554). Add remote file name completion.
9114 * comint.el (comint--table-subvert): Curry and get quote&unquote
9115 functions as arguments.
9116 (comint--complete-file-name-data): Adjust call accordingly.
9117 * pcomplete.el (pcomplete--table-subvert): Remove.
9118 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9119
9120 * minibuffer.el (completion-table-case-fold): Use currying.
9121 (completion--styles-type, completion--cycling-threshold-type):
9122 New constants.
9123 (completion-styles, completion-category-overrides)
9124 (completion-cycle-threshold): Use them.
9125 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9126 completion-table-case-fold.
9127
9128 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9129
9130 * minibuffer.el (completion-category-overrides): Fix type of styles
9131 and add more user friendly tags (bug#9660).
9132
9133 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9135 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9136 (mule-input-method-string): New widget.
9137 (default-input-method, language-info-custom-alist): Use it.
9138
9139 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * pcomplete.el: Require comint.
9142 (pcomplete--common-suffix): Remove.
9143 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9144 (pcomplete--table-subvert): Sync with comint--table-subvert.
9145 (pcomplete--entries): Use comint-completion-file-name-table.
9146 * comint.el (comint-unquote-filename): Simplify.
9147 (comint-completion-file-name-table): New function (bug#9616).
9148 (comint--complete-file-name-data): Use it.
9149
9150 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9151 (pcmpl-gnu-tar-buffer): Remove.
9152 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9153 around. Make sure pcomplete-suffix-list is only changed temporarily.
9154 Don't look inside the tar's file if it's too large.
9155
9156 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9157
9158 * cus-edit.el (custom-mode-map):
9159 * epa.el (epa-key-list-mode-map):
9160 * man.el (Man-mode-map):
9161 * startup.el (splash-screen-keymap):
9162 * simple.el (special-mode-map): Use scroll-up-command and
9163 scroll-down-command.
9164
9165 * progmodes/idlw-help.el (idlwave-help-mode-map):
9166 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9167 * net/newst-plainview.el (newsticker-mode-map):
9168 * emulation/ws-mode.el (wordstar-mode-map):
9169 * emulation/vi.el (vi-com-map):
9170 * calc/calc-graph.el (calc-graph-show-dumb):
9171 * term/sun.el (terminal-init-sun):
9172 * term/ns-win.el (global-map):
9173 * progmodes/grep.el (grep-mode-map):
9174 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9175 * mail/rmail.el (rmail-mode-map):
9176 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9177
9178 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9179 custom-safe-themes as special.
9180
9181 2011-10-01 Julien Danjou <julien@danjou.info>
9182
9183 * notifications.el (notifications-notify): Fix docstring.
9184
9185 2011-10-01 Per Starbäck <per@starback.se>
9186
9187 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9188
9189 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9190
9191 * startup.el (command-line-1): Fix last fix by inserting
9192 initial-scratch-message into *scratch* before displaying it.
9193 (Bug#9605) and (Bug#9636)
9194
9195 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9196
9197 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9198 window is hscrolled, move by logical lines. (Bug#9607)
9199 (line-move-visual): Update the doc string to the above effect.
9200
9201 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9202
9203 * window.el (display-buffer-record-window): When WINDOW is the
9204 selected window use `point' instead of `window-point'. (Bug#9626)
9205
9206 * startup.el (command-line-1): Use insert-before-markers when
9207 inserting initial-scratch-message. (Bug#9605)
9208
9209 * help.el (help-window): Remove variable.
9210
9211 2011-09-29 Glenn Morris <rgm@gnu.org>
9212
9213 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9214
9215 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9216
9217 * descr-text.el (describe-char-categories): Accept category
9218 descriptions more than one line long.
9219
9220 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9221
9222 * simple.el (delete-trailing-whitespace): Fix last change.
9223
9224 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9225 Don't confuse "y => 3" as the beginning of a `y' operation.
9226
9227 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9228 object has more than 4 slots (bug#9613).
9229
9230 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9231
9232 * subr.el (with-output-to-temp-buffer):
9233 * net/quickurl.el (quickurl, quickurl-browse-url):
9234 Fix typos in docstrings.
9235
9236 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9237
9238 * minibuffer.el (completion-styles)
9239 (completion-category-overrides): Cross reference each other in doc
9240 strings.
9241
9242 2011-09-27 Glenn Morris <rgm@gnu.org>
9243
9244 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9245 to split-string. (Bug#9606)
9246
9247 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9248
9249 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9250 (bug#9615).
9251
9252 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9253
9254 * emacs-lisp/package.el (list-packages): Fix echo area message.
9255
9256 2011-09-27 Leo Liu <sdl.web@gmail.com>
9257
9258 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9259
9260 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9261
9262 * net/dbus.el (dbus-unregister-object): Don't release services for
9263 registered signals. (Bug#9581)
9264
9265 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9266
9267 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9268 function that picks between cfengine 2 and 3 support
9269 automatically. Update docs accordingly.
9270
9271 2011-09-22 Kenichi Handa <handa@m17n.org>
9272
9273 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9274 ZERO.
9275 (indian-itrans-v5-table-for-tamil): New variable.
9276 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9277
9278 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9279
9280 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9281 that's true if the current command involved collapsing of text.
9282 It's reset to false at the beginning of the next command.
9283 (allout-post-command-business): Move the cursor to the beginning
9284 of entry if the cursor is hidden and collapsing activity just
9285 happened.
9286
9287 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9288
9289 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9290 tracking (Bug#9541).
9291
9292 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9293
9294 * net/newst-reader.el (newsticker-html-renderer)
9295 (newsticker-show-news): Automatically load html rendering package
9296 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9297 because w3m-fill-column is let-bound" and the error "Symbol's value
9298 as variable is void: w3m-fill-column".
9299
9300 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9301
9302 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9303 Release services only if they are defined. (Bug#9581)
9304
9305 2011-09-23 Richard Stallman <rms@gnu.org>
9306
9307 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9308 distinguish start of paragraph from start of its text.
9309
9310 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9311
9312 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9313 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9314 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9315
9316 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9317
9318 * international/mule-diag.el (mule-diag): Insert a newline after
9319 each fontset description.
9320
9321 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9322
9323 * simple.el (delete-trailing-whitespace):
9324 Document last change; simplify.
9325
9326 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9327
9328 * simple.el (delete-trailing-whitespace): Also delete
9329 extra newlines at the end of the buffer.
9330
9331 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9332 (picture-newline): Use forward-line so as to ignore fields.
9333
9334 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 * subr.el (with-wrapper-hook): Fix edebug spec.
9337
9338 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9339
9340 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9341 (bug#4538).
9342
9343 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9344
9345 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9346 Fix nasty bug using wrong cached values.
9347
9348 2011-09-23 Alan Mackenzie <acm@muc.de>
9349
9350 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9351
9352 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9353
9354 * window.el (pop-to-buffer): Ensure right window is selected if we
9355 chose another frame.
9356
9357 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9358
9359 * simple.el (what-cursor-position): Use get-char-property-change
9360 and next-single-char-property-change, to be able to show display
9361 properties that come from overlays as well as text properties.
9362
9363 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9364
9365 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9366
9367 * cmuscheme.el (run-scheme, switch-to-scheme):
9368 * cus-edit.el (customize-group, custom-buffer-create)
9369 (customize-browse):
9370 * info.el (info):
9371 * shell.el (shell):
9372 * mail/sendmail.el (mail):
9373 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9374
9375 2011-09-22 Richard Stallman <rms@gnu.org>
9376
9377 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9378 move back only to line beg, don't move back over blank lines.
9379
9380 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9381
9382 * files.el (copy-directory): Set directory attributes only in case
9383 they could be retrieved from the source directory. (Bug#9565)
9384
9385 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9386
9387 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9388 (hs-find-block-beginning, hs-hide-level-recursive):
9389 Ignore strings as well as comments. (Bug#9502)
9390
9391 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9392
9393 * progmodes/sql.el (sql-comint-postgres):
9394 Convert port number to a string. (Bug#9566)
9395
9396 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9397
9398 * window.el (quit-window): Undedicate window when switching to
9399 previous buffer. Reported by Thierry Volpiatto
9400 <thierry.volpiatto@gmail.com>.
9401 (special-display-popup-frame): When popping up a new frame reset
9402 its previous buffers to nil. Simplify code.
9403
9404 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9405
9406 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9407 and process filter, as done also in `shell-command'.
9408
9409 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9410
9411 * window.el (set-window-buffer-start-and-point):
9412 Call set-window-start with NOFORCE argument t.
9413 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9414 (quit-window): Reword doc-string. Handle new format of
9415 quit-restore parameter. Don't delete window if it has a
9416 previous buffer we can show instead of the present one.
9417 (display-buffer-record-window): Rewrite using a new format for
9418 the quit-restore window parameter
9419 (special-display-popup-frame, display-buffer-same-window)
9420 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9421 (display-buffer-pop-up-window, display-buffer-use-some-window):
9422 Adapt symbol passed to display-buffer-record-window.
9423 * help.el (help-window-setup): Handle new format of quit-restore
9424 parameter.
9425
9426 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9427
9428 * faces.el (face-list): Fix docstring (bug#9564).
9429
9430 * window.el (display-buffer--action-function-custom-type):
9431 Don't include internal functions in the Custom interface.
9432
9433 2011-09-20 Juri Linkov <juri@jurta.org>
9434
9435 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9436 (Info-forward-node, Info-backward-node, Info-next-preorder)
9437 (Info-last-preorder): Use it. (Bug#9528)
9438
9439 2011-09-20 Juri Linkov <juri@jurta.org>
9440
9441 * info.el (Info-last-preorder): Visit last menu item only when
9442 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9443
9444 2011-09-20 Julien Danjou <julien@danjou.info>
9445
9446 * password-cache.el (password-cache-remove): Remove entries even if the
9447 value is nil, so that password with a nil value (negative caching) is
9448 possible to invalidate.
9449
9450 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9451
9452 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9453 all whitespace around breakpoint. (Bug#9553)
9454 (f90-find-breakpoint): Only break at whitespace inside a comment.
9455
9456 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * minibuffer.el (completion-file-name-table): Keep track of errors.
9459 (completion-table-with-predicate): Handle the case where pred1 is nil.
9460 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9461
9462 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9463
9464 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9465 (debugger-return-value): Signal an error if the debugging context does
9466 not await any return value.
9467
9468 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9469 * image-mode.el (image-toggle-display-text)
9470 (image-toggle-display-image): Stay away from evil `intangible'.
9471
9472 2011-09-19 Leo Liu <sdl.web@gmail.com>
9473
9474 * replace.el (occur-revert-arguments): Make it permanent-local.
9475 (occur-mode): Don't call font-lock-defontify.
9476
9477 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9478
9479 * net/ldap.el (ldap-search-internal): Don't push empty search
9480 result (Bug#9508).
9481
9482 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9485
9486 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9487
9488 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9489 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9490
9491 2011-09-18 Juri Linkov <juri@jurta.org>
9492
9493 * buff-menu.el (Buffer-menu-mode-map):
9494 * dired.el (dired-mode-map):
9495 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9496 (lisp-interaction-mode-map):
9497 * emacs-lisp/package.el (package-menu-mode-map):
9498 * epa.el (epa-key-list-mode-map):
9499 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9500 (menu-bar-options-menu):
9501 * outline.el (outline-mode-menu-bar-map):
9502 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9503 * vc/vc-dir.el (vc-dir-menu-map):
9504 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9505 Capitalize non-function content words in menu item strings.
9506
9507 * dired.el (dired-mode-map): Add menu item for
9508 `image-dired-dired-toggle-marked-thumbs'.
9509
9510 2011-09-18 Juri Linkov <juri@jurta.org>
9511
9512 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9513 to `isearch-case-fold-search' and restore its original value
9514 after the `isearch-mode' call.
9515
9516 2011-09-18 Juri Linkov <juri@jurta.org>
9517
9518 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9519 because `zgrep' returns 1 for successful matches (bug#9226).
9520
9521 2011-09-18 Juri Linkov <juri@jurta.org>
9522
9523 * info.el (Info-extract-menu-node-name): Check the second match
9524 for empty string (second test-case of bug#9528).
9525 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9526 intermediate nodes to the history (first test-case of bug#9528).
9527
9528 2011-09-18 Juri Linkov <juri@jurta.org>
9529
9530 * info.el (Info-mode-syntax-table): New variable.
9531 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9532
9533 2011-09-18 Juri Linkov <juri@jurta.org>
9534
9535 * info.el (Info-file-supports-index-cookies):
9536 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9537 outputs one more line for long file names (bug#4142).
9538
9539 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9540
9541 * newcomment.el (comment-normalize-vars): If prompting for
9542 comment-start, set comment-start-skip too (Bug#8424).
9543
9544 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9545
9546 * icomplete.el: Fix previous fix of Bug#5849.
9547 (icomplete-mode): Don't set completion-show-inline-help.
9548 (icomplete-minibuffer-setup): Set completion-show-inline-help
9549 locally during icompletion.
9550
9551 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9552
9553 * woman.el (woman2-process-escapes): Don't delete unrecognized
9554 escapes (Bug#7843).
9555
9556 * files.el (inhibit-first-line-modes-regexps): Add image files.
9557 (hack-local-variables-prop-line): Return nil for malformed
9558 prop-lines (Bug#9044).
9559
9560 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
9561
9562 * net/tramp.el (top): Don't require 'shell.
9563 (tramp-methods): Fix docstring.
9564 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9565 Return complete remote file name. Handle "smb" case.
9566 Use `tramp-tmpdir', if defined for the respective method.
9567 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9568
9569 * net/tramp-compat.el (top): Require 'shell.
9570
9571 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9572 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9573 `tramp-current-host'.
9574 (tramp-get-remote-tmpdir): Remove.
9575
9576 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9577 `tramp-tmpdir' entries.
9578 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9579 (tramp-smb-handle-file-attributes): Ignore errors.
9580 (tramp-smb-wait-for-output): Check also for process end.
9581
9582 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9583
9584 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9585 when sending QUIT (bug#9312).
9586
9587 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
9588
9589 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9590 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9591 occur-mode-display-occurrence.
9592 (occur-edit-mode): Add usage message.
9593 (occur-cease-edit): New command.
9594 (occur-after-change-function): Use text properties to find the
9595 position of the prefix text.
9596 (occur-engine): Set stickiness of prefix text properties.
9597
9598 2011-09-17 Glenn Morris <rgm@gnu.org>
9599
9600 * progmodes/etags.el (complete-tag):
9601 Fix call to completion-in-region. (Bug#9526)
9602
9603 2011-09-17 Juri Linkov <juri@jurta.org>
9604
9605 * textmodes/ispell.el (ispell-word): Add to the error message
9606 the word, ispell program name and current dictionary (bug#9121).
9607 (ispell-tex-arg-end): Capitalize "error" in the error message.
9608
9609 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9610
9611 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9612 check. (Bug#4251)
9613
9614 2011-09-17 Juri Linkov <juri@jurta.org>
9615
9616 * window.el (window-safe-min-height, window-safe-min-width):
9617 Fix typos (followup to bug#9522).
9618
9619 2011-09-17 Sven Joachim <svenjoac@gmx.de>
9620
9621 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9622
9623 2011-09-16 Eli Zaretskii <eliz@gnu.org>
9624
9625 * simple.el (line-move): If goal-column is set, move by logical
9626 lines, not by display lines. (Bug#971)
9627 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9628 to reflect the above change.
9629
9630 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9631
9632 * image.el (imagemagick-register-types): Use regexp-opt.
9633
9634 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9635
9636 * window.el (display-buffer-base-action): Rename from
9637 display-buffer-default-action. Make default value empty.
9638 (display-buffer-overriding-action): Convert to defvar.
9639 (display-buffer-fallback-action): New var.
9640
9641 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9642
9643 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9644 declaration.
9645 (package--add-to-archive-contents): If there is a duplicate entry
9646 with an older version, remove it.
9647 (package-menu-mark-delete, package-menu-mark-install)
9648 (package-menu-mark-unmark): Make unused args optional.
9649 (package-menu-mark-obsolete-for-deletion):
9650 Use package-menu-get-status instead of a regexp search.
9651 (package-menu-get-status): Use tabulated-list-entry.
9652 (package-menu-mark-upgrades): New command.
9653 (package-menu-mode-map): Bind it to U. Add it to menu bar.
9654 (package-menu-execute): Do installation before deletion.
9655 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9656 instead of checking major-mode.
9657 (package-menu--find-upgrades): New function.
9658
9659 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9660
9661 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9662 passwords in the log buffer.
9663 (smtpmail-process-filter): Update the process marker so that the
9664 "broken by peer" status message is inserted in the right place.
9665
9666 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9667
9668 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9669 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9670 bibtex-completion-at-point-function.
9671 (bibtex-completion-at-point-function): Use them.
9672
9673 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9674
9675 * mpc.el (mpc-constraints-tag-lookup): New function.
9676 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9677 also to browser "album|playlist".
9678
9679 2011-09-14 Juri Linkov <juri@jurta.org>
9680
9681 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9682 (isearch-edit-string): Use length of `isearch-string' when
9683 `isearch-fail-pos' returns nil.
9684 (isearch-message): Remove duplicate code and call
9685 `isearch-fail-pos' with arg `t'.
9686
9687 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9688
9689 * replace.el (occur-mode-goto-occurrence): Don't force using other
9690 window (Bug#9499).
9691
9692 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9693
9694 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9695
9696 * window.el (display-buffer-window): Remove.
9697 (display-buffer-record-window): Use help-setup window parameter
9698 instead of variable display-buffer-window.
9699 (display-buffer-function, special-display-buffer-names)
9700 (special-display-function): Mention help-setup parameter instead
9701 of display-buffer-window in doc-string.
9702 * help.el (help-window-setup): New argument help-window.
9703 Use help-window-setup parameter instead of display-buffer-window.
9704 Reword some messages.
9705 (with-help-window): Pass window used for displaying the buffer
9706 to help-window-setup. Don't set display-buffer-window.
9707
9708 2011-09-13 Glenn Morris <rgm@gnu.org>
9709
9710 * emacs-lisp/debug.el (debugger-make-xrefs):
9711 Preserve point. (Bug#9462)
9712
9713 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9714
9715 * window.el (window-deletable-p): Use next-frame.
9716
9717 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9718
9719 * window.el (window-auto-delete): Remove.
9720 (window-deletable-p): Remove argument FORCE. Don't deal with
9721 dedication and previous buffers.
9722 (switch-to-prev-buffer): Don't delete window.
9723 (delete-windows-on): Delete a window's frame if and only if the
9724 window is dedicated.
9725 (replace-buffer-in-windows): Delete buffer's window or frame if
9726 and only if window is dedicated.
9727 (quit-window): Handle quit-restore as before last change.
9728 (bury-buffer): Delete window only if window-deletable-p returns t.
9729
9730 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9731
9732 * window.el (window-deletable-p): Never delete the last frame on a
9733 given terminal.
9734
9735 2011-09-13 Glenn Morris <rgm@gnu.org>
9736
9737 * help.el (describe-key-briefly): Copy previous standard-output change.
9738
9739 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9740
9741 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9742
9743 2011-09-13 Glenn Morris <rgm@gnu.org>
9744
9745 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9746 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9747
9748 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9749
9750 * dired-aux.el (dired-mark-read-string): Don't return default
9751 value on empty input (Bug#9361).
9752 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9753 Omit initial minibuffer contents.
9754 (dired-do-chmod): Signal an error on empty input.
9755 (dired-mark-read-string): Don't return default on empty input.
9756
9757 * files.el (file-modes-symbolic-to-number): Doc fix.
9758
9759 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * international/mule-cmds.el (ucs-completions): Remove.
9762 (read-char-by-name): Use complete-with-action instead; add metadata.
9763
9764 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9765
9766 * window.el (display-buffer--action-function-custom-type)
9767 (display-buffer--action-custom-type): New vars.
9768 (display-buffer-alist, display-buffer-default-action)
9769 (display-buffer-overriding-action): Add defcustom types.
9770
9771 * frame.el (delete-other-frames): Doc fix (Bug#276).
9772
9773 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9774
9775 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9776
9777 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9778
9779 Change modes that used same-window-* vars to use switch-to-buffer.
9780
9781 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9782 Use switch-to-buffer.
9783
9784 * cus-edit.el (customize-group, custom-buffer-create)
9785 (customize-browse, custom-buffer-create-other-window):
9786 Use switch-to-buffer or switch-to-buffer-other-window.
9787
9788 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9789 (Info-prev, Info-up, Info-speedbar-goto-node)
9790 (info-display-manual): Use switch-to-buffer.
9791 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9792
9793 * mail/sendmail.el (mail): Use switch-to-buffer.
9794 (mail-recover): Use switch-to-buffer-other-window.
9795
9796 * cmuscheme.el (run-scheme, switch-to-scheme):
9797 * ielm.el (ielm):
9798 * shell.el (shell):
9799 * net/rlogin.el (rlogin):
9800 * net/telnet.el (telnet, rsh):
9801 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9802
9803 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9804
9805 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9806
9807 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9808
9809 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9810 so don't mention it (bug#9301).
9811 (dired-sort-toggle-or-edit): Clarify string further.
9812
9813 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9814 match `x', `w32' and `ns', like the manual says (bug#9029).
9815
9816 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9817 (process-kill-buffer-query-function): Mention the buffer name in
9818 the query.
9819
9820 * image-mode.el (image-next-line): The line parameter is mandatory
9821 (bug#9258).
9822
9823 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9824 which can be useful (bug#9301).
9825
9826 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9827
9828 * subr.el (match-string): Mention that the current buffer should
9829 be the same as the search was done in (bug#9282).
9830
9831 * facemenu.el: Disable the remove-* commands if the mark isn't
9832 active (bug#9162).
9833
9834 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9835
9836 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9837 of display-buffer.
9838 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9839
9840 * replace.el (occur-mode-goto-occurrence)
9841 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9842 and display-buffer.
9843
9844 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9845 display-buffer.
9846
9847 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9848 special-display and same-window variables.
9849 (mail-other-window): Use switch-to-buffer-other-window.
9850 (mail-other-frame): USe switch-to-buffer-other-frame.
9851
9852 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9853 Use display-buffer-other-frame.
9854 (gdb-display-gdb-buffer): Use pop-to-buffer.
9855
9856 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9857
9858 * progmodes/python.el: Don't set same-window-buffer-names.
9859
9860 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9861
9862 * window.el (display-buffer-alist): Add *Python*.
9863
9864 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9865
9866 * window.el (display-buffer-alist): Add entry for buffers
9867 previously handled same-window-*.
9868 (display-buffer-alist, display-buffer-default-action)
9869 (display-buffer-overriding-action): Mark as risky.
9870 (display-buffer-alist): Document action function changes.
9871 (display-buffer--same-window-action)
9872 (display-buffer--other-frame-action): New variables.
9873 (switch-to-buffer, display-buffer-other-frame): Use them.
9874 (display-buffer): Rename reuse-frame entry to reusable-frames.
9875 (display-buffer-reuse-selected-window): Function deleted.
9876 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9877 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9878 (display-buffer-special): New function.
9879 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9880 display-buffer-reuse-or-pop-window. Split off special-display
9881 part into display-buffer-special.
9882 (display-buffer-use-some-window): Don't perform any special
9883 pop-up-frames handling.
9884 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9885 (display-buffer--maybe-same-window): Rename from
9886 display-buffer-maybe-same-window.
9887
9888 * info.el: Don't set same-window-regexps.
9889 (info-setup): New function.
9890 (info-other-window, info): Call it.
9891
9892 * cus-edit.el: Don't set same-window-regexps.
9893 (customize-group): New argument.
9894 (customize-group-other-window): Use it.
9895 (customize-face, customize-face-other-window): Likewise.
9896 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9897
9898 * net/rlogin.el:
9899 * net/telnet.el:
9900 * progmodes/gud.el: Don't set same-window-regexps.
9901
9902 * cmuscheme.el:
9903 * ielm.el:
9904 * shell.el:
9905 * mail/sendmail.el:
9906 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9907
9908 2011-09-10 Juri Linkov <juri@jurta.org>
9909
9910 * isearch.el (isearch-edit-string): Remove obsolete mention of
9911 `C-w' (`isearch-yank-word-or-char') from docstring.
9912 (isearch-query-replace): Fix typo in docstring (bug#9466).
9913
9914 2011-09-10 Juri Linkov <juri@jurta.org>
9915
9916 * paren.el (show-paren-function): Don't show escaped parens.
9917 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9918
9919 2011-09-10 Eli Zaretskii <eliz@gnu.org>
9920
9921 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9922 (mm-default-file-encoding): Remove autoload forms, they are
9923 replaced with autoload cookies in mml.el and mm-encode.el.
9924 (mail-add-attachment): New command.
9925 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9926 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9927 the doc string.
9928 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9929
9930 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9931
9932 * simple.el (count-words-region): Use buffer if there's no region
9933 (bug#9429).
9934
9935 2011-09-09 Juri Linkov <juri@jurta.org>
9936
9937 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9938 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9939 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9940
9941 2011-09-09 Alan Mackenzie <acm@muc.de>
9942
9943 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9944 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9945
9946 2011-09-09 Eli Zaretskii <eliz@gnu.org>
9947
9948 Fix for Savannah bug#9392.
9949 * simple.el (mail-encode-mml): New defvar.
9950
9951 * mail/rmail.el (mail-encode-mml): Add a defvar.
9952 (rmail-enable-mime-composing): Default to t.
9953 (rmail-forward): Use MIME method of forwarding only if both
9954 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9955 Set mail-encode-mml non-nil if the MIME method was used.
9956
9957 * mail/sendmail.el (mml-to-mime): Add autoload form.
9958 (mail-encode-mml): Add a defvar.
9959 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9960 to nil.
9961 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9962 message through mml-to-mime, and reset mail-encode-mml to nil.
9963
9964 2011-09-09 Glenn Morris <rgm@gnu.org>
9965
9966 * woman.el (woman-if-body): When processing an .el block,
9967 do not delete the next .el block as well. (Bug#9447)
9968 (woman-special-characters): Add oq, cq, and hy characters.
9969
9970 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9971
9972 * window.el (window-deletable-p): Make sure window is live before
9973 invoking window-prev-buffers.
9974
9975 2011-09-08 Leo Liu <sdl.web@gmail.com>
9976
9977 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9978
9979 2011-09-08 Juri Linkov <juri@jurta.org>
9980
9981 * progmodes/compile.el (compilation-environment): Make it
9982 a defcustom (bug#8340).
9983
9984 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9985
9986 * window.el (frame-auto-delete): Rename to window-auto-delete.
9987 Make it control auto-deletion of windows and/or frames.
9988 (window-deletable-p): New argument FORCE. Rewrite conditions
9989 for deleting window/frame. (Bug#9419)
9990 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9991 Rewrite handling of case when window/frame can be deleted.
9992 (delete-windows-on): Call window-deletable-p with new FORCE
9993 argument t. (Bug#9456)
9994
9995 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9996
9997 * help-mode.el (help-mode): Restore autoload.
9998
9999 2011-09-07 Juri Linkov <juri@jurta.org>
10000
10001 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10002 `compilation-environment'. Set buffer-local
10003 `compilation-environment' to `thisenv' later after (funcall mode).
10004 (Bug#8340)
10005
10006 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10007 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10008 instead of replacing its value. (Bug#8340)
10009
10010 2011-09-07 Juri Linkov <juri@jurta.org>
10011
10012 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10013 based on text properties put by `grep-filter' instead of matching
10014 escape sequences.
10015 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10016 to the value of `grep-error-screen-columns' (bug#9438).
10017
10018 2011-09-07 Juri Linkov <juri@jurta.org>
10019
10020 * simple.el (next-error-highlight, next-error-highlight-no-select):
10021 Doc fix (bug#9432).
10022
10023 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10024
10025 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10026 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10027
10028 2011-09-07 Leo Liu <sdl.web@gmail.com>
10029
10030 * net/rcirc.el (rcirc-mode): Conditionally initialize
10031 rcirc-input-ring.
10032
10033 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10034
10035 * emacs-lisp/find-func.el (find-function-C-source): Only set
10036 find-function-C-source-directory after checking that we found a source
10037 file there (bug#9440).
10038
10039 2011-09-06 Alan Mackenzie <acm@muc.de>
10040
10041 * isearch.el (isearch-other-meta-char): Wherever a key list is
10042 unread, "unread" the prefix arg, too. This fixes bug #8901.
10043
10044 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10045
10046 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10047
10048 2011-09-05 Juri Linkov <juri@jurta.org>
10049
10050 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10051
10052 2011-09-05 Juri Linkov <juri@jurta.org>
10053
10054 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10055 keeping point where processing of grep matches begins, and
10056 continue to delete remaining escape sequences from the same point.
10057 (grep-filter): Make leading zero optional in "0?1;31m" because
10058 git-grep emits "\033[1;31m" escape sequences unlike expected
10059 "\033[01;31m" as GNU Grep does (bug#9408).
10060 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10061
10062 2011-09-05 Juri Linkov <juri@jurta.org>
10063
10064 * subr.el (y-or-n-p): Capitalize "yes".
10065
10066 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10067
10068 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10069 `tramp-cache-unload-hook' where appropriate.
10070 (tramp-methods): Rename `tramp-remote-sh' to
10071 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10072 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10073
10074 * net/tramp-sh.el (top): Don't require 'shell.
10075 (tramp-methods): Add `tramp-remote-shell' and
10076 `tramp-remote-shell-args' entries.
10077 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10078 (tramp-sh-handle-shell-command): Remove.
10079 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10080 Use `tramp-remote-shell'.
10081
10082 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10083
10084 * mail/sendmail.el (sendmail-query-once-function): Delete.
10085 (sendmail-query-once): Save directly to send-mail-function.
10086 Update message-send-mail-function too.
10087
10088 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10089
10090 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10091
10092 * progmodes/python.el (python-mode-map): Use correct function to
10093 start python interpreter from menu-bar (as reported by Geert
10094 Kloosterman).
10095 (inferior-python-mode-map): Fix typo.
10096 (python-shell-map): Remove.
10097
10098 2011-09-03 Deniz Dogan <deniz@dogan.se>
10099
10100 * net/rcirc.el (rcirc-print): Simplify code for
10101 rcirc-scroll-show-maximum-output. There is no need to walk
10102 through all windows to find the right one.
10103
10104 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10105
10106 * help.el (help-return-method): Doc fix.
10107
10108 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10109
10110 * window.el (window-deletable-p): Don't return a non-nil value
10111 when there's a buffer that was shown in the window before.
10112 (Bug#9419)
10113 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10114 Set window's previous buffers to nil.
10115
10116 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10117
10118 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10119 newline before and after the tag line, so it doesn't interfere
10120 with determining the paragraph direction of bidirectional text.
10121
10122 2011-09-03 Leo Liu <sdl.web@gmail.com>
10123
10124 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10125
10126 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10127
10128 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10129 (pop-to-buffer): Change interactive spec. Pass second argument
10130 directly to display-buffer.
10131 (display-buffer): Fix interactive spec. Use functionp to
10132 distinguish between a function and a list of functions.
10133
10134 * abbrev.el (edit-abbrevs):
10135 * arc-mode.el (archive-extract):
10136 * autoinsert.el (auto-insert):
10137 * bookmark.el (bookmark-bmenu-list):
10138 * files.el (find-file):
10139 * view.el (view-buffer):
10140 * progmodes/compile.el (compilation-goto-locus):
10141 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10142
10143 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10144
10145 * window.el (display-buffer-alist): Doc fix.
10146 (display-buffer): Add docstring. Don't treat
10147 display-buffer-default specially.
10148 (display-buffer-reuse-selected-window)
10149 (display-buffer-same-window, display-buffer-maybe-same-window)
10150 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10151 (display-buffer-pop-up-window)
10152 (display-buffer-reuse-or-pop-window)
10153 (display-buffer-use-some-window): New functions.
10154 (display-buffer-default-action): Use them.
10155 (display-buffer-default): Delete.
10156 (pop-to-buffer-1): Fix choice of actions.
10157
10158 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 * minibuffer.el (completion--insert-strings): Don't get confused by
10161 completion entries that end with an LF char.
10162
10163 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10164
10165 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10166
10167 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10168
10169 * window.el (display-buffer): Restore interactive spec.
10170 (display-buffer-same-window, display-buffer-other-window):
10171 New functions.
10172 (pop-to-buffer-1): New function. Use the above.
10173 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10174 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10175
10176 * view.el (view-buffer-other-window, view-buffer-other-frame):
10177 Just use pop-to-buffer.
10178
10179 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10180
10181 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10182
10183 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10184
10185 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10186
10187 2011-08-31 Richard Stallman <rms@gnu.org>
10188
10189 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10190 of the separation of rmail-view-buffer from rmail-buffer.
10191 If you say no to "replace original", the decrypt is in the
10192 view buffer. If you say yes, the decrypt goes into the
10193 rmail buffer also.
10194
10195 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10196
10197 * window.el (display-buffer-window): Rewrite doc-string.
10198 (display-buffer-record-window): New function.
10199 (display-buffer-macro-specifiers)
10200 (display-buffer-even-window-sizes, display-buffer-set-height)
10201 (display-buffer-set-width, display-buffer-in-window)
10202 (display-buffer-reuse-window, display-buffer-split-specifiers)
10203 (display-buffer-side-specifiers, display-buffer-split-window-1)
10204 (display-buffer-split-window, display-buffer-split-atom-window)
10205 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10206 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10207 (display-buffer-other-window-means-other-frame)
10208 (display-buffer-normalize-special)
10209 (display-buffer-normalize-default)
10210 (display-buffer-normalize-argument)
10211 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10212 (display-buffer-normalize-specifiers, display-buffer-frame)
10213 (display-buffer-same-window, display-buffer-same-frame)
10214 (display-buffer-other-window)
10215 (display-buffer-same-frame-other-window)
10216 (display-buffer-other-frame, pop-to-buffer-same-window)
10217 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10218 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10219 (switch-to-buffer-same-frame)
10220 (switch-to-buffer-other-window-same-frame)
10221 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10222 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10223 (display-buffer-alist-set): Remove.
10224 (display-buffer-function, special-display-buffer-names)
10225 (special-display-regexps, special-display-function):
10226 In doc-string refer to display-buffer-window and quit-restore
10227 parameter.
10228 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10229 (special-display-frame-alist, special-display-popup-frame)
10230 (same-window-buffer-names, same-window-regexps, same-window-p)
10231 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10232 (split-window-preferred-function, split-height-threshold)
10233 (split-width-threshold, window-splittable-p)
10234 (split-window-sensibly, window--try-to-split-window)
10235 (window--frame-usable-p, even-window-heights)
10236 (window--even-window-heights, window--display-buffer-1)
10237 (window--display-buffer-2, display-buffer-other-frame):
10238 Restore old Emacs 23 code, order and doc-strings where applicable.
10239 (display-buffer-default, display-buffer-assq-regexp): New functions.
10240 (display-buffer-alist): Rewrite doc-string.
10241 (display-buffer-default-action)
10242 (display-buffer-overriding-action): New variables.
10243 (display-buffer, switch-to-buffer): Rewrite.
10244 (pop-to-buffer): Restore Emacs 23 behavior but use
10245 window-normalize-buffer-to-display.
10246 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10247 Restore Emacs 23 behavior but use
10248 window-normalize-buffer-to-switch-to.
10249 (pop-to-buffer-same-window): Rewrite.
10250 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10251 Rewrite using Emacs 23 options.
10252
10253 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10254
10255 * net/tramp.el (tramp-root-regexp): Remove.
10256 (tramp-completion-file-name-regexp-unified)
10257 (tramp-completion-file-name-regexp-separate)
10258 (tramp-completion-file-name-regexp-url): Don't use leading volume
10259 letter on win32 systems. (Bug#5303, Bug#9311)
10260 (tramp-drop-volume-letter): Simplify definition.
10261 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10262
10263 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10264
10265 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10266 (bug#9356).
10267
10268 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10269
10270 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10271
10272 2011-08-29 Juri Linkov <juri@jurta.org>
10273
10274 * isearch.el (isearch-done): Don't display message "Mark saved"
10275 when arg `edit' is non-nil to prevent its flicker in the echo area.
10276
10277 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10278
10279 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10280 obsolete packages for deletion.
10281
10282 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10283
10284 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10285 (help-mode): Derive help-mode from special-mode. Don't invoke
10286 view-mode from help-mode.
10287 (help-xref-override-view-map): Remove.
10288 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10289 view-mode is not used anymore.
10290
10291 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10292
10293 * server.el (server-port): Doc fix.
10294
10295 * cus-theme.el (custom-theme-choose-mode): Inherit from
10296 special-mode (Bug#9124).
10297 (custom-theme-choose-mode-map): Add special-mode to parent.
10298
10299 2011-08-28 Alan Mackenzie <acm@muc.de>
10300
10301 * progmodes/cc-fonts.el
10302 (c-make-font-lock-BO-decl-search-function): New function.
10303 (c-basic-matchers-after - "Fontify the clauses after various
10304 keywords"): Extract the three keyword lists for the 3 erroneous
10305 constructs from the list of four, and use the new function above
10306 in place of an old one.
10307
10308 2011-08-28 Deniz Dogan <deniz@dogan.se>
10309
10310 * net/rcirc.el (rcirc-insert-prev-input)
10311 (rcirc-insert-next-input): Remove unused argument.
10312
10313 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10316
10317 2011-08-27 Alan Mackenzie <acm@muc.de>
10318
10319 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10320 handle function pointer parameters properly.
10321
10322 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10323
10324 * window.el (display-buffer-reuse-window): Fix case where
10325 selected window was reused with non-nil OTHER-WINDOW argument.
10326 (Bug#9381)
10327
10328 2011-08-27 Deniz Dogan <deniz@dogan.se>
10329
10330 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10331 oftc's NickServ messages.
10332
10333 2011-08-27 Glenn Morris <rgm@gnu.org>
10334
10335 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10336
10337 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10338
10339 * emacs-lisp/package.el (package-install): Call package-initialize
10340 if called interactively.
10341
10342 2011-08-26 Leo Liu <sdl.web@gmail.com>
10343
10344 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10345
10346 2011-08-25 Juri Linkov <juri@jurta.org>
10347
10348 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10349 `search-whitespace-regexp' (bug#9364).
10350
10351 2011-08-25 Juri Linkov <juri@jurta.org>
10352
10353 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10354 `regexp-search-ring' to their global values to protect from
10355 updating by `read-from-minibuffer' (bug#9185).
10356
10357 2011-08-25 Juri Linkov <juri@jurta.org>
10358
10359 * textmodes/ispell.el (ispell-command-loop): Add newline
10360 at the end of the "Use option `i'..." line.
10361
10362 2011-08-25 Juri Linkov <juri@jurta.org>
10363
10364 * battery.el (display-battery-mode): If `battery-status-function'
10365 or `battery-mode-line-format' is nil, display the message and set
10366 `display-battery-mode' to nil (bug#9363).
10367
10368 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10369
10370 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10371 bidi-string-mark-left-to-right; they are unnecessary now.
10372
10373 2011-08-25 Deniz Dogan <deniz@dogan.se>
10374
10375 * net/quickurl.el: Documentation typo fixes.
10376
10377 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10378
10379 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10380
10381 2011-08-25 Glenn Morris <rgm@gnu.org>
10382
10383 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10384
10385 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10386 (smtpmail-via-smtp): Handle nil response from smtp.
10387
10388 2011-08-24 Juri Linkov <juri@jurta.org>
10389
10390 * proced.el (proced-marked): Inherit from `error' instead of
10391 `font-lock-warning-face'.
10392
10393 * ibuffer.el (ibuffer-marked-face): Change default face from
10394 `font-lock-warning-face' to `warning'.
10395 (ibuffer-deletion-face): Change default face from
10396 `font-lock-type-face' to `error'.
10397
10398 * battery.el (battery-update): Use the face `error' instead of
10399 `font-lock-warning-face' (bug#6117).
10400
10401 2011-08-24 Juri Linkov <juri@jurta.org>
10402
10403 * faces.el (success): Change face color from "Green3" to
10404 "ForestGreen" on light background (bug#9353).
10405
10406 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10407
10408 * window.el (quit-window): Rename from quit-restore-window.
10409 Use same arglist as old quit-window.
10410 (frame-auto-delete): Doc fix.
10411
10412 * view.el (view-mode-exit): Use quit-window.
10413
10414 2011-08-24 Juri Linkov <juri@jurta.org>
10415
10416 * isearch.el (isearch-ring-adjust1): Start visiting previous
10417 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10418 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10419 for empty search string (when the last search string is reused
10420 automatically) to adjust the isearch ring to the last element and
10421 prepare the correct index for further M-p commands (bug#9185).
10422
10423 2011-08-24 Kenichi Handa <handa@m17n.org>
10424
10425 * international/ucs-normalize.el: If decomposition property of
10426 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10427 nil.
10428 (nfd, nfkd): Likewise.
10429
10430 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10433 from process filters aren't reliably transmitted to the surrounding
10434 accept-process-output.
10435 (mpc-proc-check): New function.
10436 (mpc-proc-sync): Use it (bug#8293)
10437
10438 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10439
10440 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10441 Add compatibility functions (bug#9313).
10442
10443 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10444
10445 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10446
10447 * international/uni-bidi.el: Regenerate.
10448
10449 2011-08-23 Kenichi Handa <handa@m17n.org>
10450
10451 * international/charprop.el:
10452 * international/uni-bidi.el:
10453 * international/uni-category.el:
10454 * international/uni-combining.el:
10455 * international/uni-comment.el:
10456 * international/uni-decimal.el:
10457 * international/uni-decomposition.el:
10458 * international/uni-digit.el:
10459 * international/uni-lowercase.el:
10460 * international/uni-mirrored.el:
10461 * international/uni-name.el:
10462 * international/uni-numeric.el:
10463 * international/uni-old-name.el:
10464 * international/uni-titlecase.el:
10465 * international/uni-uppercase.el: Regenerate.
10466
10467 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10468
10469 * help.el (help-window-setup): Fix message displayed when other
10470 window is reused. (Bug#9341)
10471
10472 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10473
10474 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10475 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10476
10477 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10478 Mark obsolete.
10479 * shell.el (shell-parse-pcomplete-arguments): New function.
10480 (shell-completion-vars): Use it instead (bug#9160).
10481
10482 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10483
10484 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10485 strings and comments (bug#9333).
10486
10487 * emacs-lisp/debug.el (debug-arglist): New function.
10488 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10489 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10490
10491 2011-08-22 Juri Linkov <juri@jurta.org>
10492
10493 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10494 Revert regexp that highlights output switches to its old
10495 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10496
10497 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10498 to check for empty output (bug#9226).
10499
10500 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10501
10502 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10503 symbol-constituent as the default, as that stops font-lock from
10504 working properly (Bug#8843).
10505
10506 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10507
10508 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10509 `coding-system-for-*' around the process open call to avoid
10510 auth-source side effects.
10511 (smtpmail-try-auth-methods): Expand the secret password.
10512 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10513 probe hangs.
10514
10515 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10516
10517 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10518
10519 * emacs-lisp/find-func.el (find-function-noselect): New arg
10520 lisp-only.
10521
10522 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10523 signal an error for built-in functions (Bug#6664).
10524
10525 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10526
10527 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10528 (smtpmail-try-auth-methods): Use it.
10529
10530 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10531
10532 * font-lock.el (font-lock-fontify-region)
10533 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10534 (font-lock-default-unfontify-buffer)
10535 (font-lock-default-fontify-region)
10536 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10537
10538 * progmodes/compile.el (compilation-error-properties):
10539 Fix confusion between file struct and message struct (Bug#9319).
10540 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10541 `ant' regexp.
10542
10543 * net/browse-url.el (browse-url-firefox): Don't call
10544 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10545
10546 2011-08-20 Glenn Morris <rgm@gnu.org>
10547
10548 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10549
10550 * tutorial.el (tutorial--default-keys): Update some default bindings.
10551
10552 * files.el (hack-local-variables): Fully ignore case for "mode:".
10553
10554 2011-08-20 Alan Mackenzie <acm@muc.de>
10555
10556 Resolve invalid use of a regexp in regexp-opt.
10557
10558 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10559 detection for a java annotation.
10560
10561 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10562 detection for a java annotation.
10563
10564 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10565 handling for java.
10566 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10567
10568 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
10569
10570 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10571 (Bug#9274).
10572
10573 2011-08-20 Alan Mackenzie <acm@muc.de>
10574
10575 Fontify CPP expressions correctly when starting in the middle of
10576 such a construct. Mainly for when jit-lock etc. starts a chunk
10577 here.
10578
10579 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
10580 variable.
10581 (c-make-font-lock-search-form): New function, extracted from
10582 c-make-font-lock-search-function.
10583 (c-make-font-lock-search-function): Use the above function.
10584 (c-make-font-lock-context-search-function): New function.
10585 (c-cpp-matchers): Enhance the preprocessor expression case with
10586 the above function
10587 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10588 which takes an expression.
10589
10590 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10591
10592 2011-08-20 Martin Rudalics <rudalics@gmx.at>
10593
10594 * window.el (display-buffer-reuse-window)
10595 (display-buffer-pop-up-window): Don't reuse or split a side
10596 window.
10597
10598 2011-08-19 Glenn Morris <rgm@gnu.org>
10599
10600 * files.el (hack-local-variables-prop-line, hack-local-variables):
10601 Downcase "Mode:". (Bug#9331)
10602
10603 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
10604
10605 * international/characters.el: Add L and R categories.
10606
10607 * subr.el (bidi-string-mark-left-to-right): Rename from
10608 string-mark-left-to-right. Use category search.
10609
10610 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10611
10612 2011-08-18 Juri Linkov <juri@jurta.org>
10613
10614 * faces.el (error, warning, success): New faces with definitions
10615 copied from old default values of `font-lock-warning-face',
10616 `compilation-warning', `compilation-info' (bug#6117).
10617
10618 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10619
10620 * progmodes/compile.el (compilation-error): Inherit from `error'.
10621 (compilation-warning): Inherit from `warning'.
10622 (compilation-info): Inherit from `success'.
10623
10624 * dired.el (dired-marked): Inherit from `warning'.
10625 (dired-flagged): Inherit from `error'.
10626
10627 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10628
10629 * mail/smtpmail.el (auth-source): Require to avoid problems with
10630 binding variables (bug#9298). Also clean up some unused
10631 autoloads.
10632
10633 * net/network-stream.el (network-stream-open-starttls):
10634 Support using starttls.el without using gnutls-cli.
10635
10636 2011-08-17 Juri Linkov <juri@jurta.org>
10637
10638 * progmodes/grep.el (rgrep): Handle the case when
10639 `grep-find-command' is a cons cell (bug#9278).
10640
10641 2011-08-17 Martin Rudalics <rudalics@gmx.at>
10642
10643 * window.el (display-buffer-pop-up-frame): Run frame creation
10644 function with BUFFER current (as special-display-popup-frame
10645 does). Reported by Drew Adams.
10646
10647 2011-08-17 Daiki Ueno <ueno@unixuser.org>
10648
10649 * epa-mail.el: Simplify GnuPG group expansion using
10650 epg-expand-group.
10651 (epa-mail-group-alist, epa-mail-group-modtime)
10652 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10653 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10654 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10655 Remove.
10656
10657 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
10658
10659 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10660
10661 2011-08-16 Alan Mackenzie <acm@muc.de>
10662
10663 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10664 Correct, to avoid the inside of macros.
10665
10666 2011-08-16 Richard Stallman <rms@gnu.org>
10667
10668 * epa-mail.el: Handle GnuPG group definitions.
10669 (epa-mail-group-alist, epa-mail-group-modtime)
10670 (epa-mail-gnupg-conf-file): New variables.
10671 (epa-mail-parse-groups, epa-mail-sync-groups)
10672 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10673 (epa-mail-expand-recipients): New functions.
10674 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10675
10676 * mail/rmail.el (rmail-epa-decrypt): New command.
10677
10678 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10679 Don't bind buffer-read-only, just inhibit-read-only.
10680 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10681 (epa-decrypt-armor-in-region): Make error message clearer.
10682
10683 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10686 and "a2b" to "ab" for `prefix'.
10687
10688 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10691 filter groups.
10692 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10693 Fourquet (Bug#8804).
10694
10695 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10696
10697 * startup.el (argi): Declare as global variable (bug#9275).
10698
10699 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10700
10701 * subr.el (string-mark-left-to-right): Search the entire string
10702 for RTL script, not just the terminating character. Doc fix.
10703
10704 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10707 New function.
10708 (js--regexp-literal, js-syntax-propertize-function): Remove.
10709 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10710 (js-mode-map): Don't rebind electric keys.
10711 (js-insert-and-indent): Remove.
10712 (js-mode): Setup electric-layout and electric-indent instead.
10713
10714 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10715
10716 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10717
10718 * epa.el (epa-progress-callback-function): Fix the logic of
10719 displaying progress.
10720 * epa-file.el (epa-file-insert-file-contents): Make progress
10721 display more user-friendly.
10722 (epa-file-write-region): Ditto.
10723
10724 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10725
10726 * subr.el (string-mark-left-to-right): New function.
10727
10728 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10729 Use string-mark-left-to-right.
10730 (list-buffers-noselect): Caller changed.
10731
10732 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10733 Use string-mark-left-to-right.
10734 (tabulated-list-print): Recenter after moving point.
10735
10736 2011-08-10 Juri Linkov <juri@jurta.org>
10737
10738 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10739 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10740 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10741
10742 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10743
10744 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10745 (Bug#7554).
10746
10747 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10748
10749 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10750 character. (Bug#6594)
10751
10752 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10753
10754 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10755 (image-dired--with-db-file): New macro.
10756 (image-dired-write-tags, image-dired-remove-tag)
10757 (image-dired-create-gallery-lists, image-dired-write-comments)
10758 (image-dired-get-comment, image-dired-mark-tagged-files)
10759 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10760 (image-dired-gallery-generate): Use insert-file-contents.
10761
10762 * time.el (display-time-world-list, display-time-world-display):
10763 * time-stamp.el (time-stamp-string):
10764 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10765 set-time-zone-rule (Bug#7337).
10766
10767 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10768
10769 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10770 (epg-error-to-string, epg-errors-to-string): New function.
10771 (epg-wait-for-completion): Reverse errors list.
10772 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10773 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10774 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10775 (epg-sign-keys, epg-generate-key-from-file)
10776 (epg-generate-key-from-string): Format errors by using
10777 epg-errors-to-string (bug#9255).
10778 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10779
10780 2011-08-07 Juri Linkov <juri@jurta.org>
10781
10782 * faces.el (list-faces-display): Remove extra angle bracket
10783 from `help-mode-map'.
10784
10785 * info.el (Info-history-toc-nodes): Doc fix.
10786
10787 * longlines.el (longlines-mode): Doc fix.
10788
10789 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10792 of statements and in a few more cases (bug#9183).
10793
10794 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10795 New functions.
10796 (cl-transform-lambda): Use them (bug#9239).
10797
10798 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10799
10800 * window.el (display-buffer-same-window)
10801 (display-buffer-same-frame, display-buffer-other-window)
10802 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10803 (pop-to-buffer-other-window)
10804 (pop-to-buffer-same-frame-other-window)
10805 (pop-to-buffer-other-frame): Make them defuns.
10806 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10807
10808 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 * subr.el (make-composed-keymap): Move from C. Change calling
10811 convention, and improve docstring to bring attention to a subtle point.
10812 * minibuffer.el (completing-read-default): Adjust accordingly.
10813
10814 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10815
10816 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10817 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10818
10819 * net/trampver.el: Update release number.
10820
10821 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10822
10823 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10824 "in" (bug#9190).
10825
10826 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10827
10828 * mail/sendmail.el (sendmail-query-once): Restore the current
10829 buffer after querying (bug#9074).
10830
10831 * dired.el (dired-flagged): Use different faces for marked and
10832 flagged files (bug#6117).
10833
10834 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10835 (bug#4433).
10836
10837 * ido.el (ido-mode): Switch off the message if called
10838 non-interactively.
10839
10840 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10841 before 587, since it appears that that's more likely to work for
10842 more people.
10843
10844 * cus-edit.el (custom-file): When running under emacs -q, always
10845 refuse to save the customizations, even if the .emacs file doesn't
10846 exist.
10847
10848 * info.el: Remove the `Info-beginning-of-buffer' function
10849 (bug#8325).
10850
10851 * net/network-stream.el (network-stream-open-starttls):
10852 Use `starttls-available-p' to see whether starttls.el can be used.
10853
10854 2011-08-01 Martin Rudalics <rudalics@gmx.at>
10855
10856 * window.el (display-buffer-in-window): Don't set dedicated status
10857 of window here (Bug#9215).
10858 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10859 (display-buffer-pop-up-side-window)
10860 (display-buffer-in-side-window): Set dedicated status of window here.
10861
10862 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10863
10864 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10865 before binding generated-autoload-file.
10866
10867 2011-08-01 Deniz Dogan <deniz@dogan.se>
10868
10869 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10870
10871 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
10872
10873 Sync with Tramp 2.2.2.
10874
10875 * net/trampver.el: Update release number.
10876
10877 2011-07-30 Juri Linkov <juri@jurta.org>
10878
10879 * dired-aux.el (dired-touch-initial): Remove function.
10880 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10881 current time, and `default' to the last modification time of the
10882 current marked file (bug#6887).
10883
10884 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10885
10886 * simple.el (goto-line): Use string-to-number to provide a
10887 numeric argument to read-number (bug#9163).
10888
10889 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
10890
10891 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10892 connection process, it could be nil.
10893
10894 2011-07-27 Leo Liu <sdl.web@gmail.com>
10895
10896 Simplify url handling in rcirc-mode.
10897
10898 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10899 (rcirc-browse-url-at-mouse): Remove.
10900 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10901
10902 2011-07-26 Alan Mackenzie <acm@muc.de>
10903
10904 Fontify bitfield declarations properly.
10905
10906 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10907 (c-symbol-chars): Now exported as a lang variable.
10908 (c-not-primitive-type-keywords): New lang variable.
10909
10910 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10911 QT keyword "more" to prevent "more slots: ...." being spuriously
10912 parsed as a bitfield declaration.
10913
10914 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10915 Refactor and enhance to handle bitfield declarations.
10916 (c-punctuation-in): New function.
10917 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10918 declarations properly.
10919
10920 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
10921
10922 * calendar/icalendar.el (icalendar--all-events): Take care of
10923 multiple vcalendars in a single file.
10924 (icalendar--convert-float-to-ical): Checkdoc fixes.
10925
10926 2011-07-25 Deniz Dogan <deniz@dogan.se>
10927
10928 * image.el (insert-image): Clarifying docstring.
10929
10930 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10931
10932 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10933 `tramp-send-command-and-check' if there is no error.
10934 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10935
10936 2011-07-22 Alan Mackenzie <acm@muc.de>
10937
10938 Prevent cc-langs.elc being loaded at run time.
10939
10940 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10941 cc-langs.
10942
10943 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10944 "(require 'cc-langs)". Quote a form so it will evaluate at
10945 (cc-mode's) compilation time.
10946
10947 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10948
10949 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10950 loading. (Bug#9114)
10951
10952 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10953
10954 * window.el (display-buffer-pop-up-window)
10955 (display-buffer-pop-up-side-window)
10956 (display-buffer-in-side-window): Call display-buffer-set-height
10957 and display-buffer-set-width after setting the new window's
10958 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10959
10960 2011-07-20 Sam Steingold <sds@gnu.org>
10961
10962 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10963 (etags-tags-included-tables): Call `convert-standard-filename' on
10964 the file names contained in TAGS so that windows Emacs can handle
10965 TAGS files created by cygwin ctags.
10966
10967 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10968
10969 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10970 which apparently didn't work.
10971
10972 2011-07-19 Roland Winkler <winkler@gnu.org>
10973
10974 * proced.el (proced-send-signal): For *Marked Processes* buffer
10975 put point at beginning of buffer.
10976
10977 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10978
10979 * proced.el (proced-format): Make header lines align with the text
10980 (bug#1779).
10981
10982 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10983
10984 * view.el (view-buffer): Allow running in `special' modes if we're
10985 visiting a file (bug#8615).
10986
10987 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10988
10989 * window.el (display-buffer-alist-of-strings-p)
10990 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10991 New functions.
10992 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10993 more accurately.
10994
10995 2011-07-18 Alan Mackenzie <acm@muc.de>
10996
10997 Fontify declarators properly when, e.g., a jit-lock chunk begins
10998 inside a declaration.
10999
11000 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11001
11002 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11003 New function.
11004 (c-complex-decl-matchers): Insert reference to
11005 c-font-lock-enclosing-decls.
11006
11007 * progmodes/cc-engine.el (c-backward-single-comment):
11008 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11009 to nil around calls to (forward-comment -1).
11010
11011 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11012
11013 * image.el (put-image): Doc typo fix.
11014
11015 * progmodes/etags.el (tags-search): Doc typo fix.
11016
11017 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11018 password if we get errors 550 to 554.
11019
11020 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11021
11022 * net/gnutls.el (gnutls-log-level): Remove.
11023
11024 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11025 indentation character (bug#6380).
11026
11027 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11028
11029 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11030 to clarify what the problem is (bug#4291).
11031
11032 * simple.el (current-kill): Clarify what
11033 `interprogram-paste-function' does (bug#7500).
11034 (auto-fill-mode): Document `auto-fill-function' in relation to
11035 `auto-fill-mode' (bug#2470).
11036
11037 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11038
11039 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11040 method if slot is read-only (bug#9035).
11041
11042 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11043
11044 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11045 * window.el (pop-to-buffer): Select window used even if it was
11046 selected before, see discussion of (Bug#8615), (Bug#6954).
11047 Pass argument NORECORD on to select-frame-set-input-focus.
11048
11049 2011-07-15 Glenn Morris <rgm@gnu.org>
11050
11051 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11052 Respect help-form.
11053
11054 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11055
11056 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11057 (gnutls-negotiate): Use it.
11058
11059 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11060
11061 * net/gnutls.el (gnutls-negotiate):
11062 Upcase `gnutls-algorithm-priority'.
11063
11064 2011-07-15 Glenn Morris <rgm@gnu.org>
11065
11066 * jka-compr.el (jka-compr-verbose): Move from here...
11067 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11068 Add missing :version tag.
11069 * info.el: No need to require jka-compr when compiling.
11070
11071 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11072
11073 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11074 (gnutls-negotiate): Use it.
11075
11076 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11077
11078 * info.el (Info-beginning-of-buffer): New command.
11079 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11080 announcing `b' as the key (bug#8325).
11081 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11082
11083 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11084
11085 * international/mule-cmds.el
11086 (describe-specified-language-support): Make the error message
11087 clearer (bug#8905).
11088
11089 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11090
11091 * isearch.el (isearch-barrier): Add a doc string, since it's
11092 mentioned in a function doc string (bug#8678).
11093
11094 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11095
11096 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11097 buffer argument (Bug#9083) and self-identifying label argument.
11098
11099 2011-07-15 Glenn Morris <rgm@gnu.org>
11100
11101 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11102
11103 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11104
11105 * man.el (Man-fontify-manpage): Fix message when formatting the
11106 man page (bug#7929).
11107
11108 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11109
11110 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11111 argument LRM; if non-nil, append an invisible LRM character to the
11112 buffer name.
11113 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11114 last argument non-nil, when formatting buffer names.
11115 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11116 paragraph direction.
11117
11118 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11119
11120 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11121 the man page name (bug#7929).
11122
11123 * image.el (put-image): Mention the `put-image' overlay property
11124 (bug#7834).
11125
11126 * scroll-bar.el (set-scroll-bar-mode): Mention that
11127 `scroll-bar-mode' lists the values (bug#7772).
11128
11129 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11130 command (bug#7729).
11131
11132 * rect.el (apply-on-rectangle): Return the point after the last
11133 operation.
11134 (string-rectangle): Go to the point after the last operation
11135 (bug#7522).
11136
11137 * printing.el (pr-toggle-region): Clarify the documentation
11138 slightly (bug#7493).
11139
11140 * time.el (display-time-update):
11141 Allow `display-time-mail-function' to return nil (bug#7158).
11142 Fix suggested by Detlev Zundel.
11143
11144 * vc/diff.el (diff): Clarify the order the file names are read
11145 (bug#7111).
11146
11147 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11148 the doc string (bug#7015).
11149
11150 * font-lock.el (font-lock-maximum-decoration): Mention what
11151 numeric levels mean (bug#6935).
11152
11153 * startup.el (initial-buffer-choice): Don't mention the `none'
11154 selection, which is against policy.
11155
11156 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11157
11158 * window.el (display-buffer-normalize-special):
11159 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11160
11161 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11162
11163 * subr.el (version<, version<=, version=): Mention "-CVS" and
11164 "-12345" alpha version numbers.
11165
11166 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11167
11168 * bindings.el: Add advertised binding for set-mark-command
11169 (Bug#5772).
11170
11171 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11172
11173 * bindings.el (mode-line-other-buffer):
11174 * bookmark.el (bookmark-bmenu-2-window):
11175 * bs.el (bs-cycle-next, bs-cycle-previous):
11176 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11177 switch-to-buffer.
11178
11179 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11180 Delete.
11181
11182 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11183
11184 * follow.el (follow-debug-message, follow-redisplay):
11185 * jka-cmpr-hook.el (with-auto-compression-mode):
11186 Fix typos in docstrings.
11187
11188 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11189
11190 * subr.el (with-silent-modifications): Clarify somewhat what the
11191 macro inhibits (bug#6525).
11192
11193 * simple.el (eval-expression): Note what it does if called
11194 interactively (bug#6495).
11195
11196 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11197
11198 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11199 Use pop-to-buffer buffer-or-name if it is nil.
11200
11201 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11202 Remove switch-to-buffer.
11203
11204 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11205
11206 * files.el (make-directory): Clarify that an error will be raised
11207 if there's an error (bug#6397).
11208
11209 * startup.el (initial-buffer-choice): Add `none' as a choice
11210 (bug#6234).
11211
11212 * subr.el (add-hook): Clarify section about buffer-local hooks
11213 (bug#6218).
11214
11215 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11216
11217 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11218
11219 * tabify.el (untabify): Preserve the current column so that point
11220 doesn't move (bug#6032).
11221
11222 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11223
11224 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11225 Rewrite to avoid awkward possessive "s" (bug#5986).
11226
11227 2011-07-13 Glenn Morris <rgm@gnu.org>
11228
11229 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11230 (dired-insert-directory): Give a message the first time
11231 if ls is found not to support --dired.
11232
11233 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11234
11235 * simple.el (toggle-truncate-lines): Clarify what is toggled
11236 (bug#5580). Text by Drew Adams.
11237
11238 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11239
11240 * simple.el (blink-matching-open): Make the error message from the
11241 last change less verbose.
11242
11243 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11244
11245 * font-lock.el (font-lock-comment-face): Use the high contrast
11246 "yellow" color for font-lock-comment-face on low color terminals
11247 using a dark background color (bug#4221).
11248
11249 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11250
11251 * dired.el (dired-insert-set-properties): Make the doc string
11252 reflect what it does now (bug#5325).
11253
11254 * simple.el (blink-matching-open): Say that we were unable to find
11255 the match within the limit, if we're limited (bug#5122).
11256
11257 * international/mule-cmds.el (prefer-coding-system): Add an
11258 example (bug#4869).
11259
11260 * progmodes/etags.el (tags-search): Document `file-list-form'
11261 (bug#4731).
11262
11263 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11264
11265 * net/browse-url.el (browse-url-default-browser)
11266 (browse-url-browser-function): Make the default browser choice a
11267 bit more logical (bug#4300). Also clean up the doc string.
11268
11269 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11270
11271 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11272 binary endings (bug#4440).
11273
11274 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11275
11276 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11277 which can be pretty annoying (bug#8971).
11278
11279 * jka-compr.el (jka-compr-verbose): New variable, and use
11280 throughout (bug#8971).
11281
11282 * info.el (Info-find-file): Fall back on the installation
11283 directory if we can't find the info node anywhere else.
11284
11285 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11286
11287 * vc/vc.el (vc-revert-file):
11288 Don't set file time-stamp in the past. (Bug#5181)
11289
11290 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11291
11292 * files.el (after-find-file): Give a better error message when
11293 trying to find a symlink that points to a file that doesn't exist
11294 (bug#4398).
11295
11296 * progmodes/cc-vars.el: Remove (probably) misleading comment
11297 (bug#4396).
11298
11299 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11300
11301 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11302
11303 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11304
11305 * mouse-sel.el: Hack restoring functionality, while keeping
11306 compatibility with 2010-07-03 changes to mouse selection.
11307 (mouse-sel-primary-overlay): New var.
11308 (mouse-sel-selection-alist): Use it.
11309 (mouse-sel-mode): Doc fix; remove points that are default features
11310 of mouse.el.
11311
11312 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11313
11314 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11315 Fix previous fix (bug#2490).
11316
11317 2011-07-12 Roland Winkler <winkler@gnu.org>
11318
11319 * textmodes/bibtex.el (bibtex-initialize):
11320 Use pop-to-buffer-same-window.
11321 (bibtex-search-entries): Fix interactive call.
11322
11323 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11324
11325 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11326 Fontise bytecomp Error lines more correctly (bug#2490).
11327 Fix suggested by Johan Bockgård.
11328
11329 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11330
11331 * dired-x.el (dired-guess-default): Use `delete-dups'.
11332
11333 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11334
11335 * dired.el (dired-mark-prompt):
11336 * dired-aux.el (dired-read-shell-command): Doc fix.
11337
11338 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11339
11340 * mail/sendmail.el (sendmail-query-once):
11341 Use `customize-save-variable' unconditionally, now that it works under
11342 emacs -Q.
11343
11344 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11345
11346 * cus-edit.el (custom-file): Take an optional no-error variable.
11347 (customize-save-variable): Set the variable, and give a warning if
11348 running under "emacs -q".
11349
11350 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11351
11352 * loadhist.el (unload-feature-special-hooks):
11353 Add `auto-coding-functions', `fill-nobreak-predicate' and
11354 `find-directory-functions' (bug#5327).
11355
11356 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11357
11358 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11359
11360 * cus-edit.el (custom-guess-name-alist): -alist variables should
11361 use the `alist' type (bug#3120). Suggested by Drew Adams.
11362
11363 * printing.el: Add documentation to all the `pr-toggle-' commands.
11364
11365 2011-07-11 Leo Liu <sdl.web@gmail.com>
11366
11367 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11368 backends where it makes sense (bug#2623).
11369
11370 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11371
11372 * dired-x.el (dired-guess-default): Remove duplicate shell command
11373 entries (bug#2028).
11374 (dired-guess-default): Fix grammar in doc string (bug#2028).
11375 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11376
11377 * subr.el (remove-duplicates): New conveniency function.
11378
11379 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11380
11381 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11382 (bug#1526).
11383
11384 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11385
11386 * window.el (display-buffer-normalize-default): Don't invert
11387 meaning of even-window-heights. Reported by Eli Zaretskii
11388 <eliz@gnu.org>.
11389
11390 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11391
11392 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11393
11394 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11395
11396 * window.el (display-buffer): Fix arguments to
11397 display-buffer-reuse-window in last change.
11398
11399 * faces.el (link): Use a less saturated blue on light backgrounds.
11400
11401 * startup.el (fancy-startup-text, fancy-about-text)
11402 (fancy-startup-tail): Use font-lock faces, for background safety.
11403
11404 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11405
11406 * emulation/viper-cmd.el (viper-change-state-to-vi):
11407 Limit triggering of abbrev expansion (Bug#9038).
11408
11409 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11410
11411 * window.el (display-buffer-default-specifiers): Remove.
11412 (display-buffer-macro-specifiers): Remove default specifiers.
11413 (display-buffer-alist): Default to nil.
11414 (display-buffer-reuse-window): New optional argument other-window.
11415 (display-buffer-pop-up-window): Allow splitting internal
11416 windows. Check whether a live window was created.
11417 (display-buffer-other-window-means-other-frame)
11418 (display-buffer-normalize-arguments): Rename to
11419 display-buffer-normalize-argument and rewrite. Set the
11420 other-window specifier.
11421 (display-buffer-normalize-special): New function.
11422 (display-buffer-normalize-options): Rename to
11423 display-buffer-normalize-default and rewrite.
11424 (display-buffer-normalize-options-inhibit): Remove.
11425 (display-buffer-normalize-specifiers): Rewrite.
11426 (display-buffer): Process other-window specifier and call
11427 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11428 more faithfully.
11429 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11430 (display-buffer-alist-set): Don't handle 'unset default values.
11431 (display-buffer-in-window, display-buffer-alist-set):
11432 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11433 <tassilo@member.fsf.org>.
11434
11435 2011-07-09 Leo Liu <sdl.web@gmail.com>
11436
11437 * register.el (insert-register): Restore accidental change on
11438 2011-06-26. (Bug#9028)
11439
11440 2011-07-09 Glenn Morris <rgm@gnu.org>
11441
11442 * subr.el (remq): Handle the empty list. (Bug#9024)
11443
11444 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11445
11446 * mail/sendmail.el (send-mail-function): No longer delay custom
11447 initialization.
11448 * custom.el (custom-initialize-delay): Doc fix.
11449
11450 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11451
11452 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11453
11454 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11455
11456 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11457 human-friendly prompt.
11458
11459 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11460
11461 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11462 provided by a particular plugin.
11463
11464 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11465
11466 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11467 save customizations (with "emacs -Q"), just set the variable
11468 instead of erroring out.
11469
11470 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11471
11472 2011-07-08 Juri Linkov <juri@jurta.org>
11473
11474 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11475 (archive-zip-update-case): Use 7z if found by `executable-find'.
11476 The order of searching the available programs is the same as in
11477 `archive-zip-extract' (bug#8968).
11478
11479 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11480
11481 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11482 (menu-bar-options-menu): Tweak descriptions.
11483
11484 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11485
11486 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11487 menu items into verb phrases (bug#1421). Also refill to fit under
11488 80 columns.
11489
11490 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11491
11492 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11493 (Info-read-node-name): Doc fix (Bug#1084).
11494
11495 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11496 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11497 (end-of-sexp, beginning-of-sexp)
11498 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11499 (forward-symbol, forward-same-syntax, word-at-point)
11500 (sentence-at-point): Doc fix (Bug#1144).
11501
11502 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11503
11504 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11505 should cover it (bug#1281).
11506
11507 * cus-edit.el (custom-show): Mark as obsolete.
11508
11509 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11510 negotiation fails, then possibly try again with a non-encrypted
11511 connection (bug#9017).
11512
11513 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11514 be used.
11515
11516 2011-07-07 Richard Stallman <rms@gnu.org>
11517
11518 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11519 property, and handle its changed format.
11520 Look for the correct line number.
11521 Use file's line contents (but not past first =) to find
11522 correct line in message.
11523
11524 2011-07-07 Kenichi Handa <handa@m17n.org>
11525
11526 * international/characters.el (build-unicode-category-table):
11527 Delete it.
11528 (unicode-category-table): Set it by unicode-property-table-internal.
11529
11530 * international/mule-cmds.el (char-code-property-alist): Move to
11531 to src/chartab.c.
11532 (get-char-code-property): Call unicode-property-table-internal to
11533 load a file. Call get-unicode-property-internal where necessary.
11534 (put-char-code-property): Call unicode-property-table-internal to
11535 load a file. Call put-unicode-property-internal where necessary.
11536 put-unicode-property-internal where necessary.
11537 (char-code-property-description):
11538 Call unicode-property-table-internal to load a file.
11539
11540 * international/charprop.el:
11541 * international/uni-bidi.el:
11542 * international/uni-category.el:
11543 * international/uni-combining.el:
11544 * international/uni-comment.el:
11545 * international/uni-decimal.el:
11546 * international/uni-decomposition.el:
11547 * international/uni-digit.el:
11548 * international/uni-lowercase.el:
11549 * international/uni-mirrored.el:
11550 * international/uni-name.el:
11551 * international/uni-numeric.el:
11552 * international/uni-old-name.el:
11553 * international/uni-titlecase.el:
11554 * international/uni-uppercase.el: Regenerate.
11555
11556 * loadup.el: Load international/charprop.el before
11557 international/characters.
11558
11559 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11560
11561 * window.el (next-buffer, previous-buffer): Signal an error if
11562 called from a minibuffer window.
11563
11564 * bindings.el: Revert 2011-07-04 change.
11565
11566 2011-07-06 Richard Stallman <rms@gnu.org>
11567
11568 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11569 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11570 Treat markers like ints.
11571 (rmail-mime-entity): Doc fix.
11572
11573 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11574
11575 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11576 defcustom again for backwards compatibility.
11577
11578 * simple.el (shell-command-on-region): Fill.
11579
11580 * dired-aux.el (dired-kill-line): Add a doc string.
11581
11582 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11583 to "\\sw\\|\\s_" (bug#358).
11584
11585 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11586 (dired-unmark-backward): Ditto.
11587 (dired-flag-backup-files): Ditto.
11588
11589 * dired-x.el (dired-mark-sexp): Ditto.
11590
11591 2011-07-06 Richard Stallman <rms@gnu.org>
11592
11593 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11594 (rmail-mime-entity): New arg TRUNCATED.
11595 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11596 New functions.
11597 (rmail-mime-save): Warn if entity is truncated.
11598 (rmail-mime-toggle-hidden): Likewise, for showing.
11599 (rmail-mime-process-multipart): Record when an entity is truncated.
11600
11601 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11602 if ENTITY is a string.
11603
11604 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11605
11606 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11607 of faces when `M-C-x'-ing their definitions (bug#8378).
11608 Also clean up the code slightly.
11609
11610 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11611 because that makes the colors go away.
11612
11613 * mail/sendmail.el (send-mail-function): Change the default to
11614 `sendmail-query-once'.
11615 (sendmail-query-once): Add an autoload cookie.
11616
11617 * net/network-stream.el (network-stream-open-starttls): Try using
11618 a plain connection even if the server offered STARTTLS, and we
11619 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11620 capability. This should make smtpmail.el work in slightly more
11621 configurations.
11622
11623 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
11624
11625 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11626 New defun.
11627 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11628
11629 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11630
11631 * progmodes/sql.el: Version 3.0
11632 (sql-product-alist): Add product :completion-object,
11633 :completion-column, and :statement attributes.
11634 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11635 (sql-mode-syntax-table): Mark all punctuation.
11636 (sql-font-lock-keywords-builder): Temporarily remove fallback on
11637 ansi keywords.
11638 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11639 (sql-mode-oracle-font-lock-keywords): Improve.
11640 (sql-oracle-show-reserved-words): New function for development.
11641 (sql-product-font-lock): Simplify for source code buffers.
11642 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11643 New functions.
11644 (sql-highlight-product): Set product specific syntax table.
11645 (sql-mode-map): Add statement movement functions.
11646 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11647 New variable.
11648 (sql-statement-regexp, sql-beginning-of-statement)
11649 (sql-end-of-statement, sql-signum): New functions.
11650 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11651 (sql-show-sqli-buffer): Bug fix.
11652 (sql-interactive-mode): Store connection data as buffer local.
11653 (sql-connect): Add NEW-NAME parameter. Redesign interaction
11654 with sql-interactive-mode.
11655 (sql-save-connection): Save buffer local settings.
11656 (sql-connection-menu-filter): Change menu entry name.
11657 (sql-product-interactive): Bug fix.
11658 (sql-preoutput-hold): New variable.
11659 (sql-interactive-remove-continuation-prompt): Bug fixes.
11660 (sql-debug-redirect): New variable.
11661 (sql-str-literal): New function.
11662 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11663 Redesign.
11664 (sql-oracle-save-settings, sql-oracle-restore-settings)
11665 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11666 (sql-completion-object, sql-completion-column)
11667 (sql-completion-sqlbuf): New variables.
11668 (sql-build-completions-1, sql-build-completions)
11669 (sql-try-completion): New functions.
11670 (sql-read-table-name): Use them.
11671 (sql-contains-names): New buffer local variable.
11672 (sql-list-all, sql-list-table): Use it.
11673 (sql-oracle-completion-types): New variable.
11674 (sql-oracle-completion-object, sql-sqlite-completion-object)
11675 (sql-postgres-completion-object): New functions.
11676
11677 2011-07-06 Glenn Morris <rgm@gnu.org>
11678
11679 * window.el (pop-to-buffer): Doc fix.
11680
11681 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11682
11683 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11684
11685 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11686
11687 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11688
11689 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11690
11691 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11692
11693 * button.el (button): Inherit from link face. Suggested by Dan
11694 Nicolaescu.
11695
11696 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * progmodes/gdb-mi.el: Fit in 80 columns.
11699 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11700 switch-to-buffer.
11701
11702 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11703 if imenu is simply not configured (bug#8941).
11704
11705 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11706
11707 * allout.el (allout-post-undo-hook): New allout outline-change
11708 event hook to signal undo activity.
11709 (allout-post-command-business): Run allout-post-undo-hook if an
11710 undo just occurred.
11711 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11712 * allout-widgets.el (allout-widgets-after-undo-function):
11713 Ensure the integrity of the current item's decoration after it has been
11714 in the vicinity of an undo.
11715 (allout-widgets-mode): Include allout-widgets-after-undo-function
11716 on the new allout-post-undo-hook.
11717
11718 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11721 Let define-derived-mode define it.
11722 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11723 cycles of abbrev-table inheritance (bug#8998).
11724
11725 2011-07-05 Roland Winkler <winkler@gnu.org>
11726
11727 * textmodes/bibtex.el: Add support for biblatex.
11728 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11729 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11730 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11731 (bibtex-entry-alist, bibtex-field-alist): New variables.
11732 (bibtex-entry-field-alist): Obsolete alias for
11733 bibtex-BibTeX-entry-alist.
11734 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11735 (bibtex-set-dialect): New command.
11736 (bibtex-entry-type, bibtex-entry-head)
11737 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11738 Bind via bibtex-set-dialect.
11739 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11740 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11741 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11742 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11743 Define via bibtex-set-dialect.
11744 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11745 Obey bibtex-no-opt-remove-re.
11746 (bibtex-vec-push, bibtex-vec-incr): New functions.
11747 (bibtex-format-entry, bibtex-field-list)
11748 (bibtex-print-help-message, bibtex-validate)
11749 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11750
11751 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11752
11753 * progmodes/compile.el (compilation-goto-locus):
11754 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11755 * bs.el (bs-cycle-next, bs-cycle-previous):
11756 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11757 * bindings.el (mode-line-other-buffer):
11758 * autoinsert.el (auto-insert):
11759 * arc-mode.el (archive-extract):
11760 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11761
11762 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11763
11764 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11765 Fix check of `emacs-lock-unlockable-modes'.
11766 Coerce true values of `emacs-lock--try-unlocking' to t.
11767
11768 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11769
11770 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11771 * emacs-lock.el: New file.
11772
11773 2011-07-05 Julien Danjou <julien@danjou.info>
11774
11775 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11776 than `boundp' to check if face is set.
11777
11778 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11779
11780 * register.el (registerv-make):
11781 * window.el (window-min-height): Fix typos in docstrings.
11782
11783 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11784
11785 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11786 Update doc string.
11787
11788 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11789
11790 * server.el (server-execute): Catch quit and call
11791 `server-return-error' to pass the error back to emacsclient and
11792 close the connection (bug#8942).
11793
11794 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11795
11796 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11797 insecure exception for current topic. Also note that auto-saves
11798 are handled differently.
11799
11800 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11801 State variables for tracking auto-save inhibition situation.
11802
11803 (allout-write-contents-hook-handler): Rename from
11804 'allout-write-file-hook-handler', and describe how it depends on
11805 write-contents-functions sensitivity to non-nil value to prevent
11806 file write.
11807
11808 (allout-auto-save-hook-handler): Remove. auto-save does not check
11809 this in individual buffers, only in the starting buffer, so this
11810 is not the right way for us to inhibit auto-save in a buffer
11811 according to its condition.
11812
11813 (allout-mode): Use new allout-write-contents-hook-handler, and
11814 only with write-contents-functions. Remove auto-save provisions -
11815 they're implemented elsewhere.
11816
11817 (allout-before-change-handler): If undo is in progress, note that
11818 for attention of allout-post-command-business.
11819
11820 (allout-post-command-business): If the command we're following was
11821 an undo, check for change in the status of encrypted items and
11822 adjust auto-save inhibitions accordingly.
11823
11824 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11825 according to whether there are or aren't any plain-text topics
11826 pending encryption.
11827
11828 (allout-inhibit-auto-save-info-for-decryption):
11829 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11830 if there are plain-text topics pending encryption.
11831
11832 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11833 buffer-saved-size and some allout state to not inhibit auto-saves
11834 if there are no longer any plain-text topics pending encryption.
11835
11836 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11837 No longer provide for exemption of the current topic.
11838
11839 2011-07-04 Juri Linkov <juri@jurta.org>
11840
11841 Add 7z operations to delete and save changed members (bug#8968).
11842 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11843 New defcustoms.
11844 (archive-7z-write-file-member): New function.
11845 (archive-7z-summarize): Fix the number of dashes in the
11846 listing output.
11847
11848 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11849
11850 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11851 (bug#8958).
11852
11853 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
11854
11855 * bindings.el: Ignore next-buffer and previous-buffer in
11856 minibuffer-local-map.
11857
11858 * font-lock.el (font-lock-builtin-face): Change light background
11859 color to dark slate blue (Bug#6693).
11860
11861 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11862
11863 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11864
11865 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11866
11867 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11868 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11869 Add switch-to-buffer.
11870
11871 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11872
11873 * isearch.el (isearch-search-fun-function): Clarify further the
11874 meaning of the function returned.
11875
11876 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
11877
11878 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11879
11880 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11881 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11882 Use it.
11883 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11884 `tramp-default-remote-path' does not exist.
11885 (tramp-send-command-and-read): New optional argument NOERROR.
11886 (tramp-open-connection-setup-interactive-shell)
11887 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11888 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11889 (tramp-process-sentinel): Flush also process' connection property.
11890 (tramp-sh-handle-start-file-process): Do not set process
11891 sentinel. It is done now ...
11892 (tramp-maybe-open-connection): ... here. (Bug#8929)
11893
11894 2011-07-04 MON KEY <monkey@sandpframing.com>
11895
11896 * play/animate.el (animate-string): Doc fixes and allow changing
11897 the buffer name (bug#5417).
11898
11899 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11900
11901 * play/animate.el (animation-buffer-name): Rename from *animate*.
11902
11903 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11904
11905 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11906 This is simpler and helps future-proof the code.
11907 (timer-until): Use time-subtract and float-time.
11908 (timer--time-less-p): Use time-less-p.
11909
11910 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11911
11912 * type-break.el (timep): Use the value of `float-time' to avoid a
11913 byte-compiler warning.
11914
11915 * server.el (server-eval-and-print): Return any result, even nil.
11916
11917 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11918
11919 * type-break.el: Accept time formats that the builtins accept.
11920 (timep, type-break-time-difference): Accept any format that
11921 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11922 This is simpler and helps future-proof the code.
11923 (type-break-time-difference): Round rather than ignoring
11924 subseconds components.
11925
11926 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11927
11928 * info.el (Info-apropos-matches): Make non-interactive, since it
11929 doesn't seem to do anything useful as a command (bug#8829).
11930
11931 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11932
11933 * frame.el (frame-background-mode, frame-set-background-mode):
11934 Move from faces.el.
11935 (frame-default-terminal-background): New function.
11936
11937 * custom.el (custom-push-theme): Don't record faces in `changed'
11938 theme; this doesn't work correctly for per-frame face settings.
11939 (disable-theme): Use face-set-after-frame-default to reset faces.
11940 (custom--frame-color-default): New function.
11941
11942 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11943
11944 * dired.el (dired-flagging-regexp): Remove unused variable
11945 (bug#8769).
11946
11947 2011-03-29 Kevin Ryde <user42@zip.com.au>
11948
11949 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11950 `perl-Test2' extend to match possible "fail #N" rep count
11951 (bug#8377).
11952
11953 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11954
11955 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11956 `smtpmail-via-smtp' now returns the error instead of nil.
11957
11958 * isearch.el (isearch-search-fun-function): Clarify the doc string
11959 (bug#8101).
11960
11961 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11962
11963 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11964 unnecessary spaces (bug#8987).
11965
11966 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11967
11968 * net/network-stream.el (open-network-stream): Use the
11969 :end-of-capability command thoughout.
11970
11971 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11972
11973 * net/network-stream.el (open-network-stream): Add the
11974 :end-of-capability command parameter, used by pop3.el.
11975
11976 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11977
11978 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11979
11980 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11981 for list)" (bug#6475).
11982
11983 * files.el (file-expand-wildcards): Ignore non-readable
11984 sub-directories while trying to find matches instead of signaling
11985 an error (bug#6297).
11986
11987 * man.el (Man-reference-regexp): Allow matching possible
11988 word-wrapped references (bug#6289).
11989
11990 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11991 for consistency with the other vc buffers (bug#6197).
11992 (vc-checkin): Ditto.
11993
11994 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11995
11996 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11997
11998 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11999
12000 * custom.el (defcustom): Clarify that :set is only used in the
12001 Customize user interface (bug#6089).
12002
12003 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12004 associated with a file, refuse to run instead of erroring out
12005 (bug#6084).
12006
12007 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12008 the doc string, since it appears that using `fill-column' always
12009 controls the width (bug#7845).
12010
12011 * simple.el (shell-command-on-region): Say where the error output
12012 went if `shell-command-default-error-buffer' is set (bug#6857).
12013
12014 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12015
12016 * allout.el (allout-yank-processing): Adjust cursor position for
12017 backwards-deleted space.
12018
12019 (allout-rebullet-heading): Register changes with
12020 allout-exposure-changed-hook, so the modified topic is properly
12021 decorated.
12022
12023 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12024
12025 * minibuffer.el (completion-in-region): Document PREDICATE
12026 (bug#7136).
12027
12028 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12029 of keyword/argument pairs (bug#6904).
12030
12031 * replace.el (multi-occur):
12032 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12033
12034 2011-07-02 Drew Adams <drew.adams@oracle.com>
12035
12036 * dired.el (dired-mark-if): Make the message about whether it's
12037 marking or unmarking clearer (bug#8523).
12038
12039 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12040
12041 * disp-table.el (display-table-print-array): New function.
12042 (describe-display-table): Use it to print the vectors more pretty
12043 (Bug#8859).
12044
12045 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12046
12047 * window.el (window-state-get-1): Don't assign clone numbers.
12048 Add clone-of item to list of window parameters.
12049 (window-state-put-2): Don't process clone numbers.
12050 (display-buffer-alist): Fix doc-string.
12051
12052 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * subr.el (remq): Don't allocate if it's not needed.
12055 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12056 (keymap--merge-bindings): New functions.
12057 (keymap-canonicalize): Use them to refine the canonicalization.
12058 * minibuffer.el (minibuffer-local-completion-map)
12059 (minibuffer-local-must-match-map): Move initialization from C.
12060 (minibuffer-local-filename-completion-map): Move initialization from C;
12061 don't inherit from anything here.
12062 (minibuffer-local-filename-must-match-map): Make obsolete.
12063 (completing-read-default): Use make-composed-keymap to combine
12064 minibuffer-local-filename-completion-map with either
12065 minibuffer-local-must-match-map or
12066 minibuffer-local-filename-completion-map.
12067
12068 2011-07-01 Glenn Morris <rgm@gnu.org>
12069
12070 * type-break.el (type-break-time-sum): Use dolist.
12071
12072 * textmodes/flyspell.el (flyspell-word-search-backward):
12073 Replace CL function.
12074
12075 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * mouse.el (mouse--strip-first-event): New function.
12078 (function-key-map): Use it to map fringe clicks to normal clicks
12079 by default.
12080
12081 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12082 (vc-bzr-revision-completion-table): Add support for annotate and date.
12083
12084 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12085 inherit from parent.
12086
12087 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12088
12089 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12090 (dired-show-file-type): Doc fixup (bug#8818).
12091
12092 * dired.el (dired-mode): Fix up the doc string as suggested by
12093 Drew Adams (bug#8817).
12094
12095 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12096 cookie, since the manual says that it should be possible to add
12097 this function to `find-file-hook' (bug#8709).
12098
12099 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12100
12101 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12102 here. Noted Ted Zlatanov as the maintainer.
12103 (cfengine-common-settings, cfengine-common-syntax): New functions
12104 to set up common things between `cfengine-mode' and
12105 `cfengine3-mode'.
12106 (cfengine3-mode): New mode.
12107 (cfengine3-defuns cfengine3-defuns-regex
12108 (cfengine3-class-selector-regex cfengine3-category-regex)
12109 (cfengine3-vartypes cfengine3-font-lock-keywords)
12110 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12111 (cfengine3-indent-line): Add from cfengine3.el.
12112
12113 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12114
12115 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12116
12117 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12118
12119 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12120
12121 * window.el (same-window-buffer-names, same-window-regexps)
12122 (same-window-p, special-display-frame-alist)
12123 (special-display-popup-frame, special-display-function)
12124 (special-display-buffer-names, special-display-regexps)
12125 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12126 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12127 (split-window-preferred-function, split-height-threshold)
12128 (split-width-threshold, even-window-heights)
12129 (display-buffer-mark-dedicated, window-splittable-p)
12130 (split-window-sensibly, window-safely-shrinkable-p):
12131 Un-obsolete.
12132 (display-buffer): Don't spread args with function specifier
12133 because special-display-popup-frame won't like it.
12134
12135 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12136
12137 Time-stamp simplifications and fixes.
12138 These improve accuracy slightly, and future-proof the code
12139 against some potential changes to current-time format.
12140
12141 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12142 by using time-since and float-time.
12143
12144 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12145 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12146 + NNN microseconds".
12147
12148 * type-break.el (type-break-time-sum): Rewrite using time-add.
12149
12150 * play/hanoi.el (hanoi-current-time-float): Remove.
12151 All uses replaced by float-time.
12152
12153 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12154 This yields a more-accurate answer.
12155 (rng-time-to-float): Remove; no longer needed.
12156
12157 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12158
12159 * calendar/timeclock.el (timeclock-seconds-to-time):
12160 Defalias to seconds-to-time, since they're the same thing.
12161
12162 * emacs-lisp/elp.el (elp-elapsed-time):
12163 * emacs-lisp/benchmark.el (benchmark-elapse):
12164 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12165
12166 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * window.el (bury-buffer): Don't iconify the only frame.
12169 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12170 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12171
12172 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12173
12174 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12175 Add mouse-yank-primary.
12176
12177 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12178
12179 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12180
12181 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12184 (find-library-name): Use it to find relative load names when provided
12185 absolute file name (bug#8803).
12186
12187 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12188
12189 * textmodes/flyspell.el (flyspell-word): Consider words that
12190 differ only in case as potential doublons (bug#5687).
12191
12192 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12193 Remove two rather uninteresting debugging-like messages to make
12194 debbugs.el more silent.
12195
12196 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12197 a password-like phrase.
12198
12199 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12200
12201 * progmodes/cc-guess.el: New file.
12202
12203 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12204
12205 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12206 derived from `c-basic-common-init'.
12207
12208 * progmodes/cc-mode.el (top-level): Require cc-guess.
12209 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12210
12211 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12212
12213 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12214
12215 2011-06-30 Alan Mackenzie <acm@muc.de>
12216
12217 * progmodes/cc-engine.el (c-guess-continued-construct):
12218 Correct the handling of template-args-cont, particularly for when font
12219 lock is disabled. Name this case as "CASE G".
12220
12221 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12222
12223 * allout.el (allout-yank-processing): Fix injection of extra space
12224 between bullet and non-whitespace character in first topic when
12225 pasting, ensuring that the actual spacing in the pasted topic
12226 following the bullet char is preserved. This extra space was
12227 causing pasted encrypted topics to get a decrypted status even
12228 when the content was actually still encrypted. Now the decryption
12229 status from before the paste is preserved.
12230
12231 (allout-flag-region): Set all allout overlays so they evaporate
12232 when reduced to zero length (evanescent), to prevent overlay
12233 leakage.
12234
12235 2011-06-30 Glenn Morris <rgm@gnu.org>
12236
12237 * w32-fns.el (w32-charset-info-alist): Declare.
12238
12239 * find-dired.el (find-grep-options): Simplify.
12240
12241 * term/ns-win.el (ns-set-resource): Declare.
12242
12243 * ses.el (row, col): Declare dynamic variables honestly.
12244
12245 * textmodes/reftex-parse.el (index-tags): Declare.
12246
12247 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12248
12249 * cus-edit.el (customize-push-and-save): New function.
12250
12251 * files.el (hack-local-variables-confirm): Use it.
12252
12253 * custom.el (load-theme): New arg NO-CONFIRM.
12254 Use customize-push-and-save (Bug#8720).
12255 (custom-enabled-themes): Doc fix.
12256
12257 * cus-theme.el (customize-create-theme)
12258 (custom-theme-merge-theme): Callers to load-theme changed.
12259
12260 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12261
12262 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12263 short URLs have at least one dot in them (bug #7614).
12264
12265 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12266 nil, because using a pty is apparently too slow (bug #895).
12267
12268 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12269
12270 * mail/sendmail.el (sendmail-query-once): New function.
12271 (sendmail-query-once-function): New variable.
12272
12273 2011-06-29 Glenn Morris <rgm@gnu.org>
12274
12275 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12276
12277 * ses.el (top-level): Require cl when compiling.
12278 (ses-set-localvars): Fix error statement.
12279 Call it at compile time to silence a storm of warnings.
12280
12281 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12282
12283 * window.el (normalize-live-buffer): Rename to
12284 window-normalize-buffer.
12285 (normalize-live-frame): Rename to window-normalize-frame.
12286 (normalize-any-window): Rename to window-normalize-any-window.
12287 (normalize-live-window): Rename to window-normalize-live-window.
12288 (make-window-atom): Rename to window-make-atom.
12289 (window-resize-reset): Rename to window--resize-reset.
12290 (window-resize-reset-1): Rename to window--resize-reset-1.
12291 (resize-mini-window): Rename to window--resize-mini-window.
12292 (resize-subwindows-skip-p): Rename to
12293 window--resize-subwindows-skip-p.
12294 (resize-subwindows-normal): Rename to
12295 window--resize-subwindows-normal.
12296 (resize-subwindows): Rename to window--resize-subwindows.
12297 (resize-other-windows): Rename to window--resize-siblings.
12298 (resize-this-window): Rename to window--resize-this-window.
12299 (resize-root-window): Rename to window--resize-root-window.
12300 (resize-root-window-vertically): Rename to
12301 window--resize-root-window-vertically.
12302 (normalize-buffer-to-display): Rename to
12303 window-normalize-buffer-to-display.
12304 (normalize-buffer-to-switch-to): Rename to
12305 window-normalize-buffer-to-switch-to.
12306 Correspondingly update all callers of the functions listed
12307 above.
12308 (display-buffer-alist, display-buffer-normalize-arguments)
12309 (display-buffer-normalize-options, display-buffer)
12310 (display-buffer-alist-set): Use "function" instead of
12311 "fun-with-args".
12312
12313 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12314
12315 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12316 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12317 debbugs.gnu.org. Mention acknowledgment email.
12318
12319 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12320
12321 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12322 buffer multibyteness, since it shouldn't matter.
12323
12324 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12325
12326 * window.el (display-buffer-in-side-window): Handle dedicated
12327 windows as in display-buffer-reuse-window.
12328 (display-buffer-normalize-alist): Use value of override
12329 specifier.
12330 (display-buffer-normalize-specifiers): Use value of
12331 other-window-means-other-frame specifier.
12332 (display-buffer-alist): Rewrite some texts in widgets.
12333 (display-buffer): Spread arguments when calling function
12334 specified by fun-with-args.
12335
12336 2011-06-28 Deniz Dogan <deniz@dogan.se>
12337
12338 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12339 Unnest `let'.
12340
12341 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12342 selectors (Bug#5732).
12343 (css-proprietary-nmstart-re): Use `regexp-opt'.
12344
12345 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12346
12347 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12348 (eshell-ls-date-format): New defcustom.
12349 (eshell-ls-file): Use it.
12350
12351 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12352
12353 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12354
12355 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12356
12357 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12358 (ange-ftp-make-tmp-name): New arg.
12359 (ange-ftp-file-local-copy): Use it.
12360
12361 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12362
12363 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12364 no-conversion (Bug#8870).
12365
12366 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12367
12368 * window.el (window-right, window-left, window-child)
12369 (window-child-count, window-last-child)
12370 (window-iso-combination-p, walk-window-tree-1)
12371 (window-atom-check-1, window-tree-1, delete-window)
12372 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12373 new naming conventions - window-vchild, window-hchild,
12374 window-next and window-prev are now called window-top-child,
12375 window-left-child, window-next-sibling and window-prev-sibling
12376 respectively.
12377 (resize-window-reset): Rename to window-resize-reset.
12378 (resize-window-reset-1): Rename to window-resize-reset-1.
12379 (resize-window): Rename to window-resize.
12380 (window-min-height, window-min-width)
12381 (resize-mini-window, resize-this-window, resize-root-window)
12382 (resize-root-window-vertically, adjust-window-trailing-edge)
12383 (enlarge-window, shrink-window, maximize-window)
12384 (minimize-window, delete-window, quit-restore-window)
12385 (split-window, balance-windows, balance-windows-area-adjust)
12386 (balance-windows-area, window-state-put-2)
12387 (display-buffer-even-window-sizes, display-buffer-set-height)
12388 (display-buffer-set-width, set-window-text-height)
12389 (fit-window-to-buffer): Rename all "resize-window" prefixed
12390 calls to use the "window-resize" prefix convention.
12391 (display-buffer-alist): Fix symbol for label specifier.
12392 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12393 corresponding specifier.
12394 Reported by Juanma Barranquero <lekktu@gmail.com>.
12395
12396 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12397
12398 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12399 convention.
12400 (ses-call-printer): Does not pass an empty string to formatter when the
12401 cell is empty to keep from barking printer Calc math-format-value.
12402
12403 2011-06-27 Richard Stallman <rms@gnu.org>
12404
12405 * battery.el (battery-mode-line-limit): New variable.
12406 (battery-update): Handle it.
12407
12408 * mail/rmailmm.el (rmail-mime-process-multipart):
12409 Handle truncated messages.
12410
12411 2011-06-27 Glenn Morris <rgm@gnu.org>
12412
12413 * progmodes/flymake.el (flymake-err-line-patterns):
12414 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12415
12416 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12417
12418 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12419 (ses--clean-!, ses--clean-_): New functions.
12420 (ses-range): Add configurability of readout order, and conversion
12421 to Calc vector.
12422
12423 * ses.el (ses-repair-cell-reference-all): New function.
12424 (ses-cell-symbol): Set macro as safe, so that it can be used in
12425 formulas.
12426
12427 * ses.el: Update cycle detection algorithm.
12428 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12429 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12430 (ses-set-localvars): New function.
12431 (ses-make-cell): Add property-list as a cell element.
12432 (ses-cell-property-get-fun, ses-cell-property-get)
12433 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12434 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12435 New functions.
12436 (ses-cell-property-set, ses-cell-property-pop)
12437 (ses-cell-property-get-handle): New macro.
12438 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12439 New aliases, used for code readability.
12440 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12441 cycle detection.
12442 (ses-self-reference-early-detection): New defcustom.
12443 (ses-formula-references): Robustify against self-referring cells.
12444 (ses-mode): Use ses-set-localvars.
12445 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12446 before lauching the update processing.
12447 (ses-initialize-Dijkstra-attempt): New function.
12448 (ses-recalculate-cell): Update for cycle detection based on
12449 Dijkstra algorithm.
12450
12451 * ses.el: Fix commenting and indenting convention.
12452
12453 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12454
12455 * bs.el (bs-cycle-next): Complete last change.
12456
12457 2011-06-27 Drew Adams <drew.adams@oracle.com>
12458
12459 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12460
12461 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12462
12463 * net/network-stream.el (network-stream-open-starttls):
12464 Don't re-get capabilities unless we've reestablished connection.
12465 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12466
12467 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12468 to binary to possibly avoid line encoding issues on Windows (among
12469 other things).
12470
12471 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12472
12473 * net/network-stream.el (open-network-stream): Return an :error
12474 saying what the problem was, if possible.
12475
12476 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12477 server.
12478
12479 * net/network-stream.el (network-stream-open-starttls): If we
12480 wanted to use STARTTLS, and the server offered it, but we weren't
12481 able to because we had no STARTTLS support, then close the connection.
12482 (open-network-stream): Return an :error element, if present.
12483
12484 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12485
12486 * hl-line.el (hl-line-sticky-flag): Doc fix.
12487 (global-hl-line-sticky-flag): New option (Bug#8323).
12488 (global-hl-line-highlight): Obey it.
12489
12490 * vc/vc.el (vc-revert-show-diff): Default to t.
12491
12492 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12493
12494 * allout-widgets.el (allout-widgets-post-command-business):
12495 Stop decorating intermediate isearch matches. They're not being
12496 undecorated when an isearch is continued past, and isearch
12497 automatically collapses them. This leads to "widget leaks", where
12498 decorated items accumulate in collapsed areas. Lines with lots of
12499 hidden widgets can slow down cursor travel, substantially.
12500 Too much complicated machinery would be needed to ensure undecoration,
12501 so we're doing without this nicety.
12502
12503 (allout-widgets-tally-string): Don't try to do a hash-table-count
12504 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12505 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12506 *Messages* when allout-widgets-maintain-tally is t.
12507
12508 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12509
12510 * window.el (display-buffer-normalize-argument): Rename to
12511 display-buffer-normalize-arguments. Handle special meaning of
12512 LABEL argument. Respect special-display-function when popping up
12513 a new frame. Fix code searching for a window showing the buffer
12514 on another frame.
12515 (display-buffer-normalize-specifiers):
12516 Call display-buffer-normalize-arguments.
12517 (display-buffer-in-window): Don't undedicate the window if its
12518 buffer remains the same.
12519 Reported by Drew Adams <drew.adams@oracle.com>.
12520 (display-buffer-alist): Add choice for same-window macro
12521 specfier.
12522 (display-buffer): Mention special meaning of LABEL argument in
12523 doc-string. Fix quoting. Don't pop up a new frame even as
12524 fallback.
12525
12526 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12527
12528 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12529 avoid deleting the current window in some cases (bug#8911).
12530
12531 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12532
12533 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12534 (Bug#8934)
12535
12536 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12537
12538 * net/network-stream.el (network-stream-open-starttls):
12539 Use built-in TLS support if `gnutls-available-p' is true.
12540 (network-stream-open-tls): Ditto.
12541
12542 2011-06-26 Leo Liu <sdl.web@gmail.com>
12543
12544 * register.el (registerv): New struct.
12545 (registerv-make): New function.
12546 (jump-to-register, describe-register-1, insert-register):
12547 Support the jump-func, print-func and insert-func slot of a registerv
12548 struct. (Bug#8415)
12549
12550 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12551
12552 * vc/vc.el (vc-revert-show-diff): New defcustom.
12553 (vc-diff-internal): New arg specifying diff buffer.
12554 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12555 reuse an existing *vc-diff* buffer (Bug#8927).
12556
12557 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12558
12559 2011-06-26 Glenn Morris <rgm@gnu.org>
12560
12561 * progmodes/f90.el (f90-critical-indent): New option.
12562 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12563 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12564 (f90-mode): Doc fix.
12565 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12566 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12567 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12568 (f90-match-end): Handle block, critical.
12569
12570 2011-06-25 Glenn Morris <rgm@gnu.org>
12571
12572 * calendar/diary-lib.el (diary-included-files): Doc fix.
12573 (diary-include-files): New function, extracted from
12574 diary-include-other-diary-files and diary-mark-included-diary-files.
12575 (diary-include-other-diary-files, diary-mark-included-diary-files):
12576 Just call diary-include-files.
12577 (diary-mark-entries): Reset diary-included-files on first call.
12578
12579 * calendar/diary-lib.el (diary-mark-entries)
12580 (diary-mark-included-diary-files):
12581 Visit included diary-files in temp buffers.
12582
12583 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12584 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12585 (f90-start-block-re, f90-imenu-generic-expression)
12586 (f90-looking-at-program-block-start, f90-no-block-limit):
12587 Add support for submodules.
12588
12589 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12590 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
12591
12592 2011-06-25 Eli Zaretskii <eliz@gnu.org>
12593
12594 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12595 buffer-file-type before setting its value, to avoid disastrous
12596 global effects on decoding files for DOS/Windows systems. (Bug#8780)
12597
12598 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12599
12600 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12601
12602 * ses.el (ses-unload-function):
12603 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12604
12605 * proced.el (proced-unload-function):
12606 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12607
12608 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12609
12610 * server.el (server-create-window-system-frame): Add parameters arg.
12611 (server-process-filter): Doc fix. Handle frame-parameters.
12612
12613 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12614
12615 Fix bug#8730, bug#8781.
12616
12617 * loadhist.el (unload--set-major-mode): New function.
12618 (unload-feature): Use it.
12619
12620 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12621 (python-unload-function): New function.
12622
12623 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12626
12627 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12628
12629 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12630 the candidates list.
12631
12632 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
12633
12634 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12635
12636 2011-06-23 Richard Stallman <rms@gnu.org>
12637
12638 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12639 (rmail-variables): Set next-error-move-function.
12640 (rmail-what-message): Take argument POS.
12641 (rmail-next-error-move): New function.
12642
12643 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12644
12645 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12646 messages for adjacent non-terminals.
12647
12648 2011-06-23 Richard Stallman <rms@gnu.org>
12649
12650 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12651 (rmail-show-message-1): Preserve buffer modified flag.
12652 (rmail-start-mail): Don't specify use of rmail-mail-return;
12653 that's done by mail-bury now.
12654 (rmail-mail-return): Handle arg NEWBUF.
12655
12656 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
12657
12658 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12659 SIZE is a number.
12660
12661 2011-06-23 Martin Rudalics <rudalics@gmx.at>
12662
12663 * window.el (get-lru-window, get-mru-window)
12664 (get-largest-window): Never return a minibuffer window.
12665 (display-buffer-pop-up-window): Fix a bug that could lead to
12666 reusing the minibuffer window.
12667 (display-buffer): Pass original specifier argument to
12668 display-buffer-function instead of the normalized one.
12669 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12670
12671 2011-06-22 Leo Liu <sdl.web@gmail.com>
12672
12673 * minibuffer.el (completing-read-function)
12674 (completing-read-default): Move from minibuf.c
12675
12676 2011-06-22 Richard Stallman <rms@gnu.org>
12677
12678 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12679 to Rmail even if not started by a special Rmail command.
12680
12681 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12682 Copy the buffer currently showing just one message.
12683
12684 2011-06-22 Roland Winkler <winkler@gnu.org>
12685
12686 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12687 (bibtex-clean-entry): First delete the old key so that a
12688 customized algorithm for generating the new key does not get
12689 confused by the old key.
12690 (bibtex-url): Obey regexp of first step.
12691 (bibtex-search-entries): Do not use add-to-list with local
12692 list-var.
12693
12694 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12695
12696 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12697 stored a user name, then query for the password first, instead of
12698 waiting for SMTP to give an error message and the trying again.
12699
12700 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12701
12702 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12703 BUFFER in call-process.
12704
12705 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12706
12707 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12708 QUIT twice.
12709 (smtpmail-try-auth-methods): Require user name and password from
12710 auth-source.
12711
12712 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12713
12714 * window.el (display-buffer-default-specifiers)
12715 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12716 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12717 (split-window): Normalize SIDE argument (Bug#8916).
12718
12719 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12720 (special-display-frame-alist, special-display-popup-frame):
12721 Remove duplicate declarations. These are now in window.el.
12722
12723 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12724
12725 * mail/smtpmail.el (smtpmail-via-smtp):
12726 Set :use-starttls-if-possible so that we always use STARTTLS if the
12727 server supports it. SMTP servers that support STARTTLS commonly
12728 require it.
12729
12730 * net/network-stream.el (network-stream-open-starttls): Support
12731 upgrading to STARTTLS always, even if we don't have built-in support.
12732 (open-network-stream): Add the :always-query-capabilities keyword.
12733
12734 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12735 upgrades with `open-network-stream', and rely solely on
12736 auth-source for all credentials. Big changes throughout the file,
12737 but in particular:
12738 (smtpmail-auth-credentials): Remove.
12739 (smtpmail-starttls-credentials): Remove.
12740 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12741 MAIL FROM, too.
12742
12743 * net/network-stream.el (network-stream-open-starttls):
12744 Provide support for client certificates both for external and built-in
12745 STARTTLS.
12746 (auth-source): Require.
12747 (open-network-stream): Document the :client-certificate keyword.
12748 (network-stream-certificate): Change cert-cert to cert and
12749 cert-key to key.
12750
12751 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12752
12753 * net/tramp-cache.el (top): Don't load the persistency file when
12754 "emacs -Q" has been called.
12755
12756 2011-06-21 Tim Harper <timcharper@gmail.com>
12757
12758 * term/ns-win.el (ns-initialize-window-system):
12759 Set application-specific `ApplePressAndHoldEnabled' system
12760 resource to NO as it is not yet supported by the NS port.
12761
12762 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12763
12764 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12765 (list-dynamic-libraries): ...not here.
12766
12767 2011-06-21 Leo Liu <sdl.web@gmail.com>
12768
12769 * subr.el (sha1): Implement sha1 using secure-hash.
12770
12771 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12772
12773 * window.el (display-buffer-alist): In default value do not
12774 enforce searching a window on any but the selected frame.
12775 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12776 (display-buffer-select-window): Remove function.
12777 (display-buffer-in-window): When a window on another frame gets
12778 reused, do not select it any more but just raise its frame if
12779 necessary (Bug#8851) and (Bug#8856).
12780 (display-buffer-normalize-options): Handle pop-up-frames related
12781 options more faithfully.
12782 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12783 window if it is on another frame.
12784 (display-buffer-alist, display-buffer-default-specifiers):
12785 Don't make new frame unsplittable by default.
12786 (display-buffer-normalize-argument): Fix doc-string typo and use
12787 'same-frame-other-window instead of 'other-window when associating
12788 with display-buffer-macro-specifiers.
12789
12790 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12791
12792 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12793 New functions.
12794 (5x5-mode-map, 5x5-mode-menu): Bind them.
12795 (5x5-draw-grid): Tweak the solver's rendering.
12796
12797 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12800 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12801
12802 2011-06-21 Drew Adams <drew.adams@oracle.com>
12803
12804 * menu-bar.el: Use function variable instead of switch-to-buffer.
12805 (menu-bar-select-buffer-function): New variable.
12806 (menu-bar-update-buffers): Use it (bug#8876).
12807
12808 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12809
12810 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12811 variable's status.
12812
12813 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12814
12815 * x-dnd.el (x-dnd-version-from-flags)
12816 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12817 and long as number (Bug#8899).
12818 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12819
12820 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12821
12822 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12823 (completion-try-completion, completion-all-completions): Compute the
12824 metadata argument if it's missing; make it optional (bug#8795).
12825
12826 * wid-edit.el: Use lex-bind and move towards completion-at-point.
12827 (widget-complete): Use new :completion-function property.
12828 (widget-completions-at-point): New function.
12829 (default): Use :completion-function instead of :complete.
12830 (widget-default-completions): Rename from widget-default-complete;
12831 Rewrite.
12832 (widget-string-complete, widget-file-complete, widget-color-complete):
12833 Remove functions.
12834 (file, symbol, function, variable, coding-system, color):
12835 * international/mule-cmds.el (default-input-method, charset)
12836 (language-info-custom-alist):
12837 * cus-edit.el (face): Use new property :completions.
12838
12839 * progmodes/pascal.el (pascal-completions-at-point): New function.
12840 (pascal-mode): Use it.
12841 (pascal-mode-map): Use completion-at-point.
12842 (pascal-toggle-completions): Make obsolete.
12843 (pascal-complete-word, pascal-show-completions):
12844 * progmodes/octave-mod.el (octave-complete-symbol):
12845 Redefine as obsolete alias.
12846 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12847 Signal absence of completion info for old Octave,
12848 (inferior-octave-complete): Redefine as obsolete alias.
12849 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12850 (meta-completions-at-point): Rename from meta-complete-symbol and
12851 adapt it for use on completion-at-point-functions.
12852 (meta-common-mode): Use it.
12853 (meta-looking-at-backward, meta-match-buffer): Remove.
12854 (meta-complete-symbol): Redefine as obsolete alias.
12855 (meta-common-mode-map): Use completion-at-point.
12856 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12857 (makefile-mode-map): Use completion-at-point.
12858 (makefile-completions-at-point): Rename from makefile-complete and
12859 adapt it for use on completion-at-point-functions.
12860 (makefile-mode): Use it.
12861 (makefile-complete): Redefine as obsolete alias.
12862
12863 2011-06-20 Deniz Dogan <deniz@dogan.se>
12864
12865 * net/rcirc.el: Delete trailing whitespaces once and for all.
12866
12867 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12868
12869 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12870
12871 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
12872
12873 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12874
12875 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12876
12877 2011-06-19 Martin Rudalics <rudalics@gmx.at>
12878
12879 * window.el (display-buffer-other-window-means-other-frame):
12880 Call display-buffer-normalize-alist.
12881 (display-buffer-normalize-specifiers-1): Rename to
12882 display-buffer-normalize-argument. New argument other-frame.
12883 Rewrite.
12884 (display-buffer-normalize-specifiers-2): Rename to
12885 display-buffer-normalize-options.
12886 (display-buffer-normalize-alist-1): New function.
12887 (display-buffer-normalize-specifiers-3): Rename to
12888 display-buffer-normalize-alist.
12889 Call display-buffer-normalize-alist-1.
12890 (display-buffer-normalize-options-inhibit): New variable.
12891 (display-buffer-normalize-specifiers): Rewrite calling
12892 display-buffer-normalize-alist,
12893 display-buffer-normalize-argument, and
12894 display-buffer-normalize-options. Don't call the latter if
12895 display-buffer-normalize-options-inhibit is non-nil.
12896 (frame-auto-delete): New option.
12897 (window-deletable-p): Use frame-auto-delete.
12898 (window-list-no-nils, window-state-ignored-parameters)
12899 (window-state-get-1, window-state-get, window-state-put-list)
12900 (window-state-put-1, window-state-put-2, window-state-put):
12901 New functions.
12902 (display-buffer-normalize-options): Move special-display-p group
12903 after pop-up-frame group (Bug#8851) and (Bug#8856).
12904
12905 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
12906
12907 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12908 groups (Bug#8776).
12909 (rx-submatch-n): New function.
12910 (rx): Document it.
12911
12912 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12913 (Bug#8768).
12914
12915 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12916
12917 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12918
12919 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12920 anytime existing face settings are present (Bug#8889).
12921
12922 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12923 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12924 Remove unused argument.
12925
12926 2011-06-18 Martin Rudalics <rudalics@gmx.at>
12927
12928 * window.el (display-buffer-default-specifiers):
12929 Remove pop-up-frame. Add pop-up-window-min-height,
12930 pop-up-window-min-width, and another reuse-window specifier
12931 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12932 (display-buffer-normalize-specifiers-2):
12933 Handle split-height-threshold and split-width-threshold also when
12934 pop-up-windows is unset. Add a reuse-window specifier for the
12935 case popping up a new window fails.
12936 (special-display-popup-frame): Remove double quoting.
12937 (display-buffer-normalize-specifiers-1): Fix thinko.
12938
12939 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12940
12941 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12942 according to comint-completion-addsuffix.
12943
12944 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12945 (pcomplete-suffix-list): Mark as obsolete.
12946 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12947 pcomplete-seen in the closure.
12948 (pcomplete-comint-setup): Setup completion-at-point as well.
12949 (pcomplete--entries): New function.
12950 (pcomplete--env-regexp): New var.
12951 (pcomplete-entries): Rewrite to work with partial-completion and
12952 without relying on pcomplete-suffix-list.
12953 (pcomplete-pare-list): Remove, unused.
12954
12955 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12956
12957 * window.el (display-buffer-alist): Set pop-up-window-min-height
12958 and pop-up-window-min-width in default value. Reported by
12959 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12960 other-window-means-other-frame.
12961 (display-buffer-macro-specifiers): Comment out entry for
12962 other-window specifier.
12963 (display-buffer-other-window-means-other-frame): New function.
12964 (display-buffer-normalize-specifiers-1): New arguments
12965 buffer-name and label. Treat other-window case specially.
12966 (display-buffer-normalize-specifiers-2): Treat other-window case
12967 specially.
12968 (display-buffer-normalize-specifiers-3): New function.
12969 (display-buffer-normalize-specifiers):
12970 Call display-buffer-normalize-specifiers-3.
12971
12972 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12973
12974 * window.el (same-window-p): Fix two typos introduced when
12975 adding with-no-warnings.
12976 (display-buffer-normalize-specifiers-1): Don't check
12977 pop-up-frames for 'unset initialization.
12978 (display-buffer-normalize-specifiers-2): Major rewrite using
12979 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12980 (pop-up-frames, display-buffer-reuse-frames)
12981 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12982 Suggested by David Engster <deng@randomsample.de>.
12983 (even-window-heights): Initialize to 'unset.
12984 (display-buffer-alist-set): Handle new 'unset initializations.
12985 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12986 other window case.
12987
12988 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12989
12990 * window.el (display-buffer-normalize-specifiers-1):
12991 Respect current value of pop-up-frames for most reasonable values of
12992 second argument of display-buffer (Bug#8865).
12993 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12994 (switch-to-buffer-other-window-same-frame)
12995 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12996 Adams (Bug#8875).
12997 (display-buffer): Don't check noninteractive when calling
12998 display-buffer-pop-up-frame.
12999 (display-buffer-pop-up-frame): Never pop up a frame in
13000 noninteractive mode (Bug#8857).
13001 (enlarge-window, shrink-window): Don't report an error when the
13002 window can't be resized as requested (Bug#8862).
13003
13004 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13005
13006 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13007
13008 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13009
13010 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13011
13012 2011-06-15 Alan Mackenzie <acm@muc.de>
13013
13014 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13015 for declarators, disable knr checking to speed up for normal files.
13016 2: Refactor, replacing a sequence of nested if forms by a cond form.
13017
13018 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13019
13020 * net/network-stream.el (open-network-stream): Add the keyword
13021 :always-query-capabilities for the case where you want to force a
13022 `plain' network connection, but the protocol still requires the
13023 capabilitiy command (i.e., SMTP and EHLO).
13024
13025 * subr.el (process-live-p): Rename from `process-alive-p' for
13026 consistency with other `-live-p' functions.
13027
13028 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13029
13030 * window.el (same-window-buffer-names, same-window-regexps)
13031 (special-display-frame-alist, special-display-popup-frame)
13032 (special-display-function, special-display-buffer-names)
13033 (special-display-regexps, pop-up-frame-alist)
13034 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13035 (pop-up-windows, split-window-preferred-function)
13036 (split-height-threshold, split-width-threshold, even-window-heights)
13037 (display-buffer-mark-dedicated): Don't encourage the use of
13038 display-buffer-alist from Elisp code.
13039
13040 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13041
13042 * progmodes/python.el (python-mode): Derive from prog-mode.
13043 * progmodes/ps-mode.el (ps-mode):
13044 * progmodes/mixal-mode.el (mixal-mode):
13045 * progmodes/cfengine.el (cfengine-mode):
13046 * progmodes/ld-script.el (ld-script-mode): Likewise.
13047
13048 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13049
13050 * window.el (display-buffer-alist): Trim default value to avoid
13051 popping up a new frame (Bug#8857) or reusing an arbitrary window
13052 on another frame.
13053 (display-buffer): Do not fall back on popping up a new frame in
13054 batch mode (Bug#8857).
13055
13056 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13057
13058 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13059 (custom-theme-summary): New function.
13060 (customize-themes): Use it.
13061
13062 2011-06-13 Glenn Morris <rgm@gnu.org>
13063
13064 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13065
13066 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13067
13068 * help.el (help-window): Remove variable.
13069 (help-window-point-marker, temp-buffer-max-height)
13070 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13071 (help-print-return-message): Don't set help-window.
13072 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13073 (help-window-setup-finish): Remove.
13074 (help-window-display-message, help-window-setup)
13075 (with-help-window): Major rewrite based on new
13076 display-buffer-window variable.
13077
13078 * help-mode.el (help-mode-finish): Remove help-window related
13079 code.
13080
13081 * view.el (view-exits-all-viewing-windows): Remove reference to
13082 view-return-to-alist in doc-string.
13083 (view-return-to-alist): Make obsolete.
13084 (view-buffer): Call pop-to-buffer-same-window and remove
13085 undo-window code.
13086 (view-buffer-other-window): Call pop-to-buffer-other-window and
13087 simplify code. Ignore second argument.
13088 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13089 simplify code. Ignore second argument.
13090 (view-return-to-alist-update): Make obsolete.
13091 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13092 Rewrite using quit-restore window parameters.
13093 (view-mode-exit): Rename second argument to EXIT-ONLY.
13094 Rewrite using quit-restore-window.
13095 (View-exit, View-exit-and-edit, View-leave, View-quit)
13096 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13097 appropriate arguments.
13098 (view-end-message): Use quit-restore window parameter.
13099
13100 * window.el (display-buffer-function): Rewrite doc-string.
13101 (display-buffer-window, display-buffer-alist): New variables.
13102 (display-buffer-split-specifiers)
13103 (display-buffer-side-specifiers)
13104 (display-buffer-macro-specifiers): New constants.
13105 (display-buffer-even-window-sizes, display-buffer-set-height)
13106 (display-buffer-set-width, display-buffer-select-window)
13107 (display-buffer-in-window, display-buffer-reuse-window)
13108 (display-buffer-split-window-1, display-buffer-split-window)
13109 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13110 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13111 (display-buffer-in-side-window, normalize-buffer-to-display)
13112 (display-buffer-normalize-specifiers-1)
13113 (display-buffer-normalize-specifiers-2)
13114 (display-buffer-normalize-specifiers, display-buffer-frame):
13115 New functions.
13116 (display-buffer): Major rewrite.
13117 (display-buffer-other-window, display-buffer-other-frame)
13118 (pop-to-buffer, switch-to-buffer-other-window)
13119 (switch-to-buffer-other-frame): Rewrite.
13120 (display-buffer-same-window, display-buffer-same-frame)
13121 (display-buffer-same-frame-other-window)
13122 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13123 (pop-to-buffer-other-window)
13124 (pop-to-buffer-same-frame-other-window)
13125 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13126 (switch-to-buffer-other-window-same-frame): New functions.
13127 (same-window-p, special-display-p): Rewrite disabling warnings.
13128 Make obsolete.
13129 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13130 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13131 Make obsolete
13132 (same-window-buffer-names, same-window-regexps)
13133 (special-display-frame-alist, special-display-popup-frame)
13134 (special-display-function, special-display-buffer-names)
13135 (special-display-regexps, pop-up-frame-alist)
13136 (pop-up-frame-function, split-window-preferred-function)
13137 (split-height-threshold, split-width-threshold)
13138 (even-window-heights): Make obsolete.
13139
13140 2011-06-12 Glenn Morris <rgm@gnu.org>
13141
13142 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13143 Misc simplifications.
13144
13145 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13146
13147 * window.el (window-safely-shrinkable-p): Restore function which
13148 was inadvertently removed in change from 2011-06-11. Declare as
13149 obsolete.
13150
13151 * calendar/calendar.el (calendar-generate-window):
13152 Use window-iso-combined-p instead of combination of one-window-p and
13153 window-safely-shrinkable-p.
13154
13155 2011-06-12 Glenn Morris <rgm@gnu.org>
13156
13157 * progmodes/fortran.el (fortran-mode-syntax-table):
13158 * progmodes/f90.el (f90-mode-syntax-table):
13159 Set % to punctuation. (Bug#8820)
13160 (f90-find-tag-default): Remove, no longer needed.
13161
13162 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13163
13164 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13165
13166 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13167
13168 * image.el (image-animated-p): Return animation delay in seconds.
13169 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13170 (image-animate-timeout): Remove DELAY argument. Don't assume
13171 every subimage has the same delay; get it from image-animated-p.
13172 (image-animate): Caller changed.
13173
13174 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13175
13176 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13177 to ignored backtrace functions.
13178
13179 2011-06-11 Glenn Morris <rgm@gnu.org>
13180
13181 * calendar/appt.el (appt-disp-window-function): Doc fix.
13182 (appt-check): Handle overlapping appointments. (Bug#8337)
13183
13184 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13185
13186 * window.el (window-tree-1, window-tree): New functions, moving
13187 the latter to window.el.
13188 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13189 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13190 (bw-refresh-edges): Remove.
13191 (balance-windows-1, balance-windows-2): New functions.
13192 (balance-windows): Rewrite in terms of window tree functions,
13193 balance-windows-1 and balance-windows-2.
13194 (bw-adjust-window): Remove.
13195 (balance-windows-area-adjust): New function with functionality of
13196 bw-adjust-window but using resize-window.
13197 (set-window-text-height): Rewrite doc-string.
13198 Use normalize-live-window and resize-window.
13199 (enlarge-window-horizontally, shrink-window-horizontally):
13200 Rename argument to DELTA.
13201 (window-buffer-height): New function.
13202 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13203 Rewrite using new window resize routines.
13204 (kill-buffer-and-window, mouse-autoselect-window-select):
13205 Use ignore-errors instead of condition-case.
13206 (quit-window): Call delete-frame instead of delete-windows-on
13207 for the only buffer on frame.
13208
13209 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13210
13211 * loadup.el (top-level): Load window before files for the sake
13212 of replace-buffer-in-windows.
13213
13214 * files.el (read-buffer-to-switch)
13215 (switch-to-buffer-other-window)
13216 (switch-to-buffer-other-frame, display-buffer-other-frame):
13217 Move to window.el.
13218
13219 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13220 (previous-buffer): Move to window.el.
13221
13222 * bindings.el (unbury-buffer): Move to window.el.
13223
13224 * window.el (delete-other-windows-vertically): Move after
13225 definition of delete-other-windows.
13226 (other-window, delete-windows-on, replace-buffer-in-windows):
13227 Move here from window.c.
13228 (record-window-buffer, unrecord-window-buffer)
13229 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13230 (switch-to-next-buffer): New functions.
13231 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13232 from simple.el. Call switch-to-next-buffer.
13233 (previous-buffer): Move here from simple.el.
13234 Call switch-to-prev-buffer.
13235 (bury-buffer): Move here from buffer.c. Switch to previous
13236 buffer when window cannot be deleted.
13237 (unbury-buffer): Move here from bindings.el.
13238 (ctl-x-map): Move binding for other-window from window.c to
13239 here.
13240 (read-buffer-to-switch, switch-to-buffer-other-window)
13241 (switch-to-buffer-other-frame): Move here from files.el.
13242 (normalize-buffer-to-switch-to): New functions.
13243 (switch-to-buffer): Move here from buffer.c.
13244 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13245
13246 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13247
13248 * window.el (window-min-height, window-min-width): Move here
13249 from window.c. Add defcustoms and rewrite doc-strings.
13250 (resize-mini-window, resize-window): New functions.
13251 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13252 Move here from window.c.
13253 (maximize-window, minimize-window): New functions.
13254 (delete-window, delete-other-windows, split-window): Move here
13255 from window.c.
13256 (window-split-min-size): New function.
13257 (split-window-keep-point): Mention split-window-above-each-other
13258 instead of split-window-vertically.
13259 (split-window-above-each-other, split-window-vertically):
13260 Rename split-window-vertically to split-window-above-each-other
13261 and provide defalias for old definition.
13262 (split-window-side-by-side, split-window-horizontally):
13263 Rename split-window-horizontally to split-window-side-by-side
13264 and provide defalias for the old definition.
13265 (ctl-x-map): Move bindings for delete-window,
13266 delete-other-windows and enlarge-window here from window.c.
13267 Replace bindings for split-window-vertically and
13268 split-window-horizontally by bindings for
13269 split-window-above-each-other and split-window-side-by-side.
13270
13271 * cus-start.el (all): Remove entries for window-min-height and
13272 window-min-width. Add entries for window-splits and
13273 window-nest.
13274
13275 2011-06-09 Glenn Morris <rgm@gnu.org>
13276
13277 * calendar/appt.el (appt-mode-line): New function.
13278 (appt-check, appt-disp-window): Use it.
13279
13280 * files.el (hack-one-local-variable-eval-safep):
13281 Allow minor-modes with explicit +/-1 arguments.
13282
13283 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13284
13285 * term/xterm.el (xterm): Add defgroup.
13286 (xterm-extra-capabilities): Add defcustom to supply known xterm
13287 capabilities, skip querying them, or query them (default).
13288 (terminal-init-xterm): Use it.
13289 (terminal-init-xterm-modify-other-keys): New function to set up
13290 modifyOtherKeys support to simplify `terminal-init-xterm'.
13291
13292 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13293
13294 * window.el (resize-window-reset, resize-window-reset-1)
13295 (resize-subwindows-skip-p, resize-subwindows-normal)
13296 (resize-subwindows, resize-other-windows, resize-this-window)
13297 (resize-root-window, resize-root-window-vertically)
13298 (window-deletable-p, window-or-subwindow-p)
13299 (frame-root-window-p): New functions.
13300
13301 2011-06-09 Glenn Morris <rgm@gnu.org>
13302
13303 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13304 (ange-ftp-get-files): Use it.
13305
13306 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13307
13308 * mail/sendmail.el (mail-recover-1, mail-recover):
13309 * files.el (recover-file, recover-session):
13310 Handle dired-listing-switches not being just a single short option.
13311
13312 2011-06-09 Glenn Morris <rgm@gnu.org>
13313
13314 * calendar/appt.el (appt-display-message, appt-disp-window):
13315 Handle lists of appointments.
13316
13317 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13318
13319 * window.el (one-window-p): Move down in code.
13320 Rewrite doc-string.
13321 (window-current-scroll-bars): Rewrite doc-string.
13322 Normalize live window argument.
13323 (walk-windows, get-window-with-predicate, count-windows):
13324 Rewrite doc-string. Use window-list-1.
13325 (window-in-direction-2, window-in-direction, get-mru-window):
13326 New functions.
13327
13328 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13329
13330 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13331 Doc fix (Bug#8713).
13332
13333 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13334
13335 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13336
13337 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13338
13339 * loadhist.el (unload-feature-special-hooks):
13340 Add `comint-output-filter-functions'.
13341
13342 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13343
13344 * calendar/appt.el (appt-check): Move some initializations into the let.
13345
13346 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13347
13348 * window.el (window-height): Defalias to window-total-height.
13349 (window-width): Defalias to window-body-width.
13350
13351 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13352
13353 * image-mode.el (image-toggle-animation): New command.
13354 (image-mode-map): Bind it to RET.
13355 (image-mode): Update message.
13356 (image-toggle-display-image): Avoid a spurious cache flush.
13357 (image-transform-rotation): Doc fix.
13358 (image-transform-properties): Return quickly in the normal case.
13359 (image-animate-loop): Rename from image-animate-max-time.
13360
13361 * image.el (image-animate-max-time): Move to image-mode.el.
13362 (create-animated-image): Remove unnecessary function.
13363 (image-animate): Rename from image-animate-start. New arg.
13364 (image-animate-stop): Remove; just use image-animate-timer.
13365 (image-animate-timer): Use car-safe.
13366 (image-animate-timeout): Rename argument.
13367
13368 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13369
13370 * window.el (get-lru-window, get-largest-window): Move here from
13371 window.c. Rename first argument to ALL-FRAMES.
13372 Rephrase doc-strings.
13373 (get-buffer-window-list): Rewrite using window-list-1.
13374 Rephrase doc-string.
13375 (window-safe-min-height, window-safe-min-width): New constants.
13376 (window-size-ignore, window-min-size, window-min-size-1)
13377 (window-sizable, window-sizable-p, window-size-fixed-1)
13378 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13379 (window-max-delta-1, window-max-delta, window-resizable)
13380 (window-resizable-p, window-total-height, window-total-width)
13381 (window-body-width): New functions.
13382 (window-full-height-p, window-full-width-p): Rewrite using
13383 window-total-size.
13384 (window-body-height): Rewrite using window-body-size.
13385
13386 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13387
13388 * window.el (window-right, window-left, window-child)
13389 (window-child-count, window-last-child, window-any-p)
13390 (normalize-live-buffer, normalize-live-frame)
13391 (normalize-any-window, normalize-live-window)
13392 (window-iso-combination-p, window-iso-combined-p)
13393 (window-iso-combinations)
13394 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13395 (windows-with-parameter, window-with-parameter)
13396 (window-atom-root, make-window-atom, window-atom-check-1)
13397 (window-atom-check, window-side-check, window-check):
13398 New functions.
13399 (ignore-window-parameters, window-sides, window-sides-vertical)
13400 (window-sides-slots): New variables.
13401 (window-size-fixed): Move down in code. Minor doc-string fix.
13402
13403 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13404
13405 * comint.el (comint-dynamic-complete-as-filename)
13406 (comint-dynamic-complete-filename): Correctly call
13407 completion-in-region.
13408
13409 2011-06-05 Deniz Dogan <deniz@dogan.se>
13410
13411 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13412 in last change.
13413
13414 2011-06-05 Deniz Dogan <deniz@dogan.se>
13415
13416 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13417 (rcirc): Use it to prompt for encryption.
13418
13419 2011-06-05 Roland Winkler <winkler@gnu.org>
13420
13421 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13422 (bibtex-search-entries): New command bound to C-c C-a.
13423 (bibtex-display-entries): New function.
13424
13425 2011-06-05 Roland Winkler <winkler@gnu.org>
13426
13427 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13428 (bibtex-insert-kill): After yanking insert newline if necessary.
13429 (bibtex-initialize): Call bibtex-string-files-init only once.
13430 (bibtex-mode): Do not call easy-menu-add.
13431 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13432 (bibtex-yank): Set arg properly if nil.
13433
13434 2011-06-05 Roland Winkler <winkler@gnu.org>
13435
13436 * textmodes/bibtex.el (bibtex-search-entry-globally):
13437 New variable.
13438 (bibtex-search-entry): Use it.
13439
13440 2011-06-05 Roland Winkler <winkler@gnu.org>
13441
13442 * textmodes/bibtex.el (bibtex-entry-format): New option
13443 sort-fields.
13444 (bibtex-format-entry, bibtex-reformat): Honor this option.
13445 (bibtex-parse-entry): Return fields in proper order.
13446
13447 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13448
13449 * doc-view.el (doc-view-remove-if): Move computation of result out
13450 of `dolist' to silence misleading lexical-binding warning.
13451
13452 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13453
13454 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13455 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13456
13457 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13458
13459 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13460 "SunOS 5.10".
13461
13462 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13463
13464 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13465 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13466 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13467 (tramp-parse-putty):
13468 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13469 (tramp-completion-function-alist-ssh)
13470 (tramp-completion-function-alist-telnet)
13471 (tramp-completion-function-alist-su)
13472 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13473 cookie.
13474
13475 * net/tramp-ftp.el:
13476 * net/tramp-sh.el:
13477 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13478 load "tramp.el" `tramp-set-completion-function'.
13479
13480 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13481
13482 * shell.el: Require and use pcomplete.
13483 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13484 (shell-completion-vars): Set pcomplete-default-completion-function.
13485
13486 2011-06-04 Deniz Dogan <deniz@dogan.se>
13487
13488 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13489 `memq' (Bug#8799).
13490
13491 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13492
13493 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13494
13495 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13496
13497 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13498 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13499 * vc/log-view.el (log-view-beginning-of-defun):
13500 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13501 (smerge-refine-forward, smerge-refine-chopup-region):
13502 Silence warning for unused `dotimes' counter variables.
13503
13504 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13505
13506 * net/tramp.el (tramp-with-progress-reporter): Rename from
13507 with-progress-reporter. Use `declare'.
13508 * net/tramp-smb.el:
13509 * net/tramp-sh.el:
13510 * net/tramp-gvfs.el: Update all uses.
13511
13512 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13513
13514 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13515 buffer isn't killed before making it current.
13516
13517 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13518
13519 Silence various byte-compiler warnings.
13520 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13521 `access-type' and new obsolescence format.
13522 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13523 new format.
13524 (byte-compile-check-variable): New `access-type' argument.
13525 Only warn if the access-type is obsolete.
13526 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13527 (byte-compile-variable-set): Adjust callers.
13528 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13529 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13530 setting it as obsolete.
13531 * simple.el (minibuffer-completing-symbol):
13532 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13533 access as obsolete.
13534 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13535 obsolete yet.
13536 * international/quail.el (quail-mouse-choose-completion): Remove unused
13537 code referring to obsolete var.
13538 (quail-choose-completion-string): Remove.
13539 * server.el (server-clients-with, server-kill-buffer-query-function)
13540 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13541 * proced.el (proced-send-signal):
13542 * emacs-lisp/lisp.el (lisp-complete-symbol):
13543 Replace completion-annotate-function with completion-extra-properties.
13544
13545 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13546
13547 * simple.el (goto-line): Use read-number.
13548 (overriding-map-is-bound): Remove.
13549 (saved-overriding-map): Change default.
13550 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13551 Take the map as argument.
13552 (universal-argument, negative-argument, digit-argument): Use it.
13553 (restore-overriding-map): Adjust.
13554 (do-auto-fill): Use fill-forward-paragraph.
13555 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13556
13557 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13558 (minibuffer-inactive-mode): New major mode.
13559 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13560 the *Messages* buffer" hack.
13561 (mouse-popup-menubar): Don't burp if the event is a normal key.
13562
13563 Miscellaneous tweaks.
13564 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13565 lexical scoping as in subr.el's dolist and dotimes.
13566 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13567 Silence compiler warning.
13568 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13569 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13570 * international/ccl.el (ccl-compile): Trivial simplification.
13571 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13572 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13573 `printflag' argument.
13574 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13575 Purecopy the whole obsolescence data.
13576
13577 2011-06-01 Leo Liu <sdl.web@gmail.com>
13578
13579 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13580 improve doc-string as suggested by Marco Pessotto
13581 <melmothx@gmail.com>.
13582 (rcirc-print): Fix last change.
13583
13584 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13585
13586 * minibuffer.el (complete-with-action): Return nil for the metadata and
13587 boundaries of non-functional tables.
13588 (completion-table-dynamic): Return nil for the metadata.
13589 (completion-table-with-terminator): Add default case, using
13590 complete-with-action.
13591 (completion--metadata): New function.
13592 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13593 to try and avoid pathological performance problems.
13594 (completion--embedded-envvar-table): Return `category' metadata.
13595
13596 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13597
13598 * subr.el (process-alive-p): New tiny convenience function.
13599
13600 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13601
13602 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13603 content but also its previous major mode.
13604
13605 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
13606
13607 * emacs-lisp/debug.el (debug): Restore the previous content of the
13608 *Backtrace* buffer when we exit with C-M-c.
13609
13610 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13611
13612 * minibuffer.el: Add metadata method to completion tables.
13613 (completion-category-overrides): New defcustom.
13614 (completion-metadata, completion--field-metadata)
13615 (completion-metadata-get, completion--styles)
13616 (completion--cycle-threshold): New functions.
13617 (completion-try-completion, completion-all-completions):
13618 Add `metadata' argument to choose completion-styles.
13619 (completion--do-completion): Use metadata to choose cycling.
13620 (completion-all-sorted-completions): Use metadata for sorting.
13621 Remove :completion-cycle-penalty which is not needed any more.
13622 (completion--try-word-completion): Add `metadata' argument.
13623 (minibuffer-completion-help): Check metadata for annotation function
13624 and sorting.
13625 (completion-file-name-table): Return `category' metadata.
13626 (minibuffer-completing-file-name): Make obsolete.
13627 * simple.el (minibuffer-completing-symbol): Make obsolete.
13628 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13629 completion-try-completion.
13630
13631 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13632
13633 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13634
13635 2011-05-30 Leo Liu <sdl.web@gmail.com>
13636
13637 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13638 (rcirc-print): Decode all incoming messages (bug#8744).
13639 (rcirc-decode-coding-system): Allow value nil for automatic coding
13640 system detection.
13641
13642 2011-06-01 Glenn Morris <rgm@gnu.org>
13643
13644 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13645
13646 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13647
13648 * image.el (image-animate-max-time): Allow nil and t values.
13649 Default to nil.
13650 (create-animated-image): Doc fix.
13651 (image-animate-start): Remove second arg; just use
13652 image-animate-max-time.
13653 (image-animate-timeout): Doc fix. Args changed.
13654
13655 * image-mode.el (image-toggle-display-image): Ensure that the
13656 image spec passed to the animate timer is the same object as in
13657 the buffer's display property (Bug#6981).
13658 (image-transform-properties): Doc fix.
13659
13660 * image.el (image-animate-max-time): Default to nil.
13661
13662 2011-05-29 Martin Rudalics <rudalics@gmx.at>
13663
13664 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13665 entire buffer list (Bug#8184).
13666
13667 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13668
13669 * image.el (imagemagick-types-inhibit)
13670 (imagemagick-register-types): Doc fix.
13671
13672 2011-05-29 Deniz Dogan <deniz@dogan.se>
13673
13674 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13675 default.
13676
13677 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13678
13679 * select.el: Don't perform clipboard-manager saving in hooks;
13680 leave the hooks empty.
13681
13682 2011-05-28 Leo Liu <sdl.web@gmail.com>
13683
13684 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13685 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13686 (occur-edit-mode): New major mode (Bug#8463).
13687 (occur-after-change-function): New function.
13688 (occur-engine): Give Occur tags a read-only property.
13689
13690 2011-05-28 Kevin Ryde <user42@zip.com.au>
13691
13692 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13693
13694 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13695
13696 * bindings.el (help-echo): Make the initial non-indicator dash
13697 empty on graphical terminals (Bug#7295).
13698
13699 * files.el (auto-mode-alist): Move config rule after the
13700 in-stripping one (Bug#8547).
13701
13702 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13703
13704 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13705 setting (Bug#8740).
13706
13707 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13708
13709 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13710 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13711 (Bug#8539).
13712
13713 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13714
13715 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13716
13717 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13718
13719 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13720 (hs-hide-block-at-point, hs-find-block-beginning)
13721 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13722 (Bug#8279).
13723
13724 2011-05-28 Glenn Morris <rgm@gnu.org>
13725
13726 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13727
13728 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13729
13730 * help-fns.el (describe-function-1): If the function is a derived
13731 major mode, print the parent mode.
13732
13733 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13734 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13735
13736 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13737
13738 * minibuffer.el (completion--capf-wrapper): Check applicability before
13739 returning non-nil for non-exclusive completion data.
13740 * progmodes/etags.el (tags-completion-at-point-function):
13741 * info-look.el (info-lookup-completions-at-point): Mark as
13742 non-exclusive.
13743 (info-complete): Adjust accordingly.
13744
13745 * info-look.el: Convert to lexical-binding and completion-at-point.
13746 (info-lookup-completions-at-point): New function.
13747 (info-complete): Use it and completion-in-region.
13748
13749 2011-05-28 Drew Adams <drew.adams@oracle.com>
13750
13751 * isearch.el: Let M-e start with point at the first mismatched char.
13752 (isearch-fail-pos): New function.
13753 (isearch-edit-string): Use it.
13754
13755 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13756
13757 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13758
13759 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13760
13761 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13762 traversal functions for avl-trees.
13763 (avl-tree--stack): New struct.
13764 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13765 (avl-tree-enter): Add optional `updatefun' arg.
13766 (avl-tree--do-enter): Add optional `updatefun' arg.
13767 Change return value.
13768 (avl-tree-delete): Add optional `test' and `nilflag' args.
13769 (avl-tree--do-delete): Add `test' and `nilflag' args.
13770 Change return value.
13771 (avl-tree-member): Add optional `nilflag'
13772 (avl-tree-member-p): New function.
13773 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13774 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13775 (avl-tree-stack-empty-p): New functions.
13776
13777 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13778 avl-tree--del-balance1 and make it work both ways.
13779 (avl-tree--del-balance2): Remove.
13780 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13781 make it work both ways.
13782 (avl-tree--enter-balance2): Remove.
13783 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13784 New macros.
13785 (avl-tree--mapc, avl-tree-map): Add direction argument.
13786
13787 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13788
13789 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13790
13791 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13792
13793 * select.el: Support clipboard managers with built-in function
13794 x-clipboard-manager-save, via delete-frame-functions and
13795 kill-emacs-hook.
13796 (xselect-convert-to-targets): Add MULTIPLE target to list.
13797 (xselect-convert-to-save-targets): New function.
13798
13799 2011-05-27 Kenichi Handa <handa@m17n.org>
13800
13801 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13802 let-binding rfc2047-encode-encoded-words to nil.
13803
13804 2011-05-27 Glenn Morris <rgm@gnu.org>
13805
13806 * mail/emacsbug.el: Don't require url-util.
13807
13808 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13809
13810 * files.el (set-auto-mode):
13811 Also respect mode: entries at the end of the file. (Bug#8586)
13812
13813 2011-05-26 Glenn Morris <rgm@gnu.org>
13814
13815 * files.el (hack-local-variables-prop-line, hack-local-variables):
13816 Downcase mode names, as seems to be traditional.
13817 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13818
13819 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13820 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13821
13822 2011-05-25 Julien Danjou <julien@danjou.info>
13823
13824 * textmodes/rst.el (rst-define-level-faces): Do not define face
13825 symbol if it is already defined.
13826
13827 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13828
13829 * play/5x5.el (5x5-new-game, 5x5-randomize):
13830 Reset 5x5-solver-output to nil when a new grid is cast.
13831 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13832 these debugging traces, as defmacro breaks the compiled code.
13833
13834 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13835
13836 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13837
13838 2011-05-24 Leo Liu <sdl.web@gmail.com>
13839
13840 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13841 (vc-bzr-sha1): Adapt.
13842
13843 * sha1.el: Remove. Function `sha1' is now builtin.
13844
13845 * bindings.el: Provide sha1 feature.
13846
13847 2011-05-24 Kenichi Handa <handa@m17n.org>
13848
13849 * mail/sendmail.el: Require `rfc2047'.
13850 (mail-insert-from-field): Do not perform RFC2047 encoding.
13851 (mail-encode-header): New function.
13852 (sendmail-send-it): Set buffer-file-coding-system of the work
13853 buffer to the return value of select-message-coding-system.
13854 Call mail-encode-header.
13855
13856 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13857
13858 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
13859
13860 * mail/supercite.el (sc-default-cite-frame):
13861 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13862
13863 2011-05-24 Glenn Morris <rgm@gnu.org>
13864
13865 * progmodes/python.el (brm-menu): Declare.
13866
13867 * emulation/viper.el (viper-set-hooks): Declare.
13868
13869 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13870 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13871 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13872 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13873 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13874 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13875
13876 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13877
13878 Add an :exit-function for completion-at-point.
13879
13880 * minibuffer.el (completion--done): New fun.
13881 (completion--do-completion): Use it. New arg `expect-exact'.
13882 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13883 since completion--do-completion does it for us now.
13884 (minibuffer-force-complete): Use completion--done and
13885 completion--replace. Handle sole-completion case with more care.
13886 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13887 (completion-extra-properties): New var.
13888 (completion-annotate-function): Make obsolete.
13889 (minibuffer-completion-help): Adjust accordingly.
13890 Use completion-list-insert-choice-function.
13891 (completion-at-point, completion-help-at-point):
13892 Bind completion-extra-properties.
13893 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13894 * simple.el (completion-list-insert-choice-function): New var.
13895 (completion-setup-function): Preserve it.
13896 (choose-completion): Pay attention to it, shuffle the code a bit.
13897 (choose-completion-string): New arg `insert-function'.
13898
13899 * textmodes/bibtex.el: Convert to lexical binding.
13900 (bibtex-mode-map): Use completion-at-point.
13901 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13902 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13903 (bibtex-complete): Define as obsolete alias.
13904 (bibtex-complete-internal): Remove.
13905 (bibtex-format-entry): Remove unused sub-group in regexp.
13906 * shell.el (shell--command-completion-data)
13907 (shell-environment-variable-completion):
13908 * pcomplete.el (pcomplete-completions-at-point):
13909 * comint.el (comint--complete-file-name-data): Use :exit-function
13910 instead of completion-table-with-terminator so it also works for
13911 choose-completion.
13912
13913 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13914
13915 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13916
13917 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13918 (bug#8710).
13919
13920 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13921
13922 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13923
13924 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13925 customization variable and implement: If non-nil, auto-fill will
13926 be inhibited while on topic's header line.
13927
13928 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13929
13930 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13931 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13932 always have a solution in grid size = 5 cases.
13933 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13934 (5x5-solver-output, 5x5-log-buffer): New vars.
13935 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13936 Make these variables buffer local to achieve 5x5 multi-session-ness.
13937 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13938 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13939 (5x5-solve-suggest): New funs.
13940 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13941 randomize a grid so that we ensure that there is always a solution.
13942 (5x5-make-random-grid): Allow other movement than flipping.
13943
13944 2011-05-23 Kevin Ryde <user42@zip.com.au>
13945
13946 * emacs-lisp/advice.el (ad-read-advised-function):
13947 Use `function-called-at-point' as the default, if it has
13948 advice and passes PREDICATE.
13949
13950 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13951
13952 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13953 byte-compile-lambda if it's actually a lambda.
13954
13955 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13956 Fix function quoting. Use backquote better.
13957
13958 2011-05-22 Yuanle Song <sylecn@gmail.com>
13959
13960 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13961 matching (Bug#8516).
13962
13963 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13964
13965 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13966 different face (Bug#8178).
13967
13968 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13969
13970 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13971 defface (Bug#8144).
13972
13973 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13974
13975 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13976 funcall as well (bug#8712). Warn when performing those conversions.
13977 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13978
13979 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13980
13981 2011-05-22 Glenn Morris <rgm@gnu.org>
13982
13983 * files.el (hack-local-variables-prop-line): Small simplifications.
13984 (hack-local-variables, hack-local-variables-prop-line):
13985 If MODE-ONLY, return the mode, rather than just `t'.
13986
13987 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13988
13989 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13990
13991 2011-05-21 Glenn Morris <rgm@gnu.org>
13992
13993 * files.el (hack-local-variables-prop-line, hack-local-variables):
13994 If only interested in the mode, don't bother doing the other stuff.
13995
13996 * image-mode.el (image-after-revert-hook):
13997 Redraw all frames on which the image is visible. (Bug#8567)
13998
13999 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14000
14001 * wid-edit.el (widget-checklist-match-inline):
14002 Fix 2011-04-19 change. (Bug#8649)
14003
14004 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14007 Also allow singlespace after single-letter capitals followed by a dot.
14008
14009 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14010 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14011
14012 2011-05-20 Nix <nix@esperi.org.uk>
14013
14014 * files.el (basic-save-buffer-2):
14015 Fix handling of break-hardlink-on-save with non-existent files.
14016
14017 2011-05-19 Deniz Dogan <deniz@dogan.se>
14018
14019 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14020 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14021
14022 2011-05-19 Glenn Morris <rgm@gnu.org>
14023
14024 * progmodes/f90.el (f90-type-def-re):
14025 Handle "type, bind(c)". (Bug#8691)
14026
14027 * emacs-lisp/autoload.el (batch-update-autoloads):
14028 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14029
14030 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14031
14032 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14033 property for the correct connection in case of multihops.
14034
14035 2011-05-18 Glenn Morris <rgm@gnu.org>
14036
14037 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14038 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14039
14040 Rationalize calendar handling of day and month abbrev-arrays.
14041 * calendar/calendar.el (calendar-customized-p): New function.
14042 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14043 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14044 Add :set function.
14045 (calendar-abbrev-length, calendar-day-abbrev-array)
14046 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14047 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14048 Elements may no longer be nil.
14049 (calendar-day-name, calendar-month-name):
14050 Update for changed nature of abbrev arrays.
14051 * calendar/diary-lib.el (diary-name-pattern):
14052 Update for changed nature of abbrev arrays.
14053 (diary-mark-entries-1): Update calendar-make-alist calls.
14054 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14055 * calendar/cal-html.el (cal-html-day-abbrev-array):
14056 Simply inherit from calendar-day-abbrev-array.
14057
14058 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14059
14060 * progmodes/grep.el (grep-mode): Disable default
14061 compilation-directory-matcher setting (bug#8684).
14062
14063 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14064
14065 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14066 instead of "head" and "tail". There were problems with SunOS 5.9,
14067 and it performs better.
14068
14069 2011-05-17 Glenn Morris <rgm@gnu.org>
14070
14071 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14072
14073 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14074 Replace obsolete function.
14075
14076 * shell.el (pcomplete-parse-arguments-function): Declare.
14077
14078 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14079 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14080 (appt-check): Doc fixes.
14081 (appt-disp-window-function, appt-delete-window-function):
14082 Remove needless special case in custom :type.
14083 (appt-display-count): Default to 0, not nil.
14084 (appt-check): Reset appt-display-count to 0, not nil.
14085
14086 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14087
14088 * progmodes/python.el (python-font-lock-keywords):
14089 Add the Python 3.X keyword "nonlocal" (bug#8639).
14090
14091 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14092
14093 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14094
14095 2011-05-16 Kevin Ryde <user42@zip.com.au>
14096
14097 * info-look.el (makefile-automake-mode): New setups, looking in
14098 automake manual, then makefile-mode.
14099 (makefile-mode): Remove automake manual, have it just in
14100 makefile-automake-mode since there's various things different or
14101 not relevant to plain make.
14102 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14103 believe a hypothetical automake-mode would go to makefile-mode,
14104 not the other way around.
14105
14106 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14107
14108 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14109 hunk-end tags (Bug#8672).
14110
14111 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14112 vc-annotate-show-diff-revision-at-line (Bug#8671).
14113
14114 2011-05-14 Glenn Morris <rgm@gnu.org>
14115
14116 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14117 in the middle of an existing one with multiple authors. (Bug#8645)
14118 (change-log-font-lock-keywords): Also handle multiple author lines
14119 with leading tabs. (Bug#8644)
14120
14121 * calendar/appt.el (appt-check): Rename some local variables.
14122 Some simplification/reordering.
14123
14124 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14125 (feedmail-sendmail-f-doesnt-sell-me-out)
14126 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14127 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14128 (feedmail-queue-runner-message-sender): Set :version.
14129 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14130 (bbdb-dwim-net-address, vm-mail): Declare.
14131 (feedmail-binmail-gnulinuxish-template):
14132 Rename from feedmail-binmail-linuxish-template.
14133 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14134 Use insert-buffer-substring.
14135
14136 2011-05-14 Bill Carpenter <bill@carpenter.org>
14137
14138 * mail/feedmail.el (feedmail-patch-level): Increase.
14139 (feedmail-debug): New custom group.
14140 (feedmail-confirm-outgoing-timeout)
14141 (feedmail-sendmail-f-doesnt-sell-me-out)
14142 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14143 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14144 (feedmail-sender-line, feedmail-from-line)
14145 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14146 (feedmail-spray-this-address)
14147 (feedmail-spray-address-fiddle-plex-list)
14148 (feedmail-queue-use-send-time-for-date)
14149 (feedmail-queue-use-send-time-for-message-id)
14150 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14151 (feedmail-buffer-eating-function):
14152 Doc fixes.
14153 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14154 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14155 (feedmail-message-action-scroll-down): New functions.
14156 (feedmail-queue-directory, feedmail-queue-draft-directory):
14157 Use expand-file-name.
14158 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14159 Remove C-v help entry.
14160 (feedmail-queue-buffer-file-name): New variable.
14161 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14162 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14163 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14164 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14165 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14166 (feedmail-message-action-toggle-spray)
14167 (feedmail-run-the-queue-no-prompts)
14168 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14169 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14170 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14171 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14172 (feedmail-envelope-deducer, feedmail-fiddle-from)
14173 (feedmail-fiddle-sender, feedmail-default-date-generator)
14174 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14175 (feedmail-fiddle-spray-address)
14176 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14177 (feedmail-fiddle-list-of-fiddle-plexes)
14178 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14179 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14180 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14181 Change default. Doc fix.
14182 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14183 (feedmail-binmail-linuxish-template): New constant.
14184 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14185 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14186 (feedmail-send-it): Add debug call.
14187 Use feedmail-queue-buffer-file-name, and
14188 feedmail-send-it-immediately-wrapper.
14189 (feedmail-message-action-send): Add debug call.
14190 Use feedmail-send-it-immediately-wrapper.
14191 (feedmail-queue-express-to-queue): Add debug call.
14192 Run feedmail-queue-express-hook.
14193 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14194 (feedmail-message-action-help-blat):
14195 Rename from feedmail-queue-send-edit-prompt-help-first.
14196 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14197 Check line-endings. Handle errors better.
14198 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14199 Doc fix. Add debug call.
14200 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14201 Use feedmail-queue-send-edit-prompt-inner.
14202 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14203 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14204 from feedmail-queue-send-edit-prompt.
14205 (feedmail-queue-send-edit-prompt-help)
14206 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14207 (feedmail-tidy-up-slug): Add debug call.
14208 Respect feedmail-queue-slug-suspect-regexp.
14209 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14210 (feedmail-dump-message-to-queue): Add debug call.
14211 Expand queue-directory.
14212 (feedmail-dump-message-to-queue): Change message slightly.
14213 Use feedmail-say-chatter.
14214 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14215 (feedmail-send-it-immediately-wrapper): New function.
14216 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14217 Insert empty string rather than newline. Handle full-frame case.
14218 Use catch/throw. Use feedmail-say-chatter.
14219 (feedmail-fiddle-from): Try mail-host-address.
14220 (feedmail-default-message-id-generator): Doc fix.
14221 Bind system-time-locale. Handle missing end.
14222 (feedmail-fiddle-x-mailer): Add debug call.
14223 Handle feedmail-x-mailer-line being nil.
14224 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14225 Add debug call. Use buffer-substring-no-properties.
14226 (feedmail-say-debug, feedmail-say-chatter): New functions.
14227 (feedmail-find-eoh): Give an explicit error.
14228
14229 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14230
14231 * net/newst-treeview.el (newsticker-treeview-face): Change default
14232 family from helvetica to sans.
14233 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14234 etc/images/newsticker.
14235
14236 * net/newst-reader.el (newsticker-feed-face): Change default
14237 family from helvetica to sans.
14238
14239 * net/newst-plainview.el (newsticker-new-item-face)
14240 (newsticker-old-item-face, newsticker-immortal-item-face)
14241 (newsticker-obsolete-item-face, newsticker-date-face)
14242 (newsticker-statistics-face): Change default family from
14243 helvetica to sans.
14244 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14245 etc/images/newsticker.
14246
14247 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14248 (newsticker--process-auto-mark-filter-match): Tell user about
14249 auto-marking.
14250
14251 2011-05-13 Didier Verna <didier@xemacs.org>
14252
14253 Common Lisp indentation improvements on defmethod and lambda-lists.
14254 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14255 TODO entries.
14256 (lisp-lambda-list-keyword-parameter-indentation)
14257 (lisp-lambda-list-keyword-parameter-alignment)
14258 (lisp-lambda-list-keyword-alignment): New customizable user options.
14259 (lisp-indent-defun-method): Improve docstring.
14260 (extended-loop-p): Fix comment.
14261 (lisp-indent-lambda-list-keywords-regexp): New variable.
14262 (lisp-indent-lambda-list): New function.
14263 (lisp-indent-259): Use it.
14264 (lisp-indent-defmethod): Support for more than one
14265 method qualifier and properly indent methods lambda-lists.
14266 (defgeneric): Provide a missing common-lisp-indent-function property.
14267
14268 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14269
14270 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14271 bounds for the empty string (bug#8667).
14272
14273 2011-05-13 Glenn Morris <rgm@gnu.org>
14274
14275 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14276
14277 * mail/sendmail.el (sendmail-program): Try executable-find first.
14278 (sendmail-send-it): `sendmail-program' cannot be unbound.
14279
14280 * calendar/appt.el (appt-make-list): Simplify.
14281 (appt-time-msg-list): Doc fix.
14282 (appt-check): Change mode-line message at the time of the appointment.
14283
14284 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14285
14286 * progmodes/ld-script.el (ld-script-keywords)
14287 (ld-script-builtins): Update keywords list.
14288
14289 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14292
14293 * shell.el (shell-completion-vars): New function.
14294 (shell-mode):
14295 * simple.el (read-shell-command): Use it.
14296 (blink-matching-open): No need for " [...]" in minibuffer-message.
14297
14298 2011-05-12 Glenn Morris <rgm@gnu.org>
14299
14300 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14301 (appt-check): Simplify.
14302
14303 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14304
14305 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14306 literal "/dev/null".
14307
14308 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14309
14310 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14311 Fix typo.
14312
14313 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14314
14315 * progmodes/which-func.el (which-function):
14316 Use add-log-current-defun instead of add-log-current-defun-function,
14317 which might not be defined (Bug#8260).
14318
14319 2011-05-12 Glenn Morris <rgm@gnu.org>
14320
14321 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14322 Let byte-compile-initial-macro-environment always take precedence.
14323
14324 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14325
14326 * net/rcirc.el: Add support for SSL/TLS connections.
14327 (rcirc-server-alist): New field `encryption'.
14328 (rcirc): Check `encryption' settings.
14329 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14330 Merge make-local-variable into `set'.
14331 (rcirc--connection-open-p): New function.
14332 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14333 the process is not a network process (e.g. running gnutls-cli).
14334 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14335 Make rcirc-(en|de)code-coding-system local here.
14336 (rcirc-mode): Merge make-local-variable into `set'.
14337 (rcirc-parent-buffer): Make permanent buffer-local.
14338 (rcirc-multiline-minor-mode): Don't do it here.
14339 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14340 there's no server buffer.
14341
14342 2011-05-11 Glenn Morris <rgm@gnu.org>
14343
14344 * newcomment.el (comment-kill): Prefix "unused" local.
14345
14346 * term/w32console.el (get-screen-color): Declare.
14347
14348 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14349 Handle symbol elements of byte-compile-initial-macro-environment.
14350
14351 2011-05-10 Leo Liu <sdl.web@gmail.com>
14352
14353 * bookmark.el (bookmark-bmenu-mode-map):
14354 Bind bookmark-bmenu-search to `/'.
14355
14356 * mail/footnote.el: Convert to utf-8 encoding.
14357 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14358 (Footnote-unicode): New function.
14359 (footnote-style-alist): Add unicode style to the list.
14360 (footnote-style): Doc fix.
14361
14362 2011-05-10 Jim Meyering <meyering@redhat.com>
14363
14364 Fix doubled-word typos.
14365 * international/quail.el (quail-insert-kbd-layout): and and -> and
14366 * kermit.el: and and -> and
14367 * net/ldap.el (ldap-search-internal): to to -> to
14368 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14369 * progmodes/js.el (js-mode): and and -> and
14370 * textmodes/artist.el (artist-move-to-xy): at at -> at
14371 (artist-draw-region-trim-line-endings): if if -> if
14372 And Safetyc -> Safety.
14373 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14374
14375 2011-05-10 Glenn Morris <rgm@gnu.org>
14376 Stefan Monnier <monnier@iro.umontreal.ca>
14377
14378 * files.el (hack-one-local-variable-eval-safep):
14379 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14380
14381 2011-05-10 Glenn Morris <rgm@gnu.org>
14382
14383 * calendar/diary-lib.el (diary-list-entries-hook)
14384 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14385 (diary-nongregorian-marking-hook, diary-list-entries)
14386 (diary-include-other-diary-files, diary-mark-entries)
14387 (diary-mark-included-diary-files): Doc fixes.
14388
14389 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14390
14391 * misc.el: Require tabulated-list.el during compilation.
14392
14393 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14394
14395 * progmodes/compile.el (compilation-start):
14396 Run compilation-filter-hook for the async case too.
14397 (compilation-filter-hook): Doc fix.
14398
14399 2011-05-09 Deniz Dogan <deniz@dogan.se>
14400
14401 * wdired.el: Remove outdated installation comment. Fix usage
14402 comment.
14403
14404 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14405
14406 * misc.el: Implement new command `list-dynamic-libraries'.
14407 (list-dynamic-libraries--loaded-only-p): New variable.
14408 (list-dynamic-libraries--refresh): New function.
14409 (list-dynamic-libraries): New command.
14410
14411 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14412
14413 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14414 Fix the ant regexp to handle end-line and end-column info from jikes.
14415 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14416 higher priority to avoid clobbering by gnu.
14417
14418 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14419
14420 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14421 if the face has existing theme settings (Bug#8454).
14422
14423 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14424
14425 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14426 Only match variables declared via `my' or `our' (Bug#8261).
14427
14428 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14429 special file names `.' and `..' (Bug#8259).
14430
14431 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14432
14433 * progmodes/grep.el (grep-mode-font-lock-keywords):
14434 Remove buffer-changing entries.
14435 (grep-filter): New function.
14436 (grep-mode): Add it to compilation-filter-hook.
14437
14438 * progmodes/compile.el (compilation-filter-hook)
14439 (compilation-filter-start): New defvars.
14440 (compilation-filter): Call compilation-filter-hook prior to
14441 updating the process mark.
14442
14443 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14444
14445 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14446
14447 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14448
14449 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14450 mailclient-send-it even if window-system is nil. (Bug#8595)
14451
14452 * term/w32console.el (terminal-init-w32console):
14453 Call get-screen-color and use its output to set the frame
14454 background-mode. (Bug#8597)
14455
14456 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14457
14458 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14459 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14460 New functions.
14461 (defgeneric, eieio--defmethod): Use them.
14462 (eieio-defgeneric): Remove.
14463 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14464
14465 2011-05-07 Glenn Morris <rgm@gnu.org>
14466
14467 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14468 Use let rather than let*.
14469 (timeclock-find-discrep): Remove unused local.
14470
14471 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14472
14473 * calendar/appt.el (appt-time-msg-list): Doc fix.
14474
14475 2011-05-06 Noah Friedman <friedman@splode.com>
14476
14477 * apropos.el (apropos-print-doc): Only use
14478 emacs-lisp-docstring-fill-column when it is bound to an integer,
14479 per that variable's documentation.
14480
14481 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14482
14483 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14484 and warnings are not silently discarded (e.g. use -d instead of -P).
14485
14486 2011-05-06 Glenn Morris <rgm@gnu.org>
14487
14488 * calendar/appt.el (appt-message-warning-time): Doc fix.
14489 (appt-warning-time-regexp): New option.
14490 (appt-make-list): Respect appt-message-warning-time.
14491
14492 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14493 New options.
14494 (diary-add-to-list): Strip comments from the displayed string.
14495 (diary-mode): Set comment-start and comment-end.
14496
14497 * vc/diff-mode.el (smerge-refine-subst): Declare.
14498 (diff-refine-hunk): Don't require smerge-mode when compiling.
14499
14500 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14501
14502 * simple.el (list-processes): Return nil as the docstring says.
14503
14504 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14505
14506 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14507 to "".
14508 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14509 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14510 determining of binary transfer. (Bug#7383)
14511
14512 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14513
14514 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14515 Fix port computation bug. (Bug#8618)
14516
14517 2011-05-05 Glenn Morris <rgm@gnu.org>
14518
14519 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14520
14521 * simple.el (shell-dynamic-complete-functions)
14522 (comint-dynamic-complete-functions): Declare.
14523
14524 * net/network-stream.el (gnutls-negotiate):
14525 * simple.el (tabulated-list-print): Fix declarations.
14526
14527 * progmodes/gud.el (syntax-symbol, syntax-point):
14528 Remove unnecessary and incorrect declarations.
14529
14530 * emacs-lisp/check-declare.el (check-declare-scan):
14531 Handle byte-compile-initial-macro-environment in bytecomp.el
14532
14533 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 Fix earlier half-done eieio-defmethod change (bug#8338).
14536 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14537 Streamline and change calling convention.
14538 (defmethod): Adjust accordingly and simplify.
14539 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14540 new eieio--defmethod.
14541 (slot-boundp): Minor CSE simplification.
14542
14543 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14544
14545 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14546 (glasses-make-readable): Use glasses-separate-capital-groups.
14547
14548 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14549
14550 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14551 (warning-series): Doc fix.
14552 (display-warning): Don't try to create the buffer if we just found it.
14553
14554 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
14555
14556 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14557 (autoload-find-generated-file): New function.
14558 (generate-file-autoloads): Bind generated-autoload-file to
14559 buffer-file-name.
14560 (update-file-autoloads, update-directory-autoloads):
14561 Use autoload-find-generated-file. If called interactively, prompt for
14562 output file (Bug#7989).
14563 (batch-update-autoloads): Doc fix.
14564
14565 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
14566
14567 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14568
14569 2011-05-04 Glenn Morris <rgm@gnu.org>
14570
14571 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14572 function, so it follows changes in calendar-date-style.
14573 (diary-fancy-date-matcher): New function.
14574 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14575 (diary-fancy-font-lock-fontify-region-function):
14576 Use diary-fancy-date-pattern as a function.
14577
14578 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14579 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14580
14581 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14582
14583 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14584 instead of positional arguments. Allow :keylist and :crlfiles
14585 arguments.
14586 (open-gnutls-stream): Call it.
14587
14588 * net/network-stream.el (network-stream-open-starttls): Adjust to
14589 call `gnutls-negotiate' with :process and :hostname arguments.
14590
14591 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14592
14593 * minibuffer.el (completion--message): New function.
14594 (completion--do-completion, minibuffer-complete)
14595 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14596 (completion--do-completion): Don't ignore completion-auto-help when in
14597 icomplete-mode.
14598
14599 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14600 internal encoding (e.g. tibetan zero is not whitespace).
14601 (global-whitespace-mode): Prefer save-current-buffer.
14602 (whitespace-trailing-regexp): Remove useless save-match-data.
14603 (whitespace-empty-at-bob-regexp): Minor simplification.
14604
14605 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
14606
14607 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14608
14609 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14610
14611 * textmodes/ispell.el (ispell-add-per-file-word-list):
14612 Use `concat' to create string for insertion.
14613
14614 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14615
14616 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14617 Avoid open-line which runs post-self-insert-hook.
14618 (bibtex-fill-entry): Remove unused `end' var.
14619
14620 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14621
14622 * textmodes/ispell.el (ispell-add-per-file-word-list):
14623 Protect against `nil' value of `comment-start' (Bug#8579).
14624
14625 2011-05-03 Leo Liu <sdl.web@gmail.com>
14626
14627 * isearch.el (isearch-yank-pop): New command.
14628 (isearch-mode-map): Bind it to `M-y'.
14629 (isearch-forward): Mention it.
14630
14631 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14632
14633 * simple.el (minibuffer-complete-shell-command): Remove.
14634 (minibuffer-local-shell-command-map): Use completion-at-point.
14635 (read-shell-command): Setup completion vars here instead.
14636 (read-expression-map): Bind TAB to symbol completion.
14637
14638 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14639 error directly rather via storing it into `results'.
14640
14641 2011-05-02 Leo Liu <sdl.web@gmail.com>
14642
14643 * vc/diff.el: Fix description.
14644
14645 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14646
14647 * server.el (server-eval-at): New function.
14648
14649 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14650
14651 * net/network-stream.el (open-network-stream): Take a :nowait
14652 parameter and pass it on to `make-network-process'.
14653 (network-stream-open-plain): Ditto.
14654
14655 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14656
14657 * faces.el (face-spec-set-match-display): Don't match toolkit
14658 options on terminal frames.
14659
14660 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14661
14662 * progmodes/pascal.el: Use lexical binding.
14663 (pascal-mode-map): Remove author preferences.
14664
14665 * pcomplete.el (pcomplete-std-complete): Don't abuse
14666 completion-at-point.
14667
14668 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14669
14670 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14671 removing code that has been dead since 1991 or so.
14672
14673 * startup.el (command-line): When warning about "_emacs", use a
14674 delayed warning to allow the user to filter it out.
14675
14676 2011-04-28 Deniz Dogan <deniz@dogan.se>
14677
14678 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14679 user has not joined.
14680
14681 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14682
14683 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14684 aren't any completions at point.
14685
14686 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14687
14688 * subr.el (display-delayed-warnings): New function.
14689 (delayed-warnings-hook): New variable.
14690
14691 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14692
14693 * minibuffer.el (completion-at-point, completion-help-at-point):
14694 Don't presume that a given completion-at-point-function will always
14695 use the same calling convention.
14696
14697 * pcomplete.el (pcomplete-completions-at-point):
14698 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14699 pcomplete-seen is non-nil.
14700 (pcomplete-comint-setup): Also recognize the new comint/shell
14701 completion functions.
14702 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14703 pcomplete-seen is non-nil.
14704
14705 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14706
14707 * calendar/icalendar.el (diary-lib): Add require statement.
14708 (icalendar--create-uid): Read out a uid from a text-property on
14709 the first character in the entry. This allows for code to add its
14710 own uid to the entry.
14711 (icalendar--convert-float-to-ical): Add export of
14712 `diary-float'-entries save for those with the optional DAY
14713 argument.
14714
14715 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14716
14717 * subr.el (shell-quote-argument): Use alternate escaping strategy
14718 when we spot a variable reference in a string.
14719
14720 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14721
14722 * cus-start.el (all): Define customization for debug-on-event.
14723
14724 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14725
14726 * subr.el (shell-quote-argument): Escape correctly under Windows.
14727
14728 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14729
14730 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14731
14732 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14733
14734 * net/tramp.el (tramp-process-actions): Add POS argument.
14735 Delete region between POS and (pos).
14736
14737 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14738 Use `nil' position in `tramp-process-actions' call.
14739 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14740
14741 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14742 position in `tramp-process-actions' call.
14743
14744 * net/trampver.el: Update release number.
14745
14746 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14747
14748 * custom.el (defcustom): Obey lexical-binding.
14749
14750 Fix octave-inf completion problems reported by Alexander Klimov.
14751 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14752 Inherit from octave-mode-syntax-table.
14753 (inferior-octave-mode): Set info-lookup-mode.
14754 (inferior-octave-completion-at-point): New function.
14755 (inferior-octave-complete): Use it and completion-in-region.
14756 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14757 comint-filename-completion.
14758 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14759 symbol elements which shouldn't be word elements.
14760 (octave-font-lock-keywords, octave-beginning-of-defun)
14761 (octave-function-header-regexp): Adjust regexps accordingly.
14762 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14763
14764 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14765
14766 * net/gnutls.el (gnutls-errorp): Declare before first use.
14767
14768 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14769
14770 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14771 verify-error, and verify-hostname-error parameters. Check whether
14772 default trustfile exists before going to use it. Add missing
14773 argument to gnutls-message-maybe call. Return value.
14774 Reported by Claudio Bley <claudio.bley@gmail.com>.
14775 (open-gnutls-stream): Add usage example.
14776
14777 * net/network-stream.el (network-stream-open-starttls): Give host
14778 parameter to `gnutls-negotiate'.
14779 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14780 * subr.el (shell-quote-argument): Escape correctly under Windows.
14781
14782 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14783
14784 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14785 Use correct match group (bug#8438).
14786
14787 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14788
14789 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14790 (package-menu--generate): New arg specifying packages to show.
14791 (package-menu-refresh, package-menu-execute, list-packages):
14792 Callers changed.
14793 (package-show-package-list): New function, replacing deleted
14794 package--list-packages (renamed because it is non-internal).
14795
14796 * finder.el (finder-list-matches): Use package-show-package-list
14797 instead of deleted package--list-packages.
14798
14799 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14800 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14801 (vc-annotate-mode-map): Bind it to RET.
14802
14803 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14804
14805 * progmodes/etags.el (next-file): Don't use set-buffer to change
14806 buffers (Bug#8478).
14807
14808 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14809
14810 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14811
14812 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14813 (apropos-accumulator): Doc fix.
14814 (apropos-function, apropos-macro, apropos-command)
14815 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14816 (apropos-plist): Add face property.
14817 (apropos-symbols-internal): Fix indentation.
14818 (apropos-print): Simplify help, and recognize apropos-multi-type.
14819 (apropos-print-doc): Use button-type-get to extract the button's
14820 face property. Fill docstring (Bug#8352).
14821
14822 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
14823
14824 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14825
14826 * play/mpuz.el (mpuz-silent): Doc fix.
14827 (mpuz-mode-map): Use mapc.
14828 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14829 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14830 Fix typos in docstrings.
14831
14832 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14833 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14834
14835 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14836
14837 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
14838
14839 * minibuffer.el (completion--do-completion): Avoid the "Next char
14840 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14841
14842 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14843 mouse-2 into unread-command-events, it is interpreted correctly.
14844
14845 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14846 (image-toggle-display): Doc fix.
14847
14848 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
14849
14850 * textmodes/page.el (what-page): Use line-number-at-pos to
14851 calculate line number (Bug#6825).
14852
14853 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14854
14855 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14856 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14857 Pass argument NO-DEFAULT to `find-tag-interactive'.
14858
14859 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14860
14861 Lexical-binding cleanup.
14862
14863 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14864 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14865 * progmodes/ada-prj.el (ada-prj-initialize-values)
14866 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14867 (ada-prj-show-value):
14868 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14869 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14870 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14871 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14872 * progmodes/bug-reference.el (bug-reference-push-button):
14873 * progmodes/fortran.el (fortran-line-length):
14874 * progmodes/glasses.el (glasses-change):
14875 * progmodes/octave-mod.el (octave-fill-paragraph):
14876 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14877 (python-pdbtrack-grub-for-buffer, python-sentinel):
14878 * progmodes/sql.el (sql-save-connection):
14879 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14880 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14881 Mark unused parameters.
14882
14883 * progmodes/compile.el (compilation--flush-directory-cache)
14884 (compilation--flush-parse, compile-internal): Mark unused parameters.
14885 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14886 (compilation-next-error-function): Remove unused variable `timestamp'.
14887
14888 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14889 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14890
14891 * progmodes/dcl-mode.el (dcl-end-of-command):
14892 Remove unused variable `start'.
14893 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14894 (dcl-option-value-basic, dcl-option-value-offset)
14895 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14896 Mark unused parameters.
14897 (dcl-save-local-variable): Remove unused variable `val'.
14898 (mode): Declare.
14899
14900 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14901 Mark unused parameters.
14902 (delphi-ignore-changes): Move before first use.
14903 (delphi-charset-token-at): Remove unused variable `start'.
14904 (delphi-else-start): Remove unused variable `if-count'.
14905 (delphi-comment-block-start, delphi-comment-block-end):
14906 Remove unused variable `kind'.
14907 (delphi-indent-line): Remove unused variable `new-point'.
14908
14909 * progmodes/ebrowse.el (ebrowse-files-list)
14910 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14911 Mark unused parameters. Don't quote `lambda'.
14912 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14913 Don't quote `lambda'.
14914 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14915 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14916 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14917 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14918 Use `ignore-errors'.
14919 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14920 (ebrowse-view/find-file-and-search-pattern)
14921 (ebrowse-view/find-member-declaration/definition):
14922 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14923 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14924 Rename parameter PREFIX-ARG to PREFIX.
14925 (ebrowse-tags-read-name): Remove unused variables `start' and
14926 `member-info'.
14927 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14928 to `tags-file'.
14929
14930 * progmodes/etags.el (local-find-tag-hook): Declare.
14931 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14932 Mark unused parameters.
14933
14934 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14935 (executable-interpret): Mark unused parameter.
14936
14937 * progmodes/flymake.el (flymake-process-sentinel)
14938 (flymake-after-change-function)
14939 (flymake-create-temp-with-folder-structure)
14940 (flymake-get-include-dirs-dot): Mark unused parameters.
14941 (flymake-safe-delete-directory): Remove unused variable `err'.
14942
14943 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14944 (speedbar-timer-fn, speedbar-line-text)
14945 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14946 (speedbar-center-buffer-smartly): Declare functions.
14947 (gdb-find-watch-expression): Remove unused variable `array'.
14948 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14949 (gdb-starting): Mark unused parameters.
14950 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14951 (gdb-table-string): Remove unused variable `res'.
14952 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14953 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14954 (gdb-display-buffer): Remove unused variable `cur-size'.
14955
14956 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14957 allow lexical-binding compilation.
14958 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14959 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14960 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14961 Mark unused parameters.
14962 (gud-gdb-marker-filter): Remove unused variable `match'.
14963 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14964 lambda expressions and funcall them, instead of using `fset'.
14965
14966 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14967 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14968
14969 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14970 variable `header-beg'; use `let'.
14971
14972 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14973 `restart', `last-sexp' and `at-do'.
14974
14975 * progmodes/js.el (js--debug): Mark unused parameter.
14976 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14977 (js--splice-into-items): Remove unused variable `item'.
14978 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14979
14980 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14981 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14982 (makefile-complete): Remove unused variable `try'.
14983 (makefile-fill-paragraph, makefile-match-function-end):
14984 Mark unused parameters.
14985
14986 * progmodes/octave-inf.el (inferior-octave-complete):
14987 Remove unused variable `proc'.
14988 (inferior-octave-output-digest): Mark unused parameter.
14989
14990 * progmodes/perl-mode.el (perl-calculate-indent):
14991 Remove unused variable `err'.
14992
14993 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14994 (prolog-indent-line): Mark unused parameters.
14995 (prolog-indent-line): Remove unused variable `beg'.
14996
14997 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14998 (reporter-dont-compact-list): Declare.
14999
15000 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15001 Remove unused variable `char'.
15002 (sh-debug): Mark unused parameter.
15003 (sh-get-indent-info): Remove unused variable `start'.
15004 (sh-calculate-indent): Remove unused variable `var'.
15005
15006 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15007 (simula-electric-keyword): Remove unused variable `null'.
15008 (simula-search-backward, simula-search-forward): Remove unused
15009 variables `begin' and `end'.
15010
15011 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15012 Remove unused variable `pos'.
15013 (vera-electric-tab, vera-comment-uncomment-region):
15014 Mark unused parameters.
15015 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15016
15017 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15018
15019 * emacs-lisp/package.el (package--builtins, package-alist)
15020 (package-load-descriptor, package-built-in-p, package-activate)
15021 (define-package, package-installed-p)
15022 (package-compute-transaction, package-buffer-info)
15023 (package--push): Doc fix. Distinguish more clearly between
15024 version strings and version lists.
15025
15026 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15027
15028 Lexical-binding cleanup.
15029
15030 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15031 (5x5-make-mutate-best):
15032 * play/fortune.el (fortune-in-buffer):
15033 * play/gomoku.el (gomoku-init-display):
15034 * play/solitaire.el (solitaire, solitaire-do-check):
15035 * play/tetris.el (tetris-default-update-speed-function):
15036 Mark unused parameters.
15037
15038 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15039 (bubbles--shift): Remove unused variable `char-org'.
15040 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15041 (bubbles--show-images): Remove unused variable `char'.
15042
15043 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15044 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15045 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15046 (decipher-analyze-buffer): Use ?\s.
15047 (decipher-make-checkpoint): Remove unused variable `mapping'.
15048
15049 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15050
15051 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15052 Remove unused variable `result'; use `let'.
15053
15054 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15055 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15056 (gametree-children-shown-p, gametree-compute-reduced-score):
15057 Use `ignore-errors'.
15058
15059 * play/handwrite.el (ps-lpr-switches): Declare.
15060 (handwrite): Remove unused variables `pmin' and `lastp'.
15061
15062 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15063
15064 * play/landmark.el (landmark-init-display)
15065 (landmark-update-naught-weights): Mark unused parameters.
15066 (landmark-y): Remove unused variable `noise'. Simplify.
15067 (landmark-human-plays): Remove unused variable `score'.
15068
15069 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15070 (mpuz-try-proposal): Remove unused variable `game'.
15071
15072 * play/zone.el (life-patterns): Declare.
15073
15074 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15075
15076 * vc/vc.el (ediff-vc-internal): Declare function.
15077
15078 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15079
15080 * shell.el: Use lexical-binding and std completion UI.
15081 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15082 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15083 comint-preoutput-filter-functions rather than on
15084 comint-output-filter-functions.
15085 (shell-command-completion, shell--command-completion-data)
15086 (shell-filename-completion, shell-environment-variable-completion)
15087 (shell-c-a-p-replace-by-expanded-directory): New functions.
15088 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15089 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15090 (shell-dynamic-complete-environment-variable): Use them.
15091 (shell-dynamic-complete-as-environment-variable)
15092 (shell-dynamic-complete-as-command): Remove.
15093 (shell-match-partial-variable): Match past point.
15094 * comint.el: Clean up use of completion-at-point-functions.
15095 (comint-completion-at-point): New function.
15096 (comint-mode): Use it completion-at-point-functions.
15097 (comint-dynamic-complete): Make it obsolete.
15098 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15099 (comint-c-a-p-replace-by-expanded-history): New function.
15100 (comint-dynamic-complete-functions)
15101 (comint-replace-by-expanded-history): Use it.
15102 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15103 termination strings. Try harder to avoid second try-completion.
15104 (completion-in-region-mode-map): Disable bindings that don't work yet.
15105
15106 * comint.el: Use lexical-binding. Require CL.
15107 (comint-dynamic-complete-functions): Use comint-filename-completion.
15108 (comint-completion-addsuffix): Tweak custom type.
15109 (comint-filename-completion, comint--common-suffix)
15110 (comint--common-quoted-suffix, comint--table-subvert)
15111 (comint--complete-file-name-data): New functions.
15112 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15113 (comint-dynamic-list-filename-completions): Use them.
15114 (comint-dynamic-simple-complete): Make obsolete.
15115
15116 * minibuffer.el (completion-in-region-mode):
15117 Keep completion-in-region-mode--predicate global.
15118 (completion-in-region--postch):
15119 Assume completion-in-region-mode--predicate is not null.
15120
15121 * progmodes/flymake.el (flymake-start-syntax-check-process):
15122 Obey `dir'. Simplify.
15123
15124 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15125 we're in VC after all.
15126
15127 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15128
15129 * vc/vc.el (vc-diff-build-argument-list-internal)
15130 (vc-version-ediff, vc-ediff): New commands.
15131 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15132
15133 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15134
15135 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15136 add sanity check.
15137
15138 * obsolete/erc-hecomplete.el: Make obsolete.
15139 * obsolete/: Standardize obsolescence info in the header.
15140
15141 2011-04-20 Glenn Morris <rgm@gnu.org>
15142
15143 * calendar/solar.el (solar-horizontal-coordinates):
15144 Use the longitude argument rather than `calendar-longitude'.
15145 (solar-date-next-longitude): Remove unused locals.
15146
15147 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15148
15149 * whitespace.el: New version 13.2.1.
15150
15151 2011-04-20 felix <EmacsWiki> (tiny change)
15152
15153 * whitespace.el (global-whitespace-mode): Keep highlight when
15154 switching between major modes on a file.
15155
15156 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15157
15158 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15159 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15160 multi-line comments as well.
15161
15162 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15163
15164 Lexical-binding cleanup.
15165
15166 * arc-mode.el (archive-mode-revert):
15167 * cmuscheme.el (scheme-interactively-start-process):
15168 * custom.el (custom-initialize-delay):
15169 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15170 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15171 * emacs-lock.el (emacs-lock-clear-sentinel):
15172 * ezimage.el (defezimage):
15173 * follow.el (follow-avoid-tail-recenter):
15174 * fringe.el (set-fringe-mode-1):
15175 * generic-x.el (bat-generic-mode-compile):
15176 * help-mode.el (help-info-variable, help-do-xref)
15177 (help-mode-revert-buffer):
15178 * help.el (view-emacs-todo):
15179 * iswitchb.el (iswitchb-completion-help):
15180 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15181 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15182 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15183 * locate.el (locate-update):
15184 * longlines.el (longlines-encode-region)
15185 (longlines-after-change-function):
15186 * outline.el (outline-isearch-open-invisible):
15187 * ps-def.el (declare-function, charset-dimension, char-width)
15188 (encode-char):
15189 * ps-mule.el (ps-mule-plot-string):
15190 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15191 (recentf-edit-list-select, recentf-edit-list-validate)
15192 (recentf-open-files-action):
15193 * rect.el (delete-whitespace-rectangle-line)
15194 (rectangle-number-line-callback):
15195 * register.el (window-configuration-to-register)
15196 (frame-configuration-to-register):
15197 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15198 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15199 (xselect-convert-to-targets, xselect-convert-to-delete)
15200 (xselect-convert-to-filename, xselect-convert-to-charpos)
15201 (xselect-convert-to-lineno, xselect-convert-to-colno)
15202 (xselect-convert-to-os, xselect-convert-to-host)
15203 (xselect-convert-to-user, xselect-convert-to-class)
15204 (xselect-convert-to-name, xselect-convert-to-integer)
15205 (xselect-convert-to-atom, xselect-convert-to-identity):
15206 * subr.el (declare, ignore, process-kill-without-query)
15207 (text-clone-maintain):
15208 * terminal.el (te-get-char, te-tic-sentinel):
15209 * tool-bar.el (tool-bar-make-keymap):
15210 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15211 * type-break.el (type-break-mode, type-break-noninteractive-query):
15212 * view.el (View-back-to-mark):
15213 * wid-browse.el (widget-browse-action, widget-browse-widget)
15214 (widget-browse-widgets, widget-browse-sexp):
15215 * widget.el (define-widget-keywords):
15216 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15217 Mark unused parameters.
15218
15219 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15220 (align-areas): Remove unused variable `look'.
15221 (align-region): Remove unused variables `real-end' and `pos-list'.
15222
15223 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15224
15225 * bindings.el (mode-line-modified, mode-line-remote):
15226 Mark unused parameters.
15227 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15228
15229 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15230 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15231
15232 * comint.el (comint-history-isearch-pop-state)
15233 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15234 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15235 (comint-substitute-in-file-name): Doc fix.
15236
15237 * completion.el (cmpl-statistics-block): Mark unused parameter.
15238 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15239 (save-completions-to-file, load-completions-from-file):
15240 Remove unused local variable `e'.
15241
15242 * composite.el (compose-chars): Remove unused variable `len'.
15243 (lgstring-insert-glyph): Remove unused variable `g'.
15244 (compose-glyph-string): Remove unused variables `ascent',
15245 `descent', `lbearing' and `rbearing'.
15246 (compose-glyph-string-relative): Remove unused variables
15247 `lbearing', `rbearing' and `wadjust'.
15248 (compose-gstring-for-graphic): Remove unused variables `header',
15249 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15250 (compose-gstring-for-terminal): Remove unused variables `header'
15251 and `nchars'. Use `let', not `let*'.
15252
15253 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15254 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15255 (Custom-buffer-done, custom-buffer-create-internal)
15256 (custom-browse-visibility-action, custom-browse-group-tag-action)
15257 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15258 (widget-magic-mouse-down-action, custom-toggle-parent)
15259 (custom-add-parent-links, custom-toggle-hide-variable)
15260 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15261 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15262 (custom-face-menu-create, custom-variable-menu-create, get)
15263 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15264 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15265 (customize-apropos): Remove unused variable `tests'.
15266 (custom-group-value-create): Remove unused variable `hidden-p'.
15267 (sort-fold-case): Declare.
15268
15269 * cus-theme.el (custom-reset-standard-faces-list)
15270 (custom-reset-standard-variables-list): Declare.
15271 (customize-create-theme, custom-theme-revert, custom-theme-write)
15272 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15273 Mark unused parameters.
15274
15275 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15276
15277 * delim-col.el (delimit-columns-max): Move defvar before first use.
15278
15279 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15280 (describe-char): Don't quote `lambda'. Mark unused parameter.
15281
15282 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15283 (auto-insert): Declare.
15284 (desktop-restore-file-buffer): Rename desktop-* parameters;
15285 mark unused ones.
15286 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15287 (desktop-buffer): Rename desktop-* parameters.
15288
15289 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15290 (dframe-reposition-frame-xemacs, dframe-help-echo)
15291 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15292 Mark unused parameters.
15293
15294 * dired-aux.el (backup-extract-version-start, overwrite-query)
15295 (overwrite-backup-query, rename-regexp-query)
15296 (rename-non-directory-query): Declare.
15297 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15298 (dired-add-entry): Remove unused variable `orig-file-name'.
15299 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15300 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15301 `dired-copy-preserve-time' directly.
15302 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15303 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15304
15305 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15306 (dired-virtual-revert, dired-make-relative-symlink):
15307 Mark unused parameters.
15308 (manual-program): Declare.
15309 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15310 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15311 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15312
15313 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15314
15315 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15316
15317 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15318 Declare.
15319
15320 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15321
15322 * electric.el (Electric-command-loop): Rename parameter
15323 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15324
15325 * expand.el (expand-in-literal): Remove unused variable `here'.
15326
15327 * facemenu.el (facemenu-add-new-color):
15328 Remove unused variable `docstring'.
15329
15330 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15331 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15332 (face-attr-construct): Mark unused parameter. Doc fix.
15333 (read-color): Remove unused variable `hex-string'.
15334
15335 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15336 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15337 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15338 (display-buffer-other-frame): Remove unused variable `old-window'.
15339 (kill-buffer-hook): Declare.
15340 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15341 Mark unused parameters.
15342 (after-find-file): Pass 1 to `auto-save-mode', not t.
15343
15344 * files-x.el (auto-insert): Declare.
15345 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15346
15347 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15348 variable `buf'. Mark unused parameter.
15349 (find-lisp-insert-directory): Mark unused parameter.
15350
15351 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15352 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15353 (format-common-tail): Remove, unused.
15354 (format-deannotate-region): Remove unused variable `loc'.
15355 (format-annotate-region): Remove unused variable `p'.
15356 (format-annotate-single-property-change): Remove unused variables
15357 `default' and `tail'.
15358
15359 * forms.el (read-file-filter): Declare.
15360 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15361
15362 * frame.el (frame-creation-function-alist): Mark unused parameter.
15363 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15364
15365 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15366 Remove unused parameters.
15367 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15368 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15369
15370 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15371 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15372 (hfy-prepare-tag-map): Mark unused parameters.
15373 (htmlfontify-buffer): Use `called-interactively-p'.
15374
15375 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15376 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15377 (ibuffer-do-occur): Mark unused parameters.
15378 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15379 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15380
15381 * ibuffer.el: Don't quote `lambda'.
15382 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15383 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15384 Mark unused parameters.
15385
15386 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15387 (ido-completing-read): Mark unused parameters.
15388 (ido-copy-current-word): Mark unused parameters;
15389 remove unused variable `name'.
15390 (ido-sort-merged-list): Remove unused parameter `dirs'.
15391
15392 * ielm.el (ielm-input-sender): Mark unused parameter.
15393 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15394 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15395 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15396 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15397 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15398
15399 * image-dired.el (image-dired-display-thumbs): Remove unused
15400 variables `curr-file' and `count'.
15401 (image-dired-remove-tag): Remove unused variable `start'.
15402 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15403 variable `curr-file'
15404 (image-dired-rotate-original): Remove unused variable `temp-file'.
15405 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15406 Remove unused variable `file'.
15407 (image-dired-gallery-generate): Remove unused variable `curr'.
15408 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15409
15410 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15411
15412 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15413
15414 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15415
15416 * isearch.el (minibuffer-history-symbol): Declare.
15417 (isearch-edit-string): Remove unused variable `err'.
15418 (isearch-message-prefix, isearch-message-suffix):
15419 Mark unused parameters.
15420
15421 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15422
15423 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15424
15425 * makesum.el (double-column): Remove unused variable `cnt'.
15426
15427 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15428 (ido-ignore-item-temp-list): Declare.
15429
15430 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15431 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15432 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15433 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15434 `mouse-col-delta'.
15435
15436 * mouse-sel.el (mouse-extend-internal):
15437 Remove unused variable `orig-window-frame'.
15438
15439 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15440 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15441 Move declarations before first use.
15442 (pcomplete-opt): Mark unused parameters; doc fix.
15443
15444 * proced.el (proced-revert): Mark unused parameter.
15445 (proced-send-signal): Remove unused variable `err'.
15446
15447 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15448 Rename parameter PREFIX-ARG to ARG.
15449 (ps-basic-plot-string, ps-basic-plot-whitespace):
15450 Mark unused parameters.
15451
15452 * replace.el (replace-count): Define.
15453 (occur-revert-function): Mark unused parameters.
15454 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15455 (isearch-case-fold-search, isearch-string): Declare.
15456 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15457 bind `case-fold-search'. Remove unused variables `beg' and `end',
15458 and simplify.
15459 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15460 COUNT and bind `replace-count'.
15461 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15462 to COUNT.
15463
15464 * savehist.el (print-readably, print-string-length): Declare.
15465
15466 * shadowfile.el (shadow-expand-cluster-in-file-name):
15467 Remove unused variable `cluster'.
15468 (shadow-copy-file): Remove unused variable `i'.
15469 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15470 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15471 (shadow-define-literal-group, shadow-define-regexp-group)
15472 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15473
15474 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15475 (shell): Use `called-interactively-p'.
15476 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15477
15478 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15479 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15480 (delete-backward-char): Remove unused variable `ocol'.
15481 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15482 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15483 (event-apply-hyper-modifier, event-apply-shift-modifier)
15484 (event-apply-control-modifier, event-apply-meta-modifier):
15485 Mark unused parameters.
15486 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15487 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15488
15489 * speedbar.el (speedbar-ignored-directory-expressions)
15490 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15491 (speedbar-find-file, speedbar-dir-follow)
15492 (speedbar-directory-buttons-follow, speedbar-tag-find)
15493 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15494 (speedbar-buffers-line-directory, speedbar-buffer-click):
15495 Mark unused parameters.
15496 (speedbar-tag-file): Remove unused variable `mode'.
15497 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15498
15499 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15500
15501 * talk.el (talk): Remove unused variable `display'.
15502
15503 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15504 (tar-write-region-annotate): Mark unused parameter.
15505
15506 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15507 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15508 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15509 warning by another.
15510
15511 * time-stamp.el (time-stamp-string-preprocess):
15512 Remove unused variable `require-padding'.
15513
15514 * tree-widget.el (widget-glyph-enable): Declare.
15515 (tree-widget-action): Mark unused parameter.
15516
15517 * w32-fns.el (x-get-selection): Mark unused parameter.
15518 (autoload-make-program, generated-autoload-file): Declare.
15519
15520 * wdired.el (wdired-revert): Mark unused parameters.
15521 (wdired-xcase-word): Remove unused variable `err'.
15522
15523 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15524 (whitespace-help-scroll): Remove unused variable `data-help'.
15525
15526 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15527 (widget-image-insert, widget-after-change, default)
15528 (widget-default-format-handler, widget-default-notify)
15529 (widget-default-prompt-value, widget-info-link-action)
15530 (widget-url-link-action, widget-function-link-action)
15531 (widget-variable-link-action, widget-file-link-action)
15532 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15533 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15534 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15535 (widget-insert-button-action, widget-delete-button-action, visibility)
15536 (widget-documentation-link-action, widget-documentation-string-action)
15537 (widget-const-prompt-value, widget-regexp-match, symbol)
15538 (widget-coding-system-prompt-value)
15539 (widget-key-sequence-value-to-external, sexp)
15540 (widget-sexp-value-to-internal, character, vector, cons)
15541 (widget-choice-prompt-value, widget-boolean-prompt-value)
15542 (widget-color--choose-action): Mark unused parameters.
15543 (widget-item-match-inline, widget-choice-match-inline)
15544 (widget-checklist-match, widget-checklist-match-inline)
15545 (widget-group-match): Rename parameter VALUES to VALS.
15546 (widget-field-value-set): Remove unused variable `size'.
15547 (widget-color-action): Remove unused variables `value' and `start'.
15548
15549 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15550 variable `dir'. Doc fix.
15551 (windmove-find-other-window): Don't pass it.
15552
15553 * window.el (count-windows): Mark unused parameter.
15554 (bw-adjust-window): Remove unused variable `err'.
15555
15556 * woman.el (woman-file-name): Remove unused variable `default'.
15557 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15558 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15559 (global-font-lock-mode): Declare.
15560 (woman-decode-region): Mark unused parameter.
15561 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15562
15563 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15564 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15565 (x-dnd-handle-moz-url): Remove unused variable `title'.
15566 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15567
15568 * xml.el (xml-parse-tag, xml-parse-attlist):
15569 Remove unused variable `pos'.
15570
15571 2011-04-19 Glenn Morris <rgm@gnu.org>
15572
15573 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15574 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15575 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15576 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15577 * calendar/cal-html.el (cal-html-insert-minical):
15578 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15579 (calendar-mark-date-pattern):
15580 Prefix "unused" locals.
15581
15582 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15583 optional argument `style'.
15584
15585 * calendar/appt.el (appt-make-list):
15586 * calendar/cal-china.el (calendar-chinese-date-string):
15587 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15588 (diary-hebrew-yahrzeit):
15589 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15590 * calendar/calendar.el (calendar-generate-window):
15591 * calendar/time-date.el (time-to-days):
15592 Remove unused local variables.
15593
15594 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
15595
15596 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15597 glyphless-char-display table.
15598 (tabulated-list-glyphless-char-display): New var.
15599
15600 2011-04-18 Sam Steingold <sds@gnu.org>
15601
15602 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15603 to acknowledgments.
15604
15605 2011-04-17 Glenn Morris <rgm@gnu.org>
15606
15607 * calendar/diary-lib.el (diary-sexp-entry):
15608 * calendar/holidays.el (holiday-sexp):
15609 Set debug-on-error rather than the removed stack-trace-on-error.
15610
15611 2011-04-16 Glenn Morris <rgm@gnu.org>
15612
15613 * progmodes/f90.el: Use lexical-binding.
15614 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15615
15616 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15617
15618 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15619 (mail-mode): Setup mailalias completion here instead.
15620 * mail/mailalias.el: Use lexical-binding.
15621 (pattern, mailalias-done): Declare dynamic.
15622 (mail-completion-at-point-function): New function, from mail-complete.
15623 (mail-complete): Use it.
15624 (mail-completion-expand): New function.
15625 (mail-get-names): Use it.
15626 (mail-directory, mail-directory-process, mail-directory-stream):
15627 Don't use `pattern' for lexically bound arg.
15628
15629 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15630
15631 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15632 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15633 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15634
15635 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15636 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15637 (byte-interactive-p): Define them again, for use when inlining
15638 old code.
15639
15640 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
15641
15642 * loadup.el: Use `string-to-number', not `string-to-int'.
15643
15644 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15645
15646 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15647 gud-gdb-complete-command.
15648 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15649 (gud-gdb-completion-at-point): New function.
15650 (gud-gdb-completions): Remove.
15651
15652 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
15653
15654 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15655 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15656 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15657 whether `executable-find' is bound.
15658
15659 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15660
15661 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15662
15663 * minibuffer.el (completion-in-region-mode-predicate)
15664 (completion-in-region-mode--predicate): New vars.
15665 (completion-in-region, completion-in-region--postch)
15666 (completion-in-region-mode): Use them.
15667 (completion--capf-wrapper): Also return the hook function.
15668 (completion-at-point, completion-help-at-point):
15669 Adjust and provide a predicate.
15670
15671 Preserve arg names for advice of subr and lexical functions (bug#8457).
15672 * help-fns.el (help-function-arglist): Consolidate the subr and
15673 new-byte-code cases. Add argument `preserve-names' to extract names
15674 from the docstring when needed.
15675 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15676 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15677 (ad-arglist): Use help-function-arglist's new arg.
15678 (ad-definition-type): Use cond.
15679
15680 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15681
15682 * autorevert.el (auto-revert-handler):
15683 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15684 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15685 Don't quote lambda.
15686
15687 * image-mode.el (image-transform-set-scale):
15688 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15689
15690 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15691
15692 * net/network-stream.el (network-stream-open-starttls): Only do
15693 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15694 Upgrades via gnutls-cli are too slow to be done opportunistically.
15695
15696 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15697
15698 * dframe.el (dframe-current-frame): Remove spurious quote.
15699
15700 2011-04-12 Glenn Morris <rgm@gnu.org>
15701
15702 * calendar/cal-tex.el (cal-tex-end-document):
15703 Try to automatically use latin1 input if needed.
15704
15705 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15706 Don't try to cons a mark onto an empty element.
15707
15708 2011-04-11 Leo Liu <sdl.web@gmail.com>
15709
15710 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15711 buffers.
15712 (ido-kill-buffer-at-head): Support killing virtual buffers.
15713
15714 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15715
15716 * minibuffer.el (completion-show-inline-help): New var.
15717 (completion--do-completion, minibuffer-complete)
15718 (minibuffer-force-complete, minibuffer-complete-word):
15719 Inhibit minibuffer messages if completion-show-inline-help is nil.
15720
15721 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15722 to avoid interference from inline help (Bug#5849).
15723
15724 2011-04-10 Leo Liu <sdl.web@gmail.com>
15725
15726 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15727 Fix typo.
15728
15729 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15730
15731 * image-mode.el (image-toggle-display-image): Signal an error if
15732 not in Image mode.
15733 (image-transform-mode, image-transform-resize)
15734 (image-transform-set-rotation): Doc fix.
15735 (image-transform-set-resize): Delete.
15736 (image-transform-set-scale, image-transform-fit-to-height)
15737 (image-transform-fit-to-width): Handle image-toggle-display-image
15738 and image-transform-resize directly.
15739
15740 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15741
15742 * doc-view.el (doc-view-fit-width-to-window)
15743 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15744 New functions for fitting the shown image to the Emacs window size.
15745 (doc-view-mode-map): Add bindings for the new functions.
15746
15747 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15748
15749 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15750 Fix typo in docstring.
15751
15752 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15753
15754 * files.el (file-size-human-readable): Produce one digit after
15755 decimal, like "ls -lh" does.
15756
15757 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15758 the file size representation.
15759
15760 * simple.el (list-processes): If async subprocesses are not
15761 available, error out with a clear error message.
15762
15763 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15764
15765 * help.el (help-form-show): New function, to be called from C.
15766 Put help-form output in a buffer named differently than *Help*.
15767
15768 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15769
15770 * files.el (file-size-human-readable): New function.
15771
15772 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15773 computing the representation inline. Don't require `cl'.
15774
15775 2011-04-08 Glenn Morris <rgm@gnu.org>
15776
15777 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15778
15779 * net/browse-url.el (browse-url-firefox):
15780 Test system-type, not system-configuration.
15781
15782 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15783 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15784 Use log-edit-empty-buffer-p. (Bug#7598)
15785
15786 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15787 (rlogin-mode-map): Initialize in the defvar.
15788 (rlogin): Use ignore-errors.
15789
15790 * replace.el (occur-mode-map): Some fixes for menu items.
15791
15792 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15793
15794 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15795
15796 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15797
15798 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15799 issuing unused warnings.
15800
15801 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15802 macro directly.
15803
15804 * simple.el: Lisp reimplement of list-processes. Based on an
15805 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15806 (process-menu-mode): New major mode.
15807 (list-processes--refresh, list-processes):
15808 (process-menu-visit-buffer): New functions.
15809
15810 * files.el (save-buffers-kill-emacs): Don't assume any return
15811 value of list-processes, which is undocumented anyway.
15812
15813 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15814
15815 * emacs-lisp/tabulated-list.el: New file.
15816
15817 * emacs-lisp/package.el: Use Tabulated List mode.
15818 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15819 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15820 table format using Tabulated List mode variables.
15821 (package--push): New macro, replacing package-list-maybe-add.
15822 (package-menu--generate): Use package--push. Renamed from
15823 package--generate-package-list.
15824 (package-menu-refresh, list-packages): Use it.
15825 (package-menu--print-info): Rename from package-print-package.
15826 Return insertion data instead of inserting it directly.
15827 (package-menu-describe-package, package-menu-execute):
15828 Use tabulated-list-get-id.
15829 (package-menu-mark-delete, package-menu-mark-install)
15830 (package-menu-mark-unmark, package-menu-backup-unmark)
15831 (package-menu-mark-obsolete-for-deletion):
15832 Use tabulated-list-put-tag.
15833 (package--list-packages, package-menu-revert)
15834 (package-menu-get-package, package-menu-get-version)
15835 (package-menu-sort-by-column): Functions deleted.
15836 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15837 (package-menu--status-predicate, package-menu--version-predicate)
15838 (package-menu--name-predicate)
15839 (package-menu--description-predicate): Handle arguments in the
15840 Tabulated List format.
15841 (package-list-packages-no-fetch): Call list-packages.
15842
15843 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
15844
15845 * files.el (after-find-file-from-revert-buffer): Remove variable.
15846 (after-find-file): Don't bind it.
15847 (revert-buffer-in-progress-p): New variable.
15848 (revert-buffer): Bind it.
15849 Pass nil for `after-find-file-from-revert-buffer'.
15850
15851 * saveplace.el (save-place-find-file-hook): Use new variable
15852 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15853
15854 2011-04-06 Glenn Morris <rgm@gnu.org>
15855
15856 * Makefile.in (AUTOGEN_VCS): New variable.
15857 (autoloads): Use $AUTOGEN_VCS.
15858
15859 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15860 * calendar/calendar.el (calendar-mode-map):
15861 Check for toolkit scroll bars. (Bug#8305)
15862
15863 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15864
15865 * minibuffer.el (completion-in-region--postch)
15866 (completion-in-region-mode): Remove unnecessary messages.
15867
15868 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
15869
15870 * font-lock.el (font-lock-refresh-defaults):
15871 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15872 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15873
15874 * info.el (Info-directory-list, Info-read-node-name-2)
15875 (Info-split-parameter-string): Doc fixes.
15876 (Info-virtual-nodes): Reflow docstring.
15877 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15878 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15879 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15880 Fix typos in docstrings.
15881 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15882 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15883 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15884 (Info-restore-desktop-buffer): Mark unused parameters.
15885 (Info-directory-find-file, Info-directory-find-node)
15886 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15887 (Info-virtual-index-find-node, Info-apropos-find-file)
15888 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15889 Mark unused parameters; fix typos in docstrings.
15890 (Info-virtual-index): Remove unused local variable `nodename'.
15891
15892 2011-04-05 Deniz Dogan <deniz@dogan.se>
15893
15894 * net/rcirc.el: Update my e-mail address.
15895 (rcirc-mode-map): Remove M-o binding.
15896
15897 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15898
15899 * startup.el (command-line): Save the cursor's theme-face
15900 directly, instead of using face-override-spec.
15901
15902 * custom.el (load-theme): Minor optimization in assigning faces.
15903
15904 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15905
15906 * help-fns.el (describe-variable): Complete all variables having
15907 documentation, including keywords.
15908 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15909
15910 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15911
15912 Convert to lexical-binding.
15913
15914 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15915 (bs--get-marked-string, bs--get-modified-string)
15916 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15917 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15918 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15919
15920 * ehelp.el (electric-help-execute-extended)
15921 (electric-help-ctrl-x-prefix):
15922 * hexl.el (hexl-revert-buffer-function):
15923 * linum.el (linum-after-change, linum-after-scroll):
15924 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15925
15926 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15927
15928 2011-04-04 Daiki Ueno <ueno@unixuser.org>
15929
15930 * epa-dired.el:
15931 * epa-mail.el:
15932 * epa-hook.el:
15933 * epa-file.el:
15934 * epa.el:
15935 * epg.el: Use lexical binding.
15936
15937 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15938
15939 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15940
15941 * textmodes/flyspell.el (flyspell-word): Recognize default
15942 dictionary case for flyspell-mark-duplications-exceptions.
15943 Use regexp matching for languages.
15944 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15945 default dictionary (Bug#7926).
15946
15947 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15948
15949 * emacs-lisp/package.el (package--with-work-buffer):
15950 Recognize https URLs.
15951
15952 * net/network-stream.el: Move from gnus/proto-stream.el.
15953 Change prefix to network-stream throughout.
15954 (open-protocol-stream): Merge into open-network-stream, leaving
15955 open-protocol-stream as an alias. Handle nil BUFFER args.
15956
15957 * subr.el (open-network-stream): Move to net/network-stream.el.
15958
15959 2011-04-02 Glenn Morris <rgm@gnu.org>
15960
15961 * find-dired.el (find-exec-terminator): New option.
15962 (find-ls-option): Test for -ls support.
15963 (find-ls-subdir-switches): Test for -b in find-ls-option.
15964 (find-dired, find-grep-dired): Doc fixes.
15965 (find-dired): Use find-exec-terminator.
15966
15967 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15968 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15969 (find-name-arg): Remove purecopy.
15970
15971 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15972 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15973 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15974 accordingly. Don't add the null-device if not needed.
15975
15976 * files.el (save-some-buffers): Doc fix.
15977
15978 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15979
15980 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15981
15982 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15983
15984 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15985 Use `dolist' rather than `mapcar'.
15986
15987 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15988
15989 Add lexical binding.
15990
15991 * subr.el (apply-partially): Use new closures rather than CL.
15992 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15993 (dolist, dotimes): Use slightly different expansion for lexical code.
15994 (functionp): Move to C.
15995 (letrec): New macro.
15996 (with-wrapper-hook): Use it and apply-partially instead of CL.
15997 (eval-after-load): Preserve lexical-binding.
15998 (save-window-excursion, with-output-to-temp-buffer): Turn them
15999 into macros.
16000
16001 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16002
16003 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16004 than the arglist.
16005 (help-add-fundoc-usage): Don't add `Not documented'.
16006 (help-function-arglist): Handle closures, subroutines, and new
16007 byte-code-functions.
16008 (help-make-usage): Remove leading underscores.
16009 (describe-function-1): Handle closures.
16010 (describe-variable): Use special-variable-p for completion.
16011
16012 * files.el (lexical-binding): Declare safe.
16013
16014 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16015 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16016 (pcase): Add `let' pattern.
16017 Change memoization so it actually works.
16018 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16019 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16020 <let>: New case.
16021
16022 * emacs-lisp/macroexp.el: Use lexical binding.
16023 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16024 Don't convert ' to #' without checking that it's indeed quoting
16025 a lambda.
16026
16027 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16028 Use eval-sexp-add-defvars.
16029 (eval-sexp-add-defvars): New fun.
16030
16031 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16032
16033 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16034 Don't autoload.
16035 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16036 than the internal `byte-compile-lambda'.
16037 (defmethod): Don't hide code under quotes.
16038 (eieio-defmethod): New `code' argument.
16039
16040 * emacs-lisp/eieio-comp.el: Remove.
16041
16042 * emacs-lisp/edebug.el (edebug-eval-defun)
16043 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16044 (edebug-toggle): Avoid `eval'.
16045
16046 * emacs-lisp/disass.el (disassemble-internal): Handle new
16047 `closure' objects.
16048 (disassemble-1): Handle new byte codes.
16049
16050 * emacs-lisp/cl.el (pushnew): Silence warning.
16051
16052 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16053 (cl-byte-compile-throw): Remove.
16054 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16055
16056 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16057 closures.
16058
16059 * emacs-lisp/cconv.el: New file.
16060
16061 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16062 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16063 (byte-compile-initial-macro-environment):
16064 Handle declare-function here.
16065 (byte-compile--lexical-environment): New var.
16066 (byte-stack-ref, byte-stack-set, byte-discardN)
16067 (byte-discardN-preserve-tos): New lap codes.
16068 (byte-interactive-p): Don't use any more.
16069 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16070 New macros.
16071 (byte-compile-lapcode): Use them and handle new lap codes.
16072 (byte-compile-obsolete): Remove.
16073 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16074 (byte-compile-arglist-warn): Check late def of inlinable funs.
16075 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16076 since they should have been expanded by now.
16077 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16078 (byte-compile-from-buffer): Remove unused second arg.
16079 (byte-compile-preprocess): New function.
16080 (byte-compile-toplevel-file-form): New function to distinguish
16081 file-form calls from outside from file-form calls from hunk-handlers.
16082 (byte-compile-file-form): Simplify.
16083 (byte-compile-file-form-defsubst): Remove.
16084 (byte-compile-file-form-defmumble): Simplify now that
16085 byte-compile-lambda always returns a byte-code-function.
16086 (byte-compile): Preprocess.
16087 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16088 Remove, not used any more.
16089 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16090 (byte-compile-make-args-desc): New funs.
16091 (byte-compile-lambda): Handle lexical functions. Always return
16092 a byte-code-function.
16093 (byte-compile-reserved-constants): New var, to make up room for
16094 closed-over variables.
16095 (byte-compile-constants-vector): Obey it.
16096 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16097 (byte-compile-macroexpand-declare-function): New function.
16098 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16099 byte-code-functions.
16100 (byte-compile-form): Check obsolescence here.
16101 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16102 (byte-compile-variable-ref): Remove.
16103 (byte-compile-dynamic-variable-op): New fun.
16104 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16105 (byte-compile-variable-set): New funs.
16106 (byte-compile-discard): Add 2 args.
16107 (byte-compile-stack-ref, byte-compile-stack-set)
16108 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16109 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16110 macroexpand-all instead.
16111 (byte-compile-quote-form): Remove.
16112 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16113 (byte-compile-bind, byte-compile-unbind): New funs.
16114 (byte-compile-let): Handle let* and lexical binding.
16115 (byte-compile-let*): Remove.
16116 (byte-compile-catch, byte-compile-unwind-protect)
16117 (byte-compile-track-mouse, byte-compile-condition-case):
16118 Handle a new :fun-body form, used for lexical scoping.
16119 (byte-compile-save-window-excursion)
16120 (byte-compile-with-output-to-temp-buffer): Remove.
16121 (byte-compile-defun): Simplify.
16122 (byte-compile-stack-adjustment): New fun.
16123 (byte-compile-out): Use it.
16124 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16125
16126 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16127 handler any more.
16128
16129 * emacs-lisp/byte-opt.el: Use lexical binding.
16130 (byte-inline-lapcode): Remove (to bytecomp).
16131 (byte-compile-inline-expand): Pay attention to inlining to/from
16132 lexically bound code.
16133 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16134 any more.
16135 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16136 any more and don't call compiler-macros.
16137 (byte-compile-splice-in-already-compiled-code): Remove.
16138 (byte-code): Don't inline any more.
16139 (disassemble-offset): Receive `bytes' as argument rather than via
16140 dynamic scoping.
16141 (byte-compile-tag-number): Declare before first use.
16142 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16143 `return' even if make-spliceable.
16144 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16145 obsolete interactive-p.
16146 (byte-optimize-lapcode): Optimize new lap-codes.
16147 Don't trip up on new form of `byte-constant' lap code.
16148
16149 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16150
16151 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16152
16153 * custom.el (custom-initialize-default, custom-declare-variable):
16154 Use `defvar'.
16155
16156 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16157 New variables.
16158 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16159 (COMPILE_FIRST): Add macroexp and cconv.
16160 * makefile.w32-in: Mirror changes in Makefile.in.
16161
16162 * vc/cvs-status.el:
16163 * vc/diff-mode.el:
16164 * vc/log-edit.el:
16165 * vc/log-view.el:
16166 * vc/smerge-mode.el:
16167 * textmodes/bibtex-style.el:
16168 * textmodes/css-mode.el:
16169 * startup.el:
16170 * uniquify.el:
16171 * minibuffer.el:
16172 * newcomment.el:
16173 * reveal.el:
16174 * server.el:
16175 * mpc.el:
16176 * emacs-lisp/smie.el:
16177 * doc-view.el:
16178 * dired.el:
16179 * abbrev.el: Use lexical binding.
16180
16181 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16182
16183 * info.el (info-display-manual): New function.
16184
16185 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16186
16187 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16188
16189 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16190
16191 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16192 an entry for that server in rcirc-authinfo. (Bug#8385)
16193
16194 2011-03-31 Glenn Morris <rgm@gnu.org>
16195
16196 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16197
16198 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16199
16200 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16201
16202 * progmodes/python.el (python-default-interpreter)
16203 (python-python-command-args, python-jython-command-args)
16204 (python-which-shell, python-which-args, python-which-bufname)
16205 (python-file-queue, python-comint-output-filter-function)
16206 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16207 variables and functions.
16208
16209 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16210
16211 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16212 (completion-in-region-mode): New minor mode.
16213 (completion-in-region): Use it.
16214 (completion-in-region--data, completion-in-region-mode-map): New vars.
16215 (completion-in-region--postch): New function.
16216 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16217 New vars.
16218 (completion--capf-wrapper): New function.
16219 (completion-at-point): Use it to track well-behavedness of
16220 hook functions.
16221 (completion-help-at-point): New command.
16222
16223 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16224
16225 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16226 syntax class to search for whitespace on a single line
16227 (Message-ID: <4D938140.4030905@redhat.com>).
16228
16229 2011-03-30 Leo Liu <sdl.web@gmail.com>
16230
16231 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16232 New commands.
16233 (edit-abbrevs-map): Bind them here.
16234 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16235
16236 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16237
16238 * allout.el (allout-hide-by-annotation, allout-flag-region):
16239 Reduce possibility of overlay leakage by making them volatile.
16240
16241 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16242 hash is not shared between buffers. Mode initialization is
16243 responsible for giving it a useful starting value.
16244 (allout-item-span): Reduce possibility of overlay leakage by
16245 making them volatile.
16246 (allout-widgets-count-buttons-in-region): Add diagnostic function
16247 for tracking down button overlay leaks.
16248
16249 2011-03-29 Leo Liu <sdl.web@gmail.com>
16250
16251 * ido.el (ido-read-internal): Use the default history var
16252 minibuffer-history if no HISTORY is specified.
16253
16254 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16255
16256 * net/imap.el (imap-shell-open, imap-process-connection-type):
16257 Use imap-process-connection-type for 'shell' streams as well as
16258 Kerberos, SSL, other subprocesses.
16259
16260 2011-03-28 Leo Liu <sdl.web@gmail.com>
16261
16262 * abbrev.el (abbrev-table-empty-p): New function.
16263 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16264 nonempty ones. (Bug#5937)
16265
16266 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16267
16268 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16269
16270 2011-03-27 Leo Liu <sdl.web@gmail.com>
16271
16272 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16273 for foreground and background colors.
16274 (ansi-color-make-color-map): Adapt.
16275
16276 2011-03-25 Leo Liu <sdl.web@gmail.com>
16277
16278 * midnight.el (midnight-time-float): Remove. Note it calculates
16279 the microsecond component incorrectly and seconds-to-time does the
16280 same job.
16281 Remove redundant (require 'timer).
16282
16283 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16284 (ido-completions): Remove unused arguments. (Bug#8329)
16285
16286 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16287
16288 * minibuffer.el (completion--flush-all-sorted-completions):
16289 Remove itself from hook.
16290 (completion-at-point): Let the functions perform the completion
16291 immediately and return nil or t.
16292 * comint.el (comint-dynamic-complete-functions): Now identical to
16293 completion-at-point-functions.
16294 (comint-dynamic-list-input-ring): Remove unused var `index'.
16295 (comint--match-partial-filename, comint--unquote&expand-filename):
16296 New funs, split from comint-match-partial-filename.
16297 (comint-dynamic-complete): Use completion-at-point.
16298 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16299
16300 2011-03-24 Drew Adams <drew.adams@oracle.com>
16301
16302 * thingatpt.el: Support `defun'.
16303
16304 2011-03-23 Leo Liu <sdl.web@gmail.com>
16305
16306 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16307
16308 * help-mode.el (help-mode-finish): Tweak regexp.
16309
16310 2011-03-23 Glenn Morris <rgm@gnu.org>
16311
16312 * eshell/esh-opt.el (eshell-eval-using-options):
16313 Do not bind unused local variable `eshell-option-stub'.
16314
16315 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16316
16317 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16318
16319 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16320 keymap variable in `with-no-warnings' to avoid a warning when the
16321 keymap has been already `defconst'ed.
16322
16323 2011-03-22 Leo Liu <sdl.web@gmail.com>
16324
16325 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16326 encode all chars in abbrevs; otherwise use emacs-mule or
16327 utf-8-emacs. (Bug#8308)
16328
16329 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16330
16331 * simple.el (backward-delete-char-untabify):
16332 Avoid warning about using `delete-backward-char'.
16333
16334 * image.el (image-type-file-name-regexps): Make it variable.
16335 `imagemagick-register-types' modifies it, and the user may want
16336 to add new extensions for known image types.
16337 (imagemagick-register-types): Throw error if not using ImageMagick.
16338
16339 2011-03-22 Leo Liu <sdl.web@gmail.com>
16340
16341 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16342 located before rcirc-prompt-end-marker.
16343 (rcirc-complete): Error if point is not after rcirc prompt.
16344 Handle the case when table is nil.
16345 (rcirc-user-authenticated): Define to fix compiler warning.
16346
16347 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16348
16349 * custom.el (custom--inhibit-theme-enable): Make it affect only
16350 custom-theme-set-variables and custom-theme-set-faces.
16351 (provide-theme): Ignore custom--inhibit-theme-enable.
16352 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16353 (custom-enabling-themes): Delete variable.
16354 (enable-theme): Accept only loaded themes as arguments.
16355 Ignore the special custom-enabled-themes variable.
16356 (custom-enabled-themes): Forbid themes from setting this.
16357 Eliminate use of custom-enabling-themes.
16358 (custom-push-theme): Quote "changed" custom var entry.
16359
16360 2011-03-21 Leo Liu <sdl.web@gmail.com>
16361
16362 * ido.el (ido-read-internal): Add ido-selected to history instead
16363 of user input.
16364
16365 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16366
16367 * subr.el (deferred-action-list, deferred-action-function):
16368 Mark obsolete.
16369
16370 2011-03-21 Leo Liu <sdl.web@gmail.com>
16371
16372 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16373 change on 2011-02-13 (bug#8309).
16374
16375 * minibuffer.el (read-file-name-function): Change default value.
16376 (read-file-name--defaults): Rename from read-file-name-defaults.
16377 (read-file-name-default): Rename from read-file-name.
16378 (read-file-name): Call read-file-name-function.
16379
16380 2011-03-21 Glenn Morris <rgm@gnu.org>
16381
16382 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16383 Doc fixes.
16384
16385 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16386
16387 * cus-theme.el: Add missing provide statement.
16388 (customize-create-theme): Extract theme value correctly.
16389 (custom-theme-visit-theme): Autoload.
16390 (customize-create-theme): Prompt before inserting default faces.
16391
16392 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16393
16394 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16395 units and musical notes.
16396
16397 2011-03-20 Leo Liu <sdl.web@gmail.com>
16398
16399 * ido.el (ido-read-internal): Use completing-read-default.
16400 (ido-completing-read): Fix compatibility with completing-read.
16401
16402 2011-03-20 Christian Ohler <ohler@gnu.org>
16403
16404 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16405 (ert-delete-all-tests): Use `called-interactively-p' rather than
16406 `interactive-p'.
16407 (ert--make-xrefs-region): Respect END.
16408
16409 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16410
16411 * dired-aux.el (dired-create-directory): Signal an error if the
16412 directory already exists (Bug#8246).
16413
16414 * facemenu.el (list-colors-display): Call list-faces-display
16415 inside with-help-window.
16416 (list-colors-print): Use display property to align the final
16417 column, instead of checking window-width.
16418
16419 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16420
16421 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16422 windows-nt systems.
16423 (emerge-protect-metachars): Quote correctly for ms-dos and
16424 windows-nt systems.
16425
16426 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16427
16428 * info.el (info-initialize): Replace all uses of `:' with
16429 path-separator for compatibility with non-Unix systems.
16430 Cache quoting of path-separator. (Bug#8258)
16431
16432 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16433
16434 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16435 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16436 (mouse-avoidance-mode): Fix typos in docstrings.
16437
16438 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16439
16440 * startup.el (package-subdirectory-regexp): Move from package.el.
16441 Omit \\` and \\', and let callers add them.
16442
16443 * emacs-lisp/package.el (package-strip-version)
16444 (package-load-all-descriptors): Add \\` and \\' to
16445 package-subdirectory-regexp before using it.
16446 (package-untar-buffer): New arg DIR; ensure that file untars only
16447 into this expected directory. Remove superfluous delete-region.
16448 (package-unpack): Caller changed.
16449 (package-tar-file-info): Use package-subdirectory-regexp.
16450
16451 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16452
16453 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16454 diff-mode-shared-map (bug#8284).
16455 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16456
16457 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16458
16459 * calendar/time-date.el (format-seconds): Use assoc instead of
16460 assoc-string, since assoc-string doesn't exist in XEmacs.
16461
16462 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16463
16464 * custom.el (custom-known-themes): Reflow docstring.
16465 (custom-theme-load-path): Fix typo in docstring.
16466 (load-theme): Fix typo in error message.
16467 (custom-available-themes, custom-variable-theme-value):
16468 Use `let', not `let*'.
16469
16470 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16471
16472 * calc/README: Mention inclusion of musical notes.
16473
16474 * calc/calc-units.el (calc-lu-quant): Rename from
16475 `calc-logunits-quantity'.
16476 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16477 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16478 (calc-db): Rename from `calc-dblevel'.
16479 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16480 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16481 (calc-np): Rename from `calc-nplevel'.
16482 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16483 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16484 (calc-lu-plus): Rename from `calc-logunits-add'.
16485 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16486 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16487 (calc-lu-minus): Rename from `calc-logunits-sub'.
16488 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16489 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16490 (calc-lu-times): Rename from `calc-logunits-mul'.
16491 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16492 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16493 (calc-lu-divide): Rename from `calc-logunits-div'.
16494 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16495 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16496
16497 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16498 functions being autoloaded.
16499
16500 * calc/calc.el (calc-lu-power-reference): Rename from
16501 `calc-logunits-power-reference'.
16502 (calc-lu-field-reference): Rename from
16503 `calc-logunits-field-reference'.
16504
16505 * calc/calc-help.el (calc-l-prefix-help):
16506 Mention musical note functions.
16507
16508 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16509
16510 * minibuffer.el (completion-all-sorted-completions):
16511 Use :completion-cycle-penalty text property if present.
16512
16513 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16514
16515 * allout.el (allout-yank-processing): Adjust for new rebulleting
16516 regime so bullet being yanked is used without prompting the user
16517 for a choice.
16518
16519 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16520
16521 * startup.el (command-line): Warn the user that _emacs is deprecated.
16522
16523 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16524
16525 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16526 (delphi-verbose, delphi-comment-face, delphi-string-face)
16527 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16528 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16529 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16530 (delphi-new-comment-line, delphi-font-lock-defaults)
16531 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16532 Fix typos in docstrings.
16533
16534 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16535
16536 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16537 Invert the roles of character and string values for INSTEAD, so a
16538 string is used for the more common case of a defaulting prompt.
16539
16540 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16541
16542 * progmodes/ruby-mode.el (ruby-backward-sexp):
16543 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16544 * play/gamegrid.el (gamegrid-make-face):
16545 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16546 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16547 * notifications.el (notifications-notify):
16548 * net/xesam.el (xesam-search-engines):
16549 * net/quickurl.el (quickurl-list-insert):
16550 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16551
16552 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
16553
16554 * startup.el (command-line): Update package subdirectory regexp.
16555
16556 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16557
16558 * allout.el (allout-abbreviate-flattened-numbering)
16559 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16560
16561 * subr.el (read-char-choice): Only show the cursor after the prompt,
16562 not after the answer.
16563
16564 2011-03-15 Kevin Ryde <user42@zip.com.au>
16565
16566 * help-fns.el (variable-at-point): Skip leading quotes, if any
16567 (bug#8253).
16568
16569 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16570
16571 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16572 warning message.
16573
16574 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
16575
16576 * shell.el (shell): When called interactively, offer to change the
16577 shell file name on remote hosts.
16578
16579 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16580
16581 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16582 integration for LDAP parameters. The host, base, user or binddn,
16583 and secret tokens can be specified in a netrc file, for instance.
16584 This is optional because an `auth-source' parameter must be
16585 specified in the search attributes.
16586
16587 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
16588
16589 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16590
16591 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16592
16593 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16594 into declaration. Remove redundant and harmful binding.
16595
16596 2011-03-12 Eli Zaretskii <eliz@gnu.org>
16597
16598 * files.el (file-ownership-preserved-p): Pass `integer' as an
16599 explicit 2nd argument to `file-attributes'. If the file's owner
16600 is the Administrators group on Windows, and the current user is
16601 Administrator, consider that a match.
16602
16603 * server.el (server-ensure-safe-dir): Consider server directory
16604 safe on MS-Windows if its owner is the Administrators group while
16605 the current Emacs user is Administrator. Use `=' to compare
16606 numerical UIDs, since they could be integers or floats.
16607
16608 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
16609
16610 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16611
16612 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
16613
16614 Sync with Tramp 2.2.1.
16615
16616 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16617
16618 * net/trampver.el: Update release number.
16619
16620 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16621
16622 * progmodes/compile.el (compilation--previous-directory): Fix up
16623 various nil/dead-marker mismatches (bug#8014).
16624 (compilation-directory-properties, compilation-error-properties):
16625 Don't call it at a position past the one we're about to change.
16626
16627 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16628 Disable obsolescence warnings in the file that declares it.
16629
16630 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16631
16632 * allout-widgets.el (allout-widgets-tally):
16633 Initialize allout-widgets-tally as a hash table rather than nil to
16634 prevent mode-line redisplay warnings. Also, clarify the module
16635 description and fix a comment typo.
16636
16637 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
16638
16639 * help-fns.el (describe-variable): Don't complete keywords.
16640 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16641
16642 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
16643
16644 * emacs-lisp/package.el (package-version-join): Impose a standard
16645 string representation for pre/alpha/beta version lists.
16646 (package-unpack-single): Standardize the directory name by passing
16647 it through package-version-join.
16648 (package-strip-rcs-id): Accept any version string that does not
16649 signal an error in version-to-list.
16650
16651 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
16652
16653 * simple.el (delete-trailing-whitespace): Return nil for the
16654 benefit of `write-file-functions'.
16655
16656 2011-03-10 Glenn Morris <rgm@gnu.org>
16657
16658 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16659
16660 * vc/vc-git.el (vc-git-program): New option.
16661 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16662 (vc-git--call): Use it.
16663
16664 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16665
16666 * cus-edit.el (Custom-newline): If no button at point, look
16667 for a subgroup button at start-of-line. (Bug#2298)
16668
16669 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16670
16671 2011-03-10 Julien Danjou <julien@danjou.info>
16672
16673 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16674 `cursor-type' is nil.
16675
16676 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16677
16678 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16679
16680 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16681
16682 * allout.el: Change so yank of distinctive-bullet items
16683 preserves the existing header prefix, rebulleting it if necessary,
16684 rather than replacing it. This is necessary for proper operation
16685 of cooperative addons like allout-widgets.
16686 (allout-make-topic-prefix, allout-rebullet-heading):
16687 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16688 value as alternate bullet to be used, instead of prompting the user
16689 for a bullet character.
16690
16691 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16692
16693 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16694 Do not use `tramp-file-name-port', because this returns also
16695 `tramp-default-port'.
16696
16697 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16698
16699 * net/rcirc.el (rcirc-handler-001): Remove useless
16700 with-rcirc-process-buffer.
16701 (rcirc-check-auth-status): Swap arguments to string-match.
16702
16703 2011-03-09 Glenn Morris <rgm@gnu.org>
16704
16705 * shell.el (shell-mode):
16706 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16707
16708 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16709 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16710
16711 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16712
16713 * emacs-lisp/package.el (package-refresh-contents)
16714 (package-menu-execute): Use condition-case-no-debug.
16715
16716 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16717
16718 * simple.el (shell-command-to-string): Use `process-file'.
16719
16720 * emacs-lisp/package.el (package-tar-file-info): Handle also
16721 remote files.
16722
16723 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16724 Use `equal' for upload base check.
16725
16726 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16727
16728 * textmodes/texinfo.el (texinfo-environments):
16729 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16730
16731 2011-03-08 Glenn Morris <rgm@gnu.org>
16732
16733 * cus-start.el (cursor-in-non-selected-windows):
16734 Fix :set quoting oddness. (Bug#8192)
16735
16736 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16737 in some setf expressions. (Bug#2159)
16738
16739 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16740
16741 * custom.el (custom-available-themes): Return themes in
16742 alphabetical order.
16743
16744 See ChangeLog.15 for earlier changes.
16745
16746 ;; Local Variables:
16747 ;; coding: utf-8
16748 ;; End:
16749
16750 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16751
16752 This file is part of GNU Emacs.
16753
16754 GNU Emacs is free software: you can redistribute it and/or modify
16755 it under the terms of the GNU General Public License as published by
16756 the Free Software Foundation, either version 3 of the License, or
16757 (at your option) any later version.
16758
16759 GNU Emacs is distributed in the hope that it will be useful,
16760 but WITHOUT ANY WARRANTY; without even the implied warranty of
16761 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16762 GNU General Public License for more details.
16763
16764 You should have received a copy of the GNU General Public License
16765 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.