Add advertised calling convention for redirect-frame-focus (Bug#12030).
[bpt/emacs.git] / lisp / ChangeLog
1 2012-07-25 Martin Rudalics <rudalics@gmx.at>
2
3 * subr.el (redirect-frame-focus): Add advertised calling
4 convention (Bug#12030).
5
6 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7
8 Prefer typical American spelling for "acknowledgment".
9 * vc/add-log.el (change-log-acknowledgment): Rename from
10 change-log-acknowledgement, with an alias for the old name.
11
12 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
13
14 * calc-alg.el (math-simplify-divide): Don't cross multiply
15 in an equation when the lhs is a variable.
16
17 2012-07-24 Julien Danjou <julien@danjou.info>
18
19 * net/netrc.el (netrc-find-service-number, netrc-store-data):
20 Remove, unused.
21
22 2012-07-23 Eli Zaretskii <eliz@gnu.org>
23
24 * startup.el (command-line): Don't display an empty user name in
25 the error message about non-existent home directory, when
26 init-file-user was set to an empty string. See
27 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
28 for the details and context.
29
30 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
31
32 * ses.el (ses-cell-formula-aset): New macro.
33 (ses-cell-references-aset): New macro.
34 (ses-cell-p): New function.
35 (ses-rename-cell): Do no longer rely on complex operations like
36 ses-cell-set-formula or ses-set-cell to change the cell and handle
37 the undo at the same time, but rather use lower level new macros
38 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
39 the undo directly. Refresh the mode line.
40
41 2012-07-21 Leo Liu <sdl.web@gmail.com>
42
43 * progmodes/cc-cmds.el (c-defun-name): Use
44 match-string-no-properties instead for consistency.
45
46 2012-07-20 Leo Liu <sdl.web@gmail.com>
47
48 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
49 (Bug#7879)
50
51 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
52
53 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
56 * progmodes/bug-reference.el, misearch.el: Provide themselves
57 (bug#11915).
58
59 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
60 of narrowed buffer (bug#11966).
61
62 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
63
64 * ses.el (ses-rename-cell): Set new name also in reference list of
65 cells of which the renamed cell depends.
66
67 2012-07-20 Masatake YAMATO <yamato@redhat.com>
68
69 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
70 to check whether menu-bar is shown or not. If not shown,
71 show the menu-bar as a popup menu instead of using tmm.
72 * mouse.el (popup-menu): Accept `point' as `position' argument.
73
74 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
75
76 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
77 up inside string symbol literal (bug#11923).
78
79 2012-07-20 Eli Zaretskii <eliz@gnu.org>
80
81 * startup.el (fancy-startup-text): Read the whole tutorial, not
82 just its first 256 bytes. Prevents gibberish in display of the
83 tutorial title.
84
85 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
86
87 Drop idle buffer compaction due to an absence of the
88 proved efficiency.
89 * compact.el: Remove.
90
91 2012-07-19 Sam Steingold <sds@gnu.org>
92
93 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
94 vc-bzr-pull & vc-bzr-merge-branch.
95 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
96 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
97 for consistency with compilation-error-regexp-alist.
98 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
99 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
100 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
101 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
102
103 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * emacs-lisp/chart.el: Use lexical-binding.
106 (chart-emacs-storage): Don't hardcode the list of entries.
107
108 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
109
110 Next round of tweaks caused by Fgarbage_collect changes.
111 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
112
113 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
114
115 Compact buffers when idle.
116 * compact.el: New file.
117
118 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 * subr.el (eventp): Presume that if it looks vaguely like an event,
121 it's an event (bug#10190).
122
123 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
124
125 Enhancements to ppss related code (thanks Stefan).
126 * progmodes/python.el (python-indent-context)
127 (python-indent-calculate-indentation, python-indent-dedent-line)
128 (python-indent-electric-colon, python-nav-forward-block)
129 (python-mode-abbrev-table)
130 (python-info-assignment-continuation-line-p): Simplify checks
131 for ppss context.
132 (python-info-continuation-line-p): Cleanup.
133 (python-info-ppss-context): Do not catch 'quote.
134 (python-info-ppss-context-type)
135 (python-info-ppss-comment-or-string-p): Simplify.
136
137 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
138
139 * progmodes/python.el: Enhancements to eldoc support.
140 (python-info-current-symbol): New function.
141 (python-eldoc-at-point): Use python-info-current-symbol.
142 (python-info-current-defun): Fix cornercase on first defun scan.
143 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
144 and signal error when no inferior python process is available.
145
146 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
147
148 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
149 assume it's always t.
150 (vc-git-registered): Remove caching, the function is only called
151 once.
152 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
153
154 2012-07-18 Chong Yidong <cyd@gnu.org>
155
156 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
157
158 * simple.el (count-words): Report on narrowing (Bug#9959).
159
160 * bindings.el: Bind M-= to count-words.
161
162 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
163
164 2012-07-18 Masatake YAMATO <yamato@redhat.com>
165
166 * progmodes/sh-script.el (sh-imenu-generic-expression):
167 Capture a function with `function' keyword and without parentheses
168 like "function FOO" (bug#11856).
169
170 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
171
172 * window.el (split-window-sensibly): Make WINDOW argument
173 optional.
174
175 2012-07-18 Chong Yidong <cyd@gnu.org>
176
177 * subr.el (keyboard-translate): Doc fix (Bug#7261).
178
179 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
180 and make C-x 8 RET exit isearch (Bug#11439).
181
182 * international/iso-transl.el: Move isearch-mode-map key
183 definitions to isearch.el.
184
185 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
188 (eieio-defclass): Use gv-define-setter when possible.
189
190 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
191
192 Reflect recent changes in Fgarbage_collect.
193 * emacs-lisp/chart.el (chart-emacs-storage): Change to
194 reflect new format of data returned by Fgarbage_collect.
195
196 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
197
198 New utility functions + python-info-ppss-context fix (Bug#11910).
199 * progmodes/python.el (python-info-beginning-of-block-statement-p)
200 (python-info-ppss-comment-or-string-p): New functions.
201 (python-info-ppss-context): Small fix for string check.
202
203 2012-07-17 Juri Linkov <juri@jurta.org>
204
205 * dired-aux.el (dired-do-async-shell-command): Doc fix.
206 (dired-do-async-shell-command): Don't add `*' at the end of the
207 command (Bug#11815).
208 (dired-do-shell-command): Doc fix.
209 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
210 Join the individual commands using either "&" or ";" as the
211 separator depending on the values of these trailing characters.
212 At the end re-add the trailing "&". (Bug#10598)
213
214 * simple.el (async-shell-command): Sync the interactive spec with
215 `shell-command'. Doc fix.
216 (shell-command): Doc fix.
217
218 2012-07-17 Juri Linkov <juri@jurta.org>
219
220 * descr-text.el (describe-char): Fix format args. (Bug#10129)
221
222 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
223
224 Final renames and doc fixes for movement commands (bug#11899).
225 * progmodes/python.el (python-nav-beginning-of-statement):
226 Rename from python-nav-statement-start.
227 (python-nav-end-of-statement): Rename from
228 python-nav-statement-end.
229 (python-nav-beginning-of-block): Rename from
230 python-nav-block-start.
231 (python-nav-end-of-block): Rename from python-nav-block-end.
232
233 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
234
235 * progmodes/python.el (python-shell-send-string-no-output):
236 Allow accept-process-output to quit, keeping shell process ready for
237 future interactions (Bug#11868).
238
239 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
242
243 * emacs-lisp/elint.el (elint-find-args-in-code):
244 Use help-function-arglist, so as to handle lexical byte-code.
245
246 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
247 change (bug#11826).
248
249 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
252 Avoid spuriously marking the buffer as modified because of c-is-sws.
253
254 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
255 as not-a-comment (bug#11946).
256
257 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
258 for uninterned vars.
259
260 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
261 Use read-event since we don't really want to read chars but bytes.
262
263 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
264 $$..$$ but also $..$ using regexps (bug#11953).
265 Use tex-verbatim for \url and \path.
266 (tex-font-lock-keywords): Define as defconst like the others.
267 (tex-common-initialization): Don't use font-lock-syntax-table any more.
268
269 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
270
271 * international/mule-cmds.el (ucs-insert): Make it an obsolete
272 alias for insert-char.
273
274 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
275
276 * progmodes/python.el: Simplified imenu implementation.
277 (python-nav-jump-to-defun): Remove command.
278 (python-mode-map): Use `imenu' instead.
279 (python-nav-list-defun-positions-cache)
280 (python-imenu-include-defun-type, python-imenu-make-tree)
281 (python-imenu-subtree-root-label, python-imenu-index-alist):
282 Remove vars.
283 (python-nav-list-defun-positions, python-nav-read-defun)
284 (python-imenu-tree-assoc, python-imenu-make-element-tree)
285 (python-imenu-make-tree, python-imenu-create-index):
286 Remove functions.
287 (python-mode): Update to interact with imenu by setting
288 `imenu-extract-index-name-function' only.
289
290 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
291
292 * progmodes/python.el: Enhancements to navigation commands.
293 (python-nav-backward-sentence)
294 (python-nav-forward-sentence): Remove.
295 (python-nav-backward-statement, python-nav-forward-statement)
296 (python-nav-statement-start, python-nav-statement-end)
297 (python-nav-backward-block, python-nav-forward-block)
298 (python-nav-block-start, python-nav-block-end)
299 (python-nav-forward-sexp-function)
300 (python-info-current-line-comment-p)
301 (python-info-current-line-empty-p): New functions.
302 (python-indent-context): Use `python-nav-statement-start'.
303
304 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
305
306 * eshell/em-ls.el (eshell/ls): Use `apply'.
307
308 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
309 multi-hops, instead of Tramp internals.
310
311 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
312
313 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
314 when F1 and F2 are located on different hosts.
315
316 2012-07-14 Chong Yidong <cyd@gnu.org>
317
318 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
319 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
320 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
321 (xterm-mouse--read-event-sequence-1000)
322 (xterm-mouse--read-event-sequence-1006): New functions. For old
323 mouse protocol, handle M-mouse-X events correctly.
324 (xterm-mouse-event): New arg specifying mouse protocol.
325 (turn-on-xterm-mouse-tracking-on-terminal)
326 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
327 sequence to toggle extended coordinates on newer XTerms.
328 This appears to be harmless on terminals which do not support this.
329
330 2012-07-14 Leo Liu <sdl.web@gmail.com>
331
332 Add fringe bitmap indicators for flymake. (Bug#11253)
333 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
334 (flymake-make-overlay): New arg BITMAP.
335 (flymake-error-bitmap, flymake-warning-bitmap)
336 (flymake-fringe-indicator-position): New user variables.
337
338 * fringe.el: New bitmap exclamation-mark.
339
340 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
341
342 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
343 also (Bug#7879).
344
345 2012-07-14 Chong Yidong <cyd@gnu.org>
346
347 * electric.el (electric-pair-post-self-insert-function): Fix pair
348 insertion in empty-region case (Bug#11520).
349
350 2012-07-14 Chong Yidong <cyd@gnu.org>
351
352 * bindings.el: Consolidate ctl-x-r-map bindings.
353 Bind copy-rectangle-as-kill to C-x r w.
354
355 * rect.el, register.el: Move bindings to bindings.el.
356
357 2012-07-14 Reuben Thomas <rrt@sc3d.org>
358
359 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
360
361 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
362
363 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
364
365 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
366
367 * bindings.el (top): Use `mapc' instead of `mapcar'.
368
369 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
370
371 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
372
373 * progmodes/sql.el (sql-comint): Suppress the check for program on
374 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
375 (Bug#11908)
376
377 2012-07-13 Chong Yidong <cyd@gnu.org>
378
379 * bindings.el: Assign a non-nil permanent-local property to
380 per-buffer variables which lack a default value (Bug#11930).
381
382 * help-fns.el (describe-variable): In the "automatically becomes
383 local" notice, take note of permanent-local variables.
384
385 2012-07-13 Chong Yidong <cyd@gnu.org>
386
387 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
388 to allow printing the message when called from Lisp.
389
390 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
391 Remove toggle-read-only.
392
393 * bs.el (bs-toggle-readonly):
394 * buff-menu.el (Buffer-menu-toggle-read-only):
395 Remove with-no-warnings around toggle-read-only.
396
397 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
398 Remove with-no-warnings around toggle-read-only.
399 (ffap-read-only, ffap-read-only-other-window)
400 (ffap-read-only-other-frame): Callers changed.
401
402 * help-mode.el: Don't require view package.
403 (help-mode-finish): Set buffer-read-only instead of calling
404 toggle-read-only.
405
406 * bindings.el (mode-line-toggle-read-only):
407 * dired.el (dired-toggle-read-only):
408 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
409 with non-nil second arg.
410
411 * emacs-lisp/eieio-custom.el (eieio-customize-object):
412 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
413 directly.
414
415 2012-07-12 Eli Zaretskii <eliz@gnu.org>
416
417 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
418 not incf.
419
420 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 More CL cleanups and reduction of use of cl.el.
423 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
424 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
425 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
426 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
427 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
428 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
429 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
430 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
431 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
432 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
433 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
434 * eshell/em-cmpl.el, eshell/em-banner.el:
435 * calendar/parse-time.el: Use cl-lib.
436 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
437 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
438 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
439 * term/ns-win.el, term.el, shell.el, ps-samp.el:
440 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
441 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
442 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
443 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
444 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
445 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
446 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
447 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
448 `lambda' rather than with `quote'.
449 (eshell-do-opt): Adjust accordingly.
450 (eshell-process-option): Simplify.
451 * eshell/esh-var.el:
452 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
453 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
454 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
455 to `pcase--dontcare'.
456 * emacs-lisp/cl.el (labels): Mark obsolete.
457 (cl--letf, letf): Move to cl-lib.
458 (cl--letf*, letf*): Remove.
459 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
460 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
461 (cl-progv): Rewrite.
462 (cl--letf, cl-letf): Move from cl.el.
463 (cl-letf*): New macro.
464 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
465
466 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
467
468 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
469
470 2012-07-11 Chong Yidong <cyd@gnu.org>
471
472 * vc/log-edit.el (log-edit-vc-backend): New variable.
473 (log-edit): Doc fix.
474
475 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
476 argument of log-edit to set up all local variables.
477 (vc-start-logentry): New optional arg specifying VC backend.
478
479 * vc/vc.el (vc-checkin): Use it.
480 (vc-deduce-fileset): Handle Log Edit buffers.
481 (vc-diff): Make first argument optional too.
482
483 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
484
485 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
486
487 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
488 command, just in case. The function is not needed anymore.
489 (eshell-external-command): Do not call `eshell-remote-command'.
490
491 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
492
493 Reduce use of (require 'cl).
494 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
495 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
496 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
497 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
498 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
499 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
500 * battery.el, avoid.el, abbrev.el: Use cl-lib.
501 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
502 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
503 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
504 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
505 * calculator.el, autorevert.el, apropos.el: Don't require CL.
506 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
507 (byte-compile-unfold-bcf, byte-compile-check-variable):
508 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
509 (byte-compile-nilconstp):
510 * emacs-lisp/autoload.el (make-autoload): Use pcase.
511 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
512
513 * emacs-lisp/gv.el (cond): Make it a valid place.
514 (if): Simplify slightly.
515
516 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
517 (pcase--self-quoting-p): New function.
518 (pcase--u1): Use it.
519
520 2012-07-10 Glenn Morris <rgm@gnu.org>
521
522 * emacs-lisp/authors.el (authors-fixed-entries):
523 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
524
525 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
526
527 Rename configure.in to configure.ac (Bug#11603).
528 * emacs-lisp/authors.el (authors-canonical-file-name):
529 * progmodes/autoconf.el (autoconf-mode):
530 Prefer configure.ac to configure.in.
531
532 2012-07-08 Chong Yidong <cyd@gnu.org>
533
534 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
535 Implement the mouse-1-click-follows-link handling properly.
536
537 * info.el (Info-link-keymap): Use follow-link mechanism for
538 header-line links (Bug#374).
539
540 * simple.el (deactivate-mark): Do not set the primary selection
541 if another program has acquired it (Bug#11772).
542
543 2012-07-07 Kevin Ryde <user42@zip.com.au>
544
545 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
546 (woman-decode-region): Replace escaped-escapes without destroying
547 bold or underline (Bug#11552).
548 (woman2-process-escapes): Handle nofill regions (Bug#11591).
549
550 2012-07-07 Chong Yidong <cyd@gnu.org>
551
552 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
553 (interprogram-cut-function, interprogram-paste-function):
554 Mention that we typically mean the clipboard.
555
556 2012-07-06 Glenn Morris <rgm@gnu.org>
557
558 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
559
560 * files.el (toggle-read-only): Restrict message to interactive use.
561
562 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
563
564 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
565
566 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
567
568 2012-07-06 Glenn Morris <rgm@gnu.org>
569
570 * Makefile.in (compile-one-process): Rename from "recompile".
571
572 * Makefile.in (bzr-update): "compile" is the same as "recompile
573 autoloads", but parallelizable, so use that instead.
574
575 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
576
577 * window.el (quit-window): Always restore window height when
578 it's saved in quit-restore parameter (Bug#11810).
579
580 2012-07-06 Glenn Morris <rgm@gnu.org>
581
582 * simple.el (kill-whole-line): Doc tweak.
583
584 2012-07-06 Eli Zaretskii <eliz@gnu.org>
585
586 * files.el (file-relative-name): Compare file names
587 case-insensitively if on MS-Windows or MS-DOS, or if
588 read-file-name-completion-ignore-case is non-nil. Don't use
589 case-fold-search for this purpose. (Bug#11827)
590
591 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
592
593 * calendar/cal-dst.el (calendar-current-time-zone):
594 Return calendar-current-time-zone-cache if non-nil.
595
596 2012-07-17 Masatake YAMATO <yamato@redhat.com>
597 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
598
599 * calendar/cal-dst.el (calendar-current-time-zone):
600 Return calendar-current-time-zone-cache if non-nil.
601
602 2012-07-06 Glenn Morris <rgm@gnu.org>
603
604 * Makefile.in (cvs-update): Remove old alias.
605
606 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
607
608 Sync with Tramp 2.2.6-pre.
609
610 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
611 compatible declaration.
612
613 * net/tramp-cmds.el (tramp-append-tramp-buffers):
614 Protect `list-load-path-shadows' call.
615
616 * net/tramp-compat.el (top): Require packages, which aren't
617 autoloaded anymore for XEmacs. Protect call of
618 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
619 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
620 it hurts at least for SXEmacs.
621 (tramp-compat-temporary-file-directory): In XEmacs, there is no
622 standard-value for `temporary-file-directory'.
623
624 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
625 Redirect stderr to /dev/null.
626 (tramp-sh-handle-write-region): uid and gid can be floats.
627 Reported by Russell Sim <russell.sim@gmail.com>.
628 (tramp-sh-handle-vc-registered): Hide errors.
629 (tramp-vc-file-name-handler): Use dummy results for `process-file'
630 and `start-file-process'.
631 (tramp-maybe-open-connection): Check also whether `non-essential'
632 is bound.
633
634 2012-07-04 Chong Yidong <cyd@gnu.org>
635
636 * xml.el (xml--parse-buffer): Use xml-syntax-table.
637 (xml-parse-tag): Likewise, and avoid changing entity tables.
638 (xml-syntax-table): Define from scratch, making sure not to give
639 x2000 and other Unicode spaces whitespace syntax, since those are
640 not spaces in XML.
641 (xml-parse-fragment): Delete unused function.
642 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
643 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
644 (xml-entity-ref, xml-pe-reference-re)
645 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
646 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
647 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
648 (xml-entity-value-re): Use syntax references in regexps where
649 possible; no need to define inside a let-binding.
650 (xml-parse-dtd): Use xml-pe-reference-re.
651 (xml-entity-or-char-ref-re): New defconst.
652 (xml-parse-string, xml-substitute-special): Use it.
653
654 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * files.el (locate-dominating-file): Allow `name' to be a predicate.
657 (find-file--read-only): New function.
658 (find-file-read-only, find-file-read-only-other-window)
659 (find-file-read-only-other-frame): Use it.
660 (insert-file-contents-literally): Don't `fset'.
661 (get-free-disk-space): Use locate-dominating-file.
662
663 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
664 function is already compiled.
665
666 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
667
668 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
669
670 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
671 files on the same host.
672
673 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
674
675 * help-fns.el (describe-function-1): Only call
676 help-fns--autoloaded-p when we have a file name. (Bug#11848)
677
678 2012-07-03 Chong Yidong <cyd@gnu.org>
679
680 * xml.el: Protect parser against XML bombs.
681 (xml-entity-expansion-limit): New variable.
682 (xml-parse-string, xml-substitute-special): Use it.
683 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
684
685 2012-07-03 Glenn Morris <rgm@gnu.org>
686
687 * progmodes/bug-reference.el (bug-reference-bug-regexp):
688 Allow linking to specific messages in debbugs reports (eg 123#5).
689
690 2012-07-02 Chong Yidong <cyd@gnu.org>
691
692 * xml.el: Fix entity and character reference expansion, allowing
693 them to expand into markup as per XML spec.
694 (xml-default-ns): New variable.
695 (xml-entity-alist): Use XML spec definitions for lt and amp.
696 (xml-parse-region): Make first two arguments optional.
697 Discard text properties.
698 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
699 All callers changed.
700 (xml-parse-tag): Call xml-parse-tag-1. For backward
701 compatibility, this function should not modify buffer contents.
702 (xml-parse-tag-1): Fix opening-tag regexp.
703 (xml-parse-string): Rewrite, handling entity and character
704 references properly.
705 (xml--entity-replacement-text): Signal an error if a parameter
706 entity is undefined.
707
708 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * comint.el (comint-output-filter): Filter out repeated prompts.
711
712 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
713 and file-name-absolute-p.
714 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
715 internal calls.
716
717 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
718
719 Spelling fixes.
720 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
721 Rename from byte-compile--refiy-function. All uses changed.
722
723 2012-07-01 Chong Yidong <cyd@gnu.org>
724
725 * xml.el (xml--parse-buffer): New function. Move most of
726 xml-parse-region here.
727 (xml-parse-region): Copy region into a temporary buffer, since
728 parameter entity substitution requires changing buffer contents.
729 Use xml--parse-buffer.
730 (xml-parse-file): Use xml--parse-buffer.
731 (xml-parse-dtd): Make parameter entity substitution work right.
732 Use proper regexps for ELEMENT declarations (Bug#7172).
733
734 2012-06-30 Glenn Morris <rgm@gnu.org>
735
736 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
737
738 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
739 Remove outdated and unnecessary dbus declarations.
740
741 2012-06-30 Eli Zaretskii <eliz@gnu.org>
742
743 * emacs-lisp/timer.el (timer-until): Subtract results of
744 float-time, instead of taking float-time of the result of
745 time-subtract, since float-time signals an error for negative time
746 arguments.
747
748 2012-06-30 Chong Yidong <cyd@gnu.org>
749
750 * xml.el (xml-*-re): Convert defvars into defconsts, and
751 eval-and-compile them so eval-and-compile works on derivatives.
752 (xml--entity-replacement-text): Use eval-and-comple.
753
754 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
755
756 * vc/vc-git.el (vc-git-registered): Use cache property
757 `git-registered'.
758 (vc-git-mode-line-string): Call `vc-working-revision' instead of
759 `vc-git-working-revision' in order to benefit from the cache.
760 (vc-git-root): Use cache property `git-root'. (Bug#11757)
761
762 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
763
764 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
765 removed (likely outside Emacs). (Bug#11757)
766
767 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * emacs-lisp/cl-lib.el: Require macroexp.
770
771 2012-06-30 Chong Yidong <cyd@gnu.org>
772
773 * xml.el: Implement XML parameter entities.
774 (xml-parameter-entity-alist): New variable.
775 (xml-parse-region, xml-parse-fragment): Preserve previous values
776 of xml-entity-alist and xml-parameter-entity-alist, so that
777 repeated calls on different documents do not change them.
778 (xml-parse-tag): Fix doctype regexp.
779 (xml--entity-replacement-text): New function.
780 (xml-parse-dtd): Use it. Don't handle system entities; doing that
781 properly requires url retrieval which is unimplemented.
782 (xml-escape-string): Doc fix.
783
784 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
787
788 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
789
790 * fringe.el (fringe-mode): Doc fix.
791
792 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
793
794 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
795 is non-nil.
796 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
797 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
798
799 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
800
801 * calendar/cal-dst.el (calendar-current-time-zone):
802 Return calendar-current-time-zone-cache if non-nil.
803
804 2012-06-29 Masatake YAMATO <yamato@redhat.com>
805
806 * progmodes/which-func.el (which-func-format):
807 Add mouse-face. (Bug#11698)
808
809 2012-06-29 Leo Liu <sdl.web@gmail.com>
810
811 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
812
813 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * minibuffer.el (minibuffer-confirm-exit-commands):
816 Add completion-at-point (bug#11725).
817
818 2012-06-29 Glenn Morris <rgm@gnu.org>
819
820 * progmodes/f90.el (f90-font-lock-keywords-2):
821 Add some preprocessor elements. (Bug#10499)
822
823 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * progmodes/cperl-mode.el (cperl-update-syntaxification):
826 Use syntax-propertize (bug#11739).
827
828 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
829
830 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
831
832 2012-06-28 Julien Danjou <julien@danjou.info>
833
834 * term.el (term-handle-colors-array): Use a set of new faces to
835 color the terminal. Also uses :inverse-video property.
836 (term-default-fg-color): Set to nil by default, deprecate in favor
837 of `term-face'.
838 (term-default-bg-color): Set to nil by default, deprecate in favor
839 of `term-face'.
840 (term-current-face): Use `term-face' by default.
841 (term-bold-attribute): Variable deleted.
842
843 2012-06-28 Glenn Morris <rgm@gnu.org>
844
845 * simple.el (completion-list-mode-finish):
846 Don't use toggle-read-only. (Since completion-list-mode has
847 a special mode-class, it wasn't doing anything extra anyway.)
848
849 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 Make inlining of other-mode interpreted functions work (bug#11799).
852 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
853 (byte-compile): Use it to fix compilation of lexical-binding closures.
854 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
855 function, if needed.
856
857 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * help-mode.el (help-make-xrefs): Don't just withstand
860 cyclic-variable-indirection but any error in documentation-property.
861
862 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
863 memory use.
864 * bindings.el (bindings--define-key): New function.
865 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
866 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
867 * bindings.el: Use it to purecopy define-key bindings.
868
869 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
870
871 * emacs-lisp/cl.el (flet): Mark obsolete.
872 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
873 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
874 * progmodes/js.el (js-c-fill-paragraph):
875 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
876 (ebrowse-switch-member-buffer-to-derived-class):
877 * play/5x5.el (5x5-solver): Use cl-flet.
878
879 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
880 (cl--symbol-function): New macro.
881 (cl--letf, cl--letf*): Use it.
882
883 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
884 Strip "toggle-" if any.
885
886 2012-06-27 Glenn Morris <rgm@gnu.org>
887
888 * info.el (Info-default-directory-list): Move here from paths.el.
889 * paths.el: Remove file, which is now empty.
890 * loadup.el: No longer load "paths".
891
892 * custom.el (custom-initialize-delay): Doc fix.
893
894 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
895 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
896 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
897 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
898 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
899 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
900 * eshell/eshell.el (eshell-defgroup): Remove alias.
901
902 2012-06-27 Chong Yidong <cyd@gnu.org>
903
904 * help.el (help-enable-auto-load): New variable.
905
906 * help-fns.el (help-fns--autoloaded-p): New function.
907 (describe-function-1): Refer to a function as "autoloaded" if it
908 was autoloaded at any time in the past. Perform autoloading if
909 help-enable-auto-load is non-nil.
910
911 2012-06-26 Eli Zaretskii <eliz@gnu.org>
912
913 * makefile.w32-in (compile, compile-always): Depend on
914 update-subdirs, not on subdirs.el. Otherwise, several different
915 sub-targets of 'bootstrap' running in parallel could
916 simultaneously write to subdirs.el, producing a garbled file.
917
918 2012-06-26 Sam Steingold <sds@gnu.org>
919
920 * files.el (file-name-base): New convenience function.
921 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
922 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
923 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
924 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
925 * textmodes/ispell.el, textmodes/reftex-ref.el:
926 * textmodes/tex-mode.el: Use it.
927 Did not touch cedet and org because they are maintained elsewhere.
928
929 2012-06-26 Martin Rudalics <rudalics@gmx.at>
930
931 * calendar/calendar.el (calendar-exit): Don't try to delete or
932 iconify last frame. See:
933 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
934
935 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
936
937 * server.el (server-process-filter): Remember dir in the
938 process's `server-client-directory' properties.
939
940 2012-06-24 Chong Yidong <cyd@gnu.org>
941
942 * xml.el (xml-parse-tag): Correctly handle comment embedded in
943 non-tag text.
944
945 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
946
947 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
948
949 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * help-fns.el (describe-variable): Don't croak when doc is not found.
952 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
953 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
954 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
955 * emacs-lisp/smie.el (smie-next-sexp): CSE.
956 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
957 ((lambda ..) ..).
958 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
959
960 2012-06-23 Chong Yidong <cyd@gnu.org>
961
962 * info.el (Info-mouse-follow-link): Accept symbol values of
963 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
964 (Info-fontify-node): Use Info-link-keymap for all navigation
965 buttons, with link-args property to perform the desired action.
966 (Info-link-keymap): Doc fix.
967 (Info-next-link-keymap, Info-prev-link-keymap)
968 (Info-up-link-keymap): Delete now-unused keymaps.
969
970 2012-06-23 Chong Yidong <cyd@gnu.org>
971
972 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
973
974 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
975 system abbrevs.
976
977 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
978
979 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
980
981 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
982 (bug#11719).
983
984 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
985 the requote function doesn't work properly (bug#11714).
986
987 2012-06-23 Glenn Morris <rgm@gnu.org>
988
989 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
990
991 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 Further GV/CL cleanups.
994 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
995 gv-expander.
996 (gv--defun-declaration): New function.
997 (defun-declarations-alist): Use it.
998 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
999 (gv-place): Autoload.
1000 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1001 original definition of dotimes and dolist.
1002 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1003 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1004 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1005 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1006 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1007 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1008 to the function's definition.
1009 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1010 * window.el:
1011 * files.el:
1012 * faces.el:
1013 * env.el: Don't use CL.
1014
1015 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1016
1017 Support higher-resolution time stamps (Bug#9000).
1018
1019 * calendar/time-date.el (with-decoded-time-value): New arg
1020 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1021 (encode-time-value): New optional arg PICO. New type 3.
1022 (time-to-seconds) [!float-time]: Support the new picoseconds
1023 component if it's used.
1024 (seconds-to-time, time-subtract, time-add):
1025 Support ps-resolution time stamps as well.
1026
1027 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1028 (timerp): Timer vectors now have length 9, not 8.
1029 (timer--time): Support new-style (4-part) time stamps.
1030 (timer-next-integral-multiple-of-time): Time stamps now have
1031 picosecond resolution, so take a bit more care about rounding.
1032 (timer-relative-time, timer-inc-time): New optional arg psecs.
1033 (timer-set-time-with-usecs): Set psecs to 0.
1034 (timer--activate): Check psecs component, too.
1035
1036 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1037
1038 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1041 Move the non-essential binding to the post/pre-command-hook where it is
1042 more obviously correct.
1043
1044 * subr.el (read-passwd): Don't use a history at all.
1045 * savehist.el (savehist-save): Remove password saved accidentally
1046 because of the above bug.
1047
1048 2012-06-22 Bastien Guerry <bzg@gnu.org>
1049
1050 * files.el (toggle-read-only): Display a message telling whether
1051 the buffer is read-only or not (bug#11726).
1052
1053 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1054
1055 * emacs-lisp/gv.el: New file.
1056 * subr.el (push, pop): Extend to generalized variables.
1057 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1058 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1059 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1060 gv-define-simple-setter, and gv-define-expander.
1061 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1062 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1063 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1064 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1065 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1066 gv-letplace.
1067 (cl-defstruct): Don't define setf-method any more.
1068 * emacs-lisp/cl.el (flet): Don't autoload.
1069 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1070 (define-setf-expander, defsetf, define-modify-macro)
1071 (cl-struct-setf-expander): Move from cl-lib.el.
1072 * emacs-lisp/syntax.el:
1073 * emacs-lisp/ewoc.el:
1074 * emacs-lisp/smie.el:
1075 * emacs-lisp/cconv.el:
1076 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1077 (timer--time): Use gv-define-simple-setter.
1078 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1079 to avoid coding-system problems in subr.el. Adjust all users.
1080 (macroexp--maxsize, macroexp-small-p): New functions.
1081 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1082 * scroll-bar.el (scroll-bar-mode):
1083 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1084 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1085 * winner.el (winner-configuration, winner-make-point-alist)
1086 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1087 * files.el (locate-file-completion-table): Avoid list*.
1088
1089 2012-06-22 Chong Yidong <cyd@gnu.org>
1090
1091 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1092 (dired-create-files): Doc fix (Bug#11329).
1093 (dired-do-copy): Doc fix (Bug#11334).
1094 (dired-mark-read-string): Doc fix (Bug#11553).
1095
1096 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1097 Doc fix (Bug#11326).
1098 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1099 (dired-dwim-target): Doc fix.
1100
1101 * wdired.el (wdired-mode): Doc fix.
1102
1103 2012-06-22 Glenn Morris <rgm@gnu.org>
1104
1105 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1106 (pcmpl-rpm-cache-stamp-file): New constant.
1107 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1108 (pcmpl-rpm-packages): Optionally cache list of packages.
1109
1110 * pcmpl-rpm.el (pcmpl-rpm): New group.
1111 (pcmpl-rpm-query-options): New option.
1112 (pcmpl-rpm-packages): No need to inline it.
1113 Use pcmpl-rpm-query-options.
1114
1115 * calendar/calendar.el (calendar-in-read-only-buffer):
1116 Avoid some needless mode changes.
1117
1118 2012-06-21 Chong Yidong <cyd@gnu.org>
1119
1120 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1121 (desktop-path): Remove . from the default value (Bug#10977).
1122 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1123
1124 2012-06-20 Chong Yidong <cyd@gnu.org>
1125
1126 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1127
1128 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1129
1130 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1131 (bug#11201).
1132
1133 2012-06-20 Chong Yidong <cyd@gnu.org>
1134
1135 * term.el (term-window-width): Handle the case of a missing right
1136 fringe (Bug#8837).
1137 (term-check-size): Use window-text-height (Bug#5445).
1138 (term-mode): Use define-derived-mode. Minor cleanups.
1139 Set font-lock-defaults (Bug#7692).
1140 (term-move-columns, term-insert-char, term-emulate-terminal)
1141 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1142
1143 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1144
1145 * net/ange-ftp.el (ange-ftp-get-passwd):
1146 Bind `enable-recursive-minibuffers'.
1147 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1148
1149 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1150
1151 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1152
1153 2012-06-19 Glenn Morris <rgm@gnu.org>
1154
1155 * progmodes/python.el (python-mode): Derive from prog-mode.
1156
1157 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1158
1159 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1160 (edt-user-menu-bar-update-buffers): New functions.
1161 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1162
1163 2012-06-19 Chong Yidong <cyd@gnu.org>
1164
1165 * subr.el (with-selected-window): Preserve the selected window's
1166 terminal's top-frame (Bug#4702).
1167
1168 * window.el (save-selected-window): Likewise.
1169
1170 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * progmodes/python.el (python-rx-constituents): Move backquote.
1173 (python-skeleton-define, python-define-auxiliary-skeleton):
1174 Use `declare'.
1175
1176 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1177
1178 * minibuffer.el (read-file-name-default): Revert the patch from
1179 2012-06-17.
1180
1181 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1184 (pcase--u1, pcase--q1): Don't use apply-partially.
1185
1186 2012-06-18 Glenn Morris <rgm@gnu.org>
1187
1188 * progmodes/python.el (python-proc, python-buffer)
1189 (python-send-receive, python-send-string): Fix obsolete versions.
1190
1191 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1192
1193 * window.el (special-display-p): Completely remove stringp
1194 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1195
1196 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1197
1198 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1199
1200 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1201
1202 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1203 * net/tramp-sh.el (tramp-maybe-open-connection):
1204 Throw if `non-essential' is non-nil.
1205
1206 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1207
1208 * window.el (special-display-p): Signal an error if BUFFER-NAME
1209 is not a string (Bug#11713).
1210
1211 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1212
1213 * progmodes/python.el (python-info-beginning-of-backslash):
1214 Rename from python-info-beginning-of-backlash, as a spelling fix.
1215
1216 2012-06-17 Chong Yidong <cyd@gnu.org>
1217
1218 * term.el (term-emulate-terminal): If term-check-size is called,
1219 move point to the process mark without resetting point (Bug#4635).
1220
1221 2012-06-17 Glenn Morris <rgm@gnu.org>
1222
1223 * international/mule-cmds.el (mule-menu-keymap)
1224 (set-language-environment, set-locale-environment): Doc tweaks.
1225
1226 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1227
1228 * cus-face.el (custom-face-attributes): Add wave-style underline
1229 attribute.
1230 * faces.el (set-face-attribute): Update docstring to describe
1231 wave-style underline attribute.
1232
1233 2012-06-16 Chong Yidong <cyd@gnu.org>
1234
1235 * term/xterm.el (terminal-init-xterm): Discard input before
1236 querying background mode (Bug#10959).
1237
1238 2012-06-16 Stefan Merten <smerten@oekonux.de>
1239
1240 * textmodes/rst.el: Added and corrected some comments.
1241 (rst-re-alist-def): Improve symbol syntax.
1242 (rst-mode-syntax-table): Correct syntax entries.
1243 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1244 (rst-official-version, rst-official-cvs-rev): Update version
1245 information.
1246
1247 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1248
1249 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1250 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1251
1252 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1253
1254 * progmodes/python.el: New python.el merge.
1255 (python-guess-indent): Obsolete var.
1256 (python-indent-guess-indent-offset): New defcustom.
1257 (python-indent): Obsolete var.
1258 (python-indent-offset): New defcustom.
1259 (python-python-command, python-jython-command): Delete var.
1260 (python-shell-interpreter): New defcustom.
1261 (python-pdbtrack-do-tracking-p): Delete var.
1262 (python-pdbtrack-activate): New defcustom.
1263 (python-use-skeletons): Obsolete var.
1264 (python-skeleton-autoinsert): New defcustom.
1265 (inferior-python-filter-regexp, python-continuation-offset)
1266 (python-honour-comment-indentation, python-indent-string-contents)
1267 (python-jython-packages, python-mode-hook)
1268 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1269 (python-shell-prompt-alist)
1270 (python-source-modes): Delete defcustoms.
1271 (python-check-buffer-name, python-eldoc-setup-code)
1272 (python-eldoc-string-code, python-ffap-setup-code)
1273 (python-ffap-string-code, python-fill-comment-function)
1274 (python-fill-decorator-function, python-fill-paren-function)
1275 (python-fill-string-function, python-imenu-include-defun-type)
1276 (python-imenu-make-tree, python-imenu-subtree-root-label)
1277 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1278 (python-shell-compilation-regexp-alist)
1279 (python-shell-completion-module-string-code)
1280 (python-shell-completion-pdb-string-code)
1281 (python-shell-completion-setup-code)
1282 (python-shell-completion-string-code)
1283 (python-shell-enable-font-lock, python-shell-exec-path)
1284 (python-shell-extra-pythonpaths)
1285 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1286 (python-shell-process-environment)
1287 (python-shell-prompt-block-regexp)
1288 (python-shell-prompt-output-regexp)
1289 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1290 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1291 (python-shell-virtualenv-path): New defcustoms.
1292 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1293 (inferior-python-mode-syntax-table, python--prompt-regexp)
1294 (python-buffer, python-command python-python-command)
1295 (python-default-template, python-imports, python-indent-index)
1296 (python-indent-list, python-indent-list-length)
1297 (python-mode-running, python-pdbtrack-is-tracking-p)
1298 (python-preoutput-continuation, python-preoutput-leftover)
1299 (python-preoutput-result, python-preoutput-skip-next-prompt)
1300 (python-prev-dir/file, python-recursing)
1301 (python-saved-check-command, python-version-checked)
1302 (python-which-func-length-limit)
1303 (view-return-to-alist): Delete vars.
1304 (python-check-custom-command, python-dotty-syntax-table)
1305 (python-imenu-index-alist, python-indent-current-level)
1306 (python-indent-dedenters, python-indent-levels)
1307 (python-nav-beginning-of-defun-regexp)
1308 (python-nav-list-defun-positions-cache)
1309 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1310 (python-shell-internal-buffer)
1311 (python-skeleton-available): New vars.
1312 (def-python-skeleton): Delete macro.
1313 (python-skeleton-define): New macro.
1314 (python-define-auxiliary-skeleton, python-rx): New macros.
1315 (python-insert-class): Delete command.
1316 (python-skeleton-class): New command.
1317 (python-insert-def): Delete command.
1318 (python-skeleton-def): New command.
1319 (python-insert-for): Delete command.
1320 (python-skeleton-for): New command.
1321 (python-insert-if): Delete command.
1322 (python-skeleton-if): New command.
1323 (python-insert-try/except, python-insert-try/finally): Delete commands.
1324 (python-skeleton-try): New command.
1325 (python-insert-while): Delete command.
1326 (python-skeleton-while): New command.
1327 (python-backspace): Delete command.
1328 (python-indent-dedent-line-backspace): New command.
1329 (python-electric-colon): Delete command.
1330 (python-indent-electric-colon): New command.
1331 (python-guess-indent): Delete command.
1332 (python-indent-guess-indent-offset): New command.
1333 (python-shift-left): Delete command.
1334 (python-indent-shift-left): New command.
1335 (python-shift-right): Delete command.
1336 (python-indent-shift-right): New command.
1337 (python-find-function): Delete command.
1338 (python-nav-jump-to-defun): New command.
1339 (python-next-statement): Delete command.
1340 (python-nav-forward-sentence): New command.
1341 (python-previous-statement): Delete command.
1342 (python-nav-backward-sentence): New command.
1343 (python-fill-paragraph): Delete command.
1344 (python-fill-paragraph-function): New command.
1345 (python-send-buffer): Delete command.
1346 (python-shell-send-buffer): New command.
1347 (python-send-defun): Delete command.
1348 (python-shell-send-defun): New command.
1349 (python-send-region, python-send-region-and-go): Delete commands.
1350 (python-shell-send-region)
1351 (python-shell-switch-to-shell): New commands.
1352 (python-send-string): Delete command.
1353 (python-shell-send-string): New command.
1354 (python-switch-to-python): Delete command.
1355 (python-shell-switch-to-shell): New command.
1356 (python-describe-symbol): Delete command.
1357 (python-eldoc-at-point): New command.
1358 (python--set-prompt-regexp, python-args-to-list)
1359 (python-after-info-look, python-check-version)
1360 (python-check-comint-prompt, python-find-imports)
1361 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1362 (python-unload-function, python-expand-template)
1363 (python-maybe-jython, python-preoutput-filter)
1364 (python-pdbtrack-get-source-buffer)
1365 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1366 (python-pdbtrack-toggle-stack-tracking)
1367 (python-pdbtrack-track-stack-file, python-initial-text)
1368 (python-first-word, python-comment-line-p, python-send-command)
1369 (python-setup-brm, python-sentinel, python-set-proc)
1370 (python-skip-out, python-input-filter, python-outdent-p)
1371 (python-outline-level, python-backslash-continuation-line-p)
1372 (python-end-of-block, python-end-of-statement, python-mark-block)
1373 (python-beginning-of-block, python-beginning-of-statement)
1374 (python-blank-line-p, python-beginning-of-string)
1375 (python-open-block-statement-p): Delete functions.
1376 (python-indent-line, python-indent-line-1): Delete functions.
1377 (python-indent-line): New function.
1378 (python-indentation-levels): Delete function.
1379 (python-indent-calculate-levels): New function.
1380 (python-proc): Delete function.
1381 (python-shell-get-process): New function.
1382 (python-send-receive): Delete function.
1383 (python-shell-send-string-no-output): New function.
1384 (python-module-path): Delete function.
1385 (python-ffap-module-path): New function.
1386 (python-completion-at-point)
1387 (python-symbol-completions): Delete functions.
1388 (python-completion-complete-at-point): New function.
1389 (python-load-file): Delete function.
1390 (python-shell-send-file): New function.
1391 (python-calculate-indentation): Delete function.
1392 (python-indent-calculate-indentation): New function.
1393 (python-skip-comments/blanks): Delete function.
1394 (python-util-forward-comment): New function.
1395 (python-continuation-line-p): Delete function.
1396 (python-info-continuation-line-p): New function.
1397 (python-which-func, python-current-defun): Delete function.
1398 (python-info-current-defun): New function.
1399 (python-beginning-of-defun): Delete function.
1400 (python-nav-beginning-of-defun): New function.
1401 (python-close-block-statement-p)
1402 (python-block-end-p): Delete function.
1403 (python-info-closing-block): New function.
1404 (python-comint-output-filter-function)
1405 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1406 (python-fill-comment, python-fill-decorator, python-fill-paren)
1407 (python-fill-string, python-imenu-make-element-tree)
1408 (python-imenu-make-tree, python-imenu-tree-assoc)
1409 (python-indent-context, python-indent-dedent-line)
1410 (python-indent-line-function)
1411 (python-indent-post-self-insert-function)
1412 (python-indent-toggle-levels)
1413 (python-info-assignment-continuation-line-p)
1414 (python-info-beginning-of-backlash)
1415 (python-info-block-continuation-line-p)
1416 (python-info-closing-block-message)
1417 (python-info-line-ends-backslash-p)
1418 (python-info-looking-at-beginning-of-defun)
1419 (python-info-ppss-context, python-info-ppss-context-type)
1420 (python-nav-list-defun-positions, python-nav-read-defun)
1421 (python-nav-sentence-end, python-nav-sentence-start)
1422 (python-pdbtrack-comint-output-filter-function)
1423 (python-pdbtrack-set-tracked-buffer)
1424 (python-shell-calculate-exec-path)
1425 (python-shell-calculate-process-environment)
1426 (python-shell-completion--do-completion-at-point)
1427 (python-shell-completion--get-completions)
1428 (python-shell-completion-complete-at-point)
1429 (python-shell-completion-complete-or-indent)
1430 (python-shell-get-or-create-process)
1431 (python-shell-get-process-name)
1432 (python-shell-internal-get-or-create-process)
1433 (python-shell-internal-get-process-name)
1434 (python-shell-internal-send-string, python-shell-make-comint)
1435 (python-shell-parse-command, python-shell-send-setup-code)
1436 (python-skeleton-add-menu-items)
1437 (python-util-clone-local-variables, python-util-position)
1438 (run-python-internal, python-indentation-levels)
1439 (python-nav-beginning-of-defun)
1440 (python-completion-complete-at-point): New functions.
1441 (run-python): Change arguments. New API requirements.
1442
1443 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1446 (bug#11649).
1447
1448 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1449 (macroexp--expand-all): Use it.
1450
1451 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1452 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1453 Use `cl-function' instead.
1454
1455 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1456
1457 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1458 Suggested by Stefan Monnier while discussing bug#11657.
1459
1460 2012-06-14 Sam Steingold <sds@gnu.org>
1461
1462 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1463
1464 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1465
1466 * play/doctor.el (doctor-doc): Remove parameter and use
1467 doctor-sent instead of sent.
1468 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1469
1470 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * files.el: Require cl-lib.
1473 (file-name-non-special): Replace case -> cl-case.
1474
1475 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1476
1477 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1478 mapping from #' to function*.
1479
1480 2012-06-13 Chong Yidong <cyd@gnu.org>
1481
1482 * mouse.el (mouse-drag-track): Do not set the mark if the user
1483 releases the mouse without selecting anything (Bug#11588).
1484
1485 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1488 as well (bug#11646).
1489
1490 * loadup.el: Count byte-code functions as well.
1491
1492 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1493 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1494
1495 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1496 (bug#11649). Add cl-defun and cl-defmacro.
1497
1498 2012-06-13 Drew Adams <drew.adams@oracle.com>
1499
1500 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1501 Fix last change.
1502
1503 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1504
1505 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1506 Otherwise, it blocks in batch mode.
1507
1508 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1509
1510 * help-mode.el (bookmark-make-record-default): Declare.
1511
1512 2012-06-13 Chong Yidong <cyd@gnu.org>
1513
1514 * emacs-lisp/package.el (list-packages): Compute a list of
1515 packages that are newly-available since the last list-packages
1516 invocation.
1517 (package-menu--new-package-list): New var.
1518 (package-menu--generate, package-menu--print-info)
1519 (package-menu--status-predicate, package-menu-mark-install):
1520 Handle new status label "new".
1521
1522 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1525 conversion to backquotes.
1526
1527 2012-06-12 Chong Yidong <cyd@gnu.org>
1528
1529 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1530 Rename from gud-inhibit-global-bindings.
1531
1532 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1533
1534 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1535 hook from nxml-glyph-set-hook.
1536
1537 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1538 declaration.
1539
1540 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1541
1542 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1543 Convert to defcustom.
1544
1545 2012-06-12 Drew Adams <drew.adams@oracle.com>
1546
1547 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1548 New functions.
1549 (help-mode): Use them.
1550
1551 2012-06-11 Glenn Morris <rgm@gnu.org>
1552
1553 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1554 Use preprocessor face for directives.
1555 (fortran-directive-re): Doc fix.
1556
1557 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1558
1559 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1560 conversion to backquotes (bug#11652).
1561
1562 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1563 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1564 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1565 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1566 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1567 (cl-ninth, cl-tenth): Mark them as inlinable.
1568 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1569 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1570 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1571 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1572 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1573 (cl-list*, cl-adjoin): Don't put an autoload manually.
1574 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1575 (cl--compiler-macro-list*): Add autoload cookie.
1576 (cl--compiler-macro-cXXr): New function.
1577
1578 * help-fns.el (help-fns--compiler-macro): New function extracted from
1579 describe-function-1; follow aliases and use `compiler-macro' property.
1580 (describe-function-1): Use it.
1581
1582 2012-06-11 Chong Yidong <cyd@gnu.org>
1583
1584 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1585 is uninstalled, if imagemagick is installed.
1586
1587 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1588
1589 * emacs-lisp/cl-lib.el: Use lexical-binding.
1590 (cl-map-extents, cl-maclisp-member): Remove.
1591 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1592 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1593 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1594 * emacs-lisp/cl-extra.el: Use lexical-binding.
1595 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1596 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1597 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1598 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1599 * emacs-lisp/cl-seq.el: Use lexical-binding.
1600 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1601 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1602 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1603 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1604 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1605 CL's internals.
1606
1607 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
1608
1609 Sync with Tramp 2.2.6-pre.
1610
1611 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1612 `print-length' and `print-level' to nil, in order to avoid
1613 truncation. Reported by Christopher Schmidt
1614 <christopher@ristopher.com>.
1615
1616 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1617
1618 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1619 New defmacro.
1620 (tramp-compat-copy-directory): Add optional argument
1621 COPY-CONTENTS. It is not handled yet.
1622
1623 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1624 (tramp-ftp-file-name-p): Simplify.
1625
1626 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1627 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1628 connection vector.
1629
1630 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1631 (tramp-methods): Do not use `tramp-password-end-of-line'.
1632 (tramp-completion-function-alist-putty): Handle UNIX case.
1633 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1634 (tramp-do-file-attributes-with-stat)
1635 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1636 gid as real numbers. They could run out of integer range on cygwin.
1637 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1638 (tramp-sh-handle-expand-file-name): Handle hops.
1639 (tramp-open-connection-setup-interactive-shell):
1640 Use `tramp-cleanup'. Move check for busyboxes ...
1641 (tramp-find-shell): ... here. Simplify implementation.
1642 Set "remote-shell" property also for alternative shells.
1643 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1644 If failing, a regular file would be written otherwise.
1645 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1646 (tramp-find-inline-encoding): Cache the coding commands in the
1647 process cache. Apply test command on the remote side, if defined.
1648 (tramp-find-inline-compress): Cache the compress commands in the
1649 process cache.
1650 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1651 when requested. Handle hops.
1652 (tramp-current-connection): New defvar.
1653 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1654 Throw `suppress', if there was a failed connection shortly before.
1655 Handle user interrupt. (Bug#10187)
1656 (tramp-get-inline-compress, tramp-get-inline-coding):
1657 Read connection properties from the process cache.
1658
1659 * net/tramp-smb.el (tramp-smb-server-version)
1660 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1661 New defconsts.
1662 (tramp-smb-prompt): Extend for powershell prompt.
1663 (tramp-smb-file-name-handler-alist): Add handlers for
1664 `process-file', `shell-command' and `start-file-process'.
1665 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1666 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1667 (tramp-smb-file-name-p): Simplify.
1668 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1669 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1670 (tramp-smb-shell-quote-argument): New defuns.
1671 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1672 Implement using "tar". By this, time-stamps are preserved.
1673 (tramp-smb-handle-copy-file): Handle also the case of directories.
1674 (tramp-smb-do-file-attributes-with-stat)
1675 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1676 Use `tramp-get-connection-buffer').
1677 (tramp-smb-handle-rename-file): Use "rename", when source and
1678 target are on the same share.
1679 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1680 Use `tramp-smb-server-version'.
1681 (tramp-smb-wait-for-output): Remove prompt.
1682
1683 * net/tramp.el (top): Require 'cl.
1684 (tramp-methods, tramp-rsh-end-of-line):
1685 Remove `tramp-password-end-of-line' from docstring.
1686 (tramp-save-ad-hoc-proxies): New defcustom.
1687 (tramp-completion-function-alist): Adapt docstring.
1688 (tramp-default-password-end-of-line): Remove defcustom.
1689 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1690 (tramp-user-regexp, tramp-file-name-regexp-unified)
1691 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1692 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1693 (tramp-remote-file-name-spec-regexp): New defconst.
1694 (tramp-file-name-structure): Extend structure for hops.
1695 (tramp-get-method-parameter): Move up.
1696 (tramp-file-name-p, tramp-dissect-file-name)
1697 (with-parsed-tramp-file-name): Handle hops.
1698 (tramp-file-name-hop): New defun.
1699 (tramp-make-tramp-file-name): New optional arg HOP.
1700 (tramp-message-show-progress-reporter-message): New defvar.
1701 (tramp-with-progress-reporter): Use it. We cannot use
1702 `tramp-message-show-message' here, because this suppresses also
1703 error buffers.
1704 (tramp-error-with-buffer): Suppress buffer view, if
1705 `tramp-message-show-message' is nil.
1706 Use `tramp-get-connection-buffer'.
1707 (tramp-cleanup): New defun.
1708 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1709 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1710 an error unchanged.
1711 (tramp-completion-handle-file-name-all-completions): Handle hops.
1712 Fix an error when called from ido.
1713 (tramp-completion-dissect-file-name): Use better local variable
1714 name. Add hop to the vector.
1715 (tramp-handle-insert-file-contents): Use progress-reporter for the
1716 whole scenario.
1717 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1718 to `t'.
1719 (tramp-check-for-regexp): Simplify search.
1720 (tramp-enter-password): Remove it. Move implementation ...
1721 (tramp-action-password): ... here.
1722 (tramp-mode-string-to-int, tramp-local-host-p)
1723 (tramp-make-tramp-temp-file, tramp-read-passwd)
1724 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1725 Set tramp-autoload cookie.
1726
1727 * net/trampver.el: Update release number.
1728
1729 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1730 Michael Albinus <michael.albinus@gmx.de>
1731
1732 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1733 (tramp-parse-group, tramp-parse-file)
1734 (tramp-parse-shostkeys-sknownhosts): New defuns.
1735 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1736 (tramp-parse-shosts-group, tramp-parse-sconfig)
1737 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1738 (tramp-parse-sknownhosts, tramp-parse-hosts)
1739 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1740 Use them.
1741 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1742 (tramp-parse-putty-group): Don't narrow.
1743 (tramp-parse-putty): Make a loop.
1744 (tramp-file-name-handler): Catch the `suppress' signal.
1745
1746 2012-06-11 Chong Yidong <cyd@gnu.org>
1747
1748 * image.el (imagemagick-register-types): Put the ImageMagick entry
1749 at the end of image-type-file-name-regexps.
1750
1751 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1752
1753 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1754 (pcase, pcase-let*, pcase-dolist): Use them.
1755
1756 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 * emacs-lisp/pcase.el (pcase--let*): New function.
1759 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1760 (pcase--expand): Use macroexp-let².
1761
1762 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1765 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1766 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1767 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1768 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1769 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1770
1771 2012-06-10 Glenn Morris <rgm@gnu.org>
1772
1773 * mail/rmail.el (rmail-yank-current-message): Leave point at
1774 correct position. (Bug#11660)
1775
1776 2012-06-10 Chong Yidong <cyd@gnu.org>
1777
1778 * allout-widgets.el: Fix code header.
1779
1780 2012-06-10 Chong Yidong <cyd@gnu.org>
1781
1782 * cus-edit.el (customize-changed-options-previous-release):
1783 Bump to 24.1.
1784
1785 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1786
1787 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1788
1789 2012-06-09 Chong Yidong <cyd@gnu.org>
1790
1791 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1792
1793 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1794
1795 * window.el (special-display-popup-frame): Don't use
1796 window--display-buffer (Bug#11651).
1797
1798 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1799
1800 Fix parallel builds: make sure loaddefs.el is not being written
1801 while Lisp files are compiled.
1802 (compile): Don't depend on 'mh-autoloads'.
1803 (compile-CMD, compile-SH): Depend on 'autoloads'.
1804 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1805
1806 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1807
1808 2012-06-09 Chong Yidong <cyd@gnu.org>
1809
1810 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1811 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1812 Doc fixes (Bug#11225).
1813
1814 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1815
1816 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1817 a function if there's a clear indication that it has a compiler-macro.
1818 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1819 (macro-declarations-alist): Add arglist to declaration functions.
1820 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1821 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1822 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1823 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1824 Also add autoload to find the compiler macro.
1825 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1826 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1827 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1828 (cl--compiler-macro-get): New functions, replacing calls to
1829 cl-define-compiler-macro.
1830 (cl-typep) [compiler-macro]: Use macroexp-let².
1831
1832 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
1833
1834 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1835 string properly, fixes Bug#11473.
1836
1837 2012-06-08 Chong Yidong <cyd@gnu.org>
1838
1839 * faces.el (set-face-attribute): Doc fix.
1840 (modify-face): Don't use :bold and :italic.
1841 (error, warning, success): Tweak definitions.
1842
1843 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1844 (custom-modified, custom-set, custom-changed, custom-themed)
1845 (custom-saved, custom-button, custom-button-mouse)
1846 (custom-button-pressed, custom-state, custom-comment-tag)
1847 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1848 (custom-group-subtitle): Use new-style face specs.
1849 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1850 (custom-set-face, custom-changed-face, custom-saved-face)
1851 (custom-button-face, custom-button-pressed-face)
1852 (custom-documentation-face, custom-state-face)
1853 (custom-comment-face, custom-comment-tag-face)
1854 (custom-variable-tag-face, custom-variable-button-face)
1855 (custom-face-tag-face, custom-group-tag-face-1)
1856 (custom-group-tag-face): Remove obsolete face alias.
1857
1858 * epa.el (epa-validity-high, epa-validity-medium)
1859 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1860 (epa-field-name, epa-field-body):
1861 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1862 (font-lock-keyword-face, font-lock-builtin-face)
1863 (font-lock-function-name-face, font-lock-variable-name-face)
1864 (font-lock-type-face, font-lock-constant-face):
1865 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1866 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1867 * speedbar.el (speedbar-button-face, speedbar-file-face)
1868 (speedbar-directory-face, speedbar-tag-face)
1869 (speedbar-selected-face, speedbar-highlight-face)
1870 (speedbar-separator-face):
1871 * whitespace.el (whitespace-newline, whitespace-space)
1872 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1873 (whitespace-line, whitespace-space-before-tab)
1874 (whitespace-space-after-tab, whitespace-indentation)
1875 (whitespace-empty):
1876 * emulation/cua-base.el (cua-global-mark):
1877 * eshell/em-prompt.el (eshell-prompt):
1878 * net/newst-plainview.el (newsticker-new-item-face)
1879 (newsticker-old-item-face, newsticker-immortal-item-face)
1880 (newsticker-obsolete-item-face, newsticker-date-face)
1881 (newsticker-statistics-face, newsticker-default-face):
1882 * net/newst-reader.el (newsticker-feed-face)
1883 (newsticker-extra-face, newsticker-enclosure-face):
1884 * net/newst-treeview.el (newsticker-treeview-face)
1885 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1886 (newsticker-treeview-immortal-face)
1887 (newsticker-treeview-obsolete-face)
1888 (newsticker-treeview-selection-face):
1889 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1890 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1891 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1892 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1893 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1894 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1895 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1896 (mpuz-text):
1897 * progmodes/vera-mode.el (vera-font-lock-number)
1898 (vera-font-lock-function, vera-font-lock-interface):
1899 * textmodes/table.el (table-cell): Use new-style face specs, and
1900 don't use the old :bold and :italic attributes.
1901
1902 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1903 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1904 (ebrowse-member-class, ebrowse-progress): Likewise.
1905 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1906 (ebrowse-file-name-face, ebrowse-default-face)
1907 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1908 (ebrowse-progress-face): Remove obsolete faces.
1909
1910 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1911 Inherit from error and warning faces respectively.
1912
1913 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1914 Likewise.
1915 (flyspell-incorrect-face, flyspell-duplicate-face):
1916 Remove obsolete aliases.
1917
1918 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1919
1920 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1921 Avoid infloop.
1922
1923 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * startup.el (argv, argi): Make lexically scoped.
1926 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1927 * emacs-lisp/cl-macs.el: Use lexical-binding.
1928 Rename cl-bind-* to cl--bind-*.
1929 * files.el: Don't require `cl' since it doesn't use it.
1930 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1931
1932 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
1933
1934 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1935 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1936 instead of calling external sort utility.
1937 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1938
1939 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1940
1941 * descr-text.el (describe-char): Mention how to insert the
1942 character, if the current input method doesn't support it.
1943 See the discussion in this thread for the details:
1944 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1945
1946 2012-06-08 Sam Steingold <sds@gnu.org>
1947
1948 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1949 XF86Back to previous-buffer.
1950 (minibuffer-local-map): Bind them to next-history-element and
1951 previous-history-element respectively.
1952 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1953 help-go-back respectively.
1954 * info.el (Info-mode-map): Bind them to Info-history-forward and
1955 Info-history-back respectively.
1956 These are the keys next to Up on the ThinkPad keyboard.
1957
1958 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1961 * emacs-lisp/cl-macs.el: Provide itself.
1962 (cl--labels-convert-cache): New var.
1963 (cl--labels-convert): New function.
1964 (cl-flet, cl-labels): New implementation with new semantics, relying on
1965 lexical-binding.
1966 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1967 (cl-closure-vars, cl--function-convert-cache)
1968 (cl--function-convert): Move from cl-macs.el.
1969 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1970 rename by removing the "cl-" prefix.
1971 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1972
1973 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1976 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1977 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1978 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1979 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1980 (cl-hash-table-count): Add old compatibility aliases.
1981
1982 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1983 Use macroexpand-all-environment instead.
1984 (cl--old-macroexpand): New var.
1985 (cl--sm-macroexpand): New function.
1986 (cl-symbol-macrolet): Use it during macro expansion.
1987 (cl--function-convert-cache): New var.
1988 (cl--function-convert): New function, extracted from
1989 cl-macroexpand-all.
1990 (cl-lexical-let): Use it.
1991
1992 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1993 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1994 (cl-member): Remove old alias.
1995
1996 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1997 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1998 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1999 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2000 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2001 (cl-macroexpand-cmacs): Remove var.
2002 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2003 Use macroexpand-all instead.
2004
2005 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2008 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2009 (macroexp-copyable-p): New functions and macros.
2010 * emacs-lisp/edebug.el (edebug-unwrap):
2011 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2012 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2013 (pcase--let*): Remove.
2014 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2015 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2016 macroexp-const-p instead.
2017 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2018
2019 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2020 instead of "cl-" for internal definitions. Use macroexp-const-p.
2021 (cl-old-bc-file-form): Remove var.
2022 (cl-const-exprs-p): Remove fun.
2023 (cl-labels, cl-macrolet): Use backquote.
2024 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2025 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2026 (cl-define-setf-expander): Rename from cl-define-setf-method.
2027 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2028
2029 * international/mule-cmds.el: Don't require CL.
2030 (view-hello-file): Don't use `letf'.
2031
2032 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * tmm.el (tmm-prompt): Use string-prefix-p.
2035 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2036 (tmm-add-prompt): Use minibuffer-completion-help.
2037 (tmm-delete-map): Remove.
2038
2039 * subr.el (kbd): Make it its own function.
2040
2041 2012-06-07 Stefan Merten <smerten@oekonux.de>
2042
2043 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2044 Silence compiler warnings. Fix versions.
2045 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2046 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2047 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2048 (rst-package-emacs-version-alist): Correct Emacs version to
2049 represent major merge with upstream.
2050 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2051
2052 2012-06-06 Glenn Morris <rgm@gnu.org>
2053
2054 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2055 Only print environment variables if set.
2056
2057 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2060 (macroexp--cons): Rename from maybe-cons.
2061 (macroexp--accumulate): Rename from macroexp-accumulate.
2062 (macroexp--all-forms): Rename from macroexpand-all-forms.
2063 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2064 (macroexp--expand-all): Rename from macroexpand-all-1.
2065
2066 2012-06-06 Sam Steingold <sds@gnu.org>
2067
2068 * calendar/calendar.el (calendar-in-read-only-buffer):
2069 Call `special-mode' to enable the standard read-only keybindings.
2070
2071 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2074 with "loading" messages (bug#11635).
2075
2076 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2077
2078 * files.el (enable-remote-dir-locals): New option.
2079 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2080
2081 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2082 Ensure, that the temp directory is local.
2083
2084 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2085 `temporary-file-directory'.
2086
2087 * progmodes/python.el (python-send-region): Ensure, that the
2088 temporary file is created also in the remote case.
2089
2090 2012-06-06 Glenn Morris <rgm@gnu.org>
2091
2092 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2093 (vc-rcs-update-changelog): Use it.
2094
2095 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2096
2097 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2098 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2099 (vc-sccs-diff): Replace use of the external vcdiff script.
2100
2101 2012-06-05 Glenn Morris <rgm@gnu.org>
2102
2103 * ledit.el: Move to obsolete/.
2104
2105 2012-06-05 Sam Steingold <sds@gnu.org>
2106
2107 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2108 patch (Bug#11140).
2109
2110 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * emacs-lisp/cust-print.el: Move to obsolete.
2113
2114 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2115 compiler-macro expansion.
2116
2117 Add native compiler-macro support.
2118 * emacs-lisp/macroexp.el (macroexpand-all-1):
2119 Support compiler-macros directly. Properly follow aliases and apply
2120 the compiler macros more thoroughly.
2121 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2122 macroexpand now properly follows aliases.
2123 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2124 (cl-compiler-macroexpand): Use new prop.
2125 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2126
2127 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2128
2129 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2130
2131 * window.el (get-lru-window, get-mru-window, get-largest-window):
2132 New argument NOT-SELECTED to avoid picking the selected window.
2133 (window--display-buffer-1, window--display-buffer-2): Replace by
2134 new function window--display-buffer
2135 (display-buffer-same-window, display-buffer-reuse-window)
2136 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2137 Use window--display-buffer.
2138 (display-buffer-use-some-window): Remove temporary dedication
2139 hack by calling get-lru-window and get-largest-window with
2140 NOT-SELECTED argument non-nil. Call window--display-buffer.
2141
2142 2012-06-05 Glenn Morris <rgm@gnu.org>
2143
2144 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2145 Replace external vcdiff script.
2146
2147 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2150
2151 2012-06-04 Chong Yidong <cyd@gnu.org>
2152
2153 * image.el (imagemagick-types-inhibit): Revert last change.
2154 Add INFO and M.
2155 (imagemagick-enabled-types): Remove CIN and EPS*.
2156
2157 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * emacs-lisp/cl-lib.el: Rename from cl.el.
2160 * emacs-lisp/cl.el: New compatibility file.
2161 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2162 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2163 to obey the "cl-" prefix.
2164 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2165
2166 2012-06-03 Glenn Morris <rgm@gnu.org>
2167
2168 * emacs-lisp/authors.el (authors-aliases): Addition.
2169
2170 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2171 Fix :version.
2172
2173 2012-06-03 Stefan Merten <smerten@oekonux.de>
2174
2175 * textmodes/rst.el: Add comments.
2176 (rst-transition, rst-adornment): New faces.
2177 (rst-adornment-faces-alist): Make default safe to reevaluate.
2178 Fixes
2179 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2180 Improve customization tags.
2181 (rst-define-level-faces): Clarify meaning.
2182
2183 2012-06-03 Chong Yidong <cyd@gnu.org>
2184
2185 * progmodes/compile.el (compilation-mode-line-fail)
2186 (compilation-mode-line-run, compilation-mode-line-exit):
2187 New faces.
2188 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2189
2190 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2191
2192 * progmodes/which-func.el (which-func-update-ediff-windows):
2193 New function. Use it in ediff-select-hook (Bug#11478).
2194
2195 2012-06-03 Chong Yidong <cyd@gnu.org>
2196
2197 * bindings.el: Remove explicit help text from format-mode-line.
2198 It is now supplied by mode-line-default-help-echo.
2199 (mode-line-front-space, mode-line-end-spaces)
2200 (mode-line-misc-info): New variables.
2201 (mode-line-modes, mode-line-position): Move the default value to
2202 the variable definition.
2203 (mode-line-default-help-echo): New defcustom.
2204 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2205 (mode-line-modified-help-echo): New functions.
2206 (mode-line-mule-info, mode-line-modified): Use them.
2207 (mode-line-eol-desc, propertized-buffer-identification):
2208 Consistency fixes for help text.
2209 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2210 set-buffer-file-coding-system (Bug#289).
2211 (mode-line-mule-info-help-echo): Update help text.
2212
2213 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * simple.el (execute-extended-command): Set real-this-command
2216 (bug#11506).
2217
2218 2012-06-02 Chong Yidong <cyd@gnu.org>
2219
2220 Remove incorrect uses of "modeline" in comments, docstrings, and
2221 function/variable names (Bug#10329).
2222
2223 * cus-edit.el (mode-line):
2224 * dframe.el (dframe-mouse-hscroll):
2225 * emacs-lisp/re-builder.el:
2226 * emacs-lisp/easy-mmode.el (define-minor-mode):
2227 * frame.el (set-frame-name):
2228 * help.el (lookup-minor-mode-from-indicator):
2229 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2230 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2231 (c-toggle-hungry-state):
2232 * progmodes/antlr-mode.el (antlr-language-alist):
2233 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2234 * progmodes/vhdl-mode.el (vhdl-mode):
2235 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2236 * term/ns-win.el (ns-face-at-pos):
2237 * term/sup-mouse.el (sup-mouse-report):
2238 * textmodes/flyspell.el (flyspell-mode-line-string):
2239 * textmodes/ispell.el (ispell-highlight-face):
2240 * textmodes/reftex-global.el:
2241 * vc/vc-arch.el (vc-arch-mode-line-string):
2242 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2243 * vc/vc-git.el (vc-git-mode-line-string):
2244 * vc/vc-hooks.el (vc-display-status)
2245 (vc-default-mode-line-string):
2246 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2247
2248 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2249
2250 * dired.el (dired-sort-set-mode-line): Rename from
2251 dired-sort-set-modeline. All callers changed.
2252
2253 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2254 eshell-status-in-modeline.
2255
2256 * foldout.el (foldout-mode-line-string): Rename from
2257 foldout-modeline-string. All callers changed.
2258 (foldout-update-mode-line): Rename from foldout-update-modeline.
2259
2260 * subr.el (redraw-modeline): Make into obsolete alias.
2261
2262 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2263 timeclock-modeline-display. Make old name an alias.
2264 (timeclock-update-mode-line): Likewise. All callers changed.
2265 (timeclock-mode-line-display): No need to check before using
2266 add-hook.
2267 (timeclock-relative, timeclock-day-over-hook)
2268 (timeclock-use-elapsed, timeclock-mode-string)
2269 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2270
2271 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2272 crisp-mode-modeline-string.
2273
2274 * play/solitaire.el (solitaire-build-mode-line): Rename from
2275 solitaire-build-modeline. All callers changed.
2276
2277 * play/zone.el (zone-hiding-mode-line): Rename from
2278 zone-hiding-modeline. All callers changed.
2279 (zone): Remove unusued `modeline-hidden-level' property.
2280
2281 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2282 xscheme-modeline-initialize. All callers changed.
2283
2284 * strokes.el (strokes-lighter): Rename from
2285 strokes-modeline-string.
2286
2287 * textmodes/sgml-mode.el (html-face-tag-alist)
2288 (html-tag-face-alist): Use mode-line face instead of obsolete
2289 alias modeline.
2290
2291 2012-06-02 Stefan Merten <smerten@oekonux.de>
2292
2293 * textmodes/rst.el: Always require `cl'.
2294 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2295
2296 2012-06-02 Chong Yidong <cyd@gnu.org>
2297
2298 * image.el (imagemagick-enabled-types): Rename from
2299 imagemagick-types-enable. Add many more types.
2300 (imagemagick-types-inhibit): Change default to nil.
2301 (imagemagick-filter-types): Caller changed.
2302
2303 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * emacs-lisp/cl-macs.el: Use backquotes.
2306 (cl-transform-function-property): Use eval-and-compile rather than
2307 abusing `require'.
2308 (defstruct): Use declare-function instead of with-no-warnings.
2309
2310 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2311 (byte-compile-output-docform): Re-add the print-circle bindings.
2312 (byte-compile-fix-header): Use #$ just because it's shorter.
2313 (byte-compile-output-file-form): Remove defun/defmacro.
2314
2315 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2316
2317 * simple.el (choose-completion): Remove now obsolete binding for
2318 owindow.
2319
2320 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2321
2322 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2323 in order to avoid "Stack overflow in regexp matcher".
2324
2325 2012-05-31 Glenn Morris <rgm@gnu.org>
2326
2327 * image.el: For clarity, call imagemagick-register-types at
2328 top-level, rather than relying on a custom :initialize.
2329 (imagemagick-types-enable): New option. (Bug#11557)
2330 (imagemagick-filter-types): New function. (Bug#7406)
2331 (imagemagick-register-types): Use imagemagick-filter-types.
2332 If disabling support, remove elements altogether rather
2333 than using an impossible regexp.
2334 (imagemagick-types-inhibit): Give it the default init function.
2335
2336 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2337
2338 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2339 Handle arbitrary file name lengths (Bug#11585).
2340
2341 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2342
2343 * desktop.el (desktop-read): Clear previous and next buffers for
2344 all windows and bury *Messages* buffer (bug#11556).
2345
2346 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2347
2348 Add `declare' for `defun'. Align `defmacro's with it.
2349 * emacs-lisp/easy-mmode.el (define-minor-mode)
2350 (define-globalized-minor-mode): Don't autoload the var definitions.
2351 * emacs-lisp/byte-run.el: Use lexical-binding.
2352 (defun-declarations-alist, macro-declarations-alist): New vars.
2353 (defmacro, defun): Use them.
2354 (make-obsolete, define-obsolete-function-alias)
2355 (make-obsolete-variable, define-obsolete-variable-alias):
2356 Use `declare'.
2357 (macro-declaration-function): Mark obsolete.
2358 * emacs-lisp/autoload.el: Use lexical-binding.
2359 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2360
2361 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2362
2363 * textmodes/ispell.el (ispell-with-no-warnings):
2364 Define as a macro.
2365 (ispell-kill-ispell, ispell-change-dictionary):
2366 Use `called-interactively-p' for Emacs instead of obsolete
2367 `interactive-p'.
2368
2369 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2372 (macro-declaration-function): Move var from C code.
2373 (macro-declaration-function): Define function with defalias.
2374 * emacs-lisp/macroexp.el (macroexpand-all-1):
2375 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2376 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2377 defun/defmacro any more.
2378 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2379 Provide fallback for unknown arglist.
2380 (byte-compile-arglist-warn): Change calling convention.
2381 (byte-compile-output-file-form): Move print-vars binding.
2382 (byte-compile-output-docform): Simplify accordingly.
2383 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2384 (byte-compile-defmacro-declaration): Remove.
2385 (byte-compile-file-form-defmumble): Generalize to defalias.
2386 (byte-compile-output-as-comment): Return byte-positions.
2387 Simplify callers accordingly.
2388 (byte-compile-lambda): Use `assert'.
2389 (byte-compile-defun, byte-compile-defmacro): Remove.
2390 (byte-compile-file-form-defalias):
2391 Use byte-compile-file-form-defmumble.
2392 (byte-compile-defalias-warn): Remove.
2393
2394 2012-05-29 Stefan Merten <smerten@oekonux.de>
2395
2396 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2397 possible. Fix authors. Improve comments. Improve loading of `cl'.
2398
2399 (rst-mode-abbrev-table): Merge definition.
2400 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2401 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2402
2403 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2404
2405 * calendar/icalendar.el
2406 (icalendar-export-region): Export UID properly.
2407
2408 2012-05-29 Leo Liu <sdl.web@gmail.com>
2409 * calendar/icalendar.el (icalendar-import-format):
2410 Add `icalendar-import-format-uid' (Bug#11525).
2411 (icalendar-import-format-uid): New.
2412 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2413 Export UID.
2414
2415 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2418 different alternative patterns.
2419 (pcase-codegen): Be more careful to preserve identity.
2420 (pcase--u1): Don't forget to mark vars as used.
2421
2422 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2423 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2424 (byte-compile-from-buffer): ...rather than here.
2425
2426 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2427 functions from byte-compile-function-environment.
2428
2429 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2430
2431 * window.el (window-deletable-p): Avoid deleting the root window
2432 of a frame with an active minibuffer.
2433
2434 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2435
2436 * simple.el (choose-completion): Use quit-window (Bug#11567).
2437
2438 2012-05-29 Chong Yidong <cyd@gnu.org>
2439
2440 * whitespace.el (whitespace-cleanup): Fix usage of
2441 whitespace-empty-at-bob-regexp (Bug#11492).
2442
2443 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2444
2445 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2446 revert (Bug#11488).
2447
2448 2012-05-29 Juri Linkov <juri@jurta.org>
2449
2450 * isearch.el (isearch-mode-map): Bind `M-s _' to
2451 `isearch-toggle-symbol'. Bind `M-s c' to
2452 `isearch-toggle-case-fold'.
2453 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2454 (isearch-forward): Add `M-s _' to the docstring.
2455 (isearch-forward-symbol, isearch-toggle-case-fold)
2456 (isearch-symbol-regexp): New functions. (Bug#11381)
2457
2458 2012-05-29 Juri Linkov <juri@jurta.org>
2459
2460 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2461 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2462 a function, call it to get the regexp.
2463 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2464 property `isearch-message-prefix' instead of the string "word ".
2465 (isearch-search-fun-default): For the case of `isearch-word',
2466 return a lambda that calls re-search-forward/re-search-backward
2467 with a regexp returned by `word-search-regexp' or by the function
2468 in `isearch-word'.
2469
2470 2012-05-29 Juri Linkov <juri@jurta.org>
2471
2472 * isearch.el (isearch-search-fun-default): New function.
2473 (isearch-search-fun): Move default part to the new function
2474 `isearch-search-fun-default'.
2475 (isearch-search-fun-function): Set the default value to
2476 `isearch-search-fun-default'. (Bug#11381)
2477
2478 * comint.el (comint-history-isearch-end):
2479 Use `isearch-search-fun-default'.
2480 (comint-history-isearch-search): Use `isearch-search-fun-default'
2481 and remove spacial case for `isearch-word'.
2482 (comint-history-isearch-wrap): Remove spacial case for
2483 `isearch-word'.
2484
2485 * hexl.el (hexl-isearch-search-function):
2486 Use `isearch-search-fun-default'.
2487
2488 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2489 Use `word-search-regexp' for `isearch-word'.
2490
2491 * misearch.el (multi-isearch-search-fun):
2492 Use `isearch-search-fun-default'.
2493
2494 * simple.el (minibuffer-history-isearch-search):
2495 Use `isearch-search-fun-default' and remove spacial case for
2496 `isearch-word'.
2497 (minibuffer-history-isearch-wrap): Remove spacial case for
2498 `isearch-word'.
2499
2500 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2501 Remove spacial case for `isearch-word'.
2502 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2503
2504 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2505
2506 Decrease XEmacs incompatibilities.
2507 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2508 Use `string-match'.
2509 (flyspell-delete-region-overlays): Use alternative definition for
2510 XEmacs.
2511 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2512 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2513 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2514 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2515 `define-obsolete-face-alias' under XEmacs, but old method.
2516
2517 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2518 `with-no-warnings' definition or Emacs alias.
2519 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2520 (ispell-word): Do not use `region-p' if XEmacs.
2521
2522 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2523
2524 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2525 Check for `ispell-dictionary-base-alist' instead of full
2526 `ispell-dictionary-alist'.
2527 (ispell-init-process): Show spellchecker when starting new Ispell
2528 process.
2529
2530 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2533 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2534
2535 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2536
2537 * version.el (motif-version-string, gtk-version-string)
2538 (ns-version-string): Declare.
2539
2540 2012-05-27 Juri Linkov <juri@jurta.org>
2541
2542 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2543 after the `eval-defun-1' specialcaseing
2544 like in `edebug-eval-defun' (bug#10181).
2545
2546 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2547 like in `eval-defun-1'.
2548
2549 2012-05-27 Eli Zaretskii <eliz@gnu.org>
2550
2551 * mail/sendmail.el (mail-yank-region):
2552 Recognize rmail-yank-current-message in addition to insert-buffer.
2553 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2554 a *mail* buffer created through rmail-start-mail with sendmail as
2555 mail-user-agent.
2556
2557 2012-05-27 Chong Yidong <cyd@gnu.org>
2558
2559 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2560 Default to 256 (Bug#11267).
2561
2562 * help.el (describe-mode): Doc fix.
2563
2564 2012-05-26 Glenn Morris <rgm@gnu.org>
2565
2566 * w32-fns.el (w32-init-info): Remove.
2567 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2568
2569 * info.el (info-initialize): For self-contained NS builds, put the
2570 included info/ directory at the front. (Bug#2791)
2571
2572 * paths.el (Info-default-directory-list): Make it a defcustom,
2573 mainly so that we can use custom-initialize-delay.
2574
2575 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * subr.el (buffer-has-markers-at): Mark obsolete.
2578
2579 * subr.el (lambda): Use declare.
2580
2581 * emacs-lisp/lisp-mode.el (lambda):
2582 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2583
2584 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2585
2586 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2587
2588 2012-05-26 Glenn Morris <rgm@gnu.org>
2589
2590 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2591
2592 2012-05-25 Glenn Morris <rgm@gnu.org>
2593
2594 * paths.el: Remove no-byte-compile.
2595 * loadup.el: No need to load paths.el uncompiled.
2596
2597 * image.el (imagemagick-types-inhibit): Doc fix.
2598
2599 * version.el: Remove no-byte-compile and associated formatting.
2600 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2601 is ancient code from when there was an "inc-vers.el".
2602
2603 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2604
2605 * progmodes/gdb-mi.el: Minor style changes.
2606 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2607 Turn into minor modes.
2608 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2609 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2610 (gdb-shell): Remove unneeded let-binding.
2611 (gdb-get-many-fields): Eliminate O(n²) behavior.
2612
2613 2012-05-25 Eli Zaretskii <eliz@gnu.org>
2614
2615 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2616 platforms that don't link in fontset.c.
2617
2618 2012-05-25 Juri Linkov <juri@jurta.org>
2619
2620 Use the same diff color scheme as in modern VCSes (bug#10181).
2621
2622 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2623 to avoid confusion with `diff-added' that now uses green colors.
2624 (diff-removed): Use shades of red.
2625 (diff-added): Use shades of green.
2626 (diff-changed): Leave just the yellow color.
2627 (diff-use-changed-face): New variable.
2628 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2629 how to highlight context diff changes.
2630 (diff-refine-change): Use shades of yellow.
2631 (diff-refine-removed): New face that uses shades of red.
2632 (diff-refine-added): New face that uses shades of green.
2633 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2634 `diff-refine-removed' in the call to `smerge-refine-subst'
2635 depending on the value of `diff-use-changed-face'.
2636
2637 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2638 (smerge-other): Use shades of green.
2639 (smerge-base): Use shades of yellow.
2640 (smerge-refined-change): Empty face.
2641 (smerge-refined-removed): New face that uses shades of red.
2642 (smerge-refined-added): New face that uses shades of green.
2643 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2644 args `props-r' and `props-a', and use them. Doc fix.
2645 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2646 on its value use different faces `smerge-refined-change',
2647 `smerge-refined-removed', `smerge-refined-added' in the call to
2648 `smerge-refine-subst'.
2649
2650 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2651 Add face condition `min-colors 88' with shades of red.
2652 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2653 `min-colors 88' with shades of green.
2654 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2655 `min-colors 88' with shades of yellow.
2656
2657 2012-05-24 Glenn Morris <rgm@gnu.org>
2658
2659 * paths.el (prune-directory-list, remote-shell-program): Move to...
2660 * files.el (prune-directory-list, remote-shell-program): ...here.
2661 For the latter, delay initialization, prefer ssh, just search PATH.
2662
2663 * paths.el (term-file-prefix): Move to faces.el (the only user).
2664 * faces.el (term-file-prefix): Move here, make it a defcustom.
2665
2666 * paths.el (news-directory, news-path, news-inews-program):
2667 Move to gnus/nnspool.el.
2668
2669 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2670
2671 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2672 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2673 Make the latter a defcustom, with a delayed initialization.
2674
2675 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2676 These were deleted from Gnus itself late 2010.
2677
2678 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2679
2680 * progmodes/which-func.el (which-func-ff-hook):
2681 Check against user-error, not error.
2682
2683 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2684 cl-specs.el, which no longer exists.
2685
2686 2012-05-22 Glenn Morris <rgm@gnu.org>
2687
2688 * info.el (info-emacs-bug): New command.
2689 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2690 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2691
2692 2012-05-21 Glenn Morris <rgm@gnu.org>
2693
2694 * makefile.w32-in (update-subdirs-SH):
2695 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2696
2697 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2698
2699 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2700
2701 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2702 Simplify Maven regexp, and make sure the file can't start with a space
2703 (bug#11517).
2704
2705 2012-05-21 Glenn Morris <rgm@gnu.org>
2706
2707 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2708 Scrap superfluous subshells.
2709
2710 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2712 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2713 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2714
2715 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2716
2717 * calc/calc.el (calc-ensure-consistent-units): New variable.
2718
2719 * calc/calc-units.el (math-consistent-units-p)
2720 (math-check-unit-consistency): New functions.
2721 (calc-quick-units, calc-convert-units):
2722 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2723 is non-nil.
2724 (calc-extract-units): Fix typo.
2725
2726 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2728 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2729
2730 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2731 (flyspell-default-deplacement-commands): Don't spell check after
2732 repeated window/frame switches (e.g. triggered by mouse-movement).
2733 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2734 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2735 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2736 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2737 Remove unused vars.
2738 (flyspell-get-casechars, flyspell-get-not-casechars):
2739 Simplify; Don't bother removing a ] just to add it back.
2740 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2741
2742 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2743
2744 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2745 New functions.
2746 (math-function-table): Add support for more C functions.
2747
2748 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2749
2750 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2751 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2752 Protect delay handling for otherchars against empty otherchars.
2753
2754 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2757 their respective macro declarations.
2758 * skeleton.el (define-skeleton):
2759 * progmodes/compile.el (define-compilation-mode):
2760 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2761 (define-ibuffer-filter):
2762 * emacs-lisp/generic.el (define-generic-mode):
2763 * emacs-lisp/easy-mmode.el (define-minor-mode)
2764 (define-globalized-minor-mode):
2765 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2766 * emacs-lisp/byte-run.el (defsubst):
2767 * custom.el (deftheme): Add doc-string metadata.
2768
2769 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2772
2773 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2774
2775 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2776
2777 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2778 * emacs-lisp/cl-macs.el: Idem.
2779 * emacs-lisp/cl-specs.el: Remove.
2780
2781 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2782
2783 Minor renaming of internal CL functions and variables.
2784 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2785 (cl--position): Rename from cl-position.
2786 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2787 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2788 (cl--random-state): Rename from *random-state*.
2789
2790 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2793 parens around the arg list (bug#11499).
2794
2795 2012-05-17 Juri Linkov <juri@jurta.org>
2796
2797 * isearch.el (word-search-regexp, word-search-backward)
2798 (word-search-forward, word-search-backward-lax)
2799 (word-search-forward-lax): Move functions from search.c
2800 (bug#10145, bug#11381).
2801
2802 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2803
2804 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2805 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2806 Delay for otherchars as for normal word components.
2807
2808 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * minibuffer.el (completion--sifn-requote): Fix last change.
2811 (minibuffer-local-must-match-filename-map):
2812 Move define-obsolete-variable-alias before its var.
2813
2814 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2815
2816 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2817
2818 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2819 behavior.
2820 (completion--string-equal-p): New function.
2821 (completion--twq-all): Use it to get better assertion failure data.
2822
2823 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2824 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2825 (shell--requote-argument): New functions.
2826 (shell-completion-vars): Use them.
2827 (shell--parse-pcomplete-arguments): Rename from
2828 shell-parse-pcomplete-arguments.
2829 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2830 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2831 Obey comint-file-name-quote-list.
2832
2833 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2834 (smie-indent-keyword): Use it.
2835
2836 2012-05-14 Stefan Merten <smerten@oekonux.de>
2837
2838 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2839
2840 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * net/rlogin.el (rlogin-mode-map): Fix last change.
2843
2844 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
2845
2846 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2847 the following \r\n using a single `process-send-string', since the
2848 Lotus SMTP server refuses to accept any commands if they are sent
2849 with two `process-send-string's (Bug#11444).
2850
2851 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * shell.el (shell-parse-pcomplete-arguments):
2854 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2855
2856 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2857
2858 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2859 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2860 (image-transform-width, image-transform-fit-width): New functions.
2861 (image-transform-properties): Use them.
2862 (image-transform-check-size): New function.
2863 (image-toggle-display-image): Use it (for testing).
2864 (image-transform-set-rotation): Reduce angle mod 360.
2865 Delete obsolete comment.
2866
2867 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2868
2869 * image-mode.el: Fix scaling (bug#11399).
2870 (image-transform-resize): Doc fix.
2871 (image-transform-properties): Default scale is 1 and height should
2872 be an integer.
2873
2874 2012-05-13 Johan Bockgård <bojohan@gnu.org>
2875
2876 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2877 than hard-coding `car', to fix misbehavior when moving forward.
2878
2879 2012-05-13 Chong Yidong <cyd@gnu.org>
2880
2881 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2882 (tabulated-list-entries, tabulated-list-padding)
2883 (tabulated-list-sort-key): Make permanent-local.
2884
2885 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2886 (electric-buffer-list): Put electric buffer menu
2887 command descriptions in this docstring, instead of the docstring
2888 of electric-buffer-menu-mode. Code cleanups.
2889 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2890 Electric-buffer-menu-mode.
2891 (electric-buffer-update-highlight): Minor code cleanup.
2892
2893 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
2894
2895 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2896 (Bug#11447)
2897
2898 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 Move define-obsolete-variable-alias before the var's definition.
2901 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2902 * tooltip.el (tooltip-hook):
2903 * textmodes/reftex-toc.el (reftex-toc-map):
2904 * textmodes/reftex-sel.el (reftex-select-label-map)
2905 (reftex-select-bib-map):
2906 * textmodes/reftex-index.el (reftex-index-map)
2907 (reftex-index-phrases-map):
2908 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2909 * progmodes/meta-mode.el (meta-mode-map):
2910 * novice.el (disabled-command-hook):
2911 * loadhist.el (unload-hook-features-list):
2912 * frame.el (blink-cursor):
2913 * files.el (find-file-not-found-hooks, write-file-hooks)
2914 (write-contents-hooks):
2915 * emulation/tpu-edt.el (GOLD-map):
2916 * emacs-lock.el (emacs-lock-from-exiting):
2917 * emacs-lisp/generic.el (generic-font-lock-defaults):
2918 * emacs-lisp/chart.el (chart-map):
2919 * dos-fns.el (register-name-alist):
2920 * dired-x.el (dired-omit-files-p):
2921 * desktop.el (desktop-enable):
2922 * cus-edit.el (custom-mode-hook):
2923 * buff-menu.el (buffer-menu-mode-hook):
2924 * bookmark.el (bookmark-read-annotation-text-func)
2925 (bookmark-exit-hooks):
2926 * allout.el (allout-mode-deactivate-hook)
2927 (allout-exposure-change-hook, allout-structure-added-hook)
2928 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2929 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2930 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2931 comes before the corresponding variable's definition.
2932
2933 2012-05-12 Chong Yidong <cyd@gnu.org>
2934
2935 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2936 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2937 (Buffer-menu-mode-map): Bind it.
2938 (Buffer-menu--pretty-name): Add a mouse-face property.
2939
2940 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2941
2942 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2943 (prolog-upper-case-string, prolog-lower-case-string)
2944 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2945 (prolog-use-smie, prolog-smie-grammar): New vars.
2946 (prolog-smie-forward-token, prolog-smie-backward-token)
2947 (prolog-smie-rules): New funs.
2948 (prolog-comment-indent): Remove.
2949 (prolog-mode-variables): Use default comment indentation instead.
2950 Setup SMIE.
2951 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2952 (prolog-mode): Don't call them any more.
2953 (prolog-electric-colon, prolog-electric-dash)
2954 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2955
2956 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2957
2958 * minibuffer.el (completion--twq-all): Again, allow case differences.
2959
2960 * term.el: Move keymap initialization code to be more idiomatic.
2961 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2962 (term-terminal-menu): Move initialization into declaration.
2963 (term-escape-char): Let the user set it in her .emacs.
2964
2965 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2966 Provide SMIE-based indentation (not enabled by default yet).
2967 (sh-mode-map): Don't bind electric keys.
2968 Use electric-pair-mode instead of skeleton-pair.
2969 (sh-assignment-regexp): Fit within 80 columns.
2970 (sh-indent-supported): Specify actual shell name instead of boolean.
2971 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2972 (sh-maybe-here-document): Use it. Make obsolete.
2973 (sh-electric-here-document-mode) New minor mode.
2974 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2975 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2976 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2977 (sh-smie-rc-grammar, sh-use-smie): New vars.
2978 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2979 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2980 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2981 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2982 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2983 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2984 (sh-set-shell): Use smie-setup if requested.
2985
2986 * term.el (term-set-escape-char): Properly set term-escape-char.
2987 See http://stackoverflow.com/questions/10524656.
2988
2989 2012-05-10 Chong Yidong <cyd@gnu.org>
2990
2991 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2992 Use url-generic-parse-url, and handle host names and Windows
2993 filenames properly.
2994 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2995 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2996 URL schemes to work on.
2997 (ffap--toggle-read-only): New function.
2998 (ffap-read-only, ffap-read-only-other-window)
2999 (ffap-read-only-other-frame): Use it.
3000 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3001 necessary for ffap-url-unwrap-remote.
3002
3003 2012-05-10 Dave Abrahams <dave@boostpro.com>
3004
3005 * cus-start.el (create-lockfiles): Add it.
3006
3007 2012-05-09 Chong Yidong <cyd@gnu.org>
3008
3009 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3010 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3011
3012 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3013
3014 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3015
3016 2012-05-09 Chong Yidong <cyd@gnu.org>
3017
3018 * ansi-color.el (ansi-color-process-output): Check for validity of
3019 comint-last-output-start before using it. This avoids a bad
3020 interaction with gdb-mi's input/output buffer.
3021
3022 2012-05-09 Glenn Morris <rgm@gnu.org>
3023
3024 * files.el (dir-locals-read-from-file):
3025 Mention dir-locals in any error message.
3026
3027 2012-05-09 Chong Yidong <cyd@gnu.org>
3028
3029 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3030 package (Bug#11410).
3031
3032 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3033 variables into description.
3034
3035 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3038 shell-delimiter-argument-list (bug#11348).
3039 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3040
3041 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3042
3043 * textmodes/rst.el: Silence byte-compiler warnings.
3044 (rst-re-alist, rst-reset-section-caches): Move around.
3045 (rst-re): Use `characterp', not `char-valid-p'.
3046 (font-lock-beg, font-lock-end): Declare.
3047
3048 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3049 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3050
3051 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3052
3053 2012-05-08 Glenn Morris <rgm@gnu.org>
3054
3055 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3056
3057 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * vc/log-edit.el: Add GNU coding standards highlighting.
3060 (log-edit-font-lock-gnu-style)
3061 (log-edit-font-lock-gnu-keywords): New vars.
3062 (log-edit-font-lock-keywords): New fun.
3063 (log-edit-mode): Don't fold case in font-lock.
3064 (log-edit-font-lock-keywords): Do not assume case-folding.
3065
3066 * imenu.el: Misc cleanup. Make docstrings out of comments.
3067 Use lexical-binding.
3068 (imenu--index-alist, imenu--last-menubar-index-alist)
3069 (imenu-menubar-modified-tick): Use defvar-local.
3070 (imenu--split-menu): Remove unused var.
3071 (imenu--cleanup-seen): Declare as global.
3072 (imenu--cleanup): Use dolist.
3073
3074 * subr.el (defvar-local): Add debug spec and doc-string position.
3075
3076 2012-05-08 Glenn Morris <rgm@gnu.org>
3077
3078 * language/burmese.el, language/cham.el, language/czech.el:
3079 * language/english.el, language/georgian.el, language/greek.el:
3080 * language/japanese.el, language/khmer.el, language/korean.el:
3081 * language/lao.el, language/misc-lang.el, language/romanian.el:
3082 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3083 * language/thai.el, language/utf-8-lang.el:
3084 Remove no-byte-compile setting.
3085
3086 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3087
3088 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3089
3090 * progmodes/make-mode.el (makefile-browse):
3091 Remove unnecessary interactive. (Bug#11324)
3092
3093 2012-05-07 Glenn Morris <rgm@gnu.org>
3094
3095 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3096
3097 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3098
3099 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3100
3101 * loadup.el: Preload newcomment.el.
3102 * newcomment.el: Move autoload-only code to toplevel.
3103
3104 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3105 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3106 Handle new :right-align column property.
3107 (tabulated-list-print-col): Idem, plus use `display' text-property to
3108 try and preserve alignment for variable pitch fonts.
3109
3110 2012-05-07 Chong Yidong <cyd@gnu.org>
3111
3112 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3113 (tabulated-list-use-header-line): New var.
3114 (tabulated-list-init-header): Use it.
3115 (tabulated-list-print-fake-header): New function.
3116 (tabulated-list-print): Use it.
3117 (tabulated-list-sort-button-map): Add non-header-line commands.
3118 (tabulated-list-init-header): Add column name property to basic
3119 labels as well.
3120 (tabulated-list-col-sort): Handle non-header-line button case.
3121 (tabulated-list--sort-by-column-name): Fix a corner case.
3122
3123 * buff-menu.el (list-buffers--refresh):
3124 Handle Buffer-menu-use-header-line.
3125
3126 2012-05-06 Chong Yidong <cyd@gnu.org>
3127
3128 * buff-menu.el: Convert to Tabulated List mode.
3129 (Buffer-menu-buffer+size-width): Make obsolete.
3130 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3131 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3132 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3133 documentation into docstring of buffer-menu.
3134 (Buffer-menu-toggle-files-only): Add an informative message.
3135 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3136 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3137 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3138 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3139 (Buffer-menu-execute, Buffer-menu-select)
3140 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3141 (Buffer-menu-bury): Use Tabulated List machinery.
3142 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3143 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3144 Delete.
3145 (list-buffers--refresh): New function.
3146 (list-buffers-noselect): Use it.
3147 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3148 (Buffer-menu--pretty-file-name): New helper functions.
3149
3150 * loadup.el: Preload tabulated-list.
3151
3152 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3153 tabulated-list-sort-column.
3154 (tabulated-list-init-header): Add the initial aligning space even
3155 if tabulated-list-padding is zero.
3156
3157 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3158
3159 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3160 whose cdr is not a cons cell correctly (bug#11038).
3161
3162 2012-05-06 Chong Yidong <cyd@gnu.org>
3163
3164 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3165 Accept additional plist in column descriptors.
3166 (tabulated-list-init-header): Obey it.
3167 (tabulated-list-get-entry): New function.
3168 (tabulated-list-put-tag): Use it. Use string-width instead of
3169 length.
3170 (tabulated-list--column-number): New function.
3171 (tabulated-list-print): Use it.
3172 (tabulated-list-print-col): New function.
3173 Set `tabulated-list-column-name' property on each column's text.
3174 (tabulated-list-print-entry): Use it.
3175 (tabulated-list-delete-entry, tabulated-list-set-col):
3176 New functions.
3177 (tabulated-list-sort-column): New command (Bug#11337).
3178
3179 * buff-menu.el (list-buffers): Move C-x C-b binding from
3180 buff-menu.el to bindings.el.
3181
3182 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3183 :advertised-binding feature.
3184
3185 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3186
3187 * progmodes/compile.el (compilation-internal-error-properties):
3188 Calculate start position correctly when end-col is set but
3189 end-line is not (Bug#11382).
3190
3191 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3192
3193 * man.el (Man-unindent): Use text-property-default-nonsticky to
3194 prevent untabify from inheriting face properties (Bug#11408).
3195
3196 2012-05-05 Stefan Merten <smerten@oekonux.de>
3197
3198 * textmodes/rst.el: Major merge with upstream development up to
3199 Docutils SVN r7399 / rst.el V1.2.1.
3200
3201 Clarify maintainership and authors.
3202
3203 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3204 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3205 (rst-official-version, rst-official-cvs-rev, rst-version)
3206 (rst-package-emacs-version-alist): New functions and variables
3207 for version information.
3208
3209 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3210 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3211 (rst-mode-syntax-table, rst-mode): New and corrected functions
3212 and variables representing reStructuredText features.
3213
3214 (rst-re): New function for reStructuredText regexes. Use in
3215 many places.
3216
3217 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3218 (rst-mode-map): Rebind keys.
3219
3220 (rst-mode-lazy, rst-font-lock-keywords)
3221 (rst-font-lock-extend-region)
3222 (rst-font-lock-extend-region-internal)
3223 (rst-font-lock-extend-region-extend)
3224 (rst-font-lock-find-unindented-line-limit)
3225 (rst-font-lock-find-unindented-line-match)
3226 (rst-adornment-level, rst-font-lock-adornment-level)
3227 (rst-font-lock-adornment-match)
3228 (rst-font-lock-handle-adornment-pre-match-form)
3229 (rst-font-lock-handle-adornment-matcher): Major revision of
3230 font-locking. Integrate with other code. Use `jit-lock-mode'.
3231
3232 (rst-preferred-adornments, rst-adjust-hook)
3233 (rst-new-adornment-down, rst-preferred-bullets)
3234 (rst-preferred-bullets, rst-indent, rst-indent-width)
3235 (rst-indent-field, rst-indent-literal-normal)
3236 (rst-indent-literal-minimized, rst-indent-comment): Change,
3237 extend and improve customization.
3238
3239 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3240 (rst-normalize-cursor-position, rst-get-decoration)
3241 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3242 (rst-rstrip, rst-toc-insert-find-delete-contents)
3243 (rst-shift-fill-region, rst-compute-bullet-tabs)
3244 (rst-debug-print-tabs, rst-debug-mark-found)
3245 (rst-shift-region-guts, rst-shift-region-right)
3246 (rst-shift-region-left, rst-use-char-classes)
3247 (rst-font-lock-keywords-function)
3248 (rst-font-lock-indentation-point)
3249 (rst-font-lock-find-unindented-line-begin)
3250 (rst-font-lock-find-unindented-line-end)
3251 (rst-font-lock-find-unindented-line)
3252 (rst-font-lock-adornment-point, rst-font-lock-level)
3253 (rst-adornment-level-alist): Remove functions and variables.
3254
3255 (rst-compare-adornments, rst-get-adornment-match)
3256 (rst-suggest-new-adornment, rst-get-adornments-around)
3257 (rst-adornment-complete-p, rst-get-next-adornment)
3258 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3259 (rst-straighten-adornments): Standardize function names to
3260 use "adornment" instead of "decoration". Correct callers.
3261 Similar standardizing in many places.
3262
3263 (rst-update-section, rst-adjust, rst-promote-region)
3264 (rst-enumerate-region, rst-bullet-list-region)
3265 (rst-repeat-last-character): Correct use of `interactive'.
3266
3267 (rst-classify-adornment, rst-find-all-adornments)
3268 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3269 (rst-find-leftmost-column, rst-repeat-last-character):
3270 Refactor functions.
3271
3272 (rst-find-title-line, rst-reset-section-caches)
3273 (rst-get-adornments-around, rst-adjust-adornment-work)
3274 (rst-arabic-to-roman, rst-roman-to-arabic)
3275 (rst-insert-list-pos, rst-insert-list-new-item)
3276 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3277 New functions.
3278
3279 (rst-all-sections, rst-section-hierarchy)
3280 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3281 New variables.
3282
3283 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3284 configuration instead of only buffer. Change where necessary.
3285
3286 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3287 (rst-shift-region, rst-adaptive-fill): New functions for
3288 indentation and filling.
3289
3290 (rst-comment-line-break, rst-comment-indent)
3291 (rst-comment-insert-comment, rst-comment-region)
3292 (rst-uncomment-region): New functions for handling comments.
3293
3294 (rst-compile): Quote shell arguments.
3295
3296 (rst-compile-pdf-preview, rst-compile-slides-preview):
3297 Delete temporary files after use.
3298
3299 2012-05-05 Glenn Morris <rgm@gnu.org>
3300
3301 * calendar/cal-html.el: Optionally include holidays in the output.
3302 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3303 (cal-html-holidays): New option.
3304 (cal-html-css-default): Add holiday entry.
3305 (holiday-in-range): Autoload it.
3306 (cal-html-htmlify-entry): Add optional class argument.
3307 (cal-html-htmlify-list): Add optional holidays argument.
3308 (cal-html-insert-agenda-days): Include holidays in the output.
3309 (cal-html-one-month): Maybe include holidays.
3310
3311 * calendar/holidays.el (holiday-in-range):
3312 Move here from cal-tex-list-holidays.
3313 * calendar/cal-tex.el (cal-tex-list-holidays):
3314 Make it an obsolete alias for holiday-in-range. Update all callers.
3315
3316 2012-05-05 Chong Yidong <cyd@gnu.org>
3317
3318 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3319 Nextstep.
3320
3321 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3322
3323 * files.el (file-auto-mode-skip): New var.
3324 (set-auto-mode-1): Use it.
3325
3326 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * repeat.el: Use lexical-binding.
3329 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3330 (repeat-undo-count): Remove.
3331 (repeat):
3332 * progmodes/octave-mod.el (octave-abbrev-start):
3333 * progmodes/f90.el (f90-abbrev-start):
3334 * face-remap.el (text-scale-adjust):
3335 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3336
3337 * emacs-lisp/pcase.el (pcase--let*): New function.
3338 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3339 a bit more.
3340 (pcase--split-pred): Be more clever about ruling out overlap between
3341 a predicate and some constant pattern.
3342 (pcase--q1): Use `null' instead of (eq foo nil).
3343
3344 * subr.el (setq-local, defvar-local): New macros.
3345 (kbd): Redefine as an alias.
3346 (with-selected-window): Leave unrelated frames alone.
3347 (set-temporary-overlay-map): New function.
3348
3349 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * subr.el (user-error): New function.
3352 * window.el (switch-to-buffer):
3353 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3354 (smerge-match-conflict):
3355 * simple.el (previous-matching-history-element)
3356 (next-matching-history-element, goto-history-element, undo-more)
3357 (undo-start):
3358 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3359 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3360 (next-file, tags-loop-scan, list-tags, complete-tag):
3361 * progmodes/compile.el (compilation-loop):
3362 * mouse.el (mouse-minibuffer-check):
3363 * man.el (Man-bgproc-sentinel, Man-goto-page):
3364 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3365 (Info-history-forward, Info-follow-reference, Info-menu)
3366 (Info-extract-menu-item, Info-extract-menu-counting)
3367 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3368 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3369 (Info-next-reference, Info-prev-reference, Info-index)
3370 (Info-index-next, Info-follow-nearest-node)
3371 (Info-copy-current-node-name):
3372 * imenu.el (imenu--make-index-alist)
3373 (imenu-default-create-index-function, imenu-add-to-menubar):
3374 * files.el (basic-save-buffer, recover-file):
3375 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3376 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3377 (checkdoc-message-text, checkdoc-defun):
3378 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3379 * cus-edit.el (customize-changed-options, customize-rogue)
3380 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3381 (custom-variable-mark-to-reset-standard)
3382 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3383 (custom-file):
3384 * completion.el (check-completion-length):
3385 * comint.el (comint-search-arg)
3386 (comint-previous-matching-input-string-position)
3387 (comint-previous-matching-input)
3388 (comint-replace-by-expanded-history-before-point, comint-send-input)
3389 (comint-copy-old-input, comint-backward-matching-input)
3390 (comint-goto-process-mark, comint-set-process-mark):
3391 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3392 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3393
3394 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * dabbrev.el (dabbrev--ignore-case-p): New function.
3397 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3398 Use it.
3399
3400 * files.el (automount-dir-prefix): Mark as obsolete.
3401
3402 2012-05-04 Glenn Morris <rgm@gnu.org>
3403
3404 * patcomp.el, play/bruce.el: Move to obsolete/.
3405
3406 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3407
3408 Fix minor Y10k bugs.
3409 * arc-mode.el (archive-unixdate):
3410 * autoinsert.el (auto-insert-alist):
3411 * calc/calc-forms.el (math-this-year):
3412 * emacs-lisp/copyright.el (copyright-current-year)
3413 (copyright-update-year, copyright):
3414 * tar-mode.el (tar-clip-time-string):
3415 * time.el (display-time-update):
3416 Don't assume years have 4 digits.
3417
3418 2012-05-04 Chong Yidong <cyd@gnu.org>
3419
3420 * dos-w32.el (file-name-buffer-file-type-alist)
3421 (direct-print-region-use-command-dot-com):
3422 * ffap.el (ffap-menu-regexp):
3423 * find-file.el (ff-special-constructs):
3424 * follow.el (follow-debug):
3425 * forms.el (forms--debug):
3426 * iswitchb.el (iswitchb-all-frames):
3427 * ido.el (ido-all-frames):
3428 * emacs-lisp/timer.el (timer-max-repeats):
3429 * mail/feedmail.el (feedmail-mail-send-hook)
3430 (feedmail-mail-send-hook-queued):
3431 * mail/footnote.el (footnote-signature-separator):
3432 * mail/mailabbrev.el (mail-alias-separator-string)
3433 (mail-abbrev-mode-regexp):
3434 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3435 * progmodes/idlwave.el (idlwave-libinfo-file)
3436 (idlwave-default-completion-case-is-down)
3437 (idlwave-library-routines): Convert defvars to defcustoms.
3438
3439 * mail/rmail.el (rmail-decode-mime-charset):
3440 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3441 (idlwave-shell-fix-inserted-breaks)
3442 (idlwave-shell-activate-alt-keybindings)
3443 (idlwave-shell-use-breakpoint-glyph):
3444 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3445
3446 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3449
3450 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3451
3452 * progmodes/verilog-mode.el (font-lock-keywords):
3453 Fix mis-highligting auto. Reported by Craig Barner.
3454 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3455 defines from global name space. Reported by Dan Dever.
3456 (verilog-auto-reset, verilog-auto-reset-widths)
3457 (verilog-auto-tieoff): Support using unbased numbers for
3458 AUTORESET and AUTOTIEOFF.
3459 (verilog-submit-bug-report): Update variable list.
3460 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3461 parenthesis from not matching. Reported by Michael Rytting.
3462 (verilog-auto-template-lint): Fix hash error when linting modules
3463 with no used templates.
3464 (verilog-warn, verilog-warn-error)
3465 (verilog-warn-fatal): When non-interactive report multiple
3466 warnings before exiting. Suggested by Brad Dobbie.
3467 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3468 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3469 to report unused template errors. Reported by Brad Dobbie.
3470 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3471 nets, bug438. Reported by Vns Blore.
3472 (verilog-auto-inout-module, verilog-auto-reg)
3473 (verilog-read-decls, verilog-read-sub-decls-sig)
3474 (verilog-signals-edit-wire-reg, verilog-signals-with):
3475 Fix passing of Verilog data types in ANSI input/output ports
3476 such as "output logic" into the AUTOs. Special case "wire" and
3477 "reg" for backwards compatibility presuming Verilog 2001.
3478 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3479 (verilog-preprocess): Fix replication of preprocess output.
3480 Reported by Brad Dobbie.
3481 (verilog-auto-inst-interfaced-ports):
3482 Create verilog-auto-inst-interfaced-ports, bug429.
3483 Reported by Julian Gorfajn.
3484 (verilog-after-save-font-hook)
3485 (verilog-before-save-font-hook): New variable.
3486 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3487 (verilog-save-font-mods): Wrap disabling fontification, reported
3488 by David Rogoff.
3489 (verilog-do-indent, verilog-pretty-declarations-auto)
3490 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3491 Reported by Pierre-David Pfister.
3492 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3493 of class declarations, bug292. Reported by Kevin Heilman.
3494 (verilog-read-decls): Fix 'parameter type' not appearing in
3495 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3496 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3497 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3498 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3499 Reported by David Kravitz.
3500
3501 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3502
3503 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3504 assignment with tests in ifs and for loops.
3505 (verilog-extended-complete-re, verilog-complete-reg): Change so
3506 that DPI inport functions don't look like fuction declarations.
3507 (verilog-pretty-expr): Don't line up assignment
3508 operations to the test and increment in if and for loops
3509 (verilog-extended-complete-re, verilog-complete-reg): Change so
3510 that DPI inport functions don't look like fuction declarations.
3511
3512 2012-05-03 Kenichi Handa <handa@m17n.org>
3513
3514 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3515 decoding, and show a warning message without signaling an error
3516 (Bug#11282).
3517
3518 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * emacs-lisp/bytecomp.el
3521 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3522 since cconv.el might have introduced :fun-body, internal-make-closure,
3523 and friends for bytecomp to handle (bug#11391).
3524 * custom.el (defcustom): Avoid ((λ ..) ..).
3525
3526 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3529
3530 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3531
3532 * notifications.el (dbus-debug):
3533 * term/linux.el (gpm-mouse-enable):
3534 * term/screen.el (xterm-register-default-colors): Declare.
3535
3536 2012-05-02 Chong Yidong <cyd@gnu.org>
3537
3538 * cus-start.el (gc-cons-percentage, exec-suffixes)
3539 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3540 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3541 (make-cursor-line-fully-visible, void-text-area-pointer)
3542 (font-list-limit): Add customization data.
3543
3544 * allout.el (allout-exposure-change-functions)
3545 (allout-structure-added-functions)
3546 (allout-structure-deleted-functions)
3547 (allout-structure-shifted-functions): Rename abnormal hooks from
3548 *-hook, and convert to defcustoms.
3549 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3550 Convert to defcustoms.
3551 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3552
3553 * allout-widgets.el: Hook callers changed.
3554
3555 2012-05-02 Eli Zaretskii <eliz@gnu.org>
3556
3557 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3558 the yanked message in preference to the default value of
3559 buffer-file-coding-system.
3560
3561 2012-05-02 Martin Rudalics <rudalics@gmx.at>
3562
3563 * window.el (display-buffer--action-function-custom-type):
3564 Fix entry.
3565
3566 2012-05-02 Alan Mackenzie <acm@muc.de>
3567
3568 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3569
3570 2012-05-01 Glenn Morris <rgm@gnu.org>
3571
3572 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3573
3574 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3575
3576 * cus-edit.el (custom-variable-documentation): Simplify with format.
3577
3578 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3579 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * simple.el (suggest-key-bindings, execute-extended-command):
3582 Move from keyboard.c.
3583
3584 2012-05-01 Chong Yidong <cyd@gnu.org>
3585
3586 * follow.el: Eliminate advice.
3587 (set-process-filter, process-filter, sit-for): Advice deleted.
3588 (follow-mode-off-hook): Obsolete hook removed.
3589 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3590 Vars deleted.
3591 (follow-auto): Use a :set function.
3592 (follow-mode): Rewritten. Don't advise process filters.
3593 (follow-switch-to-current-buffer-all, follow-scroll-up)
3594 (follow-scroll-down): Assume follow-mode is bound.
3595 (follow-comint-scroll-to-bottom)
3596 (follow-align-compilation-windows): New functions.
3597 (follow--window-sorter): New function.
3598 (follow-all-followers): Use it to explicitly sort windows by their
3599 positions; don't make assumptions about next-window order.
3600 (follow-windows-start-end, follow-delete-other-windows-and-split)
3601 (follow-calc-win-start): Doc fix.
3602 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3603 vertical-motion unnecessarily.
3604 (follow-adjust-window): New function.
3605 (follow-post-command-hook): Use it.
3606 (follow-call-set-process-filter, follow-call-process-filter)
3607 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3608 (follow-stop-intercept-process-output, follow-generic-filter):
3609 Functions deleted.
3610 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3611 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3612 New functions, replacing advice on scroll-bar-* commands.
3613 (follow-mwheel-scroll): New function (Bug#4112).
3614
3615 * comint.el (comint-adjust-point): New function.
3616 (comint-postoutput-scroll-to-bottom): Use it.
3617 Call follow-comint-scroll-to-bottom for Follow mode buffers.
3618
3619 2012-05-01 Glenn Morris <rgm@gnu.org>
3620
3621 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3622 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3623 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3624 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3625 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3626 Remove no-byte-compile setting.
3627
3628 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3631 all-completions code to not return a number in the last cdr.
3632
3633 2012-04-30 Leo Liu <sdl.web@gmail.com>
3634
3635 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3636 read-only error.
3637
3638 2012-04-29 Chong Yidong <cyd@gnu.org>
3639
3640 * follow.el (follow-calc-win-end): Rewrite to handle partial
3641 screen lines correctly (Bug#8390).
3642 (follow-avoid-tail-recenter): Minor cleanup.
3643
3644 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3645
3646 Avoid the obsolete `assoc' package.
3647 * speedbar.el (speedbar-refresh): Avoid adelete.
3648 (speedbar-file-lists): Simplify and avoid aput.
3649 * man.el (Man--sections, Man--refpages): New vars, replacing
3650 Man-sections-alist and Man-refpages-alist.
3651 (Man-build-section-alist, Man-build-references-alist):
3652 Use them; avoid aput.
3653 (Man--last-section, Man--last-refpage): New vars.
3654 (Man-follow-manual-reference): Use them.
3655 Use the `default' arg of completing-read.
3656 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3657
3658 2012-04-27 Chong Yidong <cyd@gnu.org>
3659
3660 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3661
3662 * startup.el (x-apply-session-resources): New function.
3663
3664 * term/ns-win.el (ns-initialize-window-system):
3665 * term/w32-win.el (w32-initialize-window-system):
3666 * term/x-win.el (x-initialize-window-system): Use it to properly
3667 set menu-bar-mode and other vars from X resources, even if the
3668 initial frame is not a window-system frame (Bug#2299).
3669
3670 * subr.el (read-key): Avoid running filter function when setting
3671 up temporary tool bar entries (Bug#9922).
3672
3673 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3674
3675 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3676 (Bug#11344)
3677
3678 2012-04-27 Chong Yidong <cyd@gnu.org>
3679
3680 * select.el (xselect--encode-string): New function, split from
3681 xselect-convert-to-string.
3682 (xselect-convert-to-string): Use it.
3683 (xselect-convert-to-filename, xselect-convert-to-os)
3684 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3685 returned strings are properly encoded (Bug#11315).
3686
3687 2012-04-27 Chong Yidong <cyd@gnu.org>
3688
3689 * simple.el (delete-active-region): Move to killing custom group.
3690
3691 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3692
3693 * progmodes/which-func.el (which-func-current): Quote %
3694 characters for mode-line processing.
3695
3696 2012-04-27 Chong Yidong <cyd@gnu.org>
3697
3698 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3699 reaching eob (Bug#11286).
3700
3701 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3702
3703 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3704 (gdb): Make it buffer-local and init to zero.
3705 (gdb-control-commands-regexp): New variable.
3706 (gdb-send): Don't wrap in "-interpreter-exec console" if
3707 gdb-control-level is positive. Increment gdb-control-level
3708 whenever the command matches gdb-control-commands-regexp, and
3709 decrement it each time the command is "end". (Bug#11279)
3710
3711 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3712
3713 * window.el (adjust-window-trailing-edge, enlarge-window)
3714 (shrink-window, window-resize):
3715 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3716 windows (Bug#11276).
3717
3718 2012-04-27 Chong Yidong <cyd@gnu.org>
3719
3720 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3721 fix "missing prefix" warning. All callers changed.
3722
3723 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3724
3725 * emacs-lisp/assoc.el: Move to obsolete/.
3726
3727 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3730
3731 * term/ns-win.el (ns-define-service):
3732 * progmodes/pascal.el (pascal-goto-defun):
3733 * progmodes/js.el (js--read-tab):
3734 * progmodes/etags.el (tags-lazy-completion-table):
3735 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3736 * emacs-lisp/ewoc.el (ewoc--wrap):
3737 * emacs-lisp/assoc.el (aput, adelete, amake):
3738 * doc-view.el (doc-view-convert-current-doc):
3739 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3740
3741 2012-04-26 Chong Yidong <cyd@gnu.org>
3742
3743 * image.el (image-type-from-buffer): Only return supported image
3744 type (Bug#9045).
3745
3746 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3747 value, for symmetry with diff-end-of-hunk.
3748 (diff-split-hunk, diff-find-source-location)
3749 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3750 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3751 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3752 compute the relevant hunk or file properly (Bug#6005).
3753 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3754
3755 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * vc/vc-mtn.el:
3758 * vc/vc-hg.el:
3759 * vc/vc-git.el:
3760 * vc/vc-dir.el:
3761 * vc/vc-cvs.el:
3762 * vc/vc-bzr.el:
3763 * vc/vc-arch.el:
3764 * vc/vc.el: Replace lexical-let by lexical-binding.
3765 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3766 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3767 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3768
3769 2012-04-26 Chong Yidong <cyd@gnu.org>
3770
3771 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3772 (diff-mode-shared-map): Bind it to / and [remap undo].
3773
3774 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3775 (ediff-window-setup-function): Use it as the default, to set up
3776 windows based on whether the current frame is graphical (Bug#2138).
3777 (ediff-choose-window-setup-function-automatically): Make obsolete.
3778
3779 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3780
3781 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * ffap.el: Remove old code for obsolete package.
3784 (ffap-complete-as-file-p): Remove.
3785
3786 Use completion-table-with-quoting for comint and pcomplete.
3787 * comint.el (comint--unquote&requote-argument)
3788 (comint--unquote-argument, comint--requote-argument): New functions.
3789 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3790 (comint-quote-filename): Use regexp-opt-charset.
3791 (comint--common-suffix, comint--common-quoted-suffix)
3792 (comint--table-subvert): Remove.
3793 (comint-unquote-function, comint-requote-function): New vars.
3794 (comint--complete-file-name-data): Use them with
3795 completion-table-with-quoting.
3796 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3797 * pcomplete.el (pcomplete-arg-quote-list)
3798 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3799 (pcomplete-unquote-argument-function): Default to non-nil.
3800 (pcomplete-unquote-argument): Simplify.
3801 (pcomplete--common-quoted-suffix): Remove.
3802 (pcomplete-requote-argument-function): New var.
3803 (pcomplete--common-suffix): New function.
3804 (pcomplete-completions-at-point): Use completion-table-with-quoting
3805 and completion-table-subvert.
3806
3807 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3808 (minibuffer--double-dollars): Preserve properties.
3809 (completion--sifn-requote): New function.
3810 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3811
3812 * minibuffer.el: Add support for completion of quoted/escaped data.
3813 (completion-table-with-quoting, completion-table-subvert): New funs.
3814 (completion--twq-try, completion--twq-all): New functions.
3815 (completion--nth-completion): New function.
3816 (completion-try-completion, completion-all-completions): Use it.
3817
3818 2012-04-25 Leo Liu <sdl.web@gmail.com>
3819
3820 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3821 Use compilation-message if available to find real filename.
3822
3823 2012-04-25 Chong Yidong <cyd@gnu.org>
3824
3825 * vc/diff-mode.el (diff-setup-whitespace): New function.
3826 (diff-mode): Use it.
3827
3828 * vc/diff.el (diff-sentinel):
3829 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3830 Whitespace mode variables based on diff style (Bug#8612).
3831
3832 2012-04-25 Leo Liu <sdl.web@gmail.com>
3833
3834 * progmodes/python.el (python-send-region): Add suffix .py to the
3835 temp file.
3836
3837 * files.el (auto-mode-alist): Use javascript-mode instead.
3838
3839 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3840
3841 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
3842
3843 * net/soap-client.el (soap-resolve-references-for-sequence-type)
3844 (soap-resolve-references-for-array-type): Hack to prevent self
3845 references, see Bug#9.
3846 (soap-parse-envelope): Report the contents of the 'detail' node
3847 when receiving a fault reply.
3848 (soap-parse-envelope): Report the contents of the entire 'detail' node.
3849
3850 * net/soap-inspect.el (soap-sample-value-for-simple-type)
3851 (soap-inspect-simple-type): New function.
3852
3853 * net/soap-client.el (soap-simple-type): New struct.
3854 (soap-default-xsd-types, soap-default-soapenc-types)
3855 (soap-decode-basic-type, soap-encode-basic-type):
3856 support unsignedInt and double basic types.
3857 (soap-resolve-references-for-simple-type)
3858 (soap-parse-simple-type, soap-encode-simple-type): New function.
3859 (soap-parse-schema): Parse xsd:simpleType declarations.
3860
3861 * net/soap-client.el (soap-default-xsd-types)
3862 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3863 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3864 the local name of "soapenc:Array".
3865 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3866 decoding integer, byte and anyURI xsd types.
3867
3868 2012-04-25 Chong Yidong <cyd@gnu.org>
3869
3870 * cus-edit.el (custom-buffer-create-internal): Update header text.
3871
3872 2012-04-25 Eli Zaretskii <eliz@gnu.org>
3873
3874 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3875 settings on 'system-type', not on 'window-system'. On MS-Windows,
3876 set interactive-mode on in GDB.
3877
3878 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3881 (ruby-syntax-propertize-regexp): Remove.
3882 (ruby-syntax-propertize-function): Split regexp into chunks.
3883 Match following code directly.
3884
3885 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3886
3887 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3888 (ruby-syntax-propertize-regexp): New function.
3889 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3890 by a special keyword.
3891
3892 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3893 (ruby-syntax-general-delimiters-goto-beg)
3894 (ruby-syntax-propertize-general-delimiters): New functions.
3895 (ruby-syntax-propertize-function): Use them to handle GDL.
3896 (ruby-font-lock-keywords): Move old handling of GDL...
3897 (ruby-font-lock-syntactic-keywords): .. to here.
3898 (ruby-calculate-indent): Adjust indentation for GDL.
3899
3900 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
3901
3902 * notifications.el (top): Remove unneeded declarations.
3903 (notifications-specification-version): Change to "1.2".
3904 (notifications-interface, notifications-notify-method)
3905 (notifications-close-notification-method): Fix docstring.
3906 (notifications-get-capabilities-method): New defconst.
3907 (notifications-notify): Add :action-items, :resident and
3908 :transient hints. Change "image_data" to "image-data" and
3909 "image_path" to "image-path".
3910 (notifications-get-capabilities): New defun.
3911
3912 2012-04-24 Leo Liu <sdl.web@gmail.com>
3913
3914 * progmodes/python.el: Move hideshow setup to the end.
3915
3916 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3917
3918 * window.el (handle-select-window): Clear echo area since this is
3919 no more done by read_char (Bug#11304).
3920
3921 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3924 and `/ M' to filter-derived-mode.
3925 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3926 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3927 (ibuffer-mark-by-mode): Use default rather than initial-input.
3928 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3929
3930 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3931
3932 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3933 (ibuffer-filter-by-derived-mode): New filter.
3934 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3935
3936 2012-04-23 Andreas Politz <politza@fh-trier.de>
3937
3938 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3939
3940 2012-04-23 Chong Yidong <cyd@gnu.org>
3941
3942 * cus-edit.el (customize-apropos, customize-apropos-options):
3943 Disable matching of non-option variables (Bug#11176).
3944 (customize-option, customize-option-other-window)
3945 (customize-changed-options): Doc fix.
3946 (customize-apropos-options, customize-apropos-faces)
3947 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3948
3949 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3950 Fix word list splitting (Bug#11132).
3951 (apropos-symbol, apropos-keybinding, apropos-label)
3952 (apropos-property, apropos-function-button)
3953 (apropos-variable-button, apropos-misc-button): New faces.
3954 (apropos-symbol-face, apropos-keybinding-face)
3955 (apropos-label-face, apropos-property-face, apropos-match-face):
3956 Variables removed (Bug#8396).
3957 (apropos-library-button, apropos-format-plist, apropos-print)
3958 (apropos-print-doc, apropos-describe-plist): Callers changed.
3959
3960 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3961
3962 * net/xesam.el (xesam-mode-map): Use let-bound map in
3963 initialization. (Bug#11292)
3964
3965 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3966
3967 Preserve ispell session localwords when switching back to
3968 original buffer.
3969
3970 * textmodes/ispell.el (ispell-buffer-session-localwords):
3971 New buffer-local variable to hold buffer session localwords.
3972 (ispell-kill-ispell): Add option 'clear to delete session
3973 localwords.
3974 (ispell-command-loop, ispell-change-dictionary)
3975 (ispell-buffer-local-words): Preserve session localwords when
3976 needed.
3977
3978 * textmodes/flyspell.el (flyspell-process-localwords)
3979 (flyspell-do-correct): Preserve session localwords when needed.
3980
3981 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3982
3983 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3984 using obsolete `translation-table-for-input'.
3985 (ispell-word, ispell-process-line, ispell-complete-word):
3986 Use plain `insert' instead of removed `ispell-insert-word'.
3987
3988 2012-04-22 Chong Yidong <cyd@gnu.org>
3989
3990 * cus-edit.el (custom-variable-menu)
3991 (custom-variable-reset-saved, custom-face-menu)
3992 (custom-face-reset-saved): If there is no saved value, make the
3993 "reset-saved" operation bring back the default (Bug#9509).
3994 (custom-face-state): Properly detect themed faces.
3995
3996 * faces.el (face-spec-set): Stop supporting deprecated form of
3997 third arg.
3998
3999 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4000
4001 Move functions from C to Lisp. Make non-blocking method calls
4002 the default. Implement further D-Bus standard interfaces.
4003
4004 * net/dbus.el (dbus-message-internal): Declare function.
4005 Remove unneeded function declarations.
4006 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4007 (dbus-message-type-method-return, dbus-message-type-error)
4008 (dbus-message-type-signal): Declare variables. Remove local
4009 definitions.
4010 (dbus-interface-dbus, dbus-interface-peer)
4011 (dbus-interface-introspectable, dbus-interface-properties)
4012 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4013 Adapt docstring.
4014 (dbus-interface-objectmanager): New defconst.
4015 (dbus-call-method, dbus-call-method-asynchronously)
4016 (dbus-send-signal, dbus-method-return-internal)
4017 (dbus-method-error-internal, dbus-register-service)
4018 (dbus-register-signal, dbus-register-method): New defuns, moved
4019 from dbusbind.c
4020 (dbus-call-method-handler, dbus-setenv)
4021 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4022 New defuns.
4023 (dbus-call-method-non-blocking): Make it an obsolete function.
4024 (dbus-unregister-object, dbus-unregister-service)
4025 (dbus-handle-event, dbus-register-property)
4026 (dbus-property-handler): Obey the new structure of
4027 `bus-registered-objects'.
4028 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4029 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4030 Use `dbus-call-method'.
4031
4032 2012-04-22 Chong Yidong <cyd@gnu.org>
4033
4034 * cus-edit.el (custom-commands, custom-reset-menu)
4035 (Custom-reset-standard): Tweak labels.
4036 (custom-reset-button-menu): Change default to t.
4037 (custom-buffer-create-internal): For the custom-reset-button-menu
4038 case, put the revert button first.
4039 (custom-group-subtitle): New face.
4040 (custom-group-value-create): Align docstring to a specific column.
4041
4042 * wid-edit.el (widget-documentation-link-add): Don't handle
4043 indentation in this function.
4044 (widget-documentation-string-indent-to): New function.
4045 (widget-documentation-string-value-create): Use it.
4046
4047 * autorevert.el (auto-revert):
4048 * epg-config.el (epg):
4049 * ibuffer.el (ibuffer):
4050 * mpc.el (mpc):
4051 * ses.el (ses):
4052 * eshell/eshell.el (eshell):
4053 * net/ange-ftp.el (ange-ftp):
4054 * progmodes/ebnf2ps.el (postscript):
4055 * progmodes/flymake.el (flymake):
4056 * progmodes/prolog.el (prolog):
4057 * progmodes/verilog-mode.el (verilog-mode):
4058 * progmodes/which-func.el (which-func):
4059 * term/xterm.el (xterm):
4060 * textmodes/picture.el (picture):
4061 * textmodes/tildify.el (tildify):
4062 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4063 customization buffers.
4064
4065 2012-04-22 Alan Mackenzie <acm@muc.de>
4066
4067 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4068 Adding a ) can hide the resulting (..) from searches. Fix it.
4069 Bound the backward search to the position of the existing (.
4070
4071 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4072
4073 * progmodes/verilog-mode.el (verilog-mode): Check whether
4074 which-func-modes is t before adding verilog-mode.
4075 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4076
4077 2012-04-21 Leo Liu <sdl.web@gmail.com>
4078
4079 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4080
4081 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4082
4083 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4084 filling of the last column of a table (Bug#5635).
4085 (woman-find-next-control-line): New arg, specifying an additional
4086 regexp component for the control line.
4087 (woman2-roff-buffer): Use it.
4088 (woman-break-table): New function.
4089 (woman2-TS): Use it.
4090
4091 2012-04-21 Chong Yidong <cyd@gnu.org>
4092
4093 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4094 (woman-horizontal-escapes, woman-negative-vertical-space)
4095 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4096 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4097
4098 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * minibuffer.el (completion-file-name-table): Complete user names.
4101
4102 2012-04-20 Leo Liu <sdl.web@gmail.com>
4103
4104 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4105 and pcase-let*.
4106
4107 2012-04-20 Chong Yidong <cyd@gnu.org>
4108
4109 * server.el (server-execute): Respect initial-buffer-choice if it
4110 is a string and there are no files to open (Bug#2825).
4111 (server-create-window-system-frame, server-create-tty-frame):
4112 Don't switch buffers here.
4113 (server-process-filter): Only try to open a window system frame if
4114 compiled with graphical support (Bug#8314).
4115
4116 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4117
4118 * battery.el (battery-echo-area-format): Display remaining time
4119 for sysfs backend too (Bug#11269).
4120 (battery-linux-sysfs): Fix conditional for the charge.
4121
4122 2012-04-20 Chong Yidong <cyd@gnu.org>
4123
4124 * progmodes/gdb-mi.el (gdb): Revert previous change.
4125 (gdb-inferior-io--init-proc): New function.
4126 (gdb-init-1): Use it.
4127 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4128 responsible for allocating a new pty and hooking it to gdb when
4129 the old pty gets an EIO due to process exit.
4130 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4131 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4132 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4133
4134 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4135
4136 * window.el (window-min-size, window-sizable, window-min-delta)
4137 (window-max-delta, window--resizable, window-resizable)
4138 (window-total-size, window-full-height-p, window-full-width-p)
4139 (window-in-direction, window--resize-mini-window, window-resize)
4140 (window--resize-child-windows-normal)
4141 (window--resize-child-windows, window--resize-siblings)
4142 (window--resize-this-window, adjust-window-trailing-edge)
4143 (enlarge-window, shrink-window): Doc fixes.
4144
4145 2012-04-20 Chong Yidong <cyd@gnu.org>
4146
4147 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4148 New function to call delete-process on the gdb-inferior buffer's pty.
4149 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4150 pty process (Bug#11273).
4151 (gdb-update): New arg to suppress talking to the gdb process.
4152 (gdb-done-or-error): Use it.
4153 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4154 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4155 sentinel not being called.
4156
4157 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4158
4159 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4160
4161 2012-04-20 Glenn Morris <rgm@gnu.org>
4162
4163 * net/network-stream.el (open-network-stream): Doc fix.
4164
4165 2012-04-20 Chong Yidong <cyd@gnu.org>
4166
4167 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4168
4169 2012-04-20 Alan Mackenzie <acm@muc.de>
4170
4171 Ensure searching for keywords is case sensitive.
4172
4173 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4174 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4175 (c-defun-name, c-mark-function, c-cpp-define-name)
4176 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4177 (c-context-line-break): Bind case-fold-search to nil.
4178
4179 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4180 Bind case-fold-search to nil.
4181
4182 2012-04-20 Chong Yidong <cyd@gnu.org>
4183
4184 * mail/sendmail.el (mail-bury): Call return action with the right
4185 Rmail buffer (Bug#11242).
4186
4187 * server.el (server-process-filter): Handle corner case where both
4188 tty and nowait options are present (Bug#11102).
4189
4190 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4191
4192 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4193 (top level): Put into the executable the ident-style '$Id:' tag on
4194 windows-nt as well.
4195
4196 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * electric.el (electric-indent-post-self-insert-function): Check that
4199 electric-indent-mode is enabled in current buffer.
4200
4201 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4202
4203 * imenu.el (imenu-progress-message): Restore; it is "used" in
4204 erc/erc-imenu.el and net/snmp-mode.el.
4205
4206 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4207
4208 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4209 (mouse-avoidance-nudge-mouse): Remove unused binding.
4210
4211 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4212
4213 * descr-text.el (describe-char):
4214 * progmodes/python.el (python-describe-symbol):
4215 Don't call `toggle-read-only', set `buffer-read-only'.
4216
4217 * imenu.el (imenu-default-goto-function): Mark unused args.
4218 (imenu-progress-message): Remove obsolete macro; all callers changed.
4219
4220 * subr.el (keymap-canonicalize): Remove unused binding.
4221 (read-passwd): Mark unused arg.
4222
4223 * tutorial.el (tutorial--display-changes): Remove unused binding.
4224 (tutorial--save-tutorial-to): Remove unused variable.
4225
4226 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4227 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4228 (package-generate-autoloads, package-menu--generate)
4229 (package-menu--find-upgrades): Remove unused bindings.
4230
4231 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4232 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4233 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4234 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4235 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4236 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4237 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4238 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4239 (cua-delete-char-rectangle): Mark unused args.
4240 (cua-align-rectangle): Remove unused binding.
4241
4242 * mail/rmail.el (compilation--message->loc)
4243 (epa--find-coding-system-for-mime-charset): Declare.
4244
4245 * net/dbus.el (dbus-register-service): Declare.
4246 (dbus-name-owner-changed-handler): Remove unused binding.
4247
4248 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4249 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4250 (nxml-scan-backward-within): Mark unused arg.
4251 (nxml-dynamic-markup-word): Remove unused binding.
4252
4253 * mouse.el (mouse-menu-major-mode-map):
4254 * emacs-lisp/authors.el (authors-scan-change-log)
4255 (authors-add-to-author-list):
4256 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4257 * emacs-lisp/smie.el (smie-auto-fill):
4258 * mail/sendmail.el (mail-bury):
4259 * mail/unrmail.el (unrmail):
4260 * net/tls.el (open-tls-stream):
4261 * textmodes/picture.el (picture-mouse-set-point):
4262 Remove unused bindings.
4263
4264 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4265
4266 * net/tramp.el (tramp-action-password): Let-bind
4267 `enable-recursive-minibuffers' to t.
4268
4269 2012-04-18 Sam Steingold <sds@gnu.org>
4270
4271 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4272 instead of 'string to accommodate values like [f11].
4273 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4274 * progmodes/gdb-mi.el: Likewise.
4275
4276 2012-04-18 Leo Liu <sdl.web@gmail.com>
4277
4278 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4279 current buffer.
4280 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4281 LOCAL is nil.
4282
4283 2012-04-18 Chong Yidong <cyd@gnu.org>
4284
4285 * simple.el (line-move): Use forward-line if in batch mode
4286 (Bug#11053).
4287
4288 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4289
4290 * files.el (after-find-file): Do not try to add a final newline if
4291 the buffer is read-only (Bug#11156).
4292
4293 2012-04-17 Richard Stallman <rms@gnu.org>
4294
4295 * mail/rmail.el (rmail-start-mail):
4296 Pass (rmail-mail-return...) for the return-action.
4297 Pass (rmail-yank-current-message...) for the yank-action.
4298 (rmail-yank-current-message): New function.
4299 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4300 (rmail-reply): Likewise.
4301 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4302
4303 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4304 buffer, not the last. Reject temp buffers. Use the rmail-mode
4305 buffer, not newbuf.
4306
4307 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4308
4309 * server.el (server-ensure-safe-dir): Simplify.
4310
4311 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * emacs-lisp/smie.el: Provide smarter auto-filling.
4314 (smie-auto-fill): New function.
4315 (smie-setup): Use it.
4316
4317 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4318
4319 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4320
4321 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4322 (comment-indent): Use it.
4323
4324 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4325
4326 * ses.el: The overall change is to add cell renaming, that is
4327 setting fancy names for cell symbols other than name matching
4328 "\\`[A-Z]+[0-9]+\\'" regexp .
4329 (ses-localvars): Add ses--renamed-cell-symb-list.
4330 (ses-create-cell-variable): New defun.
4331 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4332 (ses-relocate-formula): Relocate formulas only for cells the
4333 symbols of which are not renamed, i.e. symbols whose names do not
4334 match regexp "\\`[A-Z]+[0-9]+\\'".
4335 (ses-relocate-all): Relocate values only for cells the symbols of
4336 which are not renamed.
4337 (ses-load): Create cells variables as the (ses-cell ...) are read,
4338 in order to check row col consistency with cell symbol name only
4339 for cells that are not renamed.
4340 (ses-replace-name-in-formula): New defun.
4341 (ses-rename-cell): New defun.
4342
4343 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4344
4345 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4346 New option (bug#11118).
4347 (perl-calculate-indent): Respect it.
4348
4349 2012-04-17 Glenn Morris <rgm@gnu.org>
4350
4351 * dired-aux.el (dired-mark-read-string): Doc fix.
4352
4353 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4354
4355 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4356 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4357
4358 2012-04-17 Glenn Morris <rgm@gnu.org>
4359
4360 * mouse.el (mouse-drag-track):
4361 * speedbar.el (speedbar-frame-mode):
4362 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4363
4364 2012-04-16 Leo Liu <sdl.web@gmail.com>
4365
4366 * progmodes/python.el: Trivial cleanup.
4367
4368 2012-04-16 Glenn Morris <rgm@gnu.org>
4369
4370 * vc/vc.el (vc-string-prefix-p):
4371 * vc/pcvs-util.el (cvs-string-prefix-p):
4372 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4373 * mpc.el (mpc-string-prefix-p):
4374 Make all of these into obsolete aliases for string-prefix-p.
4375 Update callers.
4376 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4377
4378 * textmodes/two-column.el: Move custom options to the start.
4379 (frame-width): Remove compat definition.
4380 (2C-associate-buffer, 2C-dissociate):
4381 Use with-current-buffer rather than save-excursion.
4382 (2C-dissociate): Force a mode-line update.
4383 (2C-autoscroll): Use ignore-errors.
4384
4385 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4386 Autoload trivia.
4387
4388 * emacs-lisp/cl-extra.el (*random-state*):
4389 Remove unnecessary declaration.
4390
4391 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4392
4393 * play/cookie1.el (cookie-snarf):
4394 Give an explicit error if input file cannot be read.
4395
4396 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4397
4398 * progmodes/perl-mode.el (c-macro-expand):
4399 Remove unnecessary autoload (it is in loaddefs.el).
4400
4401 * textmodes/picture.el (picture-desired-column)
4402 (picture-update-desired-column): Convert comments to doc-strings.
4403 (picture-substitute): Remove function.
4404 (picture-mode-map): Initialize in the defvar.
4405
4406 * woman.el: Remove eval-after-load for tar-mode.
4407 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4408 (woman-tar-extract-file): Autoload it.
4409
4410 * frame.el (automatic-hscrolling): Make this alias obsolete.
4411
4412 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4413
4414 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4415 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4416 (ispell-dictionary-base-alist): Revert to original XEmacs
4417 friendly version for default. [:alpha:] will be added in
4418 `ispell-set-spellchecker-params' if needed.
4419
4420 2012-04-16 Chong Yidong <cyd@gnu.org>
4421
4422 * image.el (imagemagick--file-regexp): New variable.
4423 (imagemagick-register-types): Use it.
4424 (imagemagick-types-inhibit): Add :set function. Allow new value
4425 of t to inhibit all types.
4426
4427 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4428 so we can preload it.
4429
4430 * loadup.el (fboundp): Preload regexp-opt, needed by
4431 imagemagick-register-types.
4432
4433 2012-04-15 Chong Yidong <cyd@gnu.org>
4434
4435 * frame.el (scrolling): Remove nearly unused customization group.
4436
4437 * scroll-all.el (scroll-all-mode): Move to windows group.
4438
4439 2012-04-15 Chong Yidong <cyd@gnu.org>
4440
4441 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4442
4443 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4444
4445 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4446 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4447
4448 2012-04-15 Glenn Morris <rgm@gnu.org>
4449
4450 * simple.el (process-file-side-effects): Doc fix.
4451
4452 2012-04-15 Glenn Morris <rgm@gnu.org>
4453
4454 * international/mule-cmds.el (set-language-environment): Doc fix.
4455
4456 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4457
4458 * server.el (server-auth-key, server-generate-key): Doc fixes.
4459 (server-get-auth-key): Doc fix. Use `string-match-p'.
4460 (server-start): Reflow docstring.
4461
4462 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4463
4464 * server.el (server-generate-key): `called-interactively-p'
4465 requires a parameter.
4466
4467 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4468
4469 * server.el (server-auth-key): New variable.
4470 (server-generate-key, server-get-auth-key): New function.
4471 (server-start): Use the new variable and functions to allow
4472 setting a permanent server key (bug#9423).
4473
4474 2012-04-14 Leo Liu <sdl.web@gmail.com>
4475
4476 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4477
4478 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4479
4480 Spelling fixes.
4481 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4482 Emacs uses American spelling.
4483
4484 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4485
4486 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4487 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4488 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4489 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4490
4491 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * progmodes/which-func.el (which-func-modes): Change default.
4494
4495 2012-04-14 Kim F. Storm <storm@cua.dk>
4496
4497 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4498 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4499
4500 2012-04-14 Chong Yidong <cyd@gnu.org>
4501
4502 * custom.el (custom-theme-set-variables): Doc fix.
4503
4504 2012-04-14 Glenn Morris <rgm@gnu.org>
4505
4506 * international/mule.el (set-auto-coding-for-load): Doc fix.
4507
4508 2012-04-14 Alan Mackenzie <acm@muc.de>
4509
4510 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4511 imenu work again for Objective C Mode. Correct the *-index values,
4512 these having been disturbed by a previous change in 2011-08.
4513
4514 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4515 Correct two search limits.
4516
4517 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4520
4521 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4522
4523 * international/characters.el: Fix sorting.
4524
4525 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4526
4527 * international/characters.el: Add more missing Latin case pairs.
4528
4529 2012-04-14 Glenn Morris <rgm@gnu.org>
4530
4531 * files.el (dir-locals-set-class-variables): Doc fix.
4532
4533 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4534
4535 * international/characters.el: Add set-case-syntax-pair call for
4536 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4537 counterpart. (Bug#11209)
4538
4539 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4540
4541 2012-04-14 Glenn Morris <rgm@gnu.org>
4542
4543 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4544
4545 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4546
4547 * textmodes/ispell.el (ispell-dictionary-base-alist):
4548 Add data for Hebrew.
4549
4550 2012-04-14 Chong Yidong <cyd@gnu.org>
4551
4552 * net/rcirc.el (rcirc-cmd-quit):
4553 Revert 2012-03-18 change (Bug#11192).
4554
4555 2012-04-14 Glenn Morris <rgm@gnu.org>
4556
4557 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4558
4559 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4560
4561 * minibuffer.el (completion-in-region-mode-map):
4562 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
4563
4564 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4565
4566 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4567
4568 2012-04-13 Masatake YAMATO <yamato@redhat.com>
4569
4570 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4571 to allow `C-M-f' and `C-M-b' to move to the nearest path
4572 separator (bug#9511).
4573
4574 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4575
4576 * avoid.el: Require cl when compiling. And also move the
4577 `provide' to the end.
4578
4579 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4580
4581 * avoid.el (mouse-avoidance-banish-position): New variable.
4582 (mouse-avoidance-banish-destination): Use it (bug#10165).
4583
4584 2012-04-13 Leo Liu <sdl.web@gmail.com>
4585
4586 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4587
4588 2012-04-13 Ken Brown <kbrown@cornell.edu>
4589
4590 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4591 this is no longer needed now that cygstart understands file:// URLs.
4592 (browse-url-filename-alist): For the same reason, don't modify
4593 file:// URLs on Cygwin.
4594
4595 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4596
4597 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4598 the region on shift if the binding is already shifted (bug#11221).
4599
4600 2012-04-12 Glenn Morris <rgm@gnu.org>
4601
4602 * mail/mailpost.el: Move to obsolete/.
4603
4604 2012-04-12 Drew Adams <drew.adams@oracle.com>
4605
4606 * imenu.el (imenu--generic-function): Ignore invisible definitions
4607 (bug#10123).
4608
4609 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4610
4611 * hexl.el (hexl-bits): New variable.
4612 (hexl-options): Mention the variable in the doc string.
4613 (hexl-rulerise, hexl-line-displen): New functions.
4614 (hexl-mode): Mention the new variable.
4615 (hexl-mode, hexl-current-address, hexl-current-address):
4616 Use the displen.
4617 (hexl-ascii-start-column): New function.
4618 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4619 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4620
4621 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4622
4623 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4624 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4625 the encoding, as expected by hunspell.
4626
4627 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * battery.el (battery--linux-sysfs-regexp): New const.
4630 (battery-status-function): Use it. Remove yeeloong special case.
4631 (battery-yeeloong-sysfs): Remove.
4632 (battery-echo-area-format): Remove yeeloong special case.
4633
4634 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4637 Reported by Noah Friedman.
4638
4639 * subr.el (read-passwd): Use read-string.
4640
4641 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4642
4643 * vcursor.el (vcursor-move): Increase the priority of the overlay
4644 (bug#9663).
4645
4646 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4647
4648 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4649 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4650
4651 2012-04-11 William Stevenson <yhvh2000@gmail.com>
4652
4653 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4654 define-minor-mode (bug#10760).
4655
4656 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4657
4658 * progmodes/grep.el (rgrep): Tweak the find command line so
4659 that directories matching `grep-find-ignored-files' won't be
4660 pruned (bug#10351).
4661
4662 2012-04-11 Chong Yidong <cyd@gnu.org>
4663
4664 * startup.el (command-line): Remove support for long-obsolete
4665 variable font-lock-face-attributes.
4666
4667 2012-04-11 Glenn Morris <rgm@gnu.org>
4668
4669 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4670
4671 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * window.el (window--state-get-1): Obey window-point-insertion-type.
4674
4675 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4676
4677 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4678 to previous function when point is on the first character of a
4679 function. Take care of that in `narrow-to-defun' (bug#6157).
4680
4681 2012-04-11 Glenn Morris <rgm@gnu.org>
4682
4683 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4684 not just file-errors.
4685
4686 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4687 (vc-bzr-sha1): Use internal sha1.
4688
4689 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4692
4693 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4694
4695 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4696 that start in the middle of the line (bug#10496).
4697
4698 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4699
4700 * battery.el (battery-linux-proc-acpi): Only one battery is
4701 discharged at a time, but that seems to confuse battery.el when
4702 computing `rate-type' for the battery not being discharged
4703 (bug#10332).
4704
4705 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4708
4709 * international/quail.el: Use dolist and simplify.
4710 (quail-define-package, quail-update-keyboard-layout)
4711 (quail-define-rules): Use dolist.
4712 (quail-insert-kbd-layout, quail-get-translation): CSE.
4713
4714 * tmm.el: Use dolist, remove left over hook.
4715 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4716 Use dolist.
4717 (calendar-load-hook): Don't mess with it.
4718
4719 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4720 Use derived-mode-p. Run the diff asynchronously.
4721
4722 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4723
4724 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4725
4726 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4727
4728 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4729 (list-dynamic-libraries--loaded): New function.
4730 (list-dynamic-libraries--refresh): Use it.
4731
4732 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4733
4734 * progmodes/python.el (python-fill-paragraph):
4735 Make python-fill-region in a multiline string work when font-lock is
4736 disabled (bug#7018).
4737
4738 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4739
4740 * language/european.el (cp775): Add oem/legacy (en)coding on
4741 DOS/MS Windows for the Baltic languages. There are still plenty
4742 of texts written in this encoding/codepage (bug#6519).
4743
4744 2012-04-10 Glenn Morris <rgm@gnu.org>
4745
4746 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4747 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4748
4749 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4750
4751 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4752 next-line "n" and previous-line "p" in order to make recentf more
4753 consistent with ibuffer, dired or org-mode (bug#9387).
4754
4755 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4756
4757 * image.el (put-image): Return the overlay created instead of the
4758 optional input string (bug#7834). Note that this may break code
4759 that is (for some reason or other) depending on `put-image'
4760 returning the string.
4761
4762 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4763
4764 * simple.el (zap-to-char): Allow zapping using input methods
4765 (bug#1580).
4766
4767 * textmodes/fill.el (fill-region): Leave point and mark where they
4768 were before filling (bug#5399).
4769
4770 2012-04-09 Glenn Morris <rgm@gnu.org>
4771
4772 * version.el (emacs-bzr-get-version):
4773 Handle lightweight checkouts of local branches.
4774
4775 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4776
4777 * international/characters.el: Recover lost case pairs. (Bug#11209)
4778
4779 2012-04-09 Chong Yidong <cyd@gnu.org>
4780
4781 * custom.el (custom-variable-p): Return nil for non-symbol
4782 arguments instead of signaling an error.
4783 (user-variable-p): Obsolete alias for custom-variable-p.
4784
4785 * apropos.el (apropos-variable):
4786 * files-x.el (read-file-local-variable):
4787 * simple.el (set-variable):
4788 * woman.el (woman-mini-help):
4789 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4790
4791 2012-04-09 Glenn Morris <rgm@gnu.org>
4792
4793 * startup.el (normal-top-level): Don't look for leim-list.el
4794 in places where it will not be found. (Bug#910)
4795
4796 * international/mule-cmds.el (set-default-coding-systems):
4797 * files.el (normal-mode):
4798 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4799 This function was removed with ucs-tables.el in 2008.
4800
4801 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4802
4803 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4804 ispell-encoding8-command to "-i", without a trailing space.
4805 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4806 separate command-line arguments, to specify the encoding, since
4807 that's how hunspell expects it.
4808
4809 2012-04-08 Glenn Morris <rgm@gnu.org>
4810
4811 * loadup.el: Load bindings before cus-start.
4812 This reduces somewhat the number of "rogue" settings in emacs -Q.
4813
4814 2012-04-07 Glenn Morris <rgm@gnu.org>
4815
4816 * version.el (emacs-bzr-get-version): New function.
4817 (emacs-bzr-version): New variable.
4818 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4819 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4820
4821 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4822
4823 * international/uni-bidi.el, international/uni-category.el:
4824 * international/uni-combining.el, international/uni-decimal.el:
4825 * international/uni-decomposition.el, international/uni-digit.el:
4826 * international/uni-lowercase.el, international/uni-mirrored.el:
4827 * international/uni-name.el, international/uni-numeric.el:
4828 * international/uni-titlecase.el, international/uni-uppercase.el:
4829 Update for Unicode 6.1.
4830
4831 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4832
4833 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4834
4835 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4836
4837 * window.el (shrink-window): Mention the `window-min-height'
4838 variable in the doc string.
4839
4840 2012-04-05 Bastien Guerry <bzg@altern.org>
4841
4842 * color.el (color-lighten-name): Fix typo.
4843
4844 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * server.el (server--on-display-p): New function.
4847 (server--on-display-p): Use it.
4848
4849 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4850
4851 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4852 (bug#11145).
4853
4854 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * comint.el (comint--common-quoted-suffix): Check string boundary
4857 before comparing (bug#11158).
4858 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4859
4860 2012-04-04 Chong Yidong <cyd@gnu.org>
4861
4862 * minibuffer.el (completion-extra-properties): Doc fix.
4863
4864 * subr.el (delayed-warnings-hook): Doc fix.
4865
4866 2012-04-04 Daiki Ueno <ueno@unixuser.org>
4867
4868 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4869 selection (Bug#11159).
4870 (epa-insert-keys): Inform that the default public key will be
4871 exported if no key is selected.
4872
4873 2012-04-04 Richard Stallman <rms@gnu.org>
4874
4875 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4876
4877 2012-04-03 Chong Yidong <cyd@gnu.org>
4878
4879 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4880 mail-insert-file, not its obsolete alias mail-attach-file.
4881
4882 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
4883
4884 * notifications.el (notifications-notify): Fix docstring.
4885
4886 2012-04-02 Glenn Morris <rgm@gnu.org>
4887
4888 * emacs-lisp/authors.el (authors-aliases): Another addition.
4889
4890 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
4891
4892 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4893 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4894 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4895
4896 2012-04-01 Chong Yidong <cyd@gnu.org>
4897
4898 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4899 Handle root directory properly.
4900 (copy-directory): Caller changed.
4901
4902 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4903 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4904
4905 2012-03-31 Glenn Morris <rgm@gnu.org>
4906
4907 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4908
4909 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4910
4911 * calendar/calendar.el (calendar-window-list)
4912 (calendar-hide-window): Restore. (Bug#11140)
4913 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4914
4915 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4916
4917 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4918
4919 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4920 Check if file is a symlink (Bug#10489).
4921
4922 * files.el (copy-directory): Likewise.
4923
4924 2012-03-30 Chong Yidong <cyd@gnu.org>
4925
4926 * image.el (imagemagick-types-inhibit)
4927 (imagemagick-register-types): Doc fix.
4928
4929 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4930
4931 * textmodes/ispell.el (ispell-get-extended-character-mode):
4932 Disable extended-char-mode for hunspell. hunspell does not support it
4933 and treats ~word as ordinary words in pipe mode.
4934
4935 2012-03-30 Glenn Morris <rgm@gnu.org>
4936
4937 * tutorial.el (help-with-tutorial): Ensure local variables don't
4938 happen to make the buffer read-only. (Bug#11127)
4939
4940 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4943 (perl-calculate-indent): Return `noindent' in strings.
4944
4945 2012-03-28 Sam Steingold <sds@gnu.org>
4946
4947 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4948 instead of the broken adhockery which does not prevent calendar
4949 buffers from being displayed at random after exit.
4950 (calendar-window-list, calendar-hide-window): Remove the broken
4951 adhockery.
4952
4953 2012-03-28 Glenn Morris <rgm@gnu.org>
4954
4955 * replace.el (query-replace-map): Doc fix.
4956
4957 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4958
4959 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4960 contents. (Bug#11109)
4961
4962 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4965 (bug#11077).
4966 (avl-tree--check, avl-tree--check-node): New funs.
4967
4968 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4969
4970 * window.el (switch-to-visible-buffer): New option.
4971 (switch-to-prev-buffer, switch-to-next-buffer):
4972 Observe switch-to-visible-buffer. Make sure that checking for a window
4973 showing a buffer already is done on the same frame.
4974
4975 2012-03-27 Glenn Morris <rgm@gnu.org>
4976
4977 * startup.el (mail-host-address): Doc fix.
4978
4979 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4982 than 197 variables.
4983
4984 2012-03-26 Ami Fischman <ami@fischman.org>
4985
4986 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4987
4988 2012-03-26 Glenn Morris <rgm@gnu.org>
4989
4990 * files.el (save-buffers-kill-emacs): Doc fix.
4991
4992 * startup.el (normal-top-level, command-line, command-line-1):
4993 Give them doc strings.
4994
4995 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4996
4997 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4998 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4999
5000 2012-03-25 Chong Yidong <cyd@gnu.org>
5001
5002 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5003 theme if it was previously enabled before (Bug#11031).
5004
5005 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5006 spec with custom-face-get-current-spec if its :shown-value is not
5007 determined yet (Bug#9337).
5008 (customize-create-theme, custom-theme-revert): Doc fixes.
5009
5010 * button.el (button-at): Minor addition to docstring.
5011
5012 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5013
5014 * vc/vc.el (vc-merge): Fix a prompt.
5015
5016 2012-03-24 Chong Yidong <cyd@gnu.org>
5017
5018 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5019 point (Bug#9623).
5020
5021 * button.el (button-at): Minor addition to docstring.
5022
5023 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5024
5025 * newcomment.el (comment-choose-indent): No space after BOL.
5026
5027 2012-03-22 Sam Steingold <sds@gnu.org>
5028
5029 * window.el (switch-to-prev-buffer): Revert last patch because the
5030 bug turned out to be an advertised feature (Elisp manual 28.14).
5031
5032 2012-03-22 Glenn Morris <rgm@gnu.org>
5033
5034 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5035 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5036
5037 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5038
5039 * net/network-stream.el (network-stream-open-starttls): Make error
5040 message under Windows be less misleading.
5041
5042 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5043
5044 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5045 understands (bug#9942).
5046
5047 2012-03-22 Chong Yidong <cyd@gnu.org>
5048
5049 * simple.el (end-of-visible-line): Handle return value of
5050 next-single-property-change properly (Bug#9371).
5051
5052 2012-03-22 Kenichi Handa <handa@m17n.org>
5053
5054 * international/quail.el (quail-insert-kbd-layout): Fix previous
5055 change. To avoid unwanted bidi reordering, use
5056 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5057
5058 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5059
5060 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5061 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5062 (ruby-beginning-of-indent): Be more careful with the difference
5063 between word-boundary and symbol boundary.
5064 (ruby-mode-syntax-table): Make : a symbol constituent.
5065
5066 2012-03-21 Andreas Politz <politza@fh-trier.de>
5067
5068 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5069
5070 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * progmodes/etags.el (tags-completion-at-point-function):
5073 Improve last fix.
5074
5075 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5076
5077 2012-03-21 Sam Steingold <sds@gnu.org>
5078
5079 * progmodes/etags.el (tags-completion-at-point-function):
5080 Avoid the error when point is inside the pattern.
5081
5082 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5083
5084 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5085 line (Bug#10855).
5086
5087 2012-03-21 Drew Adams <drew.adams@oracle.com>
5088
5089 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5090
5091 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5092
5093 * ido.el (ido-set-current-directory, ido-read-internal)
5094 (ido-choose-completion-string, ido-completion-help): Handle nil
5095 value of ido-completion-buffer (Bug#11008).
5096
5097 2012-03-21 Sam Steingold <sds@gnu.org>
5098
5099 * window.el (switch-to-prev-buffer): Do not switch to a visible
5100 window previous buffer, just like with the frame previous buffers.
5101
5102 2012-03-21 Chong Yidong <cyd@gnu.org>
5103
5104 * faces.el (make-face, make-empty-face, copy-face):
5105 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5106 Doc fixes.
5107
5108 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5111 (widget-complete): Remove broken use of it.
5112
5113 2012-03-20 Chong Yidong <cyd@gnu.org>
5114
5115 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5116 Use string-width and truncate-string-width to handle arbitrary
5117 characters.
5118
5119 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5120
5121 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5122 to draw rectangles, not squares. (Regression introduced by revno
5123 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5124
5125 2012-03-18 Chong Yidong <cyd@gnu.org>
5126
5127 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5128 it is not yet defined (for temacs).
5129
5130 2012-03-18 Leo Liu <sdl.web@gmail.com>
5131
5132 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5133
5134 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5135
5136 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5137 (ispell-choices-win-default-height, ispell-silently-savep)
5138 (ispell-dictionary-alist, ispell-encoding8-command)
5139 (ispell-check-version, ispell-aspell-find-dictionary)
5140 (ispell-valid-dictionary-list, ispell-words-keyword)
5141 (ispell-get-word, ispell-internal-change-dictionary)
5142 (ispell-region, ispell-skip-region-list)
5143 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5144 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5145 (ispell-message-text-end, ispell-message)
5146 (ispell-buffer-local-parsing): Doc fix.
5147
5148 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5149
5150 * htmlfontify.el: Add support for code block fontification for ODT
5151 export (Bug #9914).
5152 (hfy-optimisations): Define new option
5153 `body-text-only'
5154 (hfy-fontify-buffer): Honor above setting.
5155 (hfy-begin-span, hfy-end-span): New routines factored out form
5156 `hfy-fontify-buffer'.
5157 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5158 that permit insertion of custom tags.
5159 (hfy-fontify-buffer): Use above handlers.
5160 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5161 (hfy-face-to-css): Re-defined to be a variable.
5162 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5163 over multiple runs. This is made possible by having the caller let
5164 bind a special variable `hfy-user-sheet-assoc'.
5165 (htmlfontify-string): New defun.
5166 (hfy-compile-face-map): Make sure that the last char in the
5167 buffer is correctly fontified.
5168 (hfy-face-resolve-face): Whitespace only change.
5169
5170 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5171
5172 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5173 message more clear.
5174
5175 2012-03-16 Leo Liu <sdl.web@gmail.com>
5176
5177 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5178
5179 2012-03-16 Alan Mackenzie <acm@muc.de>
5180
5181 Further optimise the handling of large macros.
5182
5183 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5184 limit to a call of `c-literal-limits'.
5185 (c-determine-+ve-limit): New function.
5186 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5187 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5188 In CASE 5B, restrict a search limit to 500.
5189 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5190
5191 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5192 Restrict macro bounds to +-500 from after-change's BEG END.
5193
5194 2012-03-16 Leo Liu <sdl.web@gmail.com>
5195
5196 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5197
5198 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5199
5200 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5201 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5202
5203 2012-03-16 Glenn Morris <rgm@gnu.org>
5204
5205 * view.el (view-buffer, view-buffer-other-window)
5206 (view-buffer-other-frame): Doc fixes re special mode-class.
5207
5208 * subr.el (eval-after-load): If named feature is provided not from
5209 a file, run after-load forms. (Bug#10946)
5210
5211 * calendar/calendar.el (calendar-insert-at-column):
5212 Handle non-unit-width characters a bit better. (Bug#10978)
5213
5214 2012-03-15 Chong Yidong <cyd@gnu.org>
5215
5216 * emacs-lisp/ring.el (ring-extend): New function.
5217 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5218
5219 * comint.el (comint-read-input-ring)
5220 (comint-add-to-input-history): Grow comint-input-ring lazily.
5221
5222 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5225 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5226
5227 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5228 (imenu-add-to-menubar): Don't add a redundant index.
5229 (imenu-update-menubar): Handle a dynamically composed keymap.
5230
5231 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5232
5233 * mail/sendmail.el (mail-encode-header):
5234 Bind rfc2047-encode-encoded-words to nil.
5235
5236 2012-03-13 Glenn Morris <rgm@gnu.org>
5237
5238 * calendar/calendar.el (calendar-string-spread):
5239 Handle non-unit-width characters a bit better. (Bug#10978)
5240
5241 2012-03-13 Leo Liu <sdl.web@gmail.com>
5242
5243 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5244 directory and file as argument (Bug#10822).
5245
5246 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5247
5248 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5249 For dynamically generated code, follow $PC.
5250 (gdb-disassembly-handler-custom): Handle no function name case.
5251
5252 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5253
5254 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5255 * emulation/ws-mode.el (ws-query-replace):
5256 * sort.el (sort-regexp-fields):
5257 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5258
5259 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * dabbrev.el: Fix cycle completion order (bug#10963).
5262 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5263 (dabbrev-completion): Don't use an obarray; provide
5264 a cycle-sort-function.
5265
5266 2012-03-12 Leo Liu <sdl.web@gmail.com>
5267
5268 * simple.el (kill-new): Use equal-including-properties for comparison.
5269 (kill-do-not-save-duplicates): Doc fix.
5270
5271 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * dabbrev.el: Fix cycle completion (bug#10963).
5274 Use lexical binding and wrap to 80 columns.
5275 (dabbrev-completion): Delay computing the list of completions.
5276
5277 2012-03-12 Kenichi Handa <handa@m17n.org>
5278
5279 * international/quail.el (quail-insert-kbd-layout): Surround each
5280 row by LRO and PDF instead of inserting many LRMs. Pad the left
5281 and right of each non-spacing marks. Insert invisible space
5282 between lower and upper characters to prevent composition.
5283
5284 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * minibuffer.el (minibuffer-complete): Don't get confused when the
5287 function is run twice via different commands (bug#10958).
5288 (complete-with-action): Fix docstring.
5289
5290 2012-03-12 Chong Yidong <cyd@gnu.org>
5291
5292 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5293 (nxml-completion-at-point-function): New function.
5294 (nxml-mode): Use it.
5295 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5296
5297 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5298 Load generated autoloads file before byte compiling (Bug#10970).
5299 (package--make-autoloads-and-compile): New helper fun.
5300
5301 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5302
5303 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5304
5305 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5306
5307 * autorevert.el (auto-revert-handler): Ensure, that
5308 file-readable-p is applied only for local files or in
5309 auto-revert-tail-mode.
5310
5311 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5312
5313 * server.el (server-eval-at): Handle non-tcp connections.
5314 Decode result string.
5315
5316 * server.el (server-msg-size): New constant.
5317 (server-reply-print): New function.
5318 (server-eval-and-print): Use it.
5319 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5320 Handle -print-nonl.
5321
5322 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5323
5324 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5325 (Bug#10987).
5326
5327 2012-03-11 Chong Yidong <cyd@gnu.org>
5328
5329 * simple.el (goto-line): Doc fix (Bug#9938).
5330
5331 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5332
5333 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5334 when finished (Bug#10963).
5335
5336 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5337
5338 * window.el (split-window-below): Fix bug in case where
5339 split-window-keep-point is nil (Bug#10971).
5340
5341 2012-03-11 Juri Linkov <juri@jurta.org>
5342
5343 * replace.el (replace-highlight): Set isearch-word to nil
5344 unconditionally. (Bug#10887)
5345
5346 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5347
5348 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5349 mairix-replace-illegal-chars; all callers changed. Don't remove
5350 ^, ~, and = characters: they are meaningful in mairix search specs.
5351 (mairix-widget-create-query): Add usage information about mairix
5352 search forms: negating words, searching for substrings, etc.
5353
5354 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5355
5356 * international/fontset.el (font-encoding-alist): Add an entry for
5357 ksx1001 (Bug#5667).
5358
5359 2012-03-10 Richard Stallman <rms@gnu.org>
5360
5361 * mail/sendmail.el (mail-encode-header):
5362 Set rfc2047-encode-encoded-words.
5363
5364 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5365
5366 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5367 view buffer means not swapped.
5368 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5369 (rmail-write-region-annotate): Error if real text has disappeared.
5370
5371 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5372
5373 2012-03-10 Chong Yidong <cyd@gnu.org>
5374
5375 * emulation/cua-rect.el (cua--init-rectangles):
5376 * emulation/cua-base.el (cua--init-keymaps):
5377 Add delete-forward-char to remappings (Bug#9666).
5378
5379 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5380
5381 * speedbar.el (speedbar-unhighlight-one-tag-line):
5382 Avoid unhighlighting due to frame switching (Bug#10275).
5383
5384 2012-03-10 Chong Yidong <cyd@gnu.org>
5385
5386 * minibuffer.el (completion-in-region, completion-help-at-point):
5387 Give the completion field overlay a high priority (Bug#6830).
5388
5389 * dired.el (dired-goto-file): Recognize absolute file name
5390 listings (Bug#7126).
5391 (dired-goto-file-1): New helper function.
5392 (dired-toggle-read-only): Inhibit warnings.
5393
5394 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5395
5396 * net/dbus.el (dbus-property-handler): Return empty array if
5397 there are no properties.
5398
5399 2012-03-09 Leo Liu <sdl.web@gmail.com>
5400
5401 * savehist.el (savehist-printable): Stricter check for string
5402 value (Bug#10937).
5403
5404 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5405
5406 * mail/smtpmail.el (smtpmail-send-it):
5407 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5408 valid mbox format.
5409
5410 2012-03-09 Glenn Morris <rgm@gnu.org>
5411
5412 * files.el (dir-locals-find-file):
5413 Don't check result is regular, readable.
5414 (dir-locals-read-from-file): Demote errors.
5415
5416 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5417
5418 * international/quail.el (quail-insert-kbd-layout):
5419 Insert invisible LRM characters before each character in a keyboard
5420 layout cell, to prevent their reordering by bidi display engine.
5421 For details, see the discussion in
5422 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5423
5424 2012-03-08 Alan Mackenzie <acm@muc.de>
5425
5426 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5427 the starting position; make it extend the marked region when
5428 invoked repeatedly - all under appropriate circumstances.
5429 Fixes bugs #5525, #10906.
5430
5431 2012-03-08 Glenn Morris <rgm@gnu.org>
5432
5433 * files.el (locate-dominating-file, dir-locals-find-file):
5434 Undo 2012-03-06 change.
5435
5436 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5437
5438 * international/quail.el (quail-help):
5439 Force bidi-paragraph-direction be left-to-right. See discussion in
5440 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5441 for the reason.
5442
5443 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5444
5445 Avoid superfluous registering of signals. (Bug#10807)
5446
5447 * notifications.el (notifications-on-action-object)
5448 (notifications-on-close-object): New defvars.
5449 (notifications-on-action-signal, notifications-on-closed-signal):
5450 Unregister the signal if not needed any longer.
5451 (notifications-notify): Register `notifications-action-signal' or
5452 `notifications-closed-signal', if :on-action or :on-close has been
5453 passed as argument.
5454
5455 2012-03-07 Chong Yidong <cyd@gnu.org>
5456
5457 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5458 non-X platforms.
5459
5460 2012-03-06 Glenn Morris <rgm@gnu.org>
5461
5462 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5463 (x-disown-selection-internal, x-get-selection-internal):
5464 Doc fix (add arglist signatures). (Bug#10783)
5465
5466 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5467
5468 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5469 Handle breakpoints with no "type".
5470
5471 2012-03-06 Glenn Morris <rgm@gnu.org>
5472
5473 * files.el (locate-dominating-file): Add optional predicate argument.
5474 (dir-locals-find-file): Make use of above change.
5475
5476 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5477
5478 * info.el (Info-insert-dir): Also try "dir.gz".
5479
5480 2012-03-06 Glenn Morris <rgm@gnu.org>
5481
5482 * files.el (dir-locals-find-file):
5483 Ignore non-readable or non-regular files. (Bug#10928)
5484
5485 * files.el (locate-dominating-file): Doc fix.
5486
5487 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5488
5489 * calendar/calendar.el (calendar-set-mode-line):
5490 `getenv' returns a string. (Bug#10951)
5491
5492 2012-03-05 Leo Liu <sdl.web@gmail.com>
5493
5494 * simple.el (backward-delete-char-untabify): Constrain point to
5495 field (Bug#10939).
5496
5497 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5498
5499 2012-03-05 Chong Yidong <cyd@gnu.org>
5500
5501 * simple.el (count-words): If called from Lisp, return the word
5502 count, for symmetry with `count-lines'. Arglist changed.
5503 (count-words--message): Args changed. Consolidate counting code
5504 from count-words and count-words-region.
5505 (count-words-region): Caller changed.
5506 (count-lines-region): Make it an obsolete alias.
5507
5508 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5509
5510 * saveplace.el (save-place-to-alist)
5511 (save-place-ignore-files-regexp): Allow value nil to disable this
5512 feature.
5513
5514 2012-03-04 Chong Yidong <cyd@gnu.org>
5515
5516 * faces.el (face-spec-reset-face): For the default face, reset the
5517 attributes to default values (Bug#10748).
5518
5519 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5520
5521 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5522 previous patch: Check `message-send-mail-function', and not the
5523 default function (bug#10897).
5524
5525 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5526
5527 * notifications.el (notifications-on-action-signal)
5528 (notifications-on-closed-signal): Check for unique service name of
5529 incoming event. Fix error in removing entry.
5530 (top): Register for signals with wildcard service name.
5531 (notifications-notify): Use daemon unique service name for map entries.
5532
5533 2012-03-04 Chong Yidong <cyd@gnu.org>
5534
5535 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5536
5537 2012-03-04 Glenn Morris <rgm@gnu.org>
5538
5539 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5540 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5541 (expand-abbrev, define-abbrev-table): Doc fixes.
5542
5543 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5544
5545 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5546 `message-default-send-mail-function' and not `send-mail-function'
5547 when doing the prompting for `sendmail-query-once' before sending
5548 in Message buffers (bug#10897).
5549
5550 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5551 This is inconsistent with all the other stream functions, which leave
5552 the setting up to the higher levels (if so wanted) (bug#10931).
5553
5554 2012-03-02 Alan Mackenzie <acm@muc.de>
5555
5556 Depessimize the handling of very large macros.
5557
5558 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5559 (c-macro-cache-syntactic): New variables to implement a one
5560 element macro cache.
5561 (c-invalidate-macro-cache): New function.
5562 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5563 Adapt to use the new cache.
5564 (c-state-safe-place): Use better the cache of safe positions.
5565 (c-state-semi-nonlit-pos-cache)
5566 (c-state-semi-nonlit-pos-cache-limit):
5567 New variables for...
5568 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5569 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
5570 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5571 Use c-state-semi-safe-place.
5572
5573 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5574 Add c-invalidate-macro-cache to the C, C++, Obj entries.
5575
5576 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
5577
5578 * jka-compr.el (jka-compr-call-process):
5579 Apply `file-accessible-directory-p' only when the default directory is
5580 not remote.
5581
5582 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
5583
5584 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5585 access of FILE2, if FILE1 does not exist.
5586
5587 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5588 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5589
5590 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5591 Add "PAGER=" to `process-environment'.
5592
5593 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5594
5595 * progmodes/sql.el: Bug fix
5596 (sql-get-login-ext): Save login values in globals.
5597 (sql-get-login): Use new version of `sql-get-login-ext'.
5598 (sql-interactive-mode): Set global `sql-connection' to nil.
5599 (sql-connect): Set global values for connection.
5600 (sql-product-interactive): Save global values as buffer local.
5601
5602 2012-02-29 Leo Liu <sdl.web@gmail.com>
5603
5604 * abbrev.el (define-abbrevs): Reset sys to nil.
5605
5606 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5607
5608 * files.el (file-equal-p): Rename from `files-equal-p'.
5609 Return nil when one or both files don't exist.
5610 (file-subdir-of-p): Now only top directory must exists,
5611 return nil if it doesn't.
5612 (copy-directory): No need to test with `file-subdir-of-p' after
5613 creating dir.
5614 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5615 to `file-equal-p'.
5616
5617 2012-02-28 Glenn Morris <rgm@gnu.org>
5618
5619 * shell.el (shell-mode):
5620 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5621 * play/landmark.el (landmark-font-lock-face-O):
5622 * play/handwrite.el (handwrite):
5623 * play/gomoku.el (gomoku-O):
5624 * net/browse-url.el (browse-url-browser-display):
5625 * international/mule.el (define-charset):
5626 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5627 * filesets.el (filesets-find-file-delay):
5628 * eshell/em-xtra.el (eshell-xtra):
5629 * eshell/em-unix.el (eshell-grep):
5630 * emulation/viper.el (viper-mode):
5631 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5632 * emacs-lisp/easymenu.el (easy-menu-define):
5633 * calendar/timeclock.el (timeclock-use-display-time):
5634 * bs.el (bs-mode):
5635 * bookmark.el (bookmark-save-flag):
5636 Doc fix (standardize possessive apostrophe usage).
5637
5638 2012-02-27 Chong Yidong <cyd@gnu.org>
5639
5640 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5641 Fix key-binding lookup for ESC key (Bug#9146).
5642
5643 * font-lock.el (font-lock-specified-p): Rename from
5644 font-lock-spec-present. Callers changed.
5645
5646 2012-02-27 Daniel Hackney <dan@haxney.org>
5647
5648 * emacs-lisp/package.el (package-compute-transaction):
5649 Handle holding a package version to t in package-load-list.
5650
5651 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
5652
5653 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5654 (tramp-get-inode, tramp-get-device): Use cached values.
5655
5656 2012-02-26 Alan Mackenzie <acm@muc.de>
5657
5658 Check there is a font-lock specification before doing initial
5659 fontification.
5660
5661 * font-core.el (font-lock-mode): Move the conditional from
5662 :after-hook to font-lock-initial-fontify.
5663 (font-lock-default-function): Move the check for a specification
5664 to font-lock-spec-present.
5665
5666 * font-lock.el (font-lock-initial-fontify): Call ...
5667 (font-lock-spec-present): New function.
5668
5669 2012-02-26 Jim Blandy <jimb@red-bean.com>
5670
5671 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5672 (gdb-send): Apply it to the operand of the '-interpreter-exec
5673 console' command, so that we can pass arguments with (say) quotes
5674 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5675
5676 2012-02-26 Chong Yidong <cyd@gnu.org>
5677
5678 * help-fns.el (describe-function-1): Clarify description of
5679 remapping (Bug#10844).
5680
5681 * files.el (files-equal-p): Doc fix.
5682 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5683 and quit the loop once a mismatch is found.
5684
5685 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5686
5687 * bs.el (bs--show-with-configuration): Don't throw an error
5688 if the window cannot be split; otherwise, subsequent calls to
5689 bs-show fail, restoring a stale window config. (Bug#10882)
5690
5691 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5692
5693 * term/ns-win.el (global-map): Bind ns-drag-file to
5694 ns-find-file (Bug#5855, Bug#10050).
5695
5696 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5697
5698 * calendar/parse-time.el (parse-time-string): Allow extractor to
5699 return nil.
5700
5701 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5702
5703 * net/tramp.el (tramp-file-name-for-operation):
5704 Add `files-equal-p' and `file-subdir-of-p'.
5705
5706 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5707 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5708 Add COPY-CONTENTS argument.
5709
5710 2012-02-25 Chong Yidong <cyd@gnu.org>
5711
5712 Add custom groups for VC backends, for consistency with vc-bzr.
5713
5714 * vc/vc-arch.el (vc-arch):
5715 * vc/vc-cvs.el (vc-cvs):
5716 * vc/vc-git.el (vc-git):
5717 * vc/vc-hg.el (vc-hg):
5718 * vc/vc-mtn.el (vc-mtn):
5719 * vc/vc-rcs.el (vc-rcs):
5720 * vc/vc-sccs.el (vc-sccs):
5721 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5722 All relevant defcustoms reassigned.
5723
5724 2012-02-25 Chong Yidong <cyd@gnu.org>
5725
5726 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5727
5728 * term/x-win.el (x-initialize-window-system): Reduce default for
5729 x-selection-timeout to 5 seconds (Bug#8869).
5730
5731 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5732
5733 * files.el (files-equal-p, file-subdir-of-p): New functions.
5734 (copy-directory): Error when trying to copy a directory on itself.
5735 Add missing copy-contents arg to tramp handler.
5736 * dired-aux.el (dired-copy-file-recursive): Same.
5737 (dired-create-files): Modify destination when source is equal to
5738 dest when copying files.
5739 Return also when dest is a subdir of source. (Bug#10489)
5740
5741 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5742
5743 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5744 (Bug#10874)
5745
5746 2012-02-23 Alan Mackenzie <acm@muc.de>
5747
5748 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5749 parameter "after-hook:" to allow the expansion to run code after
5750 the execution of the mode hooks.
5751
5752 * font-lock.el (font-lock-initial-fontify): New function extracted
5753 from font-lock-mode-internal.
5754
5755 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5756 :after-hook.
5757
5758 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5761 (completion--cache-all-sorted-completions): New function.
5762 (completion-all-sorted-completions): Use it.
5763 (completion--do-completion, minibuffer-force-complete):
5764 Use it to re-instate the flush hook.
5765
5766 * icomplete.el (icomplete-completions): Replace last fix with a better
5767 one (bug#10850).
5768
5769 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5770
5771 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5772 when it might call us back infinitely (bug#10797).
5773
5774 2012-02-23 Glenn Morris <rgm@gnu.org>
5775
5776 * minibuffer.el (completion-category-overrides): Doc fix.
5777
5778 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5781 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5782
5783 2012-02-23 Glenn Morris <rgm@gnu.org>
5784
5785 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5786 (authors-obsolete-files-regexps, authors-ignored-files)
5787 (authors-ambiguous-files, authors-renamed-files-alist):
5788 Add more entries.
5789
5790 2012-02-23 Juri Linkov <juri@jurta.org>
5791
5792 * isearch.el (isearch-occur): Sync interactive spec with occur's
5793 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5794
5795 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5796
5797 2012-02-22 Juri Linkov <juri@jurta.org>
5798
5799 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5800 (ucs-insert): Doc fix. Check for hex digits in the string.
5801 Don't display `nil' in the error message. (Bug#10857)
5802
5803 2012-02-22 Alan Mackenzie <acm@muc.de>
5804
5805 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5806
5807 2012-02-22 Glenn Morris <rgm@gnu.org>
5808
5809 * ffap.el (ffap-c-path):
5810 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5811
5812 2012-02-22 Chong Yidong <cyd@gnu.org>
5813
5814 * custom.el (load-theme): Doc fix.
5815
5816 2012-02-22 Glenn Morris <rgm@gnu.org>
5817
5818 * dired-x.el (dired-guess-shell-alist-default):
5819 Remove escape sequences from nroff output. (Bug#172)
5820
5821 2012-02-21 Glenn Morris <rgm@gnu.org>
5822
5823 * vc/emerge.el (emerge-defvar-local):
5824 Set `permanent-local' property rather than unused `preserved'.
5825
5826 * textmodes/picture.el (picture-delete-char): New alias.
5827 (picture-mode-map): Use it. (Bug#10860)
5828 (picture-mode): Doc fix.
5829
5830 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
5831
5832 * newcomment.el (uncomment-region-default): Remove unused binding.
5833
5834 2012-02-21 Glenn Morris <rgm@gnu.org>
5835
5836 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5837 (picture-self-insert, picture-tab-chars): Doc fix.
5838 (picture-mode-map): Fix C-a, C-e.
5839
5840 2012-02-20 Glenn Morris <rgm@gnu.org>
5841
5842 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5843
5844 2012-02-20 Leo Liu <sdl.web@gmail.com>
5845
5846 * icomplete.el (icomplete-completions): Check FROM arg before
5847 passing to substring (Bug#10850).
5848
5849 2012-02-19 Chong Yidong <cyd@gnu.org>
5850
5851 * comint.el: Require ansi-color.
5852 (comint-output-filter-functions): Add ansi-color-process-output.
5853
5854 * ansi-color.el: Don't set comint-output-filter-functions; it is
5855 now in the initial value defined in comint.el.
5856 (ansi-color-apply-face-function): New variable.
5857 (ansi-color-apply-on-region): Use it.
5858 (ansi-color-apply-overlay-face): New function.
5859
5860 * shell.el (shell): No need to require ansi-color.
5861 (shell-mode): Use ansi-color-apply-face-function to highlight
5862 color escapes using font-lock-face property (Bug#10835).
5863
5864 2012-02-19 Chong Yidong <cyd@gnu.org>
5865
5866 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5867 mode-line formats (Bug#10839).
5868
5869 2012-02-18 Glenn Morris <rgm@gnu.org>
5870
5871 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5872
5873 * mail/undigest.el (unforward-rmail-message): Doc fix.
5874
5875 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5876
5877 2012-02-18 Eli Zaretskii <eliz@gnu.org>
5878
5879 * international/characters.el (script-list): Sync with the latest
5880 Unicode Character Database.
5881
5882 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5883
5884 * international/titdic-cnv.el: Remove duplicate coding tag.
5885 * language/cham.el: Likewise.
5886 * language/tai-viet.el: Likewise.
5887
5888 2012-02-18 Glenn Morris <rgm@gnu.org>
5889
5890 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5891 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5892 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5893 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5894 * calendar/holidays.el (holiday-bahai-holidays)
5895 (calendar-holidays, list-holidays):
5896 Use utf-8 Bahá'í in doc-strings, menus, etc.
5897
5898 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5899
5900 * saveplace.el (save-place-ignore-files-regexp): New variable
5901 allowing for excluding files from saving their location of point.
5902 The default value matches the temporary commit message editing
5903 files from Git, SVN, Bazaar, and Mercurial.
5904 (save-place-to-alist): Use it.
5905
5906 2012-02-17 Lawrence Mitchell <wence@gmx.li>
5907 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * newcomment.el (uncomment-region-default): Don't leave extra space
5910 when an arg is provided (bug#8150).
5911
5912 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5913
5914 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5915
5916 2012-02-17 Glenn Morris <rgm@gnu.org>
5917
5918 * net/socks.el: Require network-stream. (Bug#10599)
5919
5920 2012-02-17 Kenichi Handa <handa@m17n.org>
5921
5922 * international/charprop.el:
5923 * international/uni-name.el:
5924 * international/uni-old-name.el:
5925 * international/uni-comment.el: Regenerate.
5926
5927 2012-02-16 Glenn Morris <rgm@gnu.org>
5928
5929 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5930 Interactively in calendar buffer, give an error if not on a date.
5931
5932 2012-02-15 Glenn Morris <rgm@gnu.org>
5933
5934 * shell.el (shell-delimiter-argument-list):
5935 Revert 2011-02-17 change. (Bug#8027)
5936
5937 2012-02-15 Chong Yidong <cyd@gnu.org>
5938
5939 * minibuffer.el (completion-at-point-functions): Doc fix.
5940
5941 * custom.el (defcustom): Doc fix; note use of defvar.
5942
5943 2012-02-15 Glenn Morris <rgm@gnu.org>
5944
5945 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5946 Doc fixes.
5947
5948 2012-02-14 Glenn Morris <rgm@gnu.org>
5949
5950 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5951
5952 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5953
5954 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5955 way the ports list is computed.
5956 (smtpmail-query-smtp-server): Prompt the user for a port number if
5957 we can't connect to any of the standard ports (bug#10810).
5958
5959 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5960
5961 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5962
5963 2012-02-13 Glenn Morris <rgm@gnu.org>
5964
5965 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5966
5967 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5968
5969 * net/gnutls.el (gnutls-trustfiles): New variable.
5970 (gnutls-negotiate): Use it.
5971
5972 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5973
5974 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5975 does its stuff if Gnus is running.
5976
5977 2012-02-13 Alan Mackenzie <acm@muc.de>
5978
5979 Fix a loop in c-set-fl-decl-start.
5980
5981 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5982 c-backward-syntactic-ws actually moves backwards.
5983
5984 2012-02-13 Leo Liu <sdl.web@gmail.com>
5985
5986 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5987 beginning so that all \C-o chars are removed.
5988
5989 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5990
5991 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5992
5993 2012-02-12 Alan Mackenzie <acm@muc.de>
5994
5995 Fix infinite loop with long macros.
5996 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5997
5998 2012-02-12 Chong Yidong <cyd@gnu.org>
5999
6000 * window.el (display-buffer): Doc fix (Bug#10785).
6001
6002 2012-02-12 Glenn Morris <rgm@gnu.org>
6003
6004 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6005 (x-disown-selection-internal, x-get-selection-internal):
6006 Sync docs with the xselect.c versions.
6007
6008 * allout-widgets.el: Add missing license notice.
6009
6010 2012-02-11 Glenn Morris <rgm@gnu.org>
6011
6012 * select.el (x-get-selection-internal, x-own-selection-internal)
6013 (x-disown-selection-internal):
6014 * x-dnd.el (x-get-selection-internal): Update declarations.
6015
6016 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6017
6018 * window.el (window-sides-slots):
6019 * tool-bar.el (tool-bar-position):
6020 * term/xterm.el (xterm-extra-capabilities):
6021 * ses.el (ses-self-reference-early-detection):
6022 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6023 (verilog-auto-wire-type)
6024 (verilog-auto-delete-trailing-whitespace)
6025 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6026 (verilog-auto-tieoff-declaration):
6027 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6028 (sql-oracle-statement-starters, sql-oracle-scan-on):
6029 * progmodes/prolog.el (prolog-align-comments-flag)
6030 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6031 (prolog-left-indent-regexp, prolog-paren-indent-p)
6032 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6033 (prolog-types, prolog-mode-specificators)
6034 (prolog-determinism-specificators, prolog-directives)
6035 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6036 (prolog-electric-dot-flag)
6037 (prolog-electric-dot-full-predicate-template)
6038 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6039 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6040 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6041 (prolog-program-switches, prolog-prompt-regexp)
6042 (prolog-debug-on-string, prolog-debug-off-string)
6043 (prolog-trace-on-string, prolog-trace-off-string)
6044 (prolog-zip-on-string, prolog-zip-off-string)
6045 (prolog-use-standard-consult-compile-method-flag)
6046 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6047 (prolog-imenu-max-lines, prolog-info-predicate-index)
6048 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6049 (prolog-char-quote-workaround):
6050 * progmodes/cc-vars.el (c-defun-tactic):
6051 * net/tramp.el (tramp-encoding-command-interactive)
6052 (tramp-local-end-of-line):
6053 * net/soap-client.el (soap-client):
6054 * net/netrc.el (netrc-file):
6055 * net/gnutls.el (gnutls):
6056 * minibuffer.el (completion-category-overrides)
6057 (completion-cycle-threshold)
6058 (completion-pcm-complete-word-inserts-delimiters):
6059 * man.el (Man-name-local-regexp):
6060 * mail/feedmail.el (feedmail-display-full-frame):
6061 * international/characters.el (glyphless-char-display-control):
6062 * eshell/em-ls.el (eshell-ls-date-format):
6063 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6064 (lisp-lambda-list-keyword-parameter-indentation)
6065 (lisp-lambda-list-keyword-parameter-alignment):
6066 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6067 * dired-x.el (dired-omit-verbose):
6068 * cus-theme.el (custom-theme-allow-multiple-selections):
6069 * calc/calc.el (calc-highlight-selections-with-faces)
6070 (calc-lu-field-reference, calc-lu-power-reference)
6071 (calc-note-threshold):
6072 * battery.el (battery-mode-line-limit):
6073 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6074 (archive-7z-update):
6075 * allout.el (allout-prefixed-keybindings)
6076 (allout-unprefixed-keybindings)
6077 (allout-inhibit-auto-fill-on-headline)
6078 (allout-flattened-numbering-abbreviation):
6079 * allout-widgets.el (allout-widgets-auto-activation)
6080 (allout-widgets-icons-dark-subdir)
6081 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6082 (allout-widgets-theme-dark-background)
6083 (allout-widgets-theme-light-background)
6084 (allout-widgets-item-image-properties-emacs)
6085 (allout-widgets-item-image-properties-xemacs)
6086 (allout-widgets-run-unit-tests-on-load)
6087 (allout-widgets-time-decoration-activity)
6088 (allout-widgets-hook-error-post-time)
6089 (allout-widgets-track-decoration):
6090 Add missing :version tags to new defcustoms and defgroups.
6091
6092 * progmodes/sql.el (sql-ansi-statement-starters)
6093 (sql-oracle-statement-starters): Add custom type.
6094
6095 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6096 (prolog-system-version): Give it a type.
6097
6098 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6099
6100 * term/pc-win.el (x-select-text, x-selection-owner-p)
6101 (x-own-selection-internal, x-disown-selection-internal)
6102 (x-get-selection-internal): Sync doc strings and argument lists
6103 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6104
6105 2012-02-11 Leo Liu <sdl.web@gmail.com>
6106
6107 * progmodes/python.el (python-end-of-statement): Fix infinite
6108 loop. (Bug#10788)
6109
6110 2012-02-10 Glenn Morris <rgm@gnu.org>
6111
6112 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6113 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6114
6115 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6116
6117 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6118 about SMTP before checking the From header.
6119
6120 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6121 into own function for reuse by emacsbug.el.
6122
6123 2012-02-10 Leo Liu <sdl.web@gmail.com>
6124
6125 * subr.el (condition-case-unless-debug): Rename from
6126 condition-case-no-debug. All callers changed.
6127 (with-demoted-errors): Fix caller.
6128
6129 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6130 * nxml/rng-valid.el (rng-do-some-validation):
6131 * emacs-lisp/package.el (package-refresh-contents)
6132 (package-menu-execute):
6133 * desktop.el (desktop-create-buffer):
6134 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6135
6136 2012-02-10 Glenn Morris <rgm@gnu.org>
6137
6138 * textmodes/bibtex.el:
6139 Add missing :version tags for new/changed defcustoms.
6140
6141 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6142
6143 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6144
6145 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6146 (smtpmail-via-smtp): Use it, or fall back on the From address.
6147 (smtpmail-send-it): Ditto.
6148
6149 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6150
6151 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6152 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6153 (byte-compile-tmp-var): New const.
6154 (byte-compile-defvar): Use it to minimize .elc size.
6155 Just use `defvar' rather than simulate it (bug#10761).
6156
6157 2012-02-09 Glenn Morris <rgm@gnu.org>
6158
6159 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6160
6161 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6162 Add :version tags.
6163
6164 * progmodes/compile.el (compilation-error-screen-columns)
6165 (compilation-first-column, compilation-filter-start): Doc fixes.
6166
6167 * vc/log-view.el (log-view-toggle-entry-display):
6168 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6169
6170 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6171 (report-emacs-bug-can-use-xdg-email):
6172 (report-emacs-bug-insert-to-mailer): Doc fixes.
6173 (report-emacs-bug): Message fix.
6174
6175 * net/browse-url.el (browse-url-can-use-xdg-open)
6176 (browse-url-xdg-open): Doc fixes.
6177
6178 * electric.el (electric-indent-mode, electric-pair-mode)
6179 (electric-layout-rules, electric-layout-mode): Doc fixes.
6180 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6181
6182 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6183
6184 * server.el (server-unselect-display): Don't inadvertently kill
6185 the current buffer. (Bug#10729)
6186
6187 2012-02-08 Glenn Morris <rgm@gnu.org>
6188
6189 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6190 (sql-list-table): Doc fixes.
6191
6192 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6193 Comment out (does nothing).
6194
6195 * completion.el (dynamic-completion-mode):
6196 * dirtrack.el (dirtrack-debug-mode):
6197 * electric.el (electric-layout-mode):
6198 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6199 * face-remap.el (text-scale-mode, buffer-face-mode):
6200 * iimage.el (iimage-mode):
6201 * image-mode.el (image-transform-mode):
6202 * minibuffer.el (completion-in-region-mode):
6203 * scroll-lock.el (scroll-lock-mode):
6204 * simple.el (next-error-follow-minor-mode):
6205 * tar-mode.el (tar-subfile-mode):
6206 * tooltip.el (tooltip-mode):
6207 * vcursor.el (vcursor-use-vcursor-map):
6208 * wid-browse.el (widget-minor-mode):
6209 * emulation/tpu-edt.el (tpu-edt-mode):
6210 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6211 * international/iso-ascii.el (iso-ascii-mode):
6212 * language/thai-util.el (thai-word-mode):
6213 * mail/supercite.el (sc-minor-mode):
6214 * net/goto-addr.el (goto-address-mode):
6215 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6216 * progmodes/cwarn.el (cwarn-mode):
6217 * progmodes/flymake.el (flymake-mode):
6218 * progmodes/glasses.el (glasses-mode):
6219 * progmodes/hideshow.el (hs-minor-mode):
6220 * progmodes/pascal.el (pascal-outline-mode):
6221 * textmodes/enriched.el (enriched-mode):
6222 * vc/smerge-mode.el (smerge-mode):
6223 Doc fixes (minor mode argument).
6224
6225 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6226
6227 * ls-lisp.el (ls-lisp-sanitize): New function.
6228 (ls-lisp-insert-directory): Use it to fix or remove any elements
6229 in file-alist with missing attributes. (Bug#4673)
6230
6231 2012-02-07 Alan Mackenzie <acm@muc.de>
6232
6233 Fix spurious recognition of c-in-knr-argdecl.
6234
6235 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6236 putative K&R region.
6237
6238 2012-02-07 Alan Mackenzie <acm@muc.de>
6239
6240 * progmodes/cc-engine.el (c-forward-objc-directive):
6241 Prevent looping in "#pragma mark @implementation".
6242
6243 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6244
6245 * notifications.el (notifications-on-closed-signal): Make `reason'
6246 optional. (Bug#10744)
6247
6248 2012-02-07 Glenn Morris <rgm@gnu.org>
6249
6250 * emacs-lisp/easy-mmode.el (define-minor-mode):
6251 Doc fixes for the macro and the mode it defines.
6252
6253 * image.el (imagemagick-types-inhibit): Doc fix.
6254
6255 * cus-start.el (imagemagick-render-type): Add it.
6256
6257 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6258
6259 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6260 Set the default at load time, too, so that `font-lock-fontify-buffer'
6261 can be called without setting up the entire mode first. This fixes
6262 a bug in `mm-inline-text' with C MIME parts.
6263
6264 2012-02-06 Chong Yidong <cyd@gnu.org>
6265
6266 * simple.el (list-processes--refresh): Delete exited processes
6267 (Bug#8094).
6268
6269 * comint.el (comint-next-prompt): next-single-char-property-change
6270 and prev-single-char-property-change never return nil (Bug#8657).
6271
6272 * custom.el (defcustom): Doc fix (Bug#9711).
6273
6274 2012-02-05 Chong Yidong <cyd@gnu.org>
6275
6276 * cus-edit.el (custom-variable-reset-backup): Quote the value
6277 before storing it in the customized-value property (Bug#6712).
6278 (custom-display): Add a customization type tag.
6279 (custom-buffer-create-internal): Improve tooltip message.
6280
6281 * wid-edit.el (widget-field-value-get): New optional arg to
6282 suppress trailing whitespace truncation.
6283 (character): Use it (Bug#2689).
6284
6285 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6286
6287 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6288 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6289
6290 2012-02-05 Chong Yidong <cyd@gnu.org>
6291
6292 * cus-edit.el (custom-variable-value-create): For mismatched
6293 types, show the current value (Bug#7600).
6294
6295 * custom.el (defcustom): Doc fix.
6296
6297 2012-02-05 Glenn Morris <rgm@gnu.org>
6298
6299 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6300
6301 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6302
6303 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6304 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6305 (pp-last-sexp): Use `looking-at-p'.
6306
6307 2012-02-04 Glenn Morris <rgm@gnu.org>
6308
6309 * files.el (revert-buffer):
6310 Doc fix (mention revert-buffer-in-progress-p).
6311
6312 * emacs-lisp/ert-x.el (ert-simulate-command):
6313 Check deferred-action-list (which is obsolete) is bound.
6314
6315 * subr.el (with-wrapper-hook): Doc fixes.
6316
6317 * simple.el (filter-buffer-substring-functions)
6318 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6319
6320 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6321
6322 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6323 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6324
6325 2012-02-04 Leo Liu <sdl.web@gmail.com>
6326
6327 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6328
6329 2012-02-04 Glenn Morris <rgm@gnu.org>
6330
6331 * image.el (image-extension-data): Add obsolete alias.
6332
6333 * isearch.el (isearch-update): Doc fix.
6334
6335 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6336
6337 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6338
6339 2012-02-03 Glenn Morris <rgm@gnu.org>
6340
6341 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6342 (image-animate-timeout): Doc fix.
6343
6344 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6345
6346 2012-02-02 Glenn Morris <rgm@gnu.org>
6347
6348 * server.el (server-auth-dir): Doc fix.
6349 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6350
6351 * subr.el (run-mode-hooks): Doc fix.
6352
6353 2012-02-02 Juri Linkov <juri@jurta.org>
6354
6355 * image-mode.el (image-toggle-display-image): Remove tautological
6356 `major-mode' from the `derived-mode-p' test.
6357
6358 2012-02-02 Kenichi Handa <handa@m17n.org>
6359
6360 * composite.el (compose-region): Cancel previous change.
6361
6362 2012-02-02 Kenichi Handa <handa@m17n.org>
6363
6364 * composite.el (compose-region, compose-string): Signal error for
6365 a null string component (Bug#6988).
6366
6367 2012-02-01 Chong Yidong <cyd@gnu.org>
6368
6369 * view.el (view-buffer-other-window, view-buffer-other-frame):
6370 Handle special modes like view-buffer (Bug#10650).
6371 (view-buffer): Simplify.
6372
6373 * frame.el (set-frame-font): Tweak meaning of third argument.
6374
6375 * dynamic-setting.el (font-setting-change-default-font):
6376 Use set-frame-font (Bug#9982).
6377
6378 2012-02-01 Glenn Morris <rgm@gnu.org>
6379
6380 * progmodes/compile.el (compilation-internal-error-properties):
6381 Respect compilation-first-column in the "*compilation*" buffer.
6382
6383 * emacs-lisp/easy-mmode.el (define-minor-mode):
6384 Relax :variable's test for a named function.
6385
6386 2012-01-31 Alan Mackenzie <acm@muc.de>
6387
6388 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6389 off by one error.
6390
6391 2012-01-31 Chong Yidong <cyd@gnu.org>
6392
6393 * frame.el (set-frame-font): New arg ALL-FRAMES.
6394
6395 * menu-bar.el (menu-set-font): Use set-frame-font.
6396
6397 * faces.el (face-spec-reset-face): Don't apply unspecified
6398 attribute values to the default face.
6399
6400 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6401
6402 * progmodes/cwarn.el (cwarn): Remove dead link.
6403 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6404 Remove * from defcustom docstrings.
6405 (turn-on-cwarn-mode): Make obsolete.
6406 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6407 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6408
6409 2012-01-31 Glenn Morris <rgm@gnu.org>
6410
6411 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6412 Fix :variable handling of mode a symbol not equal to modefun.
6413 Allow named functions to be used as the cdr of :variable.
6414
6415 2012-01-30 Glenn Morris <rgm@gnu.org>
6416
6417 * emacs-lisp/authors.el (authors-fixed-entries):
6418 Remove reference to deleted file rnewspost.el.
6419
6420 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6421
6422 * window.el (window-with-parameter): Remove unused variable `windows'.
6423 (window--side-check): Remove unused variable `code'.
6424 (window--resize-siblings): Remove unused variable `first'.
6425 (adjust-window-trailing-edge): Remove unused variable `failed'.
6426 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6427 Use `let', not `let*'.
6428 (balance-windows-2): Remove unused variable `found'.
6429 (window--state-put-2): Remove unused variable `splits'.
6430 (window-state-put): Remove unused variable `selected'.
6431 (same-window-p): Use `string-match-p'.
6432 (display-buffer-assq-regexp): Remove unused variable `value'.
6433 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6434 Mark argument ALIST as ignored.
6435 (pop-to-buffer): Remove unused variable `old-window'.
6436
6437 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6438
6439 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6440 and .lzma compressed files.
6441
6442 2012-01-29 Chong Yidong <cyd@gnu.org>
6443
6444 * frame.el (window-system-default-frame-alist): Doc fix.
6445
6446 * dynamic-setting.el (font-setting-change-default-font): Don't
6447 change the default face if SET-FONT argument is non-nil (Bug#9982).
6448
6449 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6450
6451 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6452
6453 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6454
6455 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6456 breakpoints in files outside current directory (Bug#6098).
6457
6458 2012-01-29 Chong Yidong <cyd@gnu.org>
6459
6460 * progmodes/python.el: Require ansi-color at top-level.
6461
6462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6463 Define and use in Emacs Lisp mode (Bug#9360).
6464 (lisp-mode-abbrev-table): Add doc.
6465 (lisp-mode-variables): Don't set local-abbrev-table.
6466 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6467
6468 2012-01-28 Roland Winkler <winkler@gnu.org>
6469
6470 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6471
6472 2012-01-28 Roland Winkler <winkler@gnu.org>
6473
6474 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6475 (bibtex-set-dialect): Use it. Either set global values of
6476 dialect-dependent variables or bind these variables buffer-locally
6477 (Bug#10254).
6478 (bibtex-mode): Call bibtex-set-dialect via
6479 hack-local-variables-hook.
6480 (bibtex-dialect): Update docstring.
6481 Add safe-local-variable predicate.
6482 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6483 bibtex-set-dialect.
6484 (bibtex-mode-map): Define menu for each dialect.
6485 (bibtex-entry): Fix docstring.
6486
6487 2012-01-28 Chong Yidong <cyd@gnu.org>
6488
6489 * eshell/esh-arg.el (eshell-quote-argument): New function.
6490
6491 * eshell/esh-ext.el (eshell-invoke-batch-file):
6492 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6493 first arg to eshell-parse-command (Bug#10523).
6494
6495 2012-01-28 Drew Adams <drew.adams@oracle.com>
6496
6497 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6498 `default-directory' is non-nil.
6499
6500 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6501
6502 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6503 line that displays system-configuration-options. (Bug#9924)
6504
6505 2012-01-28 Drew Adams <drew.adams@oracle.com>
6506
6507 * descr-text.el (describe-char): Show information about POS, in
6508 addition to information about the character at POS. Improve and
6509 update the doc string. Change "code point" to "code point in
6510 charset", to avoid confusion with the character's Unicode code
6511 point shown above that. (Bug#10129)
6512
6513 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6514
6515 * descr-text.el (describe-char): Show the raw character, not only
6516 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6517 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6518 for the reasons.
6519
6520 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6521
6522 * emacs-lisp/package.el (package-install):
6523 Run package-refresh-contents if there is no archive yet (Bug#9798).
6524
6525 2012-01-28 Chong Yidong <cyd@gnu.org>
6526
6527 * emacs-lisp/package.el (package-maybe-load-descriptor):
6528 New function, split from package-maybe-load-descriptor.
6529 (package-maybe-load-descriptor): Use it.
6530 (package-download-transaction): Fully load required packages
6531 inside the loop, so that `require' calls work (Bug#10593).
6532 (package-install): No need to call package-initialize now.
6533
6534 2012-01-28 Chong Yidong <cyd@gnu.org>
6535
6536 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6537
6538 * tooltip.el (tooltip-mode): Doc fix.
6539 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6540
6541 * frame.el (set-cursor-color): Doc fix (Bug#352).
6542
6543 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6544 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6545
6546 * cus-edit.el (custom-buffer-create-internal): Fix search button
6547 action (Bug#10542).
6548 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6549
6550 2012-01-27 Eduard Wiebe <usenet@pusto.de>
6551
6552 * dired.el (dired-mark-files-regexp):
6553 Include any subdirectory components. (Bug#10445)
6554
6555 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6556
6557 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6558 Handle [host]:port syntax. (Bug#10533)
6559
6560 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
6561
6562 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6563
6564 2012-01-26 Glenn Morris <rgm@gnu.org>
6565
6566 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6567 * term.el (term-raw-escape-map): Use Control-X-prefix.
6568 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6569
6570 2012-01-25 Martin Rudalics <rudalics@gmx.at>
6571
6572 * window.el (window-state-get, window--state-get-1): Don't deal
6573 with fixed-sizeness of windows. Simplify code.
6574
6575 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6576
6577 * window.el (window--state-get-1, window--state-put-2):
6578 Don't save and restore the mark.
6579
6580 2012-01-25 Chong Yidong <cyd@gnu.org>
6581
6582 * custom.el (custom-variable-p): Doc fix.
6583
6584 2012-01-25 Glenn Morris <rgm@gnu.org>
6585
6586 * dired.el (dired-goto-file): Handle some of the more common
6587 characters that `ls -b' escapes. (Bug#10596)
6588
6589 * progmodes/compile.el (compilation-next-error-function):
6590 Respect compilation-first-column in the "*compilation*" buffer.
6591 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6592
6593 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6594
6595 2012-01-24 Glenn Morris <rgm@gnu.org>
6596
6597 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6598
6599 2012-01-24 Julien Danjou <julien@danjou.info>
6600
6601 * color.el (color-rgb-to-hsl): Fix value computing.
6602 (color-hue-to-rgb): New function.
6603 (color-hsl-to-rgb): New function.
6604 (color-clamp, color-saturate-hsl, color-saturate-name)
6605 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6606 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6607
6608 2012-01-24 Glenn Morris <rgm@gnu.org>
6609
6610 * vc/vc-rcs.el (vc-rcs-create-tag):
6611 * vc/vc-sccs.el (vc-sccs-create-tag):
6612 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6613
6614 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6615
6616 * eshell/esh-util.el (eshell-read-hosts-file):
6617 Skip comment lines. (Bug#10549)
6618
6619 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6620
6621 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
6622
6623 * subr.el (display-delayed-warnings): Doc fix.
6624 (collapse-delayed-warnings): New function to collapse identical
6625 adjacent warnings.
6626 (delayed-warnings-hook): Add it.
6627
6628 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
6629
6630 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6631
6632 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6633 (tramp-default-user-alist): Don't add "pscp".
6634 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6635 property "login-as", if set. (Bug#10530)
6636
6637 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
6638
6639 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6640 "plink1" and "psftp". (Bug#10530)
6641
6642 2012-01-21 Kenichi Handa <handa@m17n.org>
6643
6644 * international/mule-cmds.el (prefer-coding-system): Show a
6645 warning message if the default value of file-name-coding-system
6646 was not changed.
6647
6648 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6649
6650 * windmove.el (windmove-reference-loc):
6651 Fix windmove-reference-loc miscalculation.
6652
6653 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6654
6655 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6656 default unit.
6657
6658 2012-01-21 Glenn Morris <rgm@gnu.org>
6659
6660 * international/mule.el (auto-coding-alist): Add .tbz.
6661
6662 * files.el (local-enable-local-variables): Doc fix.
6663 (inhibit-local-variables-regexps): Rename from
6664 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6665 Doc fix. Add some extensions from auto-coding-alist.
6666 (inhibit-local-variables-suffixes):
6667 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6668 (inhibit-local-variables-p):
6669 New function, extracted from set-auto-mode-1.
6670 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6671 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6672 (hack-local-variables): Doc fix. Make the mode-only case
6673 respect enable-local-variables and friends.
6674 Respect inhibit-local-variables-regexps for file-locals, but
6675 not for directory-locals.
6676 (set-visited-file-name):
6677 Take account of inhibit-local-variables-regexps.
6678 Whether it applies may change as the file name is changed.
6679 * jka-cmpr-hook.el (jka-compr-install):
6680 * jka-compr.el (jka-compr-uninstall):
6681 Update for inhibit-first-line-modes-suffixes name change.
6682
6683 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6684
6685 * help-macro.el (make-help-screen): Temporarily restore original
6686 binding for minor-mode-map-alist (Bug#10454).
6687
6688 2012-01-19 Julien Danjou <julien@danjou.info>
6689
6690 * color.el (color-name-to-rgb): Use the white color to find the max
6691 color component value and return correctly computed values.
6692 (color-name-to-rgb): Add missing float conversion for max value.
6693
6694 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6695
6696 * window.el (window--state-get-1, window-state-get): Do not use
6697 special state value for window-persistent-parameters.
6698 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6699 (window--state-put-2): Reset all window parameters to nil before
6700 assigning values of persistent parameters.
6701
6702 2012-01-18 Alan Mackenzie <acm@muc.de>
6703
6704 Eliminate sluggishness and hangs in fontification of "semicolon
6705 deserts".
6706
6707 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6708 Change value 10000 -> 3000.
6709 (c-state-safe-place): Reformulate so it doesn't stack up an
6710 infinite number of wrong entries in c-state-nonlit-pos-cache.
6711 (c-determine-limit-get-base, c-determine-limit): New functions to
6712 determine backward search limits disregarding literals.
6713 (c-find-decl-spots): Amend commenting.
6714 (c-cheap-inside-bracelist-p): New function which detects "={".
6715
6716 * progmodes/cc-fonts.el
6717 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6718 backward search.
6719 (c-font-lock-declarations): Fix an occurrence of point being
6720 undefined. Check additionally for point being in a bracelist or
6721 near a macro invocation without a semicolon so as to avoid a
6722 fruitless time consuming search for a declarator. Give a more
6723 precise search limit for declarators using the new
6724 c-determine-limit.
6725
6726 2012-01-18 Glenn Morris <rgm@gnu.org>
6727
6728 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6729 (set-auto-mode): Doc fixes.
6730
6731 2012-01-17 Glenn Morris <rgm@gnu.org>
6732
6733 * isearch.el (search-nonincremental-instead): Fix doc typo.
6734
6735 * dired.el (dired-insert-directory): Handle newlines in directory name.
6736 (dired-build-subdir-alist): Unescape newlines in directory name.
6737
6738 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6739
6740 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6741 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6742 (tramp-action-terminal): Use it. (Bug#10530)
6743
6744 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6745
6746 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6747
6748 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6749
6750 * window.el (window-state-ignored-parameters): Remove variable.
6751 (window--state-get-1): Rename argument MARKERS to IGNORE.
6752 Handle persistent window parameters. Make copy of clone-of
6753 parameter only if requested. (Bug#10348)
6754 (window--state-put-2): Install a window parameter only if it has
6755 a non-nil value or an existing parameter shall be overwritten.
6756
6757 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6758
6759 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6760
6761 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6762
6763 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6764 don't pass the (nil) value of `upnode' to string-match.
6765
6766 2012-01-14 Chong Yidong <cyd@gnu.org>
6767
6768 * startup.el (command-line): Fix X resource class for cursorColor.
6769 Fix values recognized by the cursorBlink resource.
6770
6771 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6772
6773 * epg.el (epg--make-temp-file): Avoid permission race condition
6774 when running on old Emacs versions (bug#10403).
6775
6776 2012-01-14 Glenn Morris <rgm@gnu.org>
6777
6778 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6779
6780 2012-01-13 Alan Mackenzie <acm@muc.de>
6781
6782 Fix filling for when filladapt mode is enabled.
6783
6784 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6785 c-mask-paragraph, pass in `fill-paragraph' rather than
6786 `fill-region-as-paragraph'. (This is a reversion of a previous
6787 change.)
6788 * progmodes/cc-mode.el (c-basic-common-init):
6789 Make fill-paragraph-handle-comment buffer local and set it to nil.
6790
6791 2012-01-13 Glenn Morris <rgm@gnu.org>
6792
6793 * dired.el (dired-switches-escape-p): New function.
6794 (dired-insert-directory): Use dired-switches-escape-p.
6795 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6796
6797 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6798
6799 2012-01-12 Glenn Morris <rgm@gnu.org>
6800
6801 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6802 changes in adaptive-fill-regexp. (Bug#10276)
6803
6804 2012-01-11 Alan Mackenzie <acm@muc.de>
6805
6806 Fix Emacs bug #10463 - put `widen's around the critical spots.
6807
6808 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6809 widen around each invocation of c-state-pp-to-literal. Remove an
6810 unused let variable.
6811
6812 2012-01-11 Glenn Morris <rgm@gnu.org>
6813
6814 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
6815 Doc fix.
6816
6817 2012-01-10 Chong Yidong <cyd@gnu.org>
6818
6819 * net/network-stream.el (network-stream-open-starttls):
6820 Avoid emitting a confusing error message when the server gives a bad
6821 response to the capability command.
6822
6823 2012-01-10 Glenn Morris <rgm@gnu.org>
6824
6825 * mail/unrmail.el (unrmail): Tweak previous change.
6826
6827 2012-01-09 Chong Yidong <cyd@gnu.org>
6828
6829 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6830
6831 2012-01-08 Alan Mackenzie <acm@muc.de>
6832
6833 Optimise font locking in long enum definitions.
6834
6835 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6836 arm to a cond form to handle enums.
6837 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6838 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6839
6840 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6841
6842 * files.el (move-file-to-trash): Preserve default file modes on error.
6843 (Bug#10401)
6844
6845 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6846
6847 * faces.el (set-face-attribute): Clarify the meaning of the nil
6848 frame (bug#10294).
6849
6850 * subr.el (with-selected-frame): Mention that the selected frame
6851 is restored (bug#9980).
6852
6853 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6854 (bug#9759).
6855
6856 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6857 (password-read): Don't autoload unused function.
6858
6859 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
6860
6861 * progmodes/which-func.el (which-func-mode): Turn into a
6862 non-interactive function and mark as obsolete (bug#10428).
6863
6864 2012-01-06 Chong Yidong <cyd@gnu.org>
6865
6866 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6867 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6868 functions, along with 1 and -1.
6869
6870 2012-01-06 Eli Zaretskii <eliz@gnu.org>
6871
6872 * time.el (display-time-load-average)
6873 (display-time-default-load-average): Doc fixes. See the thread
6874 starting at
6875 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6876 for the details.
6877
6878 2012-01-06 Glenn Morris <rgm@gnu.org>
6879
6880 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6881 has no messages. (Bug#10377)
6882
6883 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6884 than Info-edit. (Bug#10385)
6885
6886 * time.el (display-time-load-average, display-time-next-load-average):
6887 Doc fixes.
6888
6889 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6890 local setting of buffer-read-only to the input buffer. (Bug#10419)
6891
6892 * calendar/calendar.el (calendar-mode):
6893 Locally set scroll-margin to 0. (Bug#10379)
6894
6895 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
6896
6897 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6898
6899 2012-01-05 Glenn Morris <rgm@gnu.org>
6900
6901 * eshell/em-unix.el (diff-no-select): Autoload it.
6902 (eshell/diff): Use diff-no-select. (Bug#10420)
6903
6904 2012-01-05 Chong Yidong <cyd@gnu.org>
6905
6906 * shell.el (shell-dynamic-complete-functions): Revert last change.
6907 (shell-command-completion-function): New function.
6908 (shell-completion-vars): Use it to implement
6909 shell-completion-execonly (Bug#10417).
6910
6911 * custom.el (enable-theme): Don't set custom-safe-themes.
6912
6913 * cus-theme.el (custom-theme-merge-theme):
6914 Ignore custom-enabled-themes and custom-safe-themes.
6915
6916 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6917
6918 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6919 first prompt in `sql-interacive-mode'.
6920 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6921 keywords.
6922 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6923 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6924 context of original buffer. Invoke `sql-login-hook'.
6925
6926 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6927
6928 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6929 letters in cite-prefix.
6930
6931 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6932
6933 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6934
6935 2012-01-03 Chong Yidong <cyd@gnu.org>
6936
6937 * shell.el (shell-dynamic-complete-functions):
6938 Put pcomplete-completions-at-point, so as to try
6939 comint-filename-completion first (Bug#10417).
6940
6941 2012-01-02 Richard Stallman <rms@gnu.org>
6942
6943 * battery.el (battery-status-function):
6944 Detect when to use battery-yeeloong-sysfs.
6945 (battery-echo-area-format): Add string for Yeeloong.
6946 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6947 (battery-yeeloong-sysfs): New function.
6948
6949 2012-01-02 Chong Yidong <cyd@gnu.org>
6950
6951 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6952 (dirtrack): Merge code for handling relative filenames in prompt
6953 from shell-dir-cookie-watcher.
6954 (dirtrack-debug-message): New arg to avoid excess format calls.
6955
6956 * shell.el (shell-dir-cookie-re): Variable deleted.
6957 (shell-dir-cookie-watcher): Function deleted.
6958 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6959 with dirtrack-mode.
6960
6961 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6962
6963 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6964 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6965 libgnutls-26.dll.
6966
6967 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6968
6969 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6970
6971 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6972
6973 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6974 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6975
6976 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6977
6978 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6979 also for alternative shells.
6980 (tramp-open-connection-setup-interactive-shell): Check, whether
6981 the shell is a busybox.
6982 (tramp-send-command): Don't suppress multiple prompts for
6983 busyboxes, it hurts.
6984
6985 2011-12-28 Chong Yidong <cyd@gnu.org>
6986
6987 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6988 (gdb-get-source-file): Move mode line update to
6989 gdb-get-source-file (Bug#10087).
6990
6991 2011-12-25 Chong Yidong <cyd@gnu.org>
6992
6993 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6994 gud-gdb-marker-filter without taking it as an argument.
6995 (gud-gdb-run-command-fetch-lines): Caller changed.
6996 (gud-gdb-completion-function): New variable.
6997 (gud-gdb-completion-at-point): Use it.
6998 (gud-gdb-completions-1): Split from gud-gdb-completions.
6999
7000 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7001 function as separate arguments.
7002 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7003 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7004 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7005 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7006 (gdb-stopped, def-gdb-auto-update-trigger)
7007 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7008 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7009 Callers changed.
7010 (gud-gdbmi-completions): New function.
7011 (gdb): Use it for generating the completion table.
7012
7013 2011-12-24 Alan Mackenzie <acm@muc.de>
7014
7015 Introduce a mechanism to widen the region used in context font
7016 locking. Use this to protect declarations from losing their contexts.
7017
7018 * progmodes/cc-langs.el (c-before-font-lock-functions):
7019 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7020 (c-before-context-fontification-functions): New defvar, a list of
7021 functions to be run just before context (etc.) font locking.
7022
7023 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7024 New, functionality extracted from
7025 c-neutralize-syntax-in-and-mark-CPP.
7026 (c-in-after-change-fontification): New variable.
7027 (c-after-change): Set c-in-after-change-fontification.
7028 (c-set-fl-decl-start): Rejig its interface, so it can be called
7029 from both after-change and context fontifying.
7030 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7031 New functions.
7032 (c-standard-font-lock-fontify-region-function): New variable.
7033 (c-font-lock-fontify-region): New function.
7034
7035 2011-12-24 Juri Linkov <juri@jurta.org>
7036
7037 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7038 (Bug#10348)
7039
7040 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7041
7042 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7043 existence of source file. (Bug#10325)
7044
7045 2011-12-23 Alan Mackenzie <acm@muc.de>
7046
7047 Fix unstable fontification inside templates.
7048
7049 * progmodes/cc-langs.el (c-before-font-lock-functions):
7050 Newly created from the singular version. The (c c++ objc) entry now
7051 additionally has c-set-fl-decl-start. The other languages (apart
7052 from AWK) have that as a single entry.
7053
7054 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7055 The functionality for "local" declarations has been extracted to
7056 c-set-fl-decl-start.
7057
7058 * progmodes/cc-mode.el (c-common-init, c-after-change):
7059 Changes due to pluralisation of c-before-font-lock-functions.
7060 (c-set-fl-decl-start): New function, extracted from
7061 c-font-lock-enclosing-decls and enhanced.
7062
7063 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7064
7065 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7066
7067 2011-12-22 Juri Linkov <juri@jurta.org>
7068
7069 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7070
7071 2011-12-22 Chong Yidong <cyd@gnu.org>
7072
7073 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7074
7075 2011-12-21 Drew Adams <drew.adams@oracle.com>
7076
7077 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7078
7079 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7080
7081 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7082
7083 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7084
7085 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7086 highlighting and support. Fix up comments for capitalization.
7087 (cfengine-mode-debug): New var.
7088 (cfengine3-mode): Change the modeline indicator to "CFE3".
7089 (cfengine3-font-lock-keywords): Improve defun highlighting.
7090 (cfengine2-actions): Rename from `cfengine-actions'.
7091 (cfengine2-font-lock-keywords): Rename from
7092 `cfengine-font-lock-keywords'.
7093 (cfengine2-imenu-expression): Rename from
7094 `cfengine-imenu-expression'.
7095 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7096 (cfengine2-beginning-of-defun): Rename from
7097 `cfengine-beginning-of-defun'.
7098 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7099 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7100 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7101 modeline indicator to "CFE2".
7102 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7103 (cfengine-mode-abbrevs): Mark obsolete.
7104
7105 2011-12-21 Chong Yidong <cyd@gnu.org>
7106
7107 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7108 filename argument.
7109
7110 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7111
7112 * window.el (window-normalize-buffer-to-display): Remove.
7113 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7114
7115 2011-12-19 Chong Yidong <cyd@gnu.org>
7116
7117 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7118 Don't signal an error in a predicate function; return non-nil.
7119 (vc-dir-mark-file): Move the error here.
7120 (vc-dir-mark-unmark): If acting on the region, keep going if one
7121 of the entries cannot be marked/unmarked.
7122 (vc-dir-mark-all-files): If current entry is a directory, mark
7123 only child files, as documented.
7124
7125 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7126
7127 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7128 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7129 addition.
7130
7131 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7132
7133 * term/ns-win.el (ns-get-selection-internal)
7134 (ns-store-selection-internal): Declare.
7135 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7136 Declare as obsolete.
7137 (ns-get-pasteboard, ns-paste-secondary):
7138 Use ns-get-selection-internal.
7139 (ns-set-pasteboard, ns-copy-including-secondary):
7140 Use ns-store-selection-internal.
7141
7142 2011-12-17 Chong Yidong <cyd@gnu.org>
7143
7144 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7145 (vc-deduce-fileset): Doc fix.
7146
7147 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7148
7149 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7150
7151 2011-12-13 Sam Steingold <sds@gnu.org>
7152
7153 * man.el (Man-getpage-in-background): When running under a
7154 window-system, ignore $MANWIDTH and $COLUMNS.
7155
7156 2011-12-15 Kenichi Handa <handa@m17n.org>
7157
7158 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7159 (setup-ethiopic-environment-internal): Comment out key-binding for
7160 ethio-toggle-punctuation.
7161
7162 2011-12-13 Alan Mackenzie <acm@muc.de>
7163
7164 Add the switch statement to AWK Mode.
7165
7166 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7167 "default" to the keywords regexp.
7168
7169 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7170 expression as the rest.
7171 (c-nonlabel-token-key): Allow string literals for AWK.
7172 Refactor for the other modes.
7173
7174 Large brace-block initialisation makes CC Mode slow: Fix.
7175 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7176 routines. Limit backward searching in c-font-lock-enclosing.decl.
7177
7178 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7179 pp-state and literal type in addition to the limits.
7180 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7181 (c-state-literal-at): Use the above new defun.
7182 (c-slow-in-literal, c-fast-in-literal): Remove.
7183 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7184
7185 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7186 being in a literal. Add a limit for backward searching.
7187
7188 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7189 c-slow-in-literal.
7190
7191 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7194
7195 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7196
7197 * window.el (delete-other-windows): Use correct frame in call to
7198 window-with-parameter.
7199
7200 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7201
7202 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7203 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7204 (makefile-gmake-statements, makefile-makepp-statements):
7205 Use it and add new makepp keywords.
7206 (makefile-makepp-font-lock-keywords): Add new patterns.
7207 (makefile-match-function-end): Match new [...] and [[...]].
7208
7209 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7210
7211 * ses.el (ses-call-printer-return, ses-cell-property-get)
7212 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7213 (ses-create-cell-variable, ses-reset-header-string)
7214 (ses-cell-set-formula, ses-repair-cell-reference-all)
7215 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7216 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7217 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7218 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7219 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7220 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7221 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7222 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7223 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7224 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7225 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7226 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7227
7228 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7229
7230 * ses.el: The overall change is to add cell renaming, that is
7231 setting fancy names for cell symbols other than name matching
7232 "\\`[A-Z]+[0-9]+\\'" regexp .
7233 (ses-create-cell-variable): New defun.
7234 (ses-relocate-formula): Relocate formulas only for cells the
7235 symbols of which are not renamed, i.e. symbols whose names do not
7236 match regexp "\\`[A-Z]+[0-9]+\\'".
7237 (ses-relocate-all): Relocate values only for cells the symbols of
7238 which are not renamed.
7239 (ses-load): Create cells variables as the (ses-cell ...) are read,
7240 in order to check row col consistency with cell symbol name only
7241 for cells that are not renamed.
7242 (ses-replace-name-in-formula): New defun.
7243 (ses-rename-cell): New defun.
7244
7245 2011-12-11 Chong Yidong <cyd@gnu.org>
7246
7247 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7248 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7249
7250 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7251
7252 * window.el (other-window): Fix docstring.
7253
7254 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7255
7256 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7257 `from' or `to' address before taking its substring.
7258 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7259 encoded name is chopped in the middle of the encoded string, and
7260 thus displayed encoded.
7261
7262 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7263
7264 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7265
7266 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7267
7268 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7269 to use texinfo-update-node and commands that call it if the
7270 Texinfo file uses @node lines without next/prev/up pointers.
7271 Correct outdated description about texinfo-master-menu.
7272 (texinfo-all-menus-update, texinfo-master-menu)
7273 (texinfo-update-node, texinfo-every-node-update)
7274 (texinfo-multiple-files-update): Doc fix. Warn against updating
7275 all the @node lines.
7276 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7277 argument is numeric. Explain better in the doc string what the
7278 function really does.
7279 (texinfo-insert-master-menu-list): Improve the error message
7280 displayed if there's no menu in the Top node.
7281 (Bug#2975) See also this thread:
7282 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7283
7284 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7285
7286 * speedbar.el (speedbar-supported-extension-expressions):
7287 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7288
7289 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7290
7291 * printing.el (pr-mode-alist):
7292 * simple.el (filter-buffer-substring-functions)
7293 (completion-list-insert-choice-function):
7294 * window.el (window-with-parameter, window-atom-root)
7295 (window-sides-slots, window-size-fixed, window-min-delta)
7296 (window-max-delta, window--resize-mini-window)
7297 (window--resize-child-windows-normal, window-tree)
7298 (delete-other-windows, quit-window, split-window)
7299 (display-buffer-record-window, special-display-buffer-names)
7300 (special-display-regexps, special-display-popup-frame)
7301 (same-window-p, split-window-sensibly)
7302 (display-buffer-overriding-action, display-buffer-alist)
7303 (display-buffer-base-action, display-buffer, switch-to-buffer)
7304 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7305 (fit-window-to-buffer, recenter-positions)
7306 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7307 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7308 and remove unneeded backslashes in docstrings.
7309
7310 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7313
7314 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7315 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7316 end in ".mk".
7317 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7318 when reading the makefile (bug#10116).
7319
7320 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7323 (bug#10116).
7324
7325 2011-12-06 Glenn Morris <rgm@gnu.org>
7326
7327 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7328
7329 2011-12-06 Chong Yidong <cyd@gnu.org>
7330
7331 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7332
7333 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7334
7335 * textmodes/table.el (table-shorten-cell): Fix typo.
7336
7337 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7338
7339 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7340
7341 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7342
7343 * descr-text.el (describe-char): Fix display of strong
7344 right-to-left characters and directional embeddings and overrides.
7345
7346 * simple.el (what-cursor-position): Fix display of codepoints of
7347 strong right-to-left characters.
7348
7349 2011-12-05 Chong Yidong <cyd@gnu.org>
7350
7351 * faces.el (read-color): Doc fix.
7352
7353 2011-12-05 Glenn Morris <rgm@gnu.org>
7354
7355 * align.el (align--set-marker): Add doc-string.
7356 Don't try to move something that is not a marker. (Bug#10216)
7357
7358 2011-12-04 Glenn Morris <rgm@gnu.org>
7359
7360 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7361 overly zealous deletion of trailing whitespace.
7362
7363 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7364
7365 * server.el (server-delete-client): On Windows, do not try to delete
7366 the only terminal.
7367 (server-process-filter): On Windows, treat requests for a tty frame as
7368 if they were for a GUI frame if the running server is in GUI mode.
7369
7370 2011-12-03 Glenn Morris <rgm@gnu.org>
7371
7372 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7373
7374 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * electric.el: Streamline electric-indent's hook.
7377 (electric-indent-chars): Revert to simple list.
7378 (electric-indent-functions): New var.
7379 (electric-indent-post-self-insert-function): Use it.
7380
7381 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7382 there's no inferior buffer (bug#10196).
7383 (prolog-consult-compile): Don't use toggle-read-only.
7384
7385 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7386
7387 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7388 interrupt. (Bug#10187)
7389
7390 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7393 (bug#9160).
7394
7395 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7396 (bug#10191).
7397
7398 2011-12-02 Juri Linkov <juri@jurta.org>
7399
7400 * info.el (Info-search): Display "end of manual" when Isearch
7401 reaches the end of single-file Info manual. (Bug#9918)
7402
7403 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7404
7405 * isearch.el (isearch-message-prefix): Run the input method part
7406 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7407
7408 2011-12-02 Juri Linkov <juri@jurta.org>
7409
7410 * isearch.el (isearch-occur): Use `word-search-regexp' for
7411 `isearch-word'.
7412 (isearch-search-and-update): Add condition for `isearch-word' and
7413 call `word-search-regexp'. (Bug#10145)
7414
7415 2011-12-01 Glenn Morris <rgm@gnu.org>
7416
7417 * eshell/em-hist.el (eshell-hist-initialize):
7418 Handle eshell-history-size nil and HISTSIZE set or unset.
7419 (eshell-history-file-name, eshell-history-size): Fix custom type.
7420
7421 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7424
7425 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7426
7427 * progmodes/verilog-mode.el (verilog-pretty-expr):
7428 Rework verilog-pretty-expr to handle new assignment operators in system
7429 verilog, such as += *= and the like.
7430 (verilog-assignment-operator-re): Regular expression to find the
7431 assigment operator in a verilog assignment.
7432 (verilog-assignment-operation-re): Regular expression to find an
7433 assignment statement for pretty-expr.
7434 (verilog-in-attribute-p): Query returns true if point is in an
7435 attribute context; used to skip these for expression line up from
7436 pretty-expr.
7437 (verilog-in-parameter-p): Query returns true if point is in an
7438 parameter definition context; used to skip these for expression
7439 line up from pretty-expr.
7440 (verilog-in-parenthesis-p): Query returns true if point is in a
7441 parenthetical expression, specifically ( ) but not [ ] or { };
7442 used by pretty-expr.
7443 (verilog-just-one-space): If there is no space, don't add one.
7444 (verilog-get-lineup-indent-2): Specifically skip just attribute
7445 contexts for expression lineup, rather than skipping all
7446 parenthetical expressions.
7447 (verilog-calculate-indent): Fix comment, and fix indent.
7448 (verilog-do-indent): Indent declarations in lists (suggested by
7449 Joachim Lechner).
7450 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7451 skeleton items.
7452 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7453 by Alain Mellan).
7454
7455 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7456
7457 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7458 parameters with embedded comments. Reported by Ray Stevens.
7459 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7460 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7461 Reported by Tim Holt.
7462 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7463 instantiated by upper module causing wrong expansion until AUTOed a
7464 second time. Reported by K C Buckenmaier.
7465 (verilog-diff-auto): Fix showing .* as a difference when
7466 `verilog-auto-star-save' off. Reported by Dan Dever.
7467 (verilog-auto-reset, verilog-read-always-signals)
7468 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7469 temporary signals in reset list if
7470 verilog-auto-reset-blocking-in-non is nil, and match assignment
7471 style to each signal's assignment type, bug381.
7472 Reported by Thomas Esposito.
7473 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7474 (verilog-uvm-statement-re): Support UVM indentation and
7475 highlighting, with old OVM keywords only.
7476 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7477 Support AUTOTIEOFF creating non-wire data types.
7478 Suggested by Jonathan Greenlaw.
7479 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7480 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7481 (verilog-inject-sense, verilog-read-inst-pins)
7482 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7483 Fix mismatching parenthesis inside commented out code when deleting
7484 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7485 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7486 non-numeric vector width. Reported by Alex Reed.
7487 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7488 detecting signals with parameter widths. Reported by Alex Reed.
7489 (verilog-auto-delete-trailing-whitespace):
7490 With `verilog-auto-delete-trailing-whitespace' remove trailing
7491 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7492 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7493 Fix verilog-scan-cache corruption when running user AUTO expansion
7494 hooks that call indentation routines.
7495 (verilog-simplify-range-expression): Fix typo ignoring lower case
7496 identifiers.
7497 (verilog-delete-auto): Fix delete-autos to also remove user created
7498 automatics, as long as they start with AUTO.
7499 (verilog-batch-diff-auto, verilog-diff-auto)
7500 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7501 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7502 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7503 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7504 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7505 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7506 is disabled and its cache will get corrupt, causing AUTOS not to
7507 expand. Instead use only -quick functions.
7508 (verilog-scan-region): Fix scanning over escaped quotes.
7509 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7510 (verilog-re-search-backward-quick)
7511 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7512 related functions now ignore strings, to fix misparsing of strings
7513 with magic comments embedded in them.
7514 (verilog-read-auto-template):
7515 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7516 Reported by Brad Dobbie.
7517 (verilog-read-auto-template):
7518 Fix 'verilog-auto-inst-template-numbers' with comments.
7519 Reported by Brad Dobbie.
7520 (verilog-auto-inst, verilog-auto-inst-param)
7521 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7522 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7523 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7524 debugging templates without merge conflicts, bug357.
7525 Reported by Brad Dobbie.
7526 (verilog-read-auto-template):
7527 Fix verilog-auto-inst-template-numbers with multiple templates.
7528 Reported by Brad Dobbie.
7529 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7530 abbrevs so user won't be asked to save.
7531 (verilog-read-auto-lisp-present): Fix to start at beginning of
7532 buffer in case called outside of verilog-auto.
7533 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7534 to "X-2". Reported by Matthew Myers.
7535 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7536 all inputs from module templates. Reported by Leith Johnson.
7537 (verilog-module-inside-filename-p): Fix locating programs as with
7538 modules.
7539 (verilog-auto-inst-port): Fix vl-width expressions when using
7540 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7541 (verilog-decls-get-regs, verilog-decls-get-signals,
7542 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7543 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7544 verilog-read-decls): Combine reg and wire structures into one var
7545 structure to represent SystemVerilog concepts.
7546 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7547 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7548 (verilog-auto-wire-type, verilog-insert-definition):
7549 Add verilog-auto-wire-type and AUTOLOGIC to support using
7550 SystemVerilog "logic" keyword instead of "wire"/"reg".
7551 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7552 to declares outputs that also have assignments (presumably in an
7553 ifdef or generate if so there's not a driver conflict).
7554 Reported by Matthew Myers.
7555 (verilog-auto-declare-nettype, verilog-insert-definition):
7556 Add verilog-auto-declare-nettype to fix declarations using
7557 `default_nettype none. Reported by Julian Gorfajn.
7558 (verilog-read-always-signals-recurse, verilog-read-decls)
7559 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7560 malformed end statement, bug325. Reported by Joshua Wise and
7561 Andrew Drake.
7562 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7563 (verilog-inst-comment-re): Fix not deleting Interfaced comment
7564 when expanding .* in interfaces, bug320.
7565 Reported by Pierre-David Pfister.
7566 (verilog-read-module-name): Fix import statements between module
7567 name and open parenthesis, bug317.
7568 Reported by Pierre-David Pfister.
7569 (verilog-simplify-range-expression): Fix simplification of
7570 multiplications inside AUTOWIRE connections, bug303.
7571 (verilog-auto-inst-port): Support parameter expansion in
7572 multidimensional arrays.
7573 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7574 after "assert property". Reported by Julian Gorfajn.
7575 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7576 with multiplication, bug303.
7577 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7578 Reported by Jan Frode Lonnum.
7579
7580 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
7581
7582 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7583 (hfy-shell-file-name, hfy-shell):
7584 * international/fontset.el (x-decompose-font-name): Fix typos.
7585
7586 2011-11-29 Ken Brown <kbrown@cornell.edu>
7587
7588 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7589 (gdb-version): Remove defvar.
7590 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7591 (gdb-gud-context-command, gdb-non-stop-handler)
7592 (gdb-current-context-command, gdb-stopped): Use it.
7593 (gdb-init-1): Enable pretty printing here.
7594 (gdb-non-stop-handler): Don't enable pretty-printing here.
7595 Check to see if the target supports non-stop mode; if not, turn off
7596 non-stop mode. Use the following.
7597 (gdb-check-target-async): New defun.
7598 (gud-watch, gdb-stopped): Fix whitespace.
7599 (gdb-get-source-file): Don't try to display the source file if
7600 `gdb-main-file' is nil.
7601
7602 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * align.el: Try to generate fewer markers (bug#10047).
7605 (align--set-marker): New macro.
7606 (align-region): Use it.
7607
7608 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7609
7610 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7611
7612 2011-11-29 Chong Yidong <cyd@gnu.org>
7613
7614 * indent.el (indent-for-tab-command, indent-according-to-mode):
7615 Doc fix.
7616 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7617
7618 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
7619
7620 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7621 aware of remote file names. (Bug#10124)
7622
7623 2011-11-29 Chong Yidong <cyd@gnu.org>
7624
7625 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7626
7627 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * files.el (find-file): Don't use force-same-window (bug#10144).
7630 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7631 use pop-to-buffer if the selected window can't be used.
7632 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7633
7634 2011-11-28 Eli Zaretskii <eliz@gnu.org>
7635
7636 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7637 special-mode-map.
7638
7639 2011-11-28 Chong Yidong <cyd@gnu.org>
7640
7641 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7642
7643 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
7644
7645 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7646 gdb-get-source-file-list on gdb-create-source-file-list.
7647
7648 2011-11-26 Eli Zaretskii <eliz@gnu.org>
7649
7650 * whitespace.el (whitespace-newline): Use a different foreground
7651 color for 16-color light-background displays.
7652
7653 2011-11-24 Chong Yidong <cyd@gnu.org>
7654
7655 * window.el (display-buffer--special-action): Doc fix.
7656
7657 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
7658
7659 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7660 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7661 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7662 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7663 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7664 (avl-tree-stack-first):
7665 * emacs-lisp/cconv.el (cconv--analyse-use):
7666 * net/gnutls.el (gnutls-negotiate): Fix typos.
7667
7668 2011-11-24 Glenn Morris <rgm@gnu.org>
7669
7670 * lpr.el (lpr-windows-system, lpr-lp-system):
7671 * mail/binhex.el (binhex-begin-line):
7672 * progmodes/grep.el (grep-history, grep-find-history):
7673 * textmodes/flyspell.el:
7674 * vc/pcvs-defs.el (cvs-global-menu):
7675 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7676 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7677 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7678
7679 * net/tls.el: Fix case of "GnuTLS".
7680
7681 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7682
7683 * version.el (emacs-build-system): Give it a doc-string.
7684
7685 2011-11-24 Juri Linkov <juri@jurta.org>
7686
7687 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7688
7689 2011-11-24 Glenn Morris <rgm@gnu.org>
7690
7691 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7692 if called on a non-mime message just toggle the headers. (Bug#8006)
7693
7694 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7695
7696 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7697 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7698 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7699 (allout-rebullet-heading, allout-open-sibtopic)
7700 (allout-toggle-current-subtree-encryption)
7701 (allout-toggle-subtree-encryption, allout-encrypt-string)
7702 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7703 (allout-distinctive-bullets-string, allout-auto-activation):
7704 * window.el (window-normalize-buffer-to-display):
7705 * progmodes/verilog-mode.el (verilog-batch-indent):
7706 * textmodes/bibtex.el (bibtex-field-braces-opt)
7707 (bibtex-field-strings-opt):
7708 * vc/cvs-status.el (cvs-tree-merge):
7709 Fix typos.
7710
7711 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7712
7713 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7714 `non-essential' to t, in order to avoid remote connections.
7715
7716 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7717
7718 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7719 On MS-DOS and MS-Windows, compare with loaddefs.el
7720 case-insensitively.
7721
7722 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7723
7724 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7725
7726 2011-11-23 Glenn Morris <rgm@gnu.org>
7727
7728 * paths.el (rmail-file-name): Reformat the doc-string so that it
7729 is picked up.
7730
7731 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7732 (rmail-auto-file): Ignore case in the "special" field names,
7733 as mail-fetch-field does for all others.
7734
7735 * mail/rmail.el (rmail-forward):
7736 * mail/rmailkwd.el (rmail-set-label):
7737 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7738 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7739
7740 * mail/rmail.el (rmail-current-message): Doc fix.
7741
7742 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7743
7744 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7745
7746 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7747
7748 2011-11-22 Glenn Morris <rgm@gnu.org>
7749
7750 * mail/rmailmm.el (test-rmail-mime-handler)
7751 (test-rmail-mime-bulk-handler)
7752 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7753
7754 2011-11-21 Juri Linkov <juri@jurta.org>
7755
7756 * calc/calc.el (calc-read-key-sequence):
7757 Let-bind `input-method-function' to nil. (Bug#10018)
7758
7759 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7760
7761 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7762 Tell the caller that the next line needs recomputation, even
7763 though it doesn't start a sexp (bug#10094).
7764
7765 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7766
7767 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7768
7769 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7770
7771 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7772 Use force-same-window.
7773
7774 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7775
7776 * descr-text.el (describe-char-unicode-data):
7777 * json.el (json-string-escape):
7778 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7779 (Footnote-unicode, Footnote-style-p):
7780 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7781
7782 2011-11-20 Chong Yidong <cyd@gnu.org>
7783
7784 * window.el (replace-buffer-in-windows): Restore interactive spec.
7785
7786 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7787
7788 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7789
7790 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7791 (byte-compile-global-not-obsolete-vars): New var.
7792 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7793 Use it.
7794 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7795
7796 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7797
7798 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7799 * progmodes/pascal.el (electric-pascal-equal):
7800 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7801 * xml.el (xml-substitute-special): Fix typos.
7802
7803 2011-11-20 Glenn Morris <rgm@gnu.org>
7804
7805 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7806 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7807 Doc fixes.
7808 (rmail-decode-mime-charset): Mark as obsolete.
7809
7810 * mail/rmailsum.el (rmail-message-regexp-p-1):
7811 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7812 Before using mime functions, check they are set. (Bug#10077)
7813
7814 2011-11-19 Juri Linkov <juri@jurta.org>
7815
7816 * info.el (Info-finder-find-node): Use `package--builtins' instead
7817 of `package-alist'. Use node names formed by the pattern "Keyword "
7818 and the keyword name.
7819
7820 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7821
7822 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7823
7824 2011-11-19 Juri Linkov <juri@jurta.org>
7825
7826 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7827 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7828 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7829 `old-history', `old-history-forward'. Add let-binding
7830 `window-selected'. Remove calls to `kill-buffer',
7831 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7832 before calling `Info-find-node', so `Info-find-node-2' will reread
7833 the Info file. Restore window positions only when `window-selected'
7834 is non-nil.
7835
7836 2011-11-19 Juri Linkov <juri@jurta.org>
7837
7838 * isearch.el (isearch-lazy-highlight-new-loop):
7839 Remove condition `(not isearch-error)'. (Bug#9918)
7840
7841 * misearch.el (multi-isearch-search-fun): Add condition
7842 `(not bound)' to ignore lazy-highlighting search.
7843 Add the search-failed message "end of multi" when the end of
7844 multi-sequence is reached. Uncapitalize the search-failed
7845 message "Repeat for next buffer".
7846
7847 * info.el (Info-search): Add the search-failed message
7848 "end of the manual" when the end of the manual is reached
7849 in Isearch mode.
7850
7851 2011-11-19 Juri Linkov <juri@jurta.org>
7852
7853 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7854 Use non-destructive `remove' instead of `delete' because
7855 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7856 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7857
7858 2011-11-19 Juri Linkov <juri@jurta.org>
7859
7860 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7861 to nil instead of binding `search-ring' and `regexp-search-ring'.
7862 (Bug#9185)
7863
7864 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7865
7866 * simple.el (line-move): Force movement by logical lines for any
7867 hscrolled window, not only when auto-hscroll-mode is on.
7868 (line-move-visual): Update doc string to that effect. (Bug#10076)
7869
7870 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7871
7872 * language/european.el (macintosh): Define as alias for mac-roman.
7873
7874 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7875
7876 * mail/rmailmm.el (rmail-mime-display-header)
7877 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7878 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7879 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7880 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7881 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7882 of a raw aref.
7883 (rmail-mime-entity-segment): To get past the tagline, move forward
7884 2 more lines, to account for the 2 empty lines that precede and
7885 follow the line with the buttons.
7886 (rmail-mime-update-tagline): Move one more line, to get past the
7887 empty line that follows the buttons in the tagline. (Bug#9520)
7888
7889 2011-11-19 Martin Rudalics <rudalics@gmx.at>
7890
7891 * window.el (window-max-delta-1, window-min-delta-1)
7892 (window-min-size-1, window-state-get-1, window-state-put-1)
7893 (window-state-put-2): Use "window--" prefix.
7894
7895 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7898 (smie-warning-count): New var.
7899 (smie-set-prec2tab): Use it.
7900 (smie-bnf->prec2): Improve warnings. Add docstring.
7901 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7902 (smie-bnf--set-class): New function.
7903 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7904 corner case.
7905
7906 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7907 (compilation-error-properties, compilation-move-to-column):
7908 Handle compilation-first-column while in the target buffer.
7909
7910 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7911 Don't hardcode point-min==1.
7912
7913 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7914 (eshell-rewrite-for-command): Remove workaround.
7915 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7916 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7917 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7918
7919 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7920
7921 2011-11-17 Glenn Morris <rgm@gnu.org>
7922
7923 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7924 Ignore buffer-local generated-autoload-file if it is the same
7925 as the global value. (Bug#10049)
7926
7927 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7928
7929 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7930 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7931 (reftex-toc-previous-heading, reftex-toc-max-level)
7932 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7933 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7934 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7935 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7936 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7937 (reftex-toc-rename-label, reftex-toc-visit-location)
7938 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7939 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7940 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7941 leaving "*toc*" only for references to the buffer.
7942
7943 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7944
7945 * window.el (window-resize, delete-window, split-window):
7946 Replace window-splits by window-combination-resize.
7947 * cus-start.el (window-splits): Replace by window-combination-resize.
7948
7949 2011-11-17 Glenn Morris <rgm@gnu.org>
7950
7951 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7952 Make bash entry derive from sh entry, not shell entry.
7953
7954 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7955
7956 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7957 local file name.
7958
7959 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7960
7961 * menu-bar.el (menu-bar-file-menu):
7962 * printing.el (pr-ps-utility):
7963 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7964 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7965 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7966 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7967 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7968 (icalendar--convert-cyclic-to-ical)
7969 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7970 (icalendar--convert-ical-to-diary)
7971 (icalendar--convert-recurring-to-diary)
7972 (icalendar--convert-non-recurring-all-day-to-diary)
7973 (icalendar-import-format-sample):
7974 * progmodes/idlw-shell.el (idlwave-shell-mode):
7975 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7976 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7977 (vhdl-ps-print-init): Fix typos.
7978
7979 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7980
7981 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7982 FSF and collapse date sequence, obscure author/maintainer email address
7983 better, remove extra version line, track relocation of author's webpage.
7984
7985 * progmodes/python.el (python-pdbtrack-input-prompt)
7986 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7987 regular python pdb prompts. Adjustments shamelessly taken exactly as
7988 suggested in EmacsWiki page (tiny change):
7989 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7990
7991 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7992
7993 * expand.el (expand-pos, expand-index, expand-point):
7994 Remove redundant info from docstring.
7995 (expand-add-abbrevs): Doc fix.
7996 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7997 (expand-sample-perl-mode-expand-list): Fix typos.
7998
7999 * net/dbus.el (dbus-event-member-name):
8000 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8001 * term/pc-win.el (msdos-create-frame-with-faces):
8002 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8003
8004 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8005
8006 * window.el (split-window, window-state-get-1)
8007 (window-state-put-1, window-state-put-2): Rename occurrences of
8008 window-nest to window-combination-limit.
8009 * cus-start.el (window-nest): Rename to window-combination-limit.
8010
8011 2011-11-16 Chong Yidong <cyd@gnu.org>
8012
8013 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8014 regexp (Bug#10033).
8015
8016 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8019 `completing-read' will remove *Completions* and will preserve
8020 current-buffer for us.
8021 (tmm-add-prompt): Users of *Completions* will always (re)set its
8022 major mode.
8023 (tmm-old-comp-map): Remove.
8024
8025 2011-11-16 Glenn Morris <rgm@gnu.org>
8026
8027 * mail/rmailedit.el: Require rmailmm when compiling.
8028 (rmail-old-mime-state): New declaration.
8029 (rmail-edit-current-message): If editing a mime message,
8030 edit the "raw" message from the mbox buffer.
8031 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8032
8033 2011-11-15 Glenn Morris <rgm@gnu.org>
8034
8035 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8036 which wasn't being used. Add optional arg to force given state.
8037 (rmail-mime): Add optional arg to force given state.
8038
8039 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8040
8041 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8042 * frame.el (display-mm-dimensions-alist):
8043 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8044 (outline-move-subtree-down):
8045 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8046 (newsticker--treeview-do-get-node):
8047 * net/quickurl.el (quickurl-list-buffer-name):
8048 * progmodes/dcl-mode.el (dcl-mode):
8049 * progmodes/gdb-mi.el (gdb-mapcar*):
8050 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8051
8052 2011-11-15 Glenn Morris <rgm@gnu.org>
8053
8054 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8055 in a boolean sense, so just make it a boolean, and fix the doc.
8056 (rmail-show-mime-function, rmail-mime-feature)
8057 (rmail-require-mime-maybe): Doc fixes.
8058 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8059
8060 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8061
8062 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8063
8064 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8065 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8066 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8067 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8068
8069 2011-11-15 Glenn Morris <rgm@gnu.org>
8070
8071 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8072 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8073 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8074 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8075 (rmail-mime, rmail-show-mime): Doc fixes.
8076
8077 * term/ns-win.el (mode-line-frame-identification):
8078 Leave it alone. (Bug#10051)
8079
8080 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8081
8082 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8083 Handle empty buffers. (Bug#9978)
8084
8085 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8086
8087 * international/mule.el (define-charset):
8088 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8089 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8090 * progmodes/verilog-mode.el (verilog-backward-token):
8091 * textmodes/ispell.el (lookup-words):
8092 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8093
8094 2011-11-14 Glenn Morris <rgm@gnu.org>
8095
8096 * progmodes/executable.el
8097 (executable-make-buffer-file-executable-if-script-p):
8098 Handle file-modes returning nil.
8099
8100 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8101 message - not necessary, and causes problems. (Bug#9831)
8102
8103 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8104
8105 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8106
8107 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8108 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8109 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8110
8111 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8112
8113 * window.el (window-resize, delete-window): Use window-splits
8114 variable instead of function.
8115 (window-state-get-1, window-state-put-2, window-state-put):
8116 Don't deal with windows' splits status.
8117
8118 2011-11-12 Glenn Morris <rgm@gnu.org>
8119
8120 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8121 (apropos-documentation): Doc fixes.
8122
8123 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8124
8125 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8126 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8127
8128 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * electric.el (electric-indent-post-self-insert-function): Make it
8131 possible for a char to only indent in some circumstances.
8132 (electric-indent-mode): Simplify.
8133
8134 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8135
8136 * window.el (windows-with-parameter): Remove unused function.
8137 (windows-at-side): Rename to window-at-side-list.
8138 (window-check, window-atom-check, window-atom-check-1)
8139 (window-side-check, window-size-ignore, window-size-fixed-1)
8140 (window-in-direction-2): Prefix with "window--".
8141 (window-tree-1): Rename to window--subtree, fix doc-string.
8142
8143 2011-11-11 Glenn Morris <rgm@gnu.org>
8144
8145 * subr.el (eval-after-load): If FILE is already loaded,
8146 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8147
8148 2011-11-10 Glenn Morris <rgm@gnu.org>
8149
8150 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8151 Call svn via vc-svn-command rather than vc-do-command.
8152 (vc-svn-command): Add --non-interactive. (Bug#9993)
8153 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8154
8155 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8156 Add toggle-read-only. (Bug#7292)
8157 * files.el (toggle-read-only): Mention that it should only
8158 be used interactively. (Bug#10006)
8159
8160 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8161
8162 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8163 Adjust regexp for OCaml warnings.
8164
8165 * electric.el (electric-pair-post-self-insert-function): Let user
8166 turn it off buffer-locally (bug#9932).
8167
8168 * progmodes/python.el (python-beginning-of-statement):
8169 Rewrite (bug#2703).
8170
8171 * progmodes/compile.el: Better handle TABs (bug#9749).
8172 (compilation-internal-error-properties)
8173 (compilation-next-error-function): Obey the target buffer's
8174 compilation-error-screen-columns.
8175
8176 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8177
8178 * progmodes/meta-mode.el: Remove obsolete comments.
8179 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8180 Fix typos in docstrings.
8181
8182 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8183
8184 * window.el (window-size-fixed-p): Rewrite doc-string.
8185 (window-resizable-p): Rename to window--resizable-p. Update callers.
8186 (window--resizable): New function. Make all callers of
8187 window-resizable call window--resizable instead.
8188 (window-resizable): Rewrite in terms of window--resizable.
8189
8190 2011-11-08 Glenn Morris <rgm@gnu.org>
8191
8192 * progmodes/delphi.el (delphi-mode-syntax-table):
8193 Let define-derived-mode define a proper syntax table. (Bug#9994)
8194
8195 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * window.el: Stay away from defsubst.
8198 (window-list-no-nils): Remove.
8199 (window-state-get-1, window-state-get): Use backquote instead.
8200
8201 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8202
8203 * emacs-lisp/find-func.el (find-function-read):
8204 Fix incorrect use of default argument in `completing-read'.
8205
8206 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8207
8208 * window.el (display-buffer-function, special-display-function):
8209 Mention display-buffer-record-window but do not mention
8210 help-setup parameter in doc-strings.
8211 (window-min-delta): Fix doc-string typo.
8212
8213 2011-11-08 Chong Yidong <cyd@gnu.org>
8214
8215 * window.el (window-total-height, window-total-width): Doc fix.
8216 (window-body-size): Move from C.
8217 (window-body-height, window-body-width): Move to C.
8218
8219 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8220
8221 * window.el: Make special-display like display-buffer-alist (bug#9532).
8222 (display-buffer--special-action): New function, morphed
8223 from display-buffer--special.
8224 (display-buffer): Use it to handle special-display-buffers at higher
8225 priority (just after display-buffer-alist).
8226 (display-buffer-fallback-action, display-buffer--other-frame-action)
8227 (pop-to-buffer-same-window): Remove display-buffer--special.
8228
8229 2011-11-07 Glenn Morris <rgm@gnu.org>
8230
8231 * calendar/cal-menu.el (cal-menu-set-date-title):
8232 Do nothing if not in a calendar. (Bug#9976)
8233
8234 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * files.el (find-file): Always use selected-window.
8237
8238 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8239
8240 * window.el (window-combinations): Make WINDOW argument
8241 mandatory. Rewrite doc-string.
8242 (walk-window-subtree, window-atom-check, window-min-delta)
8243 (window-max-delta, window--resize-this-window)
8244 (window--resize-root-window-vertically, window-tree)
8245 (balance-windows, window-state-put): Rewrite doc-strings as to
8246 not mention the term "subwindow".
8247 (window--resize-subwindows-skip-p): Rename to
8248 window--resize-child-windows-skip-p.
8249 (window--resize-subwindows-normal): Rename to
8250 window--resize-child-windows-normal.
8251 (window--resize-subwindows): Rename to
8252 window--resize-child-windows.
8253 (window-or-subwindow-p): Rename to window--in-subtree-p.
8254
8255 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8256
8257 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8258 Ensure that mbox format messages end in two newlines (Bug#9974).
8259
8260 2011-11-06 Chong Yidong <cyd@gnu.org>
8261
8262 * window.el (window-combination-p): Function deleted; its
8263 side-effect is not used in any existing code.
8264 (window-combinations, window-combined-p): Call window-*-child
8265 directly.
8266
8267 2011-11-05 Chong Yidong <cyd@gnu.org>
8268
8269 * window.el (window-valid-p): Rename from window-any-p.
8270 (window-size-ignore, window-state-get): Callers changed.
8271 (window-normalize-window): Rename from window-normalize-any-window.
8272 New arg LIVE-ONLY, replacing window-normalize-live-window.
8273 (window-normalize-live-window): Delete.
8274 (window-combination-p, window-combined-p, window-combinations)
8275 (walk-window-subtree, window-atom-root, window-min-size)
8276 (window-sizable, window-sizable-p, window-size-fixed-p)
8277 (window-min-delta, window-max-delta, window-resizable)
8278 (window-resizable-p, window-full-height-p, window-full-width-p)
8279 (window-current-scroll-bars, window-point-1, set-window-point-1)
8280 (window-at-side-p, window-in-direction, window-resize)
8281 (adjust-window-trailing-edge, maximize-window, minimize-window)
8282 (window-deletable-p, delete-window, delete-other-windows)
8283 (record-window-buffer, unrecord-window-buffer)
8284 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8285 (quit-window, split-window, window-state-put)
8286 (set-window-text-height, fit-window-to-buffer)
8287 (shrink-window-if-larger-than-buffer): Callers changed.
8288
8289 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8290
8291 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8292 rfc2047-decode-string.
8293 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8294 warnings.
8295
8296 * window.el (window-body-height, window-body-width): Mention in
8297 the doc string that the return values are in frame's canonical
8298 units. (Bug#9949)
8299
8300 2011-11-03 Alan Mackenzie <acm@muc.de>
8301
8302 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8303 change in cc-engine.el.
8304
8305 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8306
8307 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8308
8309 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8310
8311 * window.el (quit-window): Call unrecord-window-buffer after
8312 showing another buffer in the window. (Bug#9937)
8313 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8314
8315 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8316
8317 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8318 Accept status with more than 9 shelves. (Bug#9935)
8319 Reported by Colin D Bennett <colin@gibibit.com>.
8320
8321 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8322
8323 * help.el (with-help-window): Don't reference
8324 temp-buffer-show-specifiers in doc-string.
8325
8326 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8327
8328 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8329 menu-item.
8330
8331 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8332
8333 * whitespace.el: New version 13.2.2.
8334 (whitespace-newline-mode): Disable properly. Reported by Sarah
8335 <EmacsWiki>.
8336
8337 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8338
8339 * net/newst-treeview.el: Remove "Time-stamp".
8340 (newsticker--group-manage-orphan-feeds): Do not call
8341 newsticker--treeview-tree-update.
8342 (newsticker-treeview-update, newsticker-treeview):
8343 Call newsticker--treeview-tree-update if necessary.
8344
8345 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8346
8347 * window.el (window-iso-combination-p, window-iso-combined-p)
8348 (window-iso-combinations): Remove "iso-" infix.
8349 Suggested by Chong Yidong.
8350 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8351 (window-max-delta-1, window-resize, window--resize-siblings)
8352 (window--resize-this-window, adjust-window-trailing-edge)
8353 (split-window, balance-windows-1)
8354 (shrink-window-if-larger-than-buffer):
8355 * calendar/calendar.el (calendar-generate-window):
8356 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8357
8358 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8359
8360 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8361 in place (bug#9907).
8362 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8363 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8364 (eshell-structure-basic-command, eshell-rewrite-while-command)
8365 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8366 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8367 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8368 (eshell-do-pipelines-synchronously, eshell-eval-command):
8369 Use backquotes and prefer setq to set.
8370 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8371 (eshell-macrop): Use functionp.
8372 (eshell-do-eval): Handle multiple expressions in `while' body.
8373
8374 2011-10-30 Chong Yidong <cyd@gnu.org>
8375
8376 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8377 instead of set-mark (Bug#9810).
8378
8379 2011-10-30 Chong Yidong <cyd@gnu.org>
8380
8381 * window.el (split-window-below, split-window-right): Rename from
8382 split-window-above-each-other and split-window-side-by-side
8383 respectively. All callers changed.
8384 (split-window-sensibly, split-window-sensibly): Use them.
8385 (split-window-keep-point): Doc fix.
8386
8387 * isearch.el: Add isearch-scroll property to split-window-below
8388 and split-window-right.
8389
8390 * follow.el (follow-mode):
8391 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8392 * progmodes/ada-xref.el (ada-gdb-application):
8393 * emulation/vip.el (vip-buffer-in-two-windows):
8394 * image-dired.el (image-dired-dired-with-window-configuration):
8395 * dired-x.el (dired-do-find-marked-files):
8396 * dired.el (dired-pop-to-buffer):
8397 * bs.el (bs--show-with-configuration):
8398 * vc/emerge.el (emerge-setup-windows):
8399 * textmodes/two-column.el (2C-two-columns):
8400 * textmodes/reftex-toc.el (reftex-toc):
8401 * progmodes/gdb-mi.el (gdb-setup-windows):
8402 * progmodes/fortran.el (fortran-window-create):
8403 * net/newst-treeview.el (newsticker--treeview-window-init):
8404 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8405 * emulation/tpu-edt.el (tpu-gold-map):
8406 * emulation/crisp.el (crisp-mode-map):
8407 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8408
8409 2011-10-29 Chong Yidong <cyd@gnu.org>
8410
8411 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8412
8413 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8414
8415 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8416 forged Ispell output (Bug#7904).
8417
8418 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8419
8420 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8421
8422 * doc-view.el: Avoid ugly errors about not finding nil.
8423 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8424 (doc-view-dvipdf-program, doc-view-unoconv-program)
8425 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8426 Avoid nil or absolute file name as default value.
8427 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8428
8429 2011-10-28 Alan Mackenzie <acm@muc.de>
8430
8431 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8432
8433 2011-10-28 Alan Mackenzie <acm@muc.de>
8434
8435 Amend the handling of c-beginning/end-of-defun in nested declaration
8436 scopes.
8437
8438 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8439 cc-langs.el. Change it to a defcustom.
8440
8441 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8442 cc-vars.el.
8443
8444 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8445 Prevent "class foo : bar" being spuriously recognized as a label.
8446
8447 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8448 Add parameter `inclusive' (to include enclosing braces in the region).
8449 (c-widen-to-enclosing-decl-scope): New function.
8450 (c-while-widening-to-decl-block): New macro.
8451 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8452 outward for defun boundaries, and correspondingly change symbol
8453 `respect-enclosure' to `go-outward'.
8454 (c-declaration-limits): Change algorithm to report only the "innermost"
8455 defun's boundaries.
8456
8457 2011-10-28 Deniz Dogan <deniz@dogan.se>
8458
8459 * net/rcirc.el (rcirc-mode): Use hard newlines.
8460
8461 2011-10-28 Alan Mackenzie <acm@muc.de>
8462
8463 Amend to indent and fontify macros "which include their own semicolon"
8464 correctly, using the "virtual semicolon" mechanism.
8465
8466 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8467
8468 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8469 Recode to scan one line at a time rather than having \n and \r
8470 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8471 (c-forward-label): Amend for virtual semicolons.
8472 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8473
8474 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8475 of the new C macros.
8476
8477 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8478 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8479 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8480 (c-opt-cpp-macro-define): Make into a full language variable.
8481 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8482 AWK Mode (including \n, \r) removed, no longer needed.
8483
8484 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8485 Invoke c-make-macro-with-semi-re.
8486
8487 * progmodes/cc-vars.el (c-macro-with-semi-re):
8488 (c-macro-names-with-semicolon): New variables.
8489 (c-make-macro-with-semi-re): New function.
8490
8491 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * vc/log-edit.el: Fill empty field rather than adding new one.
8494 (log-edit-add-field): New function.
8495 (log-edit-insert-changelog): Use it.
8496
8497 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8498
8499 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8500
8501 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8504 (gdb--check-interpreter): New function.
8505 (gdb): Use it.
8506
8507 2011-10-27 Glenn Morris <rgm@gnu.org>
8508
8509 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8510 (least-positive-float, least-negative-float)
8511 (least-positive-normalized-float, least-negative-normalized-float)
8512 (float-epsilon, float-negative-epsilon):
8513 Remove unnecessary declarations.
8514
8515 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8516 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8517 (least-positive-float, least-negative-float)
8518 (least-positive-normalized-float, least-negative-normalized-float)
8519 (float-epsilon, float-negative-epsilon): Add doc-strings,
8520 based on those in cl.texi.
8521
8522 * files.el (set-visited-file-name): If the major-mode changed,
8523 reload the local variables. (Bug#9796)
8524
8525 2011-10-27 Chong Yidong <cyd@gnu.org>
8526
8527 * subr.el (change-major-mode-after-body-hook): New hook.
8528 (run-mode-hooks): Run it.
8529
8530 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8531 Use change-major-mode-before-body-hook.
8532
8533 * simple.el (fundamental-mode):
8534 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8535 change introducing fundamental-mode-hook.
8536
8537 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
8538
8539 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8540
8541 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
8542
8543 * ido.el (ido-file-name-all-completions-1): Do not require
8544 tramp.el explicitly. (Bug#7583)
8545
8546 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8547
8548 * progmodes/octave-mod.el:
8549 * progmodes/octave-inf.el: Update maintainer.
8550
8551 2011-10-26 Chong Yidong <cyd@gnu.org>
8552
8553 * subr.el (with-wrapper-hook): Rewrite doc.
8554
8555 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
8556
8557 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8558 filenames "/method:foo:". (Bug#9793)
8559
8560 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8561
8562 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8563 (bug#9865).
8564
8565 2011-10-24 Glenn Morris <rgm@gnu.org>
8566
8567 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8568
8569 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
8570
8571 * notifications.el: Add the requirement of a running D-Bus session
8572 bus to the Commentary.
8573
8574 2011-10-24 Juri Linkov <juri@jurta.org>
8575
8576 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8577 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8578 (Bug#9364)
8579
8580 2011-10-24 Juri Linkov <juri@jurta.org>
8581
8582 * info.el (Info-following-node-name-re): Add newline to the list
8583 of allowed characters for leading space. (Bug#9824)
8584
8585 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8586
8587 * progmodes/octave-inf.el (inferior-octave-mode-map):
8588 Fix C-c C-h binding.
8589 * progmodes/octave-mod.el (octave-help): Remove.
8590
8591 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
8592
8593 Sync with Tramp 2.2.3.
8594
8595 * net/tramp-cache.el (top): Pacify byte-compiler using
8596 `init-file-user' and `site-run-file'.
8597
8598 * net/trampver.el: Update release number.
8599
8600 2011-10-23 Chong Yidong <cyd@gnu.org>
8601
8602 * files.el (toggle-read-only): Remove obsolete comment about
8603 version control.
8604
8605 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8606 for toggle-read-only. Note that this hasn't called vc-next-action
8607 since 2008-05-02, though it wasn't documented at the time.
8608
8609 * vc/ediff-init.el (ediff-toggle-read-only-function):
8610 Use toggle-read-only.
8611
8612 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8613
8614 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8615 of c-parse-state.
8616
8617 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8618 correct faulty logical expression.
8619 (c-parse-state-state, c-record-parse-state-state):
8620 (c-replay-parse-state-state): New defvar/defuns.
8621 (c-debug-parse-state): Use new functions.
8622
8623 2011-10-22 Martin Rudalics <rudalics@gmx.at>
8624
8625 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8626 last fix. Use window-in-direction correctly.
8627
8628 2011-10-21 Chong Yidong <cyd@gnu.org>
8629
8630 * progmodes/idlwave.el (idlwave-mode):
8631 * progmodes/vera-mode.el (vera-mode): No need to set
8632 require-final-newline; that's done in prog-mode.
8633 Suggested by Stefan Monnier.
8634
8635 2011-10-21 Martin Rudalics <rudalics@gmx.at>
8636
8637 * mouse.el (mouse-drag-window-above)
8638 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8639 (mouse-drag-mode-line-1, mouse-drag-header-line)
8640 (mouse-drag-vertical-line-rightward-window): Remove.
8641 (mouse-drag-line): New function.
8642 (mouse-drag-mode-line, mouse-drag-header-line)
8643 (mouse-drag-vertical-line): Call mouse-drag-line.
8644 * window.el (window-at-side-p, windows-at-side): New functions.
8645
8646 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
8647
8648 * tar-mode.el (tar-grind-file-mode):
8649 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8650
8651 2011-10-21 Chong Yidong <cyd@gnu.org>
8652
8653 * progmodes/idlwave.el (idlwave-mode):
8654 * progmodes/vera-mode.el (vera-mode):
8655 Use mode-require-final-newline.
8656
8657 2011-10-20 Glenn Morris <rgm@gnu.org>
8658
8659 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
8660
8661 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8662
8663 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8664
8665 2011-10-20 Chong Yidong <cyd@gnu.org>
8666
8667 * emulation/cua-base.el (cua-mode):
8668 * mail/footnote.el (footnote-mode):
8669 * mail/mailabbrev.el (mail-abbrevs-mode):
8670 * net/xesam.el (xesam-minor-mode):
8671 * progmodes/bug-reference.el (bug-reference-mode):
8672 * progmodes/cap-words.el (capitalized-words-mode):
8673 * progmodes/compile.el (compilation-minor-mode)
8674 (compilation-shell-minor-mode):
8675 * progmodes/gud.el (gud-tooltip-mode):
8676 * progmodes/hideif.el (hide-ifdef-mode):
8677 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8678 * progmodes/subword.el (subword-mode):
8679 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8680 * progmodes/which-func.el (which-function-mode):
8681 * term/tvi970.el (tvi970-set-keypad-mode):
8682 * term/vt100.el (vt100-wide-mode):
8683 * textmodes/flyspell.el (flyspell-mode):
8684 * textmodes/ispell.el (ispell-minor-mode):
8685 * textmodes/nroff-mode.el (nroff-electric-mode):
8686 * textmodes/paragraphs.el (use-hard-newlines):
8687 * textmodes/refill.el (refill-mode):
8688 * textmodes/reftex.el (reftex-mode):
8689 * textmodes/rst.el (rst-minor-mode):
8690 * textmodes/sgml-mode.el (html-autoview-mode)
8691 (sgml-electric-tag-pair-mode):
8692 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8693 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8694 * emulation/crisp.el (crisp-mode):
8695 * emacs-lisp/eldoc.el (eldoc-mode):
8696 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8697 minor mode behavior.
8698
8699 2011-10-19 Juri Linkov <juri@jurta.org>
8700
8701 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8702 the list of hard-coded chars with escape-glyph face.
8703
8704 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8707
8708 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8709
8710 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8711 running process.
8712
8713 2011-10-19 Glenn Morris <rgm@gnu.org>
8714
8715 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8716 Ignore ignored files. (Bug#9726)
8717
8718 2011-10-19 Chong Yidong <cyd@gnu.org>
8719
8720 Doc fix for minor modes, stating that an omitted argument enables
8721 the mode unconditionally when called from Lisp.
8722
8723 * abbrev.el (abbrev-mode):
8724 * allout.el (allout-mode):
8725 * autoinsert.el (auto-insert-mode):
8726 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8727 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8728 (global-auto-revert-mode):
8729 * battery.el (display-battery-mode):
8730 * composite.el (global-auto-composition-mode)
8731 (auto-composition-mode):
8732 * delsel.el (delete-selection-mode):
8733 * desktop.el (desktop-save-mode):
8734 * dired-x.el (dired-omit-mode):
8735 * dirtrack.el (dirtrack-mode):
8736 * doc-view.el (doc-view-minor-mode):
8737 * double.el (double-mode):
8738 * electric.el (electric-indent-mode, electric-pair-mode):
8739 * emacs-lock.el (emacs-lock-mode):
8740 * epa-hook.el (auto-encryption-mode):
8741 * follow.el (follow-mode):
8742 * font-core.el (font-lock-mode):
8743 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8744 * help.el (temp-buffer-resize-mode):
8745 * hilit-chg.el (highlight-changes-mode)
8746 (highlight-changes-visible-mode):
8747 * hi-lock.el (hi-lock-mode):
8748 * hl-line.el (hl-line-mode, global-hl-line-mode):
8749 * icomplete.el (icomplete-mode):
8750 * ido.el (ido-everywhere):
8751 * image-file.el (auto-image-file-mode):
8752 * image-mode.el (image-minor-mode):
8753 * iswitchb.el (iswitchb-mode):
8754 * jka-cmpr-hook.el (auto-compression-mode):
8755 * linum.el (linum-mode):
8756 * longlines.el (longlines-mode):
8757 * master.el (master-mode):
8758 * mb-depth.el (minibuffer-depth-indicate-mode):
8759 * menu-bar.el (menu-bar-mode):
8760 * minibuf-eldef.el (minibuffer-electric-default-mode):
8761 * mouse-sel.el (mouse-sel-mode):
8762 * msb.el (msb-mode):
8763 * mwheel.el (mouse-wheel-mode):
8764 * outline.el (outline-minor-mode):
8765 * paren.el (show-paren-mode):
8766 * recentf.el (recentf-mode):
8767 * reveal.el (reveal-mode, global-reveal-mode):
8768 * rfn-eshadow.el (file-name-shadow-mode):
8769 * ruler-mode.el (ruler-mode):
8770 * savehist.el (savehist-mode):
8771 * scroll-all.el (scroll-all-mode):
8772 * scroll-bar.el (scroll-bar-mode):
8773 * server.el (server-mode):
8774 * shell.el (shell-dirtrack-mode):
8775 * simple.el (auto-fill-mode, transient-mark-mode)
8776 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8777 (line-number-mode, column-number-mode, size-indication-mode)
8778 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8779 * strokes.el (strokes-mode):
8780 * time.el (display-time-mode):
8781 * t-mouse.el (gpm-mouse-mode):
8782 * tool-bar.el (tool-bar-mode):
8783 * tooltip.el (tooltip-mode):
8784 * type-break.el (type-break-mode-line-message-mode)
8785 (type-break-query-mode):
8786 * view.el (view-mode):
8787 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8788 (global-whitespace-mode, global-whitespace-newline-mode):
8789 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8790
8791 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8792 Fix autogenerated docstring.
8793
8794 2011-10-19 Juri Linkov <juri@jurta.org>
8795
8796 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8797 by checking environment variables "DESKTOP_SESSION" and
8798 "XDG_CURRENT_DESKTOP". (Bug#9779)
8799
8800 2011-10-19 Juri Linkov <juri@jurta.org>
8801
8802 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8803 (browse-url-chromium-program, browse-url-chromium-arguments):
8804 New defcustoms.
8805 (browse-url-default-browser): Check for `browse-url-chromium' and
8806 call `browse-url-chromium-program'.
8807 (browse-url-chromium): New command. (Bug#9779)
8808
8809 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
8810
8811 * facemenu.el (list-colors-duplicates): On Windows, detect more
8812 duplicates by assuming that only colors matching "^System" are
8813 special "system colors". (Bug#9722)
8814
8815 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8818 to distinguish the author from the committer.
8819
8820 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
8821
8822 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8823
8824 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8825
8826 * international/mule.el (sgml-html-meta-auto-coding-function):
8827 Add support for detecting encoding in HTML5 specified only as
8828 <meta charset="UTF-8">. Implementation just makes http-equiv and
8829 content-type parts from HTML4 encoding string optional. (Bug#9716)
8830
8831 2011-10-18 Glenn Morris <rgm@gnu.org>
8832
8833 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8834
8835 2011-10-18 Chong Yidong <cyd@gnu.org>
8836
8837 * faces.el (cursor): Doc fix.
8838
8839 2011-10-17 Chong Yidong <cyd@gnu.org>
8840
8841 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8842
8843 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
8844
8845 * dirtrack.el (dirtrack): Support shell buffers with path
8846 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8847
8848 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8849
8850 * json.el: Bump version to 1.3 and note change in History.
8851 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8852
8853 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * comint.el (comint-insert-input, comint-send-input)
8856 (comint-get-old-input-default, comint-backward-matching-input)
8857 (comint-next-prompt): Use nil instead of `input' for field property of
8858 past user input (bug#114).
8859
8860 * minibuffer.el (completion--replace): Inherit surrounding properties
8861 (bug#114).
8862 (minibuffer-complete-and-exit): Use it.
8863
8864 * comint.el (comint--table-subvert): Quote the all-completions output
8865 (bug#9160).
8866
8867 2011-10-17 Martin Rudalics <rudalics@gmx.at>
8868
8869 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8870
8871 * menu-bar.el (menu-bar-file-menu): Add entry for making new
8872 window on right of selected. (Bug#9350) Reword other window
8873 entries and separate them from frame entries.
8874
8875 2011-10-15 Glenn Morris <rgm@gnu.org>
8876
8877 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8878 Doc fixes.
8879
8880 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
8881
8882 * net/network-stream.el (network-stream-open-starttls):
8883 Improve detection of failure due to lack of TLS support.
8884
8885 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8886 putting the input text in front and in bold.
8887
8888 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8891
8892 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8893 empty buffer.
8894
8895 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8896 unread-command-events rather than pushing yet-another event.
8897
8898 2011-10-14 Eli Zaretskii <eliz@gnu.org>
8899
8900 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8901 the explanation of the possible choices. Make the options passed
8902 to completing-read shorter.
8903
8904 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8905
8906 * textmodes/flyspell.el (flyspell-large-region): Make sure
8907 extended character mode is used if defined (Bug#1339).
8908
8909 2011-10-13 Eli Zaretskii <eliz@gnu.org>
8910
8911 * simple.el (what-cursor-position): Fix the display of the
8912 character info for LRE, LRO, RLE, and RLO characters by appending
8913 an invisible PDF.
8914
8915 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8916
8917 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8918 even in case of error; add debug spec; simplify data flow.
8919 (with-timeout-handler): Remove.
8920
8921 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8922
8923 Fix Bug#6019, Bug#9315.
8924
8925 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8926 complete `buffer-file-name', the local file name part could look
8927 remotely (for example on VMS).
8928
8929 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8930 `tramp-run-real-handler'.
8931 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8932 already quoted by '"'.
8933
8934 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8935 Let `file-name-handler-alist' be nil, the local file name part
8936 could look remotely (for example on VMS).
8937
8938 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8939
8940 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8941 from here...
8942 (flyspell-post-command-hook): ...to here.
8943
8944 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8945
8946 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8947 if not needed.
8948 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8949 using completion. Protect against "slow" callers.
8950 Remove the "message hack".
8951
8952 2011-10-11 Juri Linkov <juri@jurta.org>
8953
8954 * isearch.el (isearch-lazy-highlight-word): New variable.
8955 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8956 Use it. (Bug#9727)
8957
8958 2011-10-11 Glenn Morris <rgm@gnu.org>
8959
8960 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8961 like f90-previous-statement does.
8962
8963 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8964
8965 * eshell/eshell.el (eshell-command): History should be saved
8966 only in interactive use, to avoid error.
8967
8968 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8969
8970 * minibuffer.el (completion-file-name-table): Fix last change,
8971 i.e. ignore normal errors but not the other ones.
8972
8973 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8974
8975 * window.el (special-display-buffer-names)
8976 (special-display-regexps): Remove some remnants of earlier
8977 changes from doc-strings.
8978 (quit-windows-on): New function.
8979
8980 * vc/vc.el (vc-revert, vc-rollback):
8981 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8982 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8983 (Bug#6183) (Bug#7074) (Bug#7447)
8984
8985 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8986
8987 * window.el (frame-auto-hide-function): Add version tag.
8988 (Bug#9699)
8989
8990 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8991
8992 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8993 condition.
8994
8995 2011-10-09 Leo Liu <sdl.web@gmail.com>
8996
8997 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8998 (Bug#9701)
8999
9000 2011-10-08 Glenn Morris <rgm@gnu.org>
9001
9002 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9003 before the first code statement zero indent. (Bug#9690)
9004
9005 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9006
9007 * simple.el (count-words-region): Always count in the region.
9008 Report the number of lines and characters too.
9009 (count-words): New command, which counts in the buffer if the
9010 region is inactive, as count-words-region used to.
9011 (count-words--message): New function. Handle plurals.
9012 (count-lines-region): Make it an alias for count-words-region.
9013
9014 * bindings.el (esc-map): Replace count-lines-region with
9015 count-words-region.
9016
9017 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9018
9019 * window.el (window--delete): Delete dedicated frame
9020 unconditionally when argument KILL is non-nil. (Bug#9699)
9021 (switch-to-buffer): Fix doc-string typo.
9022
9023 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9024
9025 * eshell/eshell.el (eshell-command): Avoid using hooks.
9026
9027 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9028
9029 * bindings.el ([M-left],[M-right]): Bind to left-word and
9030 right-word respectively.
9031
9032 2011-10-07 Glenn Morris <rgm@gnu.org>
9033
9034 * cus-start.el (debug-on-quit): Fix custom type.
9035
9036 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9037
9038 * subr.el (define-key-after): Clarify that the function is not
9039 useful for non-menu keymaps.
9040
9041 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9042
9043 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9044
9045 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9046 in current minibuffer (Fix bug with recursive minibuffers).
9047
9048 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9049
9050 * progmodes/gdb-mi.el (gdb): Doc fix.
9051
9052 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9053
9054 * window.el (frame-auto-hide-function): New option replacing
9055 frame-auto-delete. Suggested by Stefan Monnier.
9056 (window--delete): Call frame-auto-hide-function instead of
9057 investigating frame-auto-delete.
9058 (window-point-1, set-window-point-1): New functions.
9059 (window-in-direction, record-window-buffer, window-state-get-1)
9060 (display-buffer-record-window): Use window-point-1 instead of
9061 window-point.
9062 (set-window-buffer-start-and-point): Use set-window-point-1.
9063
9064 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9065
9066 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9067
9068 2011-10-05 Glenn Morris <rgm@gnu.org>
9069
9070 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9071 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9072
9073 2011-10-05 Leo Liu <sdl.web@gmail.com>
9074
9075 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9076 works with buffer object.
9077
9078 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * mpc.el (mpc-tool-bar-map): Add labels.
9081
9082 2011-10-04 Glenn Morris <rgm@gnu.org>
9083
9084 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9085
9086 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9087
9088 * window.el (window--delete): New function.
9089 (frame-auto-delete): Resuscitate option.
9090 (bury-buffer, replace-buffer-in-windows)
9091 (quit-window): Rewrite using window--delete.
9092 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9093 Pass display-buffer-mark-dedicated to window--display-buffer-2
9094 (Bug#9639).
9095
9096 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9099 returns a list (bug#9554). Add remote file name completion.
9100 * comint.el (comint--table-subvert): Curry and get quote&unquote
9101 functions as arguments.
9102 (comint--complete-file-name-data): Adjust call accordingly.
9103 * pcomplete.el (pcomplete--table-subvert): Remove.
9104 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9105
9106 * minibuffer.el (completion-table-case-fold): Use currying.
9107 (completion--styles-type, completion--cycling-threshold-type):
9108 New constants.
9109 (completion-styles, completion-category-overrides)
9110 (completion-cycle-threshold): Use them.
9111 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9112 completion-table-case-fold.
9113
9114 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9115
9116 * minibuffer.el (completion-category-overrides): Fix type of styles
9117 and add more user friendly tags (bug#9660).
9118
9119 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9120
9121 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9122 (mule-input-method-string): New widget.
9123 (default-input-method, language-info-custom-alist): Use it.
9124
9125 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * pcomplete.el: Require comint.
9128 (pcomplete--common-suffix): Remove.
9129 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9130 (pcomplete--table-subvert): Sync with comint--table-subvert.
9131 (pcomplete--entries): Use comint-completion-file-name-table.
9132 * comint.el (comint-unquote-filename): Simplify.
9133 (comint-completion-file-name-table): New function (bug#9616).
9134 (comint--complete-file-name-data): Use it.
9135
9136 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9137 (pcmpl-gnu-tar-buffer): Remove.
9138 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9139 around. Make sure pcomplete-suffix-list is only changed temporarily.
9140 Don't look inside the tar's file if it's too large.
9141
9142 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9143
9144 * cus-edit.el (custom-mode-map):
9145 * epa.el (epa-key-list-mode-map):
9146 * man.el (Man-mode-map):
9147 * startup.el (splash-screen-keymap):
9148 * simple.el (special-mode-map): Use scroll-up-command and
9149 scroll-down-command.
9150
9151 * progmodes/idlw-help.el (idlwave-help-mode-map):
9152 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9153 * net/newst-plainview.el (newsticker-mode-map):
9154 * emulation/ws-mode.el (wordstar-mode-map):
9155 * emulation/vi.el (vi-com-map):
9156 * calc/calc-graph.el (calc-graph-show-dumb):
9157 * term/sun.el (terminal-init-sun):
9158 * term/ns-win.el (global-map):
9159 * progmodes/grep.el (grep-mode-map):
9160 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9161 * mail/rmail.el (rmail-mode-map):
9162 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9163
9164 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9165 custom-safe-themes as special.
9166
9167 2011-10-01 Julien Danjou <julien@danjou.info>
9168
9169 * notifications.el (notifications-notify): Fix docstring.
9170
9171 2011-10-01 Per Starbäck <per@starback.se>
9172
9173 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9174
9175 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9176
9177 * startup.el (command-line-1): Fix last fix by inserting
9178 initial-scratch-message into *scratch* before displaying it.
9179 (Bug#9605) and (Bug#9636)
9180
9181 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9182
9183 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9184 window is hscrolled, move by logical lines. (Bug#9607)
9185 (line-move-visual): Update the doc string to the above effect.
9186
9187 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9188
9189 * window.el (display-buffer-record-window): When WINDOW is the
9190 selected window use `point' instead of `window-point'. (Bug#9626)
9191
9192 * startup.el (command-line-1): Use insert-before-markers when
9193 inserting initial-scratch-message. (Bug#9605)
9194
9195 * help.el (help-window): Remove variable.
9196
9197 2011-09-29 Glenn Morris <rgm@gnu.org>
9198
9199 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9200
9201 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9202
9203 * descr-text.el (describe-char-categories): Accept category
9204 descriptions more than one line long.
9205
9206 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * simple.el (delete-trailing-whitespace): Fix last change.
9209
9210 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9211 Don't confuse "y => 3" as the beginning of a `y' operation.
9212
9213 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9214 object has more than 4 slots (bug#9613).
9215
9216 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9217
9218 * subr.el (with-output-to-temp-buffer):
9219 * net/quickurl.el (quickurl, quickurl-browse-url):
9220 Fix typos in docstrings.
9221
9222 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9223
9224 * minibuffer.el (completion-styles)
9225 (completion-category-overrides): Cross reference each other in doc
9226 strings.
9227
9228 2011-09-27 Glenn Morris <rgm@gnu.org>
9229
9230 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9231 to split-string. (Bug#9606)
9232
9233 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9234
9235 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9236 (bug#9615).
9237
9238 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9239
9240 * emacs-lisp/package.el (list-packages): Fix echo area message.
9241
9242 2011-09-27 Leo Liu <sdl.web@gmail.com>
9243
9244 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9245
9246 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9247
9248 * net/dbus.el (dbus-unregister-object): Don't release services for
9249 registered signals. (Bug#9581)
9250
9251 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9252
9253 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9254 function that picks between cfengine 2 and 3 support
9255 automatically. Update docs accordingly.
9256
9257 2011-09-22 Kenichi Handa <handa@m17n.org>
9258
9259 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9260 ZERO.
9261 (indian-itrans-v5-table-for-tamil): New variable.
9262 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9263
9264 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9265
9266 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9267 that's true if the current command involved collapsing of text.
9268 It's reset to false at the beginning of the next command.
9269 (allout-post-command-business): Move the cursor to the beginning
9270 of entry if the cursor is hidden and collapsing activity just
9271 happened.
9272
9273 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9274
9275 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9276 tracking (Bug#9541).
9277
9278 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9279
9280 * net/newst-reader.el (newsticker-html-renderer)
9281 (newsticker-show-news): Automatically load html rendering package
9282 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9283 because w3m-fill-column is let-bound" and the error "Symbol's value
9284 as variable is void: w3m-fill-column".
9285
9286 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9287
9288 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9289 Release services only if they are defined. (Bug#9581)
9290
9291 2011-09-23 Richard Stallman <rms@gnu.org>
9292
9293 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9294 distinguish start of paragraph from start of its text.
9295
9296 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9297
9298 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9299 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9300 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9301
9302 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9303
9304 * international/mule-diag.el (mule-diag): Insert a newline after
9305 each fontset description.
9306
9307 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9308
9309 * simple.el (delete-trailing-whitespace):
9310 Document last change; simplify.
9311
9312 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9313
9314 * simple.el (delete-trailing-whitespace): Also delete
9315 extra newlines at the end of the buffer.
9316
9317 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9318 (picture-newline): Use forward-line so as to ignore fields.
9319
9320 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * subr.el (with-wrapper-hook): Fix edebug spec.
9323
9324 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9325
9326 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9327 (bug#4538).
9328
9329 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9330
9331 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9332 Fix nasty bug using wrong cached values.
9333
9334 2011-09-23 Alan Mackenzie <acm@muc.de>
9335
9336 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9337
9338 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9339
9340 * window.el (pop-to-buffer): Ensure right window is selected if we
9341 chose another frame.
9342
9343 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9344
9345 * simple.el (what-cursor-position): Use get-char-property-change
9346 and next-single-char-property-change, to be able to show display
9347 properties that come from overlays as well as text properties.
9348
9349 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9350
9351 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9352
9353 * cmuscheme.el (run-scheme, switch-to-scheme):
9354 * cus-edit.el (customize-group, custom-buffer-create)
9355 (customize-browse):
9356 * info.el (info):
9357 * shell.el (shell):
9358 * mail/sendmail.el (mail):
9359 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9360
9361 2011-09-22 Richard Stallman <rms@gnu.org>
9362
9363 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9364 move back only to line beg, don't move back over blank lines.
9365
9366 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9367
9368 * files.el (copy-directory): Set directory attributes only in case
9369 they could be retrieved from the source directory. (Bug#9565)
9370
9371 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9372
9373 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9374 (hs-find-block-beginning, hs-hide-level-recursive):
9375 Ignore strings as well as comments. (Bug#9502)
9376
9377 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9378
9379 * progmodes/sql.el (sql-comint-postgres):
9380 Convert port number to a string. (Bug#9566)
9381
9382 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9383
9384 * window.el (quit-window): Undedicate window when switching to
9385 previous buffer. Reported by Thierry Volpiatto
9386 <thierry.volpiatto@gmail.com>.
9387 (special-display-popup-frame): When popping up a new frame reset
9388 its previous buffers to nil. Simplify code.
9389
9390 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9391
9392 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9393 and process filter, as done also in `shell-command'.
9394
9395 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9396
9397 * window.el (set-window-buffer-start-and-point):
9398 Call set-window-start with NOFORCE argument t.
9399 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9400 (quit-window): Reword doc-string. Handle new format of
9401 quit-restore parameter. Don't delete window if it has a
9402 previous buffer we can show instead of the present one.
9403 (display-buffer-record-window): Rewrite using a new format for
9404 the quit-restore window parameter
9405 (special-display-popup-frame, display-buffer-same-window)
9406 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9407 (display-buffer-pop-up-window, display-buffer-use-some-window):
9408 Adapt symbol passed to display-buffer-record-window.
9409 * help.el (help-window-setup): Handle new format of quit-restore
9410 parameter.
9411
9412 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9413
9414 * faces.el (face-list): Fix docstring (bug#9564).
9415
9416 * window.el (display-buffer--action-function-custom-type):
9417 Don't include internal functions in the Custom interface.
9418
9419 2011-09-20 Juri Linkov <juri@jurta.org>
9420
9421 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9422 (Info-forward-node, Info-backward-node, Info-next-preorder)
9423 (Info-last-preorder): Use it. (Bug#9528)
9424
9425 2011-09-20 Juri Linkov <juri@jurta.org>
9426
9427 * info.el (Info-last-preorder): Visit last menu item only when
9428 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9429
9430 2011-09-20 Julien Danjou <julien@danjou.info>
9431
9432 * password-cache.el (password-cache-remove): Remove entries even if the
9433 value is nil, so that password with a nil value (negative caching) is
9434 possible to invalidate.
9435
9436 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9437
9438 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9439 all whitespace around breakpoint. (Bug#9553)
9440 (f90-find-breakpoint): Only break at whitespace inside a comment.
9441
9442 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 * minibuffer.el (completion-file-name-table): Keep track of errors.
9445 (completion-table-with-predicate): Handle the case where pred1 is nil.
9446 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9447
9448 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9449
9450 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9451 (debugger-return-value): Signal an error if the debugging context does
9452 not await any return value.
9453
9454 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9455 * image-mode.el (image-toggle-display-text)
9456 (image-toggle-display-image): Stay away from evil `intangible'.
9457
9458 2011-09-19 Leo Liu <sdl.web@gmail.com>
9459
9460 * replace.el (occur-revert-arguments): Make it permanent-local.
9461 (occur-mode): Don't call font-lock-defontify.
9462
9463 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9464
9465 * net/ldap.el (ldap-search-internal): Don't push empty search
9466 result (Bug#9508).
9467
9468 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9471
9472 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9473
9474 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9475 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9476
9477 2011-09-18 Juri Linkov <juri@jurta.org>
9478
9479 * buff-menu.el (Buffer-menu-mode-map):
9480 * dired.el (dired-mode-map):
9481 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9482 (lisp-interaction-mode-map):
9483 * emacs-lisp/package.el (package-menu-mode-map):
9484 * epa.el (epa-key-list-mode-map):
9485 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9486 (menu-bar-options-menu):
9487 * outline.el (outline-mode-menu-bar-map):
9488 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9489 * vc/vc-dir.el (vc-dir-menu-map):
9490 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9491 Capitalize non-function content words in menu item strings.
9492
9493 * dired.el (dired-mode-map): Add menu item for
9494 `image-dired-dired-toggle-marked-thumbs'.
9495
9496 2011-09-18 Juri Linkov <juri@jurta.org>
9497
9498 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9499 to `isearch-case-fold-search' and restore its original value
9500 after the `isearch-mode' call.
9501
9502 2011-09-18 Juri Linkov <juri@jurta.org>
9503
9504 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9505 because `zgrep' returns 1 for successful matches (bug#9226).
9506
9507 2011-09-18 Juri Linkov <juri@jurta.org>
9508
9509 * info.el (Info-extract-menu-node-name): Check the second match
9510 for empty string (second test-case of bug#9528).
9511 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9512 intermediate nodes to the history (first test-case of bug#9528).
9513
9514 2011-09-18 Juri Linkov <juri@jurta.org>
9515
9516 * info.el (Info-mode-syntax-table): New variable.
9517 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9518
9519 2011-09-18 Juri Linkov <juri@jurta.org>
9520
9521 * info.el (Info-file-supports-index-cookies):
9522 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9523 outputs one more line for long file names (bug#4142).
9524
9525 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9526
9527 * newcomment.el (comment-normalize-vars): If prompting for
9528 comment-start, set comment-start-skip too (Bug#8424).
9529
9530 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9531
9532 * icomplete.el: Fix previous fix of Bug#5849.
9533 (icomplete-mode): Don't set completion-show-inline-help.
9534 (icomplete-minibuffer-setup): Set completion-show-inline-help
9535 locally during icompletion.
9536
9537 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9538
9539 * woman.el (woman2-process-escapes): Don't delete unrecognized
9540 escapes (Bug#7843).
9541
9542 * files.el (inhibit-first-line-modes-regexps): Add image files.
9543 (hack-local-variables-prop-line): Return nil for malformed
9544 prop-lines (Bug#9044).
9545
9546 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
9547
9548 * net/tramp.el (top): Don't require 'shell.
9549 (tramp-methods): Fix docstring.
9550 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9551 Return complete remote file name. Handle "smb" case.
9552 Use `tramp-tmpdir', if defined for the respective method.
9553 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9554
9555 * net/tramp-compat.el (top): Require 'shell.
9556
9557 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9558 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9559 `tramp-current-host'.
9560 (tramp-get-remote-tmpdir): Remove.
9561
9562 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9563 `tramp-tmpdir' entries.
9564 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9565 (tramp-smb-handle-file-attributes): Ignore errors.
9566 (tramp-smb-wait-for-output): Check also for process end.
9567
9568 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9569
9570 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9571 when sending QUIT (bug#9312).
9572
9573 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
9574
9575 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9576 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9577 occur-mode-display-occurrence.
9578 (occur-edit-mode): Add usage message.
9579 (occur-cease-edit): New command.
9580 (occur-after-change-function): Use text properties to find the
9581 position of the prefix text.
9582 (occur-engine): Set stickiness of prefix text properties.
9583
9584 2011-09-17 Glenn Morris <rgm@gnu.org>
9585
9586 * progmodes/etags.el (complete-tag):
9587 Fix call to completion-in-region. (Bug#9526)
9588
9589 2011-09-17 Juri Linkov <juri@jurta.org>
9590
9591 * textmodes/ispell.el (ispell-word): Add to the error message
9592 the word, ispell program name and current dictionary (bug#9121).
9593 (ispell-tex-arg-end): Capitalize "error" in the error message.
9594
9595 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9596
9597 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9598 check. (Bug#4251)
9599
9600 2011-09-17 Juri Linkov <juri@jurta.org>
9601
9602 * window.el (window-safe-min-height, window-safe-min-width):
9603 Fix typos (followup to bug#9522).
9604
9605 2011-09-17 Sven Joachim <svenjoac@gmx.de>
9606
9607 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9608
9609 2011-09-16 Eli Zaretskii <eliz@gnu.org>
9610
9611 * simple.el (line-move): If goal-column is set, move by logical
9612 lines, not by display lines. (Bug#971)
9613 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9614 to reflect the above change.
9615
9616 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9617
9618 * image.el (imagemagick-register-types): Use regexp-opt.
9619
9620 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9621
9622 * window.el (display-buffer-base-action): Rename from
9623 display-buffer-default-action. Make default value empty.
9624 (display-buffer-overriding-action): Convert to defvar.
9625 (display-buffer-fallback-action): New var.
9626
9627 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9628
9629 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9630 declaration.
9631 (package--add-to-archive-contents): If there is a duplicate entry
9632 with an older version, remove it.
9633 (package-menu-mark-delete, package-menu-mark-install)
9634 (package-menu-mark-unmark): Make unused args optional.
9635 (package-menu-mark-obsolete-for-deletion):
9636 Use package-menu-get-status instead of a regexp search.
9637 (package-menu-get-status): Use tabulated-list-entry.
9638 (package-menu-mark-upgrades): New command.
9639 (package-menu-mode-map): Bind it to U. Add it to menu bar.
9640 (package-menu-execute): Do installation before deletion.
9641 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9642 instead of checking major-mode.
9643 (package-menu--find-upgrades): New function.
9644
9645 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9646
9647 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9648 passwords in the log buffer.
9649 (smtpmail-process-filter): Update the process marker so that the
9650 "broken by peer" status message is inserted in the right place.
9651
9652 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9653
9654 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9655 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9656 bibtex-completion-at-point-function.
9657 (bibtex-completion-at-point-function): Use them.
9658
9659 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9660
9661 * mpc.el (mpc-constraints-tag-lookup): New function.
9662 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9663 also to browser "album|playlist".
9664
9665 2011-09-14 Juri Linkov <juri@jurta.org>
9666
9667 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9668 (isearch-edit-string): Use length of `isearch-string' when
9669 `isearch-fail-pos' returns nil.
9670 (isearch-message): Remove duplicate code and call
9671 `isearch-fail-pos' with arg `t'.
9672
9673 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9674
9675 * replace.el (occur-mode-goto-occurrence): Don't force using other
9676 window (Bug#9499).
9677
9678 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9679
9680 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9681
9682 * window.el (display-buffer-window): Remove.
9683 (display-buffer-record-window): Use help-setup window parameter
9684 instead of variable display-buffer-window.
9685 (display-buffer-function, special-display-buffer-names)
9686 (special-display-function): Mention help-setup parameter instead
9687 of display-buffer-window in doc-string.
9688 * help.el (help-window-setup): New argument help-window.
9689 Use help-window-setup parameter instead of display-buffer-window.
9690 Reword some messages.
9691 (with-help-window): Pass window used for displaying the buffer
9692 to help-window-setup. Don't set display-buffer-window.
9693
9694 2011-09-13 Glenn Morris <rgm@gnu.org>
9695
9696 * emacs-lisp/debug.el (debugger-make-xrefs):
9697 Preserve point. (Bug#9462)
9698
9699 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9700
9701 * window.el (window-deletable-p): Use next-frame.
9702
9703 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9704
9705 * window.el (window-auto-delete): Remove.
9706 (window-deletable-p): Remove argument FORCE. Don't deal with
9707 dedication and previous buffers.
9708 (switch-to-prev-buffer): Don't delete window.
9709 (delete-windows-on): Delete a window's frame if and only if the
9710 window is dedicated.
9711 (replace-buffer-in-windows): Delete buffer's window or frame if
9712 and only if window is dedicated.
9713 (quit-window): Handle quit-restore as before last change.
9714 (bury-buffer): Delete window only if window-deletable-p returns t.
9715
9716 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9717
9718 * window.el (window-deletable-p): Never delete the last frame on a
9719 given terminal.
9720
9721 2011-09-13 Glenn Morris <rgm@gnu.org>
9722
9723 * help.el (describe-key-briefly): Copy previous standard-output change.
9724
9725 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9726
9727 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9728
9729 2011-09-13 Glenn Morris <rgm@gnu.org>
9730
9731 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9732 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9733
9734 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9735
9736 * dired-aux.el (dired-mark-read-string): Don't return default
9737 value on empty input (Bug#9361).
9738 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9739 Omit initial minibuffer contents.
9740 (dired-do-chmod): Signal an error on empty input.
9741 (dired-mark-read-string): Don't return default on empty input.
9742
9743 * files.el (file-modes-symbolic-to-number): Doc fix.
9744
9745 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * international/mule-cmds.el (ucs-completions): Remove.
9748 (read-char-by-name): Use complete-with-action instead; add metadata.
9749
9750 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9751
9752 * window.el (display-buffer--action-function-custom-type)
9753 (display-buffer--action-custom-type): New vars.
9754 (display-buffer-alist, display-buffer-default-action)
9755 (display-buffer-overriding-action): Add defcustom types.
9756
9757 * frame.el (delete-other-frames): Doc fix (Bug#276).
9758
9759 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9760
9761 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9762
9763 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9764
9765 Change modes that used same-window-* vars to use switch-to-buffer.
9766
9767 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9768 Use switch-to-buffer.
9769
9770 * cus-edit.el (customize-group, custom-buffer-create)
9771 (customize-browse, custom-buffer-create-other-window):
9772 Use switch-to-buffer or switch-to-buffer-other-window.
9773
9774 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9775 (Info-prev, Info-up, Info-speedbar-goto-node)
9776 (info-display-manual): Use switch-to-buffer.
9777 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9778
9779 * mail/sendmail.el (mail): Use switch-to-buffer.
9780 (mail-recover): Use switch-to-buffer-other-window.
9781
9782 * cmuscheme.el (run-scheme, switch-to-scheme):
9783 * ielm.el (ielm):
9784 * shell.el (shell):
9785 * net/rlogin.el (rlogin):
9786 * net/telnet.el (telnet, rsh):
9787 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9788
9789 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9790
9791 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9792
9793 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9794
9795 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9796 so don't mention it (bug#9301).
9797 (dired-sort-toggle-or-edit): Clarify string further.
9798
9799 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9800 match `x', `w32' and `ns', like the manual says (bug#9029).
9801
9802 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9803 (process-kill-buffer-query-function): Mention the buffer name in
9804 the query.
9805
9806 * image-mode.el (image-next-line): The line parameter is mandatory
9807 (bug#9258).
9808
9809 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9810 which can be useful (bug#9301).
9811
9812 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9813
9814 * subr.el (match-string): Mention that the current buffer should
9815 be the same as the search was done in (bug#9282).
9816
9817 * facemenu.el: Disable the remove-* commands if the mark isn't
9818 active (bug#9162).
9819
9820 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9821
9822 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9823 of display-buffer.
9824 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9825
9826 * replace.el (occur-mode-goto-occurrence)
9827 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9828 and display-buffer.
9829
9830 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9831 display-buffer.
9832
9833 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9834 special-display and same-window variables.
9835 (mail-other-window): Use switch-to-buffer-other-window.
9836 (mail-other-frame): USe switch-to-buffer-other-frame.
9837
9838 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9839 Use display-buffer-other-frame.
9840 (gdb-display-gdb-buffer): Use pop-to-buffer.
9841
9842 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9843
9844 * progmodes/python.el: Don't set same-window-buffer-names.
9845
9846 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9847
9848 * window.el (display-buffer-alist): Add *Python*.
9849
9850 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9851
9852 * window.el (display-buffer-alist): Add entry for buffers
9853 previously handled same-window-*.
9854 (display-buffer-alist, display-buffer-default-action)
9855 (display-buffer-overriding-action): Mark as risky.
9856 (display-buffer-alist): Document action function changes.
9857 (display-buffer--same-window-action)
9858 (display-buffer--other-frame-action): New variables.
9859 (switch-to-buffer, display-buffer-other-frame): Use them.
9860 (display-buffer): Rename reuse-frame entry to reusable-frames.
9861 (display-buffer-reuse-selected-window): Function deleted.
9862 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9863 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9864 (display-buffer-special): New function.
9865 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9866 display-buffer-reuse-or-pop-window. Split off special-display
9867 part into display-buffer-special.
9868 (display-buffer-use-some-window): Don't perform any special
9869 pop-up-frames handling.
9870 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9871 (display-buffer--maybe-same-window): Rename from
9872 display-buffer-maybe-same-window.
9873
9874 * info.el: Don't set same-window-regexps.
9875 (info-setup): New function.
9876 (info-other-window, info): Call it.
9877
9878 * cus-edit.el: Don't set same-window-regexps.
9879 (customize-group): New argument.
9880 (customize-group-other-window): Use it.
9881 (customize-face, customize-face-other-window): Likewise.
9882 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9883
9884 * net/rlogin.el:
9885 * net/telnet.el:
9886 * progmodes/gud.el: Don't set same-window-regexps.
9887
9888 * cmuscheme.el:
9889 * ielm.el:
9890 * shell.el:
9891 * mail/sendmail.el:
9892 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9893
9894 2011-09-10 Juri Linkov <juri@jurta.org>
9895
9896 * isearch.el (isearch-edit-string): Remove obsolete mention of
9897 `C-w' (`isearch-yank-word-or-char') from docstring.
9898 (isearch-query-replace): Fix typo in docstring (bug#9466).
9899
9900 2011-09-10 Juri Linkov <juri@jurta.org>
9901
9902 * paren.el (show-paren-function): Don't show escaped parens.
9903 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9904
9905 2011-09-10 Eli Zaretskii <eliz@gnu.org>
9906
9907 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9908 (mm-default-file-encoding): Remove autoload forms, they are
9909 replaced with autoload cookies in mml.el and mm-encode.el.
9910 (mail-add-attachment): New command.
9911 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9912 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9913 the doc string.
9914 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9915
9916 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9917
9918 * simple.el (count-words-region): Use buffer if there's no region
9919 (bug#9429).
9920
9921 2011-09-09 Juri Linkov <juri@jurta.org>
9922
9923 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9924 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9925 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9926
9927 2011-09-09 Alan Mackenzie <acm@muc.de>
9928
9929 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9930 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9931
9932 2011-09-09 Eli Zaretskii <eliz@gnu.org>
9933
9934 Fix for Savannah bug#9392.
9935 * simple.el (mail-encode-mml): New defvar.
9936
9937 * mail/rmail.el (mail-encode-mml): Add a defvar.
9938 (rmail-enable-mime-composing): Default to t.
9939 (rmail-forward): Use MIME method of forwarding only if both
9940 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9941 Set mail-encode-mml non-nil if the MIME method was used.
9942
9943 * mail/sendmail.el (mml-to-mime): Add autoload form.
9944 (mail-encode-mml): Add a defvar.
9945 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9946 to nil.
9947 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9948 message through mml-to-mime, and reset mail-encode-mml to nil.
9949
9950 2011-09-09 Glenn Morris <rgm@gnu.org>
9951
9952 * woman.el (woman-if-body): When processing an .el block,
9953 do not delete the next .el block as well. (Bug#9447)
9954 (woman-special-characters): Add oq, cq, and hy characters.
9955
9956 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9957
9958 * window.el (window-deletable-p): Make sure window is live before
9959 invoking window-prev-buffers.
9960
9961 2011-09-08 Leo Liu <sdl.web@gmail.com>
9962
9963 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9964
9965 2011-09-08 Juri Linkov <juri@jurta.org>
9966
9967 * progmodes/compile.el (compilation-environment): Make it
9968 a defcustom (bug#8340).
9969
9970 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9971
9972 * window.el (frame-auto-delete): Rename to window-auto-delete.
9973 Make it control auto-deletion of windows and/or frames.
9974 (window-deletable-p): New argument FORCE. Rewrite conditions
9975 for deleting window/frame. (Bug#9419)
9976 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9977 Rewrite handling of case when window/frame can be deleted.
9978 (delete-windows-on): Call window-deletable-p with new FORCE
9979 argument t. (Bug#9456)
9980
9981 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9982
9983 * help-mode.el (help-mode): Restore autoload.
9984
9985 2011-09-07 Juri Linkov <juri@jurta.org>
9986
9987 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9988 `compilation-environment'. Set buffer-local
9989 `compilation-environment' to `thisenv' later after (funcall mode).
9990 (Bug#8340)
9991
9992 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9993 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9994 instead of replacing its value. (Bug#8340)
9995
9996 2011-09-07 Juri Linkov <juri@jurta.org>
9997
9998 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9999 based on text properties put by `grep-filter' instead of matching
10000 escape sequences.
10001 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10002 to the value of `grep-error-screen-columns' (bug#9438).
10003
10004 2011-09-07 Juri Linkov <juri@jurta.org>
10005
10006 * simple.el (next-error-highlight, next-error-highlight-no-select):
10007 Doc fix (bug#9432).
10008
10009 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10010
10011 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10012 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10013
10014 2011-09-07 Leo Liu <sdl.web@gmail.com>
10015
10016 * net/rcirc.el (rcirc-mode): Conditionally initialize
10017 rcirc-input-ring.
10018
10019 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * emacs-lisp/find-func.el (find-function-C-source): Only set
10022 find-function-C-source-directory after checking that we found a source
10023 file there (bug#9440).
10024
10025 2011-09-06 Alan Mackenzie <acm@muc.de>
10026
10027 * isearch.el (isearch-other-meta-char): Wherever a key list is
10028 unread, "unread" the prefix arg, too. This fixes bug #8901.
10029
10030 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10031
10032 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10033
10034 2011-09-05 Juri Linkov <juri@jurta.org>
10035
10036 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10037
10038 2011-09-05 Juri Linkov <juri@jurta.org>
10039
10040 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10041 keeping point where processing of grep matches begins, and
10042 continue to delete remaining escape sequences from the same point.
10043 (grep-filter): Make leading zero optional in "0?1;31m" because
10044 git-grep emits "\033[1;31m" escape sequences unlike expected
10045 "\033[01;31m" as GNU Grep does (bug#9408).
10046 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10047
10048 2011-09-05 Juri Linkov <juri@jurta.org>
10049
10050 * subr.el (y-or-n-p): Capitalize "yes".
10051
10052 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10053
10054 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10055 `tramp-cache-unload-hook' where appropriate.
10056 (tramp-methods): Rename `tramp-remote-sh' to
10057 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10058 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10059
10060 * net/tramp-sh.el (top): Don't require 'shell.
10061 (tramp-methods): Add `tramp-remote-shell' and
10062 `tramp-remote-shell-args' entries.
10063 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10064 (tramp-sh-handle-shell-command): Remove.
10065 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10066 Use `tramp-remote-shell'.
10067
10068 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10069
10070 * mail/sendmail.el (sendmail-query-once-function): Delete.
10071 (sendmail-query-once): Save directly to send-mail-function.
10072 Update message-send-mail-function too.
10073
10074 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10075
10076 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10077
10078 * progmodes/python.el (python-mode-map): Use correct function to
10079 start python interpreter from menu-bar (as reported by Geert
10080 Kloosterman).
10081 (inferior-python-mode-map): Fix typo.
10082 (python-shell-map): Remove.
10083
10084 2011-09-03 Deniz Dogan <deniz@dogan.se>
10085
10086 * net/rcirc.el (rcirc-print): Simplify code for
10087 rcirc-scroll-show-maximum-output. There is no need to walk
10088 through all windows to find the right one.
10089
10090 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10091
10092 * help.el (help-return-method): Doc fix.
10093
10094 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10095
10096 * window.el (window-deletable-p): Don't return a non-nil value
10097 when there's a buffer that was shown in the window before.
10098 (Bug#9419)
10099 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10100 Set window's previous buffers to nil.
10101
10102 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10103
10104 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10105 newline before and after the tag line, so it doesn't interfere
10106 with determining the paragraph direction of bidirectional text.
10107
10108 2011-09-03 Leo Liu <sdl.web@gmail.com>
10109
10110 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10111
10112 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10113
10114 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10115 (pop-to-buffer): Change interactive spec. Pass second argument
10116 directly to display-buffer.
10117 (display-buffer): Fix interactive spec. Use functionp to
10118 distinguish between a function and a list of functions.
10119
10120 * abbrev.el (edit-abbrevs):
10121 * arc-mode.el (archive-extract):
10122 * autoinsert.el (auto-insert):
10123 * bookmark.el (bookmark-bmenu-list):
10124 * files.el (find-file):
10125 * view.el (view-buffer):
10126 * progmodes/compile.el (compilation-goto-locus):
10127 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10128
10129 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10130
10131 * window.el (display-buffer-alist): Doc fix.
10132 (display-buffer): Add docstring. Don't treat
10133 display-buffer-default specially.
10134 (display-buffer-reuse-selected-window)
10135 (display-buffer-same-window, display-buffer-maybe-same-window)
10136 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10137 (display-buffer-pop-up-window)
10138 (display-buffer-reuse-or-pop-window)
10139 (display-buffer-use-some-window): New functions.
10140 (display-buffer-default-action): Use them.
10141 (display-buffer-default): Delete.
10142 (pop-to-buffer-1): Fix choice of actions.
10143
10144 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * minibuffer.el (completion--insert-strings): Don't get confused by
10147 completion entries that end with an LF char.
10148
10149 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10150
10151 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10152
10153 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10154
10155 * window.el (display-buffer): Restore interactive spec.
10156 (display-buffer-same-window, display-buffer-other-window):
10157 New functions.
10158 (pop-to-buffer-1): New function. Use the above.
10159 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10160 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10161
10162 * view.el (view-buffer-other-window, view-buffer-other-frame):
10163 Just use pop-to-buffer.
10164
10165 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10166
10167 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10168
10169 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10170
10171 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10172
10173 2011-08-31 Richard Stallman <rms@gnu.org>
10174
10175 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10176 of the separation of rmail-view-buffer from rmail-buffer.
10177 If you say no to "replace original", the decrypt is in the
10178 view buffer. If you say yes, the decrypt goes into the
10179 rmail buffer also.
10180
10181 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10182
10183 * window.el (display-buffer-window): Rewrite doc-string.
10184 (display-buffer-record-window): New function.
10185 (display-buffer-macro-specifiers)
10186 (display-buffer-even-window-sizes, display-buffer-set-height)
10187 (display-buffer-set-width, display-buffer-in-window)
10188 (display-buffer-reuse-window, display-buffer-split-specifiers)
10189 (display-buffer-side-specifiers, display-buffer-split-window-1)
10190 (display-buffer-split-window, display-buffer-split-atom-window)
10191 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10192 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10193 (display-buffer-other-window-means-other-frame)
10194 (display-buffer-normalize-special)
10195 (display-buffer-normalize-default)
10196 (display-buffer-normalize-argument)
10197 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10198 (display-buffer-normalize-specifiers, display-buffer-frame)
10199 (display-buffer-same-window, display-buffer-same-frame)
10200 (display-buffer-other-window)
10201 (display-buffer-same-frame-other-window)
10202 (display-buffer-other-frame, pop-to-buffer-same-window)
10203 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10204 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10205 (switch-to-buffer-same-frame)
10206 (switch-to-buffer-other-window-same-frame)
10207 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10208 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10209 (display-buffer-alist-set): Remove.
10210 (display-buffer-function, special-display-buffer-names)
10211 (special-display-regexps, special-display-function):
10212 In doc-string refer to display-buffer-window and quit-restore
10213 parameter.
10214 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10215 (special-display-frame-alist, special-display-popup-frame)
10216 (same-window-buffer-names, same-window-regexps, same-window-p)
10217 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10218 (split-window-preferred-function, split-height-threshold)
10219 (split-width-threshold, window-splittable-p)
10220 (split-window-sensibly, window--try-to-split-window)
10221 (window--frame-usable-p, even-window-heights)
10222 (window--even-window-heights, window--display-buffer-1)
10223 (window--display-buffer-2, display-buffer-other-frame):
10224 Restore old Emacs 23 code, order and doc-strings where applicable.
10225 (display-buffer-default, display-buffer-assq-regexp): New functions.
10226 (display-buffer-alist): Rewrite doc-string.
10227 (display-buffer-default-action)
10228 (display-buffer-overriding-action): New variables.
10229 (display-buffer, switch-to-buffer): Rewrite.
10230 (pop-to-buffer): Restore Emacs 23 behavior but use
10231 window-normalize-buffer-to-display.
10232 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10233 Restore Emacs 23 behavior but use
10234 window-normalize-buffer-to-switch-to.
10235 (pop-to-buffer-same-window): Rewrite.
10236 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10237 Rewrite using Emacs 23 options.
10238
10239 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10240
10241 * net/tramp.el (tramp-root-regexp): Remove.
10242 (tramp-completion-file-name-regexp-unified)
10243 (tramp-completion-file-name-regexp-separate)
10244 (tramp-completion-file-name-regexp-url): Don't use leading volume
10245 letter on win32 systems. (Bug#5303, Bug#9311)
10246 (tramp-drop-volume-letter): Simplify definition.
10247 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10248
10249 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10250
10251 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10252 (bug#9356).
10253
10254 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10255
10256 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10257
10258 2011-08-29 Juri Linkov <juri@jurta.org>
10259
10260 * isearch.el (isearch-done): Don't display message "Mark saved"
10261 when arg `edit' is non-nil to prevent its flicker in the echo area.
10262
10263 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10264
10265 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10266 obsolete packages for deletion.
10267
10268 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10269
10270 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10271 (help-mode): Derive help-mode from special-mode. Don't invoke
10272 view-mode from help-mode.
10273 (help-xref-override-view-map): Remove.
10274 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10275 view-mode is not used anymore.
10276
10277 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10278
10279 * server.el (server-port): Doc fix.
10280
10281 * cus-theme.el (custom-theme-choose-mode): Inherit from
10282 special-mode (Bug#9124).
10283 (custom-theme-choose-mode-map): Add special-mode to parent.
10284
10285 2011-08-28 Alan Mackenzie <acm@muc.de>
10286
10287 * progmodes/cc-fonts.el
10288 (c-make-font-lock-BO-decl-search-function): New function.
10289 (c-basic-matchers-after - "Fontify the clauses after various
10290 keywords"): Extract the three keyword lists for the 3 erroneous
10291 constructs from the list of four, and use the new function above
10292 in place of an old one.
10293
10294 2011-08-28 Deniz Dogan <deniz@dogan.se>
10295
10296 * net/rcirc.el (rcirc-insert-prev-input)
10297 (rcirc-insert-next-input): Remove unused argument.
10298
10299 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10302
10303 2011-08-27 Alan Mackenzie <acm@muc.de>
10304
10305 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10306 handle function pointer parameters properly.
10307
10308 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10309
10310 * window.el (display-buffer-reuse-window): Fix case where
10311 selected window was reused with non-nil OTHER-WINDOW argument.
10312 (Bug#9381)
10313
10314 2011-08-27 Deniz Dogan <deniz@dogan.se>
10315
10316 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10317 oftc's NickServ messages.
10318
10319 2011-08-27 Glenn Morris <rgm@gnu.org>
10320
10321 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10322
10323 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10324
10325 * emacs-lisp/package.el (package-install): Call package-initialize
10326 if called interactively.
10327
10328 2011-08-26 Leo Liu <sdl.web@gmail.com>
10329
10330 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10331
10332 2011-08-25 Juri Linkov <juri@jurta.org>
10333
10334 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10335 `search-whitespace-regexp' (bug#9364).
10336
10337 2011-08-25 Juri Linkov <juri@jurta.org>
10338
10339 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10340 `regexp-search-ring' to their global values to protect from
10341 updating by `read-from-minibuffer' (bug#9185).
10342
10343 2011-08-25 Juri Linkov <juri@jurta.org>
10344
10345 * textmodes/ispell.el (ispell-command-loop): Add newline
10346 at the end of the "Use option `i'..." line.
10347
10348 2011-08-25 Juri Linkov <juri@jurta.org>
10349
10350 * battery.el (display-battery-mode): If `battery-status-function'
10351 or `battery-mode-line-format' is nil, display the message and set
10352 `display-battery-mode' to nil (bug#9363).
10353
10354 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10355
10356 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10357 bidi-string-mark-left-to-right; they are unnecessary now.
10358
10359 2011-08-25 Deniz Dogan <deniz@dogan.se>
10360
10361 * net/quickurl.el: Documentation typo fixes.
10362
10363 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10364
10365 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10366
10367 2011-08-25 Glenn Morris <rgm@gnu.org>
10368
10369 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10370
10371 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10372 (smtpmail-via-smtp): Handle nil response from smtp.
10373
10374 2011-08-24 Juri Linkov <juri@jurta.org>
10375
10376 * proced.el (proced-marked): Inherit from `error' instead of
10377 `font-lock-warning-face'.
10378
10379 * ibuffer.el (ibuffer-marked-face): Change default face from
10380 `font-lock-warning-face' to `warning'.
10381 (ibuffer-deletion-face): Change default face from
10382 `font-lock-type-face' to `error'.
10383
10384 * battery.el (battery-update): Use the face `error' instead of
10385 `font-lock-warning-face' (bug#6117).
10386
10387 2011-08-24 Juri Linkov <juri@jurta.org>
10388
10389 * faces.el (success): Change face color from "Green3" to
10390 "ForestGreen" on light background (bug#9353).
10391
10392 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10393
10394 * window.el (quit-window): Rename from quit-restore-window.
10395 Use same arglist as old quit-window.
10396 (frame-auto-delete): Doc fix.
10397
10398 * view.el (view-mode-exit): Use quit-window.
10399
10400 2011-08-24 Juri Linkov <juri@jurta.org>
10401
10402 * isearch.el (isearch-ring-adjust1): Start visiting previous
10403 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10404 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10405 for empty search string (when the last search string is reused
10406 automatically) to adjust the isearch ring to the last element and
10407 prepare the correct index for further M-p commands (bug#9185).
10408
10409 2011-08-24 Kenichi Handa <handa@m17n.org>
10410
10411 * international/ucs-normalize.el: If decomposition property of
10412 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10413 nil.
10414 (nfd, nfkd): Likewise.
10415
10416 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10417
10418 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10419 from process filters aren't reliably transmitted to the surrounding
10420 accept-process-output.
10421 (mpc-proc-check): New function.
10422 (mpc-proc-sync): Use it (bug#8293)
10423
10424 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10427 Add compatibility functions (bug#9313).
10428
10429 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10430
10431 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10432
10433 * international/uni-bidi.el: Regenerate.
10434
10435 2011-08-23 Kenichi Handa <handa@m17n.org>
10436
10437 * international/charprop.el:
10438 * international/uni-bidi.el:
10439 * international/uni-category.el:
10440 * international/uni-combining.el:
10441 * international/uni-comment.el:
10442 * international/uni-decimal.el:
10443 * international/uni-decomposition.el:
10444 * international/uni-digit.el:
10445 * international/uni-lowercase.el:
10446 * international/uni-mirrored.el:
10447 * international/uni-name.el:
10448 * international/uni-numeric.el:
10449 * international/uni-old-name.el:
10450 * international/uni-titlecase.el:
10451 * international/uni-uppercase.el: Regenerate.
10452
10453 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10454
10455 * help.el (help-window-setup): Fix message displayed when other
10456 window is reused. (Bug#9341)
10457
10458 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10461 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10462
10463 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10464 Mark obsolete.
10465 * shell.el (shell-parse-pcomplete-arguments): New function.
10466 (shell-completion-vars): Use it instead (bug#9160).
10467
10468 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10469
10470 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10471 strings and comments (bug#9333).
10472
10473 * emacs-lisp/debug.el (debug-arglist): New function.
10474 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10475 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10476
10477 2011-08-22 Juri Linkov <juri@jurta.org>
10478
10479 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10480 Revert regexp that highlights output switches to its old
10481 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10482
10483 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10484 to check for empty output (bug#9226).
10485
10486 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10487
10488 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10489 symbol-constituent as the default, as that stops font-lock from
10490 working properly (Bug#8843).
10491
10492 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10493
10494 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10495 `coding-system-for-*' around the process open call to avoid
10496 auth-source side effects.
10497 (smtpmail-try-auth-methods): Expand the secret password.
10498 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10499 probe hangs.
10500
10501 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10502
10503 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10504
10505 * emacs-lisp/find-func.el (find-function-noselect): New arg
10506 lisp-only.
10507
10508 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10509 signal an error for built-in functions (Bug#6664).
10510
10511 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10512
10513 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10514 (smtpmail-try-auth-methods): Use it.
10515
10516 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10517
10518 * font-lock.el (font-lock-fontify-region)
10519 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10520 (font-lock-default-unfontify-buffer)
10521 (font-lock-default-fontify-region)
10522 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10523
10524 * progmodes/compile.el (compilation-error-properties):
10525 Fix confusion between file struct and message struct (Bug#9319).
10526 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10527 `ant' regexp.
10528
10529 * net/browse-url.el (browse-url-firefox): Don't call
10530 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10531
10532 2011-08-20 Glenn Morris <rgm@gnu.org>
10533
10534 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10535
10536 * tutorial.el (tutorial--default-keys): Update some default bindings.
10537
10538 * files.el (hack-local-variables): Fully ignore case for "mode:".
10539
10540 2011-08-20 Alan Mackenzie <acm@muc.de>
10541
10542 Resolve invalid use of a regexp in regexp-opt.
10543
10544 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10545 detection for a java annotation.
10546
10547 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10548 detection for a java annotation.
10549
10550 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10551 handling for java.
10552 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10553
10554 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
10555
10556 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10557 (Bug#9274).
10558
10559 2011-08-20 Alan Mackenzie <acm@muc.de>
10560
10561 Fontify CPP expressions correctly when starting in the middle of
10562 such a construct. Mainly for when jit-lock etc. starts a chunk
10563 here.
10564
10565 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
10566 variable.
10567 (c-make-font-lock-search-form): New function, extracted from
10568 c-make-font-lock-search-function.
10569 (c-make-font-lock-search-function): Use the above function.
10570 (c-make-font-lock-context-search-function): New function.
10571 (c-cpp-matchers): Enhance the preprocessor expression case with
10572 the above function
10573 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10574 which takes an expression.
10575
10576 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10577
10578 2011-08-20 Martin Rudalics <rudalics@gmx.at>
10579
10580 * window.el (display-buffer-reuse-window)
10581 (display-buffer-pop-up-window): Don't reuse or split a side
10582 window.
10583
10584 2011-08-19 Glenn Morris <rgm@gnu.org>
10585
10586 * files.el (hack-local-variables-prop-line, hack-local-variables):
10587 Downcase "Mode:". (Bug#9331)
10588
10589 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
10590
10591 * international/characters.el: Add L and R categories.
10592
10593 * subr.el (bidi-string-mark-left-to-right): Rename from
10594 string-mark-left-to-right. Use category search.
10595
10596 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10597
10598 2011-08-18 Juri Linkov <juri@jurta.org>
10599
10600 * faces.el (error, warning, success): New faces with definitions
10601 copied from old default values of `font-lock-warning-face',
10602 `compilation-warning', `compilation-info' (bug#6117).
10603
10604 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10605
10606 * progmodes/compile.el (compilation-error): Inherit from `error'.
10607 (compilation-warning): Inherit from `warning'.
10608 (compilation-info): Inherit from `success'.
10609
10610 * dired.el (dired-marked): Inherit from `warning'.
10611 (dired-flagged): Inherit from `error'.
10612
10613 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10614
10615 * mail/smtpmail.el (auth-source): Require to avoid problems with
10616 binding variables (bug#9298). Also clean up some unused
10617 autoloads.
10618
10619 * net/network-stream.el (network-stream-open-starttls):
10620 Support using starttls.el without using gnutls-cli.
10621
10622 2011-08-17 Juri Linkov <juri@jurta.org>
10623
10624 * progmodes/grep.el (rgrep): Handle the case when
10625 `grep-find-command' is a cons cell (bug#9278).
10626
10627 2011-08-17 Martin Rudalics <rudalics@gmx.at>
10628
10629 * window.el (display-buffer-pop-up-frame): Run frame creation
10630 function with BUFFER current (as special-display-popup-frame
10631 does). Reported by Drew Adams.
10632
10633 2011-08-17 Daiki Ueno <ueno@unixuser.org>
10634
10635 * epa-mail.el: Simplify GnuPG group expansion using
10636 epg-expand-group.
10637 (epa-mail-group-alist, epa-mail-group-modtime)
10638 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10639 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10640 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10641 Remove.
10642
10643 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
10644
10645 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10646
10647 2011-08-16 Alan Mackenzie <acm@muc.de>
10648
10649 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10650 Correct, to avoid the inside of macros.
10651
10652 2011-08-16 Richard Stallman <rms@gnu.org>
10653
10654 * epa-mail.el: Handle GnuPG group definitions.
10655 (epa-mail-group-alist, epa-mail-group-modtime)
10656 (epa-mail-gnupg-conf-file): New variables.
10657 (epa-mail-parse-groups, epa-mail-sync-groups)
10658 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10659 (epa-mail-expand-recipients): New functions.
10660 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10661
10662 * mail/rmail.el (rmail-epa-decrypt): New command.
10663
10664 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10665 Don't bind buffer-read-only, just inhibit-read-only.
10666 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10667 (epa-decrypt-armor-in-region): Make error message clearer.
10668
10669 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10670
10671 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10672 and "a2b" to "ab" for `prefix'.
10673
10674 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10675
10676 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10677 filter groups.
10678 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10679 Fourquet (Bug#8804).
10680
10681 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10682
10683 * startup.el (argi): Declare as global variable (bug#9275).
10684
10685 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10686
10687 * subr.el (string-mark-left-to-right): Search the entire string
10688 for RTL script, not just the terminating character. Doc fix.
10689
10690 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10691
10692 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10693 New function.
10694 (js--regexp-literal, js-syntax-propertize-function): Remove.
10695 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10696 (js-mode-map): Don't rebind electric keys.
10697 (js-insert-and-indent): Remove.
10698 (js-mode): Setup electric-layout and electric-indent instead.
10699
10700 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10701
10702 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10703
10704 * epa.el (epa-progress-callback-function): Fix the logic of
10705 displaying progress.
10706 * epa-file.el (epa-file-insert-file-contents): Make progress
10707 display more user-friendly.
10708 (epa-file-write-region): Ditto.
10709
10710 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10711
10712 * subr.el (string-mark-left-to-right): New function.
10713
10714 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10715 Use string-mark-left-to-right.
10716 (list-buffers-noselect): Caller changed.
10717
10718 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10719 Use string-mark-left-to-right.
10720 (tabulated-list-print): Recenter after moving point.
10721
10722 2011-08-10 Juri Linkov <juri@jurta.org>
10723
10724 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10725 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10726 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10727
10728 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10729
10730 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10731 (Bug#7554).
10732
10733 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10734
10735 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10736 character. (Bug#6594)
10737
10738 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10739
10740 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10741 (image-dired--with-db-file): New macro.
10742 (image-dired-write-tags, image-dired-remove-tag)
10743 (image-dired-create-gallery-lists, image-dired-write-comments)
10744 (image-dired-get-comment, image-dired-mark-tagged-files)
10745 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10746 (image-dired-gallery-generate): Use insert-file-contents.
10747
10748 * time.el (display-time-world-list, display-time-world-display):
10749 * time-stamp.el (time-stamp-string):
10750 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10751 set-time-zone-rule (Bug#7337).
10752
10753 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10754
10755 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10756 (epg-error-to-string, epg-errors-to-string): New function.
10757 (epg-wait-for-completion): Reverse errors list.
10758 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10759 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10760 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10761 (epg-sign-keys, epg-generate-key-from-file)
10762 (epg-generate-key-from-string): Format errors by using
10763 epg-errors-to-string (bug#9255).
10764 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10765
10766 2011-08-07 Juri Linkov <juri@jurta.org>
10767
10768 * faces.el (list-faces-display): Remove extra angle bracket
10769 from `help-mode-map'.
10770
10771 * info.el (Info-history-toc-nodes): Doc fix.
10772
10773 * longlines.el (longlines-mode): Doc fix.
10774
10775 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10776
10777 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10778 of statements and in a few more cases (bug#9183).
10779
10780 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10781 New functions.
10782 (cl-transform-lambda): Use them (bug#9239).
10783
10784 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10785
10786 * window.el (display-buffer-same-window)
10787 (display-buffer-same-frame, display-buffer-other-window)
10788 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10789 (pop-to-buffer-other-window)
10790 (pop-to-buffer-same-frame-other-window)
10791 (pop-to-buffer-other-frame): Make them defuns.
10792 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10793
10794 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * subr.el (make-composed-keymap): Move from C. Change calling
10797 convention, and improve docstring to bring attention to a subtle point.
10798 * minibuffer.el (completing-read-default): Adjust accordingly.
10799
10800 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10801
10802 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10803 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10804
10805 * net/trampver.el: Update release number.
10806
10807 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10810 "in" (bug#9190).
10811
10812 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10813
10814 * mail/sendmail.el (sendmail-query-once): Restore the current
10815 buffer after querying (bug#9074).
10816
10817 * dired.el (dired-flagged): Use different faces for marked and
10818 flagged files (bug#6117).
10819
10820 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10821 (bug#4433).
10822
10823 * ido.el (ido-mode): Switch off the message if called
10824 non-interactively.
10825
10826 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10827 before 587, since it appears that that's more likely to work for
10828 more people.
10829
10830 * cus-edit.el (custom-file): When running under emacs -q, always
10831 refuse to save the customizations, even if the .emacs file doesn't
10832 exist.
10833
10834 * info.el: Remove the `Info-beginning-of-buffer' function
10835 (bug#8325).
10836
10837 * net/network-stream.el (network-stream-open-starttls):
10838 Use `starttls-available-p' to see whether starttls.el can be used.
10839
10840 2011-08-01 Martin Rudalics <rudalics@gmx.at>
10841
10842 * window.el (display-buffer-in-window): Don't set dedicated status
10843 of window here (Bug#9215).
10844 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10845 (display-buffer-pop-up-side-window)
10846 (display-buffer-in-side-window): Set dedicated status of window here.
10847
10848 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10849
10850 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10851 before binding generated-autoload-file.
10852
10853 2011-08-01 Deniz Dogan <deniz@dogan.se>
10854
10855 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10856
10857 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
10858
10859 Sync with Tramp 2.2.2.
10860
10861 * net/trampver.el: Update release number.
10862
10863 2011-07-30 Juri Linkov <juri@jurta.org>
10864
10865 * dired-aux.el (dired-touch-initial): Remove function.
10866 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10867 current time, and `default' to the last modification time of the
10868 current marked file (bug#6887).
10869
10870 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10871
10872 * simple.el (goto-line): Use string-to-number to provide a
10873 numeric argument to read-number (bug#9163).
10874
10875 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
10876
10877 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10878 connection process, it could be nil.
10879
10880 2011-07-27 Leo Liu <sdl.web@gmail.com>
10881
10882 Simplify url handling in rcirc-mode.
10883
10884 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10885 (rcirc-browse-url-at-mouse): Remove.
10886 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10887
10888 2011-07-26 Alan Mackenzie <acm@muc.de>
10889
10890 Fontify bitfield declarations properly.
10891
10892 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10893 (c-symbol-chars): Now exported as a lang variable.
10894 (c-not-primitive-type-keywords): New lang variable.
10895
10896 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10897 QT keyword "more" to prevent "more slots: ...." being spuriously
10898 parsed as a bitfield declaration.
10899
10900 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10901 Refactor and enhance to handle bitfield declarations.
10902 (c-punctuation-in): New function.
10903 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10904 declarations properly.
10905
10906 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
10907
10908 * calendar/icalendar.el (icalendar--all-events): Take care of
10909 multiple vcalendars in a single file.
10910 (icalendar--convert-float-to-ical): Checkdoc fixes.
10911
10912 2011-07-25 Deniz Dogan <deniz@dogan.se>
10913
10914 * image.el (insert-image): Clarifying docstring.
10915
10916 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10917
10918 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10919 `tramp-send-command-and-check' if there is no error.
10920 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10921
10922 2011-07-22 Alan Mackenzie <acm@muc.de>
10923
10924 Prevent cc-langs.elc being loaded at run time.
10925
10926 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10927 cc-langs.
10928
10929 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10930 "(require 'cc-langs)". Quote a form so it will evaluate at
10931 (cc-mode's) compilation time.
10932
10933 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10934
10935 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10936 loading. (Bug#9114)
10937
10938 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10939
10940 * window.el (display-buffer-pop-up-window)
10941 (display-buffer-pop-up-side-window)
10942 (display-buffer-in-side-window): Call display-buffer-set-height
10943 and display-buffer-set-width after setting the new window's
10944 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10945
10946 2011-07-20 Sam Steingold <sds@gnu.org>
10947
10948 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10949 (etags-tags-included-tables): Call `convert-standard-filename' on
10950 the file names contained in TAGS so that windows Emacs can handle
10951 TAGS files created by cygwin ctags.
10952
10953 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10954
10955 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10956 which apparently didn't work.
10957
10958 2011-07-19 Roland Winkler <winkler@gnu.org>
10959
10960 * proced.el (proced-send-signal): For *Marked Processes* buffer
10961 put point at beginning of buffer.
10962
10963 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10964
10965 * proced.el (proced-format): Make header lines align with the text
10966 (bug#1779).
10967
10968 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10969
10970 * view.el (view-buffer): Allow running in `special' modes if we're
10971 visiting a file (bug#8615).
10972
10973 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10974
10975 * window.el (display-buffer-alist-of-strings-p)
10976 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10977 New functions.
10978 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10979 more accurately.
10980
10981 2011-07-18 Alan Mackenzie <acm@muc.de>
10982
10983 Fontify declarators properly when, e.g., a jit-lock chunk begins
10984 inside a declaration.
10985
10986 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10987
10988 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10989 New function.
10990 (c-complex-decl-matchers): Insert reference to
10991 c-font-lock-enclosing-decls.
10992
10993 * progmodes/cc-engine.el (c-backward-single-comment):
10994 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10995 to nil around calls to (forward-comment -1).
10996
10997 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10998
10999 * image.el (put-image): Doc typo fix.
11000
11001 * progmodes/etags.el (tags-search): Doc typo fix.
11002
11003 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11004 password if we get errors 550 to 554.
11005
11006 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11007
11008 * net/gnutls.el (gnutls-log-level): Remove.
11009
11010 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11011 indentation character (bug#6380).
11012
11013 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11014
11015 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11016 to clarify what the problem is (bug#4291).
11017
11018 * simple.el (current-kill): Clarify what
11019 `interprogram-paste-function' does (bug#7500).
11020 (auto-fill-mode): Document `auto-fill-function' in relation to
11021 `auto-fill-mode' (bug#2470).
11022
11023 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11024
11025 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11026 method if slot is read-only (bug#9035).
11027
11028 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11029
11030 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11031 * window.el (pop-to-buffer): Select window used even if it was
11032 selected before, see discussion of (Bug#8615), (Bug#6954).
11033 Pass argument NORECORD on to select-frame-set-input-focus.
11034
11035 2011-07-15 Glenn Morris <rgm@gnu.org>
11036
11037 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11038 Respect help-form.
11039
11040 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11041
11042 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11043 (gnutls-negotiate): Use it.
11044
11045 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11046
11047 * net/gnutls.el (gnutls-negotiate):
11048 Upcase `gnutls-algorithm-priority'.
11049
11050 2011-07-15 Glenn Morris <rgm@gnu.org>
11051
11052 * jka-compr.el (jka-compr-verbose): Move from here...
11053 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11054 Add missing :version tag.
11055 * info.el: No need to require jka-compr when compiling.
11056
11057 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11058
11059 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11060 (gnutls-negotiate): Use it.
11061
11062 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11063
11064 * info.el (Info-beginning-of-buffer): New command.
11065 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11066 announcing `b' as the key (bug#8325).
11067 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11068
11069 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11070
11071 * international/mule-cmds.el
11072 (describe-specified-language-support): Make the error message
11073 clearer (bug#8905).
11074
11075 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11076
11077 * isearch.el (isearch-barrier): Add a doc string, since it's
11078 mentioned in a function doc string (bug#8678).
11079
11080 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11081
11082 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11083 buffer argument (Bug#9083) and self-identifying label argument.
11084
11085 2011-07-15 Glenn Morris <rgm@gnu.org>
11086
11087 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11088
11089 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11090
11091 * man.el (Man-fontify-manpage): Fix message when formatting the
11092 man page (bug#7929).
11093
11094 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11095
11096 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11097 argument LRM; if non-nil, append an invisible LRM character to the
11098 buffer name.
11099 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11100 last argument non-nil, when formatting buffer names.
11101 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11102 paragraph direction.
11103
11104 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11105
11106 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11107 the man page name (bug#7929).
11108
11109 * image.el (put-image): Mention the `put-image' overlay property
11110 (bug#7834).
11111
11112 * scroll-bar.el (set-scroll-bar-mode): Mention that
11113 `scroll-bar-mode' lists the values (bug#7772).
11114
11115 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11116 command (bug#7729).
11117
11118 * rect.el (apply-on-rectangle): Return the point after the last
11119 operation.
11120 (string-rectangle): Go to the point after the last operation
11121 (bug#7522).
11122
11123 * printing.el (pr-toggle-region): Clarify the documentation
11124 slightly (bug#7493).
11125
11126 * time.el (display-time-update):
11127 Allow `display-time-mail-function' to return nil (bug#7158).
11128 Fix suggested by Detlev Zundel.
11129
11130 * vc/diff.el (diff): Clarify the order the file names are read
11131 (bug#7111).
11132
11133 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11134 the doc string (bug#7015).
11135
11136 * font-lock.el (font-lock-maximum-decoration): Mention what
11137 numeric levels mean (bug#6935).
11138
11139 * startup.el (initial-buffer-choice): Don't mention the `none'
11140 selection, which is against policy.
11141
11142 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11143
11144 * window.el (display-buffer-normalize-special):
11145 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11146
11147 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11148
11149 * subr.el (version<, version<=, version=): Mention "-CVS" and
11150 "-12345" alpha version numbers.
11151
11152 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11153
11154 * bindings.el: Add advertised binding for set-mark-command
11155 (Bug#5772).
11156
11157 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11158
11159 * bindings.el (mode-line-other-buffer):
11160 * bookmark.el (bookmark-bmenu-2-window):
11161 * bs.el (bs-cycle-next, bs-cycle-previous):
11162 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11163 switch-to-buffer.
11164
11165 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11166 Delete.
11167
11168 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11169
11170 * follow.el (follow-debug-message, follow-redisplay):
11171 * jka-cmpr-hook.el (with-auto-compression-mode):
11172 Fix typos in docstrings.
11173
11174 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11175
11176 * subr.el (with-silent-modifications): Clarify somewhat what the
11177 macro inhibits (bug#6525).
11178
11179 * simple.el (eval-expression): Note what it does if called
11180 interactively (bug#6495).
11181
11182 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11183
11184 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11185 Use pop-to-buffer buffer-or-name if it is nil.
11186
11187 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11188 Remove switch-to-buffer.
11189
11190 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11191
11192 * files.el (make-directory): Clarify that an error will be raised
11193 if there's an error (bug#6397).
11194
11195 * startup.el (initial-buffer-choice): Add `none' as a choice
11196 (bug#6234).
11197
11198 * subr.el (add-hook): Clarify section about buffer-local hooks
11199 (bug#6218).
11200
11201 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11202
11203 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11204
11205 * tabify.el (untabify): Preserve the current column so that point
11206 doesn't move (bug#6032).
11207
11208 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11209
11210 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11211 Rewrite to avoid awkward possessive "s" (bug#5986).
11212
11213 2011-07-13 Glenn Morris <rgm@gnu.org>
11214
11215 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11216 (dired-insert-directory): Give a message the first time
11217 if ls is found not to support --dired.
11218
11219 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11220
11221 * simple.el (toggle-truncate-lines): Clarify what is toggled
11222 (bug#5580). Text by Drew Adams.
11223
11224 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11225
11226 * simple.el (blink-matching-open): Make the error message from the
11227 last change less verbose.
11228
11229 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11230
11231 * font-lock.el (font-lock-comment-face): Use the high contrast
11232 "yellow" color for font-lock-comment-face on low color terminals
11233 using a dark background color (bug#4221).
11234
11235 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11236
11237 * dired.el (dired-insert-set-properties): Make the doc string
11238 reflect what it does now (bug#5325).
11239
11240 * simple.el (blink-matching-open): Say that we were unable to find
11241 the match within the limit, if we're limited (bug#5122).
11242
11243 * international/mule-cmds.el (prefer-coding-system): Add an
11244 example (bug#4869).
11245
11246 * progmodes/etags.el (tags-search): Document `file-list-form'
11247 (bug#4731).
11248
11249 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11250
11251 * net/browse-url.el (browse-url-default-browser)
11252 (browse-url-browser-function): Make the default browser choice a
11253 bit more logical (bug#4300). Also clean up the doc string.
11254
11255 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11256
11257 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11258 binary endings (bug#4440).
11259
11260 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11261
11262 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11263 which can be pretty annoying (bug#8971).
11264
11265 * jka-compr.el (jka-compr-verbose): New variable, and use
11266 throughout (bug#8971).
11267
11268 * info.el (Info-find-file): Fall back on the installation
11269 directory if we can't find the info node anywhere else.
11270
11271 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11272
11273 * vc/vc.el (vc-revert-file):
11274 Don't set file time-stamp in the past. (Bug#5181)
11275
11276 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11277
11278 * files.el (after-find-file): Give a better error message when
11279 trying to find a symlink that points to a file that doesn't exist
11280 (bug#4398).
11281
11282 * progmodes/cc-vars.el: Remove (probably) misleading comment
11283 (bug#4396).
11284
11285 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11286
11287 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11288
11289 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11290
11291 * mouse-sel.el: Hack restoring functionality, while keeping
11292 compatibility with 2010-07-03 changes to mouse selection.
11293 (mouse-sel-primary-overlay): New var.
11294 (mouse-sel-selection-alist): Use it.
11295 (mouse-sel-mode): Doc fix; remove points that are default features
11296 of mouse.el.
11297
11298 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11299
11300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11301 Fix previous fix (bug#2490).
11302
11303 2011-07-12 Roland Winkler <winkler@gnu.org>
11304
11305 * textmodes/bibtex.el (bibtex-initialize):
11306 Use pop-to-buffer-same-window.
11307 (bibtex-search-entries): Fix interactive call.
11308
11309 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11310
11311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11312 Fontise bytecomp Error lines more correctly (bug#2490).
11313 Fix suggested by Johan Bockgård.
11314
11315 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11316
11317 * dired-x.el (dired-guess-default): Use `delete-dups'.
11318
11319 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11320
11321 * dired.el (dired-mark-prompt):
11322 * dired-aux.el (dired-read-shell-command): Doc fix.
11323
11324 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11325
11326 * mail/sendmail.el (sendmail-query-once):
11327 Use `customize-save-variable' unconditionally, now that it works under
11328 emacs -Q.
11329
11330 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11331
11332 * cus-edit.el (custom-file): Take an optional no-error variable.
11333 (customize-save-variable): Set the variable, and give a warning if
11334 running under "emacs -q".
11335
11336 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11337
11338 * loadhist.el (unload-feature-special-hooks):
11339 Add `auto-coding-functions', `fill-nobreak-predicate' and
11340 `find-directory-functions' (bug#5327).
11341
11342 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11343
11344 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11345
11346 * cus-edit.el (custom-guess-name-alist): -alist variables should
11347 use the `alist' type (bug#3120). Suggested by Drew Adams.
11348
11349 * printing.el: Add documentation to all the `pr-toggle-' commands.
11350
11351 2011-07-11 Leo Liu <sdl.web@gmail.com>
11352
11353 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11354 backends where it makes sense (bug#2623).
11355
11356 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11357
11358 * dired-x.el (dired-guess-default): Remove duplicate shell command
11359 entries (bug#2028).
11360 (dired-guess-default): Fix grammar in doc string (bug#2028).
11361 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11362
11363 * subr.el (remove-duplicates): New conveniency function.
11364
11365 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11366
11367 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11368 (bug#1526).
11369
11370 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11371
11372 * window.el (display-buffer-normalize-default): Don't invert
11373 meaning of even-window-heights. Reported by Eli Zaretskii
11374 <eliz@gnu.org>.
11375
11376 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11377
11378 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11379
11380 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11381
11382 * window.el (display-buffer): Fix arguments to
11383 display-buffer-reuse-window in last change.
11384
11385 * faces.el (link): Use a less saturated blue on light backgrounds.
11386
11387 * startup.el (fancy-startup-text, fancy-about-text)
11388 (fancy-startup-tail): Use font-lock faces, for background safety.
11389
11390 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11391
11392 * emulation/viper-cmd.el (viper-change-state-to-vi):
11393 Limit triggering of abbrev expansion (Bug#9038).
11394
11395 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11396
11397 * window.el (display-buffer-default-specifiers): Remove.
11398 (display-buffer-macro-specifiers): Remove default specifiers.
11399 (display-buffer-alist): Default to nil.
11400 (display-buffer-reuse-window): New optional argument other-window.
11401 (display-buffer-pop-up-window): Allow splitting internal
11402 windows. Check whether a live window was created.
11403 (display-buffer-other-window-means-other-frame)
11404 (display-buffer-normalize-arguments): Rename to
11405 display-buffer-normalize-argument and rewrite. Set the
11406 other-window specifier.
11407 (display-buffer-normalize-special): New function.
11408 (display-buffer-normalize-options): Rename to
11409 display-buffer-normalize-default and rewrite.
11410 (display-buffer-normalize-options-inhibit): Remove.
11411 (display-buffer-normalize-specifiers): Rewrite.
11412 (display-buffer): Process other-window specifier and call
11413 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11414 more faithfully.
11415 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11416 (display-buffer-alist-set): Don't handle 'unset default values.
11417 (display-buffer-in-window, display-buffer-alist-set):
11418 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11419 <tassilo@member.fsf.org>.
11420
11421 2011-07-09 Leo Liu <sdl.web@gmail.com>
11422
11423 * register.el (insert-register): Restore accidental change on
11424 2011-06-26. (Bug#9028)
11425
11426 2011-07-09 Glenn Morris <rgm@gnu.org>
11427
11428 * subr.el (remq): Handle the empty list. (Bug#9024)
11429
11430 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11431
11432 * mail/sendmail.el (send-mail-function): No longer delay custom
11433 initialization.
11434 * custom.el (custom-initialize-delay): Doc fix.
11435
11436 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11437
11438 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11439
11440 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11441
11442 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11443 human-friendly prompt.
11444
11445 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11446
11447 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11448 provided by a particular plugin.
11449
11450 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11451
11452 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11453 save customizations (with "emacs -Q"), just set the variable
11454 instead of erroring out.
11455
11456 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11457
11458 2011-07-08 Juri Linkov <juri@jurta.org>
11459
11460 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11461 (archive-zip-update-case): Use 7z if found by `executable-find'.
11462 The order of searching the available programs is the same as in
11463 `archive-zip-extract' (bug#8968).
11464
11465 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11466
11467 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11468 (menu-bar-options-menu): Tweak descriptions.
11469
11470 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11471
11472 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11473 menu items into verb phrases (bug#1421). Also refill to fit under
11474 80 columns.
11475
11476 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11477
11478 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11479 (Info-read-node-name): Doc fix (Bug#1084).
11480
11481 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11482 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11483 (end-of-sexp, beginning-of-sexp)
11484 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11485 (forward-symbol, forward-same-syntax, word-at-point)
11486 (sentence-at-point): Doc fix (Bug#1144).
11487
11488 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11489
11490 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11491 should cover it (bug#1281).
11492
11493 * cus-edit.el (custom-show): Mark as obsolete.
11494
11495 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11496 negotiation fails, then possibly try again with a non-encrypted
11497 connection (bug#9017).
11498
11499 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11500 be used.
11501
11502 2011-07-07 Richard Stallman <rms@gnu.org>
11503
11504 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11505 property, and handle its changed format.
11506 Look for the correct line number.
11507 Use file's line contents (but not past first =) to find
11508 correct line in message.
11509
11510 2011-07-07 Kenichi Handa <handa@m17n.org>
11511
11512 * international/characters.el (build-unicode-category-table):
11513 Delete it.
11514 (unicode-category-table): Set it by unicode-property-table-internal.
11515
11516 * international/mule-cmds.el (char-code-property-alist): Move to
11517 to src/chartab.c.
11518 (get-char-code-property): Call unicode-property-table-internal to
11519 load a file. Call get-unicode-property-internal where necessary.
11520 (put-char-code-property): Call unicode-property-table-internal to
11521 load a file. Call put-unicode-property-internal where necessary.
11522 put-unicode-property-internal where necessary.
11523 (char-code-property-description):
11524 Call unicode-property-table-internal to load a file.
11525
11526 * international/charprop.el:
11527 * international/uni-bidi.el:
11528 * international/uni-category.el:
11529 * international/uni-combining.el:
11530 * international/uni-comment.el:
11531 * international/uni-decimal.el:
11532 * international/uni-decomposition.el:
11533 * international/uni-digit.el:
11534 * international/uni-lowercase.el:
11535 * international/uni-mirrored.el:
11536 * international/uni-name.el:
11537 * international/uni-numeric.el:
11538 * international/uni-old-name.el:
11539 * international/uni-titlecase.el:
11540 * international/uni-uppercase.el: Regenerate.
11541
11542 * loadup.el: Load international/charprop.el before
11543 international/characters.
11544
11545 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11546
11547 * window.el (next-buffer, previous-buffer): Signal an error if
11548 called from a minibuffer window.
11549
11550 * bindings.el: Revert 2011-07-04 change.
11551
11552 2011-07-06 Richard Stallman <rms@gnu.org>
11553
11554 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11555 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11556 Treat markers like ints.
11557 (rmail-mime-entity): Doc fix.
11558
11559 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11560
11561 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11562 defcustom again for backwards compatibility.
11563
11564 * simple.el (shell-command-on-region): Fill.
11565
11566 * dired-aux.el (dired-kill-line): Add a doc string.
11567
11568 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11569 to "\\sw\\|\\s_" (bug#358).
11570
11571 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11572 (dired-unmark-backward): Ditto.
11573 (dired-flag-backup-files): Ditto.
11574
11575 * dired-x.el (dired-mark-sexp): Ditto.
11576
11577 2011-07-06 Richard Stallman <rms@gnu.org>
11578
11579 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11580 (rmail-mime-entity): New arg TRUNCATED.
11581 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11582 New functions.
11583 (rmail-mime-save): Warn if entity is truncated.
11584 (rmail-mime-toggle-hidden): Likewise, for showing.
11585 (rmail-mime-process-multipart): Record when an entity is truncated.
11586
11587 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11588 if ENTITY is a string.
11589
11590 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11591
11592 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11593 of faces when `M-C-x'-ing their definitions (bug#8378).
11594 Also clean up the code slightly.
11595
11596 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11597 because that makes the colors go away.
11598
11599 * mail/sendmail.el (send-mail-function): Change the default to
11600 `sendmail-query-once'.
11601 (sendmail-query-once): Add an autoload cookie.
11602
11603 * net/network-stream.el (network-stream-open-starttls): Try using
11604 a plain connection even if the server offered STARTTLS, and we
11605 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11606 capability. This should make smtpmail.el work in slightly more
11607 configurations.
11608
11609 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
11610
11611 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11612 New defun.
11613 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11614
11615 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11616
11617 * progmodes/sql.el: Version 3.0
11618 (sql-product-alist): Add product :completion-object,
11619 :completion-column, and :statement attributes.
11620 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11621 (sql-mode-syntax-table): Mark all punctuation.
11622 (sql-font-lock-keywords-builder): Temporarily remove fallback on
11623 ansi keywords.
11624 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11625 (sql-mode-oracle-font-lock-keywords): Improve.
11626 (sql-oracle-show-reserved-words): New function for development.
11627 (sql-product-font-lock): Simplify for source code buffers.
11628 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11629 New functions.
11630 (sql-highlight-product): Set product specific syntax table.
11631 (sql-mode-map): Add statement movement functions.
11632 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11633 New variable.
11634 (sql-statement-regexp, sql-beginning-of-statement)
11635 (sql-end-of-statement, sql-signum): New functions.
11636 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11637 (sql-show-sqli-buffer): Bug fix.
11638 (sql-interactive-mode): Store connection data as buffer local.
11639 (sql-connect): Add NEW-NAME parameter. Redesign interaction
11640 with sql-interactive-mode.
11641 (sql-save-connection): Save buffer local settings.
11642 (sql-connection-menu-filter): Change menu entry name.
11643 (sql-product-interactive): Bug fix.
11644 (sql-preoutput-hold): New variable.
11645 (sql-interactive-remove-continuation-prompt): Bug fixes.
11646 (sql-debug-redirect): New variable.
11647 (sql-str-literal): New function.
11648 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11649 Redesign.
11650 (sql-oracle-save-settings, sql-oracle-restore-settings)
11651 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11652 (sql-completion-object, sql-completion-column)
11653 (sql-completion-sqlbuf): New variables.
11654 (sql-build-completions-1, sql-build-completions)
11655 (sql-try-completion): New functions.
11656 (sql-read-table-name): Use them.
11657 (sql-contains-names): New buffer local variable.
11658 (sql-list-all, sql-list-table): Use it.
11659 (sql-oracle-completion-types): New variable.
11660 (sql-oracle-completion-object, sql-sqlite-completion-object)
11661 (sql-postgres-completion-object): New functions.
11662
11663 2011-07-06 Glenn Morris <rgm@gnu.org>
11664
11665 * window.el (pop-to-buffer): Doc fix.
11666
11667 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11668
11669 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11670
11671 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11672
11673 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11674
11675 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11676
11677 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11678
11679 * button.el (button): Inherit from link face. Suggested by Dan
11680 Nicolaescu.
11681
11682 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * progmodes/gdb-mi.el: Fit in 80 columns.
11685 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11686 switch-to-buffer.
11687
11688 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11689 if imenu is simply not configured (bug#8941).
11690
11691 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11692
11693 * allout.el (allout-post-undo-hook): New allout outline-change
11694 event hook to signal undo activity.
11695 (allout-post-command-business): Run allout-post-undo-hook if an
11696 undo just occurred.
11697 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11698 * allout-widgets.el (allout-widgets-after-undo-function):
11699 Ensure the integrity of the current item's decoration after it has been
11700 in the vicinity of an undo.
11701 (allout-widgets-mode): Include allout-widgets-after-undo-function
11702 on the new allout-post-undo-hook.
11703
11704 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11705
11706 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11707 Let define-derived-mode define it.
11708 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11709 cycles of abbrev-table inheritance (bug#8998).
11710
11711 2011-07-05 Roland Winkler <winkler@gnu.org>
11712
11713 * textmodes/bibtex.el: Add support for biblatex.
11714 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11715 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11716 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11717 (bibtex-entry-alist, bibtex-field-alist): New variables.
11718 (bibtex-entry-field-alist): Obsolete alias for
11719 bibtex-BibTeX-entry-alist.
11720 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11721 (bibtex-set-dialect): New command.
11722 (bibtex-entry-type, bibtex-entry-head)
11723 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11724 Bind via bibtex-set-dialect.
11725 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11726 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11727 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11728 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11729 Define via bibtex-set-dialect.
11730 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11731 Obey bibtex-no-opt-remove-re.
11732 (bibtex-vec-push, bibtex-vec-incr): New functions.
11733 (bibtex-format-entry, bibtex-field-list)
11734 (bibtex-print-help-message, bibtex-validate)
11735 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11736
11737 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11738
11739 * progmodes/compile.el (compilation-goto-locus):
11740 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11741 * bs.el (bs-cycle-next, bs-cycle-previous):
11742 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11743 * bindings.el (mode-line-other-buffer):
11744 * autoinsert.el (auto-insert):
11745 * arc-mode.el (archive-extract):
11746 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11747
11748 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11749
11750 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11751 Fix check of `emacs-lock-unlockable-modes'.
11752 Coerce true values of `emacs-lock--try-unlocking' to t.
11753
11754 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11755
11756 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11757 * emacs-lock.el: New file.
11758
11759 2011-07-05 Julien Danjou <julien@danjou.info>
11760
11761 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11762 than `boundp' to check if face is set.
11763
11764 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11765
11766 * register.el (registerv-make):
11767 * window.el (window-min-height): Fix typos in docstrings.
11768
11769 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11770
11771 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11772 Update doc string.
11773
11774 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11775
11776 * server.el (server-execute): Catch quit and call
11777 `server-return-error' to pass the error back to emacsclient and
11778 close the connection (bug#8942).
11779
11780 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11781
11782 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11783 insecure exception for current topic. Also note that auto-saves
11784 are handled differently.
11785
11786 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11787 State variables for tracking auto-save inhibition situation.
11788
11789 (allout-write-contents-hook-handler): Rename from
11790 'allout-write-file-hook-handler', and describe how it depends on
11791 write-contents-functions sensitivity to non-nil value to prevent
11792 file write.
11793
11794 (allout-auto-save-hook-handler): Remove. auto-save does not check
11795 this in individual buffers, only in the starting buffer, so this
11796 is not the right way for us to inhibit auto-save in a buffer
11797 according to its condition.
11798
11799 (allout-mode): Use new allout-write-contents-hook-handler, and
11800 only with write-contents-functions. Remove auto-save provisions -
11801 they're implemented elsewhere.
11802
11803 (allout-before-change-handler): If undo is in progress, note that
11804 for attention of allout-post-command-business.
11805
11806 (allout-post-command-business): If the command we're following was
11807 an undo, check for change in the status of encrypted items and
11808 adjust auto-save inhibitions accordingly.
11809
11810 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11811 according to whether there are or aren't any plain-text topics
11812 pending encryption.
11813
11814 (allout-inhibit-auto-save-info-for-decryption):
11815 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11816 if there are plain-text topics pending encryption.
11817
11818 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11819 buffer-saved-size and some allout state to not inhibit auto-saves
11820 if there are no longer any plain-text topics pending encryption.
11821
11822 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11823 No longer provide for exemption of the current topic.
11824
11825 2011-07-04 Juri Linkov <juri@jurta.org>
11826
11827 Add 7z operations to delete and save changed members (bug#8968).
11828 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11829 New defcustoms.
11830 (archive-7z-write-file-member): New function.
11831 (archive-7z-summarize): Fix the number of dashes in the
11832 listing output.
11833
11834 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11837 (bug#8958).
11838
11839 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
11840
11841 * bindings.el: Ignore next-buffer and previous-buffer in
11842 minibuffer-local-map.
11843
11844 * font-lock.el (font-lock-builtin-face): Change light background
11845 color to dark slate blue (Bug#6693).
11846
11847 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11848
11849 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11850
11851 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11852
11853 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11854 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11855 Add switch-to-buffer.
11856
11857 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11858
11859 * isearch.el (isearch-search-fun-function): Clarify further the
11860 meaning of the function returned.
11861
11862 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
11863
11864 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11865
11866 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11867 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11868 Use it.
11869 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11870 `tramp-default-remote-path' does not exist.
11871 (tramp-send-command-and-read): New optional argument NOERROR.
11872 (tramp-open-connection-setup-interactive-shell)
11873 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11874 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11875 (tramp-process-sentinel): Flush also process' connection property.
11876 (tramp-sh-handle-start-file-process): Do not set process
11877 sentinel. It is done now ...
11878 (tramp-maybe-open-connection): ... here. (Bug#8929)
11879
11880 2011-07-04 MON KEY <monkey@sandpframing.com>
11881
11882 * play/animate.el (animate-string): Doc fixes and allow changing
11883 the buffer name (bug#5417).
11884
11885 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11886
11887 * play/animate.el (animation-buffer-name): Rename from *animate*.
11888
11889 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11890
11891 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11892 This is simpler and helps future-proof the code.
11893 (timer-until): Use time-subtract and float-time.
11894 (timer--time-less-p): Use time-less-p.
11895
11896 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11897
11898 * type-break.el (timep): Use the value of `float-time' to avoid a
11899 byte-compiler warning.
11900
11901 * server.el (server-eval-and-print): Return any result, even nil.
11902
11903 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11904
11905 * type-break.el: Accept time formats that the builtins accept.
11906 (timep, type-break-time-difference): Accept any format that
11907 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11908 This is simpler and helps future-proof the code.
11909 (type-break-time-difference): Round rather than ignoring
11910 subseconds components.
11911
11912 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11913
11914 * info.el (Info-apropos-matches): Make non-interactive, since it
11915 doesn't seem to do anything useful as a command (bug#8829).
11916
11917 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11918
11919 * frame.el (frame-background-mode, frame-set-background-mode):
11920 Move from faces.el.
11921 (frame-default-terminal-background): New function.
11922
11923 * custom.el (custom-push-theme): Don't record faces in `changed'
11924 theme; this doesn't work correctly for per-frame face settings.
11925 (disable-theme): Use face-set-after-frame-default to reset faces.
11926 (custom--frame-color-default): New function.
11927
11928 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11929
11930 * dired.el (dired-flagging-regexp): Remove unused variable
11931 (bug#8769).
11932
11933 2011-03-29 Kevin Ryde <user42@zip.com.au>
11934
11935 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11936 `perl-Test2' extend to match possible "fail #N" rep count
11937 (bug#8377).
11938
11939 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11940
11941 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11942 `smtpmail-via-smtp' now returns the error instead of nil.
11943
11944 * isearch.el (isearch-search-fun-function): Clarify the doc string
11945 (bug#8101).
11946
11947 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11948
11949 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11950 unnecessary spaces (bug#8987).
11951
11952 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11953
11954 * net/network-stream.el (open-network-stream): Use the
11955 :end-of-capability command thoughout.
11956
11957 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11958
11959 * net/network-stream.el (open-network-stream): Add the
11960 :end-of-capability command parameter, used by pop3.el.
11961
11962 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11963
11964 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11965
11966 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11967 for list)" (bug#6475).
11968
11969 * files.el (file-expand-wildcards): Ignore non-readable
11970 sub-directories while trying to find matches instead of signaling
11971 an error (bug#6297).
11972
11973 * man.el (Man-reference-regexp): Allow matching possible
11974 word-wrapped references (bug#6289).
11975
11976 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11977 for consistency with the other vc buffers (bug#6197).
11978 (vc-checkin): Ditto.
11979
11980 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11981
11982 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11983
11984 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11985
11986 * custom.el (defcustom): Clarify that :set is only used in the
11987 Customize user interface (bug#6089).
11988
11989 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11990 associated with a file, refuse to run instead of erroring out
11991 (bug#6084).
11992
11993 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11994 the doc string, since it appears that using `fill-column' always
11995 controls the width (bug#7845).
11996
11997 * simple.el (shell-command-on-region): Say where the error output
11998 went if `shell-command-default-error-buffer' is set (bug#6857).
11999
12000 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12001
12002 * allout.el (allout-yank-processing): Adjust cursor position for
12003 backwards-deleted space.
12004
12005 (allout-rebullet-heading): Register changes with
12006 allout-exposure-changed-hook, so the modified topic is properly
12007 decorated.
12008
12009 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12010
12011 * minibuffer.el (completion-in-region): Document PREDICATE
12012 (bug#7136).
12013
12014 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12015 of keyword/argument pairs (bug#6904).
12016
12017 * replace.el (multi-occur):
12018 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12019
12020 2011-07-02 Drew Adams <drew.adams@oracle.com>
12021
12022 * dired.el (dired-mark-if): Make the message about whether it's
12023 marking or unmarking clearer (bug#8523).
12024
12025 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12026
12027 * disp-table.el (display-table-print-array): New function.
12028 (describe-display-table): Use it to print the vectors more pretty
12029 (Bug#8859).
12030
12031 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12032
12033 * window.el (window-state-get-1): Don't assign clone numbers.
12034 Add clone-of item to list of window parameters.
12035 (window-state-put-2): Don't process clone numbers.
12036 (display-buffer-alist): Fix doc-string.
12037
12038 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12039
12040 * subr.el (remq): Don't allocate if it's not needed.
12041 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12042 (keymap--merge-bindings): New functions.
12043 (keymap-canonicalize): Use them to refine the canonicalization.
12044 * minibuffer.el (minibuffer-local-completion-map)
12045 (minibuffer-local-must-match-map): Move initialization from C.
12046 (minibuffer-local-filename-completion-map): Move initialization from C;
12047 don't inherit from anything here.
12048 (minibuffer-local-filename-must-match-map): Make obsolete.
12049 (completing-read-default): Use make-composed-keymap to combine
12050 minibuffer-local-filename-completion-map with either
12051 minibuffer-local-must-match-map or
12052 minibuffer-local-filename-completion-map.
12053
12054 2011-07-01 Glenn Morris <rgm@gnu.org>
12055
12056 * type-break.el (type-break-time-sum): Use dolist.
12057
12058 * textmodes/flyspell.el (flyspell-word-search-backward):
12059 Replace CL function.
12060
12061 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12062
12063 * mouse.el (mouse--strip-first-event): New function.
12064 (function-key-map): Use it to map fringe clicks to normal clicks
12065 by default.
12066
12067 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12068 (vc-bzr-revision-completion-table): Add support for annotate and date.
12069
12070 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12071 inherit from parent.
12072
12073 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12074
12075 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12076 (dired-show-file-type): Doc fixup (bug#8818).
12077
12078 * dired.el (dired-mode): Fix up the doc string as suggested by
12079 Drew Adams (bug#8817).
12080
12081 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12082 cookie, since the manual says that it should be possible to add
12083 this function to `find-file-hook' (bug#8709).
12084
12085 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12086
12087 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12088 here. Noted Ted Zlatanov as the maintainer.
12089 (cfengine-common-settings, cfengine-common-syntax): New functions
12090 to set up common things between `cfengine-mode' and
12091 `cfengine3-mode'.
12092 (cfengine3-mode): New mode.
12093 (cfengine3-defuns cfengine3-defuns-regex
12094 (cfengine3-class-selector-regex cfengine3-category-regex)
12095 (cfengine3-vartypes cfengine3-font-lock-keywords)
12096 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12097 (cfengine3-indent-line): Add from cfengine3.el.
12098
12099 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12100
12101 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12102
12103 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12104
12105 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12106
12107 * window.el (same-window-buffer-names, same-window-regexps)
12108 (same-window-p, special-display-frame-alist)
12109 (special-display-popup-frame, special-display-function)
12110 (special-display-buffer-names, special-display-regexps)
12111 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12112 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12113 (split-window-preferred-function, split-height-threshold)
12114 (split-width-threshold, even-window-heights)
12115 (display-buffer-mark-dedicated, window-splittable-p)
12116 (split-window-sensibly, window-safely-shrinkable-p):
12117 Un-obsolete.
12118 (display-buffer): Don't spread args with function specifier
12119 because special-display-popup-frame won't like it.
12120
12121 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12122
12123 Time-stamp simplifications and fixes.
12124 These improve accuracy slightly, and future-proof the code
12125 against some potential changes to current-time format.
12126
12127 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12128 by using time-since and float-time.
12129
12130 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12131 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12132 + NNN microseconds".
12133
12134 * type-break.el (type-break-time-sum): Rewrite using time-add.
12135
12136 * play/hanoi.el (hanoi-current-time-float): Remove.
12137 All uses replaced by float-time.
12138
12139 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12140 This yields a more-accurate answer.
12141 (rng-time-to-float): Remove; no longer needed.
12142
12143 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12144
12145 * calendar/timeclock.el (timeclock-seconds-to-time):
12146 Defalias to seconds-to-time, since they're the same thing.
12147
12148 * emacs-lisp/elp.el (elp-elapsed-time):
12149 * emacs-lisp/benchmark.el (benchmark-elapse):
12150 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12151
12152 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12153
12154 * window.el (bury-buffer): Don't iconify the only frame.
12155 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12156 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12157
12158 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12159
12160 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12161 Add mouse-yank-primary.
12162
12163 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12164
12165 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12166
12167 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12168
12169 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12170 (find-library-name): Use it to find relative load names when provided
12171 absolute file name (bug#8803).
12172
12173 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12174
12175 * textmodes/flyspell.el (flyspell-word): Consider words that
12176 differ only in case as potential doublons (bug#5687).
12177
12178 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12179 Remove two rather uninteresting debugging-like messages to make
12180 debbugs.el more silent.
12181
12182 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12183 a password-like phrase.
12184
12185 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12186
12187 * progmodes/cc-guess.el: New file.
12188
12189 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12190
12191 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12192 derived from `c-basic-common-init'.
12193
12194 * progmodes/cc-mode.el (top-level): Require cc-guess.
12195 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12196
12197 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12198
12199 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12200
12201 2011-06-30 Alan Mackenzie <acm@muc.de>
12202
12203 * progmodes/cc-engine.el (c-guess-continued-construct):
12204 Correct the handling of template-args-cont, particularly for when font
12205 lock is disabled. Name this case as "CASE G".
12206
12207 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12208
12209 * allout.el (allout-yank-processing): Fix injection of extra space
12210 between bullet and non-whitespace character in first topic when
12211 pasting, ensuring that the actual spacing in the pasted topic
12212 following the bullet char is preserved. This extra space was
12213 causing pasted encrypted topics to get a decrypted status even
12214 when the content was actually still encrypted. Now the decryption
12215 status from before the paste is preserved.
12216
12217 (allout-flag-region): Set all allout overlays so they evaporate
12218 when reduced to zero length (evanescent), to prevent overlay
12219 leakage.
12220
12221 2011-06-30 Glenn Morris <rgm@gnu.org>
12222
12223 * w32-fns.el (w32-charset-info-alist): Declare.
12224
12225 * find-dired.el (find-grep-options): Simplify.
12226
12227 * term/ns-win.el (ns-set-resource): Declare.
12228
12229 * ses.el (row, col): Declare dynamic variables honestly.
12230
12231 * textmodes/reftex-parse.el (index-tags): Declare.
12232
12233 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12234
12235 * cus-edit.el (customize-push-and-save): New function.
12236
12237 * files.el (hack-local-variables-confirm): Use it.
12238
12239 * custom.el (load-theme): New arg NO-CONFIRM.
12240 Use customize-push-and-save (Bug#8720).
12241 (custom-enabled-themes): Doc fix.
12242
12243 * cus-theme.el (customize-create-theme)
12244 (custom-theme-merge-theme): Callers to load-theme changed.
12245
12246 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12247
12248 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12249 short URLs have at least one dot in them (bug #7614).
12250
12251 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12252 nil, because using a pty is apparently too slow (bug #895).
12253
12254 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12255
12256 * mail/sendmail.el (sendmail-query-once): New function.
12257 (sendmail-query-once-function): New variable.
12258
12259 2011-06-29 Glenn Morris <rgm@gnu.org>
12260
12261 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12262
12263 * ses.el (top-level): Require cl when compiling.
12264 (ses-set-localvars): Fix error statement.
12265 Call it at compile time to silence a storm of warnings.
12266
12267 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12268
12269 * window.el (normalize-live-buffer): Rename to
12270 window-normalize-buffer.
12271 (normalize-live-frame): Rename to window-normalize-frame.
12272 (normalize-any-window): Rename to window-normalize-any-window.
12273 (normalize-live-window): Rename to window-normalize-live-window.
12274 (make-window-atom): Rename to window-make-atom.
12275 (window-resize-reset): Rename to window--resize-reset.
12276 (window-resize-reset-1): Rename to window--resize-reset-1.
12277 (resize-mini-window): Rename to window--resize-mini-window.
12278 (resize-subwindows-skip-p): Rename to
12279 window--resize-subwindows-skip-p.
12280 (resize-subwindows-normal): Rename to
12281 window--resize-subwindows-normal.
12282 (resize-subwindows): Rename to window--resize-subwindows.
12283 (resize-other-windows): Rename to window--resize-siblings.
12284 (resize-this-window): Rename to window--resize-this-window.
12285 (resize-root-window): Rename to window--resize-root-window.
12286 (resize-root-window-vertically): Rename to
12287 window--resize-root-window-vertically.
12288 (normalize-buffer-to-display): Rename to
12289 window-normalize-buffer-to-display.
12290 (normalize-buffer-to-switch-to): Rename to
12291 window-normalize-buffer-to-switch-to.
12292 Correspondingly update all callers of the functions listed
12293 above.
12294 (display-buffer-alist, display-buffer-normalize-arguments)
12295 (display-buffer-normalize-options, display-buffer)
12296 (display-buffer-alist-set): Use "function" instead of
12297 "fun-with-args".
12298
12299 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12300
12301 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12302 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12303 debbugs.gnu.org. Mention acknowledgment email.
12304
12305 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12306
12307 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12308 buffer multibyteness, since it shouldn't matter.
12309
12310 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12311
12312 * window.el (display-buffer-in-side-window): Handle dedicated
12313 windows as in display-buffer-reuse-window.
12314 (display-buffer-normalize-alist): Use value of override
12315 specifier.
12316 (display-buffer-normalize-specifiers): Use value of
12317 other-window-means-other-frame specifier.
12318 (display-buffer-alist): Rewrite some texts in widgets.
12319 (display-buffer): Spread arguments when calling function
12320 specified by fun-with-args.
12321
12322 2011-06-28 Deniz Dogan <deniz@dogan.se>
12323
12324 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12325 Unnest `let'.
12326
12327 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12328 selectors (Bug#5732).
12329 (css-proprietary-nmstart-re): Use `regexp-opt'.
12330
12331 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12332
12333 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12334 (eshell-ls-date-format): New defcustom.
12335 (eshell-ls-file): Use it.
12336
12337 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12338
12339 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12340
12341 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12342
12343 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12344 (ange-ftp-make-tmp-name): New arg.
12345 (ange-ftp-file-local-copy): Use it.
12346
12347 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12348
12349 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12350 no-conversion (Bug#8870).
12351
12352 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12353
12354 * window.el (window-right, window-left, window-child)
12355 (window-child-count, window-last-child)
12356 (window-iso-combination-p, walk-window-tree-1)
12357 (window-atom-check-1, window-tree-1, delete-window)
12358 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12359 new naming conventions - window-vchild, window-hchild,
12360 window-next and window-prev are now called window-top-child,
12361 window-left-child, window-next-sibling and window-prev-sibling
12362 respectively.
12363 (resize-window-reset): Rename to window-resize-reset.
12364 (resize-window-reset-1): Rename to window-resize-reset-1.
12365 (resize-window): Rename to window-resize.
12366 (window-min-height, window-min-width)
12367 (resize-mini-window, resize-this-window, resize-root-window)
12368 (resize-root-window-vertically, adjust-window-trailing-edge)
12369 (enlarge-window, shrink-window, maximize-window)
12370 (minimize-window, delete-window, quit-restore-window)
12371 (split-window, balance-windows, balance-windows-area-adjust)
12372 (balance-windows-area, window-state-put-2)
12373 (display-buffer-even-window-sizes, display-buffer-set-height)
12374 (display-buffer-set-width, set-window-text-height)
12375 (fit-window-to-buffer): Rename all "resize-window" prefixed
12376 calls to use the "window-resize" prefix convention.
12377 (display-buffer-alist): Fix symbol for label specifier.
12378 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12379 corresponding specifier.
12380 Reported by Juanma Barranquero <lekktu@gmail.com>.
12381
12382 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12383
12384 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12385 convention.
12386 (ses-call-printer): Does not pass an empty string to formatter when the
12387 cell is empty to keep from barking printer Calc math-format-value.
12388
12389 2011-06-27 Richard Stallman <rms@gnu.org>
12390
12391 * battery.el (battery-mode-line-limit): New variable.
12392 (battery-update): Handle it.
12393
12394 * mail/rmailmm.el (rmail-mime-process-multipart):
12395 Handle truncated messages.
12396
12397 2011-06-27 Glenn Morris <rgm@gnu.org>
12398
12399 * progmodes/flymake.el (flymake-err-line-patterns):
12400 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12401
12402 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12403
12404 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12405 (ses--clean-!, ses--clean-_): New functions.
12406 (ses-range): Add configurability of readout order, and conversion
12407 to Calc vector.
12408
12409 * ses.el (ses-repair-cell-reference-all): New function.
12410 (ses-cell-symbol): Set macro as safe, so that it can be used in
12411 formulas.
12412
12413 * ses.el: Update cycle detection algorithm.
12414 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12415 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12416 (ses-set-localvars): New function.
12417 (ses-make-cell): Add property-list as a cell element.
12418 (ses-cell-property-get-fun, ses-cell-property-get)
12419 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12420 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12421 New functions.
12422 (ses-cell-property-set, ses-cell-property-pop)
12423 (ses-cell-property-get-handle): New macro.
12424 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12425 New aliases, used for code readability.
12426 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12427 cycle detection.
12428 (ses-self-reference-early-detection): New defcustom.
12429 (ses-formula-references): Robustify against self-referring cells.
12430 (ses-mode): Use ses-set-localvars.
12431 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12432 before lauching the update processing.
12433 (ses-initialize-Dijkstra-attempt): New function.
12434 (ses-recalculate-cell): Update for cycle detection based on
12435 Dijkstra algorithm.
12436
12437 * ses.el: Fix commenting and indenting convention.
12438
12439 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12440
12441 * bs.el (bs-cycle-next): Complete last change.
12442
12443 2011-06-27 Drew Adams <drew.adams@oracle.com>
12444
12445 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12446
12447 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12448
12449 * net/network-stream.el (network-stream-open-starttls):
12450 Don't re-get capabilities unless we've reestablished connection.
12451 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12452
12453 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12454 to binary to possibly avoid line encoding issues on Windows (among
12455 other things).
12456
12457 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12458
12459 * net/network-stream.el (open-network-stream): Return an :error
12460 saying what the problem was, if possible.
12461
12462 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12463 server.
12464
12465 * net/network-stream.el (network-stream-open-starttls): If we
12466 wanted to use STARTTLS, and the server offered it, but we weren't
12467 able to because we had no STARTTLS support, then close the connection.
12468 (open-network-stream): Return an :error element, if present.
12469
12470 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12471
12472 * hl-line.el (hl-line-sticky-flag): Doc fix.
12473 (global-hl-line-sticky-flag): New option (Bug#8323).
12474 (global-hl-line-highlight): Obey it.
12475
12476 * vc/vc.el (vc-revert-show-diff): Default to t.
12477
12478 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12479
12480 * allout-widgets.el (allout-widgets-post-command-business):
12481 Stop decorating intermediate isearch matches. They're not being
12482 undecorated when an isearch is continued past, and isearch
12483 automatically collapses them. This leads to "widget leaks", where
12484 decorated items accumulate in collapsed areas. Lines with lots of
12485 hidden widgets can slow down cursor travel, substantially.
12486 Too much complicated machinery would be needed to ensure undecoration,
12487 so we're doing without this nicety.
12488
12489 (allout-widgets-tally-string): Don't try to do a hash-table-count
12490 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12491 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12492 *Messages* when allout-widgets-maintain-tally is t.
12493
12494 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12495
12496 * window.el (display-buffer-normalize-argument): Rename to
12497 display-buffer-normalize-arguments. Handle special meaning of
12498 LABEL argument. Respect special-display-function when popping up
12499 a new frame. Fix code searching for a window showing the buffer
12500 on another frame.
12501 (display-buffer-normalize-specifiers):
12502 Call display-buffer-normalize-arguments.
12503 (display-buffer-in-window): Don't undedicate the window if its
12504 buffer remains the same.
12505 Reported by Drew Adams <drew.adams@oracle.com>.
12506 (display-buffer-alist): Add choice for same-window macro
12507 specfier.
12508 (display-buffer): Mention special meaning of LABEL argument in
12509 doc-string. Fix quoting. Don't pop up a new frame even as
12510 fallback.
12511
12512 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12513
12514 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12515 avoid deleting the current window in some cases (bug#8911).
12516
12517 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12518
12519 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12520 (Bug#8934)
12521
12522 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12523
12524 * net/network-stream.el (network-stream-open-starttls):
12525 Use built-in TLS support if `gnutls-available-p' is true.
12526 (network-stream-open-tls): Ditto.
12527
12528 2011-06-26 Leo Liu <sdl.web@gmail.com>
12529
12530 * register.el (registerv): New struct.
12531 (registerv-make): New function.
12532 (jump-to-register, describe-register-1, insert-register):
12533 Support the jump-func, print-func and insert-func slot of a registerv
12534 struct. (Bug#8415)
12535
12536 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12537
12538 * vc/vc.el (vc-revert-show-diff): New defcustom.
12539 (vc-diff-internal): New arg specifying diff buffer.
12540 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12541 reuse an existing *vc-diff* buffer (Bug#8927).
12542
12543 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12544
12545 2011-06-26 Glenn Morris <rgm@gnu.org>
12546
12547 * progmodes/f90.el (f90-critical-indent): New option.
12548 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12549 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12550 (f90-mode): Doc fix.
12551 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12552 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12553 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12554 (f90-match-end): Handle block, critical.
12555
12556 2011-06-25 Glenn Morris <rgm@gnu.org>
12557
12558 * calendar/diary-lib.el (diary-included-files): Doc fix.
12559 (diary-include-files): New function, extracted from
12560 diary-include-other-diary-files and diary-mark-included-diary-files.
12561 (diary-include-other-diary-files, diary-mark-included-diary-files):
12562 Just call diary-include-files.
12563 (diary-mark-entries): Reset diary-included-files on first call.
12564
12565 * calendar/diary-lib.el (diary-mark-entries)
12566 (diary-mark-included-diary-files):
12567 Visit included diary-files in temp buffers.
12568
12569 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12570 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12571 (f90-start-block-re, f90-imenu-generic-expression)
12572 (f90-looking-at-program-block-start, f90-no-block-limit):
12573 Add support for submodules.
12574
12575 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12576 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
12577
12578 2011-06-25 Eli Zaretskii <eliz@gnu.org>
12579
12580 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12581 buffer-file-type before setting its value, to avoid disastrous
12582 global effects on decoding files for DOS/Windows systems. (Bug#8780)
12583
12584 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12585
12586 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12587
12588 * ses.el (ses-unload-function):
12589 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12590
12591 * proced.el (proced-unload-function):
12592 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12593
12594 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12595
12596 * server.el (server-create-window-system-frame): Add parameters arg.
12597 (server-process-filter): Doc fix. Handle frame-parameters.
12598
12599 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12600
12601 Fix bug#8730, bug#8781.
12602
12603 * loadhist.el (unload--set-major-mode): New function.
12604 (unload-feature): Use it.
12605
12606 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12607 (python-unload-function): New function.
12608
12609 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12610
12611 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12612
12613 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12614
12615 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12616 the candidates list.
12617
12618 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
12619
12620 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12621
12622 2011-06-23 Richard Stallman <rms@gnu.org>
12623
12624 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12625 (rmail-variables): Set next-error-move-function.
12626 (rmail-what-message): Take argument POS.
12627 (rmail-next-error-move): New function.
12628
12629 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12630
12631 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12632 messages for adjacent non-terminals.
12633
12634 2011-06-23 Richard Stallman <rms@gnu.org>
12635
12636 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12637 (rmail-show-message-1): Preserve buffer modified flag.
12638 (rmail-start-mail): Don't specify use of rmail-mail-return;
12639 that's done by mail-bury now.
12640 (rmail-mail-return): Handle arg NEWBUF.
12641
12642 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
12643
12644 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12645 SIZE is a number.
12646
12647 2011-06-23 Martin Rudalics <rudalics@gmx.at>
12648
12649 * window.el (get-lru-window, get-mru-window)
12650 (get-largest-window): Never return a minibuffer window.
12651 (display-buffer-pop-up-window): Fix a bug that could lead to
12652 reusing the minibuffer window.
12653 (display-buffer): Pass original specifier argument to
12654 display-buffer-function instead of the normalized one.
12655 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12656
12657 2011-06-22 Leo Liu <sdl.web@gmail.com>
12658
12659 * minibuffer.el (completing-read-function)
12660 (completing-read-default): Move from minibuf.c
12661
12662 2011-06-22 Richard Stallman <rms@gnu.org>
12663
12664 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12665 to Rmail even if not started by a special Rmail command.
12666
12667 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12668 Copy the buffer currently showing just one message.
12669
12670 2011-06-22 Roland Winkler <winkler@gnu.org>
12671
12672 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12673 (bibtex-clean-entry): First delete the old key so that a
12674 customized algorithm for generating the new key does not get
12675 confused by the old key.
12676 (bibtex-url): Obey regexp of first step.
12677 (bibtex-search-entries): Do not use add-to-list with local
12678 list-var.
12679
12680 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12681
12682 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12683 stored a user name, then query for the password first, instead of
12684 waiting for SMTP to give an error message and the trying again.
12685
12686 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12687
12688 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12689 BUFFER in call-process.
12690
12691 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12692
12693 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12694 QUIT twice.
12695 (smtpmail-try-auth-methods): Require user name and password from
12696 auth-source.
12697
12698 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12699
12700 * window.el (display-buffer-default-specifiers)
12701 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12702 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12703 (split-window): Normalize SIDE argument (Bug#8916).
12704
12705 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12706 (special-display-frame-alist, special-display-popup-frame):
12707 Remove duplicate declarations. These are now in window.el.
12708
12709 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12710
12711 * mail/smtpmail.el (smtpmail-via-smtp):
12712 Set :use-starttls-if-possible so that we always use STARTTLS if the
12713 server supports it. SMTP servers that support STARTTLS commonly
12714 require it.
12715
12716 * net/network-stream.el (network-stream-open-starttls): Support
12717 upgrading to STARTTLS always, even if we don't have built-in support.
12718 (open-network-stream): Add the :always-query-capabilities keyword.
12719
12720 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12721 upgrades with `open-network-stream', and rely solely on
12722 auth-source for all credentials. Big changes throughout the file,
12723 but in particular:
12724 (smtpmail-auth-credentials): Remove.
12725 (smtpmail-starttls-credentials): Remove.
12726 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12727 MAIL FROM, too.
12728
12729 * net/network-stream.el (network-stream-open-starttls):
12730 Provide support for client certificates both for external and built-in
12731 STARTTLS.
12732 (auth-source): Require.
12733 (open-network-stream): Document the :client-certificate keyword.
12734 (network-stream-certificate): Change cert-cert to cert and
12735 cert-key to key.
12736
12737 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12738
12739 * net/tramp-cache.el (top): Don't load the persistency file when
12740 "emacs -Q" has been called.
12741
12742 2011-06-21 Tim Harper <timcharper@gmail.com>
12743
12744 * term/ns-win.el (ns-initialize-window-system):
12745 Set application-specific `ApplePressAndHoldEnabled' system
12746 resource to NO as it is not yet supported by the NS port.
12747
12748 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12749
12750 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12751 (list-dynamic-libraries): ...not here.
12752
12753 2011-06-21 Leo Liu <sdl.web@gmail.com>
12754
12755 * subr.el (sha1): Implement sha1 using secure-hash.
12756
12757 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12758
12759 * window.el (display-buffer-alist): In default value do not
12760 enforce searching a window on any but the selected frame.
12761 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12762 (display-buffer-select-window): Remove function.
12763 (display-buffer-in-window): When a window on another frame gets
12764 reused, do not select it any more but just raise its frame if
12765 necessary (Bug#8851) and (Bug#8856).
12766 (display-buffer-normalize-options): Handle pop-up-frames related
12767 options more faithfully.
12768 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12769 window if it is on another frame.
12770 (display-buffer-alist, display-buffer-default-specifiers):
12771 Don't make new frame unsplittable by default.
12772 (display-buffer-normalize-argument): Fix doc-string typo and use
12773 'same-frame-other-window instead of 'other-window when associating
12774 with display-buffer-macro-specifiers.
12775
12776 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12777
12778 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12779 New functions.
12780 (5x5-mode-map, 5x5-mode-menu): Bind them.
12781 (5x5-draw-grid): Tweak the solver's rendering.
12782
12783 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12784
12785 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12786 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12787
12788 2011-06-21 Drew Adams <drew.adams@oracle.com>
12789
12790 * menu-bar.el: Use function variable instead of switch-to-buffer.
12791 (menu-bar-select-buffer-function): New variable.
12792 (menu-bar-update-buffers): Use it (bug#8876).
12793
12794 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12795
12796 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12797 variable's status.
12798
12799 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12800
12801 * x-dnd.el (x-dnd-version-from-flags)
12802 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12803 and long as number (Bug#8899).
12804 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12805
12806 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12807
12808 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12809 (completion-try-completion, completion-all-completions): Compute the
12810 metadata argument if it's missing; make it optional (bug#8795).
12811
12812 * wid-edit.el: Use lex-bind and move towards completion-at-point.
12813 (widget-complete): Use new :completion-function property.
12814 (widget-completions-at-point): New function.
12815 (default): Use :completion-function instead of :complete.
12816 (widget-default-completions): Rename from widget-default-complete;
12817 Rewrite.
12818 (widget-string-complete, widget-file-complete, widget-color-complete):
12819 Remove functions.
12820 (file, symbol, function, variable, coding-system, color):
12821 * international/mule-cmds.el (default-input-method, charset)
12822 (language-info-custom-alist):
12823 * cus-edit.el (face): Use new property :completions.
12824
12825 * progmodes/pascal.el (pascal-completions-at-point): New function.
12826 (pascal-mode): Use it.
12827 (pascal-mode-map): Use completion-at-point.
12828 (pascal-toggle-completions): Make obsolete.
12829 (pascal-complete-word, pascal-show-completions):
12830 * progmodes/octave-mod.el (octave-complete-symbol):
12831 Redefine as obsolete alias.
12832 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12833 Signal absence of completion info for old Octave,
12834 (inferior-octave-complete): Redefine as obsolete alias.
12835 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12836 (meta-completions-at-point): Rename from meta-complete-symbol and
12837 adapt it for use on completion-at-point-functions.
12838 (meta-common-mode): Use it.
12839 (meta-looking-at-backward, meta-match-buffer): Remove.
12840 (meta-complete-symbol): Redefine as obsolete alias.
12841 (meta-common-mode-map): Use completion-at-point.
12842 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12843 (makefile-mode-map): Use completion-at-point.
12844 (makefile-completions-at-point): Rename from makefile-complete and
12845 adapt it for use on completion-at-point-functions.
12846 (makefile-mode): Use it.
12847 (makefile-complete): Redefine as obsolete alias.
12848
12849 2011-06-20 Deniz Dogan <deniz@dogan.se>
12850
12851 * net/rcirc.el: Delete trailing whitespaces once and for all.
12852
12853 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12854
12855 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12856
12857 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
12858
12859 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12860
12861 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12862
12863 2011-06-19 Martin Rudalics <rudalics@gmx.at>
12864
12865 * window.el (display-buffer-other-window-means-other-frame):
12866 Call display-buffer-normalize-alist.
12867 (display-buffer-normalize-specifiers-1): Rename to
12868 display-buffer-normalize-argument. New argument other-frame.
12869 Rewrite.
12870 (display-buffer-normalize-specifiers-2): Rename to
12871 display-buffer-normalize-options.
12872 (display-buffer-normalize-alist-1): New function.
12873 (display-buffer-normalize-specifiers-3): Rename to
12874 display-buffer-normalize-alist.
12875 Call display-buffer-normalize-alist-1.
12876 (display-buffer-normalize-options-inhibit): New variable.
12877 (display-buffer-normalize-specifiers): Rewrite calling
12878 display-buffer-normalize-alist,
12879 display-buffer-normalize-argument, and
12880 display-buffer-normalize-options. Don't call the latter if
12881 display-buffer-normalize-options-inhibit is non-nil.
12882 (frame-auto-delete): New option.
12883 (window-deletable-p): Use frame-auto-delete.
12884 (window-list-no-nils, window-state-ignored-parameters)
12885 (window-state-get-1, window-state-get, window-state-put-list)
12886 (window-state-put-1, window-state-put-2, window-state-put):
12887 New functions.
12888 (display-buffer-normalize-options): Move special-display-p group
12889 after pop-up-frame group (Bug#8851) and (Bug#8856).
12890
12891 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
12892
12893 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12894 groups (Bug#8776).
12895 (rx-submatch-n): New function.
12896 (rx): Document it.
12897
12898 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12899 (Bug#8768).
12900
12901 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12902
12903 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12904
12905 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12906 anytime existing face settings are present (Bug#8889).
12907
12908 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12909 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12910 Remove unused argument.
12911
12912 2011-06-18 Martin Rudalics <rudalics@gmx.at>
12913
12914 * window.el (display-buffer-default-specifiers):
12915 Remove pop-up-frame. Add pop-up-window-min-height,
12916 pop-up-window-min-width, and another reuse-window specifier
12917 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12918 (display-buffer-normalize-specifiers-2):
12919 Handle split-height-threshold and split-width-threshold also when
12920 pop-up-windows is unset. Add a reuse-window specifier for the
12921 case popping up a new window fails.
12922 (special-display-popup-frame): Remove double quoting.
12923 (display-buffer-normalize-specifiers-1): Fix thinko.
12924
12925 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12926
12927 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12928 according to comint-completion-addsuffix.
12929
12930 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12931 (pcomplete-suffix-list): Mark as obsolete.
12932 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12933 pcomplete-seen in the closure.
12934 (pcomplete-comint-setup): Setup completion-at-point as well.
12935 (pcomplete--entries): New function.
12936 (pcomplete--env-regexp): New var.
12937 (pcomplete-entries): Rewrite to work with partial-completion and
12938 without relying on pcomplete-suffix-list.
12939 (pcomplete-pare-list): Remove, unused.
12940
12941 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12942
12943 * window.el (display-buffer-alist): Set pop-up-window-min-height
12944 and pop-up-window-min-width in default value. Reported by
12945 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12946 other-window-means-other-frame.
12947 (display-buffer-macro-specifiers): Comment out entry for
12948 other-window specifier.
12949 (display-buffer-other-window-means-other-frame): New function.
12950 (display-buffer-normalize-specifiers-1): New arguments
12951 buffer-name and label. Treat other-window case specially.
12952 (display-buffer-normalize-specifiers-2): Treat other-window case
12953 specially.
12954 (display-buffer-normalize-specifiers-3): New function.
12955 (display-buffer-normalize-specifiers):
12956 Call display-buffer-normalize-specifiers-3.
12957
12958 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12959
12960 * window.el (same-window-p): Fix two typos introduced when
12961 adding with-no-warnings.
12962 (display-buffer-normalize-specifiers-1): Don't check
12963 pop-up-frames for 'unset initialization.
12964 (display-buffer-normalize-specifiers-2): Major rewrite using
12965 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12966 (pop-up-frames, display-buffer-reuse-frames)
12967 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12968 Suggested by David Engster <deng@randomsample.de>.
12969 (even-window-heights): Initialize to 'unset.
12970 (display-buffer-alist-set): Handle new 'unset initializations.
12971 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12972 other window case.
12973
12974 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12975
12976 * window.el (display-buffer-normalize-specifiers-1):
12977 Respect current value of pop-up-frames for most reasonable values of
12978 second argument of display-buffer (Bug#8865).
12979 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12980 (switch-to-buffer-other-window-same-frame)
12981 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12982 Adams (Bug#8875).
12983 (display-buffer): Don't check noninteractive when calling
12984 display-buffer-pop-up-frame.
12985 (display-buffer-pop-up-frame): Never pop up a frame in
12986 noninteractive mode (Bug#8857).
12987 (enlarge-window, shrink-window): Don't report an error when the
12988 window can't be resized as requested (Bug#8862).
12989
12990 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12991
12992 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12993
12994 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12995
12996 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12997
12998 2011-06-15 Alan Mackenzie <acm@muc.de>
12999
13000 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13001 for declarators, disable knr checking to speed up for normal files.
13002 2: Refactor, replacing a sequence of nested if forms by a cond form.
13003
13004 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13005
13006 * net/network-stream.el (open-network-stream): Add the keyword
13007 :always-query-capabilities for the case where you want to force a
13008 `plain' network connection, but the protocol still requires the
13009 capabilitiy command (i.e., SMTP and EHLO).
13010
13011 * subr.el (process-live-p): Rename from `process-alive-p' for
13012 consistency with other `-live-p' functions.
13013
13014 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * window.el (same-window-buffer-names, same-window-regexps)
13017 (special-display-frame-alist, special-display-popup-frame)
13018 (special-display-function, special-display-buffer-names)
13019 (special-display-regexps, pop-up-frame-alist)
13020 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13021 (pop-up-windows, split-window-preferred-function)
13022 (split-height-threshold, split-width-threshold, even-window-heights)
13023 (display-buffer-mark-dedicated): Don't encourage the use of
13024 display-buffer-alist from Elisp code.
13025
13026 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13027
13028 * progmodes/python.el (python-mode): Derive from prog-mode.
13029 * progmodes/ps-mode.el (ps-mode):
13030 * progmodes/mixal-mode.el (mixal-mode):
13031 * progmodes/cfengine.el (cfengine-mode):
13032 * progmodes/ld-script.el (ld-script-mode): Likewise.
13033
13034 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13035
13036 * window.el (display-buffer-alist): Trim default value to avoid
13037 popping up a new frame (Bug#8857) or reusing an arbitrary window
13038 on another frame.
13039 (display-buffer): Do not fall back on popping up a new frame in
13040 batch mode (Bug#8857).
13041
13042 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13043
13044 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13045 (custom-theme-summary): New function.
13046 (customize-themes): Use it.
13047
13048 2011-06-13 Glenn Morris <rgm@gnu.org>
13049
13050 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13051
13052 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13053
13054 * help.el (help-window): Remove variable.
13055 (help-window-point-marker, temp-buffer-max-height)
13056 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13057 (help-print-return-message): Don't set help-window.
13058 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13059 (help-window-setup-finish): Remove.
13060 (help-window-display-message, help-window-setup)
13061 (with-help-window): Major rewrite based on new
13062 display-buffer-window variable.
13063
13064 * help-mode.el (help-mode-finish): Remove help-window related
13065 code.
13066
13067 * view.el (view-exits-all-viewing-windows): Remove reference to
13068 view-return-to-alist in doc-string.
13069 (view-return-to-alist): Make obsolete.
13070 (view-buffer): Call pop-to-buffer-same-window and remove
13071 undo-window code.
13072 (view-buffer-other-window): Call pop-to-buffer-other-window and
13073 simplify code. Ignore second argument.
13074 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13075 simplify code. Ignore second argument.
13076 (view-return-to-alist-update): Make obsolete.
13077 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13078 Rewrite using quit-restore window parameters.
13079 (view-mode-exit): Rename second argument to EXIT-ONLY.
13080 Rewrite using quit-restore-window.
13081 (View-exit, View-exit-and-edit, View-leave, View-quit)
13082 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13083 appropriate arguments.
13084 (view-end-message): Use quit-restore window parameter.
13085
13086 * window.el (display-buffer-function): Rewrite doc-string.
13087 (display-buffer-window, display-buffer-alist): New variables.
13088 (display-buffer-split-specifiers)
13089 (display-buffer-side-specifiers)
13090 (display-buffer-macro-specifiers): New constants.
13091 (display-buffer-even-window-sizes, display-buffer-set-height)
13092 (display-buffer-set-width, display-buffer-select-window)
13093 (display-buffer-in-window, display-buffer-reuse-window)
13094 (display-buffer-split-window-1, display-buffer-split-window)
13095 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13096 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13097 (display-buffer-in-side-window, normalize-buffer-to-display)
13098 (display-buffer-normalize-specifiers-1)
13099 (display-buffer-normalize-specifiers-2)
13100 (display-buffer-normalize-specifiers, display-buffer-frame):
13101 New functions.
13102 (display-buffer): Major rewrite.
13103 (display-buffer-other-window, display-buffer-other-frame)
13104 (pop-to-buffer, switch-to-buffer-other-window)
13105 (switch-to-buffer-other-frame): Rewrite.
13106 (display-buffer-same-window, display-buffer-same-frame)
13107 (display-buffer-same-frame-other-window)
13108 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13109 (pop-to-buffer-other-window)
13110 (pop-to-buffer-same-frame-other-window)
13111 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13112 (switch-to-buffer-other-window-same-frame): New functions.
13113 (same-window-p, special-display-p): Rewrite disabling warnings.
13114 Make obsolete.
13115 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13116 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13117 Make obsolete
13118 (same-window-buffer-names, same-window-regexps)
13119 (special-display-frame-alist, special-display-popup-frame)
13120 (special-display-function, special-display-buffer-names)
13121 (special-display-regexps, pop-up-frame-alist)
13122 (pop-up-frame-function, split-window-preferred-function)
13123 (split-height-threshold, split-width-threshold)
13124 (even-window-heights): Make obsolete.
13125
13126 2011-06-12 Glenn Morris <rgm@gnu.org>
13127
13128 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13129 Misc simplifications.
13130
13131 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13132
13133 * window.el (window-safely-shrinkable-p): Restore function which
13134 was inadvertently removed in change from 2011-06-11. Declare as
13135 obsolete.
13136
13137 * calendar/calendar.el (calendar-generate-window):
13138 Use window-iso-combined-p instead of combination of one-window-p and
13139 window-safely-shrinkable-p.
13140
13141 2011-06-12 Glenn Morris <rgm@gnu.org>
13142
13143 * progmodes/fortran.el (fortran-mode-syntax-table):
13144 * progmodes/f90.el (f90-mode-syntax-table):
13145 Set % to punctuation. (Bug#8820)
13146 (f90-find-tag-default): Remove, no longer needed.
13147
13148 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13149
13150 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13151
13152 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13153
13154 * image.el (image-animated-p): Return animation delay in seconds.
13155 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13156 (image-animate-timeout): Remove DELAY argument. Don't assume
13157 every subimage has the same delay; get it from image-animated-p.
13158 (image-animate): Caller changed.
13159
13160 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13161
13162 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13163 to ignored backtrace functions.
13164
13165 2011-06-11 Glenn Morris <rgm@gnu.org>
13166
13167 * calendar/appt.el (appt-disp-window-function): Doc fix.
13168 (appt-check): Handle overlapping appointments. (Bug#8337)
13169
13170 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13171
13172 * window.el (window-tree-1, window-tree): New functions, moving
13173 the latter to window.el.
13174 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13175 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13176 (bw-refresh-edges): Remove.
13177 (balance-windows-1, balance-windows-2): New functions.
13178 (balance-windows): Rewrite in terms of window tree functions,
13179 balance-windows-1 and balance-windows-2.
13180 (bw-adjust-window): Remove.
13181 (balance-windows-area-adjust): New function with functionality of
13182 bw-adjust-window but using resize-window.
13183 (set-window-text-height): Rewrite doc-string.
13184 Use normalize-live-window and resize-window.
13185 (enlarge-window-horizontally, shrink-window-horizontally):
13186 Rename argument to DELTA.
13187 (window-buffer-height): New function.
13188 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13189 Rewrite using new window resize routines.
13190 (kill-buffer-and-window, mouse-autoselect-window-select):
13191 Use ignore-errors instead of condition-case.
13192 (quit-window): Call delete-frame instead of delete-windows-on
13193 for the only buffer on frame.
13194
13195 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13196
13197 * loadup.el (top-level): Load window before files for the sake
13198 of replace-buffer-in-windows.
13199
13200 * files.el (read-buffer-to-switch)
13201 (switch-to-buffer-other-window)
13202 (switch-to-buffer-other-frame, display-buffer-other-frame):
13203 Move to window.el.
13204
13205 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13206 (previous-buffer): Move to window.el.
13207
13208 * bindings.el (unbury-buffer): Move to window.el.
13209
13210 * window.el (delete-other-windows-vertically): Move after
13211 definition of delete-other-windows.
13212 (other-window, delete-windows-on, replace-buffer-in-windows):
13213 Move here from window.c.
13214 (record-window-buffer, unrecord-window-buffer)
13215 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13216 (switch-to-next-buffer): New functions.
13217 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13218 from simple.el. Call switch-to-next-buffer.
13219 (previous-buffer): Move here from simple.el.
13220 Call switch-to-prev-buffer.
13221 (bury-buffer): Move here from buffer.c. Switch to previous
13222 buffer when window cannot be deleted.
13223 (unbury-buffer): Move here from bindings.el.
13224 (ctl-x-map): Move binding for other-window from window.c to
13225 here.
13226 (read-buffer-to-switch, switch-to-buffer-other-window)
13227 (switch-to-buffer-other-frame): Move here from files.el.
13228 (normalize-buffer-to-switch-to): New functions.
13229 (switch-to-buffer): Move here from buffer.c.
13230 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13231
13232 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13233
13234 * window.el (window-min-height, window-min-width): Move here
13235 from window.c. Add defcustoms and rewrite doc-strings.
13236 (resize-mini-window, resize-window): New functions.
13237 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13238 Move here from window.c.
13239 (maximize-window, minimize-window): New functions.
13240 (delete-window, delete-other-windows, split-window): Move here
13241 from window.c.
13242 (window-split-min-size): New function.
13243 (split-window-keep-point): Mention split-window-above-each-other
13244 instead of split-window-vertically.
13245 (split-window-above-each-other, split-window-vertically):
13246 Rename split-window-vertically to split-window-above-each-other
13247 and provide defalias for old definition.
13248 (split-window-side-by-side, split-window-horizontally):
13249 Rename split-window-horizontally to split-window-side-by-side
13250 and provide defalias for the old definition.
13251 (ctl-x-map): Move bindings for delete-window,
13252 delete-other-windows and enlarge-window here from window.c.
13253 Replace bindings for split-window-vertically and
13254 split-window-horizontally by bindings for
13255 split-window-above-each-other and split-window-side-by-side.
13256
13257 * cus-start.el (all): Remove entries for window-min-height and
13258 window-min-width. Add entries for window-splits and
13259 window-nest.
13260
13261 2011-06-09 Glenn Morris <rgm@gnu.org>
13262
13263 * calendar/appt.el (appt-mode-line): New function.
13264 (appt-check, appt-disp-window): Use it.
13265
13266 * files.el (hack-one-local-variable-eval-safep):
13267 Allow minor-modes with explicit +/-1 arguments.
13268
13269 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13270
13271 * term/xterm.el (xterm): Add defgroup.
13272 (xterm-extra-capabilities): Add defcustom to supply known xterm
13273 capabilities, skip querying them, or query them (default).
13274 (terminal-init-xterm): Use it.
13275 (terminal-init-xterm-modify-other-keys): New function to set up
13276 modifyOtherKeys support to simplify `terminal-init-xterm'.
13277
13278 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13279
13280 * window.el (resize-window-reset, resize-window-reset-1)
13281 (resize-subwindows-skip-p, resize-subwindows-normal)
13282 (resize-subwindows, resize-other-windows, resize-this-window)
13283 (resize-root-window, resize-root-window-vertically)
13284 (window-deletable-p, window-or-subwindow-p)
13285 (frame-root-window-p): New functions.
13286
13287 2011-06-09 Glenn Morris <rgm@gnu.org>
13288
13289 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13290 (ange-ftp-get-files): Use it.
13291
13292 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13293
13294 * mail/sendmail.el (mail-recover-1, mail-recover):
13295 * files.el (recover-file, recover-session):
13296 Handle dired-listing-switches not being just a single short option.
13297
13298 2011-06-09 Glenn Morris <rgm@gnu.org>
13299
13300 * calendar/appt.el (appt-display-message, appt-disp-window):
13301 Handle lists of appointments.
13302
13303 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13304
13305 * window.el (one-window-p): Move down in code.
13306 Rewrite doc-string.
13307 (window-current-scroll-bars): Rewrite doc-string.
13308 Normalize live window argument.
13309 (walk-windows, get-window-with-predicate, count-windows):
13310 Rewrite doc-string. Use window-list-1.
13311 (window-in-direction-2, window-in-direction, get-mru-window):
13312 New functions.
13313
13314 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13315
13316 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13317 Doc fix (Bug#8713).
13318
13319 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13320
13321 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13322
13323 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13324
13325 * loadhist.el (unload-feature-special-hooks):
13326 Add `comint-output-filter-functions'.
13327
13328 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13329
13330 * calendar/appt.el (appt-check): Move some initializations into the let.
13331
13332 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13333
13334 * window.el (window-height): Defalias to window-total-height.
13335 (window-width): Defalias to window-body-width.
13336
13337 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13338
13339 * image-mode.el (image-toggle-animation): New command.
13340 (image-mode-map): Bind it to RET.
13341 (image-mode): Update message.
13342 (image-toggle-display-image): Avoid a spurious cache flush.
13343 (image-transform-rotation): Doc fix.
13344 (image-transform-properties): Return quickly in the normal case.
13345 (image-animate-loop): Rename from image-animate-max-time.
13346
13347 * image.el (image-animate-max-time): Move to image-mode.el.
13348 (create-animated-image): Remove unnecessary function.
13349 (image-animate): Rename from image-animate-start. New arg.
13350 (image-animate-stop): Remove; just use image-animate-timer.
13351 (image-animate-timer): Use car-safe.
13352 (image-animate-timeout): Rename argument.
13353
13354 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13355
13356 * window.el (get-lru-window, get-largest-window): Move here from
13357 window.c. Rename first argument to ALL-FRAMES.
13358 Rephrase doc-strings.
13359 (get-buffer-window-list): Rewrite using window-list-1.
13360 Rephrase doc-string.
13361 (window-safe-min-height, window-safe-min-width): New constants.
13362 (window-size-ignore, window-min-size, window-min-size-1)
13363 (window-sizable, window-sizable-p, window-size-fixed-1)
13364 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13365 (window-max-delta-1, window-max-delta, window-resizable)
13366 (window-resizable-p, window-total-height, window-total-width)
13367 (window-body-width): New functions.
13368 (window-full-height-p, window-full-width-p): Rewrite using
13369 window-total-size.
13370 (window-body-height): Rewrite using window-body-size.
13371
13372 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13373
13374 * window.el (window-right, window-left, window-child)
13375 (window-child-count, window-last-child, window-any-p)
13376 (normalize-live-buffer, normalize-live-frame)
13377 (normalize-any-window, normalize-live-window)
13378 (window-iso-combination-p, window-iso-combined-p)
13379 (window-iso-combinations)
13380 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13381 (windows-with-parameter, window-with-parameter)
13382 (window-atom-root, make-window-atom, window-atom-check-1)
13383 (window-atom-check, window-side-check, window-check):
13384 New functions.
13385 (ignore-window-parameters, window-sides, window-sides-vertical)
13386 (window-sides-slots): New variables.
13387 (window-size-fixed): Move down in code. Minor doc-string fix.
13388
13389 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13390
13391 * comint.el (comint-dynamic-complete-as-filename)
13392 (comint-dynamic-complete-filename): Correctly call
13393 completion-in-region.
13394
13395 2011-06-05 Deniz Dogan <deniz@dogan.se>
13396
13397 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13398 in last change.
13399
13400 2011-06-05 Deniz Dogan <deniz@dogan.se>
13401
13402 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13403 (rcirc): Use it to prompt for encryption.
13404
13405 2011-06-05 Roland Winkler <winkler@gnu.org>
13406
13407 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13408 (bibtex-search-entries): New command bound to C-c C-a.
13409 (bibtex-display-entries): New function.
13410
13411 2011-06-05 Roland Winkler <winkler@gnu.org>
13412
13413 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13414 (bibtex-insert-kill): After yanking insert newline if necessary.
13415 (bibtex-initialize): Call bibtex-string-files-init only once.
13416 (bibtex-mode): Do not call easy-menu-add.
13417 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13418 (bibtex-yank): Set arg properly if nil.
13419
13420 2011-06-05 Roland Winkler <winkler@gnu.org>
13421
13422 * textmodes/bibtex.el (bibtex-search-entry-globally):
13423 New variable.
13424 (bibtex-search-entry): Use it.
13425
13426 2011-06-05 Roland Winkler <winkler@gnu.org>
13427
13428 * textmodes/bibtex.el (bibtex-entry-format): New option
13429 sort-fields.
13430 (bibtex-format-entry, bibtex-reformat): Honor this option.
13431 (bibtex-parse-entry): Return fields in proper order.
13432
13433 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13434
13435 * doc-view.el (doc-view-remove-if): Move computation of result out
13436 of `dolist' to silence misleading lexical-binding warning.
13437
13438 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13439
13440 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13441 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13442
13443 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13444
13445 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13446 "SunOS 5.10".
13447
13448 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13449
13450 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13451 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13452 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13453 (tramp-parse-putty):
13454 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13455 (tramp-completion-function-alist-ssh)
13456 (tramp-completion-function-alist-telnet)
13457 (tramp-completion-function-alist-su)
13458 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13459 cookie.
13460
13461 * net/tramp-ftp.el:
13462 * net/tramp-sh.el:
13463 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13464 load "tramp.el" `tramp-set-completion-function'.
13465
13466 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * shell.el: Require and use pcomplete.
13469 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13470 (shell-completion-vars): Set pcomplete-default-completion-function.
13471
13472 2011-06-04 Deniz Dogan <deniz@dogan.se>
13473
13474 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13475 `memq' (Bug#8799).
13476
13477 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13478
13479 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13480
13481 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13482
13483 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13484 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13485 * vc/log-view.el (log-view-beginning-of-defun):
13486 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13487 (smerge-refine-forward, smerge-refine-chopup-region):
13488 Silence warning for unused `dotimes' counter variables.
13489
13490 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13491
13492 * net/tramp.el (tramp-with-progress-reporter): Rename from
13493 with-progress-reporter. Use `declare'.
13494 * net/tramp-smb.el:
13495 * net/tramp-sh.el:
13496 * net/tramp-gvfs.el: Update all uses.
13497
13498 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13499
13500 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13501 buffer isn't killed before making it current.
13502
13503 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13504
13505 Silence various byte-compiler warnings.
13506 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13507 `access-type' and new obsolescence format.
13508 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13509 new format.
13510 (byte-compile-check-variable): New `access-type' argument.
13511 Only warn if the access-type is obsolete.
13512 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13513 (byte-compile-variable-set): Adjust callers.
13514 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13515 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13516 setting it as obsolete.
13517 * simple.el (minibuffer-completing-symbol):
13518 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13519 access as obsolete.
13520 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13521 obsolete yet.
13522 * international/quail.el (quail-mouse-choose-completion): Remove unused
13523 code referring to obsolete var.
13524 (quail-choose-completion-string): Remove.
13525 * server.el (server-clients-with, server-kill-buffer-query-function)
13526 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13527 * proced.el (proced-send-signal):
13528 * emacs-lisp/lisp.el (lisp-complete-symbol):
13529 Replace completion-annotate-function with completion-extra-properties.
13530
13531 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13532
13533 * simple.el (goto-line): Use read-number.
13534 (overriding-map-is-bound): Remove.
13535 (saved-overriding-map): Change default.
13536 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13537 Take the map as argument.
13538 (universal-argument, negative-argument, digit-argument): Use it.
13539 (restore-overriding-map): Adjust.
13540 (do-auto-fill): Use fill-forward-paragraph.
13541 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13542
13543 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13544 (minibuffer-inactive-mode): New major mode.
13545 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13546 the *Messages* buffer" hack.
13547 (mouse-popup-menubar): Don't burp if the event is a normal key.
13548
13549 Miscellaneous tweaks.
13550 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13551 lexical scoping as in subr.el's dolist and dotimes.
13552 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13553 Silence compiler warning.
13554 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13555 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13556 * international/ccl.el (ccl-compile): Trivial simplification.
13557 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13558 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13559 `printflag' argument.
13560 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13561 Purecopy the whole obsolescence data.
13562
13563 2011-06-01 Leo Liu <sdl.web@gmail.com>
13564
13565 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13566 improve doc-string as suggested by Marco Pessotto
13567 <melmothx@gmail.com>.
13568 (rcirc-print): Fix last change.
13569
13570 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13571
13572 * minibuffer.el (complete-with-action): Return nil for the metadata and
13573 boundaries of non-functional tables.
13574 (completion-table-dynamic): Return nil for the metadata.
13575 (completion-table-with-terminator): Add default case, using
13576 complete-with-action.
13577 (completion--metadata): New function.
13578 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13579 to try and avoid pathological performance problems.
13580 (completion--embedded-envvar-table): Return `category' metadata.
13581
13582 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13583
13584 * subr.el (process-alive-p): New tiny convenience function.
13585
13586 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13589 content but also its previous major mode.
13590
13591 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
13592
13593 * emacs-lisp/debug.el (debug): Restore the previous content of the
13594 *Backtrace* buffer when we exit with C-M-c.
13595
13596 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13597
13598 * minibuffer.el: Add metadata method to completion tables.
13599 (completion-category-overrides): New defcustom.
13600 (completion-metadata, completion--field-metadata)
13601 (completion-metadata-get, completion--styles)
13602 (completion--cycle-threshold): New functions.
13603 (completion-try-completion, completion-all-completions):
13604 Add `metadata' argument to choose completion-styles.
13605 (completion--do-completion): Use metadata to choose cycling.
13606 (completion-all-sorted-completions): Use metadata for sorting.
13607 Remove :completion-cycle-penalty which is not needed any more.
13608 (completion--try-word-completion): Add `metadata' argument.
13609 (minibuffer-completion-help): Check metadata for annotation function
13610 and sorting.
13611 (completion-file-name-table): Return `category' metadata.
13612 (minibuffer-completing-file-name): Make obsolete.
13613 * simple.el (minibuffer-completing-symbol): Make obsolete.
13614 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13615 completion-try-completion.
13616
13617 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13620
13621 2011-05-30 Leo Liu <sdl.web@gmail.com>
13622
13623 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13624 (rcirc-print): Decode all incoming messages (bug#8744).
13625 (rcirc-decode-coding-system): Allow value nil for automatic coding
13626 system detection.
13627
13628 2011-06-01 Glenn Morris <rgm@gnu.org>
13629
13630 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13631
13632 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13633
13634 * image.el (image-animate-max-time): Allow nil and t values.
13635 Default to nil.
13636 (create-animated-image): Doc fix.
13637 (image-animate-start): Remove second arg; just use
13638 image-animate-max-time.
13639 (image-animate-timeout): Doc fix. Args changed.
13640
13641 * image-mode.el (image-toggle-display-image): Ensure that the
13642 image spec passed to the animate timer is the same object as in
13643 the buffer's display property (Bug#6981).
13644 (image-transform-properties): Doc fix.
13645
13646 * image.el (image-animate-max-time): Default to nil.
13647
13648 2011-05-29 Martin Rudalics <rudalics@gmx.at>
13649
13650 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13651 entire buffer list (Bug#8184).
13652
13653 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13654
13655 * image.el (imagemagick-types-inhibit)
13656 (imagemagick-register-types): Doc fix.
13657
13658 2011-05-29 Deniz Dogan <deniz@dogan.se>
13659
13660 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13661 default.
13662
13663 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13664
13665 * select.el: Don't perform clipboard-manager saving in hooks;
13666 leave the hooks empty.
13667
13668 2011-05-28 Leo Liu <sdl.web@gmail.com>
13669
13670 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13671 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13672 (occur-edit-mode): New major mode (Bug#8463).
13673 (occur-after-change-function): New function.
13674 (occur-engine): Give Occur tags a read-only property.
13675
13676 2011-05-28 Kevin Ryde <user42@zip.com.au>
13677
13678 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13679
13680 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13681
13682 * bindings.el (help-echo): Make the initial non-indicator dash
13683 empty on graphical terminals (Bug#7295).
13684
13685 * files.el (auto-mode-alist): Move config rule after the
13686 in-stripping one (Bug#8547).
13687
13688 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13689
13690 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13691 setting (Bug#8740).
13692
13693 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13694
13695 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13696 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13697 (Bug#8539).
13698
13699 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13700
13701 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13702
13703 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13704
13705 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13706 (hs-hide-block-at-point, hs-find-block-beginning)
13707 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13708 (Bug#8279).
13709
13710 2011-05-28 Glenn Morris <rgm@gnu.org>
13711
13712 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13713
13714 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13715
13716 * help-fns.el (describe-function-1): If the function is a derived
13717 major mode, print the parent mode.
13718
13719 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13720 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13721
13722 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * minibuffer.el (completion--capf-wrapper): Check applicability before
13725 returning non-nil for non-exclusive completion data.
13726 * progmodes/etags.el (tags-completion-at-point-function):
13727 * info-look.el (info-lookup-completions-at-point): Mark as
13728 non-exclusive.
13729 (info-complete): Adjust accordingly.
13730
13731 * info-look.el: Convert to lexical-binding and completion-at-point.
13732 (info-lookup-completions-at-point): New function.
13733 (info-complete): Use it and completion-in-region.
13734
13735 2011-05-28 Drew Adams <drew.adams@oracle.com>
13736
13737 * isearch.el: Let M-e start with point at the first mismatched char.
13738 (isearch-fail-pos): New function.
13739 (isearch-edit-string): Use it.
13740
13741 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13742
13743 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13744
13745 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13746
13747 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13748 traversal functions for avl-trees.
13749 (avl-tree--stack): New struct.
13750 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13751 (avl-tree-enter): Add optional `updatefun' arg.
13752 (avl-tree--do-enter): Add optional `updatefun' arg.
13753 Change return value.
13754 (avl-tree-delete): Add optional `test' and `nilflag' args.
13755 (avl-tree--do-delete): Add `test' and `nilflag' args.
13756 Change return value.
13757 (avl-tree-member): Add optional `nilflag'
13758 (avl-tree-member-p): New function.
13759 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13760 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13761 (avl-tree-stack-empty-p): New functions.
13762
13763 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13764 avl-tree--del-balance1 and make it work both ways.
13765 (avl-tree--del-balance2): Remove.
13766 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13767 make it work both ways.
13768 (avl-tree--enter-balance2): Remove.
13769 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13770 New macros.
13771 (avl-tree--mapc, avl-tree-map): Add direction argument.
13772
13773 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13774
13775 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13776
13777 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13778
13779 * select.el: Support clipboard managers with built-in function
13780 x-clipboard-manager-save, via delete-frame-functions and
13781 kill-emacs-hook.
13782 (xselect-convert-to-targets): Add MULTIPLE target to list.
13783 (xselect-convert-to-save-targets): New function.
13784
13785 2011-05-27 Kenichi Handa <handa@m17n.org>
13786
13787 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13788 let-binding rfc2047-encode-encoded-words to nil.
13789
13790 2011-05-27 Glenn Morris <rgm@gnu.org>
13791
13792 * mail/emacsbug.el: Don't require url-util.
13793
13794 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13795
13796 * files.el (set-auto-mode):
13797 Also respect mode: entries at the end of the file. (Bug#8586)
13798
13799 2011-05-26 Glenn Morris <rgm@gnu.org>
13800
13801 * files.el (hack-local-variables-prop-line, hack-local-variables):
13802 Downcase mode names, as seems to be traditional.
13803 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13804
13805 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13806 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13807
13808 2011-05-25 Julien Danjou <julien@danjou.info>
13809
13810 * textmodes/rst.el (rst-define-level-faces): Do not define face
13811 symbol if it is already defined.
13812
13813 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13814
13815 * play/5x5.el (5x5-new-game, 5x5-randomize):
13816 Reset 5x5-solver-output to nil when a new grid is cast.
13817 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13818 these debugging traces, as defmacro breaks the compiled code.
13819
13820 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13821
13822 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13823
13824 2011-05-24 Leo Liu <sdl.web@gmail.com>
13825
13826 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13827 (vc-bzr-sha1): Adapt.
13828
13829 * sha1.el: Remove. Function `sha1' is now builtin.
13830
13831 * bindings.el: Provide sha1 feature.
13832
13833 2011-05-24 Kenichi Handa <handa@m17n.org>
13834
13835 * mail/sendmail.el: Require `rfc2047'.
13836 (mail-insert-from-field): Do not perform RFC2047 encoding.
13837 (mail-encode-header): New function.
13838 (sendmail-send-it): Set buffer-file-coding-system of the work
13839 buffer to the return value of select-message-coding-system.
13840 Call mail-encode-header.
13841
13842 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13843
13844 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
13845
13846 * mail/supercite.el (sc-default-cite-frame):
13847 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13848
13849 2011-05-24 Glenn Morris <rgm@gnu.org>
13850
13851 * progmodes/python.el (brm-menu): Declare.
13852
13853 * emulation/viper.el (viper-set-hooks): Declare.
13854
13855 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13856 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13857 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13858 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13859 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13860 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13861
13862 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13863
13864 Add an :exit-function for completion-at-point.
13865
13866 * minibuffer.el (completion--done): New fun.
13867 (completion--do-completion): Use it. New arg `expect-exact'.
13868 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13869 since completion--do-completion does it for us now.
13870 (minibuffer-force-complete): Use completion--done and
13871 completion--replace. Handle sole-completion case with more care.
13872 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13873 (completion-extra-properties): New var.
13874 (completion-annotate-function): Make obsolete.
13875 (minibuffer-completion-help): Adjust accordingly.
13876 Use completion-list-insert-choice-function.
13877 (completion-at-point, completion-help-at-point):
13878 Bind completion-extra-properties.
13879 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13880 * simple.el (completion-list-insert-choice-function): New var.
13881 (completion-setup-function): Preserve it.
13882 (choose-completion): Pay attention to it, shuffle the code a bit.
13883 (choose-completion-string): New arg `insert-function'.
13884
13885 * textmodes/bibtex.el: Convert to lexical binding.
13886 (bibtex-mode-map): Use completion-at-point.
13887 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13888 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13889 (bibtex-complete): Define as obsolete alias.
13890 (bibtex-complete-internal): Remove.
13891 (bibtex-format-entry): Remove unused sub-group in regexp.
13892 * shell.el (shell--command-completion-data)
13893 (shell-environment-variable-completion):
13894 * pcomplete.el (pcomplete-completions-at-point):
13895 * comint.el (comint--complete-file-name-data): Use :exit-function
13896 instead of completion-table-with-terminator so it also works for
13897 choose-completion.
13898
13899 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13900
13901 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13902
13903 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13904 (bug#8710).
13905
13906 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13907
13908 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13909
13910 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13911 customization variable and implement: If non-nil, auto-fill will
13912 be inhibited while on topic's header line.
13913
13914 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13915
13916 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13917 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13918 always have a solution in grid size = 5 cases.
13919 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13920 (5x5-solver-output, 5x5-log-buffer): New vars.
13921 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13922 Make these variables buffer local to achieve 5x5 multi-session-ness.
13923 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13924 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13925 (5x5-solve-suggest): New funs.
13926 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13927 randomize a grid so that we ensure that there is always a solution.
13928 (5x5-make-random-grid): Allow other movement than flipping.
13929
13930 2011-05-23 Kevin Ryde <user42@zip.com.au>
13931
13932 * emacs-lisp/advice.el (ad-read-advised-function):
13933 Use `function-called-at-point' as the default, if it has
13934 advice and passes PREDICATE.
13935
13936 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13937
13938 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13939 byte-compile-lambda if it's actually a lambda.
13940
13941 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13942 Fix function quoting. Use backquote better.
13943
13944 2011-05-22 Yuanle Song <sylecn@gmail.com>
13945
13946 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13947 matching (Bug#8516).
13948
13949 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13950
13951 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13952 different face (Bug#8178).
13953
13954 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13955
13956 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13957 defface (Bug#8144).
13958
13959 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13960
13961 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13962 funcall as well (bug#8712). Warn when performing those conversions.
13963 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13964
13965 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13966
13967 2011-05-22 Glenn Morris <rgm@gnu.org>
13968
13969 * files.el (hack-local-variables-prop-line): Small simplifications.
13970 (hack-local-variables, hack-local-variables-prop-line):
13971 If MODE-ONLY, return the mode, rather than just `t'.
13972
13973 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13974
13975 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13976
13977 2011-05-21 Glenn Morris <rgm@gnu.org>
13978
13979 * files.el (hack-local-variables-prop-line, hack-local-variables):
13980 If only interested in the mode, don't bother doing the other stuff.
13981
13982 * image-mode.el (image-after-revert-hook):
13983 Redraw all frames on which the image is visible. (Bug#8567)
13984
13985 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13986
13987 * wid-edit.el (widget-checklist-match-inline):
13988 Fix 2011-04-19 change. (Bug#8649)
13989
13990 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13991
13992 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13993 Also allow singlespace after single-letter capitals followed by a dot.
13994
13995 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13996 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13997
13998 2011-05-20 Nix <nix@esperi.org.uk>
13999
14000 * files.el (basic-save-buffer-2):
14001 Fix handling of break-hardlink-on-save with non-existent files.
14002
14003 2011-05-19 Deniz Dogan <deniz@dogan.se>
14004
14005 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14006 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14007
14008 2011-05-19 Glenn Morris <rgm@gnu.org>
14009
14010 * progmodes/f90.el (f90-type-def-re):
14011 Handle "type, bind(c)". (Bug#8691)
14012
14013 * emacs-lisp/autoload.el (batch-update-autoloads):
14014 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14015
14016 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14017
14018 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14019 property for the correct connection in case of multihops.
14020
14021 2011-05-18 Glenn Morris <rgm@gnu.org>
14022
14023 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14024 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14025
14026 Rationalize calendar handling of day and month abbrev-arrays.
14027 * calendar/calendar.el (calendar-customized-p): New function.
14028 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14029 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14030 Add :set function.
14031 (calendar-abbrev-length, calendar-day-abbrev-array)
14032 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14033 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14034 Elements may no longer be nil.
14035 (calendar-day-name, calendar-month-name):
14036 Update for changed nature of abbrev arrays.
14037 * calendar/diary-lib.el (diary-name-pattern):
14038 Update for changed nature of abbrev arrays.
14039 (diary-mark-entries-1): Update calendar-make-alist calls.
14040 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14041 * calendar/cal-html.el (cal-html-day-abbrev-array):
14042 Simply inherit from calendar-day-abbrev-array.
14043
14044 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14045
14046 * progmodes/grep.el (grep-mode): Disable default
14047 compilation-directory-matcher setting (bug#8684).
14048
14049 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14050
14051 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14052 instead of "head" and "tail". There were problems with SunOS 5.9,
14053 and it performs better.
14054
14055 2011-05-17 Glenn Morris <rgm@gnu.org>
14056
14057 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14058
14059 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14060 Replace obsolete function.
14061
14062 * shell.el (pcomplete-parse-arguments-function): Declare.
14063
14064 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14065 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14066 (appt-check): Doc fixes.
14067 (appt-disp-window-function, appt-delete-window-function):
14068 Remove needless special case in custom :type.
14069 (appt-display-count): Default to 0, not nil.
14070 (appt-check): Reset appt-display-count to 0, not nil.
14071
14072 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14073
14074 * progmodes/python.el (python-font-lock-keywords):
14075 Add the Python 3.X keyword "nonlocal" (bug#8639).
14076
14077 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14078
14079 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14080
14081 2011-05-16 Kevin Ryde <user42@zip.com.au>
14082
14083 * info-look.el (makefile-automake-mode): New setups, looking in
14084 automake manual, then makefile-mode.
14085 (makefile-mode): Remove automake manual, have it just in
14086 makefile-automake-mode since there's various things different or
14087 not relevant to plain make.
14088 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14089 believe a hypothetical automake-mode would go to makefile-mode,
14090 not the other way around.
14091
14092 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14093
14094 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14095 hunk-end tags (Bug#8672).
14096
14097 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14098 vc-annotate-show-diff-revision-at-line (Bug#8671).
14099
14100 2011-05-14 Glenn Morris <rgm@gnu.org>
14101
14102 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14103 in the middle of an existing one with multiple authors. (Bug#8645)
14104 (change-log-font-lock-keywords): Also handle multiple author lines
14105 with leading tabs. (Bug#8644)
14106
14107 * calendar/appt.el (appt-check): Rename some local variables.
14108 Some simplification/reordering.
14109
14110 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14111 (feedmail-sendmail-f-doesnt-sell-me-out)
14112 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14113 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14114 (feedmail-queue-runner-message-sender): Set :version.
14115 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14116 (bbdb-dwim-net-address, vm-mail): Declare.
14117 (feedmail-binmail-gnulinuxish-template):
14118 Rename from feedmail-binmail-linuxish-template.
14119 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14120 Use insert-buffer-substring.
14121
14122 2011-05-14 Bill Carpenter <bill@carpenter.org>
14123
14124 * mail/feedmail.el (feedmail-patch-level): Increase.
14125 (feedmail-debug): New custom group.
14126 (feedmail-confirm-outgoing-timeout)
14127 (feedmail-sendmail-f-doesnt-sell-me-out)
14128 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14129 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14130 (feedmail-sender-line, feedmail-from-line)
14131 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14132 (feedmail-spray-this-address)
14133 (feedmail-spray-address-fiddle-plex-list)
14134 (feedmail-queue-use-send-time-for-date)
14135 (feedmail-queue-use-send-time-for-message-id)
14136 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14137 (feedmail-buffer-eating-function):
14138 Doc fixes.
14139 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14140 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14141 (feedmail-message-action-scroll-down): New functions.
14142 (feedmail-queue-directory, feedmail-queue-draft-directory):
14143 Use expand-file-name.
14144 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14145 Remove C-v help entry.
14146 (feedmail-queue-buffer-file-name): New variable.
14147 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14148 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14149 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14150 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14151 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14152 (feedmail-message-action-toggle-spray)
14153 (feedmail-run-the-queue-no-prompts)
14154 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14155 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14156 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14157 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14158 (feedmail-envelope-deducer, feedmail-fiddle-from)
14159 (feedmail-fiddle-sender, feedmail-default-date-generator)
14160 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14161 (feedmail-fiddle-spray-address)
14162 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14163 (feedmail-fiddle-list-of-fiddle-plexes)
14164 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14165 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14166 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14167 Change default. Doc fix.
14168 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14169 (feedmail-binmail-linuxish-template): New constant.
14170 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14171 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14172 (feedmail-send-it): Add debug call.
14173 Use feedmail-queue-buffer-file-name, and
14174 feedmail-send-it-immediately-wrapper.
14175 (feedmail-message-action-send): Add debug call.
14176 Use feedmail-send-it-immediately-wrapper.
14177 (feedmail-queue-express-to-queue): Add debug call.
14178 Run feedmail-queue-express-hook.
14179 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14180 (feedmail-message-action-help-blat):
14181 Rename from feedmail-queue-send-edit-prompt-help-first.
14182 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14183 Check line-endings. Handle errors better.
14184 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14185 Doc fix. Add debug call.
14186 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14187 Use feedmail-queue-send-edit-prompt-inner.
14188 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14189 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14190 from feedmail-queue-send-edit-prompt.
14191 (feedmail-queue-send-edit-prompt-help)
14192 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14193 (feedmail-tidy-up-slug): Add debug call.
14194 Respect feedmail-queue-slug-suspect-regexp.
14195 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14196 (feedmail-dump-message-to-queue): Add debug call.
14197 Expand queue-directory.
14198 (feedmail-dump-message-to-queue): Change message slightly.
14199 Use feedmail-say-chatter.
14200 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14201 (feedmail-send-it-immediately-wrapper): New function.
14202 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14203 Insert empty string rather than newline. Handle full-frame case.
14204 Use catch/throw. Use feedmail-say-chatter.
14205 (feedmail-fiddle-from): Try mail-host-address.
14206 (feedmail-default-message-id-generator): Doc fix.
14207 Bind system-time-locale. Handle missing end.
14208 (feedmail-fiddle-x-mailer): Add debug call.
14209 Handle feedmail-x-mailer-line being nil.
14210 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14211 Add debug call. Use buffer-substring-no-properties.
14212 (feedmail-say-debug, feedmail-say-chatter): New functions.
14213 (feedmail-find-eoh): Give an explicit error.
14214
14215 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14216
14217 * net/newst-treeview.el (newsticker-treeview-face): Change default
14218 family from helvetica to sans.
14219 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14220 etc/images/newsticker.
14221
14222 * net/newst-reader.el (newsticker-feed-face): Change default
14223 family from helvetica to sans.
14224
14225 * net/newst-plainview.el (newsticker-new-item-face)
14226 (newsticker-old-item-face, newsticker-immortal-item-face)
14227 (newsticker-obsolete-item-face, newsticker-date-face)
14228 (newsticker-statistics-face): Change default family from
14229 helvetica to sans.
14230 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14231 etc/images/newsticker.
14232
14233 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14234 (newsticker--process-auto-mark-filter-match): Tell user about
14235 auto-marking.
14236
14237 2011-05-13 Didier Verna <didier@xemacs.org>
14238
14239 Common Lisp indentation improvements on defmethod and lambda-lists.
14240 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14241 TODO entries.
14242 (lisp-lambda-list-keyword-parameter-indentation)
14243 (lisp-lambda-list-keyword-parameter-alignment)
14244 (lisp-lambda-list-keyword-alignment): New customizable user options.
14245 (lisp-indent-defun-method): Improve docstring.
14246 (extended-loop-p): Fix comment.
14247 (lisp-indent-lambda-list-keywords-regexp): New variable.
14248 (lisp-indent-lambda-list): New function.
14249 (lisp-indent-259): Use it.
14250 (lisp-indent-defmethod): Support for more than one
14251 method qualifier and properly indent methods lambda-lists.
14252 (defgeneric): Provide a missing common-lisp-indent-function property.
14253
14254 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14255
14256 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14257 bounds for the empty string (bug#8667).
14258
14259 2011-05-13 Glenn Morris <rgm@gnu.org>
14260
14261 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14262
14263 * mail/sendmail.el (sendmail-program): Try executable-find first.
14264 (sendmail-send-it): `sendmail-program' cannot be unbound.
14265
14266 * calendar/appt.el (appt-make-list): Simplify.
14267 (appt-time-msg-list): Doc fix.
14268 (appt-check): Change mode-line message at the time of the appointment.
14269
14270 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14271
14272 * progmodes/ld-script.el (ld-script-keywords)
14273 (ld-script-builtins): Update keywords list.
14274
14275 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14276
14277 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14278
14279 * shell.el (shell-completion-vars): New function.
14280 (shell-mode):
14281 * simple.el (read-shell-command): Use it.
14282 (blink-matching-open): No need for " [...]" in minibuffer-message.
14283
14284 2011-05-12 Glenn Morris <rgm@gnu.org>
14285
14286 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14287 (appt-check): Simplify.
14288
14289 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14290
14291 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14292 literal "/dev/null".
14293
14294 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14297 Fix typo.
14298
14299 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14300
14301 * progmodes/which-func.el (which-function):
14302 Use add-log-current-defun instead of add-log-current-defun-function,
14303 which might not be defined (Bug#8260).
14304
14305 2011-05-12 Glenn Morris <rgm@gnu.org>
14306
14307 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14308 Let byte-compile-initial-macro-environment always take precedence.
14309
14310 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14311
14312 * net/rcirc.el: Add support for SSL/TLS connections.
14313 (rcirc-server-alist): New field `encryption'.
14314 (rcirc): Check `encryption' settings.
14315 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14316 Merge make-local-variable into `set'.
14317 (rcirc--connection-open-p): New function.
14318 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14319 the process is not a network process (e.g. running gnutls-cli).
14320 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14321 Make rcirc-(en|de)code-coding-system local here.
14322 (rcirc-mode): Merge make-local-variable into `set'.
14323 (rcirc-parent-buffer): Make permanent buffer-local.
14324 (rcirc-multiline-minor-mode): Don't do it here.
14325 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14326 there's no server buffer.
14327
14328 2011-05-11 Glenn Morris <rgm@gnu.org>
14329
14330 * newcomment.el (comment-kill): Prefix "unused" local.
14331
14332 * term/w32console.el (get-screen-color): Declare.
14333
14334 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14335 Handle symbol elements of byte-compile-initial-macro-environment.
14336
14337 2011-05-10 Leo Liu <sdl.web@gmail.com>
14338
14339 * bookmark.el (bookmark-bmenu-mode-map):
14340 Bind bookmark-bmenu-search to `/'.
14341
14342 * mail/footnote.el: Convert to utf-8 encoding.
14343 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14344 (Footnote-unicode): New function.
14345 (footnote-style-alist): Add unicode style to the list.
14346 (footnote-style): Doc fix.
14347
14348 2011-05-10 Jim Meyering <meyering@redhat.com>
14349
14350 Fix doubled-word typos.
14351 * international/quail.el (quail-insert-kbd-layout): and and -> and
14352 * kermit.el: and and -> and
14353 * net/ldap.el (ldap-search-internal): to to -> to
14354 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14355 * progmodes/js.el (js-mode): and and -> and
14356 * textmodes/artist.el (artist-move-to-xy): at at -> at
14357 (artist-draw-region-trim-line-endings): if if -> if
14358 And Safetyc -> Safety.
14359 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14360
14361 2011-05-10 Glenn Morris <rgm@gnu.org>
14362 Stefan Monnier <monnier@iro.umontreal.ca>
14363
14364 * files.el (hack-one-local-variable-eval-safep):
14365 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14366
14367 2011-05-10 Glenn Morris <rgm@gnu.org>
14368
14369 * calendar/diary-lib.el (diary-list-entries-hook)
14370 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14371 (diary-nongregorian-marking-hook, diary-list-entries)
14372 (diary-include-other-diary-files, diary-mark-entries)
14373 (diary-mark-included-diary-files): Doc fixes.
14374
14375 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14376
14377 * misc.el: Require tabulated-list.el during compilation.
14378
14379 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14380
14381 * progmodes/compile.el (compilation-start):
14382 Run compilation-filter-hook for the async case too.
14383 (compilation-filter-hook): Doc fix.
14384
14385 2011-05-09 Deniz Dogan <deniz@dogan.se>
14386
14387 * wdired.el: Remove outdated installation comment. Fix usage
14388 comment.
14389
14390 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14391
14392 * misc.el: Implement new command `list-dynamic-libraries'.
14393 (list-dynamic-libraries--loaded-only-p): New variable.
14394 (list-dynamic-libraries--refresh): New function.
14395 (list-dynamic-libraries): New command.
14396
14397 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14398
14399 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14400 Fix the ant regexp to handle end-line and end-column info from jikes.
14401 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14402 higher priority to avoid clobbering by gnu.
14403
14404 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14405
14406 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14407 if the face has existing theme settings (Bug#8454).
14408
14409 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14410
14411 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14412 Only match variables declared via `my' or `our' (Bug#8261).
14413
14414 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14415 special file names `.' and `..' (Bug#8259).
14416
14417 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14418
14419 * progmodes/grep.el (grep-mode-font-lock-keywords):
14420 Remove buffer-changing entries.
14421 (grep-filter): New function.
14422 (grep-mode): Add it to compilation-filter-hook.
14423
14424 * progmodes/compile.el (compilation-filter-hook)
14425 (compilation-filter-start): New defvars.
14426 (compilation-filter): Call compilation-filter-hook prior to
14427 updating the process mark.
14428
14429 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14430
14431 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14432
14433 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14434
14435 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14436 mailclient-send-it even if window-system is nil. (Bug#8595)
14437
14438 * term/w32console.el (terminal-init-w32console):
14439 Call get-screen-color and use its output to set the frame
14440 background-mode. (Bug#8597)
14441
14442 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14443
14444 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14445 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14446 New functions.
14447 (defgeneric, eieio--defmethod): Use them.
14448 (eieio-defgeneric): Remove.
14449 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14450
14451 2011-05-07 Glenn Morris <rgm@gnu.org>
14452
14453 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14454 Use let rather than let*.
14455 (timeclock-find-discrep): Remove unused local.
14456
14457 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14458
14459 * calendar/appt.el (appt-time-msg-list): Doc fix.
14460
14461 2011-05-06 Noah Friedman <friedman@splode.com>
14462
14463 * apropos.el (apropos-print-doc): Only use
14464 emacs-lisp-docstring-fill-column when it is bound to an integer,
14465 per that variable's documentation.
14466
14467 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14468
14469 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14470 and warnings are not silently discarded (e.g. use -d instead of -P).
14471
14472 2011-05-06 Glenn Morris <rgm@gnu.org>
14473
14474 * calendar/appt.el (appt-message-warning-time): Doc fix.
14475 (appt-warning-time-regexp): New option.
14476 (appt-make-list): Respect appt-message-warning-time.
14477
14478 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14479 New options.
14480 (diary-add-to-list): Strip comments from the displayed string.
14481 (diary-mode): Set comment-start and comment-end.
14482
14483 * vc/diff-mode.el (smerge-refine-subst): Declare.
14484 (diff-refine-hunk): Don't require smerge-mode when compiling.
14485
14486 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14487
14488 * simple.el (list-processes): Return nil as the docstring says.
14489
14490 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14491
14492 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14493 to "".
14494 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14495 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14496 determining of binary transfer. (Bug#7383)
14497
14498 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14499
14500 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14501 Fix port computation bug. (Bug#8618)
14502
14503 2011-05-05 Glenn Morris <rgm@gnu.org>
14504
14505 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14506
14507 * simple.el (shell-dynamic-complete-functions)
14508 (comint-dynamic-complete-functions): Declare.
14509
14510 * net/network-stream.el (gnutls-negotiate):
14511 * simple.el (tabulated-list-print): Fix declarations.
14512
14513 * progmodes/gud.el (syntax-symbol, syntax-point):
14514 Remove unnecessary and incorrect declarations.
14515
14516 * emacs-lisp/check-declare.el (check-declare-scan):
14517 Handle byte-compile-initial-macro-environment in bytecomp.el
14518
14519 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14520
14521 Fix earlier half-done eieio-defmethod change (bug#8338).
14522 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14523 Streamline and change calling convention.
14524 (defmethod): Adjust accordingly and simplify.
14525 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14526 new eieio--defmethod.
14527 (slot-boundp): Minor CSE simplification.
14528
14529 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14530
14531 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14532 (glasses-make-readable): Use glasses-separate-capital-groups.
14533
14534 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14535
14536 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14537 (warning-series): Doc fix.
14538 (display-warning): Don't try to create the buffer if we just found it.
14539
14540 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
14541
14542 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14543 (autoload-find-generated-file): New function.
14544 (generate-file-autoloads): Bind generated-autoload-file to
14545 buffer-file-name.
14546 (update-file-autoloads, update-directory-autoloads):
14547 Use autoload-find-generated-file. If called interactively, prompt for
14548 output file (Bug#7989).
14549 (batch-update-autoloads): Doc fix.
14550
14551 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
14552
14553 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14554
14555 2011-05-04 Glenn Morris <rgm@gnu.org>
14556
14557 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14558 function, so it follows changes in calendar-date-style.
14559 (diary-fancy-date-matcher): New function.
14560 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14561 (diary-fancy-font-lock-fontify-region-function):
14562 Use diary-fancy-date-pattern as a function.
14563
14564 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14565 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14566
14567 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14568
14569 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14570 instead of positional arguments. Allow :keylist and :crlfiles
14571 arguments.
14572 (open-gnutls-stream): Call it.
14573
14574 * net/network-stream.el (network-stream-open-starttls): Adjust to
14575 call `gnutls-negotiate' with :process and :hostname arguments.
14576
14577 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14578
14579 * minibuffer.el (completion--message): New function.
14580 (completion--do-completion, minibuffer-complete)
14581 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14582 (completion--do-completion): Don't ignore completion-auto-help when in
14583 icomplete-mode.
14584
14585 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14586 internal encoding (e.g. tibetan zero is not whitespace).
14587 (global-whitespace-mode): Prefer save-current-buffer.
14588 (whitespace-trailing-regexp): Remove useless save-match-data.
14589 (whitespace-empty-at-bob-regexp): Minor simplification.
14590
14591 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
14592
14593 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14594
14595 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14596
14597 * textmodes/ispell.el (ispell-add-per-file-word-list):
14598 Use `concat' to create string for insertion.
14599
14600 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14601
14602 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14603 Avoid open-line which runs post-self-insert-hook.
14604 (bibtex-fill-entry): Remove unused `end' var.
14605
14606 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14607
14608 * textmodes/ispell.el (ispell-add-per-file-word-list):
14609 Protect against `nil' value of `comment-start' (Bug#8579).
14610
14611 2011-05-03 Leo Liu <sdl.web@gmail.com>
14612
14613 * isearch.el (isearch-yank-pop): New command.
14614 (isearch-mode-map): Bind it to `M-y'.
14615 (isearch-forward): Mention it.
14616
14617 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14618
14619 * simple.el (minibuffer-complete-shell-command): Remove.
14620 (minibuffer-local-shell-command-map): Use completion-at-point.
14621 (read-shell-command): Setup completion vars here instead.
14622 (read-expression-map): Bind TAB to symbol completion.
14623
14624 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14625 error directly rather via storing it into `results'.
14626
14627 2011-05-02 Leo Liu <sdl.web@gmail.com>
14628
14629 * vc/diff.el: Fix description.
14630
14631 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14632
14633 * server.el (server-eval-at): New function.
14634
14635 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14636
14637 * net/network-stream.el (open-network-stream): Take a :nowait
14638 parameter and pass it on to `make-network-process'.
14639 (network-stream-open-plain): Ditto.
14640
14641 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14642
14643 * faces.el (face-spec-set-match-display): Don't match toolkit
14644 options on terminal frames.
14645
14646 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14647
14648 * progmodes/pascal.el: Use lexical binding.
14649 (pascal-mode-map): Remove author preferences.
14650
14651 * pcomplete.el (pcomplete-std-complete): Don't abuse
14652 completion-at-point.
14653
14654 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14655
14656 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14657 removing code that has been dead since 1991 or so.
14658
14659 * startup.el (command-line): When warning about "_emacs", use a
14660 delayed warning to allow the user to filter it out.
14661
14662 2011-04-28 Deniz Dogan <deniz@dogan.se>
14663
14664 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14665 user has not joined.
14666
14667 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14668
14669 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14670 aren't any completions at point.
14671
14672 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14673
14674 * subr.el (display-delayed-warnings): New function.
14675 (delayed-warnings-hook): New variable.
14676
14677 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14678
14679 * minibuffer.el (completion-at-point, completion-help-at-point):
14680 Don't presume that a given completion-at-point-function will always
14681 use the same calling convention.
14682
14683 * pcomplete.el (pcomplete-completions-at-point):
14684 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14685 pcomplete-seen is non-nil.
14686 (pcomplete-comint-setup): Also recognize the new comint/shell
14687 completion functions.
14688 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14689 pcomplete-seen is non-nil.
14690
14691 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14692
14693 * calendar/icalendar.el (diary-lib): Add require statement.
14694 (icalendar--create-uid): Read out a uid from a text-property on
14695 the first character in the entry. This allows for code to add its
14696 own uid to the entry.
14697 (icalendar--convert-float-to-ical): Add export of
14698 `diary-float'-entries save for those with the optional DAY
14699 argument.
14700
14701 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14702
14703 * subr.el (shell-quote-argument): Use alternate escaping strategy
14704 when we spot a variable reference in a string.
14705
14706 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14707
14708 * cus-start.el (all): Define customization for debug-on-event.
14709
14710 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14711
14712 * subr.el (shell-quote-argument): Escape correctly under Windows.
14713
14714 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14715
14716 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14717
14718 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14719
14720 * net/tramp.el (tramp-process-actions): Add POS argument.
14721 Delete region between POS and (pos).
14722
14723 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14724 Use `nil' position in `tramp-process-actions' call.
14725 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14726
14727 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14728 position in `tramp-process-actions' call.
14729
14730 * net/trampver.el: Update release number.
14731
14732 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14733
14734 * custom.el (defcustom): Obey lexical-binding.
14735
14736 Fix octave-inf completion problems reported by Alexander Klimov.
14737 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14738 Inherit from octave-mode-syntax-table.
14739 (inferior-octave-mode): Set info-lookup-mode.
14740 (inferior-octave-completion-at-point): New function.
14741 (inferior-octave-complete): Use it and completion-in-region.
14742 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14743 comint-filename-completion.
14744 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14745 symbol elements which shouldn't be word elements.
14746 (octave-font-lock-keywords, octave-beginning-of-defun)
14747 (octave-function-header-regexp): Adjust regexps accordingly.
14748 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14749
14750 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14751
14752 * net/gnutls.el (gnutls-errorp): Declare before first use.
14753
14754 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14755
14756 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14757 verify-error, and verify-hostname-error parameters. Check whether
14758 default trustfile exists before going to use it. Add missing
14759 argument to gnutls-message-maybe call. Return value.
14760 Reported by Claudio Bley <claudio.bley@gmail.com>.
14761 (open-gnutls-stream): Add usage example.
14762
14763 * net/network-stream.el (network-stream-open-starttls): Give host
14764 parameter to `gnutls-negotiate'.
14765 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14766 * subr.el (shell-quote-argument): Escape correctly under Windows.
14767
14768 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14769
14770 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14771 Use correct match group (bug#8438).
14772
14773 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14774
14775 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14776 (package-menu--generate): New arg specifying packages to show.
14777 (package-menu-refresh, package-menu-execute, list-packages):
14778 Callers changed.
14779 (package-show-package-list): New function, replacing deleted
14780 package--list-packages (renamed because it is non-internal).
14781
14782 * finder.el (finder-list-matches): Use package-show-package-list
14783 instead of deleted package--list-packages.
14784
14785 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14786 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14787 (vc-annotate-mode-map): Bind it to RET.
14788
14789 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14790
14791 * progmodes/etags.el (next-file): Don't use set-buffer to change
14792 buffers (Bug#8478).
14793
14794 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14795
14796 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14797
14798 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14799 (apropos-accumulator): Doc fix.
14800 (apropos-function, apropos-macro, apropos-command)
14801 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14802 (apropos-plist): Add face property.
14803 (apropos-symbols-internal): Fix indentation.
14804 (apropos-print): Simplify help, and recognize apropos-multi-type.
14805 (apropos-print-doc): Use button-type-get to extract the button's
14806 face property. Fill docstring (Bug#8352).
14807
14808 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
14809
14810 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14811
14812 * play/mpuz.el (mpuz-silent): Doc fix.
14813 (mpuz-mode-map): Use mapc.
14814 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14815 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14816 Fix typos in docstrings.
14817
14818 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14819 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14820
14821 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14822
14823 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
14824
14825 * minibuffer.el (completion--do-completion): Avoid the "Next char
14826 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14827
14828 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14829 mouse-2 into unread-command-events, it is interpreted correctly.
14830
14831 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14832 (image-toggle-display): Doc fix.
14833
14834 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
14835
14836 * textmodes/page.el (what-page): Use line-number-at-pos to
14837 calculate line number (Bug#6825).
14838
14839 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14840
14841 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14842 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14843 Pass argument NO-DEFAULT to `find-tag-interactive'.
14844
14845 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14846
14847 Lexical-binding cleanup.
14848
14849 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14850 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14851 * progmodes/ada-prj.el (ada-prj-initialize-values)
14852 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14853 (ada-prj-show-value):
14854 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14855 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14856 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14857 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14858 * progmodes/bug-reference.el (bug-reference-push-button):
14859 * progmodes/fortran.el (fortran-line-length):
14860 * progmodes/glasses.el (glasses-change):
14861 * progmodes/octave-mod.el (octave-fill-paragraph):
14862 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14863 (python-pdbtrack-grub-for-buffer, python-sentinel):
14864 * progmodes/sql.el (sql-save-connection):
14865 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14866 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14867 Mark unused parameters.
14868
14869 * progmodes/compile.el (compilation--flush-directory-cache)
14870 (compilation--flush-parse, compile-internal): Mark unused parameters.
14871 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14872 (compilation-next-error-function): Remove unused variable `timestamp'.
14873
14874 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14875 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14876
14877 * progmodes/dcl-mode.el (dcl-end-of-command):
14878 Remove unused variable `start'.
14879 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14880 (dcl-option-value-basic, dcl-option-value-offset)
14881 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14882 Mark unused parameters.
14883 (dcl-save-local-variable): Remove unused variable `val'.
14884 (mode): Declare.
14885
14886 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14887 Mark unused parameters.
14888 (delphi-ignore-changes): Move before first use.
14889 (delphi-charset-token-at): Remove unused variable `start'.
14890 (delphi-else-start): Remove unused variable `if-count'.
14891 (delphi-comment-block-start, delphi-comment-block-end):
14892 Remove unused variable `kind'.
14893 (delphi-indent-line): Remove unused variable `new-point'.
14894
14895 * progmodes/ebrowse.el (ebrowse-files-list)
14896 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14897 Mark unused parameters. Don't quote `lambda'.
14898 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14899 Don't quote `lambda'.
14900 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14901 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14902 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14903 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14904 Use `ignore-errors'.
14905 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14906 (ebrowse-view/find-file-and-search-pattern)
14907 (ebrowse-view/find-member-declaration/definition):
14908 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14909 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14910 Rename parameter PREFIX-ARG to PREFIX.
14911 (ebrowse-tags-read-name): Remove unused variables `start' and
14912 `member-info'.
14913 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14914 to `tags-file'.
14915
14916 * progmodes/etags.el (local-find-tag-hook): Declare.
14917 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14918 Mark unused parameters.
14919
14920 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14921 (executable-interpret): Mark unused parameter.
14922
14923 * progmodes/flymake.el (flymake-process-sentinel)
14924 (flymake-after-change-function)
14925 (flymake-create-temp-with-folder-structure)
14926 (flymake-get-include-dirs-dot): Mark unused parameters.
14927 (flymake-safe-delete-directory): Remove unused variable `err'.
14928
14929 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14930 (speedbar-timer-fn, speedbar-line-text)
14931 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14932 (speedbar-center-buffer-smartly): Declare functions.
14933 (gdb-find-watch-expression): Remove unused variable `array'.
14934 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14935 (gdb-starting): Mark unused parameters.
14936 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14937 (gdb-table-string): Remove unused variable `res'.
14938 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14939 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14940 (gdb-display-buffer): Remove unused variable `cur-size'.
14941
14942 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14943 allow lexical-binding compilation.
14944 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14945 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14946 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14947 Mark unused parameters.
14948 (gud-gdb-marker-filter): Remove unused variable `match'.
14949 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14950 lambda expressions and funcall them, instead of using `fset'.
14951
14952 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14953 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14954
14955 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14956 variable `header-beg'; use `let'.
14957
14958 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14959 `restart', `last-sexp' and `at-do'.
14960
14961 * progmodes/js.el (js--debug): Mark unused parameter.
14962 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14963 (js--splice-into-items): Remove unused variable `item'.
14964 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14965
14966 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14967 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14968 (makefile-complete): Remove unused variable `try'.
14969 (makefile-fill-paragraph, makefile-match-function-end):
14970 Mark unused parameters.
14971
14972 * progmodes/octave-inf.el (inferior-octave-complete):
14973 Remove unused variable `proc'.
14974 (inferior-octave-output-digest): Mark unused parameter.
14975
14976 * progmodes/perl-mode.el (perl-calculate-indent):
14977 Remove unused variable `err'.
14978
14979 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14980 (prolog-indent-line): Mark unused parameters.
14981 (prolog-indent-line): Remove unused variable `beg'.
14982
14983 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14984 (reporter-dont-compact-list): Declare.
14985
14986 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14987 Remove unused variable `char'.
14988 (sh-debug): Mark unused parameter.
14989 (sh-get-indent-info): Remove unused variable `start'.
14990 (sh-calculate-indent): Remove unused variable `var'.
14991
14992 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14993 (simula-electric-keyword): Remove unused variable `null'.
14994 (simula-search-backward, simula-search-forward): Remove unused
14995 variables `begin' and `end'.
14996
14997 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14998 Remove unused variable `pos'.
14999 (vera-electric-tab, vera-comment-uncomment-region):
15000 Mark unused parameters.
15001 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15002
15003 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15004
15005 * emacs-lisp/package.el (package--builtins, package-alist)
15006 (package-load-descriptor, package-built-in-p, package-activate)
15007 (define-package, package-installed-p)
15008 (package-compute-transaction, package-buffer-info)
15009 (package--push): Doc fix. Distinguish more clearly between
15010 version strings and version lists.
15011
15012 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15013
15014 Lexical-binding cleanup.
15015
15016 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15017 (5x5-make-mutate-best):
15018 * play/fortune.el (fortune-in-buffer):
15019 * play/gomoku.el (gomoku-init-display):
15020 * play/solitaire.el (solitaire, solitaire-do-check):
15021 * play/tetris.el (tetris-default-update-speed-function):
15022 Mark unused parameters.
15023
15024 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15025 (bubbles--shift): Remove unused variable `char-org'.
15026 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15027 (bubbles--show-images): Remove unused variable `char'.
15028
15029 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15030 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15031 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15032 (decipher-analyze-buffer): Use ?\s.
15033 (decipher-make-checkpoint): Remove unused variable `mapping'.
15034
15035 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15036
15037 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15038 Remove unused variable `result'; use `let'.
15039
15040 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15041 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15042 (gametree-children-shown-p, gametree-compute-reduced-score):
15043 Use `ignore-errors'.
15044
15045 * play/handwrite.el (ps-lpr-switches): Declare.
15046 (handwrite): Remove unused variables `pmin' and `lastp'.
15047
15048 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15049
15050 * play/landmark.el (landmark-init-display)
15051 (landmark-update-naught-weights): Mark unused parameters.
15052 (landmark-y): Remove unused variable `noise'. Simplify.
15053 (landmark-human-plays): Remove unused variable `score'.
15054
15055 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15056 (mpuz-try-proposal): Remove unused variable `game'.
15057
15058 * play/zone.el (life-patterns): Declare.
15059
15060 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15061
15062 * vc/vc.el (ediff-vc-internal): Declare function.
15063
15064 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15065
15066 * shell.el: Use lexical-binding and std completion UI.
15067 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15068 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15069 comint-preoutput-filter-functions rather than on
15070 comint-output-filter-functions.
15071 (shell-command-completion, shell--command-completion-data)
15072 (shell-filename-completion, shell-environment-variable-completion)
15073 (shell-c-a-p-replace-by-expanded-directory): New functions.
15074 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15075 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15076 (shell-dynamic-complete-environment-variable): Use them.
15077 (shell-dynamic-complete-as-environment-variable)
15078 (shell-dynamic-complete-as-command): Remove.
15079 (shell-match-partial-variable): Match past point.
15080 * comint.el: Clean up use of completion-at-point-functions.
15081 (comint-completion-at-point): New function.
15082 (comint-mode): Use it completion-at-point-functions.
15083 (comint-dynamic-complete): Make it obsolete.
15084 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15085 (comint-c-a-p-replace-by-expanded-history): New function.
15086 (comint-dynamic-complete-functions)
15087 (comint-replace-by-expanded-history): Use it.
15088 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15089 termination strings. Try harder to avoid second try-completion.
15090 (completion-in-region-mode-map): Disable bindings that don't work yet.
15091
15092 * comint.el: Use lexical-binding. Require CL.
15093 (comint-dynamic-complete-functions): Use comint-filename-completion.
15094 (comint-completion-addsuffix): Tweak custom type.
15095 (comint-filename-completion, comint--common-suffix)
15096 (comint--common-quoted-suffix, comint--table-subvert)
15097 (comint--complete-file-name-data): New functions.
15098 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15099 (comint-dynamic-list-filename-completions): Use them.
15100 (comint-dynamic-simple-complete): Make obsolete.
15101
15102 * minibuffer.el (completion-in-region-mode):
15103 Keep completion-in-region-mode--predicate global.
15104 (completion-in-region--postch):
15105 Assume completion-in-region-mode--predicate is not null.
15106
15107 * progmodes/flymake.el (flymake-start-syntax-check-process):
15108 Obey `dir'. Simplify.
15109
15110 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15111 we're in VC after all.
15112
15113 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15114
15115 * vc/vc.el (vc-diff-build-argument-list-internal)
15116 (vc-version-ediff, vc-ediff): New commands.
15117 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15118
15119 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15120
15121 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15122 add sanity check.
15123
15124 * obsolete/erc-hecomplete.el: Make obsolete.
15125 * obsolete/: Standardize obsolescence info in the header.
15126
15127 2011-04-20 Glenn Morris <rgm@gnu.org>
15128
15129 * calendar/solar.el (solar-horizontal-coordinates):
15130 Use the longitude argument rather than `calendar-longitude'.
15131 (solar-date-next-longitude): Remove unused locals.
15132
15133 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15134
15135 * whitespace.el: New version 13.2.1.
15136
15137 2011-04-20 felix <EmacsWiki> (tiny change)
15138
15139 * whitespace.el (global-whitespace-mode): Keep highlight when
15140 switching between major modes on a file.
15141
15142 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15143
15144 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15145 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15146 multi-line comments as well.
15147
15148 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15149
15150 Lexical-binding cleanup.
15151
15152 * arc-mode.el (archive-mode-revert):
15153 * cmuscheme.el (scheme-interactively-start-process):
15154 * custom.el (custom-initialize-delay):
15155 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15156 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15157 * emacs-lock.el (emacs-lock-clear-sentinel):
15158 * ezimage.el (defezimage):
15159 * follow.el (follow-avoid-tail-recenter):
15160 * fringe.el (set-fringe-mode-1):
15161 * generic-x.el (bat-generic-mode-compile):
15162 * help-mode.el (help-info-variable, help-do-xref)
15163 (help-mode-revert-buffer):
15164 * help.el (view-emacs-todo):
15165 * iswitchb.el (iswitchb-completion-help):
15166 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15167 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15168 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15169 * locate.el (locate-update):
15170 * longlines.el (longlines-encode-region)
15171 (longlines-after-change-function):
15172 * outline.el (outline-isearch-open-invisible):
15173 * ps-def.el (declare-function, charset-dimension, char-width)
15174 (encode-char):
15175 * ps-mule.el (ps-mule-plot-string):
15176 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15177 (recentf-edit-list-select, recentf-edit-list-validate)
15178 (recentf-open-files-action):
15179 * rect.el (delete-whitespace-rectangle-line)
15180 (rectangle-number-line-callback):
15181 * register.el (window-configuration-to-register)
15182 (frame-configuration-to-register):
15183 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15184 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15185 (xselect-convert-to-targets, xselect-convert-to-delete)
15186 (xselect-convert-to-filename, xselect-convert-to-charpos)
15187 (xselect-convert-to-lineno, xselect-convert-to-colno)
15188 (xselect-convert-to-os, xselect-convert-to-host)
15189 (xselect-convert-to-user, xselect-convert-to-class)
15190 (xselect-convert-to-name, xselect-convert-to-integer)
15191 (xselect-convert-to-atom, xselect-convert-to-identity):
15192 * subr.el (declare, ignore, process-kill-without-query)
15193 (text-clone-maintain):
15194 * terminal.el (te-get-char, te-tic-sentinel):
15195 * tool-bar.el (tool-bar-make-keymap):
15196 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15197 * type-break.el (type-break-mode, type-break-noninteractive-query):
15198 * view.el (View-back-to-mark):
15199 * wid-browse.el (widget-browse-action, widget-browse-widget)
15200 (widget-browse-widgets, widget-browse-sexp):
15201 * widget.el (define-widget-keywords):
15202 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15203 Mark unused parameters.
15204
15205 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15206 (align-areas): Remove unused variable `look'.
15207 (align-region): Remove unused variables `real-end' and `pos-list'.
15208
15209 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15210
15211 * bindings.el (mode-line-modified, mode-line-remote):
15212 Mark unused parameters.
15213 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15214
15215 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15216 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15217
15218 * comint.el (comint-history-isearch-pop-state)
15219 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15220 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15221 (comint-substitute-in-file-name): Doc fix.
15222
15223 * completion.el (cmpl-statistics-block): Mark unused parameter.
15224 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15225 (save-completions-to-file, load-completions-from-file):
15226 Remove unused local variable `e'.
15227
15228 * composite.el (compose-chars): Remove unused variable `len'.
15229 (lgstring-insert-glyph): Remove unused variable `g'.
15230 (compose-glyph-string): Remove unused variables `ascent',
15231 `descent', `lbearing' and `rbearing'.
15232 (compose-glyph-string-relative): Remove unused variables
15233 `lbearing', `rbearing' and `wadjust'.
15234 (compose-gstring-for-graphic): Remove unused variables `header',
15235 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15236 (compose-gstring-for-terminal): Remove unused variables `header'
15237 and `nchars'. Use `let', not `let*'.
15238
15239 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15240 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15241 (Custom-buffer-done, custom-buffer-create-internal)
15242 (custom-browse-visibility-action, custom-browse-group-tag-action)
15243 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15244 (widget-magic-mouse-down-action, custom-toggle-parent)
15245 (custom-add-parent-links, custom-toggle-hide-variable)
15246 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15247 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15248 (custom-face-menu-create, custom-variable-menu-create, get)
15249 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15250 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15251 (customize-apropos): Remove unused variable `tests'.
15252 (custom-group-value-create): Remove unused variable `hidden-p'.
15253 (sort-fold-case): Declare.
15254
15255 * cus-theme.el (custom-reset-standard-faces-list)
15256 (custom-reset-standard-variables-list): Declare.
15257 (customize-create-theme, custom-theme-revert, custom-theme-write)
15258 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15259 Mark unused parameters.
15260
15261 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15262
15263 * delim-col.el (delimit-columns-max): Move defvar before first use.
15264
15265 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15266 (describe-char): Don't quote `lambda'. Mark unused parameter.
15267
15268 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15269 (auto-insert): Declare.
15270 (desktop-restore-file-buffer): Rename desktop-* parameters;
15271 mark unused ones.
15272 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15273 (desktop-buffer): Rename desktop-* parameters.
15274
15275 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15276 (dframe-reposition-frame-xemacs, dframe-help-echo)
15277 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15278 Mark unused parameters.
15279
15280 * dired-aux.el (backup-extract-version-start, overwrite-query)
15281 (overwrite-backup-query, rename-regexp-query)
15282 (rename-non-directory-query): Declare.
15283 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15284 (dired-add-entry): Remove unused variable `orig-file-name'.
15285 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15286 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15287 `dired-copy-preserve-time' directly.
15288 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15289 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15290
15291 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15292 (dired-virtual-revert, dired-make-relative-symlink):
15293 Mark unused parameters.
15294 (manual-program): Declare.
15295 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15296 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15297 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15298
15299 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15300
15301 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15302
15303 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15304 Declare.
15305
15306 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15307
15308 * electric.el (Electric-command-loop): Rename parameter
15309 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15310
15311 * expand.el (expand-in-literal): Remove unused variable `here'.
15312
15313 * facemenu.el (facemenu-add-new-color):
15314 Remove unused variable `docstring'.
15315
15316 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15317 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15318 (face-attr-construct): Mark unused parameter. Doc fix.
15319 (read-color): Remove unused variable `hex-string'.
15320
15321 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15322 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15323 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15324 (display-buffer-other-frame): Remove unused variable `old-window'.
15325 (kill-buffer-hook): Declare.
15326 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15327 Mark unused parameters.
15328 (after-find-file): Pass 1 to `auto-save-mode', not t.
15329
15330 * files-x.el (auto-insert): Declare.
15331 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15332
15333 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15334 variable `buf'. Mark unused parameter.
15335 (find-lisp-insert-directory): Mark unused parameter.
15336
15337 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15338 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15339 (format-common-tail): Remove, unused.
15340 (format-deannotate-region): Remove unused variable `loc'.
15341 (format-annotate-region): Remove unused variable `p'.
15342 (format-annotate-single-property-change): Remove unused variables
15343 `default' and `tail'.
15344
15345 * forms.el (read-file-filter): Declare.
15346 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15347
15348 * frame.el (frame-creation-function-alist): Mark unused parameter.
15349 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15350
15351 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15352 Remove unused parameters.
15353 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15354 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15355
15356 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15357 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15358 (hfy-prepare-tag-map): Mark unused parameters.
15359 (htmlfontify-buffer): Use `called-interactively-p'.
15360
15361 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15362 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15363 (ibuffer-do-occur): Mark unused parameters.
15364 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15365 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15366
15367 * ibuffer.el: Don't quote `lambda'.
15368 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15369 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15370 Mark unused parameters.
15371
15372 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15373 (ido-completing-read): Mark unused parameters.
15374 (ido-copy-current-word): Mark unused parameters;
15375 remove unused variable `name'.
15376 (ido-sort-merged-list): Remove unused parameter `dirs'.
15377
15378 * ielm.el (ielm-input-sender): Mark unused parameter.
15379 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15380 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15381 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15382 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15383 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15384
15385 * image-dired.el (image-dired-display-thumbs): Remove unused
15386 variables `curr-file' and `count'.
15387 (image-dired-remove-tag): Remove unused variable `start'.
15388 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15389 variable `curr-file'
15390 (image-dired-rotate-original): Remove unused variable `temp-file'.
15391 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15392 Remove unused variable `file'.
15393 (image-dired-gallery-generate): Remove unused variable `curr'.
15394 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15395
15396 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15397
15398 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15399
15400 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15401
15402 * isearch.el (minibuffer-history-symbol): Declare.
15403 (isearch-edit-string): Remove unused variable `err'.
15404 (isearch-message-prefix, isearch-message-suffix):
15405 Mark unused parameters.
15406
15407 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15408
15409 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15410
15411 * makesum.el (double-column): Remove unused variable `cnt'.
15412
15413 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15414 (ido-ignore-item-temp-list): Declare.
15415
15416 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15417 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15418 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15419 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15420 `mouse-col-delta'.
15421
15422 * mouse-sel.el (mouse-extend-internal):
15423 Remove unused variable `orig-window-frame'.
15424
15425 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15426 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15427 Move declarations before first use.
15428 (pcomplete-opt): Mark unused parameters; doc fix.
15429
15430 * proced.el (proced-revert): Mark unused parameter.
15431 (proced-send-signal): Remove unused variable `err'.
15432
15433 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15434 Rename parameter PREFIX-ARG to ARG.
15435 (ps-basic-plot-string, ps-basic-plot-whitespace):
15436 Mark unused parameters.
15437
15438 * replace.el (replace-count): Define.
15439 (occur-revert-function): Mark unused parameters.
15440 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15441 (isearch-case-fold-search, isearch-string): Declare.
15442 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15443 bind `case-fold-search'. Remove unused variables `beg' and `end',
15444 and simplify.
15445 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15446 COUNT and bind `replace-count'.
15447 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15448 to COUNT.
15449
15450 * savehist.el (print-readably, print-string-length): Declare.
15451
15452 * shadowfile.el (shadow-expand-cluster-in-file-name):
15453 Remove unused variable `cluster'.
15454 (shadow-copy-file): Remove unused variable `i'.
15455 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15456 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15457 (shadow-define-literal-group, shadow-define-regexp-group)
15458 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15459
15460 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15461 (shell): Use `called-interactively-p'.
15462 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15463
15464 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15465 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15466 (delete-backward-char): Remove unused variable `ocol'.
15467 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15468 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15469 (event-apply-hyper-modifier, event-apply-shift-modifier)
15470 (event-apply-control-modifier, event-apply-meta-modifier):
15471 Mark unused parameters.
15472 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15473 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15474
15475 * speedbar.el (speedbar-ignored-directory-expressions)
15476 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15477 (speedbar-find-file, speedbar-dir-follow)
15478 (speedbar-directory-buttons-follow, speedbar-tag-find)
15479 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15480 (speedbar-buffers-line-directory, speedbar-buffer-click):
15481 Mark unused parameters.
15482 (speedbar-tag-file): Remove unused variable `mode'.
15483 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15484
15485 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15486
15487 * talk.el (talk): Remove unused variable `display'.
15488
15489 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15490 (tar-write-region-annotate): Mark unused parameter.
15491
15492 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15493 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15494 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15495 warning by another.
15496
15497 * time-stamp.el (time-stamp-string-preprocess):
15498 Remove unused variable `require-padding'.
15499
15500 * tree-widget.el (widget-glyph-enable): Declare.
15501 (tree-widget-action): Mark unused parameter.
15502
15503 * w32-fns.el (x-get-selection): Mark unused parameter.
15504 (autoload-make-program, generated-autoload-file): Declare.
15505
15506 * wdired.el (wdired-revert): Mark unused parameters.
15507 (wdired-xcase-word): Remove unused variable `err'.
15508
15509 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15510 (whitespace-help-scroll): Remove unused variable `data-help'.
15511
15512 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15513 (widget-image-insert, widget-after-change, default)
15514 (widget-default-format-handler, widget-default-notify)
15515 (widget-default-prompt-value, widget-info-link-action)
15516 (widget-url-link-action, widget-function-link-action)
15517 (widget-variable-link-action, widget-file-link-action)
15518 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15519 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15520 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15521 (widget-insert-button-action, widget-delete-button-action, visibility)
15522 (widget-documentation-link-action, widget-documentation-string-action)
15523 (widget-const-prompt-value, widget-regexp-match, symbol)
15524 (widget-coding-system-prompt-value)
15525 (widget-key-sequence-value-to-external, sexp)
15526 (widget-sexp-value-to-internal, character, vector, cons)
15527 (widget-choice-prompt-value, widget-boolean-prompt-value)
15528 (widget-color--choose-action): Mark unused parameters.
15529 (widget-item-match-inline, widget-choice-match-inline)
15530 (widget-checklist-match, widget-checklist-match-inline)
15531 (widget-group-match): Rename parameter VALUES to VALS.
15532 (widget-field-value-set): Remove unused variable `size'.
15533 (widget-color-action): Remove unused variables `value' and `start'.
15534
15535 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15536 variable `dir'. Doc fix.
15537 (windmove-find-other-window): Don't pass it.
15538
15539 * window.el (count-windows): Mark unused parameter.
15540 (bw-adjust-window): Remove unused variable `err'.
15541
15542 * woman.el (woman-file-name): Remove unused variable `default'.
15543 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15544 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15545 (global-font-lock-mode): Declare.
15546 (woman-decode-region): Mark unused parameter.
15547 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15548
15549 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15550 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15551 (x-dnd-handle-moz-url): Remove unused variable `title'.
15552 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15553
15554 * xml.el (xml-parse-tag, xml-parse-attlist):
15555 Remove unused variable `pos'.
15556
15557 2011-04-19 Glenn Morris <rgm@gnu.org>
15558
15559 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15560 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15561 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15562 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15563 * calendar/cal-html.el (cal-html-insert-minical):
15564 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15565 (calendar-mark-date-pattern):
15566 Prefix "unused" locals.
15567
15568 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15569 optional argument `style'.
15570
15571 * calendar/appt.el (appt-make-list):
15572 * calendar/cal-china.el (calendar-chinese-date-string):
15573 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15574 (diary-hebrew-yahrzeit):
15575 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15576 * calendar/calendar.el (calendar-generate-window):
15577 * calendar/time-date.el (time-to-days):
15578 Remove unused local variables.
15579
15580 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
15581
15582 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15583 glyphless-char-display table.
15584 (tabulated-list-glyphless-char-display): New var.
15585
15586 2011-04-18 Sam Steingold <sds@gnu.org>
15587
15588 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15589 to acknowledgments.
15590
15591 2011-04-17 Glenn Morris <rgm@gnu.org>
15592
15593 * calendar/diary-lib.el (diary-sexp-entry):
15594 * calendar/holidays.el (holiday-sexp):
15595 Set debug-on-error rather than the removed stack-trace-on-error.
15596
15597 2011-04-16 Glenn Morris <rgm@gnu.org>
15598
15599 * progmodes/f90.el: Use lexical-binding.
15600 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15601
15602 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15603
15604 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15605 (mail-mode): Setup mailalias completion here instead.
15606 * mail/mailalias.el: Use lexical-binding.
15607 (pattern, mailalias-done): Declare dynamic.
15608 (mail-completion-at-point-function): New function, from mail-complete.
15609 (mail-complete): Use it.
15610 (mail-completion-expand): New function.
15611 (mail-get-names): Use it.
15612 (mail-directory, mail-directory-process, mail-directory-stream):
15613 Don't use `pattern' for lexically bound arg.
15614
15615 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15616
15617 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15618 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15619 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15620
15621 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15622 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15623 (byte-interactive-p): Define them again, for use when inlining
15624 old code.
15625
15626 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
15627
15628 * loadup.el: Use `string-to-number', not `string-to-int'.
15629
15630 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15631
15632 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15633 gud-gdb-complete-command.
15634 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15635 (gud-gdb-completion-at-point): New function.
15636 (gud-gdb-completions): Remove.
15637
15638 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
15639
15640 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15641 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15642 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15643 whether `executable-find' is bound.
15644
15645 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15646
15647 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15648
15649 * minibuffer.el (completion-in-region-mode-predicate)
15650 (completion-in-region-mode--predicate): New vars.
15651 (completion-in-region, completion-in-region--postch)
15652 (completion-in-region-mode): Use them.
15653 (completion--capf-wrapper): Also return the hook function.
15654 (completion-at-point, completion-help-at-point):
15655 Adjust and provide a predicate.
15656
15657 Preserve arg names for advice of subr and lexical functions (bug#8457).
15658 * help-fns.el (help-function-arglist): Consolidate the subr and
15659 new-byte-code cases. Add argument `preserve-names' to extract names
15660 from the docstring when needed.
15661 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15662 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15663 (ad-arglist): Use help-function-arglist's new arg.
15664 (ad-definition-type): Use cond.
15665
15666 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15667
15668 * autorevert.el (auto-revert-handler):
15669 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15670 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15671 Don't quote lambda.
15672
15673 * image-mode.el (image-transform-set-scale):
15674 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15675
15676 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15677
15678 * net/network-stream.el (network-stream-open-starttls): Only do
15679 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15680 Upgrades via gnutls-cli are too slow to be done opportunistically.
15681
15682 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15683
15684 * dframe.el (dframe-current-frame): Remove spurious quote.
15685
15686 2011-04-12 Glenn Morris <rgm@gnu.org>
15687
15688 * calendar/cal-tex.el (cal-tex-end-document):
15689 Try to automatically use latin1 input if needed.
15690
15691 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15692 Don't try to cons a mark onto an empty element.
15693
15694 2011-04-11 Leo Liu <sdl.web@gmail.com>
15695
15696 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15697 buffers.
15698 (ido-kill-buffer-at-head): Support killing virtual buffers.
15699
15700 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15701
15702 * minibuffer.el (completion-show-inline-help): New var.
15703 (completion--do-completion, minibuffer-complete)
15704 (minibuffer-force-complete, minibuffer-complete-word):
15705 Inhibit minibuffer messages if completion-show-inline-help is nil.
15706
15707 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15708 to avoid interference from inline help (Bug#5849).
15709
15710 2011-04-10 Leo Liu <sdl.web@gmail.com>
15711
15712 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15713 Fix typo.
15714
15715 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15716
15717 * image-mode.el (image-toggle-display-image): Signal an error if
15718 not in Image mode.
15719 (image-transform-mode, image-transform-resize)
15720 (image-transform-set-rotation): Doc fix.
15721 (image-transform-set-resize): Delete.
15722 (image-transform-set-scale, image-transform-fit-to-height)
15723 (image-transform-fit-to-width): Handle image-toggle-display-image
15724 and image-transform-resize directly.
15725
15726 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15727
15728 * doc-view.el (doc-view-fit-width-to-window)
15729 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15730 New functions for fitting the shown image to the Emacs window size.
15731 (doc-view-mode-map): Add bindings for the new functions.
15732
15733 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15734
15735 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15736 Fix typo in docstring.
15737
15738 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15739
15740 * files.el (file-size-human-readable): Produce one digit after
15741 decimal, like "ls -lh" does.
15742
15743 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15744 the file size representation.
15745
15746 * simple.el (list-processes): If async subprocesses are not
15747 available, error out with a clear error message.
15748
15749 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15750
15751 * help.el (help-form-show): New function, to be called from C.
15752 Put help-form output in a buffer named differently than *Help*.
15753
15754 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15755
15756 * files.el (file-size-human-readable): New function.
15757
15758 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15759 computing the representation inline. Don't require `cl'.
15760
15761 2011-04-08 Glenn Morris <rgm@gnu.org>
15762
15763 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15764
15765 * net/browse-url.el (browse-url-firefox):
15766 Test system-type, not system-configuration.
15767
15768 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15769 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15770 Use log-edit-empty-buffer-p. (Bug#7598)
15771
15772 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15773 (rlogin-mode-map): Initialize in the defvar.
15774 (rlogin): Use ignore-errors.
15775
15776 * replace.el (occur-mode-map): Some fixes for menu items.
15777
15778 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15779
15780 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15781
15782 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15783
15784 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15785 issuing unused warnings.
15786
15787 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15788 macro directly.
15789
15790 * simple.el: Lisp reimplement of list-processes. Based on an
15791 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15792 (process-menu-mode): New major mode.
15793 (list-processes--refresh, list-processes):
15794 (process-menu-visit-buffer): New functions.
15795
15796 * files.el (save-buffers-kill-emacs): Don't assume any return
15797 value of list-processes, which is undocumented anyway.
15798
15799 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15800
15801 * emacs-lisp/tabulated-list.el: New file.
15802
15803 * emacs-lisp/package.el: Use Tabulated List mode.
15804 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15805 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15806 table format using Tabulated List mode variables.
15807 (package--push): New macro, replacing package-list-maybe-add.
15808 (package-menu--generate): Use package--push. Renamed from
15809 package--generate-package-list.
15810 (package-menu-refresh, list-packages): Use it.
15811 (package-menu--print-info): Rename from package-print-package.
15812 Return insertion data instead of inserting it directly.
15813 (package-menu-describe-package, package-menu-execute):
15814 Use tabulated-list-get-id.
15815 (package-menu-mark-delete, package-menu-mark-install)
15816 (package-menu-mark-unmark, package-menu-backup-unmark)
15817 (package-menu-mark-obsolete-for-deletion):
15818 Use tabulated-list-put-tag.
15819 (package--list-packages, package-menu-revert)
15820 (package-menu-get-package, package-menu-get-version)
15821 (package-menu-sort-by-column): Functions deleted.
15822 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15823 (package-menu--status-predicate, package-menu--version-predicate)
15824 (package-menu--name-predicate)
15825 (package-menu--description-predicate): Handle arguments in the
15826 Tabulated List format.
15827 (package-list-packages-no-fetch): Call list-packages.
15828
15829 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
15830
15831 * files.el (after-find-file-from-revert-buffer): Remove variable.
15832 (after-find-file): Don't bind it.
15833 (revert-buffer-in-progress-p): New variable.
15834 (revert-buffer): Bind it.
15835 Pass nil for `after-find-file-from-revert-buffer'.
15836
15837 * saveplace.el (save-place-find-file-hook): Use new variable
15838 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15839
15840 2011-04-06 Glenn Morris <rgm@gnu.org>
15841
15842 * Makefile.in (AUTOGEN_VCS): New variable.
15843 (autoloads): Use $AUTOGEN_VCS.
15844
15845 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15846 * calendar/calendar.el (calendar-mode-map):
15847 Check for toolkit scroll bars. (Bug#8305)
15848
15849 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15850
15851 * minibuffer.el (completion-in-region--postch)
15852 (completion-in-region-mode): Remove unnecessary messages.
15853
15854 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
15855
15856 * font-lock.el (font-lock-refresh-defaults):
15857 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15858 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15859
15860 * info.el (Info-directory-list, Info-read-node-name-2)
15861 (Info-split-parameter-string): Doc fixes.
15862 (Info-virtual-nodes): Reflow docstring.
15863 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15864 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15865 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15866 Fix typos in docstrings.
15867 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15868 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15869 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15870 (Info-restore-desktop-buffer): Mark unused parameters.
15871 (Info-directory-find-file, Info-directory-find-node)
15872 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15873 (Info-virtual-index-find-node, Info-apropos-find-file)
15874 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15875 Mark unused parameters; fix typos in docstrings.
15876 (Info-virtual-index): Remove unused local variable `nodename'.
15877
15878 2011-04-05 Deniz Dogan <deniz@dogan.se>
15879
15880 * net/rcirc.el: Update my e-mail address.
15881 (rcirc-mode-map): Remove M-o binding.
15882
15883 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15884
15885 * startup.el (command-line): Save the cursor's theme-face
15886 directly, instead of using face-override-spec.
15887
15888 * custom.el (load-theme): Minor optimization in assigning faces.
15889
15890 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15891
15892 * help-fns.el (describe-variable): Complete all variables having
15893 documentation, including keywords.
15894 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15895
15896 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15897
15898 Convert to lexical-binding.
15899
15900 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15901 (bs--get-marked-string, bs--get-modified-string)
15902 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15903 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15904 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15905
15906 * ehelp.el (electric-help-execute-extended)
15907 (electric-help-ctrl-x-prefix):
15908 * hexl.el (hexl-revert-buffer-function):
15909 * linum.el (linum-after-change, linum-after-scroll):
15910 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15911
15912 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15913
15914 2011-04-04 Daiki Ueno <ueno@unixuser.org>
15915
15916 * epa-dired.el:
15917 * epa-mail.el:
15918 * epa-hook.el:
15919 * epa-file.el:
15920 * epa.el:
15921 * epg.el: Use lexical binding.
15922
15923 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15924
15925 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15926
15927 * textmodes/flyspell.el (flyspell-word): Recognize default
15928 dictionary case for flyspell-mark-duplications-exceptions.
15929 Use regexp matching for languages.
15930 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15931 default dictionary (Bug#7926).
15932
15933 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15934
15935 * emacs-lisp/package.el (package--with-work-buffer):
15936 Recognize https URLs.
15937
15938 * net/network-stream.el: Move from gnus/proto-stream.el.
15939 Change prefix to network-stream throughout.
15940 (open-protocol-stream): Merge into open-network-stream, leaving
15941 open-protocol-stream as an alias. Handle nil BUFFER args.
15942
15943 * subr.el (open-network-stream): Move to net/network-stream.el.
15944
15945 2011-04-02 Glenn Morris <rgm@gnu.org>
15946
15947 * find-dired.el (find-exec-terminator): New option.
15948 (find-ls-option): Test for -ls support.
15949 (find-ls-subdir-switches): Test for -b in find-ls-option.
15950 (find-dired, find-grep-dired): Doc fixes.
15951 (find-dired): Use find-exec-terminator.
15952
15953 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15954 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15955 (find-name-arg): Remove purecopy.
15956
15957 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15958 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15959 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15960 accordingly. Don't add the null-device if not needed.
15961
15962 * files.el (save-some-buffers): Doc fix.
15963
15964 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15965
15966 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15967
15968 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15969
15970 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15971 Use `dolist' rather than `mapcar'.
15972
15973 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15974
15975 Add lexical binding.
15976
15977 * subr.el (apply-partially): Use new closures rather than CL.
15978 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15979 (dolist, dotimes): Use slightly different expansion for lexical code.
15980 (functionp): Move to C.
15981 (letrec): New macro.
15982 (with-wrapper-hook): Use it and apply-partially instead of CL.
15983 (eval-after-load): Preserve lexical-binding.
15984 (save-window-excursion, with-output-to-temp-buffer): Turn them
15985 into macros.
15986
15987 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15988
15989 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15990 than the arglist.
15991 (help-add-fundoc-usage): Don't add `Not documented'.
15992 (help-function-arglist): Handle closures, subroutines, and new
15993 byte-code-functions.
15994 (help-make-usage): Remove leading underscores.
15995 (describe-function-1): Handle closures.
15996 (describe-variable): Use special-variable-p for completion.
15997
15998 * files.el (lexical-binding): Declare safe.
15999
16000 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16001 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16002 (pcase): Add `let' pattern.
16003 Change memoization so it actually works.
16004 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16005 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16006 <let>: New case.
16007
16008 * emacs-lisp/macroexp.el: Use lexical binding.
16009 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16010 Don't convert ' to #' without checking that it's indeed quoting
16011 a lambda.
16012
16013 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16014 Use eval-sexp-add-defvars.
16015 (eval-sexp-add-defvars): New fun.
16016
16017 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16018
16019 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16020 Don't autoload.
16021 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16022 than the internal `byte-compile-lambda'.
16023 (defmethod): Don't hide code under quotes.
16024 (eieio-defmethod): New `code' argument.
16025
16026 * emacs-lisp/eieio-comp.el: Remove.
16027
16028 * emacs-lisp/edebug.el (edebug-eval-defun)
16029 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16030 (edebug-toggle): Avoid `eval'.
16031
16032 * emacs-lisp/disass.el (disassemble-internal): Handle new
16033 `closure' objects.
16034 (disassemble-1): Handle new byte codes.
16035
16036 * emacs-lisp/cl.el (pushnew): Silence warning.
16037
16038 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16039 (cl-byte-compile-throw): Remove.
16040 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16041
16042 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16043 closures.
16044
16045 * emacs-lisp/cconv.el: New file.
16046
16047 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16048 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16049 (byte-compile-initial-macro-environment):
16050 Handle declare-function here.
16051 (byte-compile--lexical-environment): New var.
16052 (byte-stack-ref, byte-stack-set, byte-discardN)
16053 (byte-discardN-preserve-tos): New lap codes.
16054 (byte-interactive-p): Don't use any more.
16055 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16056 New macros.
16057 (byte-compile-lapcode): Use them and handle new lap codes.
16058 (byte-compile-obsolete): Remove.
16059 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16060 (byte-compile-arglist-warn): Check late def of inlinable funs.
16061 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16062 since they should have been expanded by now.
16063 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16064 (byte-compile-from-buffer): Remove unused second arg.
16065 (byte-compile-preprocess): New function.
16066 (byte-compile-toplevel-file-form): New function to distinguish
16067 file-form calls from outside from file-form calls from hunk-handlers.
16068 (byte-compile-file-form): Simplify.
16069 (byte-compile-file-form-defsubst): Remove.
16070 (byte-compile-file-form-defmumble): Simplify now that
16071 byte-compile-lambda always returns a byte-code-function.
16072 (byte-compile): Preprocess.
16073 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16074 Remove, not used any more.
16075 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16076 (byte-compile-make-args-desc): New funs.
16077 (byte-compile-lambda): Handle lexical functions. Always return
16078 a byte-code-function.
16079 (byte-compile-reserved-constants): New var, to make up room for
16080 closed-over variables.
16081 (byte-compile-constants-vector): Obey it.
16082 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16083 (byte-compile-macroexpand-declare-function): New function.
16084 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16085 byte-code-functions.
16086 (byte-compile-form): Check obsolescence here.
16087 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16088 (byte-compile-variable-ref): Remove.
16089 (byte-compile-dynamic-variable-op): New fun.
16090 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16091 (byte-compile-variable-set): New funs.
16092 (byte-compile-discard): Add 2 args.
16093 (byte-compile-stack-ref, byte-compile-stack-set)
16094 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16095 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16096 macroexpand-all instead.
16097 (byte-compile-quote-form): Remove.
16098 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16099 (byte-compile-bind, byte-compile-unbind): New funs.
16100 (byte-compile-let): Handle let* and lexical binding.
16101 (byte-compile-let*): Remove.
16102 (byte-compile-catch, byte-compile-unwind-protect)
16103 (byte-compile-track-mouse, byte-compile-condition-case):
16104 Handle a new :fun-body form, used for lexical scoping.
16105 (byte-compile-save-window-excursion)
16106 (byte-compile-with-output-to-temp-buffer): Remove.
16107 (byte-compile-defun): Simplify.
16108 (byte-compile-stack-adjustment): New fun.
16109 (byte-compile-out): Use it.
16110 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16111
16112 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16113 handler any more.
16114
16115 * emacs-lisp/byte-opt.el: Use lexical binding.
16116 (byte-inline-lapcode): Remove (to bytecomp).
16117 (byte-compile-inline-expand): Pay attention to inlining to/from
16118 lexically bound code.
16119 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16120 any more.
16121 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16122 any more and don't call compiler-macros.
16123 (byte-compile-splice-in-already-compiled-code): Remove.
16124 (byte-code): Don't inline any more.
16125 (disassemble-offset): Receive `bytes' as argument rather than via
16126 dynamic scoping.
16127 (byte-compile-tag-number): Declare before first use.
16128 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16129 `return' even if make-spliceable.
16130 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16131 obsolete interactive-p.
16132 (byte-optimize-lapcode): Optimize new lap-codes.
16133 Don't trip up on new form of `byte-constant' lap code.
16134
16135 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16136
16137 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16138
16139 * custom.el (custom-initialize-default, custom-declare-variable):
16140 Use `defvar'.
16141
16142 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16143 New variables.
16144 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16145 (COMPILE_FIRST): Add macroexp and cconv.
16146 * makefile.w32-in: Mirror changes in Makefile.in.
16147
16148 * vc/cvs-status.el:
16149 * vc/diff-mode.el:
16150 * vc/log-edit.el:
16151 * vc/log-view.el:
16152 * vc/smerge-mode.el:
16153 * textmodes/bibtex-style.el:
16154 * textmodes/css-mode.el:
16155 * startup.el:
16156 * uniquify.el:
16157 * minibuffer.el:
16158 * newcomment.el:
16159 * reveal.el:
16160 * server.el:
16161 * mpc.el:
16162 * emacs-lisp/smie.el:
16163 * doc-view.el:
16164 * dired.el:
16165 * abbrev.el: Use lexical binding.
16166
16167 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16168
16169 * info.el (info-display-manual): New function.
16170
16171 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16172
16173 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16174
16175 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16176
16177 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16178 an entry for that server in rcirc-authinfo. (Bug#8385)
16179
16180 2011-03-31 Glenn Morris <rgm@gnu.org>
16181
16182 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16183
16184 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16185
16186 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16187
16188 * progmodes/python.el (python-default-interpreter)
16189 (python-python-command-args, python-jython-command-args)
16190 (python-which-shell, python-which-args, python-which-bufname)
16191 (python-file-queue, python-comint-output-filter-function)
16192 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16193 variables and functions.
16194
16195 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16196
16197 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16198 (completion-in-region-mode): New minor mode.
16199 (completion-in-region): Use it.
16200 (completion-in-region--data, completion-in-region-mode-map): New vars.
16201 (completion-in-region--postch): New function.
16202 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16203 New vars.
16204 (completion--capf-wrapper): New function.
16205 (completion-at-point): Use it to track well-behavedness of
16206 hook functions.
16207 (completion-help-at-point): New command.
16208
16209 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16210
16211 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16212 syntax class to search for whitespace on a single line
16213 (Message-ID: <4D938140.4030905@redhat.com>).
16214
16215 2011-03-30 Leo Liu <sdl.web@gmail.com>
16216
16217 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16218 New commands.
16219 (edit-abbrevs-map): Bind them here.
16220 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16221
16222 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16223
16224 * allout.el (allout-hide-by-annotation, allout-flag-region):
16225 Reduce possibility of overlay leakage by making them volatile.
16226
16227 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16228 hash is not shared between buffers. Mode initialization is
16229 responsible for giving it a useful starting value.
16230 (allout-item-span): Reduce possibility of overlay leakage by
16231 making them volatile.
16232 (allout-widgets-count-buttons-in-region): Add diagnostic function
16233 for tracking down button overlay leaks.
16234
16235 2011-03-29 Leo Liu <sdl.web@gmail.com>
16236
16237 * ido.el (ido-read-internal): Use the default history var
16238 minibuffer-history if no HISTORY is specified.
16239
16240 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16241
16242 * net/imap.el (imap-shell-open, imap-process-connection-type):
16243 Use imap-process-connection-type for 'shell' streams as well as
16244 Kerberos, SSL, other subprocesses.
16245
16246 2011-03-28 Leo Liu <sdl.web@gmail.com>
16247
16248 * abbrev.el (abbrev-table-empty-p): New function.
16249 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16250 nonempty ones. (Bug#5937)
16251
16252 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16253
16254 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16255
16256 2011-03-27 Leo Liu <sdl.web@gmail.com>
16257
16258 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16259 for foreground and background colors.
16260 (ansi-color-make-color-map): Adapt.
16261
16262 2011-03-25 Leo Liu <sdl.web@gmail.com>
16263
16264 * midnight.el (midnight-time-float): Remove. Note it calculates
16265 the microsecond component incorrectly and seconds-to-time does the
16266 same job.
16267 Remove redundant (require 'timer).
16268
16269 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16270 (ido-completions): Remove unused arguments. (Bug#8329)
16271
16272 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16273
16274 * minibuffer.el (completion--flush-all-sorted-completions):
16275 Remove itself from hook.
16276 (completion-at-point): Let the functions perform the completion
16277 immediately and return nil or t.
16278 * comint.el (comint-dynamic-complete-functions): Now identical to
16279 completion-at-point-functions.
16280 (comint-dynamic-list-input-ring): Remove unused var `index'.
16281 (comint--match-partial-filename, comint--unquote&expand-filename):
16282 New funs, split from comint-match-partial-filename.
16283 (comint-dynamic-complete): Use completion-at-point.
16284 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16285
16286 2011-03-24 Drew Adams <drew.adams@oracle.com>
16287
16288 * thingatpt.el: Support `defun'.
16289
16290 2011-03-23 Leo Liu <sdl.web@gmail.com>
16291
16292 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16293
16294 * help-mode.el (help-mode-finish): Tweak regexp.
16295
16296 2011-03-23 Glenn Morris <rgm@gnu.org>
16297
16298 * eshell/esh-opt.el (eshell-eval-using-options):
16299 Do not bind unused local variable `eshell-option-stub'.
16300
16301 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16302
16303 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16304
16305 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16306 keymap variable in `with-no-warnings' to avoid a warning when the
16307 keymap has been already `defconst'ed.
16308
16309 2011-03-22 Leo Liu <sdl.web@gmail.com>
16310
16311 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16312 encode all chars in abbrevs; otherwise use emacs-mule or
16313 utf-8-emacs. (Bug#8308)
16314
16315 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16316
16317 * simple.el (backward-delete-char-untabify):
16318 Avoid warning about using `delete-backward-char'.
16319
16320 * image.el (image-type-file-name-regexps): Make it variable.
16321 `imagemagick-register-types' modifies it, and the user may want
16322 to add new extensions for known image types.
16323 (imagemagick-register-types): Throw error if not using ImageMagick.
16324
16325 2011-03-22 Leo Liu <sdl.web@gmail.com>
16326
16327 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16328 located before rcirc-prompt-end-marker.
16329 (rcirc-complete): Error if point is not after rcirc prompt.
16330 Handle the case when table is nil.
16331 (rcirc-user-authenticated): Define to fix compiler warning.
16332
16333 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16334
16335 * custom.el (custom--inhibit-theme-enable): Make it affect only
16336 custom-theme-set-variables and custom-theme-set-faces.
16337 (provide-theme): Ignore custom--inhibit-theme-enable.
16338 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16339 (custom-enabling-themes): Delete variable.
16340 (enable-theme): Accept only loaded themes as arguments.
16341 Ignore the special custom-enabled-themes variable.
16342 (custom-enabled-themes): Forbid themes from setting this.
16343 Eliminate use of custom-enabling-themes.
16344 (custom-push-theme): Quote "changed" custom var entry.
16345
16346 2011-03-21 Leo Liu <sdl.web@gmail.com>
16347
16348 * ido.el (ido-read-internal): Add ido-selected to history instead
16349 of user input.
16350
16351 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16352
16353 * subr.el (deferred-action-list, deferred-action-function):
16354 Mark obsolete.
16355
16356 2011-03-21 Leo Liu <sdl.web@gmail.com>
16357
16358 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16359 change on 2011-02-13 (bug#8309).
16360
16361 * minibuffer.el (read-file-name-function): Change default value.
16362 (read-file-name--defaults): Rename from read-file-name-defaults.
16363 (read-file-name-default): Rename from read-file-name.
16364 (read-file-name): Call read-file-name-function.
16365
16366 2011-03-21 Glenn Morris <rgm@gnu.org>
16367
16368 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16369 Doc fixes.
16370
16371 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16372
16373 * cus-theme.el: Add missing provide statement.
16374 (customize-create-theme): Extract theme value correctly.
16375 (custom-theme-visit-theme): Autoload.
16376 (customize-create-theme): Prompt before inserting default faces.
16377
16378 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16379
16380 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16381 units and musical notes.
16382
16383 2011-03-20 Leo Liu <sdl.web@gmail.com>
16384
16385 * ido.el (ido-read-internal): Use completing-read-default.
16386 (ido-completing-read): Fix compatibility with completing-read.
16387
16388 2011-03-20 Christian Ohler <ohler@gnu.org>
16389
16390 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16391 (ert-delete-all-tests): Use `called-interactively-p' rather than
16392 `interactive-p'.
16393 (ert--make-xrefs-region): Respect END.
16394
16395 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16396
16397 * dired-aux.el (dired-create-directory): Signal an error if the
16398 directory already exists (Bug#8246).
16399
16400 * facemenu.el (list-colors-display): Call list-faces-display
16401 inside with-help-window.
16402 (list-colors-print): Use display property to align the final
16403 column, instead of checking window-width.
16404
16405 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16406
16407 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16408 windows-nt systems.
16409 (emerge-protect-metachars): Quote correctly for ms-dos and
16410 windows-nt systems.
16411
16412 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16413
16414 * info.el (info-initialize): Replace all uses of `:' with
16415 path-separator for compatibility with non-Unix systems.
16416 Cache quoting of path-separator. (Bug#8258)
16417
16418 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16419
16420 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16421 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16422 (mouse-avoidance-mode): Fix typos in docstrings.
16423
16424 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16425
16426 * startup.el (package-subdirectory-regexp): Move from package.el.
16427 Omit \\` and \\', and let callers add them.
16428
16429 * emacs-lisp/package.el (package-strip-version)
16430 (package-load-all-descriptors): Add \\` and \\' to
16431 package-subdirectory-regexp before using it.
16432 (package-untar-buffer): New arg DIR; ensure that file untars only
16433 into this expected directory. Remove superfluous delete-region.
16434 (package-unpack): Caller changed.
16435 (package-tar-file-info): Use package-subdirectory-regexp.
16436
16437 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16438
16439 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16440 diff-mode-shared-map (bug#8284).
16441 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16442
16443 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16444
16445 * calendar/time-date.el (format-seconds): Use assoc instead of
16446 assoc-string, since assoc-string doesn't exist in XEmacs.
16447
16448 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16449
16450 * custom.el (custom-known-themes): Reflow docstring.
16451 (custom-theme-load-path): Fix typo in docstring.
16452 (load-theme): Fix typo in error message.
16453 (custom-available-themes, custom-variable-theme-value):
16454 Use `let', not `let*'.
16455
16456 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16457
16458 * calc/README: Mention inclusion of musical notes.
16459
16460 * calc/calc-units.el (calc-lu-quant): Rename from
16461 `calc-logunits-quantity'.
16462 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16463 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16464 (calc-db): Rename from `calc-dblevel'.
16465 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16466 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16467 (calc-np): Rename from `calc-nplevel'.
16468 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16469 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16470 (calc-lu-plus): Rename from `calc-logunits-add'.
16471 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16472 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16473 (calc-lu-minus): Rename from `calc-logunits-sub'.
16474 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16475 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16476 (calc-lu-times): Rename from `calc-logunits-mul'.
16477 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16478 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16479 (calc-lu-divide): Rename from `calc-logunits-div'.
16480 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16481 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16482
16483 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16484 functions being autoloaded.
16485
16486 * calc/calc.el (calc-lu-power-reference): Rename from
16487 `calc-logunits-power-reference'.
16488 (calc-lu-field-reference): Rename from
16489 `calc-logunits-field-reference'.
16490
16491 * calc/calc-help.el (calc-l-prefix-help):
16492 Mention musical note functions.
16493
16494 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16495
16496 * minibuffer.el (completion-all-sorted-completions):
16497 Use :completion-cycle-penalty text property if present.
16498
16499 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16500
16501 * allout.el (allout-yank-processing): Adjust for new rebulleting
16502 regime so bullet being yanked is used without prompting the user
16503 for a choice.
16504
16505 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16506
16507 * startup.el (command-line): Warn the user that _emacs is deprecated.
16508
16509 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16510
16511 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16512 (delphi-verbose, delphi-comment-face, delphi-string-face)
16513 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16514 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16515 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16516 (delphi-new-comment-line, delphi-font-lock-defaults)
16517 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16518 Fix typos in docstrings.
16519
16520 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16521
16522 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16523 Invert the roles of character and string values for INSTEAD, so a
16524 string is used for the more common case of a defaulting prompt.
16525
16526 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16527
16528 * progmodes/ruby-mode.el (ruby-backward-sexp):
16529 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16530 * play/gamegrid.el (gamegrid-make-face):
16531 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16532 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16533 * notifications.el (notifications-notify):
16534 * net/xesam.el (xesam-search-engines):
16535 * net/quickurl.el (quickurl-list-insert):
16536 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16537
16538 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
16539
16540 * startup.el (command-line): Update package subdirectory regexp.
16541
16542 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16543
16544 * allout.el (allout-abbreviate-flattened-numbering)
16545 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16546
16547 * subr.el (read-char-choice): Only show the cursor after the prompt,
16548 not after the answer.
16549
16550 2011-03-15 Kevin Ryde <user42@zip.com.au>
16551
16552 * help-fns.el (variable-at-point): Skip leading quotes, if any
16553 (bug#8253).
16554
16555 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16556
16557 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16558 warning message.
16559
16560 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
16561
16562 * shell.el (shell): When called interactively, offer to change the
16563 shell file name on remote hosts.
16564
16565 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16566
16567 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16568 integration for LDAP parameters. The host, base, user or binddn,
16569 and secret tokens can be specified in a netrc file, for instance.
16570 This is optional because an `auth-source' parameter must be
16571 specified in the search attributes.
16572
16573 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
16574
16575 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16576
16577 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16578
16579 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16580 into declaration. Remove redundant and harmful binding.
16581
16582 2011-03-12 Eli Zaretskii <eliz@gnu.org>
16583
16584 * files.el (file-ownership-preserved-p): Pass `integer' as an
16585 explicit 2nd argument to `file-attributes'. If the file's owner
16586 is the Administrators group on Windows, and the current user is
16587 Administrator, consider that a match.
16588
16589 * server.el (server-ensure-safe-dir): Consider server directory
16590 safe on MS-Windows if its owner is the Administrators group while
16591 the current Emacs user is Administrator. Use `=' to compare
16592 numerical UIDs, since they could be integers or floats.
16593
16594 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
16595
16596 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16597
16598 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
16599
16600 Sync with Tramp 2.2.1.
16601
16602 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16603
16604 * net/trampver.el: Update release number.
16605
16606 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16607
16608 * progmodes/compile.el (compilation--previous-directory): Fix up
16609 various nil/dead-marker mismatches (bug#8014).
16610 (compilation-directory-properties, compilation-error-properties):
16611 Don't call it at a position past the one we're about to change.
16612
16613 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16614 Disable obsolescence warnings in the file that declares it.
16615
16616 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16617
16618 * allout-widgets.el (allout-widgets-tally):
16619 Initialize allout-widgets-tally as a hash table rather than nil to
16620 prevent mode-line redisplay warnings. Also, clarify the module
16621 description and fix a comment typo.
16622
16623 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
16624
16625 * help-fns.el (describe-variable): Don't complete keywords.
16626 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16627
16628 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
16629
16630 * emacs-lisp/package.el (package-version-join): Impose a standard
16631 string representation for pre/alpha/beta version lists.
16632 (package-unpack-single): Standardize the directory name by passing
16633 it through package-version-join.
16634 (package-strip-rcs-id): Accept any version string that does not
16635 signal an error in version-to-list.
16636
16637 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
16638
16639 * simple.el (delete-trailing-whitespace): Return nil for the
16640 benefit of `write-file-functions'.
16641
16642 2011-03-10 Glenn Morris <rgm@gnu.org>
16643
16644 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16645
16646 * vc/vc-git.el (vc-git-program): New option.
16647 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16648 (vc-git--call): Use it.
16649
16650 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16651
16652 * cus-edit.el (Custom-newline): If no button at point, look
16653 for a subgroup button at start-of-line. (Bug#2298)
16654
16655 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16656
16657 2011-03-10 Julien Danjou <julien@danjou.info>
16658
16659 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16660 `cursor-type' is nil.
16661
16662 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16663
16664 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16665
16666 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16667
16668 * allout.el: Change so yank of distinctive-bullet items
16669 preserves the existing header prefix, rebulleting it if necessary,
16670 rather than replacing it. This is necessary for proper operation
16671 of cooperative addons like allout-widgets.
16672 (allout-make-topic-prefix, allout-rebullet-heading):
16673 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16674 value as alternate bullet to be used, instead of prompting the user
16675 for a bullet character.
16676
16677 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16678
16679 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16680 Do not use `tramp-file-name-port', because this returns also
16681 `tramp-default-port'.
16682
16683 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16684
16685 * net/rcirc.el (rcirc-handler-001): Remove useless
16686 with-rcirc-process-buffer.
16687 (rcirc-check-auth-status): Swap arguments to string-match.
16688
16689 2011-03-09 Glenn Morris <rgm@gnu.org>
16690
16691 * shell.el (shell-mode):
16692 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16693
16694 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16695 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16696
16697 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16698
16699 * emacs-lisp/package.el (package-refresh-contents)
16700 (package-menu-execute): Use condition-case-no-debug.
16701
16702 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16703
16704 * simple.el (shell-command-to-string): Use `process-file'.
16705
16706 * emacs-lisp/package.el (package-tar-file-info): Handle also
16707 remote files.
16708
16709 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16710 Use `equal' for upload base check.
16711
16712 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16713
16714 * textmodes/texinfo.el (texinfo-environments):
16715 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16716
16717 2011-03-08 Glenn Morris <rgm@gnu.org>
16718
16719 * cus-start.el (cursor-in-non-selected-windows):
16720 Fix :set quoting oddness. (Bug#8192)
16721
16722 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16723 in some setf expressions. (Bug#2159)
16724
16725 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16726
16727 * custom.el (custom-available-themes): Return themes in
16728 alphabetical order.
16729
16730 See ChangeLog.15 for earlier changes.
16731
16732 ;; Local Variables:
16733 ;; coding: utf-8
16734 ;; End:
16735
16736 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16737
16738 This file is part of GNU Emacs.
16739
16740 GNU Emacs is free software: you can redistribute it and/or modify
16741 it under the terms of the GNU General Public License as published by
16742 the Free Software Foundation, either version 3 of the License, or
16743 (at your option) any later version.
16744
16745 GNU Emacs is distributed in the hope that it will be useful,
16746 but WITHOUT ANY WARRANTY; without even the implied warranty of
16747 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16748 GNU General Public License for more details.
16749
16750 You should have received a copy of the GNU General Public License
16751 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.