]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
[gnu-emacs] / lisp / ChangeLog
1 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2
3 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4 * emulation/viper-init.el (viper-deactivate-input-method-action):
5 Rename from viper-inactivate-input-method-action.
6 (viper-deactivate-input-method):
7 Rename from viper-inactivate-input-method.
8 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9 * international/mule-cmds.el (deactivate-input-method):
10 Rename from inactivate-input-method.
11 Also run input-method-deactivate-hook.
12 (deactivate-current-input-method-function):
13 Rename from inactivate-current-input-method-function.
14 (input-method-deactivate-hook): New hook.
15 (input-method-inactivate-hook): Mark obsolete.
16 * international/quail.el (quail-activate):
17 Also run quail-deactivate-hook.
18 (quail-deactivate): Rename from quail-inactivate.
19 * international/robin.el (robin-activate):
20 Also run robin-deactivate-hook.
21 (robin-deactivate): Rename from robin-inactivate.
22
23 2012-07-29 Chong Yidong <cyd@gnu.org>
24
25 * simple.el (indicate-copied-region): New function.
26 (kill-ring-save): Split off from here.
27
28 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
29 (kill-rectangle): Set deactivate-mark to t on read-only error.
30
31 * register.el (copy-to-register, copy-rectangle-to-register):
32 Deactivate the mark, and use indicate-copied-region (Bug#10056).
33 (append-to-register, prepend-to-register): Call
34
35 2012-07-29 Juri Linkov <juri@jurta.org>
36
37 * simple.el (async-shell-command-buffer): New defcustom.
38 (shell-command): Use it. (Bug#4719)
39
40 2012-07-28 Eli Zaretskii <eliz@gnu.org>
41
42 * international/mule-cmds.el (set-locale-environment): In a
43 console session on MS-Windows, set up keyboard and terminal
44 encoding from the OEM codepage, not the ANSI codepage.
45 (Bug#12055)
46
47 2012-07-28 Chong Yidong <cyd@gnu.org>
48
49 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
50 gdb-get-location.
51
52 2012-07-25 Leo Liu <sdl.web@gmail.com>
53
54 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
55 the alist (bug#12029).
56
57 2012-07-28 Eli Zaretskii <eliz@gnu.org>
58
59 * makefile.w32-in (custom-deps, finder-data, updates, compile)
60 (compile-always, compile-first)
61 ($(lisp)/calendar/cal-loaddefs.el)
62 ($(lisp)/calendar/diary-loaddefs.el)
63 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
64 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
65 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
66 instead of on update-subdirs.
67 (bootstrap-clean): Delete $(lisp)/subdirs.el.
68
69 2012-07-28 Chong Yidong <cyd@gnu.org>
70
71 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
72 directory if vc-deduce-backend returns nil (Bug#7350).
73
74 * simple.el (delete-trailing-lines): New option.
75 (delete-trailing-whitespace): Obey it (Bug#11879).
76
77 2012-07-28 David Engster <deng@randomsample.de>
78
79 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
80 Explanation of new 'symbol-qnames feature in doc-strings.
81 (xml-maybe-do-ns): Return expanded names as plain symbols if
82 'symbol-qnames was provided in XML-NS argument (Bug#11916).
83 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
84
85 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
86
87 Consistent completion in inferior python with emacs -nw.
88 * progmodes/python.el (inferior-python-mode): replace "<tab>"
89 binding in inferior-python-mode-map with "\t".
90 (python-shell-completion-complete-at-point)
91 (python-completion-complete-at-point): Remove interactive spec.
92
93 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
94
95 * calc/calccomp.el (math-compose-expr): Undo previous change.
96
97 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
98
99 * progmodes/python.el (python-mode-map): Added keybinding for
100 run-python.
101 (python-shell-make-comint): Fix pop-to-buffer call.
102 (run-python): Autoload. New arg SHOW.
103 (python-shell-get-or-create-process): Do not pop python process
104 buffer.
105
106 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
107
108 * notifications.el (notifications-on-action-signal)
109 (notifications-on-closed-signal): Use also the bus address for the map.
110 (notifications-notify, notifications-close-notification)
111 (notifications-get-capabilities): Add optional argument BUS.
112
113 2012-07-27 Tassilo Horn <tsdh@gnu.org>
114
115 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
116 support for the lstlisting and minted environments, and for the
117 ctable macro.
118 * textmodes/reftex.el (reftex-compile-variables): Also recognize
119 labels written in keyvals syntax.
120
121 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
122
123 * calc/calccomp.el (math-compose-expr): Use parentheses when
124 there is a product in the denominator of a fraction.
125
126 2012-07-26 Eli Zaretskii <eliz@gnu.org>
127
128 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
129 ($(lisp)/calendar/diary-loaddefs.el)
130 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
131 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
132 failures in parallel bootstrap because subdirs.el is being
133 rewritten while the autoload files are built at the same time,
134 which needs to load subdirs.el.
135
136 2012-07-26 Martin Rudalics <rudalics@gmx.at>
137
138 * mouse.el (popup-menu): Fix doc-string and re-indent code.
139 (mouse-drag-line): Don't exit tracking when a switch-frame or
140 switch-window event occurs (Bug#12006).
141
142 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * mouse.el (popup-menu): Fix last change.
145
146 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 Autoload from Lisp with more care. Follow aliases when looking for
149 function properties.
150 * subr.el (autoloadp): New function.
151 (symbol-file): Use it.
152 (function-get): New function.
153 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
154 autoload-do-load.
155 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
156 (lisp-indent-function):
157 * emacs-lisp/gv.el (gv-get):
158 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
159 * emacs-lisp/byte-opt.el (byte-optimize-form):
160 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
161 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
162 Use function-get.
163 * emacs-lisp/cl.el: Don't propagate function properties any more.
164
165 * speedbar.el (speedbar-add-localized-speedbar-support):
166 * emacs-lisp/disass.el (disassemble-internal):
167 * desktop.el (desktop-load-file):
168 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
169 (describe-function-1):
170 * emacs-lisp/find-func.el (find-function-noselect):
171 * emacs-lisp/elp.el (elp-instrument-function):
172 * emacs-lisp/advice.el (ad-has-proper-definition):
173 * apropos.el (apropos-safe-documentation, apropos-macrop):
174 * emacs-lisp/debug.el (debug-on-entry):
175 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
176 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
177 * calc/calc.el (name): Use autoloadp & autoload-do-load.
178
179 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
180
181 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
182 function, not an obsolete variable (Bug#12046).
183
184 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
185
186 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
187
188 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
189
190 * emacs-lisp/pp.el (pp-display-expression): Select old selected
191 window only if it is still live (Bug#12034).
192
193 2012-07-25 Martin Rudalics <rudalics@gmx.at>
194
195 * subr.el (redirect-frame-focus): Add advertised calling
196 convention (Bug#12030).
197
198 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
199
200 Prefer typical American spelling for "acknowledgment".
201 * vc/add-log.el (change-log-acknowledgment): Rename from
202 change-log-acknowledgement, with an alias for the old name.
203
204 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
205
206 * calc-alg.el (math-simplify-divide): Don't cross multiply
207 in an equation when the lhs is a variable.
208
209 2012-07-24 Julien Danjou <julien@danjou.info>
210
211 * net/netrc.el (netrc-find-service-number, netrc-store-data):
212 Remove, unused.
213
214 2012-07-23 Eli Zaretskii <eliz@gnu.org>
215
216 * startup.el (command-line): Don't display an empty user name in
217 the error message about non-existent home directory, when
218 init-file-user was set to an empty string. See
219 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
220 for the details and context.
221
222 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
223
224 * ses.el (ses-cell-formula-aset): New macro.
225 (ses-cell-references-aset): New macro.
226 (ses-cell-p): New function.
227 (ses-rename-cell): Do no longer rely on complex operations like
228 ses-cell-set-formula or ses-set-cell to change the cell and handle
229 the undo at the same time, but rather use lower level new macros
230 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
231 the undo directly. Refresh the mode line.
232
233 2012-07-21 Leo Liu <sdl.web@gmail.com>
234
235 * progmodes/cc-cmds.el (c-defun-name):
236 Use match-string-no-properties instead for consistency.
237
238 2012-07-20 Leo Liu <sdl.web@gmail.com>
239
240 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
241 (Bug#7879)
242
243 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
244
245 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
248 * progmodes/bug-reference.el, misearch.el: Provide themselves
249 (bug#11915).
250
251 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
252 of narrowed buffer (bug#11966).
253
254 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
255
256 * ses.el (ses-rename-cell): Set new name also in reference list of
257 cells of which the renamed cell depends.
258
259 2012-07-20 Masatake YAMATO <yamato@redhat.com>
260
261 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
262 to check whether menu-bar is shown or not. If not shown,
263 show the menu-bar as a popup menu instead of using tmm.
264 * mouse.el (popup-menu): Accept `point' as `position' argument.
265
266 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
267
268 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
269 up inside string symbol literal (bug#11923).
270
271 2012-07-20 Eli Zaretskii <eliz@gnu.org>
272
273 * startup.el (fancy-startup-text): Read the whole tutorial, not
274 just its first 256 bytes. Prevents gibberish in display of the
275 tutorial title.
276
277 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
278
279 Drop idle buffer compaction due to an absence of the
280 proved efficiency.
281 * compact.el: Remove.
282
283 2012-07-19 Sam Steingold <sds@gnu.org>
284
285 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
286 vc-bzr-pull & vc-bzr-merge-branch.
287 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
288 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
289 for consistency with compilation-error-regexp-alist.
290 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
291 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
292 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
293 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
294
295 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * emacs-lisp/chart.el: Use lexical-binding.
298 (chart-emacs-storage): Don't hardcode the list of entries.
299
300 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
301
302 Next round of tweaks caused by Fgarbage_collect changes.
303 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
304
305 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
306
307 Compact buffers when idle.
308 * compact.el: New file.
309
310 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * subr.el (eventp): Presume that if it looks vaguely like an event,
313 it's an event (bug#10190).
314
315 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
316
317 Enhancements to ppss related code (thanks Stefan).
318 * progmodes/python.el (python-indent-context)
319 (python-indent-calculate-indentation, python-indent-dedent-line)
320 (python-indent-electric-colon, python-nav-forward-block)
321 (python-mode-abbrev-table)
322 (python-info-assignment-continuation-line-p): Simplify checks
323 for ppss context.
324 (python-info-continuation-line-p): Cleanup.
325 (python-info-ppss-context): Do not catch 'quote.
326 (python-info-ppss-context-type)
327 (python-info-ppss-comment-or-string-p): Simplify.
328
329 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
330
331 * progmodes/python.el: Enhancements to eldoc support.
332 (python-info-current-symbol): New function.
333 (python-eldoc-at-point): Use python-info-current-symbol.
334 (python-info-current-defun): Fix cornercase on first defun scan.
335 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
336 and signal error when no inferior python process is available.
337
338 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
339
340 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
341 assume it's always t.
342 (vc-git-registered): Remove caching, the function is only called
343 once.
344 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
345
346 2012-07-18 Chong Yidong <cyd@gnu.org>
347
348 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
349
350 * simple.el (count-words): Report on narrowing (Bug#9959).
351
352 * bindings.el: Bind M-= to count-words.
353
354 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
355
356 2012-07-18 Masatake YAMATO <yamato@redhat.com>
357
358 * progmodes/sh-script.el (sh-imenu-generic-expression):
359 Capture a function with `function' keyword and without parentheses
360 like "function FOO" (bug#11856).
361
362 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
363
364 * window.el (split-window-sensibly): Make WINDOW argument
365 optional.
366
367 2012-07-18 Chong Yidong <cyd@gnu.org>
368
369 * subr.el (keyboard-translate): Doc fix (Bug#7261).
370
371 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
372 and make C-x 8 RET exit isearch (Bug#11439).
373
374 * international/iso-transl.el: Move isearch-mode-map key
375 definitions to isearch.el.
376
377 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
380 (eieio-defclass): Use gv-define-setter when possible.
381
382 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
383
384 Reflect recent changes in Fgarbage_collect.
385 * emacs-lisp/chart.el (chart-emacs-storage): Change to
386 reflect new format of data returned by Fgarbage_collect.
387
388 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
389
390 New utility functions + python-info-ppss-context fix (Bug#11910).
391 * progmodes/python.el (python-info-beginning-of-block-statement-p)
392 (python-info-ppss-comment-or-string-p): New functions.
393 (python-info-ppss-context): Small fix for string check.
394
395 2012-07-17 Juri Linkov <juri@jurta.org>
396
397 * dired-aux.el (dired-do-async-shell-command): Doc fix.
398 (dired-do-async-shell-command): Don't add `*' at the end of the
399 command (Bug#11815).
400 (dired-do-shell-command): Doc fix.
401 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
402 Join the individual commands using either "&" or ";" as the
403 separator depending on the values of these trailing characters.
404 At the end re-add the trailing "&". (Bug#10598)
405
406 * simple.el (async-shell-command): Sync the interactive spec with
407 `shell-command'. Doc fix.
408 (shell-command): Doc fix.
409
410 2012-07-17 Juri Linkov <juri@jurta.org>
411
412 * descr-text.el (describe-char): Fix format args. (Bug#10129)
413
414 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
415
416 Final renames and doc fixes for movement commands (bug#11899).
417 * progmodes/python.el (python-nav-beginning-of-statement):
418 Rename from python-nav-statement-start.
419 (python-nav-end-of-statement): Rename from
420 python-nav-statement-end.
421 (python-nav-beginning-of-block): Rename from
422 python-nav-block-start.
423 (python-nav-end-of-block): Rename from python-nav-block-end.
424
425 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
426
427 * progmodes/python.el (python-shell-send-string-no-output):
428 Allow accept-process-output to quit, keeping shell process ready for
429 future interactions (Bug#11868).
430
431 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
434
435 * emacs-lisp/elint.el (elint-find-args-in-code):
436 Use help-function-arglist, so as to handle lexical byte-code.
437
438 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
439 change (bug#11826).
440
441 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
442
443 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
444 Avoid spuriously marking the buffer as modified because of c-is-sws.
445
446 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
447 as not-a-comment (bug#11946).
448
449 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
450 for uninterned vars.
451
452 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
453 Use read-event since we don't really want to read chars but bytes.
454
455 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
456 $$..$$ but also $..$ using regexps (bug#11953).
457 Use tex-verbatim for \url and \path.
458 (tex-font-lock-keywords): Define as defconst like the others.
459 (tex-common-initialization): Don't use font-lock-syntax-table any more.
460
461 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
462
463 * international/mule-cmds.el (ucs-insert): Make it an obsolete
464 alias for insert-char.
465
466 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
467
468 * progmodes/python.el: Simplified imenu implementation.
469 (python-nav-jump-to-defun): Remove command.
470 (python-mode-map): Use `imenu' instead.
471 (python-nav-list-defun-positions-cache)
472 (python-imenu-include-defun-type, python-imenu-make-tree)
473 (python-imenu-subtree-root-label, python-imenu-index-alist):
474 Remove vars.
475 (python-nav-list-defun-positions, python-nav-read-defun)
476 (python-imenu-tree-assoc, python-imenu-make-element-tree)
477 (python-imenu-make-tree, python-imenu-create-index):
478 Remove functions.
479 (python-mode): Update to interact with imenu by setting
480 `imenu-extract-index-name-function' only.
481
482 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
483
484 * progmodes/python.el: Enhancements to navigation commands.
485 (python-nav-backward-sentence)
486 (python-nav-forward-sentence): Remove.
487 (python-nav-backward-statement, python-nav-forward-statement)
488 (python-nav-statement-start, python-nav-statement-end)
489 (python-nav-backward-block, python-nav-forward-block)
490 (python-nav-block-start, python-nav-block-end)
491 (python-nav-forward-sexp-function)
492 (python-info-current-line-comment-p)
493 (python-info-current-line-empty-p): New functions.
494 (python-indent-context): Use `python-nav-statement-start'.
495
496 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
497
498 * eshell/em-ls.el (eshell/ls): Use `apply'.
499
500 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
501 multi-hops, instead of Tramp internals.
502
503 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
504
505 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
506 when F1 and F2 are located on different hosts.
507
508 2012-07-14 Chong Yidong <cyd@gnu.org>
509
510 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
511 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
512 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
513 (xterm-mouse--read-event-sequence-1000)
514 (xterm-mouse--read-event-sequence-1006): New functions. For old
515 mouse protocol, handle M-mouse-X events correctly.
516 (xterm-mouse-event): New arg specifying mouse protocol.
517 (turn-on-xterm-mouse-tracking-on-terminal)
518 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
519 sequence to toggle extended coordinates on newer XTerms.
520 This appears to be harmless on terminals which do not support this.
521
522 2012-07-14 Leo Liu <sdl.web@gmail.com>
523
524 Add fringe bitmap indicators for flymake. (Bug#11253)
525 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
526 (flymake-make-overlay): New arg BITMAP.
527 (flymake-error-bitmap, flymake-warning-bitmap)
528 (flymake-fringe-indicator-position): New user variables.
529
530 * fringe.el: New bitmap exclamation-mark.
531
532 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
533
534 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
535 also (Bug#7879).
536
537 2012-07-14 Chong Yidong <cyd@gnu.org>
538
539 * electric.el (electric-pair-post-self-insert-function): Fix pair
540 insertion in empty-region case (Bug#11520).
541
542 2012-07-14 Chong Yidong <cyd@gnu.org>
543
544 * bindings.el: Consolidate ctl-x-r-map bindings.
545 Bind copy-rectangle-as-kill to C-x r w.
546
547 * rect.el, register.el: Move bindings to bindings.el.
548
549 2012-07-14 Reuben Thomas <rrt@sc3d.org>
550
551 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
552
553 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
554
555 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
556
557 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
558
559 * bindings.el (top): Use `mapc' instead of `mapcar'.
560
561 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
562
563 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
564
565 * progmodes/sql.el (sql-comint): Suppress the check for program on
566 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
567 (Bug#11908)
568
569 2012-07-13 Chong Yidong <cyd@gnu.org>
570
571 * bindings.el: Assign a non-nil permanent-local property to
572 per-buffer variables which lack a default value (Bug#11930).
573
574 * help-fns.el (describe-variable): In the "automatically becomes
575 local" notice, take note of permanent-local variables.
576
577 2012-07-13 Chong Yidong <cyd@gnu.org>
578
579 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
580 to allow printing the message when called from Lisp.
581
582 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
583 Remove toggle-read-only.
584
585 * bs.el (bs-toggle-readonly):
586 * buff-menu.el (Buffer-menu-toggle-read-only):
587 Remove with-no-warnings around toggle-read-only.
588
589 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
590 Remove with-no-warnings around toggle-read-only.
591 (ffap-read-only, ffap-read-only-other-window)
592 (ffap-read-only-other-frame): Callers changed.
593
594 * help-mode.el: Don't require view package.
595 (help-mode-finish): Set buffer-read-only instead of calling
596 toggle-read-only.
597
598 * bindings.el (mode-line-toggle-read-only):
599 * dired.el (dired-toggle-read-only):
600 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
601 with non-nil second arg.
602
603 * emacs-lisp/eieio-custom.el (eieio-customize-object):
604 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
605 directly.
606
607 2012-07-12 Eli Zaretskii <eliz@gnu.org>
608
609 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
610 not incf.
611
612 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 More CL cleanups and reduction of use of cl.el.
615 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
616 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
617 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
618 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
619 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
620 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
621 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
622 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
623 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
624 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
625 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
626 * eshell/em-cmpl.el, eshell/em-banner.el:
627 * calendar/parse-time.el: Use cl-lib.
628 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
629 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
630 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
631 * term/ns-win.el, term.el, shell.el, ps-samp.el:
632 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
633 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
634 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
635 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
636 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
637 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
638 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
639 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
640 `lambda' rather than with `quote'.
641 (eshell-do-opt): Adjust accordingly.
642 (eshell-process-option): Simplify.
643 * eshell/esh-var.el:
644 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
645 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
646 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
647 to `pcase--dontcare'.
648 * emacs-lisp/cl.el (labels): Mark obsolete.
649 (cl--letf, letf): Move to cl-lib.
650 (cl--letf*, letf*): Remove.
651 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
652 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
653 (cl-progv): Rewrite.
654 (cl--letf, cl-letf): Move from cl.el.
655 (cl-letf*): New macro.
656 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
657
658 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
659
660 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
661
662 2012-07-11 Chong Yidong <cyd@gnu.org>
663
664 * vc/log-edit.el (log-edit-vc-backend): New variable.
665 (log-edit): Doc fix.
666
667 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
668 argument of log-edit to set up all local variables.
669 (vc-start-logentry): New optional arg specifying VC backend.
670
671 * vc/vc.el (vc-checkin): Use it.
672 (vc-deduce-fileset): Handle Log Edit buffers.
673 (vc-diff): Make first argument optional too.
674
675 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
676
677 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
678
679 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
680 command, just in case. The function is not needed anymore.
681 (eshell-external-command): Do not call `eshell-remote-command'.
682
683 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 Reduce use of (require 'cl).
686 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
687 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
688 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
689 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
690 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
691 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
692 * battery.el, avoid.el, abbrev.el: Use cl-lib.
693 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
694 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
695 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
696 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
697 * calculator.el, autorevert.el, apropos.el: Don't require CL.
698 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
699 (byte-compile-unfold-bcf, byte-compile-check-variable):
700 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
701 (byte-compile-nilconstp):
702 * emacs-lisp/autoload.el (make-autoload): Use pcase.
703 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
704
705 * emacs-lisp/gv.el (cond): Make it a valid place.
706 (if): Simplify slightly.
707
708 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
709 (pcase--self-quoting-p): New function.
710 (pcase--u1): Use it.
711
712 2012-07-10 Glenn Morris <rgm@gnu.org>
713
714 * emacs-lisp/authors.el (authors-fixed-entries):
715 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
716
717 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
718
719 Rename configure.in to configure.ac (Bug#11603).
720 * emacs-lisp/authors.el (authors-canonical-file-name):
721 * progmodes/autoconf.el (autoconf-mode):
722 Prefer configure.ac to configure.in.
723
724 2012-07-08 Chong Yidong <cyd@gnu.org>
725
726 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
727 Implement the mouse-1-click-follows-link handling properly.
728
729 * info.el (Info-link-keymap): Use follow-link mechanism for
730 header-line links (Bug#374).
731
732 * simple.el (deactivate-mark): Do not set the primary selection
733 if another program has acquired it (Bug#11772).
734
735 2012-07-07 Kevin Ryde <user42@zip.com.au>
736
737 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
738 (woman-decode-region): Replace escaped-escapes without destroying
739 bold or underline (Bug#11552).
740 (woman2-process-escapes): Handle nofill regions (Bug#11591).
741
742 2012-07-07 Chong Yidong <cyd@gnu.org>
743
744 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
745 (interprogram-cut-function, interprogram-paste-function):
746 Mention that we typically mean the clipboard.
747
748 2012-07-06 Glenn Morris <rgm@gnu.org>
749
750 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
751
752 * files.el (toggle-read-only): Restrict message to interactive use.
753
754 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
755
756 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
757
758 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
759
760 2012-07-06 Glenn Morris <rgm@gnu.org>
761
762 * Makefile.in (compile-one-process): Rename from "recompile".
763
764 * Makefile.in (bzr-update): "compile" is the same as "recompile
765 autoloads", but parallelizable, so use that instead.
766
767 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
768
769 * window.el (quit-window): Always restore window height when
770 it's saved in quit-restore parameter (Bug#11810).
771
772 2012-07-06 Glenn Morris <rgm@gnu.org>
773
774 * simple.el (kill-whole-line): Doc tweak.
775
776 2012-07-06 Eli Zaretskii <eliz@gnu.org>
777
778 * files.el (file-relative-name): Compare file names
779 case-insensitively if on MS-Windows or MS-DOS, or if
780 read-file-name-completion-ignore-case is non-nil. Don't use
781 case-fold-search for this purpose. (Bug#11827)
782
783 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
784
785 * calendar/cal-dst.el (calendar-current-time-zone):
786 Return calendar-current-time-zone-cache if non-nil.
787
788 2012-07-17 Masatake YAMATO <yamato@redhat.com>
789 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
790
791 * calendar/cal-dst.el (calendar-current-time-zone):
792 Return calendar-current-time-zone-cache if non-nil.
793
794 2012-07-06 Glenn Morris <rgm@gnu.org>
795
796 * Makefile.in (cvs-update): Remove old alias.
797
798 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
799
800 Sync with Tramp 2.2.6-pre.
801
802 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
803 compatible declaration.
804
805 * net/tramp-cmds.el (tramp-append-tramp-buffers):
806 Protect `list-load-path-shadows' call.
807
808 * net/tramp-compat.el (top): Require packages, which aren't
809 autoloaded anymore for XEmacs. Protect call of
810 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
811 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
812 it hurts at least for SXEmacs.
813 (tramp-compat-temporary-file-directory): In XEmacs, there is no
814 standard-value for `temporary-file-directory'.
815
816 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
817 Redirect stderr to /dev/null.
818 (tramp-sh-handle-write-region): uid and gid can be floats.
819 Reported by Russell Sim <russell.sim@gmail.com>.
820 (tramp-sh-handle-vc-registered): Hide errors.
821 (tramp-vc-file-name-handler): Use dummy results for `process-file'
822 and `start-file-process'.
823 (tramp-maybe-open-connection): Check also whether `non-essential'
824 is bound.
825
826 2012-07-04 Chong Yidong <cyd@gnu.org>
827
828 * xml.el (xml--parse-buffer): Use xml-syntax-table.
829 (xml-parse-tag): Likewise, and avoid changing entity tables.
830 (xml-syntax-table): Define from scratch, making sure not to give
831 x2000 and other Unicode spaces whitespace syntax, since those are
832 not spaces in XML.
833 (xml-parse-fragment): Delete unused function.
834 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
835 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
836 (xml-entity-ref, xml-pe-reference-re)
837 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
838 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
839 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
840 (xml-entity-value-re): Use syntax references in regexps where
841 possible; no need to define inside a let-binding.
842 (xml-parse-dtd): Use xml-pe-reference-re.
843 (xml-entity-or-char-ref-re): New defconst.
844 (xml-parse-string, xml-substitute-special): Use it.
845
846 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * files.el (locate-dominating-file): Allow `name' to be a predicate.
849 (find-file--read-only): New function.
850 (find-file-read-only, find-file-read-only-other-window)
851 (find-file-read-only-other-frame): Use it.
852 (insert-file-contents-literally): Don't `fset'.
853 (get-free-disk-space): Use locate-dominating-file.
854
855 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
856 function is already compiled.
857
858 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
859
860 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
861
862 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
863 files on the same host.
864
865 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
866
867 * help-fns.el (describe-function-1): Only call
868 help-fns--autoloaded-p when we have a file name. (Bug#11848)
869
870 2012-07-03 Chong Yidong <cyd@gnu.org>
871
872 * xml.el: Protect parser against XML bombs.
873 (xml-entity-expansion-limit): New variable.
874 (xml-parse-string, xml-substitute-special): Use it.
875 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
876
877 2012-07-03 Glenn Morris <rgm@gnu.org>
878
879 * progmodes/bug-reference.el (bug-reference-bug-regexp):
880 Allow linking to specific messages in debbugs reports (eg 123#5).
881
882 2012-07-02 Chong Yidong <cyd@gnu.org>
883
884 * xml.el: Fix entity and character reference expansion, allowing
885 them to expand into markup as per XML spec.
886 (xml-default-ns): New variable.
887 (xml-entity-alist): Use XML spec definitions for lt and amp.
888 (xml-parse-region): Make first two arguments optional.
889 Discard text properties.
890 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
891 All callers changed.
892 (xml-parse-tag): Call xml-parse-tag-1. For backward
893 compatibility, this function should not modify buffer contents.
894 (xml-parse-tag-1): Fix opening-tag regexp.
895 (xml-parse-string): Rewrite, handling entity and character
896 references properly.
897 (xml--entity-replacement-text): Signal an error if a parameter
898 entity is undefined.
899
900 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * comint.el (comint-output-filter): Filter out repeated prompts.
903
904 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
905 and file-name-absolute-p.
906 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
907 internal calls.
908
909 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
910
911 Spelling fixes.
912 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
913 Rename from byte-compile--refiy-function. All uses changed.
914
915 2012-07-01 Chong Yidong <cyd@gnu.org>
916
917 * xml.el (xml--parse-buffer): New function. Move most of
918 xml-parse-region here.
919 (xml-parse-region): Copy region into a temporary buffer, since
920 parameter entity substitution requires changing buffer contents.
921 Use xml--parse-buffer.
922 (xml-parse-file): Use xml--parse-buffer.
923 (xml-parse-dtd): Make parameter entity substitution work right.
924 Use proper regexps for ELEMENT declarations (Bug#7172).
925
926 2012-06-30 Glenn Morris <rgm@gnu.org>
927
928 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
929
930 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
931 Remove outdated and unnecessary dbus declarations.
932
933 2012-06-30 Eli Zaretskii <eliz@gnu.org>
934
935 * emacs-lisp/timer.el (timer-until): Subtract results of
936 float-time, instead of taking float-time of the result of
937 time-subtract, since float-time signals an error for negative time
938 arguments.
939
940 2012-06-30 Chong Yidong <cyd@gnu.org>
941
942 * xml.el (xml-*-re): Convert defvars into defconsts, and
943 eval-and-compile them so eval-and-compile works on derivatives.
944 (xml--entity-replacement-text): Use eval-and-comple.
945
946 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
947
948 * vc/vc-git.el (vc-git-registered): Use cache property
949 `git-registered'.
950 (vc-git-mode-line-string): Call `vc-working-revision' instead of
951 `vc-git-working-revision' in order to benefit from the cache.
952 (vc-git-root): Use cache property `git-root'. (Bug#11757)
953
954 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
955
956 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
957 removed (likely outside Emacs). (Bug#11757)
958
959 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * emacs-lisp/cl-lib.el: Require macroexp.
962
963 2012-06-30 Chong Yidong <cyd@gnu.org>
964
965 * xml.el: Implement XML parameter entities.
966 (xml-parameter-entity-alist): New variable.
967 (xml-parse-region, xml-parse-fragment): Preserve previous values
968 of xml-entity-alist and xml-parameter-entity-alist, so that
969 repeated calls on different documents do not change them.
970 (xml-parse-tag): Fix doctype regexp.
971 (xml--entity-replacement-text): New function.
972 (xml-parse-dtd): Use it. Don't handle system entities; doing that
973 properly requires url retrieval which is unimplemented.
974 (xml-escape-string): Doc fix.
975
976 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
979
980 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
981
982 * fringe.el (fringe-mode): Doc fix.
983
984 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
985
986 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
987 is non-nil.
988 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
989 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
990
991 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
992
993 * calendar/cal-dst.el (calendar-current-time-zone):
994 Return calendar-current-time-zone-cache if non-nil.
995
996 2012-06-29 Masatake YAMATO <yamato@redhat.com>
997
998 * progmodes/which-func.el (which-func-format):
999 Add mouse-face. (Bug#11698)
1000
1001 2012-06-29 Leo Liu <sdl.web@gmail.com>
1002
1003 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1004
1005 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * minibuffer.el (minibuffer-confirm-exit-commands):
1008 Add completion-at-point (bug#11725).
1009
1010 2012-06-29 Glenn Morris <rgm@gnu.org>
1011
1012 * progmodes/f90.el (f90-font-lock-keywords-2):
1013 Add some preprocessor elements. (Bug#10499)
1014
1015 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1016
1017 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1018 Use syntax-propertize (bug#11739).
1019
1020 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1021
1022 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1023
1024 2012-06-28 Julien Danjou <julien@danjou.info>
1025
1026 * term.el (term-handle-colors-array): Use a set of new faces to
1027 color the terminal. Also uses :inverse-video property.
1028 (term-default-fg-color): Set to nil by default, deprecate in favor
1029 of `term-face'.
1030 (term-default-bg-color): Set to nil by default, deprecate in favor
1031 of `term-face'.
1032 (term-current-face): Use `term-face' by default.
1033 (term-bold-attribute): Variable deleted.
1034
1035 2012-06-28 Glenn Morris <rgm@gnu.org>
1036
1037 * simple.el (completion-list-mode-finish):
1038 Don't use toggle-read-only. (Since completion-list-mode has
1039 a special mode-class, it wasn't doing anything extra anyway.)
1040
1041 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 Make inlining of other-mode interpreted functions work (bug#11799).
1044 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1045 (byte-compile): Use it to fix compilation of lexical-binding closures.
1046 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1047 function, if needed.
1048
1049 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1050
1051 * help-mode.el (help-make-xrefs): Don't just withstand
1052 cyclic-variable-indirection but any error in documentation-property.
1053
1054 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1055 memory use.
1056 * bindings.el (bindings--define-key): New function.
1057 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1058 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1059 * bindings.el: Use it to purecopy define-key bindings.
1060
1061 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1062
1063 * emacs-lisp/cl.el (flet): Mark obsolete.
1064 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1065 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1066 * progmodes/js.el (js-c-fill-paragraph):
1067 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1068 (ebrowse-switch-member-buffer-to-derived-class):
1069 * play/5x5.el (5x5-solver): Use cl-flet.
1070
1071 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1072 (cl--symbol-function): New macro.
1073 (cl--letf, cl--letf*): Use it.
1074
1075 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1076 Strip "toggle-" if any.
1077
1078 2012-06-27 Glenn Morris <rgm@gnu.org>
1079
1080 * info.el (Info-default-directory-list): Move here from paths.el.
1081 * paths.el: Remove file, which is now empty.
1082 * loadup.el: No longer load "paths".
1083
1084 * custom.el (custom-initialize-delay): Doc fix.
1085
1086 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1087 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1088 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1089 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1090 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1091 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1092 * eshell/eshell.el (eshell-defgroup): Remove alias.
1093
1094 2012-06-27 Chong Yidong <cyd@gnu.org>
1095
1096 * help.el (help-enable-auto-load): New variable.
1097
1098 * help-fns.el (help-fns--autoloaded-p): New function.
1099 (describe-function-1): Refer to a function as "autoloaded" if it
1100 was autoloaded at any time in the past. Perform autoloading if
1101 help-enable-auto-load is non-nil.
1102
1103 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1104
1105 * makefile.w32-in (compile, compile-always): Depend on
1106 update-subdirs, not on subdirs.el. Otherwise, several different
1107 sub-targets of 'bootstrap' running in parallel could
1108 simultaneously write to subdirs.el, producing a garbled file.
1109
1110 2012-06-26 Sam Steingold <sds@gnu.org>
1111
1112 * files.el (file-name-base): New convenience function.
1113 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1114 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1115 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1116 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1117 * textmodes/ispell.el, textmodes/reftex-ref.el:
1118 * textmodes/tex-mode.el: Use it.
1119 Did not touch cedet and org because they are maintained elsewhere.
1120
1121 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1122
1123 * calendar/calendar.el (calendar-exit): Don't try to delete or
1124 iconify last frame. See:
1125 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1126
1127 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1128
1129 * server.el (server-process-filter): Remember dir in the
1130 process's `server-client-directory' properties.
1131
1132 2012-06-24 Chong Yidong <cyd@gnu.org>
1133
1134 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1135 non-tag text.
1136
1137 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1138
1139 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1140
1141 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * help-fns.el (describe-variable): Don't croak when doc is not found.
1144 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1145 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1146 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1147 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1148 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1149 ((lambda ..) ..).
1150 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1151
1152 2012-06-23 Chong Yidong <cyd@gnu.org>
1153
1154 * info.el (Info-mouse-follow-link): Accept symbol values of
1155 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1156 (Info-fontify-node): Use Info-link-keymap for all navigation
1157 buttons, with link-args property to perform the desired action.
1158 (Info-link-keymap): Doc fix.
1159 (Info-next-link-keymap, Info-prev-link-keymap)
1160 (Info-up-link-keymap): Delete now-unused keymaps.
1161
1162 2012-06-23 Chong Yidong <cyd@gnu.org>
1163
1164 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1165
1166 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1167 system abbrevs.
1168
1169 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1170
1171 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1174 (bug#11719).
1175
1176 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1177 the requote function doesn't work properly (bug#11714).
1178
1179 2012-06-23 Glenn Morris <rgm@gnu.org>
1180
1181 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1182
1183 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 Further GV/CL cleanups.
1186 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1187 gv-expander.
1188 (gv--defun-declaration): New function.
1189 (defun-declarations-alist): Use it.
1190 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1191 (gv-place): Autoload.
1192 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1193 original definition of dotimes and dolist.
1194 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1195 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1196 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1197 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1198 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1199 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1200 to the function's definition.
1201 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1202 * window.el:
1203 * files.el:
1204 * faces.el:
1205 * env.el: Don't use CL.
1206
1207 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1208
1209 Support higher-resolution time stamps (Bug#9000).
1210
1211 * calendar/time-date.el (with-decoded-time-value): New arg
1212 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1213 (encode-time-value): New optional arg PICO. New type 3.
1214 (time-to-seconds) [!float-time]: Support the new picoseconds
1215 component if it's used.
1216 (seconds-to-time, time-subtract, time-add):
1217 Support ps-resolution time stamps as well.
1218
1219 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1220 (timerp): Timer vectors now have length 9, not 8.
1221 (timer--time): Support new-style (4-part) time stamps.
1222 (timer-next-integral-multiple-of-time): Time stamps now have
1223 picosecond resolution, so take a bit more care about rounding.
1224 (timer-relative-time, timer-inc-time): New optional arg psecs.
1225 (timer-set-time-with-usecs): Set psecs to 0.
1226 (timer--activate): Check psecs component, too.
1227
1228 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1229
1230 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1233 Move the non-essential binding to the post/pre-command-hook where it is
1234 more obviously correct.
1235
1236 * subr.el (read-passwd): Don't use a history at all.
1237 * savehist.el (savehist-save): Remove password saved accidentally
1238 because of the above bug.
1239
1240 2012-06-22 Bastien Guerry <bzg@gnu.org>
1241
1242 * files.el (toggle-read-only): Display a message telling whether
1243 the buffer is read-only or not (bug#11726).
1244
1245 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1246
1247 * emacs-lisp/gv.el: New file.
1248 * subr.el (push, pop): Extend to generalized variables.
1249 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1250 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1251 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1252 gv-define-simple-setter, and gv-define-expander.
1253 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1254 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1255 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1256 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1257 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1258 gv-letplace.
1259 (cl-defstruct): Don't define setf-method any more.
1260 * emacs-lisp/cl.el (flet): Don't autoload.
1261 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1262 (define-setf-expander, defsetf, define-modify-macro)
1263 (cl-struct-setf-expander): Move from cl-lib.el.
1264 * emacs-lisp/syntax.el:
1265 * emacs-lisp/ewoc.el:
1266 * emacs-lisp/smie.el:
1267 * emacs-lisp/cconv.el:
1268 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1269 (timer--time): Use gv-define-simple-setter.
1270 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1271 to avoid coding-system problems in subr.el. Adjust all users.
1272 (macroexp--maxsize, macroexp-small-p): New functions.
1273 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1274 * scroll-bar.el (scroll-bar-mode):
1275 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1276 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1277 * winner.el (winner-configuration, winner-make-point-alist)
1278 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1279 * files.el (locate-file-completion-table): Avoid list*.
1280
1281 2012-06-22 Chong Yidong <cyd@gnu.org>
1282
1283 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1284 (dired-create-files): Doc fix (Bug#11329).
1285 (dired-do-copy): Doc fix (Bug#11334).
1286 (dired-mark-read-string): Doc fix (Bug#11553).
1287
1288 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1289 Doc fix (Bug#11326).
1290 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1291 (dired-dwim-target): Doc fix.
1292
1293 * wdired.el (wdired-mode): Doc fix.
1294
1295 2012-06-22 Glenn Morris <rgm@gnu.org>
1296
1297 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1298 (pcmpl-rpm-cache-stamp-file): New constant.
1299 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1300 (pcmpl-rpm-packages): Optionally cache list of packages.
1301
1302 * pcmpl-rpm.el (pcmpl-rpm): New group.
1303 (pcmpl-rpm-query-options): New option.
1304 (pcmpl-rpm-packages): No need to inline it.
1305 Use pcmpl-rpm-query-options.
1306
1307 * calendar/calendar.el (calendar-in-read-only-buffer):
1308 Avoid some needless mode changes.
1309
1310 2012-06-21 Chong Yidong <cyd@gnu.org>
1311
1312 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1313 (desktop-path): Remove . from the default value (Bug#10977).
1314 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1315
1316 2012-06-20 Chong Yidong <cyd@gnu.org>
1317
1318 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1319
1320 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1321
1322 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1323 (bug#11201).
1324
1325 2012-06-20 Chong Yidong <cyd@gnu.org>
1326
1327 * term.el (term-window-width): Handle the case of a missing right
1328 fringe (Bug#8837).
1329 (term-check-size): Use window-text-height (Bug#5445).
1330 (term-mode): Use define-derived-mode. Minor cleanups.
1331 Set font-lock-defaults (Bug#7692).
1332 (term-move-columns, term-insert-char, term-emulate-terminal)
1333 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1334
1335 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1336
1337 * net/ange-ftp.el (ange-ftp-get-passwd):
1338 Bind `enable-recursive-minibuffers'.
1339 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1340
1341 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1342
1343 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1344
1345 2012-06-19 Glenn Morris <rgm@gnu.org>
1346
1347 * progmodes/python.el (python-mode): Derive from prog-mode.
1348
1349 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1350
1351 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1352 (edt-user-menu-bar-update-buffers): New functions.
1353 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1354
1355 2012-06-19 Chong Yidong <cyd@gnu.org>
1356
1357 * subr.el (with-selected-window): Preserve the selected window's
1358 terminal's top-frame (Bug#4702).
1359
1360 * window.el (save-selected-window): Likewise.
1361
1362 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * progmodes/python.el (python-rx-constituents): Move backquote.
1365 (python-skeleton-define, python-define-auxiliary-skeleton):
1366 Use `declare'.
1367
1368 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1369
1370 * minibuffer.el (read-file-name-default): Revert the patch from
1371 2012-06-17.
1372
1373 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1374
1375 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1376 (pcase--u1, pcase--q1): Don't use apply-partially.
1377
1378 2012-06-18 Glenn Morris <rgm@gnu.org>
1379
1380 * progmodes/python.el (python-proc, python-buffer)
1381 (python-send-receive, python-send-string): Fix obsolete versions.
1382
1383 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1384
1385 * window.el (special-display-p): Completely remove stringp
1386 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1387
1388 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1391
1392 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1393
1394 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1395 * net/tramp-sh.el (tramp-maybe-open-connection):
1396 Throw if `non-essential' is non-nil.
1397
1398 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1399
1400 * window.el (special-display-p): Signal an error if BUFFER-NAME
1401 is not a string (Bug#11713).
1402
1403 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1404
1405 * progmodes/python.el (python-info-beginning-of-backslash):
1406 Rename from python-info-beginning-of-backlash, as a spelling fix.
1407
1408 2012-06-17 Chong Yidong <cyd@gnu.org>
1409
1410 * term.el (term-emulate-terminal): If term-check-size is called,
1411 move point to the process mark without resetting point (Bug#4635).
1412
1413 2012-06-17 Glenn Morris <rgm@gnu.org>
1414
1415 * international/mule-cmds.el (mule-menu-keymap)
1416 (set-language-environment, set-locale-environment): Doc tweaks.
1417
1418 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1419
1420 * cus-face.el (custom-face-attributes): Add wave-style underline
1421 attribute.
1422 * faces.el (set-face-attribute): Update docstring to describe
1423 wave-style underline attribute.
1424
1425 2012-06-16 Chong Yidong <cyd@gnu.org>
1426
1427 * term/xterm.el (terminal-init-xterm): Discard input before
1428 querying background mode (Bug#10959).
1429
1430 2012-06-16 Stefan Merten <smerten@oekonux.de>
1431
1432 * textmodes/rst.el: Added and corrected some comments.
1433 (rst-re-alist-def): Improve symbol syntax.
1434 (rst-mode-syntax-table): Correct syntax entries.
1435 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1436 (rst-official-version, rst-official-cvs-rev): Update version
1437 information.
1438
1439 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1440
1441 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1442 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1443
1444 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1445
1446 * progmodes/python.el: New python.el merge.
1447 (python-guess-indent): Obsolete var.
1448 (python-indent-guess-indent-offset): New defcustom.
1449 (python-indent): Obsolete var.
1450 (python-indent-offset): New defcustom.
1451 (python-python-command, python-jython-command): Delete var.
1452 (python-shell-interpreter): New defcustom.
1453 (python-pdbtrack-do-tracking-p): Delete var.
1454 (python-pdbtrack-activate): New defcustom.
1455 (python-use-skeletons): Obsolete var.
1456 (python-skeleton-autoinsert): New defcustom.
1457 (inferior-python-filter-regexp, python-continuation-offset)
1458 (python-honour-comment-indentation, python-indent-string-contents)
1459 (python-jython-packages, python-mode-hook)
1460 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1461 (python-shell-prompt-alist)
1462 (python-source-modes): Delete defcustoms.
1463 (python-check-buffer-name, python-eldoc-setup-code)
1464 (python-eldoc-string-code, python-ffap-setup-code)
1465 (python-ffap-string-code, python-fill-comment-function)
1466 (python-fill-decorator-function, python-fill-paren-function)
1467 (python-fill-string-function, python-imenu-include-defun-type)
1468 (python-imenu-make-tree, python-imenu-subtree-root-label)
1469 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1470 (python-shell-compilation-regexp-alist)
1471 (python-shell-completion-module-string-code)
1472 (python-shell-completion-pdb-string-code)
1473 (python-shell-completion-setup-code)
1474 (python-shell-completion-string-code)
1475 (python-shell-enable-font-lock, python-shell-exec-path)
1476 (python-shell-extra-pythonpaths)
1477 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1478 (python-shell-process-environment)
1479 (python-shell-prompt-block-regexp)
1480 (python-shell-prompt-output-regexp)
1481 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1482 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1483 (python-shell-virtualenv-path): New defcustoms.
1484 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1485 (inferior-python-mode-syntax-table, python--prompt-regexp)
1486 (python-buffer, python-command python-python-command)
1487 (python-default-template, python-imports, python-indent-index)
1488 (python-indent-list, python-indent-list-length)
1489 (python-mode-running, python-pdbtrack-is-tracking-p)
1490 (python-preoutput-continuation, python-preoutput-leftover)
1491 (python-preoutput-result, python-preoutput-skip-next-prompt)
1492 (python-prev-dir/file, python-recursing)
1493 (python-saved-check-command, python-version-checked)
1494 (python-which-func-length-limit)
1495 (view-return-to-alist): Delete vars.
1496 (python-check-custom-command, python-dotty-syntax-table)
1497 (python-imenu-index-alist, python-indent-current-level)
1498 (python-indent-dedenters, python-indent-levels)
1499 (python-nav-beginning-of-defun-regexp)
1500 (python-nav-list-defun-positions-cache)
1501 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1502 (python-shell-internal-buffer)
1503 (python-skeleton-available): New vars.
1504 (def-python-skeleton): Delete macro.
1505 (python-skeleton-define): New macro.
1506 (python-define-auxiliary-skeleton, python-rx): New macros.
1507 (python-insert-class): Delete command.
1508 (python-skeleton-class): New command.
1509 (python-insert-def): Delete command.
1510 (python-skeleton-def): New command.
1511 (python-insert-for): Delete command.
1512 (python-skeleton-for): New command.
1513 (python-insert-if): Delete command.
1514 (python-skeleton-if): New command.
1515 (python-insert-try/except, python-insert-try/finally): Delete commands.
1516 (python-skeleton-try): New command.
1517 (python-insert-while): Delete command.
1518 (python-skeleton-while): New command.
1519 (python-backspace): Delete command.
1520 (python-indent-dedent-line-backspace): New command.
1521 (python-electric-colon): Delete command.
1522 (python-indent-electric-colon): New command.
1523 (python-guess-indent): Delete command.
1524 (python-indent-guess-indent-offset): New command.
1525 (python-shift-left): Delete command.
1526 (python-indent-shift-left): New command.
1527 (python-shift-right): Delete command.
1528 (python-indent-shift-right): New command.
1529 (python-find-function): Delete command.
1530 (python-nav-jump-to-defun): New command.
1531 (python-next-statement): Delete command.
1532 (python-nav-forward-sentence): New command.
1533 (python-previous-statement): Delete command.
1534 (python-nav-backward-sentence): New command.
1535 (python-fill-paragraph): Delete command.
1536 (python-fill-paragraph-function): New command.
1537 (python-send-buffer): Delete command.
1538 (python-shell-send-buffer): New command.
1539 (python-send-defun): Delete command.
1540 (python-shell-send-defun): New command.
1541 (python-send-region, python-send-region-and-go): Delete commands.
1542 (python-shell-send-region)
1543 (python-shell-switch-to-shell): New commands.
1544 (python-send-string): Delete command.
1545 (python-shell-send-string): New command.
1546 (python-switch-to-python): Delete command.
1547 (python-shell-switch-to-shell): New command.
1548 (python-describe-symbol): Delete command.
1549 (python-eldoc-at-point): New command.
1550 (python--set-prompt-regexp, python-args-to-list)
1551 (python-after-info-look, python-check-version)
1552 (python-check-comint-prompt, python-find-imports)
1553 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1554 (python-unload-function, python-expand-template)
1555 (python-maybe-jython, python-preoutput-filter)
1556 (python-pdbtrack-get-source-buffer)
1557 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1558 (python-pdbtrack-toggle-stack-tracking)
1559 (python-pdbtrack-track-stack-file, python-initial-text)
1560 (python-first-word, python-comment-line-p, python-send-command)
1561 (python-setup-brm, python-sentinel, python-set-proc)
1562 (python-skip-out, python-input-filter, python-outdent-p)
1563 (python-outline-level, python-backslash-continuation-line-p)
1564 (python-end-of-block, python-end-of-statement, python-mark-block)
1565 (python-beginning-of-block, python-beginning-of-statement)
1566 (python-blank-line-p, python-beginning-of-string)
1567 (python-open-block-statement-p): Delete functions.
1568 (python-indent-line, python-indent-line-1): Delete functions.
1569 (python-indent-line): New function.
1570 (python-indentation-levels): Delete function.
1571 (python-indent-calculate-levels): New function.
1572 (python-proc): Delete function.
1573 (python-shell-get-process): New function.
1574 (python-send-receive): Delete function.
1575 (python-shell-send-string-no-output): New function.
1576 (python-module-path): Delete function.
1577 (python-ffap-module-path): New function.
1578 (python-completion-at-point)
1579 (python-symbol-completions): Delete functions.
1580 (python-completion-complete-at-point): New function.
1581 (python-load-file): Delete function.
1582 (python-shell-send-file): New function.
1583 (python-calculate-indentation): Delete function.
1584 (python-indent-calculate-indentation): New function.
1585 (python-skip-comments/blanks): Delete function.
1586 (python-util-forward-comment): New function.
1587 (python-continuation-line-p): Delete function.
1588 (python-info-continuation-line-p): New function.
1589 (python-which-func, python-current-defun): Delete function.
1590 (python-info-current-defun): New function.
1591 (python-beginning-of-defun): Delete function.
1592 (python-nav-beginning-of-defun): New function.
1593 (python-close-block-statement-p)
1594 (python-block-end-p): Delete function.
1595 (python-info-closing-block): New function.
1596 (python-comint-output-filter-function)
1597 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1598 (python-fill-comment, python-fill-decorator, python-fill-paren)
1599 (python-fill-string, python-imenu-make-element-tree)
1600 (python-imenu-make-tree, python-imenu-tree-assoc)
1601 (python-indent-context, python-indent-dedent-line)
1602 (python-indent-line-function)
1603 (python-indent-post-self-insert-function)
1604 (python-indent-toggle-levels)
1605 (python-info-assignment-continuation-line-p)
1606 (python-info-beginning-of-backlash)
1607 (python-info-block-continuation-line-p)
1608 (python-info-closing-block-message)
1609 (python-info-line-ends-backslash-p)
1610 (python-info-looking-at-beginning-of-defun)
1611 (python-info-ppss-context, python-info-ppss-context-type)
1612 (python-nav-list-defun-positions, python-nav-read-defun)
1613 (python-nav-sentence-end, python-nav-sentence-start)
1614 (python-pdbtrack-comint-output-filter-function)
1615 (python-pdbtrack-set-tracked-buffer)
1616 (python-shell-calculate-exec-path)
1617 (python-shell-calculate-process-environment)
1618 (python-shell-completion--do-completion-at-point)
1619 (python-shell-completion--get-completions)
1620 (python-shell-completion-complete-at-point)
1621 (python-shell-completion-complete-or-indent)
1622 (python-shell-get-or-create-process)
1623 (python-shell-get-process-name)
1624 (python-shell-internal-get-or-create-process)
1625 (python-shell-internal-get-process-name)
1626 (python-shell-internal-send-string, python-shell-make-comint)
1627 (python-shell-parse-command, python-shell-send-setup-code)
1628 (python-skeleton-add-menu-items)
1629 (python-util-clone-local-variables, python-util-position)
1630 (run-python-internal, python-indentation-levels)
1631 (python-nav-beginning-of-defun)
1632 (python-completion-complete-at-point): New functions.
1633 (run-python): Change arguments. New API requirements.
1634
1635 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1636
1637 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1638 (bug#11649).
1639
1640 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1641 (macroexp--expand-all): Use it.
1642
1643 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1644 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1645 Use `cl-function' instead.
1646
1647 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1648
1649 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1650 Suggested by Stefan Monnier while discussing bug#11657.
1651
1652 2012-06-14 Sam Steingold <sds@gnu.org>
1653
1654 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1655
1656 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1657
1658 * play/doctor.el (doctor-doc): Remove parameter and use
1659 doctor-sent instead of sent.
1660 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1661
1662 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 * files.el: Require cl-lib.
1665 (file-name-non-special): Replace case -> cl-case.
1666
1667 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1668
1669 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1670 mapping from #' to function*.
1671
1672 2012-06-13 Chong Yidong <cyd@gnu.org>
1673
1674 * mouse.el (mouse-drag-track): Do not set the mark if the user
1675 releases the mouse without selecting anything (Bug#11588).
1676
1677 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1680 as well (bug#11646).
1681
1682 * loadup.el: Count byte-code functions as well.
1683
1684 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1685 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1686
1687 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1688 (bug#11649). Add cl-defun and cl-defmacro.
1689
1690 2012-06-13 Drew Adams <drew.adams@oracle.com>
1691
1692 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1693 Fix last change.
1694
1695 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1696
1697 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1698 Otherwise, it blocks in batch mode.
1699
1700 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1701
1702 * help-mode.el (bookmark-make-record-default): Declare.
1703
1704 2012-06-13 Chong Yidong <cyd@gnu.org>
1705
1706 * emacs-lisp/package.el (list-packages): Compute a list of
1707 packages that are newly-available since the last list-packages
1708 invocation.
1709 (package-menu--new-package-list): New var.
1710 (package-menu--generate, package-menu--print-info)
1711 (package-menu--status-predicate, package-menu-mark-install):
1712 Handle new status label "new".
1713
1714 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1715
1716 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1717 conversion to backquotes.
1718
1719 2012-06-12 Chong Yidong <cyd@gnu.org>
1720
1721 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1722 Rename from gud-inhibit-global-bindings.
1723
1724 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1725
1726 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1727 hook from nxml-glyph-set-hook.
1728
1729 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1730 declaration.
1731
1732 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1733
1734 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1735 Convert to defcustom.
1736
1737 2012-06-12 Drew Adams <drew.adams@oracle.com>
1738
1739 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1740 New functions.
1741 (help-mode): Use them.
1742
1743 2012-06-11 Glenn Morris <rgm@gnu.org>
1744
1745 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1746 Use preprocessor face for directives.
1747 (fortran-directive-re): Doc fix.
1748
1749 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1752 conversion to backquotes (bug#11652).
1753
1754 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1755 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1756 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1757 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1758 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1759 (cl-ninth, cl-tenth): Mark them as inlinable.
1760 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1761 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1762 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1763 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1764 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1765 (cl-list*, cl-adjoin): Don't put an autoload manually.
1766 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1767 (cl--compiler-macro-list*): Add autoload cookie.
1768 (cl--compiler-macro-cXXr): New function.
1769
1770 * help-fns.el (help-fns--compiler-macro): New function extracted from
1771 describe-function-1; follow aliases and use `compiler-macro' property.
1772 (describe-function-1): Use it.
1773
1774 2012-06-11 Chong Yidong <cyd@gnu.org>
1775
1776 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1777 is uninstalled, if imagemagick is installed.
1778
1779 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * emacs-lisp/cl-lib.el: Use lexical-binding.
1782 (cl-map-extents, cl-maclisp-member): Remove.
1783 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1784 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1785 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1786 * emacs-lisp/cl-extra.el: Use lexical-binding.
1787 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1788 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1789 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1790 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1791 * emacs-lisp/cl-seq.el: Use lexical-binding.
1792 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1793 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1794 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1795 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1796 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1797 CL's internals.
1798
1799 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
1800
1801 Sync with Tramp 2.2.6-pre.
1802
1803 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1804 `print-length' and `print-level' to nil, in order to avoid
1805 truncation. Reported by Christopher Schmidt
1806 <christopher@ristopher.com>.
1807
1808 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1809
1810 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1811 New defmacro.
1812 (tramp-compat-copy-directory): Add optional argument
1813 COPY-CONTENTS. It is not handled yet.
1814
1815 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1816 (tramp-ftp-file-name-p): Simplify.
1817
1818 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1819 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1820 connection vector.
1821
1822 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1823 (tramp-methods): Do not use `tramp-password-end-of-line'.
1824 (tramp-completion-function-alist-putty): Handle UNIX case.
1825 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1826 (tramp-do-file-attributes-with-stat)
1827 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1828 gid as real numbers. They could run out of integer range on cygwin.
1829 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1830 (tramp-sh-handle-expand-file-name): Handle hops.
1831 (tramp-open-connection-setup-interactive-shell):
1832 Use `tramp-cleanup'. Move check for busyboxes ...
1833 (tramp-find-shell): ... here. Simplify implementation.
1834 Set "remote-shell" property also for alternative shells.
1835 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1836 If failing, a regular file would be written otherwise.
1837 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1838 (tramp-find-inline-encoding): Cache the coding commands in the
1839 process cache. Apply test command on the remote side, if defined.
1840 (tramp-find-inline-compress): Cache the compress commands in the
1841 process cache.
1842 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1843 when requested. Handle hops.
1844 (tramp-current-connection): New defvar.
1845 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1846 Throw `suppress', if there was a failed connection shortly before.
1847 Handle user interrupt. (Bug#10187)
1848 (tramp-get-inline-compress, tramp-get-inline-coding):
1849 Read connection properties from the process cache.
1850
1851 * net/tramp-smb.el (tramp-smb-server-version)
1852 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1853 New defconsts.
1854 (tramp-smb-prompt): Extend for powershell prompt.
1855 (tramp-smb-file-name-handler-alist): Add handlers for
1856 `process-file', `shell-command' and `start-file-process'.
1857 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1858 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1859 (tramp-smb-file-name-p): Simplify.
1860 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1861 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1862 (tramp-smb-shell-quote-argument): New defuns.
1863 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1864 Implement using "tar". By this, time-stamps are preserved.
1865 (tramp-smb-handle-copy-file): Handle also the case of directories.
1866 (tramp-smb-do-file-attributes-with-stat)
1867 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1868 Use `tramp-get-connection-buffer').
1869 (tramp-smb-handle-rename-file): Use "rename", when source and
1870 target are on the same share.
1871 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1872 Use `tramp-smb-server-version'.
1873 (tramp-smb-wait-for-output): Remove prompt.
1874
1875 * net/tramp.el (top): Require 'cl.
1876 (tramp-methods, tramp-rsh-end-of-line):
1877 Remove `tramp-password-end-of-line' from docstring.
1878 (tramp-save-ad-hoc-proxies): New defcustom.
1879 (tramp-completion-function-alist): Adapt docstring.
1880 (tramp-default-password-end-of-line): Remove defcustom.
1881 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1882 (tramp-user-regexp, tramp-file-name-regexp-unified)
1883 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1884 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1885 (tramp-remote-file-name-spec-regexp): New defconst.
1886 (tramp-file-name-structure): Extend structure for hops.
1887 (tramp-get-method-parameter): Move up.
1888 (tramp-file-name-p, tramp-dissect-file-name)
1889 (with-parsed-tramp-file-name): Handle hops.
1890 (tramp-file-name-hop): New defun.
1891 (tramp-make-tramp-file-name): New optional arg HOP.
1892 (tramp-message-show-progress-reporter-message): New defvar.
1893 (tramp-with-progress-reporter): Use it. We cannot use
1894 `tramp-message-show-message' here, because this suppresses also
1895 error buffers.
1896 (tramp-error-with-buffer): Suppress buffer view, if
1897 `tramp-message-show-message' is nil.
1898 Use `tramp-get-connection-buffer'.
1899 (tramp-cleanup): New defun.
1900 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1901 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1902 an error unchanged.
1903 (tramp-completion-handle-file-name-all-completions): Handle hops.
1904 Fix an error when called from ido.
1905 (tramp-completion-dissect-file-name): Use better local variable
1906 name. Add hop to the vector.
1907 (tramp-handle-insert-file-contents): Use progress-reporter for the
1908 whole scenario.
1909 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1910 to `t'.
1911 (tramp-check-for-regexp): Simplify search.
1912 (tramp-enter-password): Remove it. Move implementation ...
1913 (tramp-action-password): ... here.
1914 (tramp-mode-string-to-int, tramp-local-host-p)
1915 (tramp-make-tramp-temp-file, tramp-read-passwd)
1916 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1917 Set tramp-autoload cookie.
1918
1919 * net/trampver.el: Update release number.
1920
1921 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1922 Michael Albinus <michael.albinus@gmx.de>
1923
1924 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1925 (tramp-parse-group, tramp-parse-file)
1926 (tramp-parse-shostkeys-sknownhosts): New defuns.
1927 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1928 (tramp-parse-shosts-group, tramp-parse-sconfig)
1929 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1930 (tramp-parse-sknownhosts, tramp-parse-hosts)
1931 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1932 Use them.
1933 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1934 (tramp-parse-putty-group): Don't narrow.
1935 (tramp-parse-putty): Make a loop.
1936 (tramp-file-name-handler): Catch the `suppress' signal.
1937
1938 2012-06-11 Chong Yidong <cyd@gnu.org>
1939
1940 * image.el (imagemagick-register-types): Put the ImageMagick entry
1941 at the end of image-type-file-name-regexps.
1942
1943 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1944
1945 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1946 (pcase, pcase-let*, pcase-dolist): Use them.
1947
1948 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * emacs-lisp/pcase.el (pcase--let*): New function.
1951 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1952 (pcase--expand): Use macroexp-let².
1953
1954 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1957 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1958 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1959 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1960 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1961 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1962
1963 2012-06-10 Glenn Morris <rgm@gnu.org>
1964
1965 * mail/rmail.el (rmail-yank-current-message): Leave point at
1966 correct position. (Bug#11660)
1967
1968 2012-06-10 Chong Yidong <cyd@gnu.org>
1969
1970 * allout-widgets.el: Fix code header.
1971
1972 2012-06-10 Chong Yidong <cyd@gnu.org>
1973
1974 * cus-edit.el (customize-changed-options-previous-release):
1975 Bump to 24.1.
1976
1977 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1978
1979 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1980
1981 2012-06-09 Chong Yidong <cyd@gnu.org>
1982
1983 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1984
1985 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1986
1987 * window.el (special-display-popup-frame): Don't use
1988 window--display-buffer (Bug#11651).
1989
1990 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1991
1992 Fix parallel builds: make sure loaddefs.el is not being written
1993 while Lisp files are compiled.
1994 (compile): Don't depend on 'mh-autoloads'.
1995 (compile-CMD, compile-SH): Depend on 'autoloads'.
1996 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1997
1998 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1999
2000 2012-06-09 Chong Yidong <cyd@gnu.org>
2001
2002 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2003 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2004 Doc fixes (Bug#11225).
2005
2006 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2009 a function if there's a clear indication that it has a compiler-macro.
2010 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2011 (macro-declarations-alist): Add arglist to declaration functions.
2012 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2013 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2014 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2015 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2016 Also add autoload to find the compiler macro.
2017 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2018 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2019 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2020 (cl--compiler-macro-get): New functions, replacing calls to
2021 cl-define-compiler-macro.
2022 (cl-typep) [compiler-macro]: Use macroexp-let².
2023
2024 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2025
2026 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2027 string properly, fixes Bug#11473.
2028
2029 2012-06-08 Chong Yidong <cyd@gnu.org>
2030
2031 * faces.el (set-face-attribute): Doc fix.
2032 (modify-face): Don't use :bold and :italic.
2033 (error, warning, success): Tweak definitions.
2034
2035 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2036 (custom-modified, custom-set, custom-changed, custom-themed)
2037 (custom-saved, custom-button, custom-button-mouse)
2038 (custom-button-pressed, custom-state, custom-comment-tag)
2039 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2040 (custom-group-subtitle): Use new-style face specs.
2041 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2042 (custom-set-face, custom-changed-face, custom-saved-face)
2043 (custom-button-face, custom-button-pressed-face)
2044 (custom-documentation-face, custom-state-face)
2045 (custom-comment-face, custom-comment-tag-face)
2046 (custom-variable-tag-face, custom-variable-button-face)
2047 (custom-face-tag-face, custom-group-tag-face-1)
2048 (custom-group-tag-face): Remove obsolete face alias.
2049
2050 * epa.el (epa-validity-high, epa-validity-medium)
2051 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2052 (epa-field-name, epa-field-body):
2053 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2054 (font-lock-keyword-face, font-lock-builtin-face)
2055 (font-lock-function-name-face, font-lock-variable-name-face)
2056 (font-lock-type-face, font-lock-constant-face):
2057 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2058 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2059 * speedbar.el (speedbar-button-face, speedbar-file-face)
2060 (speedbar-directory-face, speedbar-tag-face)
2061 (speedbar-selected-face, speedbar-highlight-face)
2062 (speedbar-separator-face):
2063 * whitespace.el (whitespace-newline, whitespace-space)
2064 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2065 (whitespace-line, whitespace-space-before-tab)
2066 (whitespace-space-after-tab, whitespace-indentation)
2067 (whitespace-empty):
2068 * emulation/cua-base.el (cua-global-mark):
2069 * eshell/em-prompt.el (eshell-prompt):
2070 * net/newst-plainview.el (newsticker-new-item-face)
2071 (newsticker-old-item-face, newsticker-immortal-item-face)
2072 (newsticker-obsolete-item-face, newsticker-date-face)
2073 (newsticker-statistics-face, newsticker-default-face):
2074 * net/newst-reader.el (newsticker-feed-face)
2075 (newsticker-extra-face, newsticker-enclosure-face):
2076 * net/newst-treeview.el (newsticker-treeview-face)
2077 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2078 (newsticker-treeview-immortal-face)
2079 (newsticker-treeview-obsolete-face)
2080 (newsticker-treeview-selection-face):
2081 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2082 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2083 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2084 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2085 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2086 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2087 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2088 (mpuz-text):
2089 * progmodes/vera-mode.el (vera-font-lock-number)
2090 (vera-font-lock-function, vera-font-lock-interface):
2091 * textmodes/table.el (table-cell): Use new-style face specs, and
2092 don't use the old :bold and :italic attributes.
2093
2094 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2095 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2096 (ebrowse-member-class, ebrowse-progress): Likewise.
2097 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2098 (ebrowse-file-name-face, ebrowse-default-face)
2099 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2100 (ebrowse-progress-face): Remove obsolete faces.
2101
2102 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2103 Inherit from error and warning faces respectively.
2104
2105 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2106 Likewise.
2107 (flyspell-incorrect-face, flyspell-duplicate-face):
2108 Remove obsolete aliases.
2109
2110 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2111
2112 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2113 Avoid infloop.
2114
2115 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * startup.el (argv, argi): Make lexically scoped.
2118 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2119 * emacs-lisp/cl-macs.el: Use lexical-binding.
2120 Rename cl-bind-* to cl--bind-*.
2121 * files.el: Don't require `cl' since it doesn't use it.
2122 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2123
2124 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2127 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2128 instead of calling external sort utility.
2129 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2130
2131 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2132
2133 * descr-text.el (describe-char): Mention how to insert the
2134 character, if the current input method doesn't support it.
2135 See the discussion in this thread for the details:
2136 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2137
2138 2012-06-08 Sam Steingold <sds@gnu.org>
2139
2140 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2141 XF86Back to previous-buffer.
2142 (minibuffer-local-map): Bind them to next-history-element and
2143 previous-history-element respectively.
2144 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2145 help-go-back respectively.
2146 * info.el (Info-mode-map): Bind them to Info-history-forward and
2147 Info-history-back respectively.
2148 These are the keys next to Up on the ThinkPad keyboard.
2149
2150 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2152 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2153 * emacs-lisp/cl-macs.el: Provide itself.
2154 (cl--labels-convert-cache): New var.
2155 (cl--labels-convert): New function.
2156 (cl-flet, cl-labels): New implementation with new semantics, relying on
2157 lexical-binding.
2158 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2159 (cl-closure-vars, cl--function-convert-cache)
2160 (cl--function-convert): Move from cl-macs.el.
2161 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2162 rename by removing the "cl-" prefix.
2163 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2164
2165 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2168 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2169 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2170 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2171 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2172 (cl-hash-table-count): Add old compatibility aliases.
2173
2174 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2175 Use macroexpand-all-environment instead.
2176 (cl--old-macroexpand): New var.
2177 (cl--sm-macroexpand): New function.
2178 (cl-symbol-macrolet): Use it during macro expansion.
2179 (cl--function-convert-cache): New var.
2180 (cl--function-convert): New function, extracted from
2181 cl-macroexpand-all.
2182 (cl-lexical-let): Use it.
2183
2184 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2185 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2186 (cl-member): Remove old alias.
2187
2188 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2189 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2190 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2191 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2192 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2193 (cl-macroexpand-cmacs): Remove var.
2194 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2195 Use macroexpand-all instead.
2196
2197 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2200 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2201 (macroexp-copyable-p): New functions and macros.
2202 * emacs-lisp/edebug.el (edebug-unwrap):
2203 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2204 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2205 (pcase--let*): Remove.
2206 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2207 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2208 macroexp-const-p instead.
2209 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2210
2211 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2212 instead of "cl-" for internal definitions. Use macroexp-const-p.
2213 (cl-old-bc-file-form): Remove var.
2214 (cl-const-exprs-p): Remove fun.
2215 (cl-labels, cl-macrolet): Use backquote.
2216 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2217 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2218 (cl-define-setf-expander): Rename from cl-define-setf-method.
2219 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2220
2221 * international/mule-cmds.el: Don't require CL.
2222 (view-hello-file): Don't use `letf'.
2223
2224 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * tmm.el (tmm-prompt): Use string-prefix-p.
2227 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2228 (tmm-add-prompt): Use minibuffer-completion-help.
2229 (tmm-delete-map): Remove.
2230
2231 * subr.el (kbd): Make it its own function.
2232
2233 2012-06-07 Stefan Merten <smerten@oekonux.de>
2234
2235 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2236 Silence compiler warnings. Fix versions.
2237 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2238 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2239 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2240 (rst-package-emacs-version-alist): Correct Emacs version to
2241 represent major merge with upstream.
2242 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2243
2244 2012-06-06 Glenn Morris <rgm@gnu.org>
2245
2246 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2247 Only print environment variables if set.
2248
2249 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2252 (macroexp--cons): Rename from maybe-cons.
2253 (macroexp--accumulate): Rename from macroexp-accumulate.
2254 (macroexp--all-forms): Rename from macroexpand-all-forms.
2255 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2256 (macroexp--expand-all): Rename from macroexpand-all-1.
2257
2258 2012-06-06 Sam Steingold <sds@gnu.org>
2259
2260 * calendar/calendar.el (calendar-in-read-only-buffer):
2261 Call `special-mode' to enable the standard read-only keybindings.
2262
2263 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2266 with "loading" messages (bug#11635).
2267
2268 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2269
2270 * files.el (enable-remote-dir-locals): New option.
2271 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2272
2273 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2274 Ensure, that the temp directory is local.
2275
2276 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2277 `temporary-file-directory'.
2278
2279 * progmodes/python.el (python-send-region): Ensure, that the
2280 temporary file is created also in the remote case.
2281
2282 2012-06-06 Glenn Morris <rgm@gnu.org>
2283
2284 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2285 (vc-rcs-update-changelog): Use it.
2286
2287 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2288
2289 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2290 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2291 (vc-sccs-diff): Replace use of the external vcdiff script.
2292
2293 2012-06-05 Glenn Morris <rgm@gnu.org>
2294
2295 * ledit.el: Move to obsolete/.
2296
2297 2012-06-05 Sam Steingold <sds@gnu.org>
2298
2299 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2300 patch (Bug#11140).
2301
2302 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * emacs-lisp/cust-print.el: Move to obsolete.
2305
2306 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2307 compiler-macro expansion.
2308
2309 Add native compiler-macro support.
2310 * emacs-lisp/macroexp.el (macroexpand-all-1):
2311 Support compiler-macros directly. Properly follow aliases and apply
2312 the compiler macros more thoroughly.
2313 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2314 macroexpand now properly follows aliases.
2315 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2316 (cl-compiler-macroexpand): Use new prop.
2317 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2318
2319 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2320
2321 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2322
2323 * window.el (get-lru-window, get-mru-window, get-largest-window):
2324 New argument NOT-SELECTED to avoid picking the selected window.
2325 (window--display-buffer-1, window--display-buffer-2): Replace by
2326 new function window--display-buffer
2327 (display-buffer-same-window, display-buffer-reuse-window)
2328 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2329 Use window--display-buffer.
2330 (display-buffer-use-some-window): Remove temporary dedication
2331 hack by calling get-lru-window and get-largest-window with
2332 NOT-SELECTED argument non-nil. Call window--display-buffer.
2333
2334 2012-06-05 Glenn Morris <rgm@gnu.org>
2335
2336 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2337 Replace external vcdiff script.
2338
2339 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2342
2343 2012-06-04 Chong Yidong <cyd@gnu.org>
2344
2345 * image.el (imagemagick-types-inhibit): Revert last change.
2346 Add INFO and M.
2347 (imagemagick-enabled-types): Remove CIN and EPS*.
2348
2349 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * emacs-lisp/cl-lib.el: Rename from cl.el.
2352 * emacs-lisp/cl.el: New compatibility file.
2353 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2354 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2355 to obey the "cl-" prefix.
2356 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2357
2358 2012-06-03 Glenn Morris <rgm@gnu.org>
2359
2360 * emacs-lisp/authors.el (authors-aliases): Addition.
2361
2362 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2363 Fix :version.
2364
2365 2012-06-03 Stefan Merten <smerten@oekonux.de>
2366
2367 * textmodes/rst.el: Add comments.
2368 (rst-transition, rst-adornment): New faces.
2369 (rst-adornment-faces-alist): Make default safe to reevaluate.
2370 Fixes
2371 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2372 Improve customization tags.
2373 (rst-define-level-faces): Clarify meaning.
2374
2375 2012-06-03 Chong Yidong <cyd@gnu.org>
2376
2377 * progmodes/compile.el (compilation-mode-line-fail)
2378 (compilation-mode-line-run, compilation-mode-line-exit):
2379 New faces.
2380 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2381
2382 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2383
2384 * progmodes/which-func.el (which-func-update-ediff-windows):
2385 New function. Use it in ediff-select-hook (Bug#11478).
2386
2387 2012-06-03 Chong Yidong <cyd@gnu.org>
2388
2389 * bindings.el: Remove explicit help text from format-mode-line.
2390 It is now supplied by mode-line-default-help-echo.
2391 (mode-line-front-space, mode-line-end-spaces)
2392 (mode-line-misc-info): New variables.
2393 (mode-line-modes, mode-line-position): Move the default value to
2394 the variable definition.
2395 (mode-line-default-help-echo): New defcustom.
2396 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2397 (mode-line-modified-help-echo): New functions.
2398 (mode-line-mule-info, mode-line-modified): Use them.
2399 (mode-line-eol-desc, propertized-buffer-identification):
2400 Consistency fixes for help text.
2401 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2402 set-buffer-file-coding-system (Bug#289).
2403 (mode-line-mule-info-help-echo): Update help text.
2404
2405 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * simple.el (execute-extended-command): Set real-this-command
2408 (bug#11506).
2409
2410 2012-06-02 Chong Yidong <cyd@gnu.org>
2411
2412 Remove incorrect uses of "modeline" in comments, docstrings, and
2413 function/variable names (Bug#10329).
2414
2415 * cus-edit.el (mode-line):
2416 * dframe.el (dframe-mouse-hscroll):
2417 * emacs-lisp/re-builder.el:
2418 * emacs-lisp/easy-mmode.el (define-minor-mode):
2419 * frame.el (set-frame-name):
2420 * help.el (lookup-minor-mode-from-indicator):
2421 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2422 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2423 (c-toggle-hungry-state):
2424 * progmodes/antlr-mode.el (antlr-language-alist):
2425 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2426 * progmodes/vhdl-mode.el (vhdl-mode):
2427 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2428 * term/ns-win.el (ns-face-at-pos):
2429 * term/sup-mouse.el (sup-mouse-report):
2430 * textmodes/flyspell.el (flyspell-mode-line-string):
2431 * textmodes/ispell.el (ispell-highlight-face):
2432 * textmodes/reftex-global.el:
2433 * vc/vc-arch.el (vc-arch-mode-line-string):
2434 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2435 * vc/vc-git.el (vc-git-mode-line-string):
2436 * vc/vc-hooks.el (vc-display-status)
2437 (vc-default-mode-line-string):
2438 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2439
2440 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2441
2442 * dired.el (dired-sort-set-mode-line): Rename from
2443 dired-sort-set-modeline. All callers changed.
2444
2445 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2446 eshell-status-in-modeline.
2447
2448 * foldout.el (foldout-mode-line-string): Rename from
2449 foldout-modeline-string. All callers changed.
2450 (foldout-update-mode-line): Rename from foldout-update-modeline.
2451
2452 * subr.el (redraw-modeline): Make into obsolete alias.
2453
2454 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2455 timeclock-modeline-display. Make old name an alias.
2456 (timeclock-update-mode-line): Likewise. All callers changed.
2457 (timeclock-mode-line-display): No need to check before using
2458 add-hook.
2459 (timeclock-relative, timeclock-day-over-hook)
2460 (timeclock-use-elapsed, timeclock-mode-string)
2461 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2462
2463 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2464 crisp-mode-modeline-string.
2465
2466 * play/solitaire.el (solitaire-build-mode-line): Rename from
2467 solitaire-build-modeline. All callers changed.
2468
2469 * play/zone.el (zone-hiding-mode-line): Rename from
2470 zone-hiding-modeline. All callers changed.
2471 (zone): Remove unusued `modeline-hidden-level' property.
2472
2473 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2474 xscheme-modeline-initialize. All callers changed.
2475
2476 * strokes.el (strokes-lighter): Rename from
2477 strokes-modeline-string.
2478
2479 * textmodes/sgml-mode.el (html-face-tag-alist)
2480 (html-tag-face-alist): Use mode-line face instead of obsolete
2481 alias modeline.
2482
2483 2012-06-02 Stefan Merten <smerten@oekonux.de>
2484
2485 * textmodes/rst.el: Always require `cl'.
2486 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2487
2488 2012-06-02 Chong Yidong <cyd@gnu.org>
2489
2490 * image.el (imagemagick-enabled-types): Rename from
2491 imagemagick-types-enable. Add many more types.
2492 (imagemagick-types-inhibit): Change default to nil.
2493 (imagemagick-filter-types): Caller changed.
2494
2495 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * emacs-lisp/cl-macs.el: Use backquotes.
2498 (cl-transform-function-property): Use eval-and-compile rather than
2499 abusing `require'.
2500 (defstruct): Use declare-function instead of with-no-warnings.
2501
2502 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2503 (byte-compile-output-docform): Re-add the print-circle bindings.
2504 (byte-compile-fix-header): Use #$ just because it's shorter.
2505 (byte-compile-output-file-form): Remove defun/defmacro.
2506
2507 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2508
2509 * simple.el (choose-completion): Remove now obsolete binding for
2510 owindow.
2511
2512 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2513
2514 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2515 in order to avoid "Stack overflow in regexp matcher".
2516
2517 2012-05-31 Glenn Morris <rgm@gnu.org>
2518
2519 * image.el: For clarity, call imagemagick-register-types at
2520 top-level, rather than relying on a custom :initialize.
2521 (imagemagick-types-enable): New option. (Bug#11557)
2522 (imagemagick-filter-types): New function. (Bug#7406)
2523 (imagemagick-register-types): Use imagemagick-filter-types.
2524 If disabling support, remove elements altogether rather
2525 than using an impossible regexp.
2526 (imagemagick-types-inhibit): Give it the default init function.
2527
2528 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2529
2530 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2531 Handle arbitrary file name lengths (Bug#11585).
2532
2533 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2534
2535 * desktop.el (desktop-read): Clear previous and next buffers for
2536 all windows and bury *Messages* buffer (bug#11556).
2537
2538 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 Add `declare' for `defun'. Align `defmacro's with it.
2541 * emacs-lisp/easy-mmode.el (define-minor-mode)
2542 (define-globalized-minor-mode): Don't autoload the var definitions.
2543 * emacs-lisp/byte-run.el: Use lexical-binding.
2544 (defun-declarations-alist, macro-declarations-alist): New vars.
2545 (defmacro, defun): Use them.
2546 (make-obsolete, define-obsolete-function-alias)
2547 (make-obsolete-variable, define-obsolete-variable-alias):
2548 Use `declare'.
2549 (macro-declaration-function): Mark obsolete.
2550 * emacs-lisp/autoload.el: Use lexical-binding.
2551 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2552
2553 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2554
2555 * textmodes/ispell.el (ispell-with-no-warnings):
2556 Define as a macro.
2557 (ispell-kill-ispell, ispell-change-dictionary):
2558 Use `called-interactively-p' for Emacs instead of obsolete
2559 `interactive-p'.
2560
2561 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2564 (macro-declaration-function): Move var from C code.
2565 (macro-declaration-function): Define function with defalias.
2566 * emacs-lisp/macroexp.el (macroexpand-all-1):
2567 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2568 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2569 defun/defmacro any more.
2570 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2571 Provide fallback for unknown arglist.
2572 (byte-compile-arglist-warn): Change calling convention.
2573 (byte-compile-output-file-form): Move print-vars binding.
2574 (byte-compile-output-docform): Simplify accordingly.
2575 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2576 (byte-compile-defmacro-declaration): Remove.
2577 (byte-compile-file-form-defmumble): Generalize to defalias.
2578 (byte-compile-output-as-comment): Return byte-positions.
2579 Simplify callers accordingly.
2580 (byte-compile-lambda): Use `assert'.
2581 (byte-compile-defun, byte-compile-defmacro): Remove.
2582 (byte-compile-file-form-defalias):
2583 Use byte-compile-file-form-defmumble.
2584 (byte-compile-defalias-warn): Remove.
2585
2586 2012-05-29 Stefan Merten <smerten@oekonux.de>
2587
2588 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2589 possible. Fix authors. Improve comments. Improve loading of `cl'.
2590
2591 (rst-mode-abbrev-table): Merge definition.
2592 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2593 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2594
2595 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2596
2597 * calendar/icalendar.el
2598 (icalendar-export-region): Export UID properly.
2599
2600 2012-05-29 Leo Liu <sdl.web@gmail.com>
2601 * calendar/icalendar.el (icalendar-import-format):
2602 Add `icalendar-import-format-uid' (Bug#11525).
2603 (icalendar-import-format-uid): New.
2604 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2605 Export UID.
2606
2607 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2610 different alternative patterns.
2611 (pcase-codegen): Be more careful to preserve identity.
2612 (pcase--u1): Don't forget to mark vars as used.
2613
2614 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2615 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2616 (byte-compile-from-buffer): ...rather than here.
2617
2618 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2619 functions from byte-compile-function-environment.
2620
2621 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2622
2623 * window.el (window-deletable-p): Avoid deleting the root window
2624 of a frame with an active minibuffer.
2625
2626 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2627
2628 * simple.el (choose-completion): Use quit-window (Bug#11567).
2629
2630 2012-05-29 Chong Yidong <cyd@gnu.org>
2631
2632 * whitespace.el (whitespace-cleanup): Fix usage of
2633 whitespace-empty-at-bob-regexp (Bug#11492).
2634
2635 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2636
2637 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2638 revert (Bug#11488).
2639
2640 2012-05-29 Juri Linkov <juri@jurta.org>
2641
2642 * isearch.el (isearch-mode-map): Bind `M-s _' to
2643 `isearch-toggle-symbol'. Bind `M-s c' to
2644 `isearch-toggle-case-fold'.
2645 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2646 (isearch-forward): Add `M-s _' to the docstring.
2647 (isearch-forward-symbol, isearch-toggle-case-fold)
2648 (isearch-symbol-regexp): New functions. (Bug#11381)
2649
2650 2012-05-29 Juri Linkov <juri@jurta.org>
2651
2652 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2653 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2654 a function, call it to get the regexp.
2655 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2656 property `isearch-message-prefix' instead of the string "word ".
2657 (isearch-search-fun-default): For the case of `isearch-word',
2658 return a lambda that calls re-search-forward/re-search-backward
2659 with a regexp returned by `word-search-regexp' or by the function
2660 in `isearch-word'.
2661
2662 2012-05-29 Juri Linkov <juri@jurta.org>
2663
2664 * isearch.el (isearch-search-fun-default): New function.
2665 (isearch-search-fun): Move default part to the new function
2666 `isearch-search-fun-default'.
2667 (isearch-search-fun-function): Set the default value to
2668 `isearch-search-fun-default'. (Bug#11381)
2669
2670 * comint.el (comint-history-isearch-end):
2671 Use `isearch-search-fun-default'.
2672 (comint-history-isearch-search): Use `isearch-search-fun-default'
2673 and remove spacial case for `isearch-word'.
2674 (comint-history-isearch-wrap): Remove spacial case for
2675 `isearch-word'.
2676
2677 * hexl.el (hexl-isearch-search-function):
2678 Use `isearch-search-fun-default'.
2679
2680 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2681 Use `word-search-regexp' for `isearch-word'.
2682
2683 * misearch.el (multi-isearch-search-fun):
2684 Use `isearch-search-fun-default'.
2685
2686 * simple.el (minibuffer-history-isearch-search):
2687 Use `isearch-search-fun-default' and remove spacial case for
2688 `isearch-word'.
2689 (minibuffer-history-isearch-wrap): Remove spacial case for
2690 `isearch-word'.
2691
2692 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2693 Remove spacial case for `isearch-word'.
2694 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2695
2696 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2697
2698 Decrease XEmacs incompatibilities.
2699 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2700 Use `string-match'.
2701 (flyspell-delete-region-overlays): Use alternative definition for
2702 XEmacs.
2703 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2704 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2705 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2706 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2707 `define-obsolete-face-alias' under XEmacs, but old method.
2708
2709 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2710 `with-no-warnings' definition or Emacs alias.
2711 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2712 (ispell-word): Do not use `region-p' if XEmacs.
2713
2714 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2715
2716 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2717 Check for `ispell-dictionary-base-alist' instead of full
2718 `ispell-dictionary-alist'.
2719 (ispell-init-process): Show spellchecker when starting new Ispell
2720 process.
2721
2722 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2723
2724 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2725 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2726
2727 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2728
2729 * version.el (motif-version-string, gtk-version-string)
2730 (ns-version-string): Declare.
2731
2732 2012-05-27 Juri Linkov <juri@jurta.org>
2733
2734 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2735 after the `eval-defun-1' specialcaseing
2736 like in `edebug-eval-defun' (bug#10181).
2737
2738 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2739 like in `eval-defun-1'.
2740
2741 2012-05-27 Eli Zaretskii <eliz@gnu.org>
2742
2743 * mail/sendmail.el (mail-yank-region):
2744 Recognize rmail-yank-current-message in addition to insert-buffer.
2745 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2746 a *mail* buffer created through rmail-start-mail with sendmail as
2747 mail-user-agent.
2748
2749 2012-05-27 Chong Yidong <cyd@gnu.org>
2750
2751 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2752 Default to 256 (Bug#11267).
2753
2754 * help.el (describe-mode): Doc fix.
2755
2756 2012-05-26 Glenn Morris <rgm@gnu.org>
2757
2758 * w32-fns.el (w32-init-info): Remove.
2759 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2760
2761 * info.el (info-initialize): For self-contained NS builds, put the
2762 included info/ directory at the front. (Bug#2791)
2763
2764 * paths.el (Info-default-directory-list): Make it a defcustom,
2765 mainly so that we can use custom-initialize-delay.
2766
2767 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * subr.el (buffer-has-markers-at): Mark obsolete.
2770
2771 * subr.el (lambda): Use declare.
2772
2773 * emacs-lisp/lisp-mode.el (lambda):
2774 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2775
2776 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2777
2778 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2779
2780 2012-05-26 Glenn Morris <rgm@gnu.org>
2781
2782 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2783
2784 2012-05-25 Glenn Morris <rgm@gnu.org>
2785
2786 * paths.el: Remove no-byte-compile.
2787 * loadup.el: No need to load paths.el uncompiled.
2788
2789 * image.el (imagemagick-types-inhibit): Doc fix.
2790
2791 * version.el: Remove no-byte-compile and associated formatting.
2792 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2793 is ancient code from when there was an "inc-vers.el".
2794
2795 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * progmodes/gdb-mi.el: Minor style changes.
2798 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2799 Turn into minor modes.
2800 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2801 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2802 (gdb-shell): Remove unneeded let-binding.
2803 (gdb-get-many-fields): Eliminate O(n²) behavior.
2804
2805 2012-05-25 Eli Zaretskii <eliz@gnu.org>
2806
2807 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2808 platforms that don't link in fontset.c.
2809
2810 2012-05-25 Juri Linkov <juri@jurta.org>
2811
2812 Use the same diff color scheme as in modern VCSes (bug#10181).
2813
2814 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2815 to avoid confusion with `diff-added' that now uses green colors.
2816 (diff-removed): Use shades of red.
2817 (diff-added): Use shades of green.
2818 (diff-changed): Leave just the yellow color.
2819 (diff-use-changed-face): New variable.
2820 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2821 how to highlight context diff changes.
2822 (diff-refine-change): Use shades of yellow.
2823 (diff-refine-removed): New face that uses shades of red.
2824 (diff-refine-added): New face that uses shades of green.
2825 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2826 `diff-refine-removed' in the call to `smerge-refine-subst'
2827 depending on the value of `diff-use-changed-face'.
2828
2829 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2830 (smerge-other): Use shades of green.
2831 (smerge-base): Use shades of yellow.
2832 (smerge-refined-change): Empty face.
2833 (smerge-refined-removed): New face that uses shades of red.
2834 (smerge-refined-added): New face that uses shades of green.
2835 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2836 args `props-r' and `props-a', and use them. Doc fix.
2837 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2838 on its value use different faces `smerge-refined-change',
2839 `smerge-refined-removed', `smerge-refined-added' in the call to
2840 `smerge-refine-subst'.
2841
2842 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2843 Add face condition `min-colors 88' with shades of red.
2844 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2845 `min-colors 88' with shades of green.
2846 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2847 `min-colors 88' with shades of yellow.
2848
2849 2012-05-24 Glenn Morris <rgm@gnu.org>
2850
2851 * paths.el (prune-directory-list, remote-shell-program): Move to...
2852 * files.el (prune-directory-list, remote-shell-program): ...here.
2853 For the latter, delay initialization, prefer ssh, just search PATH.
2854
2855 * paths.el (term-file-prefix): Move to faces.el (the only user).
2856 * faces.el (term-file-prefix): Move here, make it a defcustom.
2857
2858 * paths.el (news-directory, news-path, news-inews-program):
2859 Move to gnus/nnspool.el.
2860
2861 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2862
2863 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2864 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2865 Make the latter a defcustom, with a delayed initialization.
2866
2867 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2868 These were deleted from Gnus itself late 2010.
2869
2870 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2871
2872 * progmodes/which-func.el (which-func-ff-hook):
2873 Check against user-error, not error.
2874
2875 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2876 cl-specs.el, which no longer exists.
2877
2878 2012-05-22 Glenn Morris <rgm@gnu.org>
2879
2880 * info.el (info-emacs-bug): New command.
2881 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2882 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2883
2884 2012-05-21 Glenn Morris <rgm@gnu.org>
2885
2886 * makefile.w32-in (update-subdirs-SH):
2887 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2888
2889 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2892
2893 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2894 Simplify Maven regexp, and make sure the file can't start with a space
2895 (bug#11517).
2896
2897 2012-05-21 Glenn Morris <rgm@gnu.org>
2898
2899 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2900 Scrap superfluous subshells.
2901
2902 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2904 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2905 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2906
2907 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2908
2909 * calc/calc.el (calc-ensure-consistent-units): New variable.
2910
2911 * calc/calc-units.el (math-consistent-units-p)
2912 (math-check-unit-consistency): New functions.
2913 (calc-quick-units, calc-convert-units):
2914 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2915 is non-nil.
2916 (calc-extract-units): Fix typo.
2917
2918 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2921
2922 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2923 (flyspell-default-deplacement-commands): Don't spell check after
2924 repeated window/frame switches (e.g. triggered by mouse-movement).
2925 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2926 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2927 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2928 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2929 Remove unused vars.
2930 (flyspell-get-casechars, flyspell-get-not-casechars):
2931 Simplify; Don't bother removing a ] just to add it back.
2932 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2933
2934 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2935
2936 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2937 New functions.
2938 (math-function-table): Add support for more C functions.
2939
2940 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2941
2942 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2943 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2944 Protect delay handling for otherchars against empty otherchars.
2945
2946 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2949 their respective macro declarations.
2950 * skeleton.el (define-skeleton):
2951 * progmodes/compile.el (define-compilation-mode):
2952 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2953 (define-ibuffer-filter):
2954 * emacs-lisp/generic.el (define-generic-mode):
2955 * emacs-lisp/easy-mmode.el (define-minor-mode)
2956 (define-globalized-minor-mode):
2957 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2958 * emacs-lisp/byte-run.el (defsubst):
2959 * custom.el (deftheme): Add doc-string metadata.
2960
2961 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2964
2965 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2968
2969 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2970 * emacs-lisp/cl-macs.el: Idem.
2971 * emacs-lisp/cl-specs.el: Remove.
2972
2973 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 Minor renaming of internal CL functions and variables.
2976 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2977 (cl--position): Rename from cl-position.
2978 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2979 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2980 (cl--random-state): Rename from *random-state*.
2981
2982 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2985 parens around the arg list (bug#11499).
2986
2987 2012-05-17 Juri Linkov <juri@jurta.org>
2988
2989 * isearch.el (word-search-regexp, word-search-backward)
2990 (word-search-forward, word-search-backward-lax)
2991 (word-search-forward-lax): Move functions from search.c
2992 (bug#10145, bug#11381).
2993
2994 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2995
2996 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2997 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2998 Delay for otherchars as for normal word components.
2999
3000 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3001
3002 * minibuffer.el (completion--sifn-requote): Fix last change.
3003 (minibuffer-local-must-match-filename-map):
3004 Move define-obsolete-variable-alias before its var.
3005
3006 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3009
3010 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3011 behavior.
3012 (completion--string-equal-p): New function.
3013 (completion--twq-all): Use it to get better assertion failure data.
3014
3015 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3016 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3017 (shell--requote-argument): New functions.
3018 (shell-completion-vars): Use them.
3019 (shell--parse-pcomplete-arguments): Rename from
3020 shell-parse-pcomplete-arguments.
3021 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3022 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3023 Obey comint-file-name-quote-list.
3024
3025 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3026 (smie-indent-keyword): Use it.
3027
3028 2012-05-14 Stefan Merten <smerten@oekonux.de>
3029
3030 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3031
3032 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3033
3034 * net/rlogin.el (rlogin-mode-map): Fix last change.
3035
3036 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3037
3038 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3039 the following \r\n using a single `process-send-string', since the
3040 Lotus SMTP server refuses to accept any commands if they are sent
3041 with two `process-send-string's (Bug#11444).
3042
3043 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * shell.el (shell-parse-pcomplete-arguments):
3046 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3047
3048 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3049
3050 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3051 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3052 (image-transform-width, image-transform-fit-width): New functions.
3053 (image-transform-properties): Use them.
3054 (image-transform-check-size): New function.
3055 (image-toggle-display-image): Use it (for testing).
3056 (image-transform-set-rotation): Reduce angle mod 360.
3057 Delete obsolete comment.
3058
3059 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3060
3061 * image-mode.el: Fix scaling (bug#11399).
3062 (image-transform-resize): Doc fix.
3063 (image-transform-properties): Default scale is 1 and height should
3064 be an integer.
3065
3066 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3067
3068 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3069 than hard-coding `car', to fix misbehavior when moving forward.
3070
3071 2012-05-13 Chong Yidong <cyd@gnu.org>
3072
3073 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3074 (tabulated-list-entries, tabulated-list-padding)
3075 (tabulated-list-sort-key): Make permanent-local.
3076
3077 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3078 (electric-buffer-list): Put electric buffer menu
3079 command descriptions in this docstring, instead of the docstring
3080 of electric-buffer-menu-mode. Code cleanups.
3081 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3082 Electric-buffer-menu-mode.
3083 (electric-buffer-update-highlight): Minor code cleanup.
3084
3085 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3086
3087 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3088 (Bug#11447)
3089
3090 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 Move define-obsolete-variable-alias before the var's definition.
3093 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3094 * tooltip.el (tooltip-hook):
3095 * textmodes/reftex-toc.el (reftex-toc-map):
3096 * textmodes/reftex-sel.el (reftex-select-label-map)
3097 (reftex-select-bib-map):
3098 * textmodes/reftex-index.el (reftex-index-map)
3099 (reftex-index-phrases-map):
3100 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3101 * progmodes/meta-mode.el (meta-mode-map):
3102 * novice.el (disabled-command-hook):
3103 * loadhist.el (unload-hook-features-list):
3104 * frame.el (blink-cursor):
3105 * files.el (find-file-not-found-hooks, write-file-hooks)
3106 (write-contents-hooks):
3107 * emulation/tpu-edt.el (GOLD-map):
3108 * emacs-lock.el (emacs-lock-from-exiting):
3109 * emacs-lisp/generic.el (generic-font-lock-defaults):
3110 * emacs-lisp/chart.el (chart-map):
3111 * dos-fns.el (register-name-alist):
3112 * dired-x.el (dired-omit-files-p):
3113 * desktop.el (desktop-enable):
3114 * cus-edit.el (custom-mode-hook):
3115 * buff-menu.el (buffer-menu-mode-hook):
3116 * bookmark.el (bookmark-read-annotation-text-func)
3117 (bookmark-exit-hooks):
3118 * allout.el (allout-mode-deactivate-hook)
3119 (allout-exposure-change-hook, allout-structure-added-hook)
3120 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3121 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3122 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3123 comes before the corresponding variable's definition.
3124
3125 2012-05-12 Chong Yidong <cyd@gnu.org>
3126
3127 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3128 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3129 (Buffer-menu-mode-map): Bind it.
3130 (Buffer-menu--pretty-name): Add a mouse-face property.
3131
3132 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3135 (prolog-upper-case-string, prolog-lower-case-string)
3136 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3137 (prolog-use-smie, prolog-smie-grammar): New vars.
3138 (prolog-smie-forward-token, prolog-smie-backward-token)
3139 (prolog-smie-rules): New funs.
3140 (prolog-comment-indent): Remove.
3141 (prolog-mode-variables): Use default comment indentation instead.
3142 Setup SMIE.
3143 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3144 (prolog-mode): Don't call them any more.
3145 (prolog-electric-colon, prolog-electric-dash)
3146 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3147
3148 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3149
3150 * minibuffer.el (completion--twq-all): Again, allow case differences.
3151
3152 * term.el: Move keymap initialization code to be more idiomatic.
3153 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3154 (term-terminal-menu): Move initialization into declaration.
3155 (term-escape-char): Let the user set it in her .emacs.
3156
3157 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3158 Provide SMIE-based indentation (not enabled by default yet).
3159 (sh-mode-map): Don't bind electric keys.
3160 Use electric-pair-mode instead of skeleton-pair.
3161 (sh-assignment-regexp): Fit within 80 columns.
3162 (sh-indent-supported): Specify actual shell name instead of boolean.
3163 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3164 (sh-maybe-here-document): Use it. Make obsolete.
3165 (sh-electric-here-document-mode) New minor mode.
3166 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3167 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3168 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3169 (sh-smie-rc-grammar, sh-use-smie): New vars.
3170 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3171 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3172 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3173 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3174 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3175 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3176 (sh-set-shell): Use smie-setup if requested.
3177
3178 * term.el (term-set-escape-char): Properly set term-escape-char.
3179 See http://stackoverflow.com/questions/10524656.
3180
3181 2012-05-10 Chong Yidong <cyd@gnu.org>
3182
3183 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3184 Use url-generic-parse-url, and handle host names and Windows
3185 filenames properly.
3186 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3187 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3188 URL schemes to work on.
3189 (ffap--toggle-read-only): New function.
3190 (ffap-read-only, ffap-read-only-other-window)
3191 (ffap-read-only-other-frame): Use it.
3192 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3193 necessary for ffap-url-unwrap-remote.
3194
3195 2012-05-10 Dave Abrahams <dave@boostpro.com>
3196
3197 * cus-start.el (create-lockfiles): Add it.
3198
3199 2012-05-09 Chong Yidong <cyd@gnu.org>
3200
3201 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3202 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3203
3204 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3205
3206 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3207
3208 2012-05-09 Chong Yidong <cyd@gnu.org>
3209
3210 * ansi-color.el (ansi-color-process-output): Check for validity of
3211 comint-last-output-start before using it. This avoids a bad
3212 interaction with gdb-mi's input/output buffer.
3213
3214 2012-05-09 Glenn Morris <rgm@gnu.org>
3215
3216 * files.el (dir-locals-read-from-file):
3217 Mention dir-locals in any error message.
3218
3219 2012-05-09 Chong Yidong <cyd@gnu.org>
3220
3221 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3222 package (Bug#11410).
3223
3224 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3225 variables into description.
3226
3227 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3230 shell-delimiter-argument-list (bug#11348).
3231 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3232
3233 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3234
3235 * textmodes/rst.el: Silence byte-compiler warnings.
3236 (rst-re-alist, rst-reset-section-caches): Move around.
3237 (rst-re): Use `characterp', not `char-valid-p'.
3238 (font-lock-beg, font-lock-end): Declare.
3239
3240 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3241 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3242
3243 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3244
3245 2012-05-08 Glenn Morris <rgm@gnu.org>
3246
3247 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3248
3249 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * vc/log-edit.el: Add GNU coding standards highlighting.
3252 (log-edit-font-lock-gnu-style)
3253 (log-edit-font-lock-gnu-keywords): New vars.
3254 (log-edit-font-lock-keywords): New fun.
3255 (log-edit-mode): Don't fold case in font-lock.
3256 (log-edit-font-lock-keywords): Do not assume case-folding.
3257
3258 * imenu.el: Misc cleanup. Make docstrings out of comments.
3259 Use lexical-binding.
3260 (imenu--index-alist, imenu--last-menubar-index-alist)
3261 (imenu-menubar-modified-tick): Use defvar-local.
3262 (imenu--split-menu): Remove unused var.
3263 (imenu--cleanup-seen): Declare as global.
3264 (imenu--cleanup): Use dolist.
3265
3266 * subr.el (defvar-local): Add debug spec and doc-string position.
3267
3268 2012-05-08 Glenn Morris <rgm@gnu.org>
3269
3270 * language/burmese.el, language/cham.el, language/czech.el:
3271 * language/english.el, language/georgian.el, language/greek.el:
3272 * language/japanese.el, language/khmer.el, language/korean.el:
3273 * language/lao.el, language/misc-lang.el, language/romanian.el:
3274 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3275 * language/thai.el, language/utf-8-lang.el:
3276 Remove no-byte-compile setting.
3277
3278 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3279
3280 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3281
3282 * progmodes/make-mode.el (makefile-browse):
3283 Remove unnecessary interactive. (Bug#11324)
3284
3285 2012-05-07 Glenn Morris <rgm@gnu.org>
3286
3287 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3288
3289 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3290
3291 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3292
3293 * loadup.el: Preload newcomment.el.
3294 * newcomment.el: Move autoload-only code to toplevel.
3295
3296 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3297 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3298 Handle new :right-align column property.
3299 (tabulated-list-print-col): Idem, plus use `display' text-property to
3300 try and preserve alignment for variable pitch fonts.
3301
3302 2012-05-07 Chong Yidong <cyd@gnu.org>
3303
3304 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3305 (tabulated-list-use-header-line): New var.
3306 (tabulated-list-init-header): Use it.
3307 (tabulated-list-print-fake-header): New function.
3308 (tabulated-list-print): Use it.
3309 (tabulated-list-sort-button-map): Add non-header-line commands.
3310 (tabulated-list-init-header): Add column name property to basic
3311 labels as well.
3312 (tabulated-list-col-sort): Handle non-header-line button case.
3313 (tabulated-list--sort-by-column-name): Fix a corner case.
3314
3315 * buff-menu.el (list-buffers--refresh):
3316 Handle Buffer-menu-use-header-line.
3317
3318 2012-05-06 Chong Yidong <cyd@gnu.org>
3319
3320 * buff-menu.el: Convert to Tabulated List mode.
3321 (Buffer-menu-buffer+size-width): Make obsolete.
3322 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3323 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3324 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3325 documentation into docstring of buffer-menu.
3326 (Buffer-menu-toggle-files-only): Add an informative message.
3327 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3328 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3329 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3330 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3331 (Buffer-menu-execute, Buffer-menu-select)
3332 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3333 (Buffer-menu-bury): Use Tabulated List machinery.
3334 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3335 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3336 Delete.
3337 (list-buffers--refresh): New function.
3338 (list-buffers-noselect): Use it.
3339 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3340 (Buffer-menu--pretty-file-name): New helper functions.
3341
3342 * loadup.el: Preload tabulated-list.
3343
3344 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3345 tabulated-list-sort-column.
3346 (tabulated-list-init-header): Add the initial aligning space even
3347 if tabulated-list-padding is zero.
3348
3349 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3350
3351 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3352 whose cdr is not a cons cell correctly (bug#11038).
3353
3354 2012-05-06 Chong Yidong <cyd@gnu.org>
3355
3356 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3357 Accept additional plist in column descriptors.
3358 (tabulated-list-init-header): Obey it.
3359 (tabulated-list-get-entry): New function.
3360 (tabulated-list-put-tag): Use it. Use string-width instead of
3361 length.
3362 (tabulated-list--column-number): New function.
3363 (tabulated-list-print): Use it.
3364 (tabulated-list-print-col): New function.
3365 Set `tabulated-list-column-name' property on each column's text.
3366 (tabulated-list-print-entry): Use it.
3367 (tabulated-list-delete-entry, tabulated-list-set-col):
3368 New functions.
3369 (tabulated-list-sort-column): New command (Bug#11337).
3370
3371 * buff-menu.el (list-buffers): Move C-x C-b binding from
3372 buff-menu.el to bindings.el.
3373
3374 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3375 :advertised-binding feature.
3376
3377 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3378
3379 * progmodes/compile.el (compilation-internal-error-properties):
3380 Calculate start position correctly when end-col is set but
3381 end-line is not (Bug#11382).
3382
3383 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3384
3385 * man.el (Man-unindent): Use text-property-default-nonsticky to
3386 prevent untabify from inheriting face properties (Bug#11408).
3387
3388 2012-05-05 Stefan Merten <smerten@oekonux.de>
3389
3390 * textmodes/rst.el: Major merge with upstream development up to
3391 Docutils SVN r7399 / rst.el V1.2.1.
3392
3393 Clarify maintainership and authors.
3394
3395 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3396 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3397 (rst-official-version, rst-official-cvs-rev, rst-version)
3398 (rst-package-emacs-version-alist): New functions and variables
3399 for version information.
3400
3401 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3402 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3403 (rst-mode-syntax-table, rst-mode): New and corrected functions
3404 and variables representing reStructuredText features.
3405
3406 (rst-re): New function for reStructuredText regexes. Use in
3407 many places.
3408
3409 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3410 (rst-mode-map): Rebind keys.
3411
3412 (rst-mode-lazy, rst-font-lock-keywords)
3413 (rst-font-lock-extend-region)
3414 (rst-font-lock-extend-region-internal)
3415 (rst-font-lock-extend-region-extend)
3416 (rst-font-lock-find-unindented-line-limit)
3417 (rst-font-lock-find-unindented-line-match)
3418 (rst-adornment-level, rst-font-lock-adornment-level)
3419 (rst-font-lock-adornment-match)
3420 (rst-font-lock-handle-adornment-pre-match-form)
3421 (rst-font-lock-handle-adornment-matcher): Major revision of
3422 font-locking. Integrate with other code. Use `jit-lock-mode'.
3423
3424 (rst-preferred-adornments, rst-adjust-hook)
3425 (rst-new-adornment-down, rst-preferred-bullets)
3426 (rst-preferred-bullets, rst-indent, rst-indent-width)
3427 (rst-indent-field, rst-indent-literal-normal)
3428 (rst-indent-literal-minimized, rst-indent-comment): Change,
3429 extend and improve customization.
3430
3431 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3432 (rst-normalize-cursor-position, rst-get-decoration)
3433 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3434 (rst-rstrip, rst-toc-insert-find-delete-contents)
3435 (rst-shift-fill-region, rst-compute-bullet-tabs)
3436 (rst-debug-print-tabs, rst-debug-mark-found)
3437 (rst-shift-region-guts, rst-shift-region-right)
3438 (rst-shift-region-left, rst-use-char-classes)
3439 (rst-font-lock-keywords-function)
3440 (rst-font-lock-indentation-point)
3441 (rst-font-lock-find-unindented-line-begin)
3442 (rst-font-lock-find-unindented-line-end)
3443 (rst-font-lock-find-unindented-line)
3444 (rst-font-lock-adornment-point, rst-font-lock-level)
3445 (rst-adornment-level-alist): Remove functions and variables.
3446
3447 (rst-compare-adornments, rst-get-adornment-match)
3448 (rst-suggest-new-adornment, rst-get-adornments-around)
3449 (rst-adornment-complete-p, rst-get-next-adornment)
3450 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3451 (rst-straighten-adornments): Standardize function names to
3452 use "adornment" instead of "decoration". Correct callers.
3453 Similar standardizing in many places.
3454
3455 (rst-update-section, rst-adjust, rst-promote-region)
3456 (rst-enumerate-region, rst-bullet-list-region)
3457 (rst-repeat-last-character): Correct use of `interactive'.
3458
3459 (rst-classify-adornment, rst-find-all-adornments)
3460 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3461 (rst-find-leftmost-column, rst-repeat-last-character):
3462 Refactor functions.
3463
3464 (rst-find-title-line, rst-reset-section-caches)
3465 (rst-get-adornments-around, rst-adjust-adornment-work)
3466 (rst-arabic-to-roman, rst-roman-to-arabic)
3467 (rst-insert-list-pos, rst-insert-list-new-item)
3468 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3469 New functions.
3470
3471 (rst-all-sections, rst-section-hierarchy)
3472 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3473 New variables.
3474
3475 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3476 configuration instead of only buffer. Change where necessary.
3477
3478 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3479 (rst-shift-region, rst-adaptive-fill): New functions for
3480 indentation and filling.
3481
3482 (rst-comment-line-break, rst-comment-indent)
3483 (rst-comment-insert-comment, rst-comment-region)
3484 (rst-uncomment-region): New functions for handling comments.
3485
3486 (rst-compile): Quote shell arguments.
3487
3488 (rst-compile-pdf-preview, rst-compile-slides-preview):
3489 Delete temporary files after use.
3490
3491 2012-05-05 Glenn Morris <rgm@gnu.org>
3492
3493 * calendar/cal-html.el: Optionally include holidays in the output.
3494 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3495 (cal-html-holidays): New option.
3496 (cal-html-css-default): Add holiday entry.
3497 (holiday-in-range): Autoload it.
3498 (cal-html-htmlify-entry): Add optional class argument.
3499 (cal-html-htmlify-list): Add optional holidays argument.
3500 (cal-html-insert-agenda-days): Include holidays in the output.
3501 (cal-html-one-month): Maybe include holidays.
3502
3503 * calendar/holidays.el (holiday-in-range):
3504 Move here from cal-tex-list-holidays.
3505 * calendar/cal-tex.el (cal-tex-list-holidays):
3506 Make it an obsolete alias for holiday-in-range. Update all callers.
3507
3508 2012-05-05 Chong Yidong <cyd@gnu.org>
3509
3510 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3511 Nextstep.
3512
3513 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3514
3515 * files.el (file-auto-mode-skip): New var.
3516 (set-auto-mode-1): Use it.
3517
3518 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * repeat.el: Use lexical-binding.
3521 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3522 (repeat-undo-count): Remove.
3523 (repeat):
3524 * progmodes/octave-mod.el (octave-abbrev-start):
3525 * progmodes/f90.el (f90-abbrev-start):
3526 * face-remap.el (text-scale-adjust):
3527 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3528
3529 * emacs-lisp/pcase.el (pcase--let*): New function.
3530 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3531 a bit more.
3532 (pcase--split-pred): Be more clever about ruling out overlap between
3533 a predicate and some constant pattern.
3534 (pcase--q1): Use `null' instead of (eq foo nil).
3535
3536 * subr.el (setq-local, defvar-local): New macros.
3537 (kbd): Redefine as an alias.
3538 (with-selected-window): Leave unrelated frames alone.
3539 (set-temporary-overlay-map): New function.
3540
3541 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * subr.el (user-error): New function.
3544 * window.el (switch-to-buffer):
3545 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3546 (smerge-match-conflict):
3547 * simple.el (previous-matching-history-element)
3548 (next-matching-history-element, goto-history-element, undo-more)
3549 (undo-start):
3550 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3551 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3552 (next-file, tags-loop-scan, list-tags, complete-tag):
3553 * progmodes/compile.el (compilation-loop):
3554 * mouse.el (mouse-minibuffer-check):
3555 * man.el (Man-bgproc-sentinel, Man-goto-page):
3556 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3557 (Info-history-forward, Info-follow-reference, Info-menu)
3558 (Info-extract-menu-item, Info-extract-menu-counting)
3559 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3560 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3561 (Info-next-reference, Info-prev-reference, Info-index)
3562 (Info-index-next, Info-follow-nearest-node)
3563 (Info-copy-current-node-name):
3564 * imenu.el (imenu--make-index-alist)
3565 (imenu-default-create-index-function, imenu-add-to-menubar):
3566 * files.el (basic-save-buffer, recover-file):
3567 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3568 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3569 (checkdoc-message-text, checkdoc-defun):
3570 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3571 * cus-edit.el (customize-changed-options, customize-rogue)
3572 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3573 (custom-variable-mark-to-reset-standard)
3574 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3575 (custom-file):
3576 * completion.el (check-completion-length):
3577 * comint.el (comint-search-arg)
3578 (comint-previous-matching-input-string-position)
3579 (comint-previous-matching-input)
3580 (comint-replace-by-expanded-history-before-point, comint-send-input)
3581 (comint-copy-old-input, comint-backward-matching-input)
3582 (comint-goto-process-mark, comint-set-process-mark):
3583 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3584 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3585
3586 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3587
3588 * dabbrev.el (dabbrev--ignore-case-p): New function.
3589 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3590 Use it.
3591
3592 * files.el (automount-dir-prefix): Mark as obsolete.
3593
3594 2012-05-04 Glenn Morris <rgm@gnu.org>
3595
3596 * patcomp.el, play/bruce.el: Move to obsolete/.
3597
3598 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3599
3600 Fix minor Y10k bugs.
3601 * arc-mode.el (archive-unixdate):
3602 * autoinsert.el (auto-insert-alist):
3603 * calc/calc-forms.el (math-this-year):
3604 * emacs-lisp/copyright.el (copyright-current-year)
3605 (copyright-update-year, copyright):
3606 * tar-mode.el (tar-clip-time-string):
3607 * time.el (display-time-update):
3608 Don't assume years have 4 digits.
3609
3610 2012-05-04 Chong Yidong <cyd@gnu.org>
3611
3612 * dos-w32.el (file-name-buffer-file-type-alist)
3613 (direct-print-region-use-command-dot-com):
3614 * ffap.el (ffap-menu-regexp):
3615 * find-file.el (ff-special-constructs):
3616 * follow.el (follow-debug):
3617 * forms.el (forms--debug):
3618 * iswitchb.el (iswitchb-all-frames):
3619 * ido.el (ido-all-frames):
3620 * emacs-lisp/timer.el (timer-max-repeats):
3621 * mail/feedmail.el (feedmail-mail-send-hook)
3622 (feedmail-mail-send-hook-queued):
3623 * mail/footnote.el (footnote-signature-separator):
3624 * mail/mailabbrev.el (mail-alias-separator-string)
3625 (mail-abbrev-mode-regexp):
3626 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3627 * progmodes/idlwave.el (idlwave-libinfo-file)
3628 (idlwave-default-completion-case-is-down)
3629 (idlwave-library-routines): Convert defvars to defcustoms.
3630
3631 * mail/rmail.el (rmail-decode-mime-charset):
3632 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3633 (idlwave-shell-fix-inserted-breaks)
3634 (idlwave-shell-activate-alt-keybindings)
3635 (idlwave-shell-use-breakpoint-glyph):
3636 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3637
3638 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3639
3640 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3641
3642 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3643
3644 * progmodes/verilog-mode.el (font-lock-keywords):
3645 Fix mis-highligting auto. Reported by Craig Barner.
3646 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3647 defines from global name space. Reported by Dan Dever.
3648 (verilog-auto-reset, verilog-auto-reset-widths)
3649 (verilog-auto-tieoff): Support using unbased numbers for
3650 AUTORESET and AUTOTIEOFF.
3651 (verilog-submit-bug-report): Update variable list.
3652 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3653 parenthesis from not matching. Reported by Michael Rytting.
3654 (verilog-auto-template-lint): Fix hash error when linting modules
3655 with no used templates.
3656 (verilog-warn, verilog-warn-error)
3657 (verilog-warn-fatal): When non-interactive report multiple
3658 warnings before exiting. Suggested by Brad Dobbie.
3659 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3660 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3661 to report unused template errors. Reported by Brad Dobbie.
3662 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3663 nets, bug438. Reported by Vns Blore.
3664 (verilog-auto-inout-module, verilog-auto-reg)
3665 (verilog-read-decls, verilog-read-sub-decls-sig)
3666 (verilog-signals-edit-wire-reg, verilog-signals-with):
3667 Fix passing of Verilog data types in ANSI input/output ports
3668 such as "output logic" into the AUTOs. Special case "wire" and
3669 "reg" for backwards compatibility presuming Verilog 2001.
3670 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3671 (verilog-preprocess): Fix replication of preprocess output.
3672 Reported by Brad Dobbie.
3673 (verilog-auto-inst-interfaced-ports):
3674 Create verilog-auto-inst-interfaced-ports, bug429.
3675 Reported by Julian Gorfajn.
3676 (verilog-after-save-font-hook)
3677 (verilog-before-save-font-hook): New variable.
3678 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3679 (verilog-save-font-mods): Wrap disabling fontification, reported
3680 by David Rogoff.
3681 (verilog-do-indent, verilog-pretty-declarations-auto)
3682 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3683 Reported by Pierre-David Pfister.
3684 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3685 of class declarations, bug292. Reported by Kevin Heilman.
3686 (verilog-read-decls): Fix 'parameter type' not appearing in
3687 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3688 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3689 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3690 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3691 Reported by David Kravitz.
3692
3693 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3694
3695 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3696 assignment with tests in ifs and for loops.
3697 (verilog-extended-complete-re, verilog-complete-reg): Change so
3698 that DPI inport functions don't look like fuction declarations.
3699 (verilog-pretty-expr): Don't line up assignment
3700 operations to the test and increment in if and for loops
3701 (verilog-extended-complete-re, verilog-complete-reg): Change so
3702 that DPI inport functions don't look like fuction declarations.
3703
3704 2012-05-03 Kenichi Handa <handa@m17n.org>
3705
3706 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3707 decoding, and show a warning message without signaling an error
3708 (Bug#11282).
3709
3710 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3712 * emacs-lisp/bytecomp.el
3713 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3714 since cconv.el might have introduced :fun-body, internal-make-closure,
3715 and friends for bytecomp to handle (bug#11391).
3716 * custom.el (defcustom): Avoid ((λ ..) ..).
3717
3718 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3721
3722 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3723
3724 * notifications.el (dbus-debug):
3725 * term/linux.el (gpm-mouse-enable):
3726 * term/screen.el (xterm-register-default-colors): Declare.
3727
3728 2012-05-02 Chong Yidong <cyd@gnu.org>
3729
3730 * cus-start.el (gc-cons-percentage, exec-suffixes)
3731 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3732 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3733 (make-cursor-line-fully-visible, void-text-area-pointer)
3734 (font-list-limit): Add customization data.
3735
3736 * allout.el (allout-exposure-change-functions)
3737 (allout-structure-added-functions)
3738 (allout-structure-deleted-functions)
3739 (allout-structure-shifted-functions): Rename abnormal hooks from
3740 *-hook, and convert to defcustoms.
3741 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3742 Convert to defcustoms.
3743 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3744
3745 * allout-widgets.el: Hook callers changed.
3746
3747 2012-05-02 Eli Zaretskii <eliz@gnu.org>
3748
3749 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3750 the yanked message in preference to the default value of
3751 buffer-file-coding-system.
3752
3753 2012-05-02 Martin Rudalics <rudalics@gmx.at>
3754
3755 * window.el (display-buffer--action-function-custom-type):
3756 Fix entry.
3757
3758 2012-05-02 Alan Mackenzie <acm@muc.de>
3759
3760 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3761
3762 2012-05-01 Glenn Morris <rgm@gnu.org>
3763
3764 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3765
3766 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3767
3768 * cus-edit.el (custom-variable-documentation): Simplify with format.
3769
3770 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3771 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * simple.el (suggest-key-bindings, execute-extended-command):
3774 Move from keyboard.c.
3775
3776 2012-05-01 Chong Yidong <cyd@gnu.org>
3777
3778 * follow.el: Eliminate advice.
3779 (set-process-filter, process-filter, sit-for): Advice deleted.
3780 (follow-mode-off-hook): Obsolete hook removed.
3781 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3782 Vars deleted.
3783 (follow-auto): Use a :set function.
3784 (follow-mode): Rewritten. Don't advise process filters.
3785 (follow-switch-to-current-buffer-all, follow-scroll-up)
3786 (follow-scroll-down): Assume follow-mode is bound.
3787 (follow-comint-scroll-to-bottom)
3788 (follow-align-compilation-windows): New functions.
3789 (follow--window-sorter): New function.
3790 (follow-all-followers): Use it to explicitly sort windows by their
3791 positions; don't make assumptions about next-window order.
3792 (follow-windows-start-end, follow-delete-other-windows-and-split)
3793 (follow-calc-win-start): Doc fix.
3794 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3795 vertical-motion unnecessarily.
3796 (follow-adjust-window): New function.
3797 (follow-post-command-hook): Use it.
3798 (follow-call-set-process-filter, follow-call-process-filter)
3799 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3800 (follow-stop-intercept-process-output, follow-generic-filter):
3801 Functions deleted.
3802 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3803 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3804 New functions, replacing advice on scroll-bar-* commands.
3805 (follow-mwheel-scroll): New function (Bug#4112).
3806
3807 * comint.el (comint-adjust-point): New function.
3808 (comint-postoutput-scroll-to-bottom): Use it.
3809 Call follow-comint-scroll-to-bottom for Follow mode buffers.
3810
3811 2012-05-01 Glenn Morris <rgm@gnu.org>
3812
3813 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3814 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3815 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3816 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3817 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3818 Remove no-byte-compile setting.
3819
3820 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3823 all-completions code to not return a number in the last cdr.
3824
3825 2012-04-30 Leo Liu <sdl.web@gmail.com>
3826
3827 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3828 read-only error.
3829
3830 2012-04-29 Chong Yidong <cyd@gnu.org>
3831
3832 * follow.el (follow-calc-win-end): Rewrite to handle partial
3833 screen lines correctly (Bug#8390).
3834 (follow-avoid-tail-recenter): Minor cleanup.
3835
3836 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 Avoid the obsolete `assoc' package.
3839 * speedbar.el (speedbar-refresh): Avoid adelete.
3840 (speedbar-file-lists): Simplify and avoid aput.
3841 * man.el (Man--sections, Man--refpages): New vars, replacing
3842 Man-sections-alist and Man-refpages-alist.
3843 (Man-build-section-alist, Man-build-references-alist):
3844 Use them; avoid aput.
3845 (Man--last-section, Man--last-refpage): New vars.
3846 (Man-follow-manual-reference): Use them.
3847 Use the `default' arg of completing-read.
3848 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3849
3850 2012-04-27 Chong Yidong <cyd@gnu.org>
3851
3852 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3853
3854 * startup.el (x-apply-session-resources): New function.
3855
3856 * term/ns-win.el (ns-initialize-window-system):
3857 * term/w32-win.el (w32-initialize-window-system):
3858 * term/x-win.el (x-initialize-window-system): Use it to properly
3859 set menu-bar-mode and other vars from X resources, even if the
3860 initial frame is not a window-system frame (Bug#2299).
3861
3862 * subr.el (read-key): Avoid running filter function when setting
3863 up temporary tool bar entries (Bug#9922).
3864
3865 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3866
3867 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3868 (Bug#11344)
3869
3870 2012-04-27 Chong Yidong <cyd@gnu.org>
3871
3872 * select.el (xselect--encode-string): New function, split from
3873 xselect-convert-to-string.
3874 (xselect-convert-to-string): Use it.
3875 (xselect-convert-to-filename, xselect-convert-to-os)
3876 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3877 returned strings are properly encoded (Bug#11315).
3878
3879 2012-04-27 Chong Yidong <cyd@gnu.org>
3880
3881 * simple.el (delete-active-region): Move to killing custom group.
3882
3883 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3884
3885 * progmodes/which-func.el (which-func-current): Quote %
3886 characters for mode-line processing.
3887
3888 2012-04-27 Chong Yidong <cyd@gnu.org>
3889
3890 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3891 reaching eob (Bug#11286).
3892
3893 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3894
3895 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3896 (gdb): Make it buffer-local and init to zero.
3897 (gdb-control-commands-regexp): New variable.
3898 (gdb-send): Don't wrap in "-interpreter-exec console" if
3899 gdb-control-level is positive. Increment gdb-control-level
3900 whenever the command matches gdb-control-commands-regexp, and
3901 decrement it each time the command is "end". (Bug#11279)
3902
3903 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3904
3905 * window.el (adjust-window-trailing-edge, enlarge-window)
3906 (shrink-window, window-resize):
3907 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3908 windows (Bug#11276).
3909
3910 2012-04-27 Chong Yidong <cyd@gnu.org>
3911
3912 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3913 fix "missing prefix" warning. All callers changed.
3914
3915 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3916
3917 * emacs-lisp/assoc.el: Move to obsolete/.
3918
3919 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3920
3921 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3922
3923 * term/ns-win.el (ns-define-service):
3924 * progmodes/pascal.el (pascal-goto-defun):
3925 * progmodes/js.el (js--read-tab):
3926 * progmodes/etags.el (tags-lazy-completion-table):
3927 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3928 * emacs-lisp/ewoc.el (ewoc--wrap):
3929 * emacs-lisp/assoc.el (aput, adelete, amake):
3930 * doc-view.el (doc-view-convert-current-doc):
3931 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3932
3933 2012-04-26 Chong Yidong <cyd@gnu.org>
3934
3935 * image.el (image-type-from-buffer): Only return supported image
3936 type (Bug#9045).
3937
3938 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3939 value, for symmetry with diff-end-of-hunk.
3940 (diff-split-hunk, diff-find-source-location)
3941 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3942 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3943 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3944 compute the relevant hunk or file properly (Bug#6005).
3945 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3946
3947 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * vc/vc-mtn.el:
3950 * vc/vc-hg.el:
3951 * vc/vc-git.el:
3952 * vc/vc-dir.el:
3953 * vc/vc-cvs.el:
3954 * vc/vc-bzr.el:
3955 * vc/vc-arch.el:
3956 * vc/vc.el: Replace lexical-let by lexical-binding.
3957 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3958 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3959 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3960
3961 2012-04-26 Chong Yidong <cyd@gnu.org>
3962
3963 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3964 (diff-mode-shared-map): Bind it to / and [remap undo].
3965
3966 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3967 (ediff-window-setup-function): Use it as the default, to set up
3968 windows based on whether the current frame is graphical (Bug#2138).
3969 (ediff-choose-window-setup-function-automatically): Make obsolete.
3970
3971 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3972
3973 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * ffap.el: Remove old code for obsolete package.
3976 (ffap-complete-as-file-p): Remove.
3977
3978 Use completion-table-with-quoting for comint and pcomplete.
3979 * comint.el (comint--unquote&requote-argument)
3980 (comint--unquote-argument, comint--requote-argument): New functions.
3981 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3982 (comint-quote-filename): Use regexp-opt-charset.
3983 (comint--common-suffix, comint--common-quoted-suffix)
3984 (comint--table-subvert): Remove.
3985 (comint-unquote-function, comint-requote-function): New vars.
3986 (comint--complete-file-name-data): Use them with
3987 completion-table-with-quoting.
3988 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3989 * pcomplete.el (pcomplete-arg-quote-list)
3990 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3991 (pcomplete-unquote-argument-function): Default to non-nil.
3992 (pcomplete-unquote-argument): Simplify.
3993 (pcomplete--common-quoted-suffix): Remove.
3994 (pcomplete-requote-argument-function): New var.
3995 (pcomplete--common-suffix): New function.
3996 (pcomplete-completions-at-point): Use completion-table-with-quoting
3997 and completion-table-subvert.
3998
3999 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4000 (minibuffer--double-dollars): Preserve properties.
4001 (completion--sifn-requote): New function.
4002 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4003
4004 * minibuffer.el: Add support for completion of quoted/escaped data.
4005 (completion-table-with-quoting, completion-table-subvert): New funs.
4006 (completion--twq-try, completion--twq-all): New functions.
4007 (completion--nth-completion): New function.
4008 (completion-try-completion, completion-all-completions): Use it.
4009
4010 2012-04-25 Leo Liu <sdl.web@gmail.com>
4011
4012 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4013 Use compilation-message if available to find real filename.
4014
4015 2012-04-25 Chong Yidong <cyd@gnu.org>
4016
4017 * vc/diff-mode.el (diff-setup-whitespace): New function.
4018 (diff-mode): Use it.
4019
4020 * vc/diff.el (diff-sentinel):
4021 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4022 Whitespace mode variables based on diff style (Bug#8612).
4023
4024 2012-04-25 Leo Liu <sdl.web@gmail.com>
4025
4026 * progmodes/python.el (python-send-region): Add suffix .py to the
4027 temp file.
4028
4029 * files.el (auto-mode-alist): Use javascript-mode instead.
4030
4031 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4032
4033 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4034
4035 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4036 (soap-resolve-references-for-array-type): Hack to prevent self
4037 references, see Bug#9.
4038 (soap-parse-envelope): Report the contents of the 'detail' node
4039 when receiving a fault reply.
4040 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4041
4042 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4043 (soap-inspect-simple-type): New function.
4044
4045 * net/soap-client.el (soap-simple-type): New struct.
4046 (soap-default-xsd-types, soap-default-soapenc-types)
4047 (soap-decode-basic-type, soap-encode-basic-type):
4048 support unsignedInt and double basic types.
4049 (soap-resolve-references-for-simple-type)
4050 (soap-parse-simple-type, soap-encode-simple-type): New function.
4051 (soap-parse-schema): Parse xsd:simpleType declarations.
4052
4053 * net/soap-client.el (soap-default-xsd-types)
4054 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4055 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4056 the local name of "soapenc:Array".
4057 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4058 decoding integer, byte and anyURI xsd types.
4059
4060 2012-04-25 Chong Yidong <cyd@gnu.org>
4061
4062 * cus-edit.el (custom-buffer-create-internal): Update header text.
4063
4064 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4065
4066 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4067 settings on 'system-type', not on 'window-system'. On MS-Windows,
4068 set interactive-mode on in GDB.
4069
4070 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4073 (ruby-syntax-propertize-regexp): Remove.
4074 (ruby-syntax-propertize-function): Split regexp into chunks.
4075 Match following code directly.
4076
4077 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4078
4079 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4080 (ruby-syntax-propertize-regexp): New function.
4081 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4082 by a special keyword.
4083
4084 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4085 (ruby-syntax-general-delimiters-goto-beg)
4086 (ruby-syntax-propertize-general-delimiters): New functions.
4087 (ruby-syntax-propertize-function): Use them to handle GDL.
4088 (ruby-font-lock-keywords): Move old handling of GDL...
4089 (ruby-font-lock-syntactic-keywords): .. to here.
4090 (ruby-calculate-indent): Adjust indentation for GDL.
4091
4092 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4093
4094 * notifications.el (top): Remove unneeded declarations.
4095 (notifications-specification-version): Change to "1.2".
4096 (notifications-interface, notifications-notify-method)
4097 (notifications-close-notification-method): Fix docstring.
4098 (notifications-get-capabilities-method): New defconst.
4099 (notifications-notify): Add :action-items, :resident and
4100 :transient hints. Change "image_data" to "image-data" and
4101 "image_path" to "image-path".
4102 (notifications-get-capabilities): New defun.
4103
4104 2012-04-24 Leo Liu <sdl.web@gmail.com>
4105
4106 * progmodes/python.el: Move hideshow setup to the end.
4107
4108 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4109
4110 * window.el (handle-select-window): Clear echo area since this is
4111 no more done by read_char (Bug#11304).
4112
4113 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4116 and `/ M' to filter-derived-mode.
4117 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4118 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4119 (ibuffer-mark-by-mode): Use default rather than initial-input.
4120 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4121
4122 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4123
4124 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4125 (ibuffer-filter-by-derived-mode): New filter.
4126 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4127
4128 2012-04-23 Andreas Politz <politza@fh-trier.de>
4129
4130 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4131
4132 2012-04-23 Chong Yidong <cyd@gnu.org>
4133
4134 * cus-edit.el (customize-apropos, customize-apropos-options):
4135 Disable matching of non-option variables (Bug#11176).
4136 (customize-option, customize-option-other-window)
4137 (customize-changed-options): Doc fix.
4138 (customize-apropos-options, customize-apropos-faces)
4139 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4140
4141 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4142 Fix word list splitting (Bug#11132).
4143 (apropos-symbol, apropos-keybinding, apropos-label)
4144 (apropos-property, apropos-function-button)
4145 (apropos-variable-button, apropos-misc-button): New faces.
4146 (apropos-symbol-face, apropos-keybinding-face)
4147 (apropos-label-face, apropos-property-face, apropos-match-face):
4148 Variables removed (Bug#8396).
4149 (apropos-library-button, apropos-format-plist, apropos-print)
4150 (apropos-print-doc, apropos-describe-plist): Callers changed.
4151
4152 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4153
4154 * net/xesam.el (xesam-mode-map): Use let-bound map in
4155 initialization. (Bug#11292)
4156
4157 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4158
4159 Preserve ispell session localwords when switching back to
4160 original buffer.
4161
4162 * textmodes/ispell.el (ispell-buffer-session-localwords):
4163 New buffer-local variable to hold buffer session localwords.
4164 (ispell-kill-ispell): Add option 'clear to delete session
4165 localwords.
4166 (ispell-command-loop, ispell-change-dictionary)
4167 (ispell-buffer-local-words): Preserve session localwords when
4168 needed.
4169
4170 * textmodes/flyspell.el (flyspell-process-localwords)
4171 (flyspell-do-correct): Preserve session localwords when needed.
4172
4173 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4174
4175 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4176 using obsolete `translation-table-for-input'.
4177 (ispell-word, ispell-process-line, ispell-complete-word):
4178 Use plain `insert' instead of removed `ispell-insert-word'.
4179
4180 2012-04-22 Chong Yidong <cyd@gnu.org>
4181
4182 * cus-edit.el (custom-variable-menu)
4183 (custom-variable-reset-saved, custom-face-menu)
4184 (custom-face-reset-saved): If there is no saved value, make the
4185 "reset-saved" operation bring back the default (Bug#9509).
4186 (custom-face-state): Properly detect themed faces.
4187
4188 * faces.el (face-spec-set): Stop supporting deprecated form of
4189 third arg.
4190
4191 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4192
4193 Move functions from C to Lisp. Make non-blocking method calls
4194 the default. Implement further D-Bus standard interfaces.
4195
4196 * net/dbus.el (dbus-message-internal): Declare function.
4197 Remove unneeded function declarations.
4198 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4199 (dbus-message-type-method-return, dbus-message-type-error)
4200 (dbus-message-type-signal): Declare variables. Remove local
4201 definitions.
4202 (dbus-interface-dbus, dbus-interface-peer)
4203 (dbus-interface-introspectable, dbus-interface-properties)
4204 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4205 Adapt docstring.
4206 (dbus-interface-objectmanager): New defconst.
4207 (dbus-call-method, dbus-call-method-asynchronously)
4208 (dbus-send-signal, dbus-method-return-internal)
4209 (dbus-method-error-internal, dbus-register-service)
4210 (dbus-register-signal, dbus-register-method): New defuns, moved
4211 from dbusbind.c
4212 (dbus-call-method-handler, dbus-setenv)
4213 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4214 New defuns.
4215 (dbus-call-method-non-blocking): Make it an obsolete function.
4216 (dbus-unregister-object, dbus-unregister-service)
4217 (dbus-handle-event, dbus-register-property)
4218 (dbus-property-handler): Obey the new structure of
4219 `bus-registered-objects'.
4220 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4221 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4222 Use `dbus-call-method'.
4223
4224 2012-04-22 Chong Yidong <cyd@gnu.org>
4225
4226 * cus-edit.el (custom-commands, custom-reset-menu)
4227 (Custom-reset-standard): Tweak labels.
4228 (custom-reset-button-menu): Change default to t.
4229 (custom-buffer-create-internal): For the custom-reset-button-menu
4230 case, put the revert button first.
4231 (custom-group-subtitle): New face.
4232 (custom-group-value-create): Align docstring to a specific column.
4233
4234 * wid-edit.el (widget-documentation-link-add): Don't handle
4235 indentation in this function.
4236 (widget-documentation-string-indent-to): New function.
4237 (widget-documentation-string-value-create): Use it.
4238
4239 * autorevert.el (auto-revert):
4240 * epg-config.el (epg):
4241 * ibuffer.el (ibuffer):
4242 * mpc.el (mpc):
4243 * ses.el (ses):
4244 * eshell/eshell.el (eshell):
4245 * net/ange-ftp.el (ange-ftp):
4246 * progmodes/ebnf2ps.el (postscript):
4247 * progmodes/flymake.el (flymake):
4248 * progmodes/prolog.el (prolog):
4249 * progmodes/verilog-mode.el (verilog-mode):
4250 * progmodes/which-func.el (which-func):
4251 * term/xterm.el (xterm):
4252 * textmodes/picture.el (picture):
4253 * textmodes/tildify.el (tildify):
4254 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4255 customization buffers.
4256
4257 2012-04-22 Alan Mackenzie <acm@muc.de>
4258
4259 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4260 Adding a ) can hide the resulting (..) from searches. Fix it.
4261 Bound the backward search to the position of the existing (.
4262
4263 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4264
4265 * progmodes/verilog-mode.el (verilog-mode): Check whether
4266 which-func-modes is t before adding verilog-mode.
4267 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4268
4269 2012-04-21 Leo Liu <sdl.web@gmail.com>
4270
4271 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4272
4273 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4274
4275 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4276 filling of the last column of a table (Bug#5635).
4277 (woman-find-next-control-line): New arg, specifying an additional
4278 regexp component for the control line.
4279 (woman2-roff-buffer): Use it.
4280 (woman-break-table): New function.
4281 (woman2-TS): Use it.
4282
4283 2012-04-21 Chong Yidong <cyd@gnu.org>
4284
4285 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4286 (woman-horizontal-escapes, woman-negative-vertical-space)
4287 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4288 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4289
4290 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * minibuffer.el (completion-file-name-table): Complete user names.
4293
4294 2012-04-20 Leo Liu <sdl.web@gmail.com>
4295
4296 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4297 and pcase-let*.
4298
4299 2012-04-20 Chong Yidong <cyd@gnu.org>
4300
4301 * server.el (server-execute): Respect initial-buffer-choice if it
4302 is a string and there are no files to open (Bug#2825).
4303 (server-create-window-system-frame, server-create-tty-frame):
4304 Don't switch buffers here.
4305 (server-process-filter): Only try to open a window system frame if
4306 compiled with graphical support (Bug#8314).
4307
4308 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4309
4310 * battery.el (battery-echo-area-format): Display remaining time
4311 for sysfs backend too (Bug#11269).
4312 (battery-linux-sysfs): Fix conditional for the charge.
4313
4314 2012-04-20 Chong Yidong <cyd@gnu.org>
4315
4316 * progmodes/gdb-mi.el (gdb): Revert previous change.
4317 (gdb-inferior-io--init-proc): New function.
4318 (gdb-init-1): Use it.
4319 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4320 responsible for allocating a new pty and hooking it to gdb when
4321 the old pty gets an EIO due to process exit.
4322 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4323 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4324 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4325
4326 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4327
4328 * window.el (window-min-size, window-sizable, window-min-delta)
4329 (window-max-delta, window--resizable, window-resizable)
4330 (window-total-size, window-full-height-p, window-full-width-p)
4331 (window-in-direction, window--resize-mini-window, window-resize)
4332 (window--resize-child-windows-normal)
4333 (window--resize-child-windows, window--resize-siblings)
4334 (window--resize-this-window, adjust-window-trailing-edge)
4335 (enlarge-window, shrink-window): Doc fixes.
4336
4337 2012-04-20 Chong Yidong <cyd@gnu.org>
4338
4339 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4340 New function to call delete-process on the gdb-inferior buffer's pty.
4341 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4342 pty process (Bug#11273).
4343 (gdb-update): New arg to suppress talking to the gdb process.
4344 (gdb-done-or-error): Use it.
4345 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4346 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4347 sentinel not being called.
4348
4349 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4350
4351 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4352
4353 2012-04-20 Glenn Morris <rgm@gnu.org>
4354
4355 * net/network-stream.el (open-network-stream): Doc fix.
4356
4357 2012-04-20 Chong Yidong <cyd@gnu.org>
4358
4359 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4360
4361 2012-04-20 Alan Mackenzie <acm@muc.de>
4362
4363 Ensure searching for keywords is case sensitive.
4364
4365 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4366 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4367 (c-defun-name, c-mark-function, c-cpp-define-name)
4368 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4369 (c-context-line-break): Bind case-fold-search to nil.
4370
4371 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4372 Bind case-fold-search to nil.
4373
4374 2012-04-20 Chong Yidong <cyd@gnu.org>
4375
4376 * mail/sendmail.el (mail-bury): Call return action with the right
4377 Rmail buffer (Bug#11242).
4378
4379 * server.el (server-process-filter): Handle corner case where both
4380 tty and nowait options are present (Bug#11102).
4381
4382 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4383
4384 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4385 (top level): Put into the executable the ident-style '$Id:' tag on
4386 windows-nt as well.
4387
4388 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * electric.el (electric-indent-post-self-insert-function): Check that
4391 electric-indent-mode is enabled in current buffer.
4392
4393 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4394
4395 * imenu.el (imenu-progress-message): Restore; it is "used" in
4396 erc/erc-imenu.el and net/snmp-mode.el.
4397
4398 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4399
4400 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4401 (mouse-avoidance-nudge-mouse): Remove unused binding.
4402
4403 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4404
4405 * descr-text.el (describe-char):
4406 * progmodes/python.el (python-describe-symbol):
4407 Don't call `toggle-read-only', set `buffer-read-only'.
4408
4409 * imenu.el (imenu-default-goto-function): Mark unused args.
4410 (imenu-progress-message): Remove obsolete macro; all callers changed.
4411
4412 * subr.el (keymap-canonicalize): Remove unused binding.
4413 (read-passwd): Mark unused arg.
4414
4415 * tutorial.el (tutorial--display-changes): Remove unused binding.
4416 (tutorial--save-tutorial-to): Remove unused variable.
4417
4418 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4419 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4420 (package-generate-autoloads, package-menu--generate)
4421 (package-menu--find-upgrades): Remove unused bindings.
4422
4423 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4424 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4425 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4426 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4427 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4428 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4429 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4430 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4431 (cua-delete-char-rectangle): Mark unused args.
4432 (cua-align-rectangle): Remove unused binding.
4433
4434 * mail/rmail.el (compilation--message->loc)
4435 (epa--find-coding-system-for-mime-charset): Declare.
4436
4437 * net/dbus.el (dbus-register-service): Declare.
4438 (dbus-name-owner-changed-handler): Remove unused binding.
4439
4440 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4441 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4442 (nxml-scan-backward-within): Mark unused arg.
4443 (nxml-dynamic-markup-word): Remove unused binding.
4444
4445 * mouse.el (mouse-menu-major-mode-map):
4446 * emacs-lisp/authors.el (authors-scan-change-log)
4447 (authors-add-to-author-list):
4448 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4449 * emacs-lisp/smie.el (smie-auto-fill):
4450 * mail/sendmail.el (mail-bury):
4451 * mail/unrmail.el (unrmail):
4452 * net/tls.el (open-tls-stream):
4453 * textmodes/picture.el (picture-mouse-set-point):
4454 Remove unused bindings.
4455
4456 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4457
4458 * net/tramp.el (tramp-action-password): Let-bind
4459 `enable-recursive-minibuffers' to t.
4460
4461 2012-04-18 Sam Steingold <sds@gnu.org>
4462
4463 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4464 instead of 'string to accommodate values like [f11].
4465 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4466 * progmodes/gdb-mi.el: Likewise.
4467
4468 2012-04-18 Leo Liu <sdl.web@gmail.com>
4469
4470 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4471 current buffer.
4472 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4473 LOCAL is nil.
4474
4475 2012-04-18 Chong Yidong <cyd@gnu.org>
4476
4477 * simple.el (line-move): Use forward-line if in batch mode
4478 (Bug#11053).
4479
4480 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4481
4482 * files.el (after-find-file): Do not try to add a final newline if
4483 the buffer is read-only (Bug#11156).
4484
4485 2012-04-17 Richard Stallman <rms@gnu.org>
4486
4487 * mail/rmail.el (rmail-start-mail):
4488 Pass (rmail-mail-return...) for the return-action.
4489 Pass (rmail-yank-current-message...) for the yank-action.
4490 (rmail-yank-current-message): New function.
4491 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4492 (rmail-reply): Likewise.
4493 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4494
4495 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4496 buffer, not the last. Reject temp buffers. Use the rmail-mode
4497 buffer, not newbuf.
4498
4499 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4500
4501 * server.el (server-ensure-safe-dir): Simplify.
4502
4503 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * emacs-lisp/smie.el: Provide smarter auto-filling.
4506 (smie-auto-fill): New function.
4507 (smie-setup): Use it.
4508
4509 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4510
4511 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4512
4513 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4514 (comment-indent): Use it.
4515
4516 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4517
4518 * ses.el: The overall change is to add cell renaming, that is
4519 setting fancy names for cell symbols other than name matching
4520 "\\`[A-Z]+[0-9]+\\'" regexp .
4521 (ses-localvars): Add ses--renamed-cell-symb-list.
4522 (ses-create-cell-variable): New defun.
4523 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4524 (ses-relocate-formula): Relocate formulas only for cells the
4525 symbols of which are not renamed, i.e. symbols whose names do not
4526 match regexp "\\`[A-Z]+[0-9]+\\'".
4527 (ses-relocate-all): Relocate values only for cells the symbols of
4528 which are not renamed.
4529 (ses-load): Create cells variables as the (ses-cell ...) are read,
4530 in order to check row col consistency with cell symbol name only
4531 for cells that are not renamed.
4532 (ses-replace-name-in-formula): New defun.
4533 (ses-rename-cell): New defun.
4534
4535 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4536
4537 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4538 New option (bug#11118).
4539 (perl-calculate-indent): Respect it.
4540
4541 2012-04-17 Glenn Morris <rgm@gnu.org>
4542
4543 * dired-aux.el (dired-mark-read-string): Doc fix.
4544
4545 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4546
4547 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4548 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4549
4550 2012-04-17 Glenn Morris <rgm@gnu.org>
4551
4552 * mouse.el (mouse-drag-track):
4553 * speedbar.el (speedbar-frame-mode):
4554 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4555
4556 2012-04-16 Leo Liu <sdl.web@gmail.com>
4557
4558 * progmodes/python.el: Trivial cleanup.
4559
4560 2012-04-16 Glenn Morris <rgm@gnu.org>
4561
4562 * vc/vc.el (vc-string-prefix-p):
4563 * vc/pcvs-util.el (cvs-string-prefix-p):
4564 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4565 * mpc.el (mpc-string-prefix-p):
4566 Make all of these into obsolete aliases for string-prefix-p.
4567 Update callers.
4568 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4569
4570 * textmodes/two-column.el: Move custom options to the start.
4571 (frame-width): Remove compat definition.
4572 (2C-associate-buffer, 2C-dissociate):
4573 Use with-current-buffer rather than save-excursion.
4574 (2C-dissociate): Force a mode-line update.
4575 (2C-autoscroll): Use ignore-errors.
4576
4577 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4578 Autoload trivia.
4579
4580 * emacs-lisp/cl-extra.el (*random-state*):
4581 Remove unnecessary declaration.
4582
4583 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4584
4585 * play/cookie1.el (cookie-snarf):
4586 Give an explicit error if input file cannot be read.
4587
4588 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4589
4590 * progmodes/perl-mode.el (c-macro-expand):
4591 Remove unnecessary autoload (it is in loaddefs.el).
4592
4593 * textmodes/picture.el (picture-desired-column)
4594 (picture-update-desired-column): Convert comments to doc-strings.
4595 (picture-substitute): Remove function.
4596 (picture-mode-map): Initialize in the defvar.
4597
4598 * woman.el: Remove eval-after-load for tar-mode.
4599 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4600 (woman-tar-extract-file): Autoload it.
4601
4602 * frame.el (automatic-hscrolling): Make this alias obsolete.
4603
4604 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4605
4606 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4607 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4608 (ispell-dictionary-base-alist): Revert to original XEmacs
4609 friendly version for default. [:alpha:] will be added in
4610 `ispell-set-spellchecker-params' if needed.
4611
4612 2012-04-16 Chong Yidong <cyd@gnu.org>
4613
4614 * image.el (imagemagick--file-regexp): New variable.
4615 (imagemagick-register-types): Use it.
4616 (imagemagick-types-inhibit): Add :set function. Allow new value
4617 of t to inhibit all types.
4618
4619 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4620 so we can preload it.
4621
4622 * loadup.el (fboundp): Preload regexp-opt, needed by
4623 imagemagick-register-types.
4624
4625 2012-04-15 Chong Yidong <cyd@gnu.org>
4626
4627 * frame.el (scrolling): Remove nearly unused customization group.
4628
4629 * scroll-all.el (scroll-all-mode): Move to windows group.
4630
4631 2012-04-15 Chong Yidong <cyd@gnu.org>
4632
4633 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4634
4635 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4636
4637 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4638 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4639
4640 2012-04-15 Glenn Morris <rgm@gnu.org>
4641
4642 * simple.el (process-file-side-effects): Doc fix.
4643
4644 2012-04-15 Glenn Morris <rgm@gnu.org>
4645
4646 * international/mule-cmds.el (set-language-environment): Doc fix.
4647
4648 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4649
4650 * server.el (server-auth-key, server-generate-key): Doc fixes.
4651 (server-get-auth-key): Doc fix. Use `string-match-p'.
4652 (server-start): Reflow docstring.
4653
4654 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4655
4656 * server.el (server-generate-key): `called-interactively-p'
4657 requires a parameter.
4658
4659 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4660
4661 * server.el (server-auth-key): New variable.
4662 (server-generate-key, server-get-auth-key): New function.
4663 (server-start): Use the new variable and functions to allow
4664 setting a permanent server key (bug#9423).
4665
4666 2012-04-14 Leo Liu <sdl.web@gmail.com>
4667
4668 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4669
4670 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4671
4672 Spelling fixes.
4673 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4674 Emacs uses American spelling.
4675
4676 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4677
4678 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4679 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4680 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4681 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4682
4683 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * progmodes/which-func.el (which-func-modes): Change default.
4686
4687 2012-04-14 Kim F. Storm <storm@cua.dk>
4688
4689 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4690 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4691
4692 2012-04-14 Chong Yidong <cyd@gnu.org>
4693
4694 * custom.el (custom-theme-set-variables): Doc fix.
4695
4696 2012-04-14 Glenn Morris <rgm@gnu.org>
4697
4698 * international/mule.el (set-auto-coding-for-load): Doc fix.
4699
4700 2012-04-14 Alan Mackenzie <acm@muc.de>
4701
4702 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4703 imenu work again for Objective C Mode. Correct the *-index values,
4704 these having been disturbed by a previous change in 2011-08.
4705
4706 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4707 Correct two search limits.
4708
4709 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4712
4713 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4714
4715 * international/characters.el: Fix sorting.
4716
4717 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4718
4719 * international/characters.el: Add more missing Latin case pairs.
4720
4721 2012-04-14 Glenn Morris <rgm@gnu.org>
4722
4723 * files.el (dir-locals-set-class-variables): Doc fix.
4724
4725 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4726
4727 * international/characters.el: Add set-case-syntax-pair call for
4728 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4729 counterpart. (Bug#11209)
4730
4731 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4732
4733 2012-04-14 Glenn Morris <rgm@gnu.org>
4734
4735 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4736
4737 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4738
4739 * textmodes/ispell.el (ispell-dictionary-base-alist):
4740 Add data for Hebrew.
4741
4742 2012-04-14 Chong Yidong <cyd@gnu.org>
4743
4744 * net/rcirc.el (rcirc-cmd-quit):
4745 Revert 2012-03-18 change (Bug#11192).
4746
4747 2012-04-14 Glenn Morris <rgm@gnu.org>
4748
4749 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4750
4751 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4752
4753 * minibuffer.el (completion-in-region-mode-map):
4754 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
4755
4756 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4757
4758 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4759
4760 2012-04-13 Masatake YAMATO <yamato@redhat.com>
4761
4762 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4763 to allow `C-M-f' and `C-M-b' to move to the nearest path
4764 separator (bug#9511).
4765
4766 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4767
4768 * avoid.el: Require cl when compiling. And also move the
4769 `provide' to the end.
4770
4771 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4772
4773 * avoid.el (mouse-avoidance-banish-position): New variable.
4774 (mouse-avoidance-banish-destination): Use it (bug#10165).
4775
4776 2012-04-13 Leo Liu <sdl.web@gmail.com>
4777
4778 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4779
4780 2012-04-13 Ken Brown <kbrown@cornell.edu>
4781
4782 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4783 this is no longer needed now that cygstart understands file:// URLs.
4784 (browse-url-filename-alist): For the same reason, don't modify
4785 file:// URLs on Cygwin.
4786
4787 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4788
4789 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4790 the region on shift if the binding is already shifted (bug#11221).
4791
4792 2012-04-12 Glenn Morris <rgm@gnu.org>
4793
4794 * mail/mailpost.el: Move to obsolete/.
4795
4796 2012-04-12 Drew Adams <drew.adams@oracle.com>
4797
4798 * imenu.el (imenu--generic-function): Ignore invisible definitions
4799 (bug#10123).
4800
4801 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4802
4803 * hexl.el (hexl-bits): New variable.
4804 (hexl-options): Mention the variable in the doc string.
4805 (hexl-rulerise, hexl-line-displen): New functions.
4806 (hexl-mode): Mention the new variable.
4807 (hexl-mode, hexl-current-address, hexl-current-address):
4808 Use the displen.
4809 (hexl-ascii-start-column): New function.
4810 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4811 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4812
4813 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4814
4815 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4816 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4817 the encoding, as expected by hunspell.
4818
4819 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * battery.el (battery--linux-sysfs-regexp): New const.
4822 (battery-status-function): Use it. Remove yeeloong special case.
4823 (battery-yeeloong-sysfs): Remove.
4824 (battery-echo-area-format): Remove yeeloong special case.
4825
4826 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4827
4828 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4829 Reported by Noah Friedman.
4830
4831 * subr.el (read-passwd): Use read-string.
4832
4833 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4834
4835 * vcursor.el (vcursor-move): Increase the priority of the overlay
4836 (bug#9663).
4837
4838 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4839
4840 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4841 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4842
4843 2012-04-11 William Stevenson <yhvh2000@gmail.com>
4844
4845 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4846 define-minor-mode (bug#10760).
4847
4848 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4849
4850 * progmodes/grep.el (rgrep): Tweak the find command line so
4851 that directories matching `grep-find-ignored-files' won't be
4852 pruned (bug#10351).
4853
4854 2012-04-11 Chong Yidong <cyd@gnu.org>
4855
4856 * startup.el (command-line): Remove support for long-obsolete
4857 variable font-lock-face-attributes.
4858
4859 2012-04-11 Glenn Morris <rgm@gnu.org>
4860
4861 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4862
4863 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * window.el (window--state-get-1): Obey window-point-insertion-type.
4866
4867 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4868
4869 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4870 to previous function when point is on the first character of a
4871 function. Take care of that in `narrow-to-defun' (bug#6157).
4872
4873 2012-04-11 Glenn Morris <rgm@gnu.org>
4874
4875 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4876 not just file-errors.
4877
4878 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4879 (vc-bzr-sha1): Use internal sha1.
4880
4881 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4884
4885 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4886
4887 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4888 that start in the middle of the line (bug#10496).
4889
4890 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4891
4892 * battery.el (battery-linux-proc-acpi): Only one battery is
4893 discharged at a time, but that seems to confuse battery.el when
4894 computing `rate-type' for the battery not being discharged
4895 (bug#10332).
4896
4897 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4898
4899 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4900
4901 * international/quail.el: Use dolist and simplify.
4902 (quail-define-package, quail-update-keyboard-layout)
4903 (quail-define-rules): Use dolist.
4904 (quail-insert-kbd-layout, quail-get-translation): CSE.
4905
4906 * tmm.el: Use dolist, remove left over hook.
4907 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4908 Use dolist.
4909 (calendar-load-hook): Don't mess with it.
4910
4911 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4912 Use derived-mode-p. Run the diff asynchronously.
4913
4914 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4915
4916 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4917
4918 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4919
4920 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4921 (list-dynamic-libraries--loaded): New function.
4922 (list-dynamic-libraries--refresh): Use it.
4923
4924 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4925
4926 * progmodes/python.el (python-fill-paragraph):
4927 Make python-fill-region in a multiline string work when font-lock is
4928 disabled (bug#7018).
4929
4930 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4931
4932 * language/european.el (cp775): Add oem/legacy (en)coding on
4933 DOS/MS Windows for the Baltic languages. There are still plenty
4934 of texts written in this encoding/codepage (bug#6519).
4935
4936 2012-04-10 Glenn Morris <rgm@gnu.org>
4937
4938 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4939 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4940
4941 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4942
4943 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4944 next-line "n" and previous-line "p" in order to make recentf more
4945 consistent with ibuffer, dired or org-mode (bug#9387).
4946
4947 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4948
4949 * image.el (put-image): Return the overlay created instead of the
4950 optional input string (bug#7834). Note that this may break code
4951 that is (for some reason or other) depending on `put-image'
4952 returning the string.
4953
4954 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4955
4956 * simple.el (zap-to-char): Allow zapping using input methods
4957 (bug#1580).
4958
4959 * textmodes/fill.el (fill-region): Leave point and mark where they
4960 were before filling (bug#5399).
4961
4962 2012-04-09 Glenn Morris <rgm@gnu.org>
4963
4964 * version.el (emacs-bzr-get-version):
4965 Handle lightweight checkouts of local branches.
4966
4967 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4968
4969 * international/characters.el: Recover lost case pairs. (Bug#11209)
4970
4971 2012-04-09 Chong Yidong <cyd@gnu.org>
4972
4973 * custom.el (custom-variable-p): Return nil for non-symbol
4974 arguments instead of signaling an error.
4975 (user-variable-p): Obsolete alias for custom-variable-p.
4976
4977 * apropos.el (apropos-variable):
4978 * files-x.el (read-file-local-variable):
4979 * simple.el (set-variable):
4980 * woman.el (woman-mini-help):
4981 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4982
4983 2012-04-09 Glenn Morris <rgm@gnu.org>
4984
4985 * startup.el (normal-top-level): Don't look for leim-list.el
4986 in places where it will not be found. (Bug#910)
4987
4988 * international/mule-cmds.el (set-default-coding-systems):
4989 * files.el (normal-mode):
4990 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4991 This function was removed with ucs-tables.el in 2008.
4992
4993 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4994
4995 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4996 ispell-encoding8-command to "-i", without a trailing space.
4997 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4998 separate command-line arguments, to specify the encoding, since
4999 that's how hunspell expects it.
5000
5001 2012-04-08 Glenn Morris <rgm@gnu.org>
5002
5003 * loadup.el: Load bindings before cus-start.
5004 This reduces somewhat the number of "rogue" settings in emacs -Q.
5005
5006 2012-04-07 Glenn Morris <rgm@gnu.org>
5007
5008 * version.el (emacs-bzr-get-version): New function.
5009 (emacs-bzr-version): New variable.
5010 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5011 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5012
5013 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5014
5015 * international/uni-bidi.el, international/uni-category.el:
5016 * international/uni-combining.el, international/uni-decimal.el:
5017 * international/uni-decomposition.el, international/uni-digit.el:
5018 * international/uni-lowercase.el, international/uni-mirrored.el:
5019 * international/uni-name.el, international/uni-numeric.el:
5020 * international/uni-titlecase.el, international/uni-uppercase.el:
5021 Update for Unicode 6.1.
5022
5023 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5024
5025 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5026
5027 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5028
5029 * window.el (shrink-window): Mention the `window-min-height'
5030 variable in the doc string.
5031
5032 2012-04-05 Bastien Guerry <bzg@altern.org>
5033
5034 * color.el (color-lighten-name): Fix typo.
5035
5036 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * server.el (server--on-display-p): New function.
5039 (server--on-display-p): Use it.
5040
5041 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5042
5043 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5044 (bug#11145).
5045
5046 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * comint.el (comint--common-quoted-suffix): Check string boundary
5049 before comparing (bug#11158).
5050 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5051
5052 2012-04-04 Chong Yidong <cyd@gnu.org>
5053
5054 * minibuffer.el (completion-extra-properties): Doc fix.
5055
5056 * subr.el (delayed-warnings-hook): Doc fix.
5057
5058 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5059
5060 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5061 selection (Bug#11159).
5062 (epa-insert-keys): Inform that the default public key will be
5063 exported if no key is selected.
5064
5065 2012-04-04 Richard Stallman <rms@gnu.org>
5066
5067 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5068
5069 2012-04-03 Chong Yidong <cyd@gnu.org>
5070
5071 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5072 mail-insert-file, not its obsolete alias mail-attach-file.
5073
5074 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5075
5076 * notifications.el (notifications-notify): Fix docstring.
5077
5078 2012-04-02 Glenn Morris <rgm@gnu.org>
5079
5080 * emacs-lisp/authors.el (authors-aliases): Another addition.
5081
5082 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5083
5084 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5085 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5086 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5087
5088 2012-04-01 Chong Yidong <cyd@gnu.org>
5089
5090 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5091 Handle root directory properly.
5092 (copy-directory): Caller changed.
5093
5094 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5095 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5096
5097 2012-03-31 Glenn Morris <rgm@gnu.org>
5098
5099 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5100
5101 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5102
5103 * calendar/calendar.el (calendar-window-list)
5104 (calendar-hide-window): Restore. (Bug#11140)
5105 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5106
5107 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5108
5109 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5110
5111 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5112 Check if file is a symlink (Bug#10489).
5113
5114 * files.el (copy-directory): Likewise.
5115
5116 2012-03-30 Chong Yidong <cyd@gnu.org>
5117
5118 * image.el (imagemagick-types-inhibit)
5119 (imagemagick-register-types): Doc fix.
5120
5121 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5122
5123 * textmodes/ispell.el (ispell-get-extended-character-mode):
5124 Disable extended-char-mode for hunspell. hunspell does not support it
5125 and treats ~word as ordinary words in pipe mode.
5126
5127 2012-03-30 Glenn Morris <rgm@gnu.org>
5128
5129 * tutorial.el (help-with-tutorial): Ensure local variables don't
5130 happen to make the buffer read-only. (Bug#11127)
5131
5132 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5134 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5135 (perl-calculate-indent): Return `noindent' in strings.
5136
5137 2012-03-28 Sam Steingold <sds@gnu.org>
5138
5139 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5140 instead of the broken adhockery which does not prevent calendar
5141 buffers from being displayed at random after exit.
5142 (calendar-window-list, calendar-hide-window): Remove the broken
5143 adhockery.
5144
5145 2012-03-28 Glenn Morris <rgm@gnu.org>
5146
5147 * replace.el (query-replace-map): Doc fix.
5148
5149 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5150
5151 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5152 contents. (Bug#11109)
5153
5154 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5155
5156 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5157 (bug#11077).
5158 (avl-tree--check, avl-tree--check-node): New funs.
5159
5160 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5161
5162 * window.el (switch-to-visible-buffer): New option.
5163 (switch-to-prev-buffer, switch-to-next-buffer):
5164 Observe switch-to-visible-buffer. Make sure that checking for a window
5165 showing a buffer already is done on the same frame.
5166
5167 2012-03-27 Glenn Morris <rgm@gnu.org>
5168
5169 * startup.el (mail-host-address): Doc fix.
5170
5171 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5174 than 197 variables.
5175
5176 2012-03-26 Ami Fischman <ami@fischman.org>
5177
5178 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5179
5180 2012-03-26 Glenn Morris <rgm@gnu.org>
5181
5182 * files.el (save-buffers-kill-emacs): Doc fix.
5183
5184 * startup.el (normal-top-level, command-line, command-line-1):
5185 Give them doc strings.
5186
5187 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5188
5189 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5190 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5191
5192 2012-03-25 Chong Yidong <cyd@gnu.org>
5193
5194 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5195 theme if it was previously enabled before (Bug#11031).
5196
5197 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5198 spec with custom-face-get-current-spec if its :shown-value is not
5199 determined yet (Bug#9337).
5200 (customize-create-theme, custom-theme-revert): Doc fixes.
5201
5202 * button.el (button-at): Minor addition to docstring.
5203
5204 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5205
5206 * vc/vc.el (vc-merge): Fix a prompt.
5207
5208 2012-03-24 Chong Yidong <cyd@gnu.org>
5209
5210 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5211 point (Bug#9623).
5212
5213 * button.el (button-at): Minor addition to docstring.
5214
5215 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5216
5217 * newcomment.el (comment-choose-indent): No space after BOL.
5218
5219 2012-03-22 Sam Steingold <sds@gnu.org>
5220
5221 * window.el (switch-to-prev-buffer): Revert last patch because the
5222 bug turned out to be an advertised feature (Elisp manual 28.14).
5223
5224 2012-03-22 Glenn Morris <rgm@gnu.org>
5225
5226 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5227 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5228
5229 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5230
5231 * net/network-stream.el (network-stream-open-starttls): Make error
5232 message under Windows be less misleading.
5233
5234 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5235
5236 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5237 understands (bug#9942).
5238
5239 2012-03-22 Chong Yidong <cyd@gnu.org>
5240
5241 * simple.el (end-of-visible-line): Handle return value of
5242 next-single-property-change properly (Bug#9371).
5243
5244 2012-03-22 Kenichi Handa <handa@m17n.org>
5245
5246 * international/quail.el (quail-insert-kbd-layout): Fix previous
5247 change. To avoid unwanted bidi reordering, use
5248 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5249
5250 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5251
5252 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5253 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5254 (ruby-beginning-of-indent): Be more careful with the difference
5255 between word-boundary and symbol boundary.
5256 (ruby-mode-syntax-table): Make : a symbol constituent.
5257
5258 2012-03-21 Andreas Politz <politza@fh-trier.de>
5259
5260 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5261
5262 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * progmodes/etags.el (tags-completion-at-point-function):
5265 Improve last fix.
5266
5267 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5268
5269 2012-03-21 Sam Steingold <sds@gnu.org>
5270
5271 * progmodes/etags.el (tags-completion-at-point-function):
5272 Avoid the error when point is inside the pattern.
5273
5274 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5275
5276 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5277 line (Bug#10855).
5278
5279 2012-03-21 Drew Adams <drew.adams@oracle.com>
5280
5281 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5282
5283 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5284
5285 * ido.el (ido-set-current-directory, ido-read-internal)
5286 (ido-choose-completion-string, ido-completion-help): Handle nil
5287 value of ido-completion-buffer (Bug#11008).
5288
5289 2012-03-21 Sam Steingold <sds@gnu.org>
5290
5291 * window.el (switch-to-prev-buffer): Do not switch to a visible
5292 window previous buffer, just like with the frame previous buffers.
5293
5294 2012-03-21 Chong Yidong <cyd@gnu.org>
5295
5296 * faces.el (make-face, make-empty-face, copy-face):
5297 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5298 Doc fixes.
5299
5300 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5301
5302 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5303 (widget-complete): Remove broken use of it.
5304
5305 2012-03-20 Chong Yidong <cyd@gnu.org>
5306
5307 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5308 Use string-width and truncate-string-width to handle arbitrary
5309 characters.
5310
5311 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5312
5313 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5314 to draw rectangles, not squares. (Regression introduced by revno
5315 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5316
5317 2012-03-18 Chong Yidong <cyd@gnu.org>
5318
5319 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5320 it is not yet defined (for temacs).
5321
5322 2012-03-18 Leo Liu <sdl.web@gmail.com>
5323
5324 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5325
5326 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5327
5328 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5329 (ispell-choices-win-default-height, ispell-silently-savep)
5330 (ispell-dictionary-alist, ispell-encoding8-command)
5331 (ispell-check-version, ispell-aspell-find-dictionary)
5332 (ispell-valid-dictionary-list, ispell-words-keyword)
5333 (ispell-get-word, ispell-internal-change-dictionary)
5334 (ispell-region, ispell-skip-region-list)
5335 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5336 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5337 (ispell-message-text-end, ispell-message)
5338 (ispell-buffer-local-parsing): Doc fix.
5339
5340 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5341
5342 * htmlfontify.el: Add support for code block fontification for ODT
5343 export (Bug #9914).
5344 (hfy-optimisations): Define new option
5345 `body-text-only'
5346 (hfy-fontify-buffer): Honor above setting.
5347 (hfy-begin-span, hfy-end-span): New routines factored out form
5348 `hfy-fontify-buffer'.
5349 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5350 that permit insertion of custom tags.
5351 (hfy-fontify-buffer): Use above handlers.
5352 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5353 (hfy-face-to-css): Re-defined to be a variable.
5354 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5355 over multiple runs. This is made possible by having the caller let
5356 bind a special variable `hfy-user-sheet-assoc'.
5357 (htmlfontify-string): New defun.
5358 (hfy-compile-face-map): Make sure that the last char in the
5359 buffer is correctly fontified.
5360 (hfy-face-resolve-face): Whitespace only change.
5361
5362 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5363
5364 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5365 message more clear.
5366
5367 2012-03-16 Leo Liu <sdl.web@gmail.com>
5368
5369 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5370
5371 2012-03-16 Alan Mackenzie <acm@muc.de>
5372
5373 Further optimise the handling of large macros.
5374
5375 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5376 limit to a call of `c-literal-limits'.
5377 (c-determine-+ve-limit): New function.
5378 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5379 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5380 In CASE 5B, restrict a search limit to 500.
5381 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5382
5383 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5384 Restrict macro bounds to +-500 from after-change's BEG END.
5385
5386 2012-03-16 Leo Liu <sdl.web@gmail.com>
5387
5388 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5389
5390 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5391
5392 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5393 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5394
5395 2012-03-16 Glenn Morris <rgm@gnu.org>
5396
5397 * view.el (view-buffer, view-buffer-other-window)
5398 (view-buffer-other-frame): Doc fixes re special mode-class.
5399
5400 * subr.el (eval-after-load): If named feature is provided not from
5401 a file, run after-load forms. (Bug#10946)
5402
5403 * calendar/calendar.el (calendar-insert-at-column):
5404 Handle non-unit-width characters a bit better. (Bug#10978)
5405
5406 2012-03-15 Chong Yidong <cyd@gnu.org>
5407
5408 * emacs-lisp/ring.el (ring-extend): New function.
5409 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5410
5411 * comint.el (comint-read-input-ring)
5412 (comint-add-to-input-history): Grow comint-input-ring lazily.
5413
5414 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5415
5416 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5417 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5418
5419 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5420 (imenu-add-to-menubar): Don't add a redundant index.
5421 (imenu-update-menubar): Handle a dynamically composed keymap.
5422
5423 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5424
5425 * mail/sendmail.el (mail-encode-header):
5426 Bind rfc2047-encode-encoded-words to nil.
5427
5428 2012-03-13 Glenn Morris <rgm@gnu.org>
5429
5430 * calendar/calendar.el (calendar-string-spread):
5431 Handle non-unit-width characters a bit better. (Bug#10978)
5432
5433 2012-03-13 Leo Liu <sdl.web@gmail.com>
5434
5435 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5436 directory and file as argument (Bug#10822).
5437
5438 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5439
5440 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5441 For dynamically generated code, follow $PC.
5442 (gdb-disassembly-handler-custom): Handle no function name case.
5443
5444 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5445
5446 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5447 * emulation/ws-mode.el (ws-query-replace):
5448 * sort.el (sort-regexp-fields):
5449 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5450
5451 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * dabbrev.el: Fix cycle completion order (bug#10963).
5454 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5455 (dabbrev-completion): Don't use an obarray; provide
5456 a cycle-sort-function.
5457
5458 2012-03-12 Leo Liu <sdl.web@gmail.com>
5459
5460 * simple.el (kill-new): Use equal-including-properties for comparison.
5461 (kill-do-not-save-duplicates): Doc fix.
5462
5463 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * dabbrev.el: Fix cycle completion (bug#10963).
5466 Use lexical binding and wrap to 80 columns.
5467 (dabbrev-completion): Delay computing the list of completions.
5468
5469 2012-03-12 Kenichi Handa <handa@m17n.org>
5470
5471 * international/quail.el (quail-insert-kbd-layout): Surround each
5472 row by LRO and PDF instead of inserting many LRMs. Pad the left
5473 and right of each non-spacing marks. Insert invisible space
5474 between lower and upper characters to prevent composition.
5475
5476 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * minibuffer.el (minibuffer-complete): Don't get confused when the
5479 function is run twice via different commands (bug#10958).
5480 (complete-with-action): Fix docstring.
5481
5482 2012-03-12 Chong Yidong <cyd@gnu.org>
5483
5484 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5485 (nxml-completion-at-point-function): New function.
5486 (nxml-mode): Use it.
5487 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5488
5489 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5490 Load generated autoloads file before byte compiling (Bug#10970).
5491 (package--make-autoloads-and-compile): New helper fun.
5492
5493 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5494
5495 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5496
5497 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5498
5499 * autorevert.el (auto-revert-handler): Ensure, that
5500 file-readable-p is applied only for local files or in
5501 auto-revert-tail-mode.
5502
5503 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5504
5505 * server.el (server-eval-at): Handle non-tcp connections.
5506 Decode result string.
5507
5508 * server.el (server-msg-size): New constant.
5509 (server-reply-print): New function.
5510 (server-eval-and-print): Use it.
5511 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5512 Handle -print-nonl.
5513
5514 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5515
5516 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5517 (Bug#10987).
5518
5519 2012-03-11 Chong Yidong <cyd@gnu.org>
5520
5521 * simple.el (goto-line): Doc fix (Bug#9938).
5522
5523 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5524
5525 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5526 when finished (Bug#10963).
5527
5528 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5529
5530 * window.el (split-window-below): Fix bug in case where
5531 split-window-keep-point is nil (Bug#10971).
5532
5533 2012-03-11 Juri Linkov <juri@jurta.org>
5534
5535 * replace.el (replace-highlight): Set isearch-word to nil
5536 unconditionally. (Bug#10887)
5537
5538 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5539
5540 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5541 mairix-replace-illegal-chars; all callers changed. Don't remove
5542 ^, ~, and = characters: they are meaningful in mairix search specs.
5543 (mairix-widget-create-query): Add usage information about mairix
5544 search forms: negating words, searching for substrings, etc.
5545
5546 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5547
5548 * international/fontset.el (font-encoding-alist): Add an entry for
5549 ksx1001 (Bug#5667).
5550
5551 2012-03-10 Richard Stallman <rms@gnu.org>
5552
5553 * mail/sendmail.el (mail-encode-header):
5554 Set rfc2047-encode-encoded-words.
5555
5556 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5557
5558 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5559 view buffer means not swapped.
5560 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5561 (rmail-write-region-annotate): Error if real text has disappeared.
5562
5563 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5564
5565 2012-03-10 Chong Yidong <cyd@gnu.org>
5566
5567 * emulation/cua-rect.el (cua--init-rectangles):
5568 * emulation/cua-base.el (cua--init-keymaps):
5569 Add delete-forward-char to remappings (Bug#9666).
5570
5571 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5572
5573 * speedbar.el (speedbar-unhighlight-one-tag-line):
5574 Avoid unhighlighting due to frame switching (Bug#10275).
5575
5576 2012-03-10 Chong Yidong <cyd@gnu.org>
5577
5578 * minibuffer.el (completion-in-region, completion-help-at-point):
5579 Give the completion field overlay a high priority (Bug#6830).
5580
5581 * dired.el (dired-goto-file): Recognize absolute file name
5582 listings (Bug#7126).
5583 (dired-goto-file-1): New helper function.
5584 (dired-toggle-read-only): Inhibit warnings.
5585
5586 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5587
5588 * net/dbus.el (dbus-property-handler): Return empty array if
5589 there are no properties.
5590
5591 2012-03-09 Leo Liu <sdl.web@gmail.com>
5592
5593 * savehist.el (savehist-printable): Stricter check for string
5594 value (Bug#10937).
5595
5596 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5597
5598 * mail/smtpmail.el (smtpmail-send-it):
5599 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5600 valid mbox format.
5601
5602 2012-03-09 Glenn Morris <rgm@gnu.org>
5603
5604 * files.el (dir-locals-find-file):
5605 Don't check result is regular, readable.
5606 (dir-locals-read-from-file): Demote errors.
5607
5608 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5609
5610 * international/quail.el (quail-insert-kbd-layout):
5611 Insert invisible LRM characters before each character in a keyboard
5612 layout cell, to prevent their reordering by bidi display engine.
5613 For details, see the discussion in
5614 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5615
5616 2012-03-08 Alan Mackenzie <acm@muc.de>
5617
5618 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5619 the starting position; make it extend the marked region when
5620 invoked repeatedly - all under appropriate circumstances.
5621 Fixes bugs #5525, #10906.
5622
5623 2012-03-08 Glenn Morris <rgm@gnu.org>
5624
5625 * files.el (locate-dominating-file, dir-locals-find-file):
5626 Undo 2012-03-06 change.
5627
5628 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5629
5630 * international/quail.el (quail-help):
5631 Force bidi-paragraph-direction be left-to-right. See discussion in
5632 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5633 for the reason.
5634
5635 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5636
5637 Avoid superfluous registering of signals. (Bug#10807)
5638
5639 * notifications.el (notifications-on-action-object)
5640 (notifications-on-close-object): New defvars.
5641 (notifications-on-action-signal, notifications-on-closed-signal):
5642 Unregister the signal if not needed any longer.
5643 (notifications-notify): Register `notifications-action-signal' or
5644 `notifications-closed-signal', if :on-action or :on-close has been
5645 passed as argument.
5646
5647 2012-03-07 Chong Yidong <cyd@gnu.org>
5648
5649 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5650 non-X platforms.
5651
5652 2012-03-06 Glenn Morris <rgm@gnu.org>
5653
5654 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5655 (x-disown-selection-internal, x-get-selection-internal):
5656 Doc fix (add arglist signatures). (Bug#10783)
5657
5658 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5659
5660 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5661 Handle breakpoints with no "type".
5662
5663 2012-03-06 Glenn Morris <rgm@gnu.org>
5664
5665 * files.el (locate-dominating-file): Add optional predicate argument.
5666 (dir-locals-find-file): Make use of above change.
5667
5668 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5669
5670 * info.el (Info-insert-dir): Also try "dir.gz".
5671
5672 2012-03-06 Glenn Morris <rgm@gnu.org>
5673
5674 * files.el (dir-locals-find-file):
5675 Ignore non-readable or non-regular files. (Bug#10928)
5676
5677 * files.el (locate-dominating-file): Doc fix.
5678
5679 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5680
5681 * calendar/calendar.el (calendar-set-mode-line):
5682 `getenv' returns a string. (Bug#10951)
5683
5684 2012-03-05 Leo Liu <sdl.web@gmail.com>
5685
5686 * simple.el (backward-delete-char-untabify): Constrain point to
5687 field (Bug#10939).
5688
5689 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5690
5691 2012-03-05 Chong Yidong <cyd@gnu.org>
5692
5693 * simple.el (count-words): If called from Lisp, return the word
5694 count, for symmetry with `count-lines'. Arglist changed.
5695 (count-words--message): Args changed. Consolidate counting code
5696 from count-words and count-words-region.
5697 (count-words-region): Caller changed.
5698 (count-lines-region): Make it an obsolete alias.
5699
5700 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5701
5702 * saveplace.el (save-place-to-alist)
5703 (save-place-ignore-files-regexp): Allow value nil to disable this
5704 feature.
5705
5706 2012-03-04 Chong Yidong <cyd@gnu.org>
5707
5708 * faces.el (face-spec-reset-face): For the default face, reset the
5709 attributes to default values (Bug#10748).
5710
5711 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5712
5713 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5714 previous patch: Check `message-send-mail-function', and not the
5715 default function (bug#10897).
5716
5717 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5718
5719 * notifications.el (notifications-on-action-signal)
5720 (notifications-on-closed-signal): Check for unique service name of
5721 incoming event. Fix error in removing entry.
5722 (top): Register for signals with wildcard service name.
5723 (notifications-notify): Use daemon unique service name for map entries.
5724
5725 2012-03-04 Chong Yidong <cyd@gnu.org>
5726
5727 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5728
5729 2012-03-04 Glenn Morris <rgm@gnu.org>
5730
5731 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5732 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5733 (expand-abbrev, define-abbrev-table): Doc fixes.
5734
5735 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5736
5737 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5738 `message-default-send-mail-function' and not `send-mail-function'
5739 when doing the prompting for `sendmail-query-once' before sending
5740 in Message buffers (bug#10897).
5741
5742 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5743 This is inconsistent with all the other stream functions, which leave
5744 the setting up to the higher levels (if so wanted) (bug#10931).
5745
5746 2012-03-02 Alan Mackenzie <acm@muc.de>
5747
5748 Depessimize the handling of very large macros.
5749
5750 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5751 (c-macro-cache-syntactic): New variables to implement a one
5752 element macro cache.
5753 (c-invalidate-macro-cache): New function.
5754 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5755 Adapt to use the new cache.
5756 (c-state-safe-place): Use better the cache of safe positions.
5757 (c-state-semi-nonlit-pos-cache)
5758 (c-state-semi-nonlit-pos-cache-limit):
5759 New variables for...
5760 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5761 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
5762 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5763 Use c-state-semi-safe-place.
5764
5765 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5766 Add c-invalidate-macro-cache to the C, C++, Obj entries.
5767
5768 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
5769
5770 * jka-compr.el (jka-compr-call-process):
5771 Apply `file-accessible-directory-p' only when the default directory is
5772 not remote.
5773
5774 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
5775
5776 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5777 access of FILE2, if FILE1 does not exist.
5778
5779 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5780 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5781
5782 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5783 Add "PAGER=" to `process-environment'.
5784
5785 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5786
5787 * progmodes/sql.el: Bug fix
5788 (sql-get-login-ext): Save login values in globals.
5789 (sql-get-login): Use new version of `sql-get-login-ext'.
5790 (sql-interactive-mode): Set global `sql-connection' to nil.
5791 (sql-connect): Set global values for connection.
5792 (sql-product-interactive): Save global values as buffer local.
5793
5794 2012-02-29 Leo Liu <sdl.web@gmail.com>
5795
5796 * abbrev.el (define-abbrevs): Reset sys to nil.
5797
5798 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5799
5800 * files.el (file-equal-p): Rename from `files-equal-p'.
5801 Return nil when one or both files don't exist.
5802 (file-subdir-of-p): Now only top directory must exists,
5803 return nil if it doesn't.
5804 (copy-directory): No need to test with `file-subdir-of-p' after
5805 creating dir.
5806 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5807 to `file-equal-p'.
5808
5809 2012-02-28 Glenn Morris <rgm@gnu.org>
5810
5811 * shell.el (shell-mode):
5812 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5813 * play/landmark.el (landmark-font-lock-face-O):
5814 * play/handwrite.el (handwrite):
5815 * play/gomoku.el (gomoku-O):
5816 * net/browse-url.el (browse-url-browser-display):
5817 * international/mule.el (define-charset):
5818 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5819 * filesets.el (filesets-find-file-delay):
5820 * eshell/em-xtra.el (eshell-xtra):
5821 * eshell/em-unix.el (eshell-grep):
5822 * emulation/viper.el (viper-mode):
5823 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5824 * emacs-lisp/easymenu.el (easy-menu-define):
5825 * calendar/timeclock.el (timeclock-use-display-time):
5826 * bs.el (bs-mode):
5827 * bookmark.el (bookmark-save-flag):
5828 Doc fix (standardize possessive apostrophe usage).
5829
5830 2012-02-27 Chong Yidong <cyd@gnu.org>
5831
5832 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5833 Fix key-binding lookup for ESC key (Bug#9146).
5834
5835 * font-lock.el (font-lock-specified-p): Rename from
5836 font-lock-spec-present. Callers changed.
5837
5838 2012-02-27 Daniel Hackney <dan@haxney.org>
5839
5840 * emacs-lisp/package.el (package-compute-transaction):
5841 Handle holding a package version to t in package-load-list.
5842
5843 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
5844
5845 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5846 (tramp-get-inode, tramp-get-device): Use cached values.
5847
5848 2012-02-26 Alan Mackenzie <acm@muc.de>
5849
5850 Check there is a font-lock specification before doing initial
5851 fontification.
5852
5853 * font-core.el (font-lock-mode): Move the conditional from
5854 :after-hook to font-lock-initial-fontify.
5855 (font-lock-default-function): Move the check for a specification
5856 to font-lock-spec-present.
5857
5858 * font-lock.el (font-lock-initial-fontify): Call ...
5859 (font-lock-spec-present): New function.
5860
5861 2012-02-26 Jim Blandy <jimb@red-bean.com>
5862
5863 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5864 (gdb-send): Apply it to the operand of the '-interpreter-exec
5865 console' command, so that we can pass arguments with (say) quotes
5866 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5867
5868 2012-02-26 Chong Yidong <cyd@gnu.org>
5869
5870 * help-fns.el (describe-function-1): Clarify description of
5871 remapping (Bug#10844).
5872
5873 * files.el (files-equal-p): Doc fix.
5874 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5875 and quit the loop once a mismatch is found.
5876
5877 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5878
5879 * bs.el (bs--show-with-configuration): Don't throw an error
5880 if the window cannot be split; otherwise, subsequent calls to
5881 bs-show fail, restoring a stale window config. (Bug#10882)
5882
5883 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5884
5885 * term/ns-win.el (global-map): Bind ns-drag-file to
5886 ns-find-file (Bug#5855, Bug#10050).
5887
5888 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5889
5890 * calendar/parse-time.el (parse-time-string): Allow extractor to
5891 return nil.
5892
5893 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5894
5895 * net/tramp.el (tramp-file-name-for-operation):
5896 Add `files-equal-p' and `file-subdir-of-p'.
5897
5898 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5899 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5900 Add COPY-CONTENTS argument.
5901
5902 2012-02-25 Chong Yidong <cyd@gnu.org>
5903
5904 Add custom groups for VC backends, for consistency with vc-bzr.
5905
5906 * vc/vc-arch.el (vc-arch):
5907 * vc/vc-cvs.el (vc-cvs):
5908 * vc/vc-git.el (vc-git):
5909 * vc/vc-hg.el (vc-hg):
5910 * vc/vc-mtn.el (vc-mtn):
5911 * vc/vc-rcs.el (vc-rcs):
5912 * vc/vc-sccs.el (vc-sccs):
5913 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5914 All relevant defcustoms reassigned.
5915
5916 2012-02-25 Chong Yidong <cyd@gnu.org>
5917
5918 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5919
5920 * term/x-win.el (x-initialize-window-system): Reduce default for
5921 x-selection-timeout to 5 seconds (Bug#8869).
5922
5923 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5924
5925 * files.el (files-equal-p, file-subdir-of-p): New functions.
5926 (copy-directory): Error when trying to copy a directory on itself.
5927 Add missing copy-contents arg to tramp handler.
5928 * dired-aux.el (dired-copy-file-recursive): Same.
5929 (dired-create-files): Modify destination when source is equal to
5930 dest when copying files.
5931 Return also when dest is a subdir of source. (Bug#10489)
5932
5933 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5934
5935 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5936 (Bug#10874)
5937
5938 2012-02-23 Alan Mackenzie <acm@muc.de>
5939
5940 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5941 parameter "after-hook:" to allow the expansion to run code after
5942 the execution of the mode hooks.
5943
5944 * font-lock.el (font-lock-initial-fontify): New function extracted
5945 from font-lock-mode-internal.
5946
5947 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5948 :after-hook.
5949
5950 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5953 (completion--cache-all-sorted-completions): New function.
5954 (completion-all-sorted-completions): Use it.
5955 (completion--do-completion, minibuffer-force-complete):
5956 Use it to re-instate the flush hook.
5957
5958 * icomplete.el (icomplete-completions): Replace last fix with a better
5959 one (bug#10850).
5960
5961 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5962
5963 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5964 when it might call us back infinitely (bug#10797).
5965
5966 2012-02-23 Glenn Morris <rgm@gnu.org>
5967
5968 * minibuffer.el (completion-category-overrides): Doc fix.
5969
5970 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5973 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5974
5975 2012-02-23 Glenn Morris <rgm@gnu.org>
5976
5977 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5978 (authors-obsolete-files-regexps, authors-ignored-files)
5979 (authors-ambiguous-files, authors-renamed-files-alist):
5980 Add more entries.
5981
5982 2012-02-23 Juri Linkov <juri@jurta.org>
5983
5984 * isearch.el (isearch-occur): Sync interactive spec with occur's
5985 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5986
5987 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5988
5989 2012-02-22 Juri Linkov <juri@jurta.org>
5990
5991 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5992 (ucs-insert): Doc fix. Check for hex digits in the string.
5993 Don't display `nil' in the error message. (Bug#10857)
5994
5995 2012-02-22 Alan Mackenzie <acm@muc.de>
5996
5997 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5998
5999 2012-02-22 Glenn Morris <rgm@gnu.org>
6000
6001 * ffap.el (ffap-c-path):
6002 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6003
6004 2012-02-22 Chong Yidong <cyd@gnu.org>
6005
6006 * custom.el (load-theme): Doc fix.
6007
6008 2012-02-22 Glenn Morris <rgm@gnu.org>
6009
6010 * dired-x.el (dired-guess-shell-alist-default):
6011 Remove escape sequences from nroff output. (Bug#172)
6012
6013 2012-02-21 Glenn Morris <rgm@gnu.org>
6014
6015 * vc/emerge.el (emerge-defvar-local):
6016 Set `permanent-local' property rather than unused `preserved'.
6017
6018 * textmodes/picture.el (picture-delete-char): New alias.
6019 (picture-mode-map): Use it. (Bug#10860)
6020 (picture-mode): Doc fix.
6021
6022 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6023
6024 * newcomment.el (uncomment-region-default): Remove unused binding.
6025
6026 2012-02-21 Glenn Morris <rgm@gnu.org>
6027
6028 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6029 (picture-self-insert, picture-tab-chars): Doc fix.
6030 (picture-mode-map): Fix C-a, C-e.
6031
6032 2012-02-20 Glenn Morris <rgm@gnu.org>
6033
6034 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6035
6036 2012-02-20 Leo Liu <sdl.web@gmail.com>
6037
6038 * icomplete.el (icomplete-completions): Check FROM arg before
6039 passing to substring (Bug#10850).
6040
6041 2012-02-19 Chong Yidong <cyd@gnu.org>
6042
6043 * comint.el: Require ansi-color.
6044 (comint-output-filter-functions): Add ansi-color-process-output.
6045
6046 * ansi-color.el: Don't set comint-output-filter-functions; it is
6047 now in the initial value defined in comint.el.
6048 (ansi-color-apply-face-function): New variable.
6049 (ansi-color-apply-on-region): Use it.
6050 (ansi-color-apply-overlay-face): New function.
6051
6052 * shell.el (shell): No need to require ansi-color.
6053 (shell-mode): Use ansi-color-apply-face-function to highlight
6054 color escapes using font-lock-face property (Bug#10835).
6055
6056 2012-02-19 Chong Yidong <cyd@gnu.org>
6057
6058 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6059 mode-line formats (Bug#10839).
6060
6061 2012-02-18 Glenn Morris <rgm@gnu.org>
6062
6063 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6064
6065 * mail/undigest.el (unforward-rmail-message): Doc fix.
6066
6067 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6068
6069 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6070
6071 * international/characters.el (script-list): Sync with the latest
6072 Unicode Character Database.
6073
6074 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6075
6076 * international/titdic-cnv.el: Remove duplicate coding tag.
6077 * language/cham.el: Likewise.
6078 * language/tai-viet.el: Likewise.
6079
6080 2012-02-18 Glenn Morris <rgm@gnu.org>
6081
6082 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6083 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6084 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6085 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6086 * calendar/holidays.el (holiday-bahai-holidays)
6087 (calendar-holidays, list-holidays):
6088 Use utf-8 Bahá'í in doc-strings, menus, etc.
6089
6090 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6091
6092 * saveplace.el (save-place-ignore-files-regexp): New variable
6093 allowing for excluding files from saving their location of point.
6094 The default value matches the temporary commit message editing
6095 files from Git, SVN, Bazaar, and Mercurial.
6096 (save-place-to-alist): Use it.
6097
6098 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6099 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * newcomment.el (uncomment-region-default): Don't leave extra space
6102 when an arg is provided (bug#8150).
6103
6104 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6105
6106 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6107
6108 2012-02-17 Glenn Morris <rgm@gnu.org>
6109
6110 * net/socks.el: Require network-stream. (Bug#10599)
6111
6112 2012-02-17 Kenichi Handa <handa@m17n.org>
6113
6114 * international/charprop.el:
6115 * international/uni-name.el:
6116 * international/uni-old-name.el:
6117 * international/uni-comment.el: Regenerate.
6118
6119 2012-02-16 Glenn Morris <rgm@gnu.org>
6120
6121 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6122 Interactively in calendar buffer, give an error if not on a date.
6123
6124 2012-02-15 Glenn Morris <rgm@gnu.org>
6125
6126 * shell.el (shell-delimiter-argument-list):
6127 Revert 2011-02-17 change. (Bug#8027)
6128
6129 2012-02-15 Chong Yidong <cyd@gnu.org>
6130
6131 * minibuffer.el (completion-at-point-functions): Doc fix.
6132
6133 * custom.el (defcustom): Doc fix; note use of defvar.
6134
6135 2012-02-15 Glenn Morris <rgm@gnu.org>
6136
6137 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6138 Doc fixes.
6139
6140 2012-02-14 Glenn Morris <rgm@gnu.org>
6141
6142 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6143
6144 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6145
6146 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6147 way the ports list is computed.
6148 (smtpmail-query-smtp-server): Prompt the user for a port number if
6149 we can't connect to any of the standard ports (bug#10810).
6150
6151 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6152
6153 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6154
6155 2012-02-13 Glenn Morris <rgm@gnu.org>
6156
6157 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6158
6159 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6160
6161 * net/gnutls.el (gnutls-trustfiles): New variable.
6162 (gnutls-negotiate): Use it.
6163
6164 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6165
6166 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6167 does its stuff if Gnus is running.
6168
6169 2012-02-13 Alan Mackenzie <acm@muc.de>
6170
6171 Fix a loop in c-set-fl-decl-start.
6172
6173 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6174 c-backward-syntactic-ws actually moves backwards.
6175
6176 2012-02-13 Leo Liu <sdl.web@gmail.com>
6177
6178 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6179 beginning so that all \C-o chars are removed.
6180
6181 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6182
6183 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6184
6185 2012-02-12 Alan Mackenzie <acm@muc.de>
6186
6187 Fix infinite loop with long macros.
6188 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6189
6190 2012-02-12 Chong Yidong <cyd@gnu.org>
6191
6192 * window.el (display-buffer): Doc fix (Bug#10785).
6193
6194 2012-02-12 Glenn Morris <rgm@gnu.org>
6195
6196 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6197 (x-disown-selection-internal, x-get-selection-internal):
6198 Sync docs with the xselect.c versions.
6199
6200 * allout-widgets.el: Add missing license notice.
6201
6202 2012-02-11 Glenn Morris <rgm@gnu.org>
6203
6204 * select.el (x-get-selection-internal, x-own-selection-internal)
6205 (x-disown-selection-internal):
6206 * x-dnd.el (x-get-selection-internal): Update declarations.
6207
6208 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6209
6210 * window.el (window-sides-slots):
6211 * tool-bar.el (tool-bar-position):
6212 * term/xterm.el (xterm-extra-capabilities):
6213 * ses.el (ses-self-reference-early-detection):
6214 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6215 (verilog-auto-wire-type)
6216 (verilog-auto-delete-trailing-whitespace)
6217 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6218 (verilog-auto-tieoff-declaration):
6219 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6220 (sql-oracle-statement-starters, sql-oracle-scan-on):
6221 * progmodes/prolog.el (prolog-align-comments-flag)
6222 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6223 (prolog-left-indent-regexp, prolog-paren-indent-p)
6224 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6225 (prolog-types, prolog-mode-specificators)
6226 (prolog-determinism-specificators, prolog-directives)
6227 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6228 (prolog-electric-dot-flag)
6229 (prolog-electric-dot-full-predicate-template)
6230 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6231 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6232 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6233 (prolog-program-switches, prolog-prompt-regexp)
6234 (prolog-debug-on-string, prolog-debug-off-string)
6235 (prolog-trace-on-string, prolog-trace-off-string)
6236 (prolog-zip-on-string, prolog-zip-off-string)
6237 (prolog-use-standard-consult-compile-method-flag)
6238 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6239 (prolog-imenu-max-lines, prolog-info-predicate-index)
6240 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6241 (prolog-char-quote-workaround):
6242 * progmodes/cc-vars.el (c-defun-tactic):
6243 * net/tramp.el (tramp-encoding-command-interactive)
6244 (tramp-local-end-of-line):
6245 * net/soap-client.el (soap-client):
6246 * net/netrc.el (netrc-file):
6247 * net/gnutls.el (gnutls):
6248 * minibuffer.el (completion-category-overrides)
6249 (completion-cycle-threshold)
6250 (completion-pcm-complete-word-inserts-delimiters):
6251 * man.el (Man-name-local-regexp):
6252 * mail/feedmail.el (feedmail-display-full-frame):
6253 * international/characters.el (glyphless-char-display-control):
6254 * eshell/em-ls.el (eshell-ls-date-format):
6255 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6256 (lisp-lambda-list-keyword-parameter-indentation)
6257 (lisp-lambda-list-keyword-parameter-alignment):
6258 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6259 * dired-x.el (dired-omit-verbose):
6260 * cus-theme.el (custom-theme-allow-multiple-selections):
6261 * calc/calc.el (calc-highlight-selections-with-faces)
6262 (calc-lu-field-reference, calc-lu-power-reference)
6263 (calc-note-threshold):
6264 * battery.el (battery-mode-line-limit):
6265 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6266 (archive-7z-update):
6267 * allout.el (allout-prefixed-keybindings)
6268 (allout-unprefixed-keybindings)
6269 (allout-inhibit-auto-fill-on-headline)
6270 (allout-flattened-numbering-abbreviation):
6271 * allout-widgets.el (allout-widgets-auto-activation)
6272 (allout-widgets-icons-dark-subdir)
6273 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6274 (allout-widgets-theme-dark-background)
6275 (allout-widgets-theme-light-background)
6276 (allout-widgets-item-image-properties-emacs)
6277 (allout-widgets-item-image-properties-xemacs)
6278 (allout-widgets-run-unit-tests-on-load)
6279 (allout-widgets-time-decoration-activity)
6280 (allout-widgets-hook-error-post-time)
6281 (allout-widgets-track-decoration):
6282 Add missing :version tags to new defcustoms and defgroups.
6283
6284 * progmodes/sql.el (sql-ansi-statement-starters)
6285 (sql-oracle-statement-starters): Add custom type.
6286
6287 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6288 (prolog-system-version): Give it a type.
6289
6290 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6291
6292 * term/pc-win.el (x-select-text, x-selection-owner-p)
6293 (x-own-selection-internal, x-disown-selection-internal)
6294 (x-get-selection-internal): Sync doc strings and argument lists
6295 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6296
6297 2012-02-11 Leo Liu <sdl.web@gmail.com>
6298
6299 * progmodes/python.el (python-end-of-statement): Fix infinite
6300 loop. (Bug#10788)
6301
6302 2012-02-10 Glenn Morris <rgm@gnu.org>
6303
6304 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6305 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6306
6307 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6308
6309 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6310 about SMTP before checking the From header.
6311
6312 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6313 into own function for reuse by emacsbug.el.
6314
6315 2012-02-10 Leo Liu <sdl.web@gmail.com>
6316
6317 * subr.el (condition-case-unless-debug): Rename from
6318 condition-case-no-debug. All callers changed.
6319 (with-demoted-errors): Fix caller.
6320
6321 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6322 * nxml/rng-valid.el (rng-do-some-validation):
6323 * emacs-lisp/package.el (package-refresh-contents)
6324 (package-menu-execute):
6325 * desktop.el (desktop-create-buffer):
6326 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6327
6328 2012-02-10 Glenn Morris <rgm@gnu.org>
6329
6330 * textmodes/bibtex.el:
6331 Add missing :version tags for new/changed defcustoms.
6332
6333 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6334
6335 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6336
6337 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6338 (smtpmail-via-smtp): Use it, or fall back on the From address.
6339 (smtpmail-send-it): Ditto.
6340
6341 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6344 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6345 (byte-compile-tmp-var): New const.
6346 (byte-compile-defvar): Use it to minimize .elc size.
6347 Just use `defvar' rather than simulate it (bug#10761).
6348
6349 2012-02-09 Glenn Morris <rgm@gnu.org>
6350
6351 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6352
6353 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6354 Add :version tags.
6355
6356 * progmodes/compile.el (compilation-error-screen-columns)
6357 (compilation-first-column, compilation-filter-start): Doc fixes.
6358
6359 * vc/log-view.el (log-view-toggle-entry-display):
6360 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6361
6362 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6363 (report-emacs-bug-can-use-xdg-email):
6364 (report-emacs-bug-insert-to-mailer): Doc fixes.
6365 (report-emacs-bug): Message fix.
6366
6367 * net/browse-url.el (browse-url-can-use-xdg-open)
6368 (browse-url-xdg-open): Doc fixes.
6369
6370 * electric.el (electric-indent-mode, electric-pair-mode)
6371 (electric-layout-rules, electric-layout-mode): Doc fixes.
6372 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6373
6374 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6375
6376 * server.el (server-unselect-display): Don't inadvertently kill
6377 the current buffer. (Bug#10729)
6378
6379 2012-02-08 Glenn Morris <rgm@gnu.org>
6380
6381 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6382 (sql-list-table): Doc fixes.
6383
6384 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6385 Comment out (does nothing).
6386
6387 * completion.el (dynamic-completion-mode):
6388 * dirtrack.el (dirtrack-debug-mode):
6389 * electric.el (electric-layout-mode):
6390 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6391 * face-remap.el (text-scale-mode, buffer-face-mode):
6392 * iimage.el (iimage-mode):
6393 * image-mode.el (image-transform-mode):
6394 * minibuffer.el (completion-in-region-mode):
6395 * scroll-lock.el (scroll-lock-mode):
6396 * simple.el (next-error-follow-minor-mode):
6397 * tar-mode.el (tar-subfile-mode):
6398 * tooltip.el (tooltip-mode):
6399 * vcursor.el (vcursor-use-vcursor-map):
6400 * wid-browse.el (widget-minor-mode):
6401 * emulation/tpu-edt.el (tpu-edt-mode):
6402 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6403 * international/iso-ascii.el (iso-ascii-mode):
6404 * language/thai-util.el (thai-word-mode):
6405 * mail/supercite.el (sc-minor-mode):
6406 * net/goto-addr.el (goto-address-mode):
6407 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6408 * progmodes/cwarn.el (cwarn-mode):
6409 * progmodes/flymake.el (flymake-mode):
6410 * progmodes/glasses.el (glasses-mode):
6411 * progmodes/hideshow.el (hs-minor-mode):
6412 * progmodes/pascal.el (pascal-outline-mode):
6413 * textmodes/enriched.el (enriched-mode):
6414 * vc/smerge-mode.el (smerge-mode):
6415 Doc fixes (minor mode argument).
6416
6417 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6418
6419 * ls-lisp.el (ls-lisp-sanitize): New function.
6420 (ls-lisp-insert-directory): Use it to fix or remove any elements
6421 in file-alist with missing attributes. (Bug#4673)
6422
6423 2012-02-07 Alan Mackenzie <acm@muc.de>
6424
6425 Fix spurious recognition of c-in-knr-argdecl.
6426
6427 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6428 putative K&R region.
6429
6430 2012-02-07 Alan Mackenzie <acm@muc.de>
6431
6432 * progmodes/cc-engine.el (c-forward-objc-directive):
6433 Prevent looping in "#pragma mark @implementation".
6434
6435 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6436
6437 * notifications.el (notifications-on-closed-signal): Make `reason'
6438 optional. (Bug#10744)
6439
6440 2012-02-07 Glenn Morris <rgm@gnu.org>
6441
6442 * emacs-lisp/easy-mmode.el (define-minor-mode):
6443 Doc fixes for the macro and the mode it defines.
6444
6445 * image.el (imagemagick-types-inhibit): Doc fix.
6446
6447 * cus-start.el (imagemagick-render-type): Add it.
6448
6449 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6450
6451 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6452 Set the default at load time, too, so that `font-lock-fontify-buffer'
6453 can be called without setting up the entire mode first. This fixes
6454 a bug in `mm-inline-text' with C MIME parts.
6455
6456 2012-02-06 Chong Yidong <cyd@gnu.org>
6457
6458 * simple.el (list-processes--refresh): Delete exited processes
6459 (Bug#8094).
6460
6461 * comint.el (comint-next-prompt): next-single-char-property-change
6462 and prev-single-char-property-change never return nil (Bug#8657).
6463
6464 * custom.el (defcustom): Doc fix (Bug#9711).
6465
6466 2012-02-05 Chong Yidong <cyd@gnu.org>
6467
6468 * cus-edit.el (custom-variable-reset-backup): Quote the value
6469 before storing it in the customized-value property (Bug#6712).
6470 (custom-display): Add a customization type tag.
6471 (custom-buffer-create-internal): Improve tooltip message.
6472
6473 * wid-edit.el (widget-field-value-get): New optional arg to
6474 suppress trailing whitespace truncation.
6475 (character): Use it (Bug#2689).
6476
6477 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6478
6479 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6480 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6481
6482 2012-02-05 Chong Yidong <cyd@gnu.org>
6483
6484 * cus-edit.el (custom-variable-value-create): For mismatched
6485 types, show the current value (Bug#7600).
6486
6487 * custom.el (defcustom): Doc fix.
6488
6489 2012-02-05 Glenn Morris <rgm@gnu.org>
6490
6491 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6492
6493 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6494
6495 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6496 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6497 (pp-last-sexp): Use `looking-at-p'.
6498
6499 2012-02-04 Glenn Morris <rgm@gnu.org>
6500
6501 * files.el (revert-buffer):
6502 Doc fix (mention revert-buffer-in-progress-p).
6503
6504 * emacs-lisp/ert-x.el (ert-simulate-command):
6505 Check deferred-action-list (which is obsolete) is bound.
6506
6507 * subr.el (with-wrapper-hook): Doc fixes.
6508
6509 * simple.el (filter-buffer-substring-functions)
6510 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6511
6512 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6513
6514 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6515 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6516
6517 2012-02-04 Leo Liu <sdl.web@gmail.com>
6518
6519 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6520
6521 2012-02-04 Glenn Morris <rgm@gnu.org>
6522
6523 * image.el (image-extension-data): Add obsolete alias.
6524
6525 * isearch.el (isearch-update): Doc fix.
6526
6527 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6528
6529 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6530
6531 2012-02-03 Glenn Morris <rgm@gnu.org>
6532
6533 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6534 (image-animate-timeout): Doc fix.
6535
6536 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6537
6538 2012-02-02 Glenn Morris <rgm@gnu.org>
6539
6540 * server.el (server-auth-dir): Doc fix.
6541 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6542
6543 * subr.el (run-mode-hooks): Doc fix.
6544
6545 2012-02-02 Juri Linkov <juri@jurta.org>
6546
6547 * image-mode.el (image-toggle-display-image): Remove tautological
6548 `major-mode' from the `derived-mode-p' test.
6549
6550 2012-02-02 Kenichi Handa <handa@m17n.org>
6551
6552 * composite.el (compose-region): Cancel previous change.
6553
6554 2012-02-02 Kenichi Handa <handa@m17n.org>
6555
6556 * composite.el (compose-region, compose-string): Signal error for
6557 a null string component (Bug#6988).
6558
6559 2012-02-01 Chong Yidong <cyd@gnu.org>
6560
6561 * view.el (view-buffer-other-window, view-buffer-other-frame):
6562 Handle special modes like view-buffer (Bug#10650).
6563 (view-buffer): Simplify.
6564
6565 * frame.el (set-frame-font): Tweak meaning of third argument.
6566
6567 * dynamic-setting.el (font-setting-change-default-font):
6568 Use set-frame-font (Bug#9982).
6569
6570 2012-02-01 Glenn Morris <rgm@gnu.org>
6571
6572 * progmodes/compile.el (compilation-internal-error-properties):
6573 Respect compilation-first-column in the "*compilation*" buffer.
6574
6575 * emacs-lisp/easy-mmode.el (define-minor-mode):
6576 Relax :variable's test for a named function.
6577
6578 2012-01-31 Alan Mackenzie <acm@muc.de>
6579
6580 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6581 off by one error.
6582
6583 2012-01-31 Chong Yidong <cyd@gnu.org>
6584
6585 * frame.el (set-frame-font): New arg ALL-FRAMES.
6586
6587 * menu-bar.el (menu-set-font): Use set-frame-font.
6588
6589 * faces.el (face-spec-reset-face): Don't apply unspecified
6590 attribute values to the default face.
6591
6592 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6593
6594 * progmodes/cwarn.el (cwarn): Remove dead link.
6595 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6596 Remove * from defcustom docstrings.
6597 (turn-on-cwarn-mode): Make obsolete.
6598 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6599 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6600
6601 2012-01-31 Glenn Morris <rgm@gnu.org>
6602
6603 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6604 Fix :variable handling of mode a symbol not equal to modefun.
6605 Allow named functions to be used as the cdr of :variable.
6606
6607 2012-01-30 Glenn Morris <rgm@gnu.org>
6608
6609 * emacs-lisp/authors.el (authors-fixed-entries):
6610 Remove reference to deleted file rnewspost.el.
6611
6612 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6613
6614 * window.el (window-with-parameter): Remove unused variable `windows'.
6615 (window--side-check): Remove unused variable `code'.
6616 (window--resize-siblings): Remove unused variable `first'.
6617 (adjust-window-trailing-edge): Remove unused variable `failed'.
6618 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6619 Use `let', not `let*'.
6620 (balance-windows-2): Remove unused variable `found'.
6621 (window--state-put-2): Remove unused variable `splits'.
6622 (window-state-put): Remove unused variable `selected'.
6623 (same-window-p): Use `string-match-p'.
6624 (display-buffer-assq-regexp): Remove unused variable `value'.
6625 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6626 Mark argument ALIST as ignored.
6627 (pop-to-buffer): Remove unused variable `old-window'.
6628
6629 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6630
6631 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6632 and .lzma compressed files.
6633
6634 2012-01-29 Chong Yidong <cyd@gnu.org>
6635
6636 * frame.el (window-system-default-frame-alist): Doc fix.
6637
6638 * dynamic-setting.el (font-setting-change-default-font): Don't
6639 change the default face if SET-FONT argument is non-nil (Bug#9982).
6640
6641 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6642
6643 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6644
6645 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6646
6647 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6648 breakpoints in files outside current directory (Bug#6098).
6649
6650 2012-01-29 Chong Yidong <cyd@gnu.org>
6651
6652 * progmodes/python.el: Require ansi-color at top-level.
6653
6654 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6655 Define and use in Emacs Lisp mode (Bug#9360).
6656 (lisp-mode-abbrev-table): Add doc.
6657 (lisp-mode-variables): Don't set local-abbrev-table.
6658 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6659
6660 2012-01-28 Roland Winkler <winkler@gnu.org>
6661
6662 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6663
6664 2012-01-28 Roland Winkler <winkler@gnu.org>
6665
6666 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6667 (bibtex-set-dialect): Use it. Either set global values of
6668 dialect-dependent variables or bind these variables buffer-locally
6669 (Bug#10254).
6670 (bibtex-mode): Call bibtex-set-dialect via
6671 hack-local-variables-hook.
6672 (bibtex-dialect): Update docstring.
6673 Add safe-local-variable predicate.
6674 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6675 bibtex-set-dialect.
6676 (bibtex-mode-map): Define menu for each dialect.
6677 (bibtex-entry): Fix docstring.
6678
6679 2012-01-28 Chong Yidong <cyd@gnu.org>
6680
6681 * eshell/esh-arg.el (eshell-quote-argument): New function.
6682
6683 * eshell/esh-ext.el (eshell-invoke-batch-file):
6684 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6685 first arg to eshell-parse-command (Bug#10523).
6686
6687 2012-01-28 Drew Adams <drew.adams@oracle.com>
6688
6689 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6690 `default-directory' is non-nil.
6691
6692 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6693
6694 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6695 line that displays system-configuration-options. (Bug#9924)
6696
6697 2012-01-28 Drew Adams <drew.adams@oracle.com>
6698
6699 * descr-text.el (describe-char): Show information about POS, in
6700 addition to information about the character at POS. Improve and
6701 update the doc string. Change "code point" to "code point in
6702 charset", to avoid confusion with the character's Unicode code
6703 point shown above that. (Bug#10129)
6704
6705 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6706
6707 * descr-text.el (describe-char): Show the raw character, not only
6708 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6709 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6710 for the reasons.
6711
6712 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6713
6714 * emacs-lisp/package.el (package-install):
6715 Run package-refresh-contents if there is no archive yet (Bug#9798).
6716
6717 2012-01-28 Chong Yidong <cyd@gnu.org>
6718
6719 * emacs-lisp/package.el (package-maybe-load-descriptor):
6720 New function, split from package-maybe-load-descriptor.
6721 (package-maybe-load-descriptor): Use it.
6722 (package-download-transaction): Fully load required packages
6723 inside the loop, so that `require' calls work (Bug#10593).
6724 (package-install): No need to call package-initialize now.
6725
6726 2012-01-28 Chong Yidong <cyd@gnu.org>
6727
6728 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6729
6730 * tooltip.el (tooltip-mode): Doc fix.
6731 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6732
6733 * frame.el (set-cursor-color): Doc fix (Bug#352).
6734
6735 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6736 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6737
6738 * cus-edit.el (custom-buffer-create-internal): Fix search button
6739 action (Bug#10542).
6740 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6741
6742 2012-01-27 Eduard Wiebe <usenet@pusto.de>
6743
6744 * dired.el (dired-mark-files-regexp):
6745 Include any subdirectory components. (Bug#10445)
6746
6747 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6748
6749 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6750 Handle [host]:port syntax. (Bug#10533)
6751
6752 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
6753
6754 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6755
6756 2012-01-26 Glenn Morris <rgm@gnu.org>
6757
6758 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6759 * term.el (term-raw-escape-map): Use Control-X-prefix.
6760 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6761
6762 2012-01-25 Martin Rudalics <rudalics@gmx.at>
6763
6764 * window.el (window-state-get, window--state-get-1): Don't deal
6765 with fixed-sizeness of windows. Simplify code.
6766
6767 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6768
6769 * window.el (window--state-get-1, window--state-put-2):
6770 Don't save and restore the mark.
6771
6772 2012-01-25 Chong Yidong <cyd@gnu.org>
6773
6774 * custom.el (custom-variable-p): Doc fix.
6775
6776 2012-01-25 Glenn Morris <rgm@gnu.org>
6777
6778 * dired.el (dired-goto-file): Handle some of the more common
6779 characters that `ls -b' escapes. (Bug#10596)
6780
6781 * progmodes/compile.el (compilation-next-error-function):
6782 Respect compilation-first-column in the "*compilation*" buffer.
6783 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6784
6785 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6786
6787 2012-01-24 Glenn Morris <rgm@gnu.org>
6788
6789 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6790
6791 2012-01-24 Julien Danjou <julien@danjou.info>
6792
6793 * color.el (color-rgb-to-hsl): Fix value computing.
6794 (color-hue-to-rgb): New function.
6795 (color-hsl-to-rgb): New function.
6796 (color-clamp, color-saturate-hsl, color-saturate-name)
6797 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6798 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6799
6800 2012-01-24 Glenn Morris <rgm@gnu.org>
6801
6802 * vc/vc-rcs.el (vc-rcs-create-tag):
6803 * vc/vc-sccs.el (vc-sccs-create-tag):
6804 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6805
6806 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6807
6808 * eshell/esh-util.el (eshell-read-hosts-file):
6809 Skip comment lines. (Bug#10549)
6810
6811 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6812
6813 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
6814
6815 * subr.el (display-delayed-warnings): Doc fix.
6816 (collapse-delayed-warnings): New function to collapse identical
6817 adjacent warnings.
6818 (delayed-warnings-hook): Add it.
6819
6820 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
6821
6822 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6823
6824 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6825 (tramp-default-user-alist): Don't add "pscp".
6826 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6827 property "login-as", if set. (Bug#10530)
6828
6829 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
6830
6831 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6832 "plink1" and "psftp". (Bug#10530)
6833
6834 2012-01-21 Kenichi Handa <handa@m17n.org>
6835
6836 * international/mule-cmds.el (prefer-coding-system): Show a
6837 warning message if the default value of file-name-coding-system
6838 was not changed.
6839
6840 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6841
6842 * windmove.el (windmove-reference-loc):
6843 Fix windmove-reference-loc miscalculation.
6844
6845 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6846
6847 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6848 default unit.
6849
6850 2012-01-21 Glenn Morris <rgm@gnu.org>
6851
6852 * international/mule.el (auto-coding-alist): Add .tbz.
6853
6854 * files.el (local-enable-local-variables): Doc fix.
6855 (inhibit-local-variables-regexps): Rename from
6856 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6857 Doc fix. Add some extensions from auto-coding-alist.
6858 (inhibit-local-variables-suffixes):
6859 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6860 (inhibit-local-variables-p):
6861 New function, extracted from set-auto-mode-1.
6862 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6863 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6864 (hack-local-variables): Doc fix. Make the mode-only case
6865 respect enable-local-variables and friends.
6866 Respect inhibit-local-variables-regexps for file-locals, but
6867 not for directory-locals.
6868 (set-visited-file-name):
6869 Take account of inhibit-local-variables-regexps.
6870 Whether it applies may change as the file name is changed.
6871 * jka-cmpr-hook.el (jka-compr-install):
6872 * jka-compr.el (jka-compr-uninstall):
6873 Update for inhibit-first-line-modes-suffixes name change.
6874
6875 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6876
6877 * help-macro.el (make-help-screen): Temporarily restore original
6878 binding for minor-mode-map-alist (Bug#10454).
6879
6880 2012-01-19 Julien Danjou <julien@danjou.info>
6881
6882 * color.el (color-name-to-rgb): Use the white color to find the max
6883 color component value and return correctly computed values.
6884 (color-name-to-rgb): Add missing float conversion for max value.
6885
6886 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6887
6888 * window.el (window--state-get-1, window-state-get): Do not use
6889 special state value for window-persistent-parameters.
6890 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6891 (window--state-put-2): Reset all window parameters to nil before
6892 assigning values of persistent parameters.
6893
6894 2012-01-18 Alan Mackenzie <acm@muc.de>
6895
6896 Eliminate sluggishness and hangs in fontification of "semicolon
6897 deserts".
6898
6899 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6900 Change value 10000 -> 3000.
6901 (c-state-safe-place): Reformulate so it doesn't stack up an
6902 infinite number of wrong entries in c-state-nonlit-pos-cache.
6903 (c-determine-limit-get-base, c-determine-limit): New functions to
6904 determine backward search limits disregarding literals.
6905 (c-find-decl-spots): Amend commenting.
6906 (c-cheap-inside-bracelist-p): New function which detects "={".
6907
6908 * progmodes/cc-fonts.el
6909 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6910 backward search.
6911 (c-font-lock-declarations): Fix an occurrence of point being
6912 undefined. Check additionally for point being in a bracelist or
6913 near a macro invocation without a semicolon so as to avoid a
6914 fruitless time consuming search for a declarator. Give a more
6915 precise search limit for declarators using the new
6916 c-determine-limit.
6917
6918 2012-01-18 Glenn Morris <rgm@gnu.org>
6919
6920 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6921 (set-auto-mode): Doc fixes.
6922
6923 2012-01-17 Glenn Morris <rgm@gnu.org>
6924
6925 * isearch.el (search-nonincremental-instead): Fix doc typo.
6926
6927 * dired.el (dired-insert-directory): Handle newlines in directory name.
6928 (dired-build-subdir-alist): Unescape newlines in directory name.
6929
6930 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6931
6932 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6933 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6934 (tramp-action-terminal): Use it. (Bug#10530)
6935
6936 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6939
6940 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6941
6942 * window.el (window-state-ignored-parameters): Remove variable.
6943 (window--state-get-1): Rename argument MARKERS to IGNORE.
6944 Handle persistent window parameters. Make copy of clone-of
6945 parameter only if requested. (Bug#10348)
6946 (window--state-put-2): Install a window parameter only if it has
6947 a non-nil value or an existing parameter shall be overwritten.
6948
6949 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6950
6951 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6952
6953 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6954
6955 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6956 don't pass the (nil) value of `upnode' to string-match.
6957
6958 2012-01-14 Chong Yidong <cyd@gnu.org>
6959
6960 * startup.el (command-line): Fix X resource class for cursorColor.
6961 Fix values recognized by the cursorBlink resource.
6962
6963 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6964
6965 * epg.el (epg--make-temp-file): Avoid permission race condition
6966 when running on old Emacs versions (bug#10403).
6967
6968 2012-01-14 Glenn Morris <rgm@gnu.org>
6969
6970 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6971
6972 2012-01-13 Alan Mackenzie <acm@muc.de>
6973
6974 Fix filling for when filladapt mode is enabled.
6975
6976 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6977 c-mask-paragraph, pass in `fill-paragraph' rather than
6978 `fill-region-as-paragraph'. (This is a reversion of a previous
6979 change.)
6980 * progmodes/cc-mode.el (c-basic-common-init):
6981 Make fill-paragraph-handle-comment buffer local and set it to nil.
6982
6983 2012-01-13 Glenn Morris <rgm@gnu.org>
6984
6985 * dired.el (dired-switches-escape-p): New function.
6986 (dired-insert-directory): Use dired-switches-escape-p.
6987 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6988
6989 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6990
6991 2012-01-12 Glenn Morris <rgm@gnu.org>
6992
6993 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6994 changes in adaptive-fill-regexp. (Bug#10276)
6995
6996 2012-01-11 Alan Mackenzie <acm@muc.de>
6997
6998 Fix Emacs bug #10463 - put `widen's around the critical spots.
6999
7000 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7001 widen around each invocation of c-state-pp-to-literal. Remove an
7002 unused let variable.
7003
7004 2012-01-11 Glenn Morris <rgm@gnu.org>
7005
7006 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7007 Doc fix.
7008
7009 2012-01-10 Chong Yidong <cyd@gnu.org>
7010
7011 * net/network-stream.el (network-stream-open-starttls):
7012 Avoid emitting a confusing error message when the server gives a bad
7013 response to the capability command.
7014
7015 2012-01-10 Glenn Morris <rgm@gnu.org>
7016
7017 * mail/unrmail.el (unrmail): Tweak previous change.
7018
7019 2012-01-09 Chong Yidong <cyd@gnu.org>
7020
7021 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7022
7023 2012-01-08 Alan Mackenzie <acm@muc.de>
7024
7025 Optimise font locking in long enum definitions.
7026
7027 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7028 arm to a cond form to handle enums.
7029 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7030 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7031
7032 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7033
7034 * files.el (move-file-to-trash): Preserve default file modes on error.
7035 (Bug#10401)
7036
7037 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7038
7039 * faces.el (set-face-attribute): Clarify the meaning of the nil
7040 frame (bug#10294).
7041
7042 * subr.el (with-selected-frame): Mention that the selected frame
7043 is restored (bug#9980).
7044
7045 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7046 (bug#9759).
7047
7048 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7049 (password-read): Don't autoload unused function.
7050
7051 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7052
7053 * progmodes/which-func.el (which-func-mode): Turn into a
7054 non-interactive function and mark as obsolete (bug#10428).
7055
7056 2012-01-06 Chong Yidong <cyd@gnu.org>
7057
7058 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7059 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7060 functions, along with 1 and -1.
7061
7062 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7063
7064 * time.el (display-time-load-average)
7065 (display-time-default-load-average): Doc fixes. See the thread
7066 starting at
7067 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7068 for the details.
7069
7070 2012-01-06 Glenn Morris <rgm@gnu.org>
7071
7072 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7073 has no messages. (Bug#10377)
7074
7075 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7076 than Info-edit. (Bug#10385)
7077
7078 * time.el (display-time-load-average, display-time-next-load-average):
7079 Doc fixes.
7080
7081 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7082 local setting of buffer-read-only to the input buffer. (Bug#10419)
7083
7084 * calendar/calendar.el (calendar-mode):
7085 Locally set scroll-margin to 0. (Bug#10379)
7086
7087 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7088
7089 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7090
7091 2012-01-05 Glenn Morris <rgm@gnu.org>
7092
7093 * eshell/em-unix.el (diff-no-select): Autoload it.
7094 (eshell/diff): Use diff-no-select. (Bug#10420)
7095
7096 2012-01-05 Chong Yidong <cyd@gnu.org>
7097
7098 * shell.el (shell-dynamic-complete-functions): Revert last change.
7099 (shell-command-completion-function): New function.
7100 (shell-completion-vars): Use it to implement
7101 shell-completion-execonly (Bug#10417).
7102
7103 * custom.el (enable-theme): Don't set custom-safe-themes.
7104
7105 * cus-theme.el (custom-theme-merge-theme):
7106 Ignore custom-enabled-themes and custom-safe-themes.
7107
7108 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7109
7110 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7111 first prompt in `sql-interacive-mode'.
7112 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7113 keywords.
7114 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7115 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7116 context of original buffer. Invoke `sql-login-hook'.
7117
7118 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7119
7120 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7121 letters in cite-prefix.
7122
7123 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7124
7125 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7126
7127 2012-01-03 Chong Yidong <cyd@gnu.org>
7128
7129 * shell.el (shell-dynamic-complete-functions):
7130 Put pcomplete-completions-at-point, so as to try
7131 comint-filename-completion first (Bug#10417).
7132
7133 2012-01-02 Richard Stallman <rms@gnu.org>
7134
7135 * battery.el (battery-status-function):
7136 Detect when to use battery-yeeloong-sysfs.
7137 (battery-echo-area-format): Add string for Yeeloong.
7138 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7139 (battery-yeeloong-sysfs): New function.
7140
7141 2012-01-02 Chong Yidong <cyd@gnu.org>
7142
7143 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7144 (dirtrack): Merge code for handling relative filenames in prompt
7145 from shell-dir-cookie-watcher.
7146 (dirtrack-debug-message): New arg to avoid excess format calls.
7147
7148 * shell.el (shell-dir-cookie-re): Variable deleted.
7149 (shell-dir-cookie-watcher): Function deleted.
7150 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7151 with dirtrack-mode.
7152
7153 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7154
7155 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7156 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7157 libgnutls-26.dll.
7158
7159 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7160
7161 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7162
7163 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7164
7165 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7166 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7167
7168 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7169
7170 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7171 also for alternative shells.
7172 (tramp-open-connection-setup-interactive-shell): Check, whether
7173 the shell is a busybox.
7174 (tramp-send-command): Don't suppress multiple prompts for
7175 busyboxes, it hurts.
7176
7177 2011-12-28 Chong Yidong <cyd@gnu.org>
7178
7179 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7180 (gdb-get-source-file): Move mode line update to
7181 gdb-get-source-file (Bug#10087).
7182
7183 2011-12-25 Chong Yidong <cyd@gnu.org>
7184
7185 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7186 gud-gdb-marker-filter without taking it as an argument.
7187 (gud-gdb-run-command-fetch-lines): Caller changed.
7188 (gud-gdb-completion-function): New variable.
7189 (gud-gdb-completion-at-point): Use it.
7190 (gud-gdb-completions-1): Split from gud-gdb-completions.
7191
7192 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7193 function as separate arguments.
7194 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7195 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7196 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7197 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7198 (gdb-stopped, def-gdb-auto-update-trigger)
7199 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7200 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7201 Callers changed.
7202 (gud-gdbmi-completions): New function.
7203 (gdb): Use it for generating the completion table.
7204
7205 2011-12-24 Alan Mackenzie <acm@muc.de>
7206
7207 Introduce a mechanism to widen the region used in context font
7208 locking. Use this to protect declarations from losing their contexts.
7209
7210 * progmodes/cc-langs.el (c-before-font-lock-functions):
7211 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7212 (c-before-context-fontification-functions): New defvar, a list of
7213 functions to be run just before context (etc.) font locking.
7214
7215 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7216 New, functionality extracted from
7217 c-neutralize-syntax-in-and-mark-CPP.
7218 (c-in-after-change-fontification): New variable.
7219 (c-after-change): Set c-in-after-change-fontification.
7220 (c-set-fl-decl-start): Rejig its interface, so it can be called
7221 from both after-change and context fontifying.
7222 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7223 New functions.
7224 (c-standard-font-lock-fontify-region-function): New variable.
7225 (c-font-lock-fontify-region): New function.
7226
7227 2011-12-24 Juri Linkov <juri@jurta.org>
7228
7229 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7230 (Bug#10348)
7231
7232 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7233
7234 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7235 existence of source file. (Bug#10325)
7236
7237 2011-12-23 Alan Mackenzie <acm@muc.de>
7238
7239 Fix unstable fontification inside templates.
7240
7241 * progmodes/cc-langs.el (c-before-font-lock-functions):
7242 Newly created from the singular version. The (c c++ objc) entry now
7243 additionally has c-set-fl-decl-start. The other languages (apart
7244 from AWK) have that as a single entry.
7245
7246 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7247 The functionality for "local" declarations has been extracted to
7248 c-set-fl-decl-start.
7249
7250 * progmodes/cc-mode.el (c-common-init, c-after-change):
7251 Changes due to pluralisation of c-before-font-lock-functions.
7252 (c-set-fl-decl-start): New function, extracted from
7253 c-font-lock-enclosing-decls and enhanced.
7254
7255 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7256
7257 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7258
7259 2011-12-22 Juri Linkov <juri@jurta.org>
7260
7261 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7262
7263 2011-12-22 Chong Yidong <cyd@gnu.org>
7264
7265 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7266
7267 2011-12-21 Drew Adams <drew.adams@oracle.com>
7268
7269 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7270
7271 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7272
7273 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7274
7275 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7276
7277 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7278 highlighting and support. Fix up comments for capitalization.
7279 (cfengine-mode-debug): New var.
7280 (cfengine3-mode): Change the modeline indicator to "CFE3".
7281 (cfengine3-font-lock-keywords): Improve defun highlighting.
7282 (cfengine2-actions): Rename from `cfengine-actions'.
7283 (cfengine2-font-lock-keywords): Rename from
7284 `cfengine-font-lock-keywords'.
7285 (cfengine2-imenu-expression): Rename from
7286 `cfengine-imenu-expression'.
7287 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7288 (cfengine2-beginning-of-defun): Rename from
7289 `cfengine-beginning-of-defun'.
7290 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7291 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7292 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7293 modeline indicator to "CFE2".
7294 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7295 (cfengine-mode-abbrevs): Mark obsolete.
7296
7297 2011-12-21 Chong Yidong <cyd@gnu.org>
7298
7299 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7300 filename argument.
7301
7302 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7303
7304 * window.el (window-normalize-buffer-to-display): Remove.
7305 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7306
7307 2011-12-19 Chong Yidong <cyd@gnu.org>
7308
7309 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7310 Don't signal an error in a predicate function; return non-nil.
7311 (vc-dir-mark-file): Move the error here.
7312 (vc-dir-mark-unmark): If acting on the region, keep going if one
7313 of the entries cannot be marked/unmarked.
7314 (vc-dir-mark-all-files): If current entry is a directory, mark
7315 only child files, as documented.
7316
7317 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7318
7319 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7320 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7321 addition.
7322
7323 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7324
7325 * term/ns-win.el (ns-get-selection-internal)
7326 (ns-store-selection-internal): Declare.
7327 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7328 Declare as obsolete.
7329 (ns-get-pasteboard, ns-paste-secondary):
7330 Use ns-get-selection-internal.
7331 (ns-set-pasteboard, ns-copy-including-secondary):
7332 Use ns-store-selection-internal.
7333
7334 2011-12-17 Chong Yidong <cyd@gnu.org>
7335
7336 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7337 (vc-deduce-fileset): Doc fix.
7338
7339 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7340
7341 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7342
7343 2011-12-13 Sam Steingold <sds@gnu.org>
7344
7345 * man.el (Man-getpage-in-background): When running under a
7346 window-system, ignore $MANWIDTH and $COLUMNS.
7347
7348 2011-12-15 Kenichi Handa <handa@m17n.org>
7349
7350 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7351 (setup-ethiopic-environment-internal): Comment out key-binding for
7352 ethio-toggle-punctuation.
7353
7354 2011-12-13 Alan Mackenzie <acm@muc.de>
7355
7356 Add the switch statement to AWK Mode.
7357
7358 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7359 "default" to the keywords regexp.
7360
7361 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7362 expression as the rest.
7363 (c-nonlabel-token-key): Allow string literals for AWK.
7364 Refactor for the other modes.
7365
7366 Large brace-block initialisation makes CC Mode slow: Fix.
7367 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7368 routines. Limit backward searching in c-font-lock-enclosing.decl.
7369
7370 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7371 pp-state and literal type in addition to the limits.
7372 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7373 (c-state-literal-at): Use the above new defun.
7374 (c-slow-in-literal, c-fast-in-literal): Remove.
7375 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7376
7377 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7378 being in a literal. Add a limit for backward searching.
7379
7380 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7381 c-slow-in-literal.
7382
7383 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7386
7387 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7388
7389 * window.el (delete-other-windows): Use correct frame in call to
7390 window-with-parameter.
7391
7392 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7393
7394 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7395 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7396 (makefile-gmake-statements, makefile-makepp-statements):
7397 Use it and add new makepp keywords.
7398 (makefile-makepp-font-lock-keywords): Add new patterns.
7399 (makefile-match-function-end): Match new [...] and [[...]].
7400
7401 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7402
7403 * ses.el (ses-call-printer-return, ses-cell-property-get)
7404 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7405 (ses-create-cell-variable, ses-reset-header-string)
7406 (ses-cell-set-formula, ses-repair-cell-reference-all)
7407 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7408 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7409 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7410 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7411 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7412 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7413 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7414 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7415 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7416 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7417 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7418 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7419
7420 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7421
7422 * ses.el: The overall change is to add cell renaming, that is
7423 setting fancy names for cell symbols other than name matching
7424 "\\`[A-Z]+[0-9]+\\'" regexp .
7425 (ses-create-cell-variable): New defun.
7426 (ses-relocate-formula): Relocate formulas only for cells the
7427 symbols of which are not renamed, i.e. symbols whose names do not
7428 match regexp "\\`[A-Z]+[0-9]+\\'".
7429 (ses-relocate-all): Relocate values only for cells the symbols of
7430 which are not renamed.
7431 (ses-load): Create cells variables as the (ses-cell ...) are read,
7432 in order to check row col consistency with cell symbol name only
7433 for cells that are not renamed.
7434 (ses-replace-name-in-formula): New defun.
7435 (ses-rename-cell): New defun.
7436
7437 2011-12-11 Chong Yidong <cyd@gnu.org>
7438
7439 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7440 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7441
7442 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7443
7444 * window.el (other-window): Fix docstring.
7445
7446 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7447
7448 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7449 `from' or `to' address before taking its substring.
7450 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7451 encoded name is chopped in the middle of the encoded string, and
7452 thus displayed encoded.
7453
7454 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7455
7456 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7457
7458 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7459
7460 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7461 to use texinfo-update-node and commands that call it if the
7462 Texinfo file uses @node lines without next/prev/up pointers.
7463 Correct outdated description about texinfo-master-menu.
7464 (texinfo-all-menus-update, texinfo-master-menu)
7465 (texinfo-update-node, texinfo-every-node-update)
7466 (texinfo-multiple-files-update): Doc fix. Warn against updating
7467 all the @node lines.
7468 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7469 argument is numeric. Explain better in the doc string what the
7470 function really does.
7471 (texinfo-insert-master-menu-list): Improve the error message
7472 displayed if there's no menu in the Top node.
7473 (Bug#2975) See also this thread:
7474 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7475
7476 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7477
7478 * speedbar.el (speedbar-supported-extension-expressions):
7479 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7480
7481 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7482
7483 * printing.el (pr-mode-alist):
7484 * simple.el (filter-buffer-substring-functions)
7485 (completion-list-insert-choice-function):
7486 * window.el (window-with-parameter, window-atom-root)
7487 (window-sides-slots, window-size-fixed, window-min-delta)
7488 (window-max-delta, window--resize-mini-window)
7489 (window--resize-child-windows-normal, window-tree)
7490 (delete-other-windows, quit-window, split-window)
7491 (display-buffer-record-window, special-display-buffer-names)
7492 (special-display-regexps, special-display-popup-frame)
7493 (same-window-p, split-window-sensibly)
7494 (display-buffer-overriding-action, display-buffer-alist)
7495 (display-buffer-base-action, display-buffer, switch-to-buffer)
7496 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7497 (fit-window-to-buffer, recenter-positions)
7498 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7499 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7500 and remove unneeded backslashes in docstrings.
7501
7502 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7505
7506 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7507 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7508 end in ".mk".
7509 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7510 when reading the makefile (bug#10116).
7511
7512 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7515 (bug#10116).
7516
7517 2011-12-06 Glenn Morris <rgm@gnu.org>
7518
7519 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7520
7521 2011-12-06 Chong Yidong <cyd@gnu.org>
7522
7523 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7524
7525 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7526
7527 * textmodes/table.el (table-shorten-cell): Fix typo.
7528
7529 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7530
7531 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7532
7533 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7534
7535 * descr-text.el (describe-char): Fix display of strong
7536 right-to-left characters and directional embeddings and overrides.
7537
7538 * simple.el (what-cursor-position): Fix display of codepoints of
7539 strong right-to-left characters.
7540
7541 2011-12-05 Chong Yidong <cyd@gnu.org>
7542
7543 * faces.el (read-color): Doc fix.
7544
7545 2011-12-05 Glenn Morris <rgm@gnu.org>
7546
7547 * align.el (align--set-marker): Add doc-string.
7548 Don't try to move something that is not a marker. (Bug#10216)
7549
7550 2011-12-04 Glenn Morris <rgm@gnu.org>
7551
7552 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7553 overly zealous deletion of trailing whitespace.
7554
7555 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7556
7557 * server.el (server-delete-client): On Windows, do not try to delete
7558 the only terminal.
7559 (server-process-filter): On Windows, treat requests for a tty frame as
7560 if they were for a GUI frame if the running server is in GUI mode.
7561
7562 2011-12-03 Glenn Morris <rgm@gnu.org>
7563
7564 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7565
7566 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * electric.el: Streamline electric-indent's hook.
7569 (electric-indent-chars): Revert to simple list.
7570 (electric-indent-functions): New var.
7571 (electric-indent-post-self-insert-function): Use it.
7572
7573 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7574 there's no inferior buffer (bug#10196).
7575 (prolog-consult-compile): Don't use toggle-read-only.
7576
7577 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7578
7579 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7580 interrupt. (Bug#10187)
7581
7582 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7585 (bug#9160).
7586
7587 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7588 (bug#10191).
7589
7590 2011-12-02 Juri Linkov <juri@jurta.org>
7591
7592 * info.el (Info-search): Display "end of manual" when Isearch
7593 reaches the end of single-file Info manual. (Bug#9918)
7594
7595 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7596
7597 * isearch.el (isearch-message-prefix): Run the input method part
7598 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7599
7600 2011-12-02 Juri Linkov <juri@jurta.org>
7601
7602 * isearch.el (isearch-occur): Use `word-search-regexp' for
7603 `isearch-word'.
7604 (isearch-search-and-update): Add condition for `isearch-word' and
7605 call `word-search-regexp'. (Bug#10145)
7606
7607 2011-12-01 Glenn Morris <rgm@gnu.org>
7608
7609 * eshell/em-hist.el (eshell-hist-initialize):
7610 Handle eshell-history-size nil and HISTSIZE set or unset.
7611 (eshell-history-file-name, eshell-history-size): Fix custom type.
7612
7613 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7616
7617 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7618
7619 * progmodes/verilog-mode.el (verilog-pretty-expr):
7620 Rework verilog-pretty-expr to handle new assignment operators in system
7621 verilog, such as += *= and the like.
7622 (verilog-assignment-operator-re): Regular expression to find the
7623 assigment operator in a verilog assignment.
7624 (verilog-assignment-operation-re): Regular expression to find an
7625 assignment statement for pretty-expr.
7626 (verilog-in-attribute-p): Query returns true if point is in an
7627 attribute context; used to skip these for expression line up from
7628 pretty-expr.
7629 (verilog-in-parameter-p): Query returns true if point is in an
7630 parameter definition context; used to skip these for expression
7631 line up from pretty-expr.
7632 (verilog-in-parenthesis-p): Query returns true if point is in a
7633 parenthetical expression, specifically ( ) but not [ ] or { };
7634 used by pretty-expr.
7635 (verilog-just-one-space): If there is no space, don't add one.
7636 (verilog-get-lineup-indent-2): Specifically skip just attribute
7637 contexts for expression lineup, rather than skipping all
7638 parenthetical expressions.
7639 (verilog-calculate-indent): Fix comment, and fix indent.
7640 (verilog-do-indent): Indent declarations in lists (suggested by
7641 Joachim Lechner).
7642 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7643 skeleton items.
7644 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7645 by Alain Mellan).
7646
7647 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7648
7649 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7650 parameters with embedded comments. Reported by Ray Stevens.
7651 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7652 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7653 Reported by Tim Holt.
7654 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7655 instantiated by upper module causing wrong expansion until AUTOed a
7656 second time. Reported by K C Buckenmaier.
7657 (verilog-diff-auto): Fix showing .* as a difference when
7658 `verilog-auto-star-save' off. Reported by Dan Dever.
7659 (verilog-auto-reset, verilog-read-always-signals)
7660 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7661 temporary signals in reset list if
7662 verilog-auto-reset-blocking-in-non is nil, and match assignment
7663 style to each signal's assignment type, bug381.
7664 Reported by Thomas Esposito.
7665 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7666 (verilog-uvm-statement-re): Support UVM indentation and
7667 highlighting, with old OVM keywords only.
7668 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7669 Support AUTOTIEOFF creating non-wire data types.
7670 Suggested by Jonathan Greenlaw.
7671 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7672 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7673 (verilog-inject-sense, verilog-read-inst-pins)
7674 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7675 Fix mismatching parenthesis inside commented out code when deleting
7676 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7677 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7678 non-numeric vector width. Reported by Alex Reed.
7679 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7680 detecting signals with parameter widths. Reported by Alex Reed.
7681 (verilog-auto-delete-trailing-whitespace):
7682 With `verilog-auto-delete-trailing-whitespace' remove trailing
7683 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7684 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7685 Fix verilog-scan-cache corruption when running user AUTO expansion
7686 hooks that call indentation routines.
7687 (verilog-simplify-range-expression): Fix typo ignoring lower case
7688 identifiers.
7689 (verilog-delete-auto): Fix delete-autos to also remove user created
7690 automatics, as long as they start with AUTO.
7691 (verilog-batch-diff-auto, verilog-diff-auto)
7692 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7693 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7694 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7695 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7696 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7697 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7698 is disabled and its cache will get corrupt, causing AUTOS not to
7699 expand. Instead use only -quick functions.
7700 (verilog-scan-region): Fix scanning over escaped quotes.
7701 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7702 (verilog-re-search-backward-quick)
7703 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7704 related functions now ignore strings, to fix misparsing of strings
7705 with magic comments embedded in them.
7706 (verilog-read-auto-template):
7707 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7708 Reported by Brad Dobbie.
7709 (verilog-read-auto-template):
7710 Fix 'verilog-auto-inst-template-numbers' with comments.
7711 Reported by Brad Dobbie.
7712 (verilog-auto-inst, verilog-auto-inst-param)
7713 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7714 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7715 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7716 debugging templates without merge conflicts, bug357.
7717 Reported by Brad Dobbie.
7718 (verilog-read-auto-template):
7719 Fix verilog-auto-inst-template-numbers with multiple templates.
7720 Reported by Brad Dobbie.
7721 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7722 abbrevs so user won't be asked to save.
7723 (verilog-read-auto-lisp-present): Fix to start at beginning of
7724 buffer in case called outside of verilog-auto.
7725 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7726 to "X-2". Reported by Matthew Myers.
7727 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7728 all inputs from module templates. Reported by Leith Johnson.
7729 (verilog-module-inside-filename-p): Fix locating programs as with
7730 modules.
7731 (verilog-auto-inst-port): Fix vl-width expressions when using
7732 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7733 (verilog-decls-get-regs, verilog-decls-get-signals,
7734 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7735 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7736 verilog-read-decls): Combine reg and wire structures into one var
7737 structure to represent SystemVerilog concepts.
7738 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7739 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7740 (verilog-auto-wire-type, verilog-insert-definition):
7741 Add verilog-auto-wire-type and AUTOLOGIC to support using
7742 SystemVerilog "logic" keyword instead of "wire"/"reg".
7743 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7744 to declares outputs that also have assignments (presumably in an
7745 ifdef or generate if so there's not a driver conflict).
7746 Reported by Matthew Myers.
7747 (verilog-auto-declare-nettype, verilog-insert-definition):
7748 Add verilog-auto-declare-nettype to fix declarations using
7749 `default_nettype none. Reported by Julian Gorfajn.
7750 (verilog-read-always-signals-recurse, verilog-read-decls)
7751 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7752 malformed end statement, bug325. Reported by Joshua Wise and
7753 Andrew Drake.
7754 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7755 (verilog-inst-comment-re): Fix not deleting Interfaced comment
7756 when expanding .* in interfaces, bug320.
7757 Reported by Pierre-David Pfister.
7758 (verilog-read-module-name): Fix import statements between module
7759 name and open parenthesis, bug317.
7760 Reported by Pierre-David Pfister.
7761 (verilog-simplify-range-expression): Fix simplification of
7762 multiplications inside AUTOWIRE connections, bug303.
7763 (verilog-auto-inst-port): Support parameter expansion in
7764 multidimensional arrays.
7765 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7766 after "assert property". Reported by Julian Gorfajn.
7767 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7768 with multiplication, bug303.
7769 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7770 Reported by Jan Frode Lonnum.
7771
7772 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7775 (hfy-shell-file-name, hfy-shell):
7776 * international/fontset.el (x-decompose-font-name): Fix typos.
7777
7778 2011-11-29 Ken Brown <kbrown@cornell.edu>
7779
7780 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7781 (gdb-version): Remove defvar.
7782 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7783 (gdb-gud-context-command, gdb-non-stop-handler)
7784 (gdb-current-context-command, gdb-stopped): Use it.
7785 (gdb-init-1): Enable pretty printing here.
7786 (gdb-non-stop-handler): Don't enable pretty-printing here.
7787 Check to see if the target supports non-stop mode; if not, turn off
7788 non-stop mode. Use the following.
7789 (gdb-check-target-async): New defun.
7790 (gud-watch, gdb-stopped): Fix whitespace.
7791 (gdb-get-source-file): Don't try to display the source file if
7792 `gdb-main-file' is nil.
7793
7794 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * align.el: Try to generate fewer markers (bug#10047).
7797 (align--set-marker): New macro.
7798 (align-region): Use it.
7799
7800 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7801
7802 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7803
7804 2011-11-29 Chong Yidong <cyd@gnu.org>
7805
7806 * indent.el (indent-for-tab-command, indent-according-to-mode):
7807 Doc fix.
7808 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7809
7810 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
7811
7812 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7813 aware of remote file names. (Bug#10124)
7814
7815 2011-11-29 Chong Yidong <cyd@gnu.org>
7816
7817 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7818
7819 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * files.el (find-file): Don't use force-same-window (bug#10144).
7822 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7823 use pop-to-buffer if the selected window can't be used.
7824 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7825
7826 2011-11-28 Eli Zaretskii <eliz@gnu.org>
7827
7828 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7829 special-mode-map.
7830
7831 2011-11-28 Chong Yidong <cyd@gnu.org>
7832
7833 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7834
7835 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
7836
7837 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7838 gdb-get-source-file-list on gdb-create-source-file-list.
7839
7840 2011-11-26 Eli Zaretskii <eliz@gnu.org>
7841
7842 * whitespace.el (whitespace-newline): Use a different foreground
7843 color for 16-color light-background displays.
7844
7845 2011-11-24 Chong Yidong <cyd@gnu.org>
7846
7847 * window.el (display-buffer--special-action): Doc fix.
7848
7849 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
7850
7851 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7852 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7853 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7854 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7855 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7856 (avl-tree-stack-first):
7857 * emacs-lisp/cconv.el (cconv--analyse-use):
7858 * net/gnutls.el (gnutls-negotiate): Fix typos.
7859
7860 2011-11-24 Glenn Morris <rgm@gnu.org>
7861
7862 * lpr.el (lpr-windows-system, lpr-lp-system):
7863 * mail/binhex.el (binhex-begin-line):
7864 * progmodes/grep.el (grep-history, grep-find-history):
7865 * textmodes/flyspell.el:
7866 * vc/pcvs-defs.el (cvs-global-menu):
7867 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7868 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7869 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7870
7871 * net/tls.el: Fix case of "GnuTLS".
7872
7873 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7874
7875 * version.el (emacs-build-system): Give it a doc-string.
7876
7877 2011-11-24 Juri Linkov <juri@jurta.org>
7878
7879 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7880
7881 2011-11-24 Glenn Morris <rgm@gnu.org>
7882
7883 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7884 if called on a non-mime message just toggle the headers. (Bug#8006)
7885
7886 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7887
7888 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7889 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7890 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7891 (allout-rebullet-heading, allout-open-sibtopic)
7892 (allout-toggle-current-subtree-encryption)
7893 (allout-toggle-subtree-encryption, allout-encrypt-string)
7894 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7895 (allout-distinctive-bullets-string, allout-auto-activation):
7896 * window.el (window-normalize-buffer-to-display):
7897 * progmodes/verilog-mode.el (verilog-batch-indent):
7898 * textmodes/bibtex.el (bibtex-field-braces-opt)
7899 (bibtex-field-strings-opt):
7900 * vc/cvs-status.el (cvs-tree-merge):
7901 Fix typos.
7902
7903 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7904
7905 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7906 `non-essential' to t, in order to avoid remote connections.
7907
7908 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7909
7910 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7911 On MS-DOS and MS-Windows, compare with loaddefs.el
7912 case-insensitively.
7913
7914 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7915
7916 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7917
7918 2011-11-23 Glenn Morris <rgm@gnu.org>
7919
7920 * paths.el (rmail-file-name): Reformat the doc-string so that it
7921 is picked up.
7922
7923 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7924 (rmail-auto-file): Ignore case in the "special" field names,
7925 as mail-fetch-field does for all others.
7926
7927 * mail/rmail.el (rmail-forward):
7928 * mail/rmailkwd.el (rmail-set-label):
7929 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7930 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7931
7932 * mail/rmail.el (rmail-current-message): Doc fix.
7933
7934 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7935
7936 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7939
7940 2011-11-22 Glenn Morris <rgm@gnu.org>
7941
7942 * mail/rmailmm.el (test-rmail-mime-handler)
7943 (test-rmail-mime-bulk-handler)
7944 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7945
7946 2011-11-21 Juri Linkov <juri@jurta.org>
7947
7948 * calc/calc.el (calc-read-key-sequence):
7949 Let-bind `input-method-function' to nil. (Bug#10018)
7950
7951 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7952
7953 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7954 Tell the caller that the next line needs recomputation, even
7955 though it doesn't start a sexp (bug#10094).
7956
7957 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7958
7959 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7960
7961 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7964 Use force-same-window.
7965
7966 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7967
7968 * descr-text.el (describe-char-unicode-data):
7969 * json.el (json-string-escape):
7970 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7971 (Footnote-unicode, Footnote-style-p):
7972 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7973
7974 2011-11-20 Chong Yidong <cyd@gnu.org>
7975
7976 * window.el (replace-buffer-in-windows): Restore interactive spec.
7977
7978 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7981
7982 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7983 (byte-compile-global-not-obsolete-vars): New var.
7984 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7985 Use it.
7986 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7987
7988 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7989
7990 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7991 * progmodes/pascal.el (electric-pascal-equal):
7992 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7993 * xml.el (xml-substitute-special): Fix typos.
7994
7995 2011-11-20 Glenn Morris <rgm@gnu.org>
7996
7997 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7998 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7999 Doc fixes.
8000 (rmail-decode-mime-charset): Mark as obsolete.
8001
8002 * mail/rmailsum.el (rmail-message-regexp-p-1):
8003 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8004 Before using mime functions, check they are set. (Bug#10077)
8005
8006 2011-11-19 Juri Linkov <juri@jurta.org>
8007
8008 * info.el (Info-finder-find-node): Use `package--builtins' instead
8009 of `package-alist'. Use node names formed by the pattern "Keyword "
8010 and the keyword name.
8011
8012 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8013
8014 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8015
8016 2011-11-19 Juri Linkov <juri@jurta.org>
8017
8018 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8019 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8020 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8021 `old-history', `old-history-forward'. Add let-binding
8022 `window-selected'. Remove calls to `kill-buffer',
8023 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8024 before calling `Info-find-node', so `Info-find-node-2' will reread
8025 the Info file. Restore window positions only when `window-selected'
8026 is non-nil.
8027
8028 2011-11-19 Juri Linkov <juri@jurta.org>
8029
8030 * isearch.el (isearch-lazy-highlight-new-loop):
8031 Remove condition `(not isearch-error)'. (Bug#9918)
8032
8033 * misearch.el (multi-isearch-search-fun): Add condition
8034 `(not bound)' to ignore lazy-highlighting search.
8035 Add the search-failed message "end of multi" when the end of
8036 multi-sequence is reached. Uncapitalize the search-failed
8037 message "Repeat for next buffer".
8038
8039 * info.el (Info-search): Add the search-failed message
8040 "end of the manual" when the end of the manual is reached
8041 in Isearch mode.
8042
8043 2011-11-19 Juri Linkov <juri@jurta.org>
8044
8045 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8046 Use non-destructive `remove' instead of `delete' because
8047 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8048 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8049
8050 2011-11-19 Juri Linkov <juri@jurta.org>
8051
8052 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8053 to nil instead of binding `search-ring' and `regexp-search-ring'.
8054 (Bug#9185)
8055
8056 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8057
8058 * simple.el (line-move): Force movement by logical lines for any
8059 hscrolled window, not only when auto-hscroll-mode is on.
8060 (line-move-visual): Update doc string to that effect. (Bug#10076)
8061
8062 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8063
8064 * language/european.el (macintosh): Define as alias for mac-roman.
8065
8066 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8067
8068 * mail/rmailmm.el (rmail-mime-display-header)
8069 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8070 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8071 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8072 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8073 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8074 of a raw aref.
8075 (rmail-mime-entity-segment): To get past the tagline, move forward
8076 2 more lines, to account for the 2 empty lines that precede and
8077 follow the line with the buttons.
8078 (rmail-mime-update-tagline): Move one more line, to get past the
8079 empty line that follows the buttons in the tagline. (Bug#9520)
8080
8081 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8082
8083 * window.el (window-max-delta-1, window-min-delta-1)
8084 (window-min-size-1, window-state-get-1, window-state-put-1)
8085 (window-state-put-2): Use "window--" prefix.
8086
8087 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8088
8089 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8090 (smie-warning-count): New var.
8091 (smie-set-prec2tab): Use it.
8092 (smie-bnf->prec2): Improve warnings. Add docstring.
8093 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8094 (smie-bnf--set-class): New function.
8095 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8096 corner case.
8097
8098 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8099 (compilation-error-properties, compilation-move-to-column):
8100 Handle compilation-first-column while in the target buffer.
8101
8102 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8103 Don't hardcode point-min==1.
8104
8105 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8106 (eshell-rewrite-for-command): Remove workaround.
8107 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8108 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8109 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8110
8111 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8112
8113 2011-11-17 Glenn Morris <rgm@gnu.org>
8114
8115 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8116 Ignore buffer-local generated-autoload-file if it is the same
8117 as the global value. (Bug#10049)
8118
8119 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8120
8121 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8122 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8123 (reftex-toc-previous-heading, reftex-toc-max-level)
8124 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8125 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8126 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8127 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8128 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8129 (reftex-toc-rename-label, reftex-toc-visit-location)
8130 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8131 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8132 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8133 leaving "*toc*" only for references to the buffer.
8134
8135 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8136
8137 * window.el (window-resize, delete-window, split-window):
8138 Replace window-splits by window-combination-resize.
8139 * cus-start.el (window-splits): Replace by window-combination-resize.
8140
8141 2011-11-17 Glenn Morris <rgm@gnu.org>
8142
8143 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8144 Make bash entry derive from sh entry, not shell entry.
8145
8146 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8147
8148 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8149 local file name.
8150
8151 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8152
8153 * menu-bar.el (menu-bar-file-menu):
8154 * printing.el (pr-ps-utility):
8155 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8156 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8157 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8158 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8159 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8160 (icalendar--convert-cyclic-to-ical)
8161 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8162 (icalendar--convert-ical-to-diary)
8163 (icalendar--convert-recurring-to-diary)
8164 (icalendar--convert-non-recurring-all-day-to-diary)
8165 (icalendar-import-format-sample):
8166 * progmodes/idlw-shell.el (idlwave-shell-mode):
8167 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8168 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8169 (vhdl-ps-print-init): Fix typos.
8170
8171 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8172
8173 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8174 FSF and collapse date sequence, obscure author/maintainer email address
8175 better, remove extra version line, track relocation of author's webpage.
8176
8177 * progmodes/python.el (python-pdbtrack-input-prompt)
8178 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8179 regular python pdb prompts. Adjustments shamelessly taken exactly as
8180 suggested in EmacsWiki page (tiny change):
8181 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8182
8183 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8184
8185 * expand.el (expand-pos, expand-index, expand-point):
8186 Remove redundant info from docstring.
8187 (expand-add-abbrevs): Doc fix.
8188 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8189 (expand-sample-perl-mode-expand-list): Fix typos.
8190
8191 * net/dbus.el (dbus-event-member-name):
8192 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8193 * term/pc-win.el (msdos-create-frame-with-faces):
8194 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8195
8196 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8197
8198 * window.el (split-window, window-state-get-1)
8199 (window-state-put-1, window-state-put-2): Rename occurrences of
8200 window-nest to window-combination-limit.
8201 * cus-start.el (window-nest): Rename to window-combination-limit.
8202
8203 2011-11-16 Chong Yidong <cyd@gnu.org>
8204
8205 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8206 regexp (Bug#10033).
8207
8208 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8211 `completing-read' will remove *Completions* and will preserve
8212 current-buffer for us.
8213 (tmm-add-prompt): Users of *Completions* will always (re)set its
8214 major mode.
8215 (tmm-old-comp-map): Remove.
8216
8217 2011-11-16 Glenn Morris <rgm@gnu.org>
8218
8219 * mail/rmailedit.el: Require rmailmm when compiling.
8220 (rmail-old-mime-state): New declaration.
8221 (rmail-edit-current-message): If editing a mime message,
8222 edit the "raw" message from the mbox buffer.
8223 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8224
8225 2011-11-15 Glenn Morris <rgm@gnu.org>
8226
8227 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8228 which wasn't being used. Add optional arg to force given state.
8229 (rmail-mime): Add optional arg to force given state.
8230
8231 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8232
8233 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8234 * frame.el (display-mm-dimensions-alist):
8235 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8236 (outline-move-subtree-down):
8237 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8238 (newsticker--treeview-do-get-node):
8239 * net/quickurl.el (quickurl-list-buffer-name):
8240 * progmodes/dcl-mode.el (dcl-mode):
8241 * progmodes/gdb-mi.el (gdb-mapcar*):
8242 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8243
8244 2011-11-15 Glenn Morris <rgm@gnu.org>
8245
8246 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8247 in a boolean sense, so just make it a boolean, and fix the doc.
8248 (rmail-show-mime-function, rmail-mime-feature)
8249 (rmail-require-mime-maybe): Doc fixes.
8250 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8251
8252 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8253
8254 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8255
8256 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8257 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8258 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8259 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8260
8261 2011-11-15 Glenn Morris <rgm@gnu.org>
8262
8263 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8264 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8265 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8266 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8267 (rmail-mime, rmail-show-mime): Doc fixes.
8268
8269 * term/ns-win.el (mode-line-frame-identification):
8270 Leave it alone. (Bug#10051)
8271
8272 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8273
8274 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8275 Handle empty buffers. (Bug#9978)
8276
8277 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8278
8279 * international/mule.el (define-charset):
8280 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8281 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8282 * progmodes/verilog-mode.el (verilog-backward-token):
8283 * textmodes/ispell.el (lookup-words):
8284 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8285
8286 2011-11-14 Glenn Morris <rgm@gnu.org>
8287
8288 * progmodes/executable.el
8289 (executable-make-buffer-file-executable-if-script-p):
8290 Handle file-modes returning nil.
8291
8292 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8293 message - not necessary, and causes problems. (Bug#9831)
8294
8295 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8296
8297 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8298
8299 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8300 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8301 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8302
8303 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8304
8305 * window.el (window-resize, delete-window): Use window-splits
8306 variable instead of function.
8307 (window-state-get-1, window-state-put-2, window-state-put):
8308 Don't deal with windows' splits status.
8309
8310 2011-11-12 Glenn Morris <rgm@gnu.org>
8311
8312 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8313 (apropos-documentation): Doc fixes.
8314
8315 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8316
8317 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8318 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8319
8320 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * electric.el (electric-indent-post-self-insert-function): Make it
8323 possible for a char to only indent in some circumstances.
8324 (electric-indent-mode): Simplify.
8325
8326 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8327
8328 * window.el (windows-with-parameter): Remove unused function.
8329 (windows-at-side): Rename to window-at-side-list.
8330 (window-check, window-atom-check, window-atom-check-1)
8331 (window-side-check, window-size-ignore, window-size-fixed-1)
8332 (window-in-direction-2): Prefix with "window--".
8333 (window-tree-1): Rename to window--subtree, fix doc-string.
8334
8335 2011-11-11 Glenn Morris <rgm@gnu.org>
8336
8337 * subr.el (eval-after-load): If FILE is already loaded,
8338 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8339
8340 2011-11-10 Glenn Morris <rgm@gnu.org>
8341
8342 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8343 Call svn via vc-svn-command rather than vc-do-command.
8344 (vc-svn-command): Add --non-interactive. (Bug#9993)
8345 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8346
8347 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8348 Add toggle-read-only. (Bug#7292)
8349 * files.el (toggle-read-only): Mention that it should only
8350 be used interactively. (Bug#10006)
8351
8352 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8353
8354 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8355 Adjust regexp for OCaml warnings.
8356
8357 * electric.el (electric-pair-post-self-insert-function): Let user
8358 turn it off buffer-locally (bug#9932).
8359
8360 * progmodes/python.el (python-beginning-of-statement):
8361 Rewrite (bug#2703).
8362
8363 * progmodes/compile.el: Better handle TABs (bug#9749).
8364 (compilation-internal-error-properties)
8365 (compilation-next-error-function): Obey the target buffer's
8366 compilation-error-screen-columns.
8367
8368 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8369
8370 * progmodes/meta-mode.el: Remove obsolete comments.
8371 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8372 Fix typos in docstrings.
8373
8374 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8375
8376 * window.el (window-size-fixed-p): Rewrite doc-string.
8377 (window-resizable-p): Rename to window--resizable-p. Update callers.
8378 (window--resizable): New function. Make all callers of
8379 window-resizable call window--resizable instead.
8380 (window-resizable): Rewrite in terms of window--resizable.
8381
8382 2011-11-08 Glenn Morris <rgm@gnu.org>
8383
8384 * progmodes/delphi.el (delphi-mode-syntax-table):
8385 Let define-derived-mode define a proper syntax table. (Bug#9994)
8386
8387 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * window.el: Stay away from defsubst.
8390 (window-list-no-nils): Remove.
8391 (window-state-get-1, window-state-get): Use backquote instead.
8392
8393 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8394
8395 * emacs-lisp/find-func.el (find-function-read):
8396 Fix incorrect use of default argument in `completing-read'.
8397
8398 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8399
8400 * window.el (display-buffer-function, special-display-function):
8401 Mention display-buffer-record-window but do not mention
8402 help-setup parameter in doc-strings.
8403 (window-min-delta): Fix doc-string typo.
8404
8405 2011-11-08 Chong Yidong <cyd@gnu.org>
8406
8407 * window.el (window-total-height, window-total-width): Doc fix.
8408 (window-body-size): Move from C.
8409 (window-body-height, window-body-width): Move to C.
8410
8411 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * window.el: Make special-display like display-buffer-alist (bug#9532).
8414 (display-buffer--special-action): New function, morphed
8415 from display-buffer--special.
8416 (display-buffer): Use it to handle special-display-buffers at higher
8417 priority (just after display-buffer-alist).
8418 (display-buffer-fallback-action, display-buffer--other-frame-action)
8419 (pop-to-buffer-same-window): Remove display-buffer--special.
8420
8421 2011-11-07 Glenn Morris <rgm@gnu.org>
8422
8423 * calendar/cal-menu.el (cal-menu-set-date-title):
8424 Do nothing if not in a calendar. (Bug#9976)
8425
8426 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8427
8428 * files.el (find-file): Always use selected-window.
8429
8430 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8431
8432 * window.el (window-combinations): Make WINDOW argument
8433 mandatory. Rewrite doc-string.
8434 (walk-window-subtree, window-atom-check, window-min-delta)
8435 (window-max-delta, window--resize-this-window)
8436 (window--resize-root-window-vertically, window-tree)
8437 (balance-windows, window-state-put): Rewrite doc-strings as to
8438 not mention the term "subwindow".
8439 (window--resize-subwindows-skip-p): Rename to
8440 window--resize-child-windows-skip-p.
8441 (window--resize-subwindows-normal): Rename to
8442 window--resize-child-windows-normal.
8443 (window--resize-subwindows): Rename to
8444 window--resize-child-windows.
8445 (window-or-subwindow-p): Rename to window--in-subtree-p.
8446
8447 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8448
8449 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8450 Ensure that mbox format messages end in two newlines (Bug#9974).
8451
8452 2011-11-06 Chong Yidong <cyd@gnu.org>
8453
8454 * window.el (window-combination-p): Function deleted; its
8455 side-effect is not used in any existing code.
8456 (window-combinations, window-combined-p): Call window-*-child
8457 directly.
8458
8459 2011-11-05 Chong Yidong <cyd@gnu.org>
8460
8461 * window.el (window-valid-p): Rename from window-any-p.
8462 (window-size-ignore, window-state-get): Callers changed.
8463 (window-normalize-window): Rename from window-normalize-any-window.
8464 New arg LIVE-ONLY, replacing window-normalize-live-window.
8465 (window-normalize-live-window): Delete.
8466 (window-combination-p, window-combined-p, window-combinations)
8467 (walk-window-subtree, window-atom-root, window-min-size)
8468 (window-sizable, window-sizable-p, window-size-fixed-p)
8469 (window-min-delta, window-max-delta, window-resizable)
8470 (window-resizable-p, window-full-height-p, window-full-width-p)
8471 (window-current-scroll-bars, window-point-1, set-window-point-1)
8472 (window-at-side-p, window-in-direction, window-resize)
8473 (adjust-window-trailing-edge, maximize-window, minimize-window)
8474 (window-deletable-p, delete-window, delete-other-windows)
8475 (record-window-buffer, unrecord-window-buffer)
8476 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8477 (quit-window, split-window, window-state-put)
8478 (set-window-text-height, fit-window-to-buffer)
8479 (shrink-window-if-larger-than-buffer): Callers changed.
8480
8481 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8482
8483 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8484 rfc2047-decode-string.
8485 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8486 warnings.
8487
8488 * window.el (window-body-height, window-body-width): Mention in
8489 the doc string that the return values are in frame's canonical
8490 units. (Bug#9949)
8491
8492 2011-11-03 Alan Mackenzie <acm@muc.de>
8493
8494 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8495 change in cc-engine.el.
8496
8497 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8498
8499 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8500
8501 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8502
8503 * window.el (quit-window): Call unrecord-window-buffer after
8504 showing another buffer in the window. (Bug#9937)
8505 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8506
8507 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8510 Accept status with more than 9 shelves. (Bug#9935)
8511 Reported by Colin D Bennett <colin@gibibit.com>.
8512
8513 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8514
8515 * help.el (with-help-window): Don't reference
8516 temp-buffer-show-specifiers in doc-string.
8517
8518 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8519
8520 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8521 menu-item.
8522
8523 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8524
8525 * whitespace.el: New version 13.2.2.
8526 (whitespace-newline-mode): Disable properly. Reported by Sarah
8527 <EmacsWiki>.
8528
8529 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8530
8531 * net/newst-treeview.el: Remove "Time-stamp".
8532 (newsticker--group-manage-orphan-feeds): Do not call
8533 newsticker--treeview-tree-update.
8534 (newsticker-treeview-update, newsticker-treeview):
8535 Call newsticker--treeview-tree-update if necessary.
8536
8537 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8538
8539 * window.el (window-iso-combination-p, window-iso-combined-p)
8540 (window-iso-combinations): Remove "iso-" infix.
8541 Suggested by Chong Yidong.
8542 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8543 (window-max-delta-1, window-resize, window--resize-siblings)
8544 (window--resize-this-window, adjust-window-trailing-edge)
8545 (split-window, balance-windows-1)
8546 (shrink-window-if-larger-than-buffer):
8547 * calendar/calendar.el (calendar-generate-window):
8548 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8549
8550 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8553 in place (bug#9907).
8554 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8555 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8556 (eshell-structure-basic-command, eshell-rewrite-while-command)
8557 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8558 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8559 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8560 (eshell-do-pipelines-synchronously, eshell-eval-command):
8561 Use backquotes and prefer setq to set.
8562 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8563 (eshell-macrop): Use functionp.
8564 (eshell-do-eval): Handle multiple expressions in `while' body.
8565
8566 2011-10-30 Chong Yidong <cyd@gnu.org>
8567
8568 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8569 instead of set-mark (Bug#9810).
8570
8571 2011-10-30 Chong Yidong <cyd@gnu.org>
8572
8573 * window.el (split-window-below, split-window-right): Rename from
8574 split-window-above-each-other and split-window-side-by-side
8575 respectively. All callers changed.
8576 (split-window-sensibly, split-window-sensibly): Use them.
8577 (split-window-keep-point): Doc fix.
8578
8579 * isearch.el: Add isearch-scroll property to split-window-below
8580 and split-window-right.
8581
8582 * follow.el (follow-mode):
8583 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8584 * progmodes/ada-xref.el (ada-gdb-application):
8585 * emulation/vip.el (vip-buffer-in-two-windows):
8586 * image-dired.el (image-dired-dired-with-window-configuration):
8587 * dired-x.el (dired-do-find-marked-files):
8588 * dired.el (dired-pop-to-buffer):
8589 * bs.el (bs--show-with-configuration):
8590 * vc/emerge.el (emerge-setup-windows):
8591 * textmodes/two-column.el (2C-two-columns):
8592 * textmodes/reftex-toc.el (reftex-toc):
8593 * progmodes/gdb-mi.el (gdb-setup-windows):
8594 * progmodes/fortran.el (fortran-window-create):
8595 * net/newst-treeview.el (newsticker--treeview-window-init):
8596 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8597 * emulation/tpu-edt.el (tpu-gold-map):
8598 * emulation/crisp.el (crisp-mode-map):
8599 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8600
8601 2011-10-29 Chong Yidong <cyd@gnu.org>
8602
8603 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8604
8605 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8606
8607 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8608 forged Ispell output (Bug#7904).
8609
8610 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8611
8612 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * doc-view.el: Avoid ugly errors about not finding nil.
8615 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8616 (doc-view-dvipdf-program, doc-view-unoconv-program)
8617 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8618 Avoid nil or absolute file name as default value.
8619 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8620
8621 2011-10-28 Alan Mackenzie <acm@muc.de>
8622
8623 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8624
8625 2011-10-28 Alan Mackenzie <acm@muc.de>
8626
8627 Amend the handling of c-beginning/end-of-defun in nested declaration
8628 scopes.
8629
8630 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8631 cc-langs.el. Change it to a defcustom.
8632
8633 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8634 cc-vars.el.
8635
8636 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8637 Prevent "class foo : bar" being spuriously recognized as a label.
8638
8639 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8640 Add parameter `inclusive' (to include enclosing braces in the region).
8641 (c-widen-to-enclosing-decl-scope): New function.
8642 (c-while-widening-to-decl-block): New macro.
8643 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8644 outward for defun boundaries, and correspondingly change symbol
8645 `respect-enclosure' to `go-outward'.
8646 (c-declaration-limits): Change algorithm to report only the "innermost"
8647 defun's boundaries.
8648
8649 2011-10-28 Deniz Dogan <deniz@dogan.se>
8650
8651 * net/rcirc.el (rcirc-mode): Use hard newlines.
8652
8653 2011-10-28 Alan Mackenzie <acm@muc.de>
8654
8655 Amend to indent and fontify macros "which include their own semicolon"
8656 correctly, using the "virtual semicolon" mechanism.
8657
8658 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8659
8660 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8661 Recode to scan one line at a time rather than having \n and \r
8662 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8663 (c-forward-label): Amend for virtual semicolons.
8664 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8665
8666 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8667 of the new C macros.
8668
8669 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8670 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8671 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8672 (c-opt-cpp-macro-define): Make into a full language variable.
8673 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8674 AWK Mode (including \n, \r) removed, no longer needed.
8675
8676 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8677 Invoke c-make-macro-with-semi-re.
8678
8679 * progmodes/cc-vars.el (c-macro-with-semi-re):
8680 (c-macro-names-with-semicolon): New variables.
8681 (c-make-macro-with-semi-re): New function.
8682
8683 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * vc/log-edit.el: Fill empty field rather than adding new one.
8686 (log-edit-add-field): New function.
8687 (log-edit-insert-changelog): Use it.
8688
8689 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8690
8691 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8692
8693 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8696 (gdb--check-interpreter): New function.
8697 (gdb): Use it.
8698
8699 2011-10-27 Glenn Morris <rgm@gnu.org>
8700
8701 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8702 (least-positive-float, least-negative-float)
8703 (least-positive-normalized-float, least-negative-normalized-float)
8704 (float-epsilon, float-negative-epsilon):
8705 Remove unnecessary declarations.
8706
8707 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8708 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8709 (least-positive-float, least-negative-float)
8710 (least-positive-normalized-float, least-negative-normalized-float)
8711 (float-epsilon, float-negative-epsilon): Add doc-strings,
8712 based on those in cl.texi.
8713
8714 * files.el (set-visited-file-name): If the major-mode changed,
8715 reload the local variables. (Bug#9796)
8716
8717 2011-10-27 Chong Yidong <cyd@gnu.org>
8718
8719 * subr.el (change-major-mode-after-body-hook): New hook.
8720 (run-mode-hooks): Run it.
8721
8722 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8723 Use change-major-mode-before-body-hook.
8724
8725 * simple.el (fundamental-mode):
8726 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8727 change introducing fundamental-mode-hook.
8728
8729 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
8730
8731 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8732
8733 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
8734
8735 * ido.el (ido-file-name-all-completions-1): Do not require
8736 tramp.el explicitly. (Bug#7583)
8737
8738 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * progmodes/octave-mod.el:
8741 * progmodes/octave-inf.el: Update maintainer.
8742
8743 2011-10-26 Chong Yidong <cyd@gnu.org>
8744
8745 * subr.el (with-wrapper-hook): Rewrite doc.
8746
8747 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
8748
8749 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8750 filenames "/method:foo:". (Bug#9793)
8751
8752 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8755 (bug#9865).
8756
8757 2011-10-24 Glenn Morris <rgm@gnu.org>
8758
8759 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8760
8761 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
8762
8763 * notifications.el: Add the requirement of a running D-Bus session
8764 bus to the Commentary.
8765
8766 2011-10-24 Juri Linkov <juri@jurta.org>
8767
8768 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8769 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8770 (Bug#9364)
8771
8772 2011-10-24 Juri Linkov <juri@jurta.org>
8773
8774 * info.el (Info-following-node-name-re): Add newline to the list
8775 of allowed characters for leading space. (Bug#9824)
8776
8777 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * progmodes/octave-inf.el (inferior-octave-mode-map):
8780 Fix C-c C-h binding.
8781 * progmodes/octave-mod.el (octave-help): Remove.
8782
8783 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
8784
8785 Sync with Tramp 2.2.3.
8786
8787 * net/tramp-cache.el (top): Pacify byte-compiler using
8788 `init-file-user' and `site-run-file'.
8789
8790 * net/trampver.el: Update release number.
8791
8792 2011-10-23 Chong Yidong <cyd@gnu.org>
8793
8794 * files.el (toggle-read-only): Remove obsolete comment about
8795 version control.
8796
8797 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8798 for toggle-read-only. Note that this hasn't called vc-next-action
8799 since 2008-05-02, though it wasn't documented at the time.
8800
8801 * vc/ediff-init.el (ediff-toggle-read-only-function):
8802 Use toggle-read-only.
8803
8804 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8805
8806 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8807 of c-parse-state.
8808
8809 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8810 correct faulty logical expression.
8811 (c-parse-state-state, c-record-parse-state-state):
8812 (c-replay-parse-state-state): New defvar/defuns.
8813 (c-debug-parse-state): Use new functions.
8814
8815 2011-10-22 Martin Rudalics <rudalics@gmx.at>
8816
8817 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8818 last fix. Use window-in-direction correctly.
8819
8820 2011-10-21 Chong Yidong <cyd@gnu.org>
8821
8822 * progmodes/idlwave.el (idlwave-mode):
8823 * progmodes/vera-mode.el (vera-mode): No need to set
8824 require-final-newline; that's done in prog-mode.
8825 Suggested by Stefan Monnier.
8826
8827 2011-10-21 Martin Rudalics <rudalics@gmx.at>
8828
8829 * mouse.el (mouse-drag-window-above)
8830 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8831 (mouse-drag-mode-line-1, mouse-drag-header-line)
8832 (mouse-drag-vertical-line-rightward-window): Remove.
8833 (mouse-drag-line): New function.
8834 (mouse-drag-mode-line, mouse-drag-header-line)
8835 (mouse-drag-vertical-line): Call mouse-drag-line.
8836 * window.el (window-at-side-p, windows-at-side): New functions.
8837
8838 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
8839
8840 * tar-mode.el (tar-grind-file-mode):
8841 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8842
8843 2011-10-21 Chong Yidong <cyd@gnu.org>
8844
8845 * progmodes/idlwave.el (idlwave-mode):
8846 * progmodes/vera-mode.el (vera-mode):
8847 Use mode-require-final-newline.
8848
8849 2011-10-20 Glenn Morris <rgm@gnu.org>
8850
8851 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
8852
8853 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8854
8855 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8856
8857 2011-10-20 Chong Yidong <cyd@gnu.org>
8858
8859 * emulation/cua-base.el (cua-mode):
8860 * mail/footnote.el (footnote-mode):
8861 * mail/mailabbrev.el (mail-abbrevs-mode):
8862 * net/xesam.el (xesam-minor-mode):
8863 * progmodes/bug-reference.el (bug-reference-mode):
8864 * progmodes/cap-words.el (capitalized-words-mode):
8865 * progmodes/compile.el (compilation-minor-mode)
8866 (compilation-shell-minor-mode):
8867 * progmodes/gud.el (gud-tooltip-mode):
8868 * progmodes/hideif.el (hide-ifdef-mode):
8869 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8870 * progmodes/subword.el (subword-mode):
8871 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8872 * progmodes/which-func.el (which-function-mode):
8873 * term/tvi970.el (tvi970-set-keypad-mode):
8874 * term/vt100.el (vt100-wide-mode):
8875 * textmodes/flyspell.el (flyspell-mode):
8876 * textmodes/ispell.el (ispell-minor-mode):
8877 * textmodes/nroff-mode.el (nroff-electric-mode):
8878 * textmodes/paragraphs.el (use-hard-newlines):
8879 * textmodes/refill.el (refill-mode):
8880 * textmodes/reftex.el (reftex-mode):
8881 * textmodes/rst.el (rst-minor-mode):
8882 * textmodes/sgml-mode.el (html-autoview-mode)
8883 (sgml-electric-tag-pair-mode):
8884 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8885 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8886 * emulation/crisp.el (crisp-mode):
8887 * emacs-lisp/eldoc.el (eldoc-mode):
8888 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8889 minor mode behavior.
8890
8891 2011-10-19 Juri Linkov <juri@jurta.org>
8892
8893 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8894 the list of hard-coded chars with escape-glyph face.
8895
8896 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8899
8900 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8901
8902 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8903 running process.
8904
8905 2011-10-19 Glenn Morris <rgm@gnu.org>
8906
8907 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8908 Ignore ignored files. (Bug#9726)
8909
8910 2011-10-19 Chong Yidong <cyd@gnu.org>
8911
8912 Doc fix for minor modes, stating that an omitted argument enables
8913 the mode unconditionally when called from Lisp.
8914
8915 * abbrev.el (abbrev-mode):
8916 * allout.el (allout-mode):
8917 * autoinsert.el (auto-insert-mode):
8918 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8919 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8920 (global-auto-revert-mode):
8921 * battery.el (display-battery-mode):
8922 * composite.el (global-auto-composition-mode)
8923 (auto-composition-mode):
8924 * delsel.el (delete-selection-mode):
8925 * desktop.el (desktop-save-mode):
8926 * dired-x.el (dired-omit-mode):
8927 * dirtrack.el (dirtrack-mode):
8928 * doc-view.el (doc-view-minor-mode):
8929 * double.el (double-mode):
8930 * electric.el (electric-indent-mode, electric-pair-mode):
8931 * emacs-lock.el (emacs-lock-mode):
8932 * epa-hook.el (auto-encryption-mode):
8933 * follow.el (follow-mode):
8934 * font-core.el (font-lock-mode):
8935 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8936 * help.el (temp-buffer-resize-mode):
8937 * hilit-chg.el (highlight-changes-mode)
8938 (highlight-changes-visible-mode):
8939 * hi-lock.el (hi-lock-mode):
8940 * hl-line.el (hl-line-mode, global-hl-line-mode):
8941 * icomplete.el (icomplete-mode):
8942 * ido.el (ido-everywhere):
8943 * image-file.el (auto-image-file-mode):
8944 * image-mode.el (image-minor-mode):
8945 * iswitchb.el (iswitchb-mode):
8946 * jka-cmpr-hook.el (auto-compression-mode):
8947 * linum.el (linum-mode):
8948 * longlines.el (longlines-mode):
8949 * master.el (master-mode):
8950 * mb-depth.el (minibuffer-depth-indicate-mode):
8951 * menu-bar.el (menu-bar-mode):
8952 * minibuf-eldef.el (minibuffer-electric-default-mode):
8953 * mouse-sel.el (mouse-sel-mode):
8954 * msb.el (msb-mode):
8955 * mwheel.el (mouse-wheel-mode):
8956 * outline.el (outline-minor-mode):
8957 * paren.el (show-paren-mode):
8958 * recentf.el (recentf-mode):
8959 * reveal.el (reveal-mode, global-reveal-mode):
8960 * rfn-eshadow.el (file-name-shadow-mode):
8961 * ruler-mode.el (ruler-mode):
8962 * savehist.el (savehist-mode):
8963 * scroll-all.el (scroll-all-mode):
8964 * scroll-bar.el (scroll-bar-mode):
8965 * server.el (server-mode):
8966 * shell.el (shell-dirtrack-mode):
8967 * simple.el (auto-fill-mode, transient-mark-mode)
8968 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8969 (line-number-mode, column-number-mode, size-indication-mode)
8970 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8971 * strokes.el (strokes-mode):
8972 * time.el (display-time-mode):
8973 * t-mouse.el (gpm-mouse-mode):
8974 * tool-bar.el (tool-bar-mode):
8975 * tooltip.el (tooltip-mode):
8976 * type-break.el (type-break-mode-line-message-mode)
8977 (type-break-query-mode):
8978 * view.el (view-mode):
8979 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8980 (global-whitespace-mode, global-whitespace-newline-mode):
8981 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8982
8983 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8984 Fix autogenerated docstring.
8985
8986 2011-10-19 Juri Linkov <juri@jurta.org>
8987
8988 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8989 by checking environment variables "DESKTOP_SESSION" and
8990 "XDG_CURRENT_DESKTOP". (Bug#9779)
8991
8992 2011-10-19 Juri Linkov <juri@jurta.org>
8993
8994 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8995 (browse-url-chromium-program, browse-url-chromium-arguments):
8996 New defcustoms.
8997 (browse-url-default-browser): Check for `browse-url-chromium' and
8998 call `browse-url-chromium-program'.
8999 (browse-url-chromium): New command. (Bug#9779)
9000
9001 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9002
9003 * facemenu.el (list-colors-duplicates): On Windows, detect more
9004 duplicates by assuming that only colors matching "^System" are
9005 special "system colors". (Bug#9722)
9006
9007 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9010 to distinguish the author from the committer.
9011
9012 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9013
9014 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9015
9016 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9017
9018 * international/mule.el (sgml-html-meta-auto-coding-function):
9019 Add support for detecting encoding in HTML5 specified only as
9020 <meta charset="UTF-8">. Implementation just makes http-equiv and
9021 content-type parts from HTML4 encoding string optional. (Bug#9716)
9022
9023 2011-10-18 Glenn Morris <rgm@gnu.org>
9024
9025 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9026
9027 2011-10-18 Chong Yidong <cyd@gnu.org>
9028
9029 * faces.el (cursor): Doc fix.
9030
9031 2011-10-17 Chong Yidong <cyd@gnu.org>
9032
9033 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9034
9035 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9036
9037 * dirtrack.el (dirtrack): Support shell buffers with path
9038 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9039
9040 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9041
9042 * json.el: Bump version to 1.3 and note change in History.
9043 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9044
9045 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * comint.el (comint-insert-input, comint-send-input)
9048 (comint-get-old-input-default, comint-backward-matching-input)
9049 (comint-next-prompt): Use nil instead of `input' for field property of
9050 past user input (bug#114).
9051
9052 * minibuffer.el (completion--replace): Inherit surrounding properties
9053 (bug#114).
9054 (minibuffer-complete-and-exit): Use it.
9055
9056 * comint.el (comint--table-subvert): Quote the all-completions output
9057 (bug#9160).
9058
9059 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9060
9061 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9062
9063 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9064 window on right of selected. (Bug#9350) Reword other window
9065 entries and separate them from frame entries.
9066
9067 2011-10-15 Glenn Morris <rgm@gnu.org>
9068
9069 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9070 Doc fixes.
9071
9072 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9073
9074 * net/network-stream.el (network-stream-open-starttls):
9075 Improve detection of failure due to lack of TLS support.
9076
9077 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9078 putting the input text in front and in bold.
9079
9080 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9081
9082 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9083
9084 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9085 empty buffer.
9086
9087 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9088 unread-command-events rather than pushing yet-another event.
9089
9090 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9091
9092 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9093 the explanation of the possible choices. Make the options passed
9094 to completing-read shorter.
9095
9096 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9097
9098 * textmodes/flyspell.el (flyspell-large-region): Make sure
9099 extended character mode is used if defined (Bug#1339).
9100
9101 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9102
9103 * simple.el (what-cursor-position): Fix the display of the
9104 character info for LRE, LRO, RLE, and RLO characters by appending
9105 an invisible PDF.
9106
9107 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9110 even in case of error; add debug spec; simplify data flow.
9111 (with-timeout-handler): Remove.
9112
9113 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9114
9115 Fix Bug#6019, Bug#9315.
9116
9117 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9118 complete `buffer-file-name', the local file name part could look
9119 remotely (for example on VMS).
9120
9121 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9122 `tramp-run-real-handler'.
9123 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9124 already quoted by '"'.
9125
9126 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9127 Let `file-name-handler-alist' be nil, the local file name part
9128 could look remotely (for example on VMS).
9129
9130 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9133 from here...
9134 (flyspell-post-command-hook): ...to here.
9135
9136 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9139 if not needed.
9140 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9141 using completion. Protect against "slow" callers.
9142 Remove the "message hack".
9143
9144 2011-10-11 Juri Linkov <juri@jurta.org>
9145
9146 * isearch.el (isearch-lazy-highlight-word): New variable.
9147 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9148 Use it. (Bug#9727)
9149
9150 2011-10-11 Glenn Morris <rgm@gnu.org>
9151
9152 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9153 like f90-previous-statement does.
9154
9155 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9156
9157 * eshell/eshell.el (eshell-command): History should be saved
9158 only in interactive use, to avoid error.
9159
9160 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9161
9162 * minibuffer.el (completion-file-name-table): Fix last change,
9163 i.e. ignore normal errors but not the other ones.
9164
9165 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9166
9167 * window.el (special-display-buffer-names)
9168 (special-display-regexps): Remove some remnants of earlier
9169 changes from doc-strings.
9170 (quit-windows-on): New function.
9171
9172 * vc/vc.el (vc-revert, vc-rollback):
9173 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9174 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9175 (Bug#6183) (Bug#7074) (Bug#7447)
9176
9177 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9178
9179 * window.el (frame-auto-hide-function): Add version tag.
9180 (Bug#9699)
9181
9182 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9183
9184 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9185 condition.
9186
9187 2011-10-09 Leo Liu <sdl.web@gmail.com>
9188
9189 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9190 (Bug#9701)
9191
9192 2011-10-08 Glenn Morris <rgm@gnu.org>
9193
9194 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9195 before the first code statement zero indent. (Bug#9690)
9196
9197 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9198
9199 * simple.el (count-words-region): Always count in the region.
9200 Report the number of lines and characters too.
9201 (count-words): New command, which counts in the buffer if the
9202 region is inactive, as count-words-region used to.
9203 (count-words--message): New function. Handle plurals.
9204 (count-lines-region): Make it an alias for count-words-region.
9205
9206 * bindings.el (esc-map): Replace count-lines-region with
9207 count-words-region.
9208
9209 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9210
9211 * window.el (window--delete): Delete dedicated frame
9212 unconditionally when argument KILL is non-nil. (Bug#9699)
9213 (switch-to-buffer): Fix doc-string typo.
9214
9215 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9216
9217 * eshell/eshell.el (eshell-command): Avoid using hooks.
9218
9219 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9220
9221 * bindings.el ([M-left],[M-right]): Bind to left-word and
9222 right-word respectively.
9223
9224 2011-10-07 Glenn Morris <rgm@gnu.org>
9225
9226 * cus-start.el (debug-on-quit): Fix custom type.
9227
9228 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9229
9230 * subr.el (define-key-after): Clarify that the function is not
9231 useful for non-menu keymaps.
9232
9233 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9234
9235 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9236
9237 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9238 in current minibuffer (Fix bug with recursive minibuffers).
9239
9240 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9241
9242 * progmodes/gdb-mi.el (gdb): Doc fix.
9243
9244 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9245
9246 * window.el (frame-auto-hide-function): New option replacing
9247 frame-auto-delete. Suggested by Stefan Monnier.
9248 (window--delete): Call frame-auto-hide-function instead of
9249 investigating frame-auto-delete.
9250 (window-point-1, set-window-point-1): New functions.
9251 (window-in-direction, record-window-buffer, window-state-get-1)
9252 (display-buffer-record-window): Use window-point-1 instead of
9253 window-point.
9254 (set-window-buffer-start-and-point): Use set-window-point-1.
9255
9256 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9257
9258 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9259
9260 2011-10-05 Glenn Morris <rgm@gnu.org>
9261
9262 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9263 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9264
9265 2011-10-05 Leo Liu <sdl.web@gmail.com>
9266
9267 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9268 works with buffer object.
9269
9270 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9271
9272 * mpc.el (mpc-tool-bar-map): Add labels.
9273
9274 2011-10-04 Glenn Morris <rgm@gnu.org>
9275
9276 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9277
9278 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9279
9280 * window.el (window--delete): New function.
9281 (frame-auto-delete): Resuscitate option.
9282 (bury-buffer, replace-buffer-in-windows)
9283 (quit-window): Rewrite using window--delete.
9284 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9285 Pass display-buffer-mark-dedicated to window--display-buffer-2
9286 (Bug#9639).
9287
9288 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9289
9290 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9291 returns a list (bug#9554). Add remote file name completion.
9292 * comint.el (comint--table-subvert): Curry and get quote&unquote
9293 functions as arguments.
9294 (comint--complete-file-name-data): Adjust call accordingly.
9295 * pcomplete.el (pcomplete--table-subvert): Remove.
9296 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9297
9298 * minibuffer.el (completion-table-case-fold): Use currying.
9299 (completion--styles-type, completion--cycling-threshold-type):
9300 New constants.
9301 (completion-styles, completion-category-overrides)
9302 (completion-cycle-threshold): Use them.
9303 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9304 completion-table-case-fold.
9305
9306 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9307
9308 * minibuffer.el (completion-category-overrides): Fix type of styles
9309 and add more user friendly tags (bug#9660).
9310
9311 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9312
9313 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9314 (mule-input-method-string): New widget.
9315 (default-input-method, language-info-custom-alist): Use it.
9316
9317 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * pcomplete.el: Require comint.
9320 (pcomplete--common-suffix): Remove.
9321 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9322 (pcomplete--table-subvert): Sync with comint--table-subvert.
9323 (pcomplete--entries): Use comint-completion-file-name-table.
9324 * comint.el (comint-unquote-filename): Simplify.
9325 (comint-completion-file-name-table): New function (bug#9616).
9326 (comint--complete-file-name-data): Use it.
9327
9328 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9329 (pcmpl-gnu-tar-buffer): Remove.
9330 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9331 around. Make sure pcomplete-suffix-list is only changed temporarily.
9332 Don't look inside the tar's file if it's too large.
9333
9334 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9335
9336 * cus-edit.el (custom-mode-map):
9337 * epa.el (epa-key-list-mode-map):
9338 * man.el (Man-mode-map):
9339 * startup.el (splash-screen-keymap):
9340 * simple.el (special-mode-map): Use scroll-up-command and
9341 scroll-down-command.
9342
9343 * progmodes/idlw-help.el (idlwave-help-mode-map):
9344 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9345 * net/newst-plainview.el (newsticker-mode-map):
9346 * emulation/ws-mode.el (wordstar-mode-map):
9347 * emulation/vi.el (vi-com-map):
9348 * calc/calc-graph.el (calc-graph-show-dumb):
9349 * term/sun.el (terminal-init-sun):
9350 * term/ns-win.el (global-map):
9351 * progmodes/grep.el (grep-mode-map):
9352 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9353 * mail/rmail.el (rmail-mode-map):
9354 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9355
9356 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9357 custom-safe-themes as special.
9358
9359 2011-10-01 Julien Danjou <julien@danjou.info>
9360
9361 * notifications.el (notifications-notify): Fix docstring.
9362
9363 2011-10-01 Per Starbäck <per@starback.se>
9364
9365 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9366
9367 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9368
9369 * startup.el (command-line-1): Fix last fix by inserting
9370 initial-scratch-message into *scratch* before displaying it.
9371 (Bug#9605) and (Bug#9636)
9372
9373 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9374
9375 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9376 window is hscrolled, move by logical lines. (Bug#9607)
9377 (line-move-visual): Update the doc string to the above effect.
9378
9379 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9380
9381 * window.el (display-buffer-record-window): When WINDOW is the
9382 selected window use `point' instead of `window-point'. (Bug#9626)
9383
9384 * startup.el (command-line-1): Use insert-before-markers when
9385 inserting initial-scratch-message. (Bug#9605)
9386
9387 * help.el (help-window): Remove variable.
9388
9389 2011-09-29 Glenn Morris <rgm@gnu.org>
9390
9391 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9392
9393 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9394
9395 * descr-text.el (describe-char-categories): Accept category
9396 descriptions more than one line long.
9397
9398 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9399
9400 * simple.el (delete-trailing-whitespace): Fix last change.
9401
9402 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9403 Don't confuse "y => 3" as the beginning of a `y' operation.
9404
9405 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9406 object has more than 4 slots (bug#9613).
9407
9408 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9409
9410 * subr.el (with-output-to-temp-buffer):
9411 * net/quickurl.el (quickurl, quickurl-browse-url):
9412 Fix typos in docstrings.
9413
9414 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9415
9416 * minibuffer.el (completion-styles)
9417 (completion-category-overrides): Cross reference each other in doc
9418 strings.
9419
9420 2011-09-27 Glenn Morris <rgm@gnu.org>
9421
9422 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9423 to split-string. (Bug#9606)
9424
9425 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9426
9427 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9428 (bug#9615).
9429
9430 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9431
9432 * emacs-lisp/package.el (list-packages): Fix echo area message.
9433
9434 2011-09-27 Leo Liu <sdl.web@gmail.com>
9435
9436 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9437
9438 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9439
9440 * net/dbus.el (dbus-unregister-object): Don't release services for
9441 registered signals. (Bug#9581)
9442
9443 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9444
9445 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9446 function that picks between cfengine 2 and 3 support
9447 automatically. Update docs accordingly.
9448
9449 2011-09-22 Kenichi Handa <handa@m17n.org>
9450
9451 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9452 ZERO.
9453 (indian-itrans-v5-table-for-tamil): New variable.
9454 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9455
9456 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9457
9458 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9459 that's true if the current command involved collapsing of text.
9460 It's reset to false at the beginning of the next command.
9461 (allout-post-command-business): Move the cursor to the beginning
9462 of entry if the cursor is hidden and collapsing activity just
9463 happened.
9464
9465 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9466
9467 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9468 tracking (Bug#9541).
9469
9470 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9471
9472 * net/newst-reader.el (newsticker-html-renderer)
9473 (newsticker-show-news): Automatically load html rendering package
9474 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9475 because w3m-fill-column is let-bound" and the error "Symbol's value
9476 as variable is void: w3m-fill-column".
9477
9478 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9479
9480 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9481 Release services only if they are defined. (Bug#9581)
9482
9483 2011-09-23 Richard Stallman <rms@gnu.org>
9484
9485 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9486 distinguish start of paragraph from start of its text.
9487
9488 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9489
9490 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9491 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9492 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9493
9494 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9495
9496 * international/mule-diag.el (mule-diag): Insert a newline after
9497 each fontset description.
9498
9499 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * simple.el (delete-trailing-whitespace):
9502 Document last change; simplify.
9503
9504 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9505
9506 * simple.el (delete-trailing-whitespace): Also delete
9507 extra newlines at the end of the buffer.
9508
9509 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9510 (picture-newline): Use forward-line so as to ignore fields.
9511
9512 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9513
9514 * subr.el (with-wrapper-hook): Fix edebug spec.
9515
9516 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9517
9518 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9519 (bug#4538).
9520
9521 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9522
9523 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9524 Fix nasty bug using wrong cached values.
9525
9526 2011-09-23 Alan Mackenzie <acm@muc.de>
9527
9528 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9529
9530 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9531
9532 * window.el (pop-to-buffer): Ensure right window is selected if we
9533 chose another frame.
9534
9535 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9536
9537 * simple.el (what-cursor-position): Use get-char-property-change
9538 and next-single-char-property-change, to be able to show display
9539 properties that come from overlays as well as text properties.
9540
9541 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9542
9543 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9544
9545 * cmuscheme.el (run-scheme, switch-to-scheme):
9546 * cus-edit.el (customize-group, custom-buffer-create)
9547 (customize-browse):
9548 * info.el (info):
9549 * shell.el (shell):
9550 * mail/sendmail.el (mail):
9551 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9552
9553 2011-09-22 Richard Stallman <rms@gnu.org>
9554
9555 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9556 move back only to line beg, don't move back over blank lines.
9557
9558 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9559
9560 * files.el (copy-directory): Set directory attributes only in case
9561 they could be retrieved from the source directory. (Bug#9565)
9562
9563 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9564
9565 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9566 (hs-find-block-beginning, hs-hide-level-recursive):
9567 Ignore strings as well as comments. (Bug#9502)
9568
9569 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9570
9571 * progmodes/sql.el (sql-comint-postgres):
9572 Convert port number to a string. (Bug#9566)
9573
9574 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9575
9576 * window.el (quit-window): Undedicate window when switching to
9577 previous buffer. Reported by Thierry Volpiatto
9578 <thierry.volpiatto@gmail.com>.
9579 (special-display-popup-frame): When popping up a new frame reset
9580 its previous buffers to nil. Simplify code.
9581
9582 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9583
9584 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9585 and process filter, as done also in `shell-command'.
9586
9587 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9588
9589 * window.el (set-window-buffer-start-and-point):
9590 Call set-window-start with NOFORCE argument t.
9591 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9592 (quit-window): Reword doc-string. Handle new format of
9593 quit-restore parameter. Don't delete window if it has a
9594 previous buffer we can show instead of the present one.
9595 (display-buffer-record-window): Rewrite using a new format for
9596 the quit-restore window parameter
9597 (special-display-popup-frame, display-buffer-same-window)
9598 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9599 (display-buffer-pop-up-window, display-buffer-use-some-window):
9600 Adapt symbol passed to display-buffer-record-window.
9601 * help.el (help-window-setup): Handle new format of quit-restore
9602 parameter.
9603
9604 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9605
9606 * faces.el (face-list): Fix docstring (bug#9564).
9607
9608 * window.el (display-buffer--action-function-custom-type):
9609 Don't include internal functions in the Custom interface.
9610
9611 2011-09-20 Juri Linkov <juri@jurta.org>
9612
9613 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9614 (Info-forward-node, Info-backward-node, Info-next-preorder)
9615 (Info-last-preorder): Use it. (Bug#9528)
9616
9617 2011-09-20 Juri Linkov <juri@jurta.org>
9618
9619 * info.el (Info-last-preorder): Visit last menu item only when
9620 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9621
9622 2011-09-20 Julien Danjou <julien@danjou.info>
9623
9624 * password-cache.el (password-cache-remove): Remove entries even if the
9625 value is nil, so that password with a nil value (negative caching) is
9626 possible to invalidate.
9627
9628 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9629
9630 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9631 all whitespace around breakpoint. (Bug#9553)
9632 (f90-find-breakpoint): Only break at whitespace inside a comment.
9633
9634 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9635
9636 * minibuffer.el (completion-file-name-table): Keep track of errors.
9637 (completion-table-with-predicate): Handle the case where pred1 is nil.
9638 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9639
9640 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9641
9642 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9643 (debugger-return-value): Signal an error if the debugging context does
9644 not await any return value.
9645
9646 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9647 * image-mode.el (image-toggle-display-text)
9648 (image-toggle-display-image): Stay away from evil `intangible'.
9649
9650 2011-09-19 Leo Liu <sdl.web@gmail.com>
9651
9652 * replace.el (occur-revert-arguments): Make it permanent-local.
9653 (occur-mode): Don't call font-lock-defontify.
9654
9655 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9656
9657 * net/ldap.el (ldap-search-internal): Don't push empty search
9658 result (Bug#9508).
9659
9660 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9661
9662 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9663
9664 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9665
9666 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9667 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9668
9669 2011-09-18 Juri Linkov <juri@jurta.org>
9670
9671 * buff-menu.el (Buffer-menu-mode-map):
9672 * dired.el (dired-mode-map):
9673 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9674 (lisp-interaction-mode-map):
9675 * emacs-lisp/package.el (package-menu-mode-map):
9676 * epa.el (epa-key-list-mode-map):
9677 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9678 (menu-bar-options-menu):
9679 * outline.el (outline-mode-menu-bar-map):
9680 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9681 * vc/vc-dir.el (vc-dir-menu-map):
9682 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9683 Capitalize non-function content words in menu item strings.
9684
9685 * dired.el (dired-mode-map): Add menu item for
9686 `image-dired-dired-toggle-marked-thumbs'.
9687
9688 2011-09-18 Juri Linkov <juri@jurta.org>
9689
9690 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9691 to `isearch-case-fold-search' and restore its original value
9692 after the `isearch-mode' call.
9693
9694 2011-09-18 Juri Linkov <juri@jurta.org>
9695
9696 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9697 because `zgrep' returns 1 for successful matches (bug#9226).
9698
9699 2011-09-18 Juri Linkov <juri@jurta.org>
9700
9701 * info.el (Info-extract-menu-node-name): Check the second match
9702 for empty string (second test-case of bug#9528).
9703 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9704 intermediate nodes to the history (first test-case of bug#9528).
9705
9706 2011-09-18 Juri Linkov <juri@jurta.org>
9707
9708 * info.el (Info-mode-syntax-table): New variable.
9709 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9710
9711 2011-09-18 Juri Linkov <juri@jurta.org>
9712
9713 * info.el (Info-file-supports-index-cookies):
9714 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9715 outputs one more line for long file names (bug#4142).
9716
9717 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9718
9719 * newcomment.el (comment-normalize-vars): If prompting for
9720 comment-start, set comment-start-skip too (Bug#8424).
9721
9722 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9723
9724 * icomplete.el: Fix previous fix of Bug#5849.
9725 (icomplete-mode): Don't set completion-show-inline-help.
9726 (icomplete-minibuffer-setup): Set completion-show-inline-help
9727 locally during icompletion.
9728
9729 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9730
9731 * woman.el (woman2-process-escapes): Don't delete unrecognized
9732 escapes (Bug#7843).
9733
9734 * files.el (inhibit-first-line-modes-regexps): Add image files.
9735 (hack-local-variables-prop-line): Return nil for malformed
9736 prop-lines (Bug#9044).
9737
9738 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
9739
9740 * net/tramp.el (top): Don't require 'shell.
9741 (tramp-methods): Fix docstring.
9742 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9743 Return complete remote file name. Handle "smb" case.
9744 Use `tramp-tmpdir', if defined for the respective method.
9745 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9746
9747 * net/tramp-compat.el (top): Require 'shell.
9748
9749 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9750 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9751 `tramp-current-host'.
9752 (tramp-get-remote-tmpdir): Remove.
9753
9754 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9755 `tramp-tmpdir' entries.
9756 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9757 (tramp-smb-handle-file-attributes): Ignore errors.
9758 (tramp-smb-wait-for-output): Check also for process end.
9759
9760 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9761
9762 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9763 when sending QUIT (bug#9312).
9764
9765 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
9766
9767 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9768 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9769 occur-mode-display-occurrence.
9770 (occur-edit-mode): Add usage message.
9771 (occur-cease-edit): New command.
9772 (occur-after-change-function): Use text properties to find the
9773 position of the prefix text.
9774 (occur-engine): Set stickiness of prefix text properties.
9775
9776 2011-09-17 Glenn Morris <rgm@gnu.org>
9777
9778 * progmodes/etags.el (complete-tag):
9779 Fix call to completion-in-region. (Bug#9526)
9780
9781 2011-09-17 Juri Linkov <juri@jurta.org>
9782
9783 * textmodes/ispell.el (ispell-word): Add to the error message
9784 the word, ispell program name and current dictionary (bug#9121).
9785 (ispell-tex-arg-end): Capitalize "error" in the error message.
9786
9787 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9788
9789 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9790 check. (Bug#4251)
9791
9792 2011-09-17 Juri Linkov <juri@jurta.org>
9793
9794 * window.el (window-safe-min-height, window-safe-min-width):
9795 Fix typos (followup to bug#9522).
9796
9797 2011-09-17 Sven Joachim <svenjoac@gmx.de>
9798
9799 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9800
9801 2011-09-16 Eli Zaretskii <eliz@gnu.org>
9802
9803 * simple.el (line-move): If goal-column is set, move by logical
9804 lines, not by display lines. (Bug#971)
9805 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9806 to reflect the above change.
9807
9808 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * image.el (imagemagick-register-types): Use regexp-opt.
9811
9812 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9813
9814 * window.el (display-buffer-base-action): Rename from
9815 display-buffer-default-action. Make default value empty.
9816 (display-buffer-overriding-action): Convert to defvar.
9817 (display-buffer-fallback-action): New var.
9818
9819 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9820
9821 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9822 declaration.
9823 (package--add-to-archive-contents): If there is a duplicate entry
9824 with an older version, remove it.
9825 (package-menu-mark-delete, package-menu-mark-install)
9826 (package-menu-mark-unmark): Make unused args optional.
9827 (package-menu-mark-obsolete-for-deletion):
9828 Use package-menu-get-status instead of a regexp search.
9829 (package-menu-get-status): Use tabulated-list-entry.
9830 (package-menu-mark-upgrades): New command.
9831 (package-menu-mode-map): Bind it to U. Add it to menu bar.
9832 (package-menu-execute): Do installation before deletion.
9833 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9834 instead of checking major-mode.
9835 (package-menu--find-upgrades): New function.
9836
9837 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9838
9839 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9840 passwords in the log buffer.
9841 (smtpmail-process-filter): Update the process marker so that the
9842 "broken by peer" status message is inserted in the right place.
9843
9844 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9845
9846 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9847 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9848 bibtex-completion-at-point-function.
9849 (bibtex-completion-at-point-function): Use them.
9850
9851 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9852
9853 * mpc.el (mpc-constraints-tag-lookup): New function.
9854 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9855 also to browser "album|playlist".
9856
9857 2011-09-14 Juri Linkov <juri@jurta.org>
9858
9859 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9860 (isearch-edit-string): Use length of `isearch-string' when
9861 `isearch-fail-pos' returns nil.
9862 (isearch-message): Remove duplicate code and call
9863 `isearch-fail-pos' with arg `t'.
9864
9865 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9866
9867 * replace.el (occur-mode-goto-occurrence): Don't force using other
9868 window (Bug#9499).
9869
9870 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9871
9872 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9873
9874 * window.el (display-buffer-window): Remove.
9875 (display-buffer-record-window): Use help-setup window parameter
9876 instead of variable display-buffer-window.
9877 (display-buffer-function, special-display-buffer-names)
9878 (special-display-function): Mention help-setup parameter instead
9879 of display-buffer-window in doc-string.
9880 * help.el (help-window-setup): New argument help-window.
9881 Use help-window-setup parameter instead of display-buffer-window.
9882 Reword some messages.
9883 (with-help-window): Pass window used for displaying the buffer
9884 to help-window-setup. Don't set display-buffer-window.
9885
9886 2011-09-13 Glenn Morris <rgm@gnu.org>
9887
9888 * emacs-lisp/debug.el (debugger-make-xrefs):
9889 Preserve point. (Bug#9462)
9890
9891 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9892
9893 * window.el (window-deletable-p): Use next-frame.
9894
9895 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9896
9897 * window.el (window-auto-delete): Remove.
9898 (window-deletable-p): Remove argument FORCE. Don't deal with
9899 dedication and previous buffers.
9900 (switch-to-prev-buffer): Don't delete window.
9901 (delete-windows-on): Delete a window's frame if and only if the
9902 window is dedicated.
9903 (replace-buffer-in-windows): Delete buffer's window or frame if
9904 and only if window is dedicated.
9905 (quit-window): Handle quit-restore as before last change.
9906 (bury-buffer): Delete window only if window-deletable-p returns t.
9907
9908 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9909
9910 * window.el (window-deletable-p): Never delete the last frame on a
9911 given terminal.
9912
9913 2011-09-13 Glenn Morris <rgm@gnu.org>
9914
9915 * help.el (describe-key-briefly): Copy previous standard-output change.
9916
9917 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9918
9919 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9920
9921 2011-09-13 Glenn Morris <rgm@gnu.org>
9922
9923 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9924 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9925
9926 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9927
9928 * dired-aux.el (dired-mark-read-string): Don't return default
9929 value on empty input (Bug#9361).
9930 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9931 Omit initial minibuffer contents.
9932 (dired-do-chmod): Signal an error on empty input.
9933 (dired-mark-read-string): Don't return default on empty input.
9934
9935 * files.el (file-modes-symbolic-to-number): Doc fix.
9936
9937 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * international/mule-cmds.el (ucs-completions): Remove.
9940 (read-char-by-name): Use complete-with-action instead; add metadata.
9941
9942 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9943
9944 * window.el (display-buffer--action-function-custom-type)
9945 (display-buffer--action-custom-type): New vars.
9946 (display-buffer-alist, display-buffer-default-action)
9947 (display-buffer-overriding-action): Add defcustom types.
9948
9949 * frame.el (delete-other-frames): Doc fix (Bug#276).
9950
9951 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9952
9953 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9954
9955 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9956
9957 Change modes that used same-window-* vars to use switch-to-buffer.
9958
9959 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9960 Use switch-to-buffer.
9961
9962 * cus-edit.el (customize-group, custom-buffer-create)
9963 (customize-browse, custom-buffer-create-other-window):
9964 Use switch-to-buffer or switch-to-buffer-other-window.
9965
9966 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9967 (Info-prev, Info-up, Info-speedbar-goto-node)
9968 (info-display-manual): Use switch-to-buffer.
9969 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9970
9971 * mail/sendmail.el (mail): Use switch-to-buffer.
9972 (mail-recover): Use switch-to-buffer-other-window.
9973
9974 * cmuscheme.el (run-scheme, switch-to-scheme):
9975 * ielm.el (ielm):
9976 * shell.el (shell):
9977 * net/rlogin.el (rlogin):
9978 * net/telnet.el (telnet, rsh):
9979 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9980
9981 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9982
9983 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9984
9985 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9986
9987 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9988 so don't mention it (bug#9301).
9989 (dired-sort-toggle-or-edit): Clarify string further.
9990
9991 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9992 match `x', `w32' and `ns', like the manual says (bug#9029).
9993
9994 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9995 (process-kill-buffer-query-function): Mention the buffer name in
9996 the query.
9997
9998 * image-mode.el (image-next-line): The line parameter is mandatory
9999 (bug#9258).
10000
10001 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10002 which can be useful (bug#9301).
10003
10004 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10005
10006 * subr.el (match-string): Mention that the current buffer should
10007 be the same as the search was done in (bug#9282).
10008
10009 * facemenu.el: Disable the remove-* commands if the mark isn't
10010 active (bug#9162).
10011
10012 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10013
10014 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10015 of display-buffer.
10016 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10017
10018 * replace.el (occur-mode-goto-occurrence)
10019 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10020 and display-buffer.
10021
10022 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10023 display-buffer.
10024
10025 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10026 special-display and same-window variables.
10027 (mail-other-window): Use switch-to-buffer-other-window.
10028 (mail-other-frame): USe switch-to-buffer-other-frame.
10029
10030 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10031 Use display-buffer-other-frame.
10032 (gdb-display-gdb-buffer): Use pop-to-buffer.
10033
10034 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10035
10036 * progmodes/python.el: Don't set same-window-buffer-names.
10037
10038 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10039
10040 * window.el (display-buffer-alist): Add *Python*.
10041
10042 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10043
10044 * window.el (display-buffer-alist): Add entry for buffers
10045 previously handled same-window-*.
10046 (display-buffer-alist, display-buffer-default-action)
10047 (display-buffer-overriding-action): Mark as risky.
10048 (display-buffer-alist): Document action function changes.
10049 (display-buffer--same-window-action)
10050 (display-buffer--other-frame-action): New variables.
10051 (switch-to-buffer, display-buffer-other-frame): Use them.
10052 (display-buffer): Rename reuse-frame entry to reusable-frames.
10053 (display-buffer-reuse-selected-window): Function deleted.
10054 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10055 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10056 (display-buffer-special): New function.
10057 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10058 display-buffer-reuse-or-pop-window. Split off special-display
10059 part into display-buffer-special.
10060 (display-buffer-use-some-window): Don't perform any special
10061 pop-up-frames handling.
10062 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10063 (display-buffer--maybe-same-window): Rename from
10064 display-buffer-maybe-same-window.
10065
10066 * info.el: Don't set same-window-regexps.
10067 (info-setup): New function.
10068 (info-other-window, info): Call it.
10069
10070 * cus-edit.el: Don't set same-window-regexps.
10071 (customize-group): New argument.
10072 (customize-group-other-window): Use it.
10073 (customize-face, customize-face-other-window): Likewise.
10074 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10075
10076 * net/rlogin.el:
10077 * net/telnet.el:
10078 * progmodes/gud.el: Don't set same-window-regexps.
10079
10080 * cmuscheme.el:
10081 * ielm.el:
10082 * shell.el:
10083 * mail/sendmail.el:
10084 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10085
10086 2011-09-10 Juri Linkov <juri@jurta.org>
10087
10088 * isearch.el (isearch-edit-string): Remove obsolete mention of
10089 `C-w' (`isearch-yank-word-or-char') from docstring.
10090 (isearch-query-replace): Fix typo in docstring (bug#9466).
10091
10092 2011-09-10 Juri Linkov <juri@jurta.org>
10093
10094 * paren.el (show-paren-function): Don't show escaped parens.
10095 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10096
10097 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10098
10099 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10100 (mm-default-file-encoding): Remove autoload forms, they are
10101 replaced with autoload cookies in mml.el and mm-encode.el.
10102 (mail-add-attachment): New command.
10103 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10104 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10105 the doc string.
10106 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10107
10108 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10109
10110 * simple.el (count-words-region): Use buffer if there's no region
10111 (bug#9429).
10112
10113 2011-09-09 Juri Linkov <juri@jurta.org>
10114
10115 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10116 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10117 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10118
10119 2011-09-09 Alan Mackenzie <acm@muc.de>
10120
10121 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10122 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10123
10124 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10125
10126 Fix for Savannah bug#9392.
10127 * simple.el (mail-encode-mml): New defvar.
10128
10129 * mail/rmail.el (mail-encode-mml): Add a defvar.
10130 (rmail-enable-mime-composing): Default to t.
10131 (rmail-forward): Use MIME method of forwarding only if both
10132 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10133 Set mail-encode-mml non-nil if the MIME method was used.
10134
10135 * mail/sendmail.el (mml-to-mime): Add autoload form.
10136 (mail-encode-mml): Add a defvar.
10137 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10138 to nil.
10139 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10140 message through mml-to-mime, and reset mail-encode-mml to nil.
10141
10142 2011-09-09 Glenn Morris <rgm@gnu.org>
10143
10144 * woman.el (woman-if-body): When processing an .el block,
10145 do not delete the next .el block as well. (Bug#9447)
10146 (woman-special-characters): Add oq, cq, and hy characters.
10147
10148 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10149
10150 * window.el (window-deletable-p): Make sure window is live before
10151 invoking window-prev-buffers.
10152
10153 2011-09-08 Leo Liu <sdl.web@gmail.com>
10154
10155 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10156
10157 2011-09-08 Juri Linkov <juri@jurta.org>
10158
10159 * progmodes/compile.el (compilation-environment): Make it
10160 a defcustom (bug#8340).
10161
10162 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10163
10164 * window.el (frame-auto-delete): Rename to window-auto-delete.
10165 Make it control auto-deletion of windows and/or frames.
10166 (window-deletable-p): New argument FORCE. Rewrite conditions
10167 for deleting window/frame. (Bug#9419)
10168 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10169 Rewrite handling of case when window/frame can be deleted.
10170 (delete-windows-on): Call window-deletable-p with new FORCE
10171 argument t. (Bug#9456)
10172
10173 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10174
10175 * help-mode.el (help-mode): Restore autoload.
10176
10177 2011-09-07 Juri Linkov <juri@jurta.org>
10178
10179 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10180 `compilation-environment'. Set buffer-local
10181 `compilation-environment' to `thisenv' later after (funcall mode).
10182 (Bug#8340)
10183
10184 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10185 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10186 instead of replacing its value. (Bug#8340)
10187
10188 2011-09-07 Juri Linkov <juri@jurta.org>
10189
10190 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10191 based on text properties put by `grep-filter' instead of matching
10192 escape sequences.
10193 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10194 to the value of `grep-error-screen-columns' (bug#9438).
10195
10196 2011-09-07 Juri Linkov <juri@jurta.org>
10197
10198 * simple.el (next-error-highlight, next-error-highlight-no-select):
10199 Doc fix (bug#9432).
10200
10201 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10202
10203 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10204 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10205
10206 2011-09-07 Leo Liu <sdl.web@gmail.com>
10207
10208 * net/rcirc.el (rcirc-mode): Conditionally initialize
10209 rcirc-input-ring.
10210
10211 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * emacs-lisp/find-func.el (find-function-C-source): Only set
10214 find-function-C-source-directory after checking that we found a source
10215 file there (bug#9440).
10216
10217 2011-09-06 Alan Mackenzie <acm@muc.de>
10218
10219 * isearch.el (isearch-other-meta-char): Wherever a key list is
10220 unread, "unread" the prefix arg, too. This fixes bug #8901.
10221
10222 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10223
10224 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10225
10226 2011-09-05 Juri Linkov <juri@jurta.org>
10227
10228 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10229
10230 2011-09-05 Juri Linkov <juri@jurta.org>
10231
10232 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10233 keeping point where processing of grep matches begins, and
10234 continue to delete remaining escape sequences from the same point.
10235 (grep-filter): Make leading zero optional in "0?1;31m" because
10236 git-grep emits "\033[1;31m" escape sequences unlike expected
10237 "\033[01;31m" as GNU Grep does (bug#9408).
10238 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10239
10240 2011-09-05 Juri Linkov <juri@jurta.org>
10241
10242 * subr.el (y-or-n-p): Capitalize "yes".
10243
10244 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10245
10246 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10247 `tramp-cache-unload-hook' where appropriate.
10248 (tramp-methods): Rename `tramp-remote-sh' to
10249 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10250 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10251
10252 * net/tramp-sh.el (top): Don't require 'shell.
10253 (tramp-methods): Add `tramp-remote-shell' and
10254 `tramp-remote-shell-args' entries.
10255 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10256 (tramp-sh-handle-shell-command): Remove.
10257 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10258 Use `tramp-remote-shell'.
10259
10260 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10261
10262 * mail/sendmail.el (sendmail-query-once-function): Delete.
10263 (sendmail-query-once): Save directly to send-mail-function.
10264 Update message-send-mail-function too.
10265
10266 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10267
10268 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10269
10270 * progmodes/python.el (python-mode-map): Use correct function to
10271 start python interpreter from menu-bar (as reported by Geert
10272 Kloosterman).
10273 (inferior-python-mode-map): Fix typo.
10274 (python-shell-map): Remove.
10275
10276 2011-09-03 Deniz Dogan <deniz@dogan.se>
10277
10278 * net/rcirc.el (rcirc-print): Simplify code for
10279 rcirc-scroll-show-maximum-output. There is no need to walk
10280 through all windows to find the right one.
10281
10282 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10283
10284 * help.el (help-return-method): Doc fix.
10285
10286 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10287
10288 * window.el (window-deletable-p): Don't return a non-nil value
10289 when there's a buffer that was shown in the window before.
10290 (Bug#9419)
10291 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10292 Set window's previous buffers to nil.
10293
10294 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10295
10296 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10297 newline before and after the tag line, so it doesn't interfere
10298 with determining the paragraph direction of bidirectional text.
10299
10300 2011-09-03 Leo Liu <sdl.web@gmail.com>
10301
10302 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10303
10304 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10305
10306 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10307 (pop-to-buffer): Change interactive spec. Pass second argument
10308 directly to display-buffer.
10309 (display-buffer): Fix interactive spec. Use functionp to
10310 distinguish between a function and a list of functions.
10311
10312 * abbrev.el (edit-abbrevs):
10313 * arc-mode.el (archive-extract):
10314 * autoinsert.el (auto-insert):
10315 * bookmark.el (bookmark-bmenu-list):
10316 * files.el (find-file):
10317 * view.el (view-buffer):
10318 * progmodes/compile.el (compilation-goto-locus):
10319 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10320
10321 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10322
10323 * window.el (display-buffer-alist): Doc fix.
10324 (display-buffer): Add docstring. Don't treat
10325 display-buffer-default specially.
10326 (display-buffer-reuse-selected-window)
10327 (display-buffer-same-window, display-buffer-maybe-same-window)
10328 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10329 (display-buffer-pop-up-window)
10330 (display-buffer-reuse-or-pop-window)
10331 (display-buffer-use-some-window): New functions.
10332 (display-buffer-default-action): Use them.
10333 (display-buffer-default): Delete.
10334 (pop-to-buffer-1): Fix choice of actions.
10335
10336 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * minibuffer.el (completion--insert-strings): Don't get confused by
10339 completion entries that end with an LF char.
10340
10341 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10342
10343 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10344
10345 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10346
10347 * window.el (display-buffer): Restore interactive spec.
10348 (display-buffer-same-window, display-buffer-other-window):
10349 New functions.
10350 (pop-to-buffer-1): New function. Use the above.
10351 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10352 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10353
10354 * view.el (view-buffer-other-window, view-buffer-other-frame):
10355 Just use pop-to-buffer.
10356
10357 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10358
10359 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10360
10361 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10362
10363 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10364
10365 2011-08-31 Richard Stallman <rms@gnu.org>
10366
10367 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10368 of the separation of rmail-view-buffer from rmail-buffer.
10369 If you say no to "replace original", the decrypt is in the
10370 view buffer. If you say yes, the decrypt goes into the
10371 rmail buffer also.
10372
10373 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10374
10375 * window.el (display-buffer-window): Rewrite doc-string.
10376 (display-buffer-record-window): New function.
10377 (display-buffer-macro-specifiers)
10378 (display-buffer-even-window-sizes, display-buffer-set-height)
10379 (display-buffer-set-width, display-buffer-in-window)
10380 (display-buffer-reuse-window, display-buffer-split-specifiers)
10381 (display-buffer-side-specifiers, display-buffer-split-window-1)
10382 (display-buffer-split-window, display-buffer-split-atom-window)
10383 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10384 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10385 (display-buffer-other-window-means-other-frame)
10386 (display-buffer-normalize-special)
10387 (display-buffer-normalize-default)
10388 (display-buffer-normalize-argument)
10389 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10390 (display-buffer-normalize-specifiers, display-buffer-frame)
10391 (display-buffer-same-window, display-buffer-same-frame)
10392 (display-buffer-other-window)
10393 (display-buffer-same-frame-other-window)
10394 (display-buffer-other-frame, pop-to-buffer-same-window)
10395 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10396 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10397 (switch-to-buffer-same-frame)
10398 (switch-to-buffer-other-window-same-frame)
10399 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10400 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10401 (display-buffer-alist-set): Remove.
10402 (display-buffer-function, special-display-buffer-names)
10403 (special-display-regexps, special-display-function):
10404 In doc-string refer to display-buffer-window and quit-restore
10405 parameter.
10406 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10407 (special-display-frame-alist, special-display-popup-frame)
10408 (same-window-buffer-names, same-window-regexps, same-window-p)
10409 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10410 (split-window-preferred-function, split-height-threshold)
10411 (split-width-threshold, window-splittable-p)
10412 (split-window-sensibly, window--try-to-split-window)
10413 (window--frame-usable-p, even-window-heights)
10414 (window--even-window-heights, window--display-buffer-1)
10415 (window--display-buffer-2, display-buffer-other-frame):
10416 Restore old Emacs 23 code, order and doc-strings where applicable.
10417 (display-buffer-default, display-buffer-assq-regexp): New functions.
10418 (display-buffer-alist): Rewrite doc-string.
10419 (display-buffer-default-action)
10420 (display-buffer-overriding-action): New variables.
10421 (display-buffer, switch-to-buffer): Rewrite.
10422 (pop-to-buffer): Restore Emacs 23 behavior but use
10423 window-normalize-buffer-to-display.
10424 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10425 Restore Emacs 23 behavior but use
10426 window-normalize-buffer-to-switch-to.
10427 (pop-to-buffer-same-window): Rewrite.
10428 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10429 Rewrite using Emacs 23 options.
10430
10431 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10432
10433 * net/tramp.el (tramp-root-regexp): Remove.
10434 (tramp-completion-file-name-regexp-unified)
10435 (tramp-completion-file-name-regexp-separate)
10436 (tramp-completion-file-name-regexp-url): Don't use leading volume
10437 letter on win32 systems. (Bug#5303, Bug#9311)
10438 (tramp-drop-volume-letter): Simplify definition.
10439 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10440
10441 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10442
10443 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10444 (bug#9356).
10445
10446 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10447
10448 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10449
10450 2011-08-29 Juri Linkov <juri@jurta.org>
10451
10452 * isearch.el (isearch-done): Don't display message "Mark saved"
10453 when arg `edit' is non-nil to prevent its flicker in the echo area.
10454
10455 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10456
10457 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10458 obsolete packages for deletion.
10459
10460 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10461
10462 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10463 (help-mode): Derive help-mode from special-mode. Don't invoke
10464 view-mode from help-mode.
10465 (help-xref-override-view-map): Remove.
10466 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10467 view-mode is not used anymore.
10468
10469 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10470
10471 * server.el (server-port): Doc fix.
10472
10473 * cus-theme.el (custom-theme-choose-mode): Inherit from
10474 special-mode (Bug#9124).
10475 (custom-theme-choose-mode-map): Add special-mode to parent.
10476
10477 2011-08-28 Alan Mackenzie <acm@muc.de>
10478
10479 * progmodes/cc-fonts.el
10480 (c-make-font-lock-BO-decl-search-function): New function.
10481 (c-basic-matchers-after - "Fontify the clauses after various
10482 keywords"): Extract the three keyword lists for the 3 erroneous
10483 constructs from the list of four, and use the new function above
10484 in place of an old one.
10485
10486 2011-08-28 Deniz Dogan <deniz@dogan.se>
10487
10488 * net/rcirc.el (rcirc-insert-prev-input)
10489 (rcirc-insert-next-input): Remove unused argument.
10490
10491 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10494
10495 2011-08-27 Alan Mackenzie <acm@muc.de>
10496
10497 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10498 handle function pointer parameters properly.
10499
10500 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10501
10502 * window.el (display-buffer-reuse-window): Fix case where
10503 selected window was reused with non-nil OTHER-WINDOW argument.
10504 (Bug#9381)
10505
10506 2011-08-27 Deniz Dogan <deniz@dogan.se>
10507
10508 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10509 oftc's NickServ messages.
10510
10511 2011-08-27 Glenn Morris <rgm@gnu.org>
10512
10513 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10514
10515 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10516
10517 * emacs-lisp/package.el (package-install): Call package-initialize
10518 if called interactively.
10519
10520 2011-08-26 Leo Liu <sdl.web@gmail.com>
10521
10522 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10523
10524 2011-08-25 Juri Linkov <juri@jurta.org>
10525
10526 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10527 `search-whitespace-regexp' (bug#9364).
10528
10529 2011-08-25 Juri Linkov <juri@jurta.org>
10530
10531 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10532 `regexp-search-ring' to their global values to protect from
10533 updating by `read-from-minibuffer' (bug#9185).
10534
10535 2011-08-25 Juri Linkov <juri@jurta.org>
10536
10537 * textmodes/ispell.el (ispell-command-loop): Add newline
10538 at the end of the "Use option `i'..." line.
10539
10540 2011-08-25 Juri Linkov <juri@jurta.org>
10541
10542 * battery.el (display-battery-mode): If `battery-status-function'
10543 or `battery-mode-line-format' is nil, display the message and set
10544 `display-battery-mode' to nil (bug#9363).
10545
10546 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10547
10548 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10549 bidi-string-mark-left-to-right; they are unnecessary now.
10550
10551 2011-08-25 Deniz Dogan <deniz@dogan.se>
10552
10553 * net/quickurl.el: Documentation typo fixes.
10554
10555 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10556
10557 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10558
10559 2011-08-25 Glenn Morris <rgm@gnu.org>
10560
10561 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10562
10563 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10564 (smtpmail-via-smtp): Handle nil response from smtp.
10565
10566 2011-08-24 Juri Linkov <juri@jurta.org>
10567
10568 * proced.el (proced-marked): Inherit from `error' instead of
10569 `font-lock-warning-face'.
10570
10571 * ibuffer.el (ibuffer-marked-face): Change default face from
10572 `font-lock-warning-face' to `warning'.
10573 (ibuffer-deletion-face): Change default face from
10574 `font-lock-type-face' to `error'.
10575
10576 * battery.el (battery-update): Use the face `error' instead of
10577 `font-lock-warning-face' (bug#6117).
10578
10579 2011-08-24 Juri Linkov <juri@jurta.org>
10580
10581 * faces.el (success): Change face color from "Green3" to
10582 "ForestGreen" on light background (bug#9353).
10583
10584 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10585
10586 * window.el (quit-window): Rename from quit-restore-window.
10587 Use same arglist as old quit-window.
10588 (frame-auto-delete): Doc fix.
10589
10590 * view.el (view-mode-exit): Use quit-window.
10591
10592 2011-08-24 Juri Linkov <juri@jurta.org>
10593
10594 * isearch.el (isearch-ring-adjust1): Start visiting previous
10595 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10596 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10597 for empty search string (when the last search string is reused
10598 automatically) to adjust the isearch ring to the last element and
10599 prepare the correct index for further M-p commands (bug#9185).
10600
10601 2011-08-24 Kenichi Handa <handa@m17n.org>
10602
10603 * international/ucs-normalize.el: If decomposition property of
10604 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10605 nil.
10606 (nfd, nfkd): Likewise.
10607
10608 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10611 from process filters aren't reliably transmitted to the surrounding
10612 accept-process-output.
10613 (mpc-proc-check): New function.
10614 (mpc-proc-sync): Use it (bug#8293)
10615
10616 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10617
10618 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10619 Add compatibility functions (bug#9313).
10620
10621 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10622
10623 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10624
10625 * international/uni-bidi.el: Regenerate.
10626
10627 2011-08-23 Kenichi Handa <handa@m17n.org>
10628
10629 * international/charprop.el:
10630 * international/uni-bidi.el:
10631 * international/uni-category.el:
10632 * international/uni-combining.el:
10633 * international/uni-comment.el:
10634 * international/uni-decimal.el:
10635 * international/uni-decomposition.el:
10636 * international/uni-digit.el:
10637 * international/uni-lowercase.el:
10638 * international/uni-mirrored.el:
10639 * international/uni-name.el:
10640 * international/uni-numeric.el:
10641 * international/uni-old-name.el:
10642 * international/uni-titlecase.el:
10643 * international/uni-uppercase.el: Regenerate.
10644
10645 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10646
10647 * help.el (help-window-setup): Fix message displayed when other
10648 window is reused. (Bug#9341)
10649
10650 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10653 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10654
10655 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10656 Mark obsolete.
10657 * shell.el (shell-parse-pcomplete-arguments): New function.
10658 (shell-completion-vars): Use it instead (bug#9160).
10659
10660 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10661
10662 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10663 strings and comments (bug#9333).
10664
10665 * emacs-lisp/debug.el (debug-arglist): New function.
10666 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10667 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10668
10669 2011-08-22 Juri Linkov <juri@jurta.org>
10670
10671 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10672 Revert regexp that highlights output switches to its old
10673 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10674
10675 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10676 to check for empty output (bug#9226).
10677
10678 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10679
10680 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10681 symbol-constituent as the default, as that stops font-lock from
10682 working properly (Bug#8843).
10683
10684 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10685
10686 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10687 `coding-system-for-*' around the process open call to avoid
10688 auth-source side effects.
10689 (smtpmail-try-auth-methods): Expand the secret password.
10690 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10691 probe hangs.
10692
10693 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10694
10695 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10696
10697 * emacs-lisp/find-func.el (find-function-noselect): New arg
10698 lisp-only.
10699
10700 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10701 signal an error for built-in functions (Bug#6664).
10702
10703 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10704
10705 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10706 (smtpmail-try-auth-methods): Use it.
10707
10708 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10709
10710 * font-lock.el (font-lock-fontify-region)
10711 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10712 (font-lock-default-unfontify-buffer)
10713 (font-lock-default-fontify-region)
10714 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10715
10716 * progmodes/compile.el (compilation-error-properties):
10717 Fix confusion between file struct and message struct (Bug#9319).
10718 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10719 `ant' regexp.
10720
10721 * net/browse-url.el (browse-url-firefox): Don't call
10722 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10723
10724 2011-08-20 Glenn Morris <rgm@gnu.org>
10725
10726 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10727
10728 * tutorial.el (tutorial--default-keys): Update some default bindings.
10729
10730 * files.el (hack-local-variables): Fully ignore case for "mode:".
10731
10732 2011-08-20 Alan Mackenzie <acm@muc.de>
10733
10734 Resolve invalid use of a regexp in regexp-opt.
10735
10736 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10737 detection for a java annotation.
10738
10739 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10740 detection for a java annotation.
10741
10742 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10743 handling for java.
10744 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10745
10746 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
10747
10748 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10749 (Bug#9274).
10750
10751 2011-08-20 Alan Mackenzie <acm@muc.de>
10752
10753 Fontify CPP expressions correctly when starting in the middle of
10754 such a construct. Mainly for when jit-lock etc. starts a chunk
10755 here.
10756
10757 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
10758 variable.
10759 (c-make-font-lock-search-form): New function, extracted from
10760 c-make-font-lock-search-function.
10761 (c-make-font-lock-search-function): Use the above function.
10762 (c-make-font-lock-context-search-function): New function.
10763 (c-cpp-matchers): Enhance the preprocessor expression case with
10764 the above function
10765 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10766 which takes an expression.
10767
10768 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10769
10770 2011-08-20 Martin Rudalics <rudalics@gmx.at>
10771
10772 * window.el (display-buffer-reuse-window)
10773 (display-buffer-pop-up-window): Don't reuse or split a side
10774 window.
10775
10776 2011-08-19 Glenn Morris <rgm@gnu.org>
10777
10778 * files.el (hack-local-variables-prop-line, hack-local-variables):
10779 Downcase "Mode:". (Bug#9331)
10780
10781 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
10782
10783 * international/characters.el: Add L and R categories.
10784
10785 * subr.el (bidi-string-mark-left-to-right): Rename from
10786 string-mark-left-to-right. Use category search.
10787
10788 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10789
10790 2011-08-18 Juri Linkov <juri@jurta.org>
10791
10792 * faces.el (error, warning, success): New faces with definitions
10793 copied from old default values of `font-lock-warning-face',
10794 `compilation-warning', `compilation-info' (bug#6117).
10795
10796 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10797
10798 * progmodes/compile.el (compilation-error): Inherit from `error'.
10799 (compilation-warning): Inherit from `warning'.
10800 (compilation-info): Inherit from `success'.
10801
10802 * dired.el (dired-marked): Inherit from `warning'.
10803 (dired-flagged): Inherit from `error'.
10804
10805 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10806
10807 * mail/smtpmail.el (auth-source): Require to avoid problems with
10808 binding variables (bug#9298). Also clean up some unused
10809 autoloads.
10810
10811 * net/network-stream.el (network-stream-open-starttls):
10812 Support using starttls.el without using gnutls-cli.
10813
10814 2011-08-17 Juri Linkov <juri@jurta.org>
10815
10816 * progmodes/grep.el (rgrep): Handle the case when
10817 `grep-find-command' is a cons cell (bug#9278).
10818
10819 2011-08-17 Martin Rudalics <rudalics@gmx.at>
10820
10821 * window.el (display-buffer-pop-up-frame): Run frame creation
10822 function with BUFFER current (as special-display-popup-frame
10823 does). Reported by Drew Adams.
10824
10825 2011-08-17 Daiki Ueno <ueno@unixuser.org>
10826
10827 * epa-mail.el: Simplify GnuPG group expansion using
10828 epg-expand-group.
10829 (epa-mail-group-alist, epa-mail-group-modtime)
10830 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10831 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10832 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10833 Remove.
10834
10835 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
10836
10837 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10838
10839 2011-08-16 Alan Mackenzie <acm@muc.de>
10840
10841 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10842 Correct, to avoid the inside of macros.
10843
10844 2011-08-16 Richard Stallman <rms@gnu.org>
10845
10846 * epa-mail.el: Handle GnuPG group definitions.
10847 (epa-mail-group-alist, epa-mail-group-modtime)
10848 (epa-mail-gnupg-conf-file): New variables.
10849 (epa-mail-parse-groups, epa-mail-sync-groups)
10850 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10851 (epa-mail-expand-recipients): New functions.
10852 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10853
10854 * mail/rmail.el (rmail-epa-decrypt): New command.
10855
10856 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10857 Don't bind buffer-read-only, just inhibit-read-only.
10858 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10859 (epa-decrypt-armor-in-region): Make error message clearer.
10860
10861 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10864 and "a2b" to "ab" for `prefix'.
10865
10866 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10867
10868 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10869 filter groups.
10870 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10871 Fourquet (Bug#8804).
10872
10873 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10874
10875 * startup.el (argi): Declare as global variable (bug#9275).
10876
10877 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10878
10879 * subr.el (string-mark-left-to-right): Search the entire string
10880 for RTL script, not just the terminating character. Doc fix.
10881
10882 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10885 New function.
10886 (js--regexp-literal, js-syntax-propertize-function): Remove.
10887 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10888 (js-mode-map): Don't rebind electric keys.
10889 (js-insert-and-indent): Remove.
10890 (js-mode): Setup electric-layout and electric-indent instead.
10891
10892 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10893
10894 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10895
10896 * epa.el (epa-progress-callback-function): Fix the logic of
10897 displaying progress.
10898 * epa-file.el (epa-file-insert-file-contents): Make progress
10899 display more user-friendly.
10900 (epa-file-write-region): Ditto.
10901
10902 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10903
10904 * subr.el (string-mark-left-to-right): New function.
10905
10906 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10907 Use string-mark-left-to-right.
10908 (list-buffers-noselect): Caller changed.
10909
10910 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10911 Use string-mark-left-to-right.
10912 (tabulated-list-print): Recenter after moving point.
10913
10914 2011-08-10 Juri Linkov <juri@jurta.org>
10915
10916 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10917 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10918 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10919
10920 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10921
10922 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10923 (Bug#7554).
10924
10925 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10926
10927 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10928 character. (Bug#6594)
10929
10930 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10931
10932 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10933 (image-dired--with-db-file): New macro.
10934 (image-dired-write-tags, image-dired-remove-tag)
10935 (image-dired-create-gallery-lists, image-dired-write-comments)
10936 (image-dired-get-comment, image-dired-mark-tagged-files)
10937 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10938 (image-dired-gallery-generate): Use insert-file-contents.
10939
10940 * time.el (display-time-world-list, display-time-world-display):
10941 * time-stamp.el (time-stamp-string):
10942 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10943 set-time-zone-rule (Bug#7337).
10944
10945 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10946
10947 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10948 (epg-error-to-string, epg-errors-to-string): New function.
10949 (epg-wait-for-completion): Reverse errors list.
10950 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10951 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10952 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10953 (epg-sign-keys, epg-generate-key-from-file)
10954 (epg-generate-key-from-string): Format errors by using
10955 epg-errors-to-string (bug#9255).
10956 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10957
10958 2011-08-07 Juri Linkov <juri@jurta.org>
10959
10960 * faces.el (list-faces-display): Remove extra angle bracket
10961 from `help-mode-map'.
10962
10963 * info.el (Info-history-toc-nodes): Doc fix.
10964
10965 * longlines.el (longlines-mode): Doc fix.
10966
10967 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10968
10969 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10970 of statements and in a few more cases (bug#9183).
10971
10972 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10973 New functions.
10974 (cl-transform-lambda): Use them (bug#9239).
10975
10976 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10977
10978 * window.el (display-buffer-same-window)
10979 (display-buffer-same-frame, display-buffer-other-window)
10980 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10981 (pop-to-buffer-other-window)
10982 (pop-to-buffer-same-frame-other-window)
10983 (pop-to-buffer-other-frame): Make them defuns.
10984 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10985
10986 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * subr.el (make-composed-keymap): Move from C. Change calling
10989 convention, and improve docstring to bring attention to a subtle point.
10990 * minibuffer.el (completing-read-default): Adjust accordingly.
10991
10992 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10993
10994 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10995 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10996
10997 * net/trampver.el: Update release number.
10998
10999 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11000
11001 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11002 "in" (bug#9190).
11003
11004 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11005
11006 * mail/sendmail.el (sendmail-query-once): Restore the current
11007 buffer after querying (bug#9074).
11008
11009 * dired.el (dired-flagged): Use different faces for marked and
11010 flagged files (bug#6117).
11011
11012 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11013 (bug#4433).
11014
11015 * ido.el (ido-mode): Switch off the message if called
11016 non-interactively.
11017
11018 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11019 before 587, since it appears that that's more likely to work for
11020 more people.
11021
11022 * cus-edit.el (custom-file): When running under emacs -q, always
11023 refuse to save the customizations, even if the .emacs file doesn't
11024 exist.
11025
11026 * info.el: Remove the `Info-beginning-of-buffer' function
11027 (bug#8325).
11028
11029 * net/network-stream.el (network-stream-open-starttls):
11030 Use `starttls-available-p' to see whether starttls.el can be used.
11031
11032 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11033
11034 * window.el (display-buffer-in-window): Don't set dedicated status
11035 of window here (Bug#9215).
11036 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11037 (display-buffer-pop-up-side-window)
11038 (display-buffer-in-side-window): Set dedicated status of window here.
11039
11040 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11041
11042 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11043 before binding generated-autoload-file.
11044
11045 2011-08-01 Deniz Dogan <deniz@dogan.se>
11046
11047 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11048
11049 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11050
11051 Sync with Tramp 2.2.2.
11052
11053 * net/trampver.el: Update release number.
11054
11055 2011-07-30 Juri Linkov <juri@jurta.org>
11056
11057 * dired-aux.el (dired-touch-initial): Remove function.
11058 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11059 current time, and `default' to the last modification time of the
11060 current marked file (bug#6887).
11061
11062 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11063
11064 * simple.el (goto-line): Use string-to-number to provide a
11065 numeric argument to read-number (bug#9163).
11066
11067 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11068
11069 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11070 connection process, it could be nil.
11071
11072 2011-07-27 Leo Liu <sdl.web@gmail.com>
11073
11074 Simplify url handling in rcirc-mode.
11075
11076 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11077 (rcirc-browse-url-at-mouse): Remove.
11078 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11079
11080 2011-07-26 Alan Mackenzie <acm@muc.de>
11081
11082 Fontify bitfield declarations properly.
11083
11084 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11085 (c-symbol-chars): Now exported as a lang variable.
11086 (c-not-primitive-type-keywords): New lang variable.
11087
11088 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11089 QT keyword "more" to prevent "more slots: ...." being spuriously
11090 parsed as a bitfield declaration.
11091
11092 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11093 Refactor and enhance to handle bitfield declarations.
11094 (c-punctuation-in): New function.
11095 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11096 declarations properly.
11097
11098 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11099
11100 * calendar/icalendar.el (icalendar--all-events): Take care of
11101 multiple vcalendars in a single file.
11102 (icalendar--convert-float-to-ical): Checkdoc fixes.
11103
11104 2011-07-25 Deniz Dogan <deniz@dogan.se>
11105
11106 * image.el (insert-image): Clarifying docstring.
11107
11108 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11109
11110 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11111 `tramp-send-command-and-check' if there is no error.
11112 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11113
11114 2011-07-22 Alan Mackenzie <acm@muc.de>
11115
11116 Prevent cc-langs.elc being loaded at run time.
11117
11118 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11119 cc-langs.
11120
11121 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11122 "(require 'cc-langs)". Quote a form so it will evaluate at
11123 (cc-mode's) compilation time.
11124
11125 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11126
11127 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11128 loading. (Bug#9114)
11129
11130 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11131
11132 * window.el (display-buffer-pop-up-window)
11133 (display-buffer-pop-up-side-window)
11134 (display-buffer-in-side-window): Call display-buffer-set-height
11135 and display-buffer-set-width after setting the new window's
11136 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11137
11138 2011-07-20 Sam Steingold <sds@gnu.org>
11139
11140 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11141 (etags-tags-included-tables): Call `convert-standard-filename' on
11142 the file names contained in TAGS so that windows Emacs can handle
11143 TAGS files created by cygwin ctags.
11144
11145 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11146
11147 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11148 which apparently didn't work.
11149
11150 2011-07-19 Roland Winkler <winkler@gnu.org>
11151
11152 * proced.el (proced-send-signal): For *Marked Processes* buffer
11153 put point at beginning of buffer.
11154
11155 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11156
11157 * proced.el (proced-format): Make header lines align with the text
11158 (bug#1779).
11159
11160 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11161
11162 * view.el (view-buffer): Allow running in `special' modes if we're
11163 visiting a file (bug#8615).
11164
11165 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11166
11167 * window.el (display-buffer-alist-of-strings-p)
11168 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11169 New functions.
11170 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11171 more accurately.
11172
11173 2011-07-18 Alan Mackenzie <acm@muc.de>
11174
11175 Fontify declarators properly when, e.g., a jit-lock chunk begins
11176 inside a declaration.
11177
11178 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11179
11180 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11181 New function.
11182 (c-complex-decl-matchers): Insert reference to
11183 c-font-lock-enclosing-decls.
11184
11185 * progmodes/cc-engine.el (c-backward-single-comment):
11186 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11187 to nil around calls to (forward-comment -1).
11188
11189 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11190
11191 * image.el (put-image): Doc typo fix.
11192
11193 * progmodes/etags.el (tags-search): Doc typo fix.
11194
11195 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11196 password if we get errors 550 to 554.
11197
11198 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11199
11200 * net/gnutls.el (gnutls-log-level): Remove.
11201
11202 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11203 indentation character (bug#6380).
11204
11205 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11206
11207 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11208 to clarify what the problem is (bug#4291).
11209
11210 * simple.el (current-kill): Clarify what
11211 `interprogram-paste-function' does (bug#7500).
11212 (auto-fill-mode): Document `auto-fill-function' in relation to
11213 `auto-fill-mode' (bug#2470).
11214
11215 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11216
11217 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11218 method if slot is read-only (bug#9035).
11219
11220 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11221
11222 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11223 * window.el (pop-to-buffer): Select window used even if it was
11224 selected before, see discussion of (Bug#8615), (Bug#6954).
11225 Pass argument NORECORD on to select-frame-set-input-focus.
11226
11227 2011-07-15 Glenn Morris <rgm@gnu.org>
11228
11229 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11230 Respect help-form.
11231
11232 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11233
11234 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11235 (gnutls-negotiate): Use it.
11236
11237 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11238
11239 * net/gnutls.el (gnutls-negotiate):
11240 Upcase `gnutls-algorithm-priority'.
11241
11242 2011-07-15 Glenn Morris <rgm@gnu.org>
11243
11244 * jka-compr.el (jka-compr-verbose): Move from here...
11245 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11246 Add missing :version tag.
11247 * info.el: No need to require jka-compr when compiling.
11248
11249 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11250
11251 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11252 (gnutls-negotiate): Use it.
11253
11254 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11255
11256 * info.el (Info-beginning-of-buffer): New command.
11257 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11258 announcing `b' as the key (bug#8325).
11259 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11260
11261 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11262
11263 * international/mule-cmds.el
11264 (describe-specified-language-support): Make the error message
11265 clearer (bug#8905).
11266
11267 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11268
11269 * isearch.el (isearch-barrier): Add a doc string, since it's
11270 mentioned in a function doc string (bug#8678).
11271
11272 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11273
11274 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11275 buffer argument (Bug#9083) and self-identifying label argument.
11276
11277 2011-07-15 Glenn Morris <rgm@gnu.org>
11278
11279 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11280
11281 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11282
11283 * man.el (Man-fontify-manpage): Fix message when formatting the
11284 man page (bug#7929).
11285
11286 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11287
11288 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11289 argument LRM; if non-nil, append an invisible LRM character to the
11290 buffer name.
11291 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11292 last argument non-nil, when formatting buffer names.
11293 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11294 paragraph direction.
11295
11296 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11297
11298 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11299 the man page name (bug#7929).
11300
11301 * image.el (put-image): Mention the `put-image' overlay property
11302 (bug#7834).
11303
11304 * scroll-bar.el (set-scroll-bar-mode): Mention that
11305 `scroll-bar-mode' lists the values (bug#7772).
11306
11307 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11308 command (bug#7729).
11309
11310 * rect.el (apply-on-rectangle): Return the point after the last
11311 operation.
11312 (string-rectangle): Go to the point after the last operation
11313 (bug#7522).
11314
11315 * printing.el (pr-toggle-region): Clarify the documentation
11316 slightly (bug#7493).
11317
11318 * time.el (display-time-update):
11319 Allow `display-time-mail-function' to return nil (bug#7158).
11320 Fix suggested by Detlev Zundel.
11321
11322 * vc/diff.el (diff): Clarify the order the file names are read
11323 (bug#7111).
11324
11325 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11326 the doc string (bug#7015).
11327
11328 * font-lock.el (font-lock-maximum-decoration): Mention what
11329 numeric levels mean (bug#6935).
11330
11331 * startup.el (initial-buffer-choice): Don't mention the `none'
11332 selection, which is against policy.
11333
11334 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11335
11336 * window.el (display-buffer-normalize-special):
11337 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11338
11339 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11340
11341 * subr.el (version<, version<=, version=): Mention "-CVS" and
11342 "-12345" alpha version numbers.
11343
11344 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11345
11346 * bindings.el: Add advertised binding for set-mark-command
11347 (Bug#5772).
11348
11349 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11350
11351 * bindings.el (mode-line-other-buffer):
11352 * bookmark.el (bookmark-bmenu-2-window):
11353 * bs.el (bs-cycle-next, bs-cycle-previous):
11354 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11355 switch-to-buffer.
11356
11357 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11358 Delete.
11359
11360 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11361
11362 * follow.el (follow-debug-message, follow-redisplay):
11363 * jka-cmpr-hook.el (with-auto-compression-mode):
11364 Fix typos in docstrings.
11365
11366 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11367
11368 * subr.el (with-silent-modifications): Clarify somewhat what the
11369 macro inhibits (bug#6525).
11370
11371 * simple.el (eval-expression): Note what it does if called
11372 interactively (bug#6495).
11373
11374 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11375
11376 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11377 Use pop-to-buffer buffer-or-name if it is nil.
11378
11379 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11380 Remove switch-to-buffer.
11381
11382 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11383
11384 * files.el (make-directory): Clarify that an error will be raised
11385 if there's an error (bug#6397).
11386
11387 * startup.el (initial-buffer-choice): Add `none' as a choice
11388 (bug#6234).
11389
11390 * subr.el (add-hook): Clarify section about buffer-local hooks
11391 (bug#6218).
11392
11393 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11394
11395 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11396
11397 * tabify.el (untabify): Preserve the current column so that point
11398 doesn't move (bug#6032).
11399
11400 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11401
11402 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11403 Rewrite to avoid awkward possessive "s" (bug#5986).
11404
11405 2011-07-13 Glenn Morris <rgm@gnu.org>
11406
11407 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11408 (dired-insert-directory): Give a message the first time
11409 if ls is found not to support --dired.
11410
11411 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11412
11413 * simple.el (toggle-truncate-lines): Clarify what is toggled
11414 (bug#5580). Text by Drew Adams.
11415
11416 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11417
11418 * simple.el (blink-matching-open): Make the error message from the
11419 last change less verbose.
11420
11421 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11422
11423 * font-lock.el (font-lock-comment-face): Use the high contrast
11424 "yellow" color for font-lock-comment-face on low color terminals
11425 using a dark background color (bug#4221).
11426
11427 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11428
11429 * dired.el (dired-insert-set-properties): Make the doc string
11430 reflect what it does now (bug#5325).
11431
11432 * simple.el (blink-matching-open): Say that we were unable to find
11433 the match within the limit, if we're limited (bug#5122).
11434
11435 * international/mule-cmds.el (prefer-coding-system): Add an
11436 example (bug#4869).
11437
11438 * progmodes/etags.el (tags-search): Document `file-list-form'
11439 (bug#4731).
11440
11441 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11442
11443 * net/browse-url.el (browse-url-default-browser)
11444 (browse-url-browser-function): Make the default browser choice a
11445 bit more logical (bug#4300). Also clean up the doc string.
11446
11447 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11448
11449 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11450 binary endings (bug#4440).
11451
11452 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11453
11454 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11455 which can be pretty annoying (bug#8971).
11456
11457 * jka-compr.el (jka-compr-verbose): New variable, and use
11458 throughout (bug#8971).
11459
11460 * info.el (Info-find-file): Fall back on the installation
11461 directory if we can't find the info node anywhere else.
11462
11463 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11464
11465 * vc/vc.el (vc-revert-file):
11466 Don't set file time-stamp in the past. (Bug#5181)
11467
11468 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11469
11470 * files.el (after-find-file): Give a better error message when
11471 trying to find a symlink that points to a file that doesn't exist
11472 (bug#4398).
11473
11474 * progmodes/cc-vars.el: Remove (probably) misleading comment
11475 (bug#4396).
11476
11477 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11478
11479 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11480
11481 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11482
11483 * mouse-sel.el: Hack restoring functionality, while keeping
11484 compatibility with 2010-07-03 changes to mouse selection.
11485 (mouse-sel-primary-overlay): New var.
11486 (mouse-sel-selection-alist): Use it.
11487 (mouse-sel-mode): Doc fix; remove points that are default features
11488 of mouse.el.
11489
11490 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11491
11492 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11493 Fix previous fix (bug#2490).
11494
11495 2011-07-12 Roland Winkler <winkler@gnu.org>
11496
11497 * textmodes/bibtex.el (bibtex-initialize):
11498 Use pop-to-buffer-same-window.
11499 (bibtex-search-entries): Fix interactive call.
11500
11501 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11502
11503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11504 Fontise bytecomp Error lines more correctly (bug#2490).
11505 Fix suggested by Johan Bockgård.
11506
11507 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11508
11509 * dired-x.el (dired-guess-default): Use `delete-dups'.
11510
11511 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11512
11513 * dired.el (dired-mark-prompt):
11514 * dired-aux.el (dired-read-shell-command): Doc fix.
11515
11516 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11517
11518 * mail/sendmail.el (sendmail-query-once):
11519 Use `customize-save-variable' unconditionally, now that it works under
11520 emacs -Q.
11521
11522 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11523
11524 * cus-edit.el (custom-file): Take an optional no-error variable.
11525 (customize-save-variable): Set the variable, and give a warning if
11526 running under "emacs -q".
11527
11528 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11529
11530 * loadhist.el (unload-feature-special-hooks):
11531 Add `auto-coding-functions', `fill-nobreak-predicate' and
11532 `find-directory-functions' (bug#5327).
11533
11534 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11535
11536 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11537
11538 * cus-edit.el (custom-guess-name-alist): -alist variables should
11539 use the `alist' type (bug#3120). Suggested by Drew Adams.
11540
11541 * printing.el: Add documentation to all the `pr-toggle-' commands.
11542
11543 2011-07-11 Leo Liu <sdl.web@gmail.com>
11544
11545 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11546 backends where it makes sense (bug#2623).
11547
11548 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11549
11550 * dired-x.el (dired-guess-default): Remove duplicate shell command
11551 entries (bug#2028).
11552 (dired-guess-default): Fix grammar in doc string (bug#2028).
11553 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11554
11555 * subr.el (remove-duplicates): New conveniency function.
11556
11557 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11558
11559 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11560 (bug#1526).
11561
11562 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11563
11564 * window.el (display-buffer-normalize-default): Don't invert
11565 meaning of even-window-heights. Reported by Eli Zaretskii
11566 <eliz@gnu.org>.
11567
11568 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11569
11570 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11571
11572 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11573
11574 * window.el (display-buffer): Fix arguments to
11575 display-buffer-reuse-window in last change.
11576
11577 * faces.el (link): Use a less saturated blue on light backgrounds.
11578
11579 * startup.el (fancy-startup-text, fancy-about-text)
11580 (fancy-startup-tail): Use font-lock faces, for background safety.
11581
11582 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11583
11584 * emulation/viper-cmd.el (viper-change-state-to-vi):
11585 Limit triggering of abbrev expansion (Bug#9038).
11586
11587 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11588
11589 * window.el (display-buffer-default-specifiers): Remove.
11590 (display-buffer-macro-specifiers): Remove default specifiers.
11591 (display-buffer-alist): Default to nil.
11592 (display-buffer-reuse-window): New optional argument other-window.
11593 (display-buffer-pop-up-window): Allow splitting internal
11594 windows. Check whether a live window was created.
11595 (display-buffer-other-window-means-other-frame)
11596 (display-buffer-normalize-arguments): Rename to
11597 display-buffer-normalize-argument and rewrite. Set the
11598 other-window specifier.
11599 (display-buffer-normalize-special): New function.
11600 (display-buffer-normalize-options): Rename to
11601 display-buffer-normalize-default and rewrite.
11602 (display-buffer-normalize-options-inhibit): Remove.
11603 (display-buffer-normalize-specifiers): Rewrite.
11604 (display-buffer): Process other-window specifier and call
11605 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11606 more faithfully.
11607 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11608 (display-buffer-alist-set): Don't handle 'unset default values.
11609 (display-buffer-in-window, display-buffer-alist-set):
11610 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11611 <tassilo@member.fsf.org>.
11612
11613 2011-07-09 Leo Liu <sdl.web@gmail.com>
11614
11615 * register.el (insert-register): Restore accidental change on
11616 2011-06-26. (Bug#9028)
11617
11618 2011-07-09 Glenn Morris <rgm@gnu.org>
11619
11620 * subr.el (remq): Handle the empty list. (Bug#9024)
11621
11622 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11623
11624 * mail/sendmail.el (send-mail-function): No longer delay custom
11625 initialization.
11626 * custom.el (custom-initialize-delay): Doc fix.
11627
11628 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11631
11632 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11633
11634 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11635 human-friendly prompt.
11636
11637 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11640 provided by a particular plugin.
11641
11642 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11643
11644 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11645 save customizations (with "emacs -Q"), just set the variable
11646 instead of erroring out.
11647
11648 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11649
11650 2011-07-08 Juri Linkov <juri@jurta.org>
11651
11652 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11653 (archive-zip-update-case): Use 7z if found by `executable-find'.
11654 The order of searching the available programs is the same as in
11655 `archive-zip-extract' (bug#8968).
11656
11657 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11658
11659 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11660 (menu-bar-options-menu): Tweak descriptions.
11661
11662 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11663
11664 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11665 menu items into verb phrases (bug#1421). Also refill to fit under
11666 80 columns.
11667
11668 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11669
11670 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11671 (Info-read-node-name): Doc fix (Bug#1084).
11672
11673 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11674 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11675 (end-of-sexp, beginning-of-sexp)
11676 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11677 (forward-symbol, forward-same-syntax, word-at-point)
11678 (sentence-at-point): Doc fix (Bug#1144).
11679
11680 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11681
11682 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11683 should cover it (bug#1281).
11684
11685 * cus-edit.el (custom-show): Mark as obsolete.
11686
11687 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11688 negotiation fails, then possibly try again with a non-encrypted
11689 connection (bug#9017).
11690
11691 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11692 be used.
11693
11694 2011-07-07 Richard Stallman <rms@gnu.org>
11695
11696 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11697 property, and handle its changed format.
11698 Look for the correct line number.
11699 Use file's line contents (but not past first =) to find
11700 correct line in message.
11701
11702 2011-07-07 Kenichi Handa <handa@m17n.org>
11703
11704 * international/characters.el (build-unicode-category-table):
11705 Delete it.
11706 (unicode-category-table): Set it by unicode-property-table-internal.
11707
11708 * international/mule-cmds.el (char-code-property-alist): Move to
11709 to src/chartab.c.
11710 (get-char-code-property): Call unicode-property-table-internal to
11711 load a file. Call get-unicode-property-internal where necessary.
11712 (put-char-code-property): Call unicode-property-table-internal to
11713 load a file. Call put-unicode-property-internal where necessary.
11714 put-unicode-property-internal where necessary.
11715 (char-code-property-description):
11716 Call unicode-property-table-internal to load a file.
11717
11718 * international/charprop.el:
11719 * international/uni-bidi.el:
11720 * international/uni-category.el:
11721 * international/uni-combining.el:
11722 * international/uni-comment.el:
11723 * international/uni-decimal.el:
11724 * international/uni-decomposition.el:
11725 * international/uni-digit.el:
11726 * international/uni-lowercase.el:
11727 * international/uni-mirrored.el:
11728 * international/uni-name.el:
11729 * international/uni-numeric.el:
11730 * international/uni-old-name.el:
11731 * international/uni-titlecase.el:
11732 * international/uni-uppercase.el: Regenerate.
11733
11734 * loadup.el: Load international/charprop.el before
11735 international/characters.
11736
11737 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11738
11739 * window.el (next-buffer, previous-buffer): Signal an error if
11740 called from a minibuffer window.
11741
11742 * bindings.el: Revert 2011-07-04 change.
11743
11744 2011-07-06 Richard Stallman <rms@gnu.org>
11745
11746 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11747 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11748 Treat markers like ints.
11749 (rmail-mime-entity): Doc fix.
11750
11751 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11752
11753 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11754 defcustom again for backwards compatibility.
11755
11756 * simple.el (shell-command-on-region): Fill.
11757
11758 * dired-aux.el (dired-kill-line): Add a doc string.
11759
11760 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11761 to "\\sw\\|\\s_" (bug#358).
11762
11763 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11764 (dired-unmark-backward): Ditto.
11765 (dired-flag-backup-files): Ditto.
11766
11767 * dired-x.el (dired-mark-sexp): Ditto.
11768
11769 2011-07-06 Richard Stallman <rms@gnu.org>
11770
11771 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11772 (rmail-mime-entity): New arg TRUNCATED.
11773 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11774 New functions.
11775 (rmail-mime-save): Warn if entity is truncated.
11776 (rmail-mime-toggle-hidden): Likewise, for showing.
11777 (rmail-mime-process-multipart): Record when an entity is truncated.
11778
11779 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11780 if ENTITY is a string.
11781
11782 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11783
11784 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11785 of faces when `M-C-x'-ing their definitions (bug#8378).
11786 Also clean up the code slightly.
11787
11788 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11789 because that makes the colors go away.
11790
11791 * mail/sendmail.el (send-mail-function): Change the default to
11792 `sendmail-query-once'.
11793 (sendmail-query-once): Add an autoload cookie.
11794
11795 * net/network-stream.el (network-stream-open-starttls): Try using
11796 a plain connection even if the server offered STARTTLS, and we
11797 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11798 capability. This should make smtpmail.el work in slightly more
11799 configurations.
11800
11801 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
11802
11803 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11804 New defun.
11805 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11806
11807 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11808
11809 * progmodes/sql.el: Version 3.0
11810 (sql-product-alist): Add product :completion-object,
11811 :completion-column, and :statement attributes.
11812 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11813 (sql-mode-syntax-table): Mark all punctuation.
11814 (sql-font-lock-keywords-builder): Temporarily remove fallback on
11815 ansi keywords.
11816 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11817 (sql-mode-oracle-font-lock-keywords): Improve.
11818 (sql-oracle-show-reserved-words): New function for development.
11819 (sql-product-font-lock): Simplify for source code buffers.
11820 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11821 New functions.
11822 (sql-highlight-product): Set product specific syntax table.
11823 (sql-mode-map): Add statement movement functions.
11824 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11825 New variable.
11826 (sql-statement-regexp, sql-beginning-of-statement)
11827 (sql-end-of-statement, sql-signum): New functions.
11828 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11829 (sql-show-sqli-buffer): Bug fix.
11830 (sql-interactive-mode): Store connection data as buffer local.
11831 (sql-connect): Add NEW-NAME parameter. Redesign interaction
11832 with sql-interactive-mode.
11833 (sql-save-connection): Save buffer local settings.
11834 (sql-connection-menu-filter): Change menu entry name.
11835 (sql-product-interactive): Bug fix.
11836 (sql-preoutput-hold): New variable.
11837 (sql-interactive-remove-continuation-prompt): Bug fixes.
11838 (sql-debug-redirect): New variable.
11839 (sql-str-literal): New function.
11840 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11841 Redesign.
11842 (sql-oracle-save-settings, sql-oracle-restore-settings)
11843 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11844 (sql-completion-object, sql-completion-column)
11845 (sql-completion-sqlbuf): New variables.
11846 (sql-build-completions-1, sql-build-completions)
11847 (sql-try-completion): New functions.
11848 (sql-read-table-name): Use them.
11849 (sql-contains-names): New buffer local variable.
11850 (sql-list-all, sql-list-table): Use it.
11851 (sql-oracle-completion-types): New variable.
11852 (sql-oracle-completion-object, sql-sqlite-completion-object)
11853 (sql-postgres-completion-object): New functions.
11854
11855 2011-07-06 Glenn Morris <rgm@gnu.org>
11856
11857 * window.el (pop-to-buffer): Doc fix.
11858
11859 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11860
11861 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11862
11863 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11864
11865 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11866
11867 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11868
11869 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11870
11871 * button.el (button): Inherit from link face. Suggested by Dan
11872 Nicolaescu.
11873
11874 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11875
11876 * progmodes/gdb-mi.el: Fit in 80 columns.
11877 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11878 switch-to-buffer.
11879
11880 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11881 if imenu is simply not configured (bug#8941).
11882
11883 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11884
11885 * allout.el (allout-post-undo-hook): New allout outline-change
11886 event hook to signal undo activity.
11887 (allout-post-command-business): Run allout-post-undo-hook if an
11888 undo just occurred.
11889 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11890 * allout-widgets.el (allout-widgets-after-undo-function):
11891 Ensure the integrity of the current item's decoration after it has been
11892 in the vicinity of an undo.
11893 (allout-widgets-mode): Include allout-widgets-after-undo-function
11894 on the new allout-post-undo-hook.
11895
11896 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11897
11898 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11899 Let define-derived-mode define it.
11900 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11901 cycles of abbrev-table inheritance (bug#8998).
11902
11903 2011-07-05 Roland Winkler <winkler@gnu.org>
11904
11905 * textmodes/bibtex.el: Add support for biblatex.
11906 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11907 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11908 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11909 (bibtex-entry-alist, bibtex-field-alist): New variables.
11910 (bibtex-entry-field-alist): Obsolete alias for
11911 bibtex-BibTeX-entry-alist.
11912 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11913 (bibtex-set-dialect): New command.
11914 (bibtex-entry-type, bibtex-entry-head)
11915 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11916 Bind via bibtex-set-dialect.
11917 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11918 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11919 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11920 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11921 Define via bibtex-set-dialect.
11922 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11923 Obey bibtex-no-opt-remove-re.
11924 (bibtex-vec-push, bibtex-vec-incr): New functions.
11925 (bibtex-format-entry, bibtex-field-list)
11926 (bibtex-print-help-message, bibtex-validate)
11927 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11928
11929 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * progmodes/compile.el (compilation-goto-locus):
11932 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11933 * bs.el (bs-cycle-next, bs-cycle-previous):
11934 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11935 * bindings.el (mode-line-other-buffer):
11936 * autoinsert.el (auto-insert):
11937 * arc-mode.el (archive-extract):
11938 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11939
11940 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11941
11942 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11943 Fix check of `emacs-lock-unlockable-modes'.
11944 Coerce true values of `emacs-lock--try-unlocking' to t.
11945
11946 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11947
11948 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11949 * emacs-lock.el: New file.
11950
11951 2011-07-05 Julien Danjou <julien@danjou.info>
11952
11953 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11954 than `boundp' to check if face is set.
11955
11956 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11957
11958 * register.el (registerv-make):
11959 * window.el (window-min-height): Fix typos in docstrings.
11960
11961 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11962
11963 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11964 Update doc string.
11965
11966 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11967
11968 * server.el (server-execute): Catch quit and call
11969 `server-return-error' to pass the error back to emacsclient and
11970 close the connection (bug#8942).
11971
11972 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11973
11974 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11975 insecure exception for current topic. Also note that auto-saves
11976 are handled differently.
11977
11978 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11979 State variables for tracking auto-save inhibition situation.
11980
11981 (allout-write-contents-hook-handler): Rename from
11982 'allout-write-file-hook-handler', and describe how it depends on
11983 write-contents-functions sensitivity to non-nil value to prevent
11984 file write.
11985
11986 (allout-auto-save-hook-handler): Remove. auto-save does not check
11987 this in individual buffers, only in the starting buffer, so this
11988 is not the right way for us to inhibit auto-save in a buffer
11989 according to its condition.
11990
11991 (allout-mode): Use new allout-write-contents-hook-handler, and
11992 only with write-contents-functions. Remove auto-save provisions -
11993 they're implemented elsewhere.
11994
11995 (allout-before-change-handler): If undo is in progress, note that
11996 for attention of allout-post-command-business.
11997
11998 (allout-post-command-business): If the command we're following was
11999 an undo, check for change in the status of encrypted items and
12000 adjust auto-save inhibitions accordingly.
12001
12002 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12003 according to whether there are or aren't any plain-text topics
12004 pending encryption.
12005
12006 (allout-inhibit-auto-save-info-for-decryption):
12007 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12008 if there are plain-text topics pending encryption.
12009
12010 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12011 buffer-saved-size and some allout state to not inhibit auto-saves
12012 if there are no longer any plain-text topics pending encryption.
12013
12014 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12015 No longer provide for exemption of the current topic.
12016
12017 2011-07-04 Juri Linkov <juri@jurta.org>
12018
12019 Add 7z operations to delete and save changed members (bug#8968).
12020 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12021 New defcustoms.
12022 (archive-7z-write-file-member): New function.
12023 (archive-7z-summarize): Fix the number of dashes in the
12024 listing output.
12025
12026 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12029 (bug#8958).
12030
12031 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12032
12033 * bindings.el: Ignore next-buffer and previous-buffer in
12034 minibuffer-local-map.
12035
12036 * font-lock.el (font-lock-builtin-face): Change light background
12037 color to dark slate blue (Bug#6693).
12038
12039 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12040
12041 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12042
12043 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12044
12045 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12046 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12047 Add switch-to-buffer.
12048
12049 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12050
12051 * isearch.el (isearch-search-fun-function): Clarify further the
12052 meaning of the function returned.
12053
12054 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12055
12056 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12057
12058 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12059 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12060 Use it.
12061 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12062 `tramp-default-remote-path' does not exist.
12063 (tramp-send-command-and-read): New optional argument NOERROR.
12064 (tramp-open-connection-setup-interactive-shell)
12065 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12066 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12067 (tramp-process-sentinel): Flush also process' connection property.
12068 (tramp-sh-handle-start-file-process): Do not set process
12069 sentinel. It is done now ...
12070 (tramp-maybe-open-connection): ... here. (Bug#8929)
12071
12072 2011-07-04 MON KEY <monkey@sandpframing.com>
12073
12074 * play/animate.el (animate-string): Doc fixes and allow changing
12075 the buffer name (bug#5417).
12076
12077 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12078
12079 * play/animate.el (animation-buffer-name): Rename from *animate*.
12080
12081 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12082
12083 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12084 This is simpler and helps future-proof the code.
12085 (timer-until): Use time-subtract and float-time.
12086 (timer--time-less-p): Use time-less-p.
12087
12088 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12089
12090 * type-break.el (timep): Use the value of `float-time' to avoid a
12091 byte-compiler warning.
12092
12093 * server.el (server-eval-and-print): Return any result, even nil.
12094
12095 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12096
12097 * type-break.el: Accept time formats that the builtins accept.
12098 (timep, type-break-time-difference): Accept any format that
12099 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12100 This is simpler and helps future-proof the code.
12101 (type-break-time-difference): Round rather than ignoring
12102 subseconds components.
12103
12104 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12105
12106 * info.el (Info-apropos-matches): Make non-interactive, since it
12107 doesn't seem to do anything useful as a command (bug#8829).
12108
12109 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12110
12111 * frame.el (frame-background-mode, frame-set-background-mode):
12112 Move from faces.el.
12113 (frame-default-terminal-background): New function.
12114
12115 * custom.el (custom-push-theme): Don't record faces in `changed'
12116 theme; this doesn't work correctly for per-frame face settings.
12117 (disable-theme): Use face-set-after-frame-default to reset faces.
12118 (custom--frame-color-default): New function.
12119
12120 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12121
12122 * dired.el (dired-flagging-regexp): Remove unused variable
12123 (bug#8769).
12124
12125 2011-03-29 Kevin Ryde <user42@zip.com.au>
12126
12127 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12128 `perl-Test2' extend to match possible "fail #N" rep count
12129 (bug#8377).
12130
12131 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12132
12133 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12134 `smtpmail-via-smtp' now returns the error instead of nil.
12135
12136 * isearch.el (isearch-search-fun-function): Clarify the doc string
12137 (bug#8101).
12138
12139 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12140
12141 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12142 unnecessary spaces (bug#8987).
12143
12144 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12145
12146 * net/network-stream.el (open-network-stream): Use the
12147 :end-of-capability command thoughout.
12148
12149 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12150
12151 * net/network-stream.el (open-network-stream): Add the
12152 :end-of-capability command parameter, used by pop3.el.
12153
12154 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12155
12156 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12157
12158 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12159 for list)" (bug#6475).
12160
12161 * files.el (file-expand-wildcards): Ignore non-readable
12162 sub-directories while trying to find matches instead of signaling
12163 an error (bug#6297).
12164
12165 * man.el (Man-reference-regexp): Allow matching possible
12166 word-wrapped references (bug#6289).
12167
12168 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12169 for consistency with the other vc buffers (bug#6197).
12170 (vc-checkin): Ditto.
12171
12172 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12173
12174 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12175
12176 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12177
12178 * custom.el (defcustom): Clarify that :set is only used in the
12179 Customize user interface (bug#6089).
12180
12181 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12182 associated with a file, refuse to run instead of erroring out
12183 (bug#6084).
12184
12185 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12186 the doc string, since it appears that using `fill-column' always
12187 controls the width (bug#7845).
12188
12189 * simple.el (shell-command-on-region): Say where the error output
12190 went if `shell-command-default-error-buffer' is set (bug#6857).
12191
12192 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12193
12194 * allout.el (allout-yank-processing): Adjust cursor position for
12195 backwards-deleted space.
12196
12197 (allout-rebullet-heading): Register changes with
12198 allout-exposure-changed-hook, so the modified topic is properly
12199 decorated.
12200
12201 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12202
12203 * minibuffer.el (completion-in-region): Document PREDICATE
12204 (bug#7136).
12205
12206 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12207 of keyword/argument pairs (bug#6904).
12208
12209 * replace.el (multi-occur):
12210 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12211
12212 2011-07-02 Drew Adams <drew.adams@oracle.com>
12213
12214 * dired.el (dired-mark-if): Make the message about whether it's
12215 marking or unmarking clearer (bug#8523).
12216
12217 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12218
12219 * disp-table.el (display-table-print-array): New function.
12220 (describe-display-table): Use it to print the vectors more pretty
12221 (Bug#8859).
12222
12223 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12224
12225 * window.el (window-state-get-1): Don't assign clone numbers.
12226 Add clone-of item to list of window parameters.
12227 (window-state-put-2): Don't process clone numbers.
12228 (display-buffer-alist): Fix doc-string.
12229
12230 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * subr.el (remq): Don't allocate if it's not needed.
12233 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12234 (keymap--merge-bindings): New functions.
12235 (keymap-canonicalize): Use them to refine the canonicalization.
12236 * minibuffer.el (minibuffer-local-completion-map)
12237 (minibuffer-local-must-match-map): Move initialization from C.
12238 (minibuffer-local-filename-completion-map): Move initialization from C;
12239 don't inherit from anything here.
12240 (minibuffer-local-filename-must-match-map): Make obsolete.
12241 (completing-read-default): Use make-composed-keymap to combine
12242 minibuffer-local-filename-completion-map with either
12243 minibuffer-local-must-match-map or
12244 minibuffer-local-filename-completion-map.
12245
12246 2011-07-01 Glenn Morris <rgm@gnu.org>
12247
12248 * type-break.el (type-break-time-sum): Use dolist.
12249
12250 * textmodes/flyspell.el (flyspell-word-search-backward):
12251 Replace CL function.
12252
12253 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12254
12255 * mouse.el (mouse--strip-first-event): New function.
12256 (function-key-map): Use it to map fringe clicks to normal clicks
12257 by default.
12258
12259 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12260 (vc-bzr-revision-completion-table): Add support for annotate and date.
12261
12262 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12263 inherit from parent.
12264
12265 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12266
12267 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12268 (dired-show-file-type): Doc fixup (bug#8818).
12269
12270 * dired.el (dired-mode): Fix up the doc string as suggested by
12271 Drew Adams (bug#8817).
12272
12273 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12274 cookie, since the manual says that it should be possible to add
12275 this function to `find-file-hook' (bug#8709).
12276
12277 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12278
12279 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12280 here. Noted Ted Zlatanov as the maintainer.
12281 (cfengine-common-settings, cfengine-common-syntax): New functions
12282 to set up common things between `cfengine-mode' and
12283 `cfengine3-mode'.
12284 (cfengine3-mode): New mode.
12285 (cfengine3-defuns cfengine3-defuns-regex
12286 (cfengine3-class-selector-regex cfengine3-category-regex)
12287 (cfengine3-vartypes cfengine3-font-lock-keywords)
12288 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12289 (cfengine3-indent-line): Add from cfengine3.el.
12290
12291 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12292
12293 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12294
12295 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12296
12297 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12298
12299 * window.el (same-window-buffer-names, same-window-regexps)
12300 (same-window-p, special-display-frame-alist)
12301 (special-display-popup-frame, special-display-function)
12302 (special-display-buffer-names, special-display-regexps)
12303 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12304 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12305 (split-window-preferred-function, split-height-threshold)
12306 (split-width-threshold, even-window-heights)
12307 (display-buffer-mark-dedicated, window-splittable-p)
12308 (split-window-sensibly, window-safely-shrinkable-p):
12309 Un-obsolete.
12310 (display-buffer): Don't spread args with function specifier
12311 because special-display-popup-frame won't like it.
12312
12313 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12314
12315 Time-stamp simplifications and fixes.
12316 These improve accuracy slightly, and future-proof the code
12317 against some potential changes to current-time format.
12318
12319 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12320 by using time-since and float-time.
12321
12322 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12323 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12324 + NNN microseconds".
12325
12326 * type-break.el (type-break-time-sum): Rewrite using time-add.
12327
12328 * play/hanoi.el (hanoi-current-time-float): Remove.
12329 All uses replaced by float-time.
12330
12331 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12332 This yields a more-accurate answer.
12333 (rng-time-to-float): Remove; no longer needed.
12334
12335 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12336
12337 * calendar/timeclock.el (timeclock-seconds-to-time):
12338 Defalias to seconds-to-time, since they're the same thing.
12339
12340 * emacs-lisp/elp.el (elp-elapsed-time):
12341 * emacs-lisp/benchmark.el (benchmark-elapse):
12342 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12343
12344 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12345
12346 * window.el (bury-buffer): Don't iconify the only frame.
12347 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12348 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12349
12350 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12351
12352 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12353 Add mouse-yank-primary.
12354
12355 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12356
12357 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12358
12359 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12360
12361 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12362 (find-library-name): Use it to find relative load names when provided
12363 absolute file name (bug#8803).
12364
12365 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12366
12367 * textmodes/flyspell.el (flyspell-word): Consider words that
12368 differ only in case as potential doublons (bug#5687).
12369
12370 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12371 Remove two rather uninteresting debugging-like messages to make
12372 debbugs.el more silent.
12373
12374 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12375 a password-like phrase.
12376
12377 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12378
12379 * progmodes/cc-guess.el: New file.
12380
12381 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12382
12383 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12384 derived from `c-basic-common-init'.
12385
12386 * progmodes/cc-mode.el (top-level): Require cc-guess.
12387 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12388
12389 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12390
12391 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12392
12393 2011-06-30 Alan Mackenzie <acm@muc.de>
12394
12395 * progmodes/cc-engine.el (c-guess-continued-construct):
12396 Correct the handling of template-args-cont, particularly for when font
12397 lock is disabled. Name this case as "CASE G".
12398
12399 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12400
12401 * allout.el (allout-yank-processing): Fix injection of extra space
12402 between bullet and non-whitespace character in first topic when
12403 pasting, ensuring that the actual spacing in the pasted topic
12404 following the bullet char is preserved. This extra space was
12405 causing pasted encrypted topics to get a decrypted status even
12406 when the content was actually still encrypted. Now the decryption
12407 status from before the paste is preserved.
12408
12409 (allout-flag-region): Set all allout overlays so they evaporate
12410 when reduced to zero length (evanescent), to prevent overlay
12411 leakage.
12412
12413 2011-06-30 Glenn Morris <rgm@gnu.org>
12414
12415 * w32-fns.el (w32-charset-info-alist): Declare.
12416
12417 * find-dired.el (find-grep-options): Simplify.
12418
12419 * term/ns-win.el (ns-set-resource): Declare.
12420
12421 * ses.el (row, col): Declare dynamic variables honestly.
12422
12423 * textmodes/reftex-parse.el (index-tags): Declare.
12424
12425 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12426
12427 * cus-edit.el (customize-push-and-save): New function.
12428
12429 * files.el (hack-local-variables-confirm): Use it.
12430
12431 * custom.el (load-theme): New arg NO-CONFIRM.
12432 Use customize-push-and-save (Bug#8720).
12433 (custom-enabled-themes): Doc fix.
12434
12435 * cus-theme.el (customize-create-theme)
12436 (custom-theme-merge-theme): Callers to load-theme changed.
12437
12438 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12439
12440 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12441 short URLs have at least one dot in them (bug #7614).
12442
12443 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12444 nil, because using a pty is apparently too slow (bug #895).
12445
12446 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12447
12448 * mail/sendmail.el (sendmail-query-once): New function.
12449 (sendmail-query-once-function): New variable.
12450
12451 2011-06-29 Glenn Morris <rgm@gnu.org>
12452
12453 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12454
12455 * ses.el (top-level): Require cl when compiling.
12456 (ses-set-localvars): Fix error statement.
12457 Call it at compile time to silence a storm of warnings.
12458
12459 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12460
12461 * window.el (normalize-live-buffer): Rename to
12462 window-normalize-buffer.
12463 (normalize-live-frame): Rename to window-normalize-frame.
12464 (normalize-any-window): Rename to window-normalize-any-window.
12465 (normalize-live-window): Rename to window-normalize-live-window.
12466 (make-window-atom): Rename to window-make-atom.
12467 (window-resize-reset): Rename to window--resize-reset.
12468 (window-resize-reset-1): Rename to window--resize-reset-1.
12469 (resize-mini-window): Rename to window--resize-mini-window.
12470 (resize-subwindows-skip-p): Rename to
12471 window--resize-subwindows-skip-p.
12472 (resize-subwindows-normal): Rename to
12473 window--resize-subwindows-normal.
12474 (resize-subwindows): Rename to window--resize-subwindows.
12475 (resize-other-windows): Rename to window--resize-siblings.
12476 (resize-this-window): Rename to window--resize-this-window.
12477 (resize-root-window): Rename to window--resize-root-window.
12478 (resize-root-window-vertically): Rename to
12479 window--resize-root-window-vertically.
12480 (normalize-buffer-to-display): Rename to
12481 window-normalize-buffer-to-display.
12482 (normalize-buffer-to-switch-to): Rename to
12483 window-normalize-buffer-to-switch-to.
12484 Correspondingly update all callers of the functions listed
12485 above.
12486 (display-buffer-alist, display-buffer-normalize-arguments)
12487 (display-buffer-normalize-options, display-buffer)
12488 (display-buffer-alist-set): Use "function" instead of
12489 "fun-with-args".
12490
12491 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12492
12493 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12494 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12495 debbugs.gnu.org. Mention acknowledgment email.
12496
12497 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12498
12499 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12500 buffer multibyteness, since it shouldn't matter.
12501
12502 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12503
12504 * window.el (display-buffer-in-side-window): Handle dedicated
12505 windows as in display-buffer-reuse-window.
12506 (display-buffer-normalize-alist): Use value of override
12507 specifier.
12508 (display-buffer-normalize-specifiers): Use value of
12509 other-window-means-other-frame specifier.
12510 (display-buffer-alist): Rewrite some texts in widgets.
12511 (display-buffer): Spread arguments when calling function
12512 specified by fun-with-args.
12513
12514 2011-06-28 Deniz Dogan <deniz@dogan.se>
12515
12516 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12517 Unnest `let'.
12518
12519 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12520 selectors (Bug#5732).
12521 (css-proprietary-nmstart-re): Use `regexp-opt'.
12522
12523 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12524
12525 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12526 (eshell-ls-date-format): New defcustom.
12527 (eshell-ls-file): Use it.
12528
12529 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12530
12531 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12532
12533 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12534
12535 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12536 (ange-ftp-make-tmp-name): New arg.
12537 (ange-ftp-file-local-copy): Use it.
12538
12539 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12540
12541 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12542 no-conversion (Bug#8870).
12543
12544 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12545
12546 * window.el (window-right, window-left, window-child)
12547 (window-child-count, window-last-child)
12548 (window-iso-combination-p, walk-window-tree-1)
12549 (window-atom-check-1, window-tree-1, delete-window)
12550 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12551 new naming conventions - window-vchild, window-hchild,
12552 window-next and window-prev are now called window-top-child,
12553 window-left-child, window-next-sibling and window-prev-sibling
12554 respectively.
12555 (resize-window-reset): Rename to window-resize-reset.
12556 (resize-window-reset-1): Rename to window-resize-reset-1.
12557 (resize-window): Rename to window-resize.
12558 (window-min-height, window-min-width)
12559 (resize-mini-window, resize-this-window, resize-root-window)
12560 (resize-root-window-vertically, adjust-window-trailing-edge)
12561 (enlarge-window, shrink-window, maximize-window)
12562 (minimize-window, delete-window, quit-restore-window)
12563 (split-window, balance-windows, balance-windows-area-adjust)
12564 (balance-windows-area, window-state-put-2)
12565 (display-buffer-even-window-sizes, display-buffer-set-height)
12566 (display-buffer-set-width, set-window-text-height)
12567 (fit-window-to-buffer): Rename all "resize-window" prefixed
12568 calls to use the "window-resize" prefix convention.
12569 (display-buffer-alist): Fix symbol for label specifier.
12570 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12571 corresponding specifier.
12572 Reported by Juanma Barranquero <lekktu@gmail.com>.
12573
12574 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12575
12576 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12577 convention.
12578 (ses-call-printer): Does not pass an empty string to formatter when the
12579 cell is empty to keep from barking printer Calc math-format-value.
12580
12581 2011-06-27 Richard Stallman <rms@gnu.org>
12582
12583 * battery.el (battery-mode-line-limit): New variable.
12584 (battery-update): Handle it.
12585
12586 * mail/rmailmm.el (rmail-mime-process-multipart):
12587 Handle truncated messages.
12588
12589 2011-06-27 Glenn Morris <rgm@gnu.org>
12590
12591 * progmodes/flymake.el (flymake-err-line-patterns):
12592 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12593
12594 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12595
12596 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12597 (ses--clean-!, ses--clean-_): New functions.
12598 (ses-range): Add configurability of readout order, and conversion
12599 to Calc vector.
12600
12601 * ses.el (ses-repair-cell-reference-all): New function.
12602 (ses-cell-symbol): Set macro as safe, so that it can be used in
12603 formulas.
12604
12605 * ses.el: Update cycle detection algorithm.
12606 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12607 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12608 (ses-set-localvars): New function.
12609 (ses-make-cell): Add property-list as a cell element.
12610 (ses-cell-property-get-fun, ses-cell-property-get)
12611 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12612 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12613 New functions.
12614 (ses-cell-property-set, ses-cell-property-pop)
12615 (ses-cell-property-get-handle): New macro.
12616 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12617 New aliases, used for code readability.
12618 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12619 cycle detection.
12620 (ses-self-reference-early-detection): New defcustom.
12621 (ses-formula-references): Robustify against self-referring cells.
12622 (ses-mode): Use ses-set-localvars.
12623 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12624 before lauching the update processing.
12625 (ses-initialize-Dijkstra-attempt): New function.
12626 (ses-recalculate-cell): Update for cycle detection based on
12627 Dijkstra algorithm.
12628
12629 * ses.el: Fix commenting and indenting convention.
12630
12631 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12632
12633 * bs.el (bs-cycle-next): Complete last change.
12634
12635 2011-06-27 Drew Adams <drew.adams@oracle.com>
12636
12637 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12638
12639 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12640
12641 * net/network-stream.el (network-stream-open-starttls):
12642 Don't re-get capabilities unless we've reestablished connection.
12643 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12644
12645 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12646 to binary to possibly avoid line encoding issues on Windows (among
12647 other things).
12648
12649 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12650
12651 * net/network-stream.el (open-network-stream): Return an :error
12652 saying what the problem was, if possible.
12653
12654 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12655 server.
12656
12657 * net/network-stream.el (network-stream-open-starttls): If we
12658 wanted to use STARTTLS, and the server offered it, but we weren't
12659 able to because we had no STARTTLS support, then close the connection.
12660 (open-network-stream): Return an :error element, if present.
12661
12662 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12663
12664 * hl-line.el (hl-line-sticky-flag): Doc fix.
12665 (global-hl-line-sticky-flag): New option (Bug#8323).
12666 (global-hl-line-highlight): Obey it.
12667
12668 * vc/vc.el (vc-revert-show-diff): Default to t.
12669
12670 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12671
12672 * allout-widgets.el (allout-widgets-post-command-business):
12673 Stop decorating intermediate isearch matches. They're not being
12674 undecorated when an isearch is continued past, and isearch
12675 automatically collapses them. This leads to "widget leaks", where
12676 decorated items accumulate in collapsed areas. Lines with lots of
12677 hidden widgets can slow down cursor travel, substantially.
12678 Too much complicated machinery would be needed to ensure undecoration,
12679 so we're doing without this nicety.
12680
12681 (allout-widgets-tally-string): Don't try to do a hash-table-count
12682 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12683 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12684 *Messages* when allout-widgets-maintain-tally is t.
12685
12686 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12687
12688 * window.el (display-buffer-normalize-argument): Rename to
12689 display-buffer-normalize-arguments. Handle special meaning of
12690 LABEL argument. Respect special-display-function when popping up
12691 a new frame. Fix code searching for a window showing the buffer
12692 on another frame.
12693 (display-buffer-normalize-specifiers):
12694 Call display-buffer-normalize-arguments.
12695 (display-buffer-in-window): Don't undedicate the window if its
12696 buffer remains the same.
12697 Reported by Drew Adams <drew.adams@oracle.com>.
12698 (display-buffer-alist): Add choice for same-window macro
12699 specfier.
12700 (display-buffer): Mention special meaning of LABEL argument in
12701 doc-string. Fix quoting. Don't pop up a new frame even as
12702 fallback.
12703
12704 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12705
12706 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12707 avoid deleting the current window in some cases (bug#8911).
12708
12709 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12710
12711 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12712 (Bug#8934)
12713
12714 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12715
12716 * net/network-stream.el (network-stream-open-starttls):
12717 Use built-in TLS support if `gnutls-available-p' is true.
12718 (network-stream-open-tls): Ditto.
12719
12720 2011-06-26 Leo Liu <sdl.web@gmail.com>
12721
12722 * register.el (registerv): New struct.
12723 (registerv-make): New function.
12724 (jump-to-register, describe-register-1, insert-register):
12725 Support the jump-func, print-func and insert-func slot of a registerv
12726 struct. (Bug#8415)
12727
12728 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12729
12730 * vc/vc.el (vc-revert-show-diff): New defcustom.
12731 (vc-diff-internal): New arg specifying diff buffer.
12732 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12733 reuse an existing *vc-diff* buffer (Bug#8927).
12734
12735 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12736
12737 2011-06-26 Glenn Morris <rgm@gnu.org>
12738
12739 * progmodes/f90.el (f90-critical-indent): New option.
12740 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12741 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12742 (f90-mode): Doc fix.
12743 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12744 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12745 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12746 (f90-match-end): Handle block, critical.
12747
12748 2011-06-25 Glenn Morris <rgm@gnu.org>
12749
12750 * calendar/diary-lib.el (diary-included-files): Doc fix.
12751 (diary-include-files): New function, extracted from
12752 diary-include-other-diary-files and diary-mark-included-diary-files.
12753 (diary-include-other-diary-files, diary-mark-included-diary-files):
12754 Just call diary-include-files.
12755 (diary-mark-entries): Reset diary-included-files on first call.
12756
12757 * calendar/diary-lib.el (diary-mark-entries)
12758 (diary-mark-included-diary-files):
12759 Visit included diary-files in temp buffers.
12760
12761 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12762 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12763 (f90-start-block-re, f90-imenu-generic-expression)
12764 (f90-looking-at-program-block-start, f90-no-block-limit):
12765 Add support for submodules.
12766
12767 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12768 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
12769
12770 2011-06-25 Eli Zaretskii <eliz@gnu.org>
12771
12772 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12773 buffer-file-type before setting its value, to avoid disastrous
12774 global effects on decoding files for DOS/Windows systems. (Bug#8780)
12775
12776 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12777
12778 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12779
12780 * ses.el (ses-unload-function):
12781 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12782
12783 * proced.el (proced-unload-function):
12784 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12785
12786 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12787
12788 * server.el (server-create-window-system-frame): Add parameters arg.
12789 (server-process-filter): Doc fix. Handle frame-parameters.
12790
12791 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12792
12793 Fix bug#8730, bug#8781.
12794
12795 * loadhist.el (unload--set-major-mode): New function.
12796 (unload-feature): Use it.
12797
12798 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12799 (python-unload-function): New function.
12800
12801 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12802
12803 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12804
12805 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12806
12807 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12808 the candidates list.
12809
12810 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
12811
12812 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12813
12814 2011-06-23 Richard Stallman <rms@gnu.org>
12815
12816 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12817 (rmail-variables): Set next-error-move-function.
12818 (rmail-what-message): Take argument POS.
12819 (rmail-next-error-move): New function.
12820
12821 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12822
12823 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12824 messages for adjacent non-terminals.
12825
12826 2011-06-23 Richard Stallman <rms@gnu.org>
12827
12828 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12829 (rmail-show-message-1): Preserve buffer modified flag.
12830 (rmail-start-mail): Don't specify use of rmail-mail-return;
12831 that's done by mail-bury now.
12832 (rmail-mail-return): Handle arg NEWBUF.
12833
12834 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
12835
12836 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12837 SIZE is a number.
12838
12839 2011-06-23 Martin Rudalics <rudalics@gmx.at>
12840
12841 * window.el (get-lru-window, get-mru-window)
12842 (get-largest-window): Never return a minibuffer window.
12843 (display-buffer-pop-up-window): Fix a bug that could lead to
12844 reusing the minibuffer window.
12845 (display-buffer): Pass original specifier argument to
12846 display-buffer-function instead of the normalized one.
12847 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12848
12849 2011-06-22 Leo Liu <sdl.web@gmail.com>
12850
12851 * minibuffer.el (completing-read-function)
12852 (completing-read-default): Move from minibuf.c
12853
12854 2011-06-22 Richard Stallman <rms@gnu.org>
12855
12856 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12857 to Rmail even if not started by a special Rmail command.
12858
12859 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12860 Copy the buffer currently showing just one message.
12861
12862 2011-06-22 Roland Winkler <winkler@gnu.org>
12863
12864 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12865 (bibtex-clean-entry): First delete the old key so that a
12866 customized algorithm for generating the new key does not get
12867 confused by the old key.
12868 (bibtex-url): Obey regexp of first step.
12869 (bibtex-search-entries): Do not use add-to-list with local
12870 list-var.
12871
12872 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12873
12874 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12875 stored a user name, then query for the password first, instead of
12876 waiting for SMTP to give an error message and the trying again.
12877
12878 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12879
12880 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12881 BUFFER in call-process.
12882
12883 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12884
12885 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12886 QUIT twice.
12887 (smtpmail-try-auth-methods): Require user name and password from
12888 auth-source.
12889
12890 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12891
12892 * window.el (display-buffer-default-specifiers)
12893 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12894 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12895 (split-window): Normalize SIDE argument (Bug#8916).
12896
12897 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12898 (special-display-frame-alist, special-display-popup-frame):
12899 Remove duplicate declarations. These are now in window.el.
12900
12901 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12902
12903 * mail/smtpmail.el (smtpmail-via-smtp):
12904 Set :use-starttls-if-possible so that we always use STARTTLS if the
12905 server supports it. SMTP servers that support STARTTLS commonly
12906 require it.
12907
12908 * net/network-stream.el (network-stream-open-starttls): Support
12909 upgrading to STARTTLS always, even if we don't have built-in support.
12910 (open-network-stream): Add the :always-query-capabilities keyword.
12911
12912 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12913 upgrades with `open-network-stream', and rely solely on
12914 auth-source for all credentials. Big changes throughout the file,
12915 but in particular:
12916 (smtpmail-auth-credentials): Remove.
12917 (smtpmail-starttls-credentials): Remove.
12918 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12919 MAIL FROM, too.
12920
12921 * net/network-stream.el (network-stream-open-starttls):
12922 Provide support for client certificates both for external and built-in
12923 STARTTLS.
12924 (auth-source): Require.
12925 (open-network-stream): Document the :client-certificate keyword.
12926 (network-stream-certificate): Change cert-cert to cert and
12927 cert-key to key.
12928
12929 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12930
12931 * net/tramp-cache.el (top): Don't load the persistency file when
12932 "emacs -Q" has been called.
12933
12934 2011-06-21 Tim Harper <timcharper@gmail.com>
12935
12936 * term/ns-win.el (ns-initialize-window-system):
12937 Set application-specific `ApplePressAndHoldEnabled' system
12938 resource to NO as it is not yet supported by the NS port.
12939
12940 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12941
12942 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12943 (list-dynamic-libraries): ...not here.
12944
12945 2011-06-21 Leo Liu <sdl.web@gmail.com>
12946
12947 * subr.el (sha1): Implement sha1 using secure-hash.
12948
12949 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12950
12951 * window.el (display-buffer-alist): In default value do not
12952 enforce searching a window on any but the selected frame.
12953 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12954 (display-buffer-select-window): Remove function.
12955 (display-buffer-in-window): When a window on another frame gets
12956 reused, do not select it any more but just raise its frame if
12957 necessary (Bug#8851) and (Bug#8856).
12958 (display-buffer-normalize-options): Handle pop-up-frames related
12959 options more faithfully.
12960 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12961 window if it is on another frame.
12962 (display-buffer-alist, display-buffer-default-specifiers):
12963 Don't make new frame unsplittable by default.
12964 (display-buffer-normalize-argument): Fix doc-string typo and use
12965 'same-frame-other-window instead of 'other-window when associating
12966 with display-buffer-macro-specifiers.
12967
12968 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12969
12970 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12971 New functions.
12972 (5x5-mode-map, 5x5-mode-menu): Bind them.
12973 (5x5-draw-grid): Tweak the solver's rendering.
12974
12975 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12978 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12979
12980 2011-06-21 Drew Adams <drew.adams@oracle.com>
12981
12982 * menu-bar.el: Use function variable instead of switch-to-buffer.
12983 (menu-bar-select-buffer-function): New variable.
12984 (menu-bar-update-buffers): Use it (bug#8876).
12985
12986 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12987
12988 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12989 variable's status.
12990
12991 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12992
12993 * x-dnd.el (x-dnd-version-from-flags)
12994 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12995 and long as number (Bug#8899).
12996 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12997
12998 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12999
13000 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13001 (completion-try-completion, completion-all-completions): Compute the
13002 metadata argument if it's missing; make it optional (bug#8795).
13003
13004 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13005 (widget-complete): Use new :completion-function property.
13006 (widget-completions-at-point): New function.
13007 (default): Use :completion-function instead of :complete.
13008 (widget-default-completions): Rename from widget-default-complete;
13009 Rewrite.
13010 (widget-string-complete, widget-file-complete, widget-color-complete):
13011 Remove functions.
13012 (file, symbol, function, variable, coding-system, color):
13013 * international/mule-cmds.el (default-input-method, charset)
13014 (language-info-custom-alist):
13015 * cus-edit.el (face): Use new property :completions.
13016
13017 * progmodes/pascal.el (pascal-completions-at-point): New function.
13018 (pascal-mode): Use it.
13019 (pascal-mode-map): Use completion-at-point.
13020 (pascal-toggle-completions): Make obsolete.
13021 (pascal-complete-word, pascal-show-completions):
13022 * progmodes/octave-mod.el (octave-complete-symbol):
13023 Redefine as obsolete alias.
13024 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13025 Signal absence of completion info for old Octave,
13026 (inferior-octave-complete): Redefine as obsolete alias.
13027 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13028 (meta-completions-at-point): Rename from meta-complete-symbol and
13029 adapt it for use on completion-at-point-functions.
13030 (meta-common-mode): Use it.
13031 (meta-looking-at-backward, meta-match-buffer): Remove.
13032 (meta-complete-symbol): Redefine as obsolete alias.
13033 (meta-common-mode-map): Use completion-at-point.
13034 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13035 (makefile-mode-map): Use completion-at-point.
13036 (makefile-completions-at-point): Rename from makefile-complete and
13037 adapt it for use on completion-at-point-functions.
13038 (makefile-mode): Use it.
13039 (makefile-complete): Redefine as obsolete alias.
13040
13041 2011-06-20 Deniz Dogan <deniz@dogan.se>
13042
13043 * net/rcirc.el: Delete trailing whitespaces once and for all.
13044
13045 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13046
13047 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13048
13049 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13050
13051 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13052
13053 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13054
13055 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13056
13057 * window.el (display-buffer-other-window-means-other-frame):
13058 Call display-buffer-normalize-alist.
13059 (display-buffer-normalize-specifiers-1): Rename to
13060 display-buffer-normalize-argument. New argument other-frame.
13061 Rewrite.
13062 (display-buffer-normalize-specifiers-2): Rename to
13063 display-buffer-normalize-options.
13064 (display-buffer-normalize-alist-1): New function.
13065 (display-buffer-normalize-specifiers-3): Rename to
13066 display-buffer-normalize-alist.
13067 Call display-buffer-normalize-alist-1.
13068 (display-buffer-normalize-options-inhibit): New variable.
13069 (display-buffer-normalize-specifiers): Rewrite calling
13070 display-buffer-normalize-alist,
13071 display-buffer-normalize-argument, and
13072 display-buffer-normalize-options. Don't call the latter if
13073 display-buffer-normalize-options-inhibit is non-nil.
13074 (frame-auto-delete): New option.
13075 (window-deletable-p): Use frame-auto-delete.
13076 (window-list-no-nils, window-state-ignored-parameters)
13077 (window-state-get-1, window-state-get, window-state-put-list)
13078 (window-state-put-1, window-state-put-2, window-state-put):
13079 New functions.
13080 (display-buffer-normalize-options): Move special-display-p group
13081 after pop-up-frame group (Bug#8851) and (Bug#8856).
13082
13083 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13084
13085 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13086 groups (Bug#8776).
13087 (rx-submatch-n): New function.
13088 (rx): Document it.
13089
13090 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13091 (Bug#8768).
13092
13093 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13094
13095 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13096
13097 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13098 anytime existing face settings are present (Bug#8889).
13099
13100 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13101 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13102 Remove unused argument.
13103
13104 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13105
13106 * window.el (display-buffer-default-specifiers):
13107 Remove pop-up-frame. Add pop-up-window-min-height,
13108 pop-up-window-min-width, and another reuse-window specifier
13109 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13110 (display-buffer-normalize-specifiers-2):
13111 Handle split-height-threshold and split-width-threshold also when
13112 pop-up-windows is unset. Add a reuse-window specifier for the
13113 case popping up a new window fails.
13114 (special-display-popup-frame): Remove double quoting.
13115 (display-buffer-normalize-specifiers-1): Fix thinko.
13116
13117 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13118
13119 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13120 according to comint-completion-addsuffix.
13121
13122 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13123 (pcomplete-suffix-list): Mark as obsolete.
13124 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13125 pcomplete-seen in the closure.
13126 (pcomplete-comint-setup): Setup completion-at-point as well.
13127 (pcomplete--entries): New function.
13128 (pcomplete--env-regexp): New var.
13129 (pcomplete-entries): Rewrite to work with partial-completion and
13130 without relying on pcomplete-suffix-list.
13131 (pcomplete-pare-list): Remove, unused.
13132
13133 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13134
13135 * window.el (display-buffer-alist): Set pop-up-window-min-height
13136 and pop-up-window-min-width in default value. Reported by
13137 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13138 other-window-means-other-frame.
13139 (display-buffer-macro-specifiers): Comment out entry for
13140 other-window specifier.
13141 (display-buffer-other-window-means-other-frame): New function.
13142 (display-buffer-normalize-specifiers-1): New arguments
13143 buffer-name and label. Treat other-window case specially.
13144 (display-buffer-normalize-specifiers-2): Treat other-window case
13145 specially.
13146 (display-buffer-normalize-specifiers-3): New function.
13147 (display-buffer-normalize-specifiers):
13148 Call display-buffer-normalize-specifiers-3.
13149
13150 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13151
13152 * window.el (same-window-p): Fix two typos introduced when
13153 adding with-no-warnings.
13154 (display-buffer-normalize-specifiers-1): Don't check
13155 pop-up-frames for 'unset initialization.
13156 (display-buffer-normalize-specifiers-2): Major rewrite using
13157 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13158 (pop-up-frames, display-buffer-reuse-frames)
13159 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13160 Suggested by David Engster <deng@randomsample.de>.
13161 (even-window-heights): Initialize to 'unset.
13162 (display-buffer-alist-set): Handle new 'unset initializations.
13163 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13164 other window case.
13165
13166 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13167
13168 * window.el (display-buffer-normalize-specifiers-1):
13169 Respect current value of pop-up-frames for most reasonable values of
13170 second argument of display-buffer (Bug#8865).
13171 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13172 (switch-to-buffer-other-window-same-frame)
13173 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13174 Adams (Bug#8875).
13175 (display-buffer): Don't check noninteractive when calling
13176 display-buffer-pop-up-frame.
13177 (display-buffer-pop-up-frame): Never pop up a frame in
13178 noninteractive mode (Bug#8857).
13179 (enlarge-window, shrink-window): Don't report an error when the
13180 window can't be resized as requested (Bug#8862).
13181
13182 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13183
13184 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13185
13186 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13187
13188 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13189
13190 2011-06-15 Alan Mackenzie <acm@muc.de>
13191
13192 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13193 for declarators, disable knr checking to speed up for normal files.
13194 2: Refactor, replacing a sequence of nested if forms by a cond form.
13195
13196 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13197
13198 * net/network-stream.el (open-network-stream): Add the keyword
13199 :always-query-capabilities for the case where you want to force a
13200 `plain' network connection, but the protocol still requires the
13201 capabilitiy command (i.e., SMTP and EHLO).
13202
13203 * subr.el (process-live-p): Rename from `process-alive-p' for
13204 consistency with other `-live-p' functions.
13205
13206 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * window.el (same-window-buffer-names, same-window-regexps)
13209 (special-display-frame-alist, special-display-popup-frame)
13210 (special-display-function, special-display-buffer-names)
13211 (special-display-regexps, pop-up-frame-alist)
13212 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13213 (pop-up-windows, split-window-preferred-function)
13214 (split-height-threshold, split-width-threshold, even-window-heights)
13215 (display-buffer-mark-dedicated): Don't encourage the use of
13216 display-buffer-alist from Elisp code.
13217
13218 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13219
13220 * progmodes/python.el (python-mode): Derive from prog-mode.
13221 * progmodes/ps-mode.el (ps-mode):
13222 * progmodes/mixal-mode.el (mixal-mode):
13223 * progmodes/cfengine.el (cfengine-mode):
13224 * progmodes/ld-script.el (ld-script-mode): Likewise.
13225
13226 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13227
13228 * window.el (display-buffer-alist): Trim default value to avoid
13229 popping up a new frame (Bug#8857) or reusing an arbitrary window
13230 on another frame.
13231 (display-buffer): Do not fall back on popping up a new frame in
13232 batch mode (Bug#8857).
13233
13234 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13235
13236 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13237 (custom-theme-summary): New function.
13238 (customize-themes): Use it.
13239
13240 2011-06-13 Glenn Morris <rgm@gnu.org>
13241
13242 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13243
13244 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13245
13246 * help.el (help-window): Remove variable.
13247 (help-window-point-marker, temp-buffer-max-height)
13248 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13249 (help-print-return-message): Don't set help-window.
13250 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13251 (help-window-setup-finish): Remove.
13252 (help-window-display-message, help-window-setup)
13253 (with-help-window): Major rewrite based on new
13254 display-buffer-window variable.
13255
13256 * help-mode.el (help-mode-finish): Remove help-window related
13257 code.
13258
13259 * view.el (view-exits-all-viewing-windows): Remove reference to
13260 view-return-to-alist in doc-string.
13261 (view-return-to-alist): Make obsolete.
13262 (view-buffer): Call pop-to-buffer-same-window and remove
13263 undo-window code.
13264 (view-buffer-other-window): Call pop-to-buffer-other-window and
13265 simplify code. Ignore second argument.
13266 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13267 simplify code. Ignore second argument.
13268 (view-return-to-alist-update): Make obsolete.
13269 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13270 Rewrite using quit-restore window parameters.
13271 (view-mode-exit): Rename second argument to EXIT-ONLY.
13272 Rewrite using quit-restore-window.
13273 (View-exit, View-exit-and-edit, View-leave, View-quit)
13274 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13275 appropriate arguments.
13276 (view-end-message): Use quit-restore window parameter.
13277
13278 * window.el (display-buffer-function): Rewrite doc-string.
13279 (display-buffer-window, display-buffer-alist): New variables.
13280 (display-buffer-split-specifiers)
13281 (display-buffer-side-specifiers)
13282 (display-buffer-macro-specifiers): New constants.
13283 (display-buffer-even-window-sizes, display-buffer-set-height)
13284 (display-buffer-set-width, display-buffer-select-window)
13285 (display-buffer-in-window, display-buffer-reuse-window)
13286 (display-buffer-split-window-1, display-buffer-split-window)
13287 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13288 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13289 (display-buffer-in-side-window, normalize-buffer-to-display)
13290 (display-buffer-normalize-specifiers-1)
13291 (display-buffer-normalize-specifiers-2)
13292 (display-buffer-normalize-specifiers, display-buffer-frame):
13293 New functions.
13294 (display-buffer): Major rewrite.
13295 (display-buffer-other-window, display-buffer-other-frame)
13296 (pop-to-buffer, switch-to-buffer-other-window)
13297 (switch-to-buffer-other-frame): Rewrite.
13298 (display-buffer-same-window, display-buffer-same-frame)
13299 (display-buffer-same-frame-other-window)
13300 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13301 (pop-to-buffer-other-window)
13302 (pop-to-buffer-same-frame-other-window)
13303 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13304 (switch-to-buffer-other-window-same-frame): New functions.
13305 (same-window-p, special-display-p): Rewrite disabling warnings.
13306 Make obsolete.
13307 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13308 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13309 Make obsolete
13310 (same-window-buffer-names, same-window-regexps)
13311 (special-display-frame-alist, special-display-popup-frame)
13312 (special-display-function, special-display-buffer-names)
13313 (special-display-regexps, pop-up-frame-alist)
13314 (pop-up-frame-function, split-window-preferred-function)
13315 (split-height-threshold, split-width-threshold)
13316 (even-window-heights): Make obsolete.
13317
13318 2011-06-12 Glenn Morris <rgm@gnu.org>
13319
13320 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13321 Misc simplifications.
13322
13323 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13324
13325 * window.el (window-safely-shrinkable-p): Restore function which
13326 was inadvertently removed in change from 2011-06-11. Declare as
13327 obsolete.
13328
13329 * calendar/calendar.el (calendar-generate-window):
13330 Use window-iso-combined-p instead of combination of one-window-p and
13331 window-safely-shrinkable-p.
13332
13333 2011-06-12 Glenn Morris <rgm@gnu.org>
13334
13335 * progmodes/fortran.el (fortran-mode-syntax-table):
13336 * progmodes/f90.el (f90-mode-syntax-table):
13337 Set % to punctuation. (Bug#8820)
13338 (f90-find-tag-default): Remove, no longer needed.
13339
13340 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13341
13342 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13343
13344 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13345
13346 * image.el (image-animated-p): Return animation delay in seconds.
13347 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13348 (image-animate-timeout): Remove DELAY argument. Don't assume
13349 every subimage has the same delay; get it from image-animated-p.
13350 (image-animate): Caller changed.
13351
13352 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13353
13354 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13355 to ignored backtrace functions.
13356
13357 2011-06-11 Glenn Morris <rgm@gnu.org>
13358
13359 * calendar/appt.el (appt-disp-window-function): Doc fix.
13360 (appt-check): Handle overlapping appointments. (Bug#8337)
13361
13362 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13363
13364 * window.el (window-tree-1, window-tree): New functions, moving
13365 the latter to window.el.
13366 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13367 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13368 (bw-refresh-edges): Remove.
13369 (balance-windows-1, balance-windows-2): New functions.
13370 (balance-windows): Rewrite in terms of window tree functions,
13371 balance-windows-1 and balance-windows-2.
13372 (bw-adjust-window): Remove.
13373 (balance-windows-area-adjust): New function with functionality of
13374 bw-adjust-window but using resize-window.
13375 (set-window-text-height): Rewrite doc-string.
13376 Use normalize-live-window and resize-window.
13377 (enlarge-window-horizontally, shrink-window-horizontally):
13378 Rename argument to DELTA.
13379 (window-buffer-height): New function.
13380 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13381 Rewrite using new window resize routines.
13382 (kill-buffer-and-window, mouse-autoselect-window-select):
13383 Use ignore-errors instead of condition-case.
13384 (quit-window): Call delete-frame instead of delete-windows-on
13385 for the only buffer on frame.
13386
13387 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13388
13389 * loadup.el (top-level): Load window before files for the sake
13390 of replace-buffer-in-windows.
13391
13392 * files.el (read-buffer-to-switch)
13393 (switch-to-buffer-other-window)
13394 (switch-to-buffer-other-frame, display-buffer-other-frame):
13395 Move to window.el.
13396
13397 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13398 (previous-buffer): Move to window.el.
13399
13400 * bindings.el (unbury-buffer): Move to window.el.
13401
13402 * window.el (delete-other-windows-vertically): Move after
13403 definition of delete-other-windows.
13404 (other-window, delete-windows-on, replace-buffer-in-windows):
13405 Move here from window.c.
13406 (record-window-buffer, unrecord-window-buffer)
13407 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13408 (switch-to-next-buffer): New functions.
13409 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13410 from simple.el. Call switch-to-next-buffer.
13411 (previous-buffer): Move here from simple.el.
13412 Call switch-to-prev-buffer.
13413 (bury-buffer): Move here from buffer.c. Switch to previous
13414 buffer when window cannot be deleted.
13415 (unbury-buffer): Move here from bindings.el.
13416 (ctl-x-map): Move binding for other-window from window.c to
13417 here.
13418 (read-buffer-to-switch, switch-to-buffer-other-window)
13419 (switch-to-buffer-other-frame): Move here from files.el.
13420 (normalize-buffer-to-switch-to): New functions.
13421 (switch-to-buffer): Move here from buffer.c.
13422 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13423
13424 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13425
13426 * window.el (window-min-height, window-min-width): Move here
13427 from window.c. Add defcustoms and rewrite doc-strings.
13428 (resize-mini-window, resize-window): New functions.
13429 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13430 Move here from window.c.
13431 (maximize-window, minimize-window): New functions.
13432 (delete-window, delete-other-windows, split-window): Move here
13433 from window.c.
13434 (window-split-min-size): New function.
13435 (split-window-keep-point): Mention split-window-above-each-other
13436 instead of split-window-vertically.
13437 (split-window-above-each-other, split-window-vertically):
13438 Rename split-window-vertically to split-window-above-each-other
13439 and provide defalias for old definition.
13440 (split-window-side-by-side, split-window-horizontally):
13441 Rename split-window-horizontally to split-window-side-by-side
13442 and provide defalias for the old definition.
13443 (ctl-x-map): Move bindings for delete-window,
13444 delete-other-windows and enlarge-window here from window.c.
13445 Replace bindings for split-window-vertically and
13446 split-window-horizontally by bindings for
13447 split-window-above-each-other and split-window-side-by-side.
13448
13449 * cus-start.el (all): Remove entries for window-min-height and
13450 window-min-width. Add entries for window-splits and
13451 window-nest.
13452
13453 2011-06-09 Glenn Morris <rgm@gnu.org>
13454
13455 * calendar/appt.el (appt-mode-line): New function.
13456 (appt-check, appt-disp-window): Use it.
13457
13458 * files.el (hack-one-local-variable-eval-safep):
13459 Allow minor-modes with explicit +/-1 arguments.
13460
13461 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13462
13463 * term/xterm.el (xterm): Add defgroup.
13464 (xterm-extra-capabilities): Add defcustom to supply known xterm
13465 capabilities, skip querying them, or query them (default).
13466 (terminal-init-xterm): Use it.
13467 (terminal-init-xterm-modify-other-keys): New function to set up
13468 modifyOtherKeys support to simplify `terminal-init-xterm'.
13469
13470 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13471
13472 * window.el (resize-window-reset, resize-window-reset-1)
13473 (resize-subwindows-skip-p, resize-subwindows-normal)
13474 (resize-subwindows, resize-other-windows, resize-this-window)
13475 (resize-root-window, resize-root-window-vertically)
13476 (window-deletable-p, window-or-subwindow-p)
13477 (frame-root-window-p): New functions.
13478
13479 2011-06-09 Glenn Morris <rgm@gnu.org>
13480
13481 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13482 (ange-ftp-get-files): Use it.
13483
13484 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13485
13486 * mail/sendmail.el (mail-recover-1, mail-recover):
13487 * files.el (recover-file, recover-session):
13488 Handle dired-listing-switches not being just a single short option.
13489
13490 2011-06-09 Glenn Morris <rgm@gnu.org>
13491
13492 * calendar/appt.el (appt-display-message, appt-disp-window):
13493 Handle lists of appointments.
13494
13495 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13496
13497 * window.el (one-window-p): Move down in code.
13498 Rewrite doc-string.
13499 (window-current-scroll-bars): Rewrite doc-string.
13500 Normalize live window argument.
13501 (walk-windows, get-window-with-predicate, count-windows):
13502 Rewrite doc-string. Use window-list-1.
13503 (window-in-direction-2, window-in-direction, get-mru-window):
13504 New functions.
13505
13506 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13507
13508 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13509 Doc fix (Bug#8713).
13510
13511 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13512
13513 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13514
13515 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13516
13517 * loadhist.el (unload-feature-special-hooks):
13518 Add `comint-output-filter-functions'.
13519
13520 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13521
13522 * calendar/appt.el (appt-check): Move some initializations into the let.
13523
13524 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13525
13526 * window.el (window-height): Defalias to window-total-height.
13527 (window-width): Defalias to window-body-width.
13528
13529 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13530
13531 * image-mode.el (image-toggle-animation): New command.
13532 (image-mode-map): Bind it to RET.
13533 (image-mode): Update message.
13534 (image-toggle-display-image): Avoid a spurious cache flush.
13535 (image-transform-rotation): Doc fix.
13536 (image-transform-properties): Return quickly in the normal case.
13537 (image-animate-loop): Rename from image-animate-max-time.
13538
13539 * image.el (image-animate-max-time): Move to image-mode.el.
13540 (create-animated-image): Remove unnecessary function.
13541 (image-animate): Rename from image-animate-start. New arg.
13542 (image-animate-stop): Remove; just use image-animate-timer.
13543 (image-animate-timer): Use car-safe.
13544 (image-animate-timeout): Rename argument.
13545
13546 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13547
13548 * window.el (get-lru-window, get-largest-window): Move here from
13549 window.c. Rename first argument to ALL-FRAMES.
13550 Rephrase doc-strings.
13551 (get-buffer-window-list): Rewrite using window-list-1.
13552 Rephrase doc-string.
13553 (window-safe-min-height, window-safe-min-width): New constants.
13554 (window-size-ignore, window-min-size, window-min-size-1)
13555 (window-sizable, window-sizable-p, window-size-fixed-1)
13556 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13557 (window-max-delta-1, window-max-delta, window-resizable)
13558 (window-resizable-p, window-total-height, window-total-width)
13559 (window-body-width): New functions.
13560 (window-full-height-p, window-full-width-p): Rewrite using
13561 window-total-size.
13562 (window-body-height): Rewrite using window-body-size.
13563
13564 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13565
13566 * window.el (window-right, window-left, window-child)
13567 (window-child-count, window-last-child, window-any-p)
13568 (normalize-live-buffer, normalize-live-frame)
13569 (normalize-any-window, normalize-live-window)
13570 (window-iso-combination-p, window-iso-combined-p)
13571 (window-iso-combinations)
13572 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13573 (windows-with-parameter, window-with-parameter)
13574 (window-atom-root, make-window-atom, window-atom-check-1)
13575 (window-atom-check, window-side-check, window-check):
13576 New functions.
13577 (ignore-window-parameters, window-sides, window-sides-vertical)
13578 (window-sides-slots): New variables.
13579 (window-size-fixed): Move down in code. Minor doc-string fix.
13580
13581 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13582
13583 * comint.el (comint-dynamic-complete-as-filename)
13584 (comint-dynamic-complete-filename): Correctly call
13585 completion-in-region.
13586
13587 2011-06-05 Deniz Dogan <deniz@dogan.se>
13588
13589 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13590 in last change.
13591
13592 2011-06-05 Deniz Dogan <deniz@dogan.se>
13593
13594 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13595 (rcirc): Use it to prompt for encryption.
13596
13597 2011-06-05 Roland Winkler <winkler@gnu.org>
13598
13599 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13600 (bibtex-search-entries): New command bound to C-c C-a.
13601 (bibtex-display-entries): New function.
13602
13603 2011-06-05 Roland Winkler <winkler@gnu.org>
13604
13605 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13606 (bibtex-insert-kill): After yanking insert newline if necessary.
13607 (bibtex-initialize): Call bibtex-string-files-init only once.
13608 (bibtex-mode): Do not call easy-menu-add.
13609 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13610 (bibtex-yank): Set arg properly if nil.
13611
13612 2011-06-05 Roland Winkler <winkler@gnu.org>
13613
13614 * textmodes/bibtex.el (bibtex-search-entry-globally):
13615 New variable.
13616 (bibtex-search-entry): Use it.
13617
13618 2011-06-05 Roland Winkler <winkler@gnu.org>
13619
13620 * textmodes/bibtex.el (bibtex-entry-format): New option
13621 sort-fields.
13622 (bibtex-format-entry, bibtex-reformat): Honor this option.
13623 (bibtex-parse-entry): Return fields in proper order.
13624
13625 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13626
13627 * doc-view.el (doc-view-remove-if): Move computation of result out
13628 of `dolist' to silence misleading lexical-binding warning.
13629
13630 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13631
13632 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13633 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13634
13635 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13636
13637 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13638 "SunOS 5.10".
13639
13640 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13641
13642 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13643 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13644 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13645 (tramp-parse-putty):
13646 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13647 (tramp-completion-function-alist-ssh)
13648 (tramp-completion-function-alist-telnet)
13649 (tramp-completion-function-alist-su)
13650 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13651 cookie.
13652
13653 * net/tramp-ftp.el:
13654 * net/tramp-sh.el:
13655 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13656 load "tramp.el" `tramp-set-completion-function'.
13657
13658 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * shell.el: Require and use pcomplete.
13661 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13662 (shell-completion-vars): Set pcomplete-default-completion-function.
13663
13664 2011-06-04 Deniz Dogan <deniz@dogan.se>
13665
13666 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13667 `memq' (Bug#8799).
13668
13669 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13672
13673 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13674
13675 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13676 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13677 * vc/log-view.el (log-view-beginning-of-defun):
13678 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13679 (smerge-refine-forward, smerge-refine-chopup-region):
13680 Silence warning for unused `dotimes' counter variables.
13681
13682 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13683
13684 * net/tramp.el (tramp-with-progress-reporter): Rename from
13685 with-progress-reporter. Use `declare'.
13686 * net/tramp-smb.el:
13687 * net/tramp-sh.el:
13688 * net/tramp-gvfs.el: Update all uses.
13689
13690 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13691
13692 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13693 buffer isn't killed before making it current.
13694
13695 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13696
13697 Silence various byte-compiler warnings.
13698 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13699 `access-type' and new obsolescence format.
13700 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13701 new format.
13702 (byte-compile-check-variable): New `access-type' argument.
13703 Only warn if the access-type is obsolete.
13704 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13705 (byte-compile-variable-set): Adjust callers.
13706 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13707 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13708 setting it as obsolete.
13709 * simple.el (minibuffer-completing-symbol):
13710 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13711 access as obsolete.
13712 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13713 obsolete yet.
13714 * international/quail.el (quail-mouse-choose-completion): Remove unused
13715 code referring to obsolete var.
13716 (quail-choose-completion-string): Remove.
13717 * server.el (server-clients-with, server-kill-buffer-query-function)
13718 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13719 * proced.el (proced-send-signal):
13720 * emacs-lisp/lisp.el (lisp-complete-symbol):
13721 Replace completion-annotate-function with completion-extra-properties.
13722
13723 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13724
13725 * simple.el (goto-line): Use read-number.
13726 (overriding-map-is-bound): Remove.
13727 (saved-overriding-map): Change default.
13728 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13729 Take the map as argument.
13730 (universal-argument, negative-argument, digit-argument): Use it.
13731 (restore-overriding-map): Adjust.
13732 (do-auto-fill): Use fill-forward-paragraph.
13733 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13734
13735 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13736 (minibuffer-inactive-mode): New major mode.
13737 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13738 the *Messages* buffer" hack.
13739 (mouse-popup-menubar): Don't burp if the event is a normal key.
13740
13741 Miscellaneous tweaks.
13742 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13743 lexical scoping as in subr.el's dolist and dotimes.
13744 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13745 Silence compiler warning.
13746 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13747 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13748 * international/ccl.el (ccl-compile): Trivial simplification.
13749 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13750 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13751 `printflag' argument.
13752 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13753 Purecopy the whole obsolescence data.
13754
13755 2011-06-01 Leo Liu <sdl.web@gmail.com>
13756
13757 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13758 improve doc-string as suggested by Marco Pessotto
13759 <melmothx@gmail.com>.
13760 (rcirc-print): Fix last change.
13761
13762 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 * minibuffer.el (complete-with-action): Return nil for the metadata and
13765 boundaries of non-functional tables.
13766 (completion-table-dynamic): Return nil for the metadata.
13767 (completion-table-with-terminator): Add default case, using
13768 complete-with-action.
13769 (completion--metadata): New function.
13770 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13771 to try and avoid pathological performance problems.
13772 (completion--embedded-envvar-table): Return `category' metadata.
13773
13774 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13775
13776 * subr.el (process-alive-p): New tiny convenience function.
13777
13778 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13779
13780 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13781 content but also its previous major mode.
13782
13783 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
13784
13785 * emacs-lisp/debug.el (debug): Restore the previous content of the
13786 *Backtrace* buffer when we exit with C-M-c.
13787
13788 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13789
13790 * minibuffer.el: Add metadata method to completion tables.
13791 (completion-category-overrides): New defcustom.
13792 (completion-metadata, completion--field-metadata)
13793 (completion-metadata-get, completion--styles)
13794 (completion--cycle-threshold): New functions.
13795 (completion-try-completion, completion-all-completions):
13796 Add `metadata' argument to choose completion-styles.
13797 (completion--do-completion): Use metadata to choose cycling.
13798 (completion-all-sorted-completions): Use metadata for sorting.
13799 Remove :completion-cycle-penalty which is not needed any more.
13800 (completion--try-word-completion): Add `metadata' argument.
13801 (minibuffer-completion-help): Check metadata for annotation function
13802 and sorting.
13803 (completion-file-name-table): Return `category' metadata.
13804 (minibuffer-completing-file-name): Make obsolete.
13805 * simple.el (minibuffer-completing-symbol): Make obsolete.
13806 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13807 completion-try-completion.
13808
13809 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13810
13811 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13812
13813 2011-05-30 Leo Liu <sdl.web@gmail.com>
13814
13815 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13816 (rcirc-print): Decode all incoming messages (bug#8744).
13817 (rcirc-decode-coding-system): Allow value nil for automatic coding
13818 system detection.
13819
13820 2011-06-01 Glenn Morris <rgm@gnu.org>
13821
13822 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13823
13824 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13825
13826 * image.el (image-animate-max-time): Allow nil and t values.
13827 Default to nil.
13828 (create-animated-image): Doc fix.
13829 (image-animate-start): Remove second arg; just use
13830 image-animate-max-time.
13831 (image-animate-timeout): Doc fix. Args changed.
13832
13833 * image-mode.el (image-toggle-display-image): Ensure that the
13834 image spec passed to the animate timer is the same object as in
13835 the buffer's display property (Bug#6981).
13836 (image-transform-properties): Doc fix.
13837
13838 * image.el (image-animate-max-time): Default to nil.
13839
13840 2011-05-29 Martin Rudalics <rudalics@gmx.at>
13841
13842 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13843 entire buffer list (Bug#8184).
13844
13845 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13846
13847 * image.el (imagemagick-types-inhibit)
13848 (imagemagick-register-types): Doc fix.
13849
13850 2011-05-29 Deniz Dogan <deniz@dogan.se>
13851
13852 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13853 default.
13854
13855 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13856
13857 * select.el: Don't perform clipboard-manager saving in hooks;
13858 leave the hooks empty.
13859
13860 2011-05-28 Leo Liu <sdl.web@gmail.com>
13861
13862 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13863 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13864 (occur-edit-mode): New major mode (Bug#8463).
13865 (occur-after-change-function): New function.
13866 (occur-engine): Give Occur tags a read-only property.
13867
13868 2011-05-28 Kevin Ryde <user42@zip.com.au>
13869
13870 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13871
13872 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13873
13874 * bindings.el (help-echo): Make the initial non-indicator dash
13875 empty on graphical terminals (Bug#7295).
13876
13877 * files.el (auto-mode-alist): Move config rule after the
13878 in-stripping one (Bug#8547).
13879
13880 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13881
13882 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13883 setting (Bug#8740).
13884
13885 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13886
13887 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13888 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13889 (Bug#8539).
13890
13891 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13892
13893 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13894
13895 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13896
13897 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13898 (hs-hide-block-at-point, hs-find-block-beginning)
13899 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13900 (Bug#8279).
13901
13902 2011-05-28 Glenn Morris <rgm@gnu.org>
13903
13904 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13905
13906 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13907
13908 * help-fns.el (describe-function-1): If the function is a derived
13909 major mode, print the parent mode.
13910
13911 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13912 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13913
13914 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13915
13916 * minibuffer.el (completion--capf-wrapper): Check applicability before
13917 returning non-nil for non-exclusive completion data.
13918 * progmodes/etags.el (tags-completion-at-point-function):
13919 * info-look.el (info-lookup-completions-at-point): Mark as
13920 non-exclusive.
13921 (info-complete): Adjust accordingly.
13922
13923 * info-look.el: Convert to lexical-binding and completion-at-point.
13924 (info-lookup-completions-at-point): New function.
13925 (info-complete): Use it and completion-in-region.
13926
13927 2011-05-28 Drew Adams <drew.adams@oracle.com>
13928
13929 * isearch.el: Let M-e start with point at the first mismatched char.
13930 (isearch-fail-pos): New function.
13931 (isearch-edit-string): Use it.
13932
13933 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13934
13935 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13936
13937 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13938
13939 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13940 traversal functions for avl-trees.
13941 (avl-tree--stack): New struct.
13942 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13943 (avl-tree-enter): Add optional `updatefun' arg.
13944 (avl-tree--do-enter): Add optional `updatefun' arg.
13945 Change return value.
13946 (avl-tree-delete): Add optional `test' and `nilflag' args.
13947 (avl-tree--do-delete): Add `test' and `nilflag' args.
13948 Change return value.
13949 (avl-tree-member): Add optional `nilflag'
13950 (avl-tree-member-p): New function.
13951 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13952 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13953 (avl-tree-stack-empty-p): New functions.
13954
13955 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13956 avl-tree--del-balance1 and make it work both ways.
13957 (avl-tree--del-balance2): Remove.
13958 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13959 make it work both ways.
13960 (avl-tree--enter-balance2): Remove.
13961 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13962 New macros.
13963 (avl-tree--mapc, avl-tree-map): Add direction argument.
13964
13965 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13966
13967 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13968
13969 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13970
13971 * select.el: Support clipboard managers with built-in function
13972 x-clipboard-manager-save, via delete-frame-functions and
13973 kill-emacs-hook.
13974 (xselect-convert-to-targets): Add MULTIPLE target to list.
13975 (xselect-convert-to-save-targets): New function.
13976
13977 2011-05-27 Kenichi Handa <handa@m17n.org>
13978
13979 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13980 let-binding rfc2047-encode-encoded-words to nil.
13981
13982 2011-05-27 Glenn Morris <rgm@gnu.org>
13983
13984 * mail/emacsbug.el: Don't require url-util.
13985
13986 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13987
13988 * files.el (set-auto-mode):
13989 Also respect mode: entries at the end of the file. (Bug#8586)
13990
13991 2011-05-26 Glenn Morris <rgm@gnu.org>
13992
13993 * files.el (hack-local-variables-prop-line, hack-local-variables):
13994 Downcase mode names, as seems to be traditional.
13995 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13996
13997 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13998 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13999
14000 2011-05-25 Julien Danjou <julien@danjou.info>
14001
14002 * textmodes/rst.el (rst-define-level-faces): Do not define face
14003 symbol if it is already defined.
14004
14005 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14006
14007 * play/5x5.el (5x5-new-game, 5x5-randomize):
14008 Reset 5x5-solver-output to nil when a new grid is cast.
14009 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14010 these debugging traces, as defmacro breaks the compiled code.
14011
14012 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14013
14014 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14015
14016 2011-05-24 Leo Liu <sdl.web@gmail.com>
14017
14018 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14019 (vc-bzr-sha1): Adapt.
14020
14021 * sha1.el: Remove. Function `sha1' is now builtin.
14022
14023 * bindings.el: Provide sha1 feature.
14024
14025 2011-05-24 Kenichi Handa <handa@m17n.org>
14026
14027 * mail/sendmail.el: Require `rfc2047'.
14028 (mail-insert-from-field): Do not perform RFC2047 encoding.
14029 (mail-encode-header): New function.
14030 (sendmail-send-it): Set buffer-file-coding-system of the work
14031 buffer to the return value of select-message-coding-system.
14032 Call mail-encode-header.
14033
14034 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14035
14036 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14037
14038 * mail/supercite.el (sc-default-cite-frame):
14039 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14040
14041 2011-05-24 Glenn Morris <rgm@gnu.org>
14042
14043 * progmodes/python.el (brm-menu): Declare.
14044
14045 * emulation/viper.el (viper-set-hooks): Declare.
14046
14047 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14048 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14049 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14050 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14051 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14052 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14053
14054 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14055
14056 Add an :exit-function for completion-at-point.
14057
14058 * minibuffer.el (completion--done): New fun.
14059 (completion--do-completion): Use it. New arg `expect-exact'.
14060 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14061 since completion--do-completion does it for us now.
14062 (minibuffer-force-complete): Use completion--done and
14063 completion--replace. Handle sole-completion case with more care.
14064 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14065 (completion-extra-properties): New var.
14066 (completion-annotate-function): Make obsolete.
14067 (minibuffer-completion-help): Adjust accordingly.
14068 Use completion-list-insert-choice-function.
14069 (completion-at-point, completion-help-at-point):
14070 Bind completion-extra-properties.
14071 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14072 * simple.el (completion-list-insert-choice-function): New var.
14073 (completion-setup-function): Preserve it.
14074 (choose-completion): Pay attention to it, shuffle the code a bit.
14075 (choose-completion-string): New arg `insert-function'.
14076
14077 * textmodes/bibtex.el: Convert to lexical binding.
14078 (bibtex-mode-map): Use completion-at-point.
14079 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14080 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14081 (bibtex-complete): Define as obsolete alias.
14082 (bibtex-complete-internal): Remove.
14083 (bibtex-format-entry): Remove unused sub-group in regexp.
14084 * shell.el (shell--command-completion-data)
14085 (shell-environment-variable-completion):
14086 * pcomplete.el (pcomplete-completions-at-point):
14087 * comint.el (comint--complete-file-name-data): Use :exit-function
14088 instead of completion-table-with-terminator so it also works for
14089 choose-completion.
14090
14091 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14092
14093 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14094
14095 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14096 (bug#8710).
14097
14098 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14099
14100 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14101
14102 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14103 customization variable and implement: If non-nil, auto-fill will
14104 be inhibited while on topic's header line.
14105
14106 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14107
14108 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14109 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14110 always have a solution in grid size = 5 cases.
14111 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14112 (5x5-solver-output, 5x5-log-buffer): New vars.
14113 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14114 Make these variables buffer local to achieve 5x5 multi-session-ness.
14115 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14116 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14117 (5x5-solve-suggest): New funs.
14118 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14119 randomize a grid so that we ensure that there is always a solution.
14120 (5x5-make-random-grid): Allow other movement than flipping.
14121
14122 2011-05-23 Kevin Ryde <user42@zip.com.au>
14123
14124 * emacs-lisp/advice.el (ad-read-advised-function):
14125 Use `function-called-at-point' as the default, if it has
14126 advice and passes PREDICATE.
14127
14128 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14129
14130 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14131 byte-compile-lambda if it's actually a lambda.
14132
14133 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14134 Fix function quoting. Use backquote better.
14135
14136 2011-05-22 Yuanle Song <sylecn@gmail.com>
14137
14138 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14139 matching (Bug#8516).
14140
14141 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14142
14143 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14144 different face (Bug#8178).
14145
14146 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14147
14148 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14149 defface (Bug#8144).
14150
14151 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14152
14153 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14154 funcall as well (bug#8712). Warn when performing those conversions.
14155 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14156
14157 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14158
14159 2011-05-22 Glenn Morris <rgm@gnu.org>
14160
14161 * files.el (hack-local-variables-prop-line): Small simplifications.
14162 (hack-local-variables, hack-local-variables-prop-line):
14163 If MODE-ONLY, return the mode, rather than just `t'.
14164
14165 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14168
14169 2011-05-21 Glenn Morris <rgm@gnu.org>
14170
14171 * files.el (hack-local-variables-prop-line, hack-local-variables):
14172 If only interested in the mode, don't bother doing the other stuff.
14173
14174 * image-mode.el (image-after-revert-hook):
14175 Redraw all frames on which the image is visible. (Bug#8567)
14176
14177 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14178
14179 * wid-edit.el (widget-checklist-match-inline):
14180 Fix 2011-04-19 change. (Bug#8649)
14181
14182 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14183
14184 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14185 Also allow singlespace after single-letter capitals followed by a dot.
14186
14187 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14188 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14189
14190 2011-05-20 Nix <nix@esperi.org.uk>
14191
14192 * files.el (basic-save-buffer-2):
14193 Fix handling of break-hardlink-on-save with non-existent files.
14194
14195 2011-05-19 Deniz Dogan <deniz@dogan.se>
14196
14197 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14198 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14199
14200 2011-05-19 Glenn Morris <rgm@gnu.org>
14201
14202 * progmodes/f90.el (f90-type-def-re):
14203 Handle "type, bind(c)". (Bug#8691)
14204
14205 * emacs-lisp/autoload.el (batch-update-autoloads):
14206 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14207
14208 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14209
14210 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14211 property for the correct connection in case of multihops.
14212
14213 2011-05-18 Glenn Morris <rgm@gnu.org>
14214
14215 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14216 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14217
14218 Rationalize calendar handling of day and month abbrev-arrays.
14219 * calendar/calendar.el (calendar-customized-p): New function.
14220 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14221 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14222 Add :set function.
14223 (calendar-abbrev-length, calendar-day-abbrev-array)
14224 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14225 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14226 Elements may no longer be nil.
14227 (calendar-day-name, calendar-month-name):
14228 Update for changed nature of abbrev arrays.
14229 * calendar/diary-lib.el (diary-name-pattern):
14230 Update for changed nature of abbrev arrays.
14231 (diary-mark-entries-1): Update calendar-make-alist calls.
14232 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14233 * calendar/cal-html.el (cal-html-day-abbrev-array):
14234 Simply inherit from calendar-day-abbrev-array.
14235
14236 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14237
14238 * progmodes/grep.el (grep-mode): Disable default
14239 compilation-directory-matcher setting (bug#8684).
14240
14241 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14242
14243 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14244 instead of "head" and "tail". There were problems with SunOS 5.9,
14245 and it performs better.
14246
14247 2011-05-17 Glenn Morris <rgm@gnu.org>
14248
14249 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14250
14251 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14252 Replace obsolete function.
14253
14254 * shell.el (pcomplete-parse-arguments-function): Declare.
14255
14256 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14257 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14258 (appt-check): Doc fixes.
14259 (appt-disp-window-function, appt-delete-window-function):
14260 Remove needless special case in custom :type.
14261 (appt-display-count): Default to 0, not nil.
14262 (appt-check): Reset appt-display-count to 0, not nil.
14263
14264 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14265
14266 * progmodes/python.el (python-font-lock-keywords):
14267 Add the Python 3.X keyword "nonlocal" (bug#8639).
14268
14269 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14270
14271 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14272
14273 2011-05-16 Kevin Ryde <user42@zip.com.au>
14274
14275 * info-look.el (makefile-automake-mode): New setups, looking in
14276 automake manual, then makefile-mode.
14277 (makefile-mode): Remove automake manual, have it just in
14278 makefile-automake-mode since there's various things different or
14279 not relevant to plain make.
14280 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14281 believe a hypothetical automake-mode would go to makefile-mode,
14282 not the other way around.
14283
14284 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14285
14286 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14287 hunk-end tags (Bug#8672).
14288
14289 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14290 vc-annotate-show-diff-revision-at-line (Bug#8671).
14291
14292 2011-05-14 Glenn Morris <rgm@gnu.org>
14293
14294 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14295 in the middle of an existing one with multiple authors. (Bug#8645)
14296 (change-log-font-lock-keywords): Also handle multiple author lines
14297 with leading tabs. (Bug#8644)
14298
14299 * calendar/appt.el (appt-check): Rename some local variables.
14300 Some simplification/reordering.
14301
14302 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14303 (feedmail-sendmail-f-doesnt-sell-me-out)
14304 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14305 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14306 (feedmail-queue-runner-message-sender): Set :version.
14307 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14308 (bbdb-dwim-net-address, vm-mail): Declare.
14309 (feedmail-binmail-gnulinuxish-template):
14310 Rename from feedmail-binmail-linuxish-template.
14311 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14312 Use insert-buffer-substring.
14313
14314 2011-05-14 Bill Carpenter <bill@carpenter.org>
14315
14316 * mail/feedmail.el (feedmail-patch-level): Increase.
14317 (feedmail-debug): New custom group.
14318 (feedmail-confirm-outgoing-timeout)
14319 (feedmail-sendmail-f-doesnt-sell-me-out)
14320 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14321 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14322 (feedmail-sender-line, feedmail-from-line)
14323 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14324 (feedmail-spray-this-address)
14325 (feedmail-spray-address-fiddle-plex-list)
14326 (feedmail-queue-use-send-time-for-date)
14327 (feedmail-queue-use-send-time-for-message-id)
14328 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14329 (feedmail-buffer-eating-function):
14330 Doc fixes.
14331 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14332 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14333 (feedmail-message-action-scroll-down): New functions.
14334 (feedmail-queue-directory, feedmail-queue-draft-directory):
14335 Use expand-file-name.
14336 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14337 Remove C-v help entry.
14338 (feedmail-queue-buffer-file-name): New variable.
14339 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14340 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14341 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14342 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14343 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14344 (feedmail-message-action-toggle-spray)
14345 (feedmail-run-the-queue-no-prompts)
14346 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14347 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14348 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14349 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14350 (feedmail-envelope-deducer, feedmail-fiddle-from)
14351 (feedmail-fiddle-sender, feedmail-default-date-generator)
14352 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14353 (feedmail-fiddle-spray-address)
14354 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14355 (feedmail-fiddle-list-of-fiddle-plexes)
14356 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14357 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14358 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14359 Change default. Doc fix.
14360 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14361 (feedmail-binmail-linuxish-template): New constant.
14362 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14363 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14364 (feedmail-send-it): Add debug call.
14365 Use feedmail-queue-buffer-file-name, and
14366 feedmail-send-it-immediately-wrapper.
14367 (feedmail-message-action-send): Add debug call.
14368 Use feedmail-send-it-immediately-wrapper.
14369 (feedmail-queue-express-to-queue): Add debug call.
14370 Run feedmail-queue-express-hook.
14371 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14372 (feedmail-message-action-help-blat):
14373 Rename from feedmail-queue-send-edit-prompt-help-first.
14374 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14375 Check line-endings. Handle errors better.
14376 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14377 Doc fix. Add debug call.
14378 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14379 Use feedmail-queue-send-edit-prompt-inner.
14380 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14381 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14382 from feedmail-queue-send-edit-prompt.
14383 (feedmail-queue-send-edit-prompt-help)
14384 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14385 (feedmail-tidy-up-slug): Add debug call.
14386 Respect feedmail-queue-slug-suspect-regexp.
14387 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14388 (feedmail-dump-message-to-queue): Add debug call.
14389 Expand queue-directory.
14390 (feedmail-dump-message-to-queue): Change message slightly.
14391 Use feedmail-say-chatter.
14392 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14393 (feedmail-send-it-immediately-wrapper): New function.
14394 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14395 Insert empty string rather than newline. Handle full-frame case.
14396 Use catch/throw. Use feedmail-say-chatter.
14397 (feedmail-fiddle-from): Try mail-host-address.
14398 (feedmail-default-message-id-generator): Doc fix.
14399 Bind system-time-locale. Handle missing end.
14400 (feedmail-fiddle-x-mailer): Add debug call.
14401 Handle feedmail-x-mailer-line being nil.
14402 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14403 Add debug call. Use buffer-substring-no-properties.
14404 (feedmail-say-debug, feedmail-say-chatter): New functions.
14405 (feedmail-find-eoh): Give an explicit error.
14406
14407 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14408
14409 * net/newst-treeview.el (newsticker-treeview-face): Change default
14410 family from helvetica to sans.
14411 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14412 etc/images/newsticker.
14413
14414 * net/newst-reader.el (newsticker-feed-face): Change default
14415 family from helvetica to sans.
14416
14417 * net/newst-plainview.el (newsticker-new-item-face)
14418 (newsticker-old-item-face, newsticker-immortal-item-face)
14419 (newsticker-obsolete-item-face, newsticker-date-face)
14420 (newsticker-statistics-face): Change default family from
14421 helvetica to sans.
14422 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14423 etc/images/newsticker.
14424
14425 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14426 (newsticker--process-auto-mark-filter-match): Tell user about
14427 auto-marking.
14428
14429 2011-05-13 Didier Verna <didier@xemacs.org>
14430
14431 Common Lisp indentation improvements on defmethod and lambda-lists.
14432 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14433 TODO entries.
14434 (lisp-lambda-list-keyword-parameter-indentation)
14435 (lisp-lambda-list-keyword-parameter-alignment)
14436 (lisp-lambda-list-keyword-alignment): New customizable user options.
14437 (lisp-indent-defun-method): Improve docstring.
14438 (extended-loop-p): Fix comment.
14439 (lisp-indent-lambda-list-keywords-regexp): New variable.
14440 (lisp-indent-lambda-list): New function.
14441 (lisp-indent-259): Use it.
14442 (lisp-indent-defmethod): Support for more than one
14443 method qualifier and properly indent methods lambda-lists.
14444 (defgeneric): Provide a missing common-lisp-indent-function property.
14445
14446 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14449 bounds for the empty string (bug#8667).
14450
14451 2011-05-13 Glenn Morris <rgm@gnu.org>
14452
14453 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14454
14455 * mail/sendmail.el (sendmail-program): Try executable-find first.
14456 (sendmail-send-it): `sendmail-program' cannot be unbound.
14457
14458 * calendar/appt.el (appt-make-list): Simplify.
14459 (appt-time-msg-list): Doc fix.
14460 (appt-check): Change mode-line message at the time of the appointment.
14461
14462 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14463
14464 * progmodes/ld-script.el (ld-script-keywords)
14465 (ld-script-builtins): Update keywords list.
14466
14467 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14468
14469 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14470
14471 * shell.el (shell-completion-vars): New function.
14472 (shell-mode):
14473 * simple.el (read-shell-command): Use it.
14474 (blink-matching-open): No need for " [...]" in minibuffer-message.
14475
14476 2011-05-12 Glenn Morris <rgm@gnu.org>
14477
14478 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14479 (appt-check): Simplify.
14480
14481 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14482
14483 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14484 literal "/dev/null".
14485
14486 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14487
14488 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14489 Fix typo.
14490
14491 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14492
14493 * progmodes/which-func.el (which-function):
14494 Use add-log-current-defun instead of add-log-current-defun-function,
14495 which might not be defined (Bug#8260).
14496
14497 2011-05-12 Glenn Morris <rgm@gnu.org>
14498
14499 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14500 Let byte-compile-initial-macro-environment always take precedence.
14501
14502 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14503
14504 * net/rcirc.el: Add support for SSL/TLS connections.
14505 (rcirc-server-alist): New field `encryption'.
14506 (rcirc): Check `encryption' settings.
14507 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14508 Merge make-local-variable into `set'.
14509 (rcirc--connection-open-p): New function.
14510 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14511 the process is not a network process (e.g. running gnutls-cli).
14512 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14513 Make rcirc-(en|de)code-coding-system local here.
14514 (rcirc-mode): Merge make-local-variable into `set'.
14515 (rcirc-parent-buffer): Make permanent buffer-local.
14516 (rcirc-multiline-minor-mode): Don't do it here.
14517 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14518 there's no server buffer.
14519
14520 2011-05-11 Glenn Morris <rgm@gnu.org>
14521
14522 * newcomment.el (comment-kill): Prefix "unused" local.
14523
14524 * term/w32console.el (get-screen-color): Declare.
14525
14526 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14527 Handle symbol elements of byte-compile-initial-macro-environment.
14528
14529 2011-05-10 Leo Liu <sdl.web@gmail.com>
14530
14531 * bookmark.el (bookmark-bmenu-mode-map):
14532 Bind bookmark-bmenu-search to `/'.
14533
14534 * mail/footnote.el: Convert to utf-8 encoding.
14535 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14536 (Footnote-unicode): New function.
14537 (footnote-style-alist): Add unicode style to the list.
14538 (footnote-style): Doc fix.
14539
14540 2011-05-10 Jim Meyering <meyering@redhat.com>
14541
14542 Fix doubled-word typos.
14543 * international/quail.el (quail-insert-kbd-layout): and and -> and
14544 * kermit.el: and and -> and
14545 * net/ldap.el (ldap-search-internal): to to -> to
14546 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14547 * progmodes/js.el (js-mode): and and -> and
14548 * textmodes/artist.el (artist-move-to-xy): at at -> at
14549 (artist-draw-region-trim-line-endings): if if -> if
14550 And Safetyc -> Safety.
14551 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14552
14553 2011-05-10 Glenn Morris <rgm@gnu.org>
14554 Stefan Monnier <monnier@iro.umontreal.ca>
14555
14556 * files.el (hack-one-local-variable-eval-safep):
14557 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14558
14559 2011-05-10 Glenn Morris <rgm@gnu.org>
14560
14561 * calendar/diary-lib.el (diary-list-entries-hook)
14562 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14563 (diary-nongregorian-marking-hook, diary-list-entries)
14564 (diary-include-other-diary-files, diary-mark-entries)
14565 (diary-mark-included-diary-files): Doc fixes.
14566
14567 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14568
14569 * misc.el: Require tabulated-list.el during compilation.
14570
14571 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14572
14573 * progmodes/compile.el (compilation-start):
14574 Run compilation-filter-hook for the async case too.
14575 (compilation-filter-hook): Doc fix.
14576
14577 2011-05-09 Deniz Dogan <deniz@dogan.se>
14578
14579 * wdired.el: Remove outdated installation comment. Fix usage
14580 comment.
14581
14582 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14583
14584 * misc.el: Implement new command `list-dynamic-libraries'.
14585 (list-dynamic-libraries--loaded-only-p): New variable.
14586 (list-dynamic-libraries--refresh): New function.
14587 (list-dynamic-libraries): New command.
14588
14589 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14590
14591 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14592 Fix the ant regexp to handle end-line and end-column info from jikes.
14593 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14594 higher priority to avoid clobbering by gnu.
14595
14596 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14597
14598 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14599 if the face has existing theme settings (Bug#8454).
14600
14601 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14602
14603 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14604 Only match variables declared via `my' or `our' (Bug#8261).
14605
14606 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14607 special file names `.' and `..' (Bug#8259).
14608
14609 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14610
14611 * progmodes/grep.el (grep-mode-font-lock-keywords):
14612 Remove buffer-changing entries.
14613 (grep-filter): New function.
14614 (grep-mode): Add it to compilation-filter-hook.
14615
14616 * progmodes/compile.el (compilation-filter-hook)
14617 (compilation-filter-start): New defvars.
14618 (compilation-filter): Call compilation-filter-hook prior to
14619 updating the process mark.
14620
14621 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14622
14623 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14624
14625 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14626
14627 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14628 mailclient-send-it even if window-system is nil. (Bug#8595)
14629
14630 * term/w32console.el (terminal-init-w32console):
14631 Call get-screen-color and use its output to set the frame
14632 background-mode. (Bug#8597)
14633
14634 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14635
14636 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14637 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14638 New functions.
14639 (defgeneric, eieio--defmethod): Use them.
14640 (eieio-defgeneric): Remove.
14641 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14642
14643 2011-05-07 Glenn Morris <rgm@gnu.org>
14644
14645 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14646 Use let rather than let*.
14647 (timeclock-find-discrep): Remove unused local.
14648
14649 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14650
14651 * calendar/appt.el (appt-time-msg-list): Doc fix.
14652
14653 2011-05-06 Noah Friedman <friedman@splode.com>
14654
14655 * apropos.el (apropos-print-doc): Only use
14656 emacs-lisp-docstring-fill-column when it is bound to an integer,
14657 per that variable's documentation.
14658
14659 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14660
14661 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14662 and warnings are not silently discarded (e.g. use -d instead of -P).
14663
14664 2011-05-06 Glenn Morris <rgm@gnu.org>
14665
14666 * calendar/appt.el (appt-message-warning-time): Doc fix.
14667 (appt-warning-time-regexp): New option.
14668 (appt-make-list): Respect appt-message-warning-time.
14669
14670 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14671 New options.
14672 (diary-add-to-list): Strip comments from the displayed string.
14673 (diary-mode): Set comment-start and comment-end.
14674
14675 * vc/diff-mode.el (smerge-refine-subst): Declare.
14676 (diff-refine-hunk): Don't require smerge-mode when compiling.
14677
14678 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14679
14680 * simple.el (list-processes): Return nil as the docstring says.
14681
14682 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14683
14684 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14685 to "".
14686 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14687 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14688 determining of binary transfer. (Bug#7383)
14689
14690 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14691
14692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14693 Fix port computation bug. (Bug#8618)
14694
14695 2011-05-05 Glenn Morris <rgm@gnu.org>
14696
14697 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14698
14699 * simple.el (shell-dynamic-complete-functions)
14700 (comint-dynamic-complete-functions): Declare.
14701
14702 * net/network-stream.el (gnutls-negotiate):
14703 * simple.el (tabulated-list-print): Fix declarations.
14704
14705 * progmodes/gud.el (syntax-symbol, syntax-point):
14706 Remove unnecessary and incorrect declarations.
14707
14708 * emacs-lisp/check-declare.el (check-declare-scan):
14709 Handle byte-compile-initial-macro-environment in bytecomp.el
14710
14711 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14712
14713 Fix earlier half-done eieio-defmethod change (bug#8338).
14714 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14715 Streamline and change calling convention.
14716 (defmethod): Adjust accordingly and simplify.
14717 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14718 new eieio--defmethod.
14719 (slot-boundp): Minor CSE simplification.
14720
14721 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14722
14723 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14724 (glasses-make-readable): Use glasses-separate-capital-groups.
14725
14726 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14727
14728 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14729 (warning-series): Doc fix.
14730 (display-warning): Don't try to create the buffer if we just found it.
14731
14732 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
14733
14734 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14735 (autoload-find-generated-file): New function.
14736 (generate-file-autoloads): Bind generated-autoload-file to
14737 buffer-file-name.
14738 (update-file-autoloads, update-directory-autoloads):
14739 Use autoload-find-generated-file. If called interactively, prompt for
14740 output file (Bug#7989).
14741 (batch-update-autoloads): Doc fix.
14742
14743 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
14744
14745 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14746
14747 2011-05-04 Glenn Morris <rgm@gnu.org>
14748
14749 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14750 function, so it follows changes in calendar-date-style.
14751 (diary-fancy-date-matcher): New function.
14752 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14753 (diary-fancy-font-lock-fontify-region-function):
14754 Use diary-fancy-date-pattern as a function.
14755
14756 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14757 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14758
14759 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14760
14761 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14762 instead of positional arguments. Allow :keylist and :crlfiles
14763 arguments.
14764 (open-gnutls-stream): Call it.
14765
14766 * net/network-stream.el (network-stream-open-starttls): Adjust to
14767 call `gnutls-negotiate' with :process and :hostname arguments.
14768
14769 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14770
14771 * minibuffer.el (completion--message): New function.
14772 (completion--do-completion, minibuffer-complete)
14773 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14774 (completion--do-completion): Don't ignore completion-auto-help when in
14775 icomplete-mode.
14776
14777 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14778 internal encoding (e.g. tibetan zero is not whitespace).
14779 (global-whitespace-mode): Prefer save-current-buffer.
14780 (whitespace-trailing-regexp): Remove useless save-match-data.
14781 (whitespace-empty-at-bob-regexp): Minor simplification.
14782
14783 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
14784
14785 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14786
14787 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14788
14789 * textmodes/ispell.el (ispell-add-per-file-word-list):
14790 Use `concat' to create string for insertion.
14791
14792 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14793
14794 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14795 Avoid open-line which runs post-self-insert-hook.
14796 (bibtex-fill-entry): Remove unused `end' var.
14797
14798 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14799
14800 * textmodes/ispell.el (ispell-add-per-file-word-list):
14801 Protect against `nil' value of `comment-start' (Bug#8579).
14802
14803 2011-05-03 Leo Liu <sdl.web@gmail.com>
14804
14805 * isearch.el (isearch-yank-pop): New command.
14806 (isearch-mode-map): Bind it to `M-y'.
14807 (isearch-forward): Mention it.
14808
14809 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14810
14811 * simple.el (minibuffer-complete-shell-command): Remove.
14812 (minibuffer-local-shell-command-map): Use completion-at-point.
14813 (read-shell-command): Setup completion vars here instead.
14814 (read-expression-map): Bind TAB to symbol completion.
14815
14816 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14817 error directly rather via storing it into `results'.
14818
14819 2011-05-02 Leo Liu <sdl.web@gmail.com>
14820
14821 * vc/diff.el: Fix description.
14822
14823 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14824
14825 * server.el (server-eval-at): New function.
14826
14827 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14828
14829 * net/network-stream.el (open-network-stream): Take a :nowait
14830 parameter and pass it on to `make-network-process'.
14831 (network-stream-open-plain): Ditto.
14832
14833 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14834
14835 * faces.el (face-spec-set-match-display): Don't match toolkit
14836 options on terminal frames.
14837
14838 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14839
14840 * progmodes/pascal.el: Use lexical binding.
14841 (pascal-mode-map): Remove author preferences.
14842
14843 * pcomplete.el (pcomplete-std-complete): Don't abuse
14844 completion-at-point.
14845
14846 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14847
14848 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14849 removing code that has been dead since 1991 or so.
14850
14851 * startup.el (command-line): When warning about "_emacs", use a
14852 delayed warning to allow the user to filter it out.
14853
14854 2011-04-28 Deniz Dogan <deniz@dogan.se>
14855
14856 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14857 user has not joined.
14858
14859 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14860
14861 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14862 aren't any completions at point.
14863
14864 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14865
14866 * subr.el (display-delayed-warnings): New function.
14867 (delayed-warnings-hook): New variable.
14868
14869 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14870
14871 * minibuffer.el (completion-at-point, completion-help-at-point):
14872 Don't presume that a given completion-at-point-function will always
14873 use the same calling convention.
14874
14875 * pcomplete.el (pcomplete-completions-at-point):
14876 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14877 pcomplete-seen is non-nil.
14878 (pcomplete-comint-setup): Also recognize the new comint/shell
14879 completion functions.
14880 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14881 pcomplete-seen is non-nil.
14882
14883 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14884
14885 * calendar/icalendar.el (diary-lib): Add require statement.
14886 (icalendar--create-uid): Read out a uid from a text-property on
14887 the first character in the entry. This allows for code to add its
14888 own uid to the entry.
14889 (icalendar--convert-float-to-ical): Add export of
14890 `diary-float'-entries save for those with the optional DAY
14891 argument.
14892
14893 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14894
14895 * subr.el (shell-quote-argument): Use alternate escaping strategy
14896 when we spot a variable reference in a string.
14897
14898 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14899
14900 * cus-start.el (all): Define customization for debug-on-event.
14901
14902 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14903
14904 * subr.el (shell-quote-argument): Escape correctly under Windows.
14905
14906 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14907
14908 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14909
14910 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14911
14912 * net/tramp.el (tramp-process-actions): Add POS argument.
14913 Delete region between POS and (pos).
14914
14915 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14916 Use `nil' position in `tramp-process-actions' call.
14917 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14918
14919 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14920 position in `tramp-process-actions' call.
14921
14922 * net/trampver.el: Update release number.
14923
14924 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14925
14926 * custom.el (defcustom): Obey lexical-binding.
14927
14928 Fix octave-inf completion problems reported by Alexander Klimov.
14929 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14930 Inherit from octave-mode-syntax-table.
14931 (inferior-octave-mode): Set info-lookup-mode.
14932 (inferior-octave-completion-at-point): New function.
14933 (inferior-octave-complete): Use it and completion-in-region.
14934 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14935 comint-filename-completion.
14936 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14937 symbol elements which shouldn't be word elements.
14938 (octave-font-lock-keywords, octave-beginning-of-defun)
14939 (octave-function-header-regexp): Adjust regexps accordingly.
14940 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14941
14942 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14943
14944 * net/gnutls.el (gnutls-errorp): Declare before first use.
14945
14946 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14947
14948 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14949 verify-error, and verify-hostname-error parameters. Check whether
14950 default trustfile exists before going to use it. Add missing
14951 argument to gnutls-message-maybe call. Return value.
14952 Reported by Claudio Bley <claudio.bley@gmail.com>.
14953 (open-gnutls-stream): Add usage example.
14954
14955 * net/network-stream.el (network-stream-open-starttls): Give host
14956 parameter to `gnutls-negotiate'.
14957 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14958 * subr.el (shell-quote-argument): Escape correctly under Windows.
14959
14960 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14961
14962 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14963 Use correct match group (bug#8438).
14964
14965 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14966
14967 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14968 (package-menu--generate): New arg specifying packages to show.
14969 (package-menu-refresh, package-menu-execute, list-packages):
14970 Callers changed.
14971 (package-show-package-list): New function, replacing deleted
14972 package--list-packages (renamed because it is non-internal).
14973
14974 * finder.el (finder-list-matches): Use package-show-package-list
14975 instead of deleted package--list-packages.
14976
14977 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14978 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14979 (vc-annotate-mode-map): Bind it to RET.
14980
14981 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14982
14983 * progmodes/etags.el (next-file): Don't use set-buffer to change
14984 buffers (Bug#8478).
14985
14986 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14987
14988 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14989
14990 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14991 (apropos-accumulator): Doc fix.
14992 (apropos-function, apropos-macro, apropos-command)
14993 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14994 (apropos-plist): Add face property.
14995 (apropos-symbols-internal): Fix indentation.
14996 (apropos-print): Simplify help, and recognize apropos-multi-type.
14997 (apropos-print-doc): Use button-type-get to extract the button's
14998 face property. Fill docstring (Bug#8352).
14999
15000 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15001
15002 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15003
15004 * play/mpuz.el (mpuz-silent): Doc fix.
15005 (mpuz-mode-map): Use mapc.
15006 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15007 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15008 Fix typos in docstrings.
15009
15010 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15011 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15012
15013 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15014
15015 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15016
15017 * minibuffer.el (completion--do-completion): Avoid the "Next char
15018 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15019
15020 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15021 mouse-2 into unread-command-events, it is interpreted correctly.
15022
15023 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15024 (image-toggle-display): Doc fix.
15025
15026 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15027
15028 * textmodes/page.el (what-page): Use line-number-at-pos to
15029 calculate line number (Bug#6825).
15030
15031 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15032
15033 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15034 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15035 Pass argument NO-DEFAULT to `find-tag-interactive'.
15036
15037 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15038
15039 Lexical-binding cleanup.
15040
15041 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15042 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15043 * progmodes/ada-prj.el (ada-prj-initialize-values)
15044 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15045 (ada-prj-show-value):
15046 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15047 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15048 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15049 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15050 * progmodes/bug-reference.el (bug-reference-push-button):
15051 * progmodes/fortran.el (fortran-line-length):
15052 * progmodes/glasses.el (glasses-change):
15053 * progmodes/octave-mod.el (octave-fill-paragraph):
15054 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15055 (python-pdbtrack-grub-for-buffer, python-sentinel):
15056 * progmodes/sql.el (sql-save-connection):
15057 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15058 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15059 Mark unused parameters.
15060
15061 * progmodes/compile.el (compilation--flush-directory-cache)
15062 (compilation--flush-parse, compile-internal): Mark unused parameters.
15063 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15064 (compilation-next-error-function): Remove unused variable `timestamp'.
15065
15066 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15067 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15068
15069 * progmodes/dcl-mode.el (dcl-end-of-command):
15070 Remove unused variable `start'.
15071 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15072 (dcl-option-value-basic, dcl-option-value-offset)
15073 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15074 Mark unused parameters.
15075 (dcl-save-local-variable): Remove unused variable `val'.
15076 (mode): Declare.
15077
15078 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15079 Mark unused parameters.
15080 (delphi-ignore-changes): Move before first use.
15081 (delphi-charset-token-at): Remove unused variable `start'.
15082 (delphi-else-start): Remove unused variable `if-count'.
15083 (delphi-comment-block-start, delphi-comment-block-end):
15084 Remove unused variable `kind'.
15085 (delphi-indent-line): Remove unused variable `new-point'.
15086
15087 * progmodes/ebrowse.el (ebrowse-files-list)
15088 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15089 Mark unused parameters. Don't quote `lambda'.
15090 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15091 Don't quote `lambda'.
15092 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15093 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15094 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15095 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15096 Use `ignore-errors'.
15097 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15098 (ebrowse-view/find-file-and-search-pattern)
15099 (ebrowse-view/find-member-declaration/definition):
15100 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15101 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15102 Rename parameter PREFIX-ARG to PREFIX.
15103 (ebrowse-tags-read-name): Remove unused variables `start' and
15104 `member-info'.
15105 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15106 to `tags-file'.
15107
15108 * progmodes/etags.el (local-find-tag-hook): Declare.
15109 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15110 Mark unused parameters.
15111
15112 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15113 (executable-interpret): Mark unused parameter.
15114
15115 * progmodes/flymake.el (flymake-process-sentinel)
15116 (flymake-after-change-function)
15117 (flymake-create-temp-with-folder-structure)
15118 (flymake-get-include-dirs-dot): Mark unused parameters.
15119 (flymake-safe-delete-directory): Remove unused variable `err'.
15120
15121 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15122 (speedbar-timer-fn, speedbar-line-text)
15123 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15124 (speedbar-center-buffer-smartly): Declare functions.
15125 (gdb-find-watch-expression): Remove unused variable `array'.
15126 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15127 (gdb-starting): Mark unused parameters.
15128 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15129 (gdb-table-string): Remove unused variable `res'.
15130 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15131 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15132 (gdb-display-buffer): Remove unused variable `cur-size'.
15133
15134 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15135 allow lexical-binding compilation.
15136 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15137 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15138 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15139 Mark unused parameters.
15140 (gud-gdb-marker-filter): Remove unused variable `match'.
15141 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15142 lambda expressions and funcall them, instead of using `fset'.
15143
15144 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15145 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15146
15147 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15148 variable `header-beg'; use `let'.
15149
15150 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15151 `restart', `last-sexp' and `at-do'.
15152
15153 * progmodes/js.el (js--debug): Mark unused parameter.
15154 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15155 (js--splice-into-items): Remove unused variable `item'.
15156 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15157
15158 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15159 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15160 (makefile-complete): Remove unused variable `try'.
15161 (makefile-fill-paragraph, makefile-match-function-end):
15162 Mark unused parameters.
15163
15164 * progmodes/octave-inf.el (inferior-octave-complete):
15165 Remove unused variable `proc'.
15166 (inferior-octave-output-digest): Mark unused parameter.
15167
15168 * progmodes/perl-mode.el (perl-calculate-indent):
15169 Remove unused variable `err'.
15170
15171 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15172 (prolog-indent-line): Mark unused parameters.
15173 (prolog-indent-line): Remove unused variable `beg'.
15174
15175 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15176 (reporter-dont-compact-list): Declare.
15177
15178 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15179 Remove unused variable `char'.
15180 (sh-debug): Mark unused parameter.
15181 (sh-get-indent-info): Remove unused variable `start'.
15182 (sh-calculate-indent): Remove unused variable `var'.
15183
15184 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15185 (simula-electric-keyword): Remove unused variable `null'.
15186 (simula-search-backward, simula-search-forward): Remove unused
15187 variables `begin' and `end'.
15188
15189 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15190 Remove unused variable `pos'.
15191 (vera-electric-tab, vera-comment-uncomment-region):
15192 Mark unused parameters.
15193 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15194
15195 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15196
15197 * emacs-lisp/package.el (package--builtins, package-alist)
15198 (package-load-descriptor, package-built-in-p, package-activate)
15199 (define-package, package-installed-p)
15200 (package-compute-transaction, package-buffer-info)
15201 (package--push): Doc fix. Distinguish more clearly between
15202 version strings and version lists.
15203
15204 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15205
15206 Lexical-binding cleanup.
15207
15208 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15209 (5x5-make-mutate-best):
15210 * play/fortune.el (fortune-in-buffer):
15211 * play/gomoku.el (gomoku-init-display):
15212 * play/solitaire.el (solitaire, solitaire-do-check):
15213 * play/tetris.el (tetris-default-update-speed-function):
15214 Mark unused parameters.
15215
15216 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15217 (bubbles--shift): Remove unused variable `char-org'.
15218 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15219 (bubbles--show-images): Remove unused variable `char'.
15220
15221 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15222 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15223 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15224 (decipher-analyze-buffer): Use ?\s.
15225 (decipher-make-checkpoint): Remove unused variable `mapping'.
15226
15227 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15228
15229 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15230 Remove unused variable `result'; use `let'.
15231
15232 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15233 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15234 (gametree-children-shown-p, gametree-compute-reduced-score):
15235 Use `ignore-errors'.
15236
15237 * play/handwrite.el (ps-lpr-switches): Declare.
15238 (handwrite): Remove unused variables `pmin' and `lastp'.
15239
15240 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15241
15242 * play/landmark.el (landmark-init-display)
15243 (landmark-update-naught-weights): Mark unused parameters.
15244 (landmark-y): Remove unused variable `noise'. Simplify.
15245 (landmark-human-plays): Remove unused variable `score'.
15246
15247 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15248 (mpuz-try-proposal): Remove unused variable `game'.
15249
15250 * play/zone.el (life-patterns): Declare.
15251
15252 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15253
15254 * vc/vc.el (ediff-vc-internal): Declare function.
15255
15256 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15257
15258 * shell.el: Use lexical-binding and std completion UI.
15259 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15260 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15261 comint-preoutput-filter-functions rather than on
15262 comint-output-filter-functions.
15263 (shell-command-completion, shell--command-completion-data)
15264 (shell-filename-completion, shell-environment-variable-completion)
15265 (shell-c-a-p-replace-by-expanded-directory): New functions.
15266 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15267 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15268 (shell-dynamic-complete-environment-variable): Use them.
15269 (shell-dynamic-complete-as-environment-variable)
15270 (shell-dynamic-complete-as-command): Remove.
15271 (shell-match-partial-variable): Match past point.
15272 * comint.el: Clean up use of completion-at-point-functions.
15273 (comint-completion-at-point): New function.
15274 (comint-mode): Use it completion-at-point-functions.
15275 (comint-dynamic-complete): Make it obsolete.
15276 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15277 (comint-c-a-p-replace-by-expanded-history): New function.
15278 (comint-dynamic-complete-functions)
15279 (comint-replace-by-expanded-history): Use it.
15280 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15281 termination strings. Try harder to avoid second try-completion.
15282 (completion-in-region-mode-map): Disable bindings that don't work yet.
15283
15284 * comint.el: Use lexical-binding. Require CL.
15285 (comint-dynamic-complete-functions): Use comint-filename-completion.
15286 (comint-completion-addsuffix): Tweak custom type.
15287 (comint-filename-completion, comint--common-suffix)
15288 (comint--common-quoted-suffix, comint--table-subvert)
15289 (comint--complete-file-name-data): New functions.
15290 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15291 (comint-dynamic-list-filename-completions): Use them.
15292 (comint-dynamic-simple-complete): Make obsolete.
15293
15294 * minibuffer.el (completion-in-region-mode):
15295 Keep completion-in-region-mode--predicate global.
15296 (completion-in-region--postch):
15297 Assume completion-in-region-mode--predicate is not null.
15298
15299 * progmodes/flymake.el (flymake-start-syntax-check-process):
15300 Obey `dir'. Simplify.
15301
15302 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15303 we're in VC after all.
15304
15305 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15306
15307 * vc/vc.el (vc-diff-build-argument-list-internal)
15308 (vc-version-ediff, vc-ediff): New commands.
15309 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15310
15311 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15312
15313 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15314 add sanity check.
15315
15316 * obsolete/erc-hecomplete.el: Make obsolete.
15317 * obsolete/: Standardize obsolescence info in the header.
15318
15319 2011-04-20 Glenn Morris <rgm@gnu.org>
15320
15321 * calendar/solar.el (solar-horizontal-coordinates):
15322 Use the longitude argument rather than `calendar-longitude'.
15323 (solar-date-next-longitude): Remove unused locals.
15324
15325 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15326
15327 * whitespace.el: New version 13.2.1.
15328
15329 2011-04-20 felix <EmacsWiki> (tiny change)
15330
15331 * whitespace.el (global-whitespace-mode): Keep highlight when
15332 switching between major modes on a file.
15333
15334 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15335
15336 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15337 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15338 multi-line comments as well.
15339
15340 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15341
15342 Lexical-binding cleanup.
15343
15344 * arc-mode.el (archive-mode-revert):
15345 * cmuscheme.el (scheme-interactively-start-process):
15346 * custom.el (custom-initialize-delay):
15347 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15348 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15349 * emacs-lock.el (emacs-lock-clear-sentinel):
15350 * ezimage.el (defezimage):
15351 * follow.el (follow-avoid-tail-recenter):
15352 * fringe.el (set-fringe-mode-1):
15353 * generic-x.el (bat-generic-mode-compile):
15354 * help-mode.el (help-info-variable, help-do-xref)
15355 (help-mode-revert-buffer):
15356 * help.el (view-emacs-todo):
15357 * iswitchb.el (iswitchb-completion-help):
15358 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15359 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15360 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15361 * locate.el (locate-update):
15362 * longlines.el (longlines-encode-region)
15363 (longlines-after-change-function):
15364 * outline.el (outline-isearch-open-invisible):
15365 * ps-def.el (declare-function, charset-dimension, char-width)
15366 (encode-char):
15367 * ps-mule.el (ps-mule-plot-string):
15368 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15369 (recentf-edit-list-select, recentf-edit-list-validate)
15370 (recentf-open-files-action):
15371 * rect.el (delete-whitespace-rectangle-line)
15372 (rectangle-number-line-callback):
15373 * register.el (window-configuration-to-register)
15374 (frame-configuration-to-register):
15375 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15376 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15377 (xselect-convert-to-targets, xselect-convert-to-delete)
15378 (xselect-convert-to-filename, xselect-convert-to-charpos)
15379 (xselect-convert-to-lineno, xselect-convert-to-colno)
15380 (xselect-convert-to-os, xselect-convert-to-host)
15381 (xselect-convert-to-user, xselect-convert-to-class)
15382 (xselect-convert-to-name, xselect-convert-to-integer)
15383 (xselect-convert-to-atom, xselect-convert-to-identity):
15384 * subr.el (declare, ignore, process-kill-without-query)
15385 (text-clone-maintain):
15386 * terminal.el (te-get-char, te-tic-sentinel):
15387 * tool-bar.el (tool-bar-make-keymap):
15388 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15389 * type-break.el (type-break-mode, type-break-noninteractive-query):
15390 * view.el (View-back-to-mark):
15391 * wid-browse.el (widget-browse-action, widget-browse-widget)
15392 (widget-browse-widgets, widget-browse-sexp):
15393 * widget.el (define-widget-keywords):
15394 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15395 Mark unused parameters.
15396
15397 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15398 (align-areas): Remove unused variable `look'.
15399 (align-region): Remove unused variables `real-end' and `pos-list'.
15400
15401 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15402
15403 * bindings.el (mode-line-modified, mode-line-remote):
15404 Mark unused parameters.
15405 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15406
15407 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15408 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15409
15410 * comint.el (comint-history-isearch-pop-state)
15411 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15412 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15413 (comint-substitute-in-file-name): Doc fix.
15414
15415 * completion.el (cmpl-statistics-block): Mark unused parameter.
15416 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15417 (save-completions-to-file, load-completions-from-file):
15418 Remove unused local variable `e'.
15419
15420 * composite.el (compose-chars): Remove unused variable `len'.
15421 (lgstring-insert-glyph): Remove unused variable `g'.
15422 (compose-glyph-string): Remove unused variables `ascent',
15423 `descent', `lbearing' and `rbearing'.
15424 (compose-glyph-string-relative): Remove unused variables
15425 `lbearing', `rbearing' and `wadjust'.
15426 (compose-gstring-for-graphic): Remove unused variables `header',
15427 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15428 (compose-gstring-for-terminal): Remove unused variables `header'
15429 and `nchars'. Use `let', not `let*'.
15430
15431 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15432 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15433 (Custom-buffer-done, custom-buffer-create-internal)
15434 (custom-browse-visibility-action, custom-browse-group-tag-action)
15435 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15436 (widget-magic-mouse-down-action, custom-toggle-parent)
15437 (custom-add-parent-links, custom-toggle-hide-variable)
15438 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15439 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15440 (custom-face-menu-create, custom-variable-menu-create, get)
15441 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15442 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15443 (customize-apropos): Remove unused variable `tests'.
15444 (custom-group-value-create): Remove unused variable `hidden-p'.
15445 (sort-fold-case): Declare.
15446
15447 * cus-theme.el (custom-reset-standard-faces-list)
15448 (custom-reset-standard-variables-list): Declare.
15449 (customize-create-theme, custom-theme-revert, custom-theme-write)
15450 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15451 Mark unused parameters.
15452
15453 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15454
15455 * delim-col.el (delimit-columns-max): Move defvar before first use.
15456
15457 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15458 (describe-char): Don't quote `lambda'. Mark unused parameter.
15459
15460 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15461 (auto-insert): Declare.
15462 (desktop-restore-file-buffer): Rename desktop-* parameters;
15463 mark unused ones.
15464 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15465 (desktop-buffer): Rename desktop-* parameters.
15466
15467 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15468 (dframe-reposition-frame-xemacs, dframe-help-echo)
15469 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15470 Mark unused parameters.
15471
15472 * dired-aux.el (backup-extract-version-start, overwrite-query)
15473 (overwrite-backup-query, rename-regexp-query)
15474 (rename-non-directory-query): Declare.
15475 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15476 (dired-add-entry): Remove unused variable `orig-file-name'.
15477 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15478 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15479 `dired-copy-preserve-time' directly.
15480 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15481 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15482
15483 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15484 (dired-virtual-revert, dired-make-relative-symlink):
15485 Mark unused parameters.
15486 (manual-program): Declare.
15487 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15488 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15489 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15490
15491 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15492
15493 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15494
15495 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15496 Declare.
15497
15498 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15499
15500 * electric.el (Electric-command-loop): Rename parameter
15501 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15502
15503 * expand.el (expand-in-literal): Remove unused variable `here'.
15504
15505 * facemenu.el (facemenu-add-new-color):
15506 Remove unused variable `docstring'.
15507
15508 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15509 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15510 (face-attr-construct): Mark unused parameter. Doc fix.
15511 (read-color): Remove unused variable `hex-string'.
15512
15513 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15514 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15515 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15516 (display-buffer-other-frame): Remove unused variable `old-window'.
15517 (kill-buffer-hook): Declare.
15518 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15519 Mark unused parameters.
15520 (after-find-file): Pass 1 to `auto-save-mode', not t.
15521
15522 * files-x.el (auto-insert): Declare.
15523 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15524
15525 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15526 variable `buf'. Mark unused parameter.
15527 (find-lisp-insert-directory): Mark unused parameter.
15528
15529 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15530 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15531 (format-common-tail): Remove, unused.
15532 (format-deannotate-region): Remove unused variable `loc'.
15533 (format-annotate-region): Remove unused variable `p'.
15534 (format-annotate-single-property-change): Remove unused variables
15535 `default' and `tail'.
15536
15537 * forms.el (read-file-filter): Declare.
15538 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15539
15540 * frame.el (frame-creation-function-alist): Mark unused parameter.
15541 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15542
15543 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15544 Remove unused parameters.
15545 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15546 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15547
15548 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15549 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15550 (hfy-prepare-tag-map): Mark unused parameters.
15551 (htmlfontify-buffer): Use `called-interactively-p'.
15552
15553 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15554 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15555 (ibuffer-do-occur): Mark unused parameters.
15556 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15557 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15558
15559 * ibuffer.el: Don't quote `lambda'.
15560 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15561 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15562 Mark unused parameters.
15563
15564 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15565 (ido-completing-read): Mark unused parameters.
15566 (ido-copy-current-word): Mark unused parameters;
15567 remove unused variable `name'.
15568 (ido-sort-merged-list): Remove unused parameter `dirs'.
15569
15570 * ielm.el (ielm-input-sender): Mark unused parameter.
15571 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15572 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15573 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15574 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15575 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15576
15577 * image-dired.el (image-dired-display-thumbs): Remove unused
15578 variables `curr-file' and `count'.
15579 (image-dired-remove-tag): Remove unused variable `start'.
15580 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15581 variable `curr-file'
15582 (image-dired-rotate-original): Remove unused variable `temp-file'.
15583 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15584 Remove unused variable `file'.
15585 (image-dired-gallery-generate): Remove unused variable `curr'.
15586 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15587
15588 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15589
15590 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15591
15592 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15593
15594 * isearch.el (minibuffer-history-symbol): Declare.
15595 (isearch-edit-string): Remove unused variable `err'.
15596 (isearch-message-prefix, isearch-message-suffix):
15597 Mark unused parameters.
15598
15599 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15600
15601 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15602
15603 * makesum.el (double-column): Remove unused variable `cnt'.
15604
15605 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15606 (ido-ignore-item-temp-list): Declare.
15607
15608 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15609 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15610 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15611 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15612 `mouse-col-delta'.
15613
15614 * mouse-sel.el (mouse-extend-internal):
15615 Remove unused variable `orig-window-frame'.
15616
15617 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15618 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15619 Move declarations before first use.
15620 (pcomplete-opt): Mark unused parameters; doc fix.
15621
15622 * proced.el (proced-revert): Mark unused parameter.
15623 (proced-send-signal): Remove unused variable `err'.
15624
15625 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15626 Rename parameter PREFIX-ARG to ARG.
15627 (ps-basic-plot-string, ps-basic-plot-whitespace):
15628 Mark unused parameters.
15629
15630 * replace.el (replace-count): Define.
15631 (occur-revert-function): Mark unused parameters.
15632 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15633 (isearch-case-fold-search, isearch-string): Declare.
15634 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15635 bind `case-fold-search'. Remove unused variables `beg' and `end',
15636 and simplify.
15637 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15638 COUNT and bind `replace-count'.
15639 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15640 to COUNT.
15641
15642 * savehist.el (print-readably, print-string-length): Declare.
15643
15644 * shadowfile.el (shadow-expand-cluster-in-file-name):
15645 Remove unused variable `cluster'.
15646 (shadow-copy-file): Remove unused variable `i'.
15647 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15648 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15649 (shadow-define-literal-group, shadow-define-regexp-group)
15650 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15651
15652 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15653 (shell): Use `called-interactively-p'.
15654 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15655
15656 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15657 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15658 (delete-backward-char): Remove unused variable `ocol'.
15659 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15660 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15661 (event-apply-hyper-modifier, event-apply-shift-modifier)
15662 (event-apply-control-modifier, event-apply-meta-modifier):
15663 Mark unused parameters.
15664 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15665 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15666
15667 * speedbar.el (speedbar-ignored-directory-expressions)
15668 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15669 (speedbar-find-file, speedbar-dir-follow)
15670 (speedbar-directory-buttons-follow, speedbar-tag-find)
15671 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15672 (speedbar-buffers-line-directory, speedbar-buffer-click):
15673 Mark unused parameters.
15674 (speedbar-tag-file): Remove unused variable `mode'.
15675 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15676
15677 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15678
15679 * talk.el (talk): Remove unused variable `display'.
15680
15681 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15682 (tar-write-region-annotate): Mark unused parameter.
15683
15684 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15685 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15686 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15687 warning by another.
15688
15689 * time-stamp.el (time-stamp-string-preprocess):
15690 Remove unused variable `require-padding'.
15691
15692 * tree-widget.el (widget-glyph-enable): Declare.
15693 (tree-widget-action): Mark unused parameter.
15694
15695 * w32-fns.el (x-get-selection): Mark unused parameter.
15696 (autoload-make-program, generated-autoload-file): Declare.
15697
15698 * wdired.el (wdired-revert): Mark unused parameters.
15699 (wdired-xcase-word): Remove unused variable `err'.
15700
15701 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15702 (whitespace-help-scroll): Remove unused variable `data-help'.
15703
15704 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15705 (widget-image-insert, widget-after-change, default)
15706 (widget-default-format-handler, widget-default-notify)
15707 (widget-default-prompt-value, widget-info-link-action)
15708 (widget-url-link-action, widget-function-link-action)
15709 (widget-variable-link-action, widget-file-link-action)
15710 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15711 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15712 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15713 (widget-insert-button-action, widget-delete-button-action, visibility)
15714 (widget-documentation-link-action, widget-documentation-string-action)
15715 (widget-const-prompt-value, widget-regexp-match, symbol)
15716 (widget-coding-system-prompt-value)
15717 (widget-key-sequence-value-to-external, sexp)
15718 (widget-sexp-value-to-internal, character, vector, cons)
15719 (widget-choice-prompt-value, widget-boolean-prompt-value)
15720 (widget-color--choose-action): Mark unused parameters.
15721 (widget-item-match-inline, widget-choice-match-inline)
15722 (widget-checklist-match, widget-checklist-match-inline)
15723 (widget-group-match): Rename parameter VALUES to VALS.
15724 (widget-field-value-set): Remove unused variable `size'.
15725 (widget-color-action): Remove unused variables `value' and `start'.
15726
15727 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15728 variable `dir'. Doc fix.
15729 (windmove-find-other-window): Don't pass it.
15730
15731 * window.el (count-windows): Mark unused parameter.
15732 (bw-adjust-window): Remove unused variable `err'.
15733
15734 * woman.el (woman-file-name): Remove unused variable `default'.
15735 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15736 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15737 (global-font-lock-mode): Declare.
15738 (woman-decode-region): Mark unused parameter.
15739 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15740
15741 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15742 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15743 (x-dnd-handle-moz-url): Remove unused variable `title'.
15744 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15745
15746 * xml.el (xml-parse-tag, xml-parse-attlist):
15747 Remove unused variable `pos'.
15748
15749 2011-04-19 Glenn Morris <rgm@gnu.org>
15750
15751 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15752 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15753 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15754 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15755 * calendar/cal-html.el (cal-html-insert-minical):
15756 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15757 (calendar-mark-date-pattern):
15758 Prefix "unused" locals.
15759
15760 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15761 optional argument `style'.
15762
15763 * calendar/appt.el (appt-make-list):
15764 * calendar/cal-china.el (calendar-chinese-date-string):
15765 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15766 (diary-hebrew-yahrzeit):
15767 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15768 * calendar/calendar.el (calendar-generate-window):
15769 * calendar/time-date.el (time-to-days):
15770 Remove unused local variables.
15771
15772 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
15773
15774 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15775 glyphless-char-display table.
15776 (tabulated-list-glyphless-char-display): New var.
15777
15778 2011-04-18 Sam Steingold <sds@gnu.org>
15779
15780 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15781 to acknowledgments.
15782
15783 2011-04-17 Glenn Morris <rgm@gnu.org>
15784
15785 * calendar/diary-lib.el (diary-sexp-entry):
15786 * calendar/holidays.el (holiday-sexp):
15787 Set debug-on-error rather than the removed stack-trace-on-error.
15788
15789 2011-04-16 Glenn Morris <rgm@gnu.org>
15790
15791 * progmodes/f90.el: Use lexical-binding.
15792 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15793
15794 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15797 (mail-mode): Setup mailalias completion here instead.
15798 * mail/mailalias.el: Use lexical-binding.
15799 (pattern, mailalias-done): Declare dynamic.
15800 (mail-completion-at-point-function): New function, from mail-complete.
15801 (mail-complete): Use it.
15802 (mail-completion-expand): New function.
15803 (mail-get-names): Use it.
15804 (mail-directory, mail-directory-process, mail-directory-stream):
15805 Don't use `pattern' for lexically bound arg.
15806
15807 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15808
15809 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15810 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15811 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15812
15813 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15814 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15815 (byte-interactive-p): Define them again, for use when inlining
15816 old code.
15817
15818 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
15819
15820 * loadup.el: Use `string-to-number', not `string-to-int'.
15821
15822 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15823
15824 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15825 gud-gdb-complete-command.
15826 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15827 (gud-gdb-completion-at-point): New function.
15828 (gud-gdb-completions): Remove.
15829
15830 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
15831
15832 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15833 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15834 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15835 whether `executable-find' is bound.
15836
15837 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15838
15839 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15840
15841 * minibuffer.el (completion-in-region-mode-predicate)
15842 (completion-in-region-mode--predicate): New vars.
15843 (completion-in-region, completion-in-region--postch)
15844 (completion-in-region-mode): Use them.
15845 (completion--capf-wrapper): Also return the hook function.
15846 (completion-at-point, completion-help-at-point):
15847 Adjust and provide a predicate.
15848
15849 Preserve arg names for advice of subr and lexical functions (bug#8457).
15850 * help-fns.el (help-function-arglist): Consolidate the subr and
15851 new-byte-code cases. Add argument `preserve-names' to extract names
15852 from the docstring when needed.
15853 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15854 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15855 (ad-arglist): Use help-function-arglist's new arg.
15856 (ad-definition-type): Use cond.
15857
15858 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15859
15860 * autorevert.el (auto-revert-handler):
15861 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15862 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15863 Don't quote lambda.
15864
15865 * image-mode.el (image-transform-set-scale):
15866 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15867
15868 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15869
15870 * net/network-stream.el (network-stream-open-starttls): Only do
15871 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15872 Upgrades via gnutls-cli are too slow to be done opportunistically.
15873
15874 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15875
15876 * dframe.el (dframe-current-frame): Remove spurious quote.
15877
15878 2011-04-12 Glenn Morris <rgm@gnu.org>
15879
15880 * calendar/cal-tex.el (cal-tex-end-document):
15881 Try to automatically use latin1 input if needed.
15882
15883 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15884 Don't try to cons a mark onto an empty element.
15885
15886 2011-04-11 Leo Liu <sdl.web@gmail.com>
15887
15888 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15889 buffers.
15890 (ido-kill-buffer-at-head): Support killing virtual buffers.
15891
15892 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15893
15894 * minibuffer.el (completion-show-inline-help): New var.
15895 (completion--do-completion, minibuffer-complete)
15896 (minibuffer-force-complete, minibuffer-complete-word):
15897 Inhibit minibuffer messages if completion-show-inline-help is nil.
15898
15899 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15900 to avoid interference from inline help (Bug#5849).
15901
15902 2011-04-10 Leo Liu <sdl.web@gmail.com>
15903
15904 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15905 Fix typo.
15906
15907 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15908
15909 * image-mode.el (image-toggle-display-image): Signal an error if
15910 not in Image mode.
15911 (image-transform-mode, image-transform-resize)
15912 (image-transform-set-rotation): Doc fix.
15913 (image-transform-set-resize): Delete.
15914 (image-transform-set-scale, image-transform-fit-to-height)
15915 (image-transform-fit-to-width): Handle image-toggle-display-image
15916 and image-transform-resize directly.
15917
15918 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15919
15920 * doc-view.el (doc-view-fit-width-to-window)
15921 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15922 New functions for fitting the shown image to the Emacs window size.
15923 (doc-view-mode-map): Add bindings for the new functions.
15924
15925 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15926
15927 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15928 Fix typo in docstring.
15929
15930 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15931
15932 * files.el (file-size-human-readable): Produce one digit after
15933 decimal, like "ls -lh" does.
15934
15935 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15936 the file size representation.
15937
15938 * simple.el (list-processes): If async subprocesses are not
15939 available, error out with a clear error message.
15940
15941 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15942
15943 * help.el (help-form-show): New function, to be called from C.
15944 Put help-form output in a buffer named differently than *Help*.
15945
15946 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15947
15948 * files.el (file-size-human-readable): New function.
15949
15950 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15951 computing the representation inline. Don't require `cl'.
15952
15953 2011-04-08 Glenn Morris <rgm@gnu.org>
15954
15955 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15956
15957 * net/browse-url.el (browse-url-firefox):
15958 Test system-type, not system-configuration.
15959
15960 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15961 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15962 Use log-edit-empty-buffer-p. (Bug#7598)
15963
15964 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15965 (rlogin-mode-map): Initialize in the defvar.
15966 (rlogin): Use ignore-errors.
15967
15968 * replace.el (occur-mode-map): Some fixes for menu items.
15969
15970 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15971
15972 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15973
15974 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15975
15976 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15977 issuing unused warnings.
15978
15979 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15980 macro directly.
15981
15982 * simple.el: Lisp reimplement of list-processes. Based on an
15983 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15984 (process-menu-mode): New major mode.
15985 (list-processes--refresh, list-processes):
15986 (process-menu-visit-buffer): New functions.
15987
15988 * files.el (save-buffers-kill-emacs): Don't assume any return
15989 value of list-processes, which is undocumented anyway.
15990
15991 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15992
15993 * emacs-lisp/tabulated-list.el: New file.
15994
15995 * emacs-lisp/package.el: Use Tabulated List mode.
15996 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15997 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15998 table format using Tabulated List mode variables.
15999 (package--push): New macro, replacing package-list-maybe-add.
16000 (package-menu--generate): Use package--push. Renamed from
16001 package--generate-package-list.
16002 (package-menu-refresh, list-packages): Use it.
16003 (package-menu--print-info): Rename from package-print-package.
16004 Return insertion data instead of inserting it directly.
16005 (package-menu-describe-package, package-menu-execute):
16006 Use tabulated-list-get-id.
16007 (package-menu-mark-delete, package-menu-mark-install)
16008 (package-menu-mark-unmark, package-menu-backup-unmark)
16009 (package-menu-mark-obsolete-for-deletion):
16010 Use tabulated-list-put-tag.
16011 (package--list-packages, package-menu-revert)
16012 (package-menu-get-package, package-menu-get-version)
16013 (package-menu-sort-by-column): Functions deleted.
16014 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16015 (package-menu--status-predicate, package-menu--version-predicate)
16016 (package-menu--name-predicate)
16017 (package-menu--description-predicate): Handle arguments in the
16018 Tabulated List format.
16019 (package-list-packages-no-fetch): Call list-packages.
16020
16021 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16022
16023 * files.el (after-find-file-from-revert-buffer): Remove variable.
16024 (after-find-file): Don't bind it.
16025 (revert-buffer-in-progress-p): New variable.
16026 (revert-buffer): Bind it.
16027 Pass nil for `after-find-file-from-revert-buffer'.
16028
16029 * saveplace.el (save-place-find-file-hook): Use new variable
16030 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16031
16032 2011-04-06 Glenn Morris <rgm@gnu.org>
16033
16034 * Makefile.in (AUTOGEN_VCS): New variable.
16035 (autoloads): Use $AUTOGEN_VCS.
16036
16037 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16038 * calendar/calendar.el (calendar-mode-map):
16039 Check for toolkit scroll bars. (Bug#8305)
16040
16041 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16042
16043 * minibuffer.el (completion-in-region--postch)
16044 (completion-in-region-mode): Remove unnecessary messages.
16045
16046 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16047
16048 * font-lock.el (font-lock-refresh-defaults):
16049 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16050 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16051
16052 * info.el (Info-directory-list, Info-read-node-name-2)
16053 (Info-split-parameter-string): Doc fixes.
16054 (Info-virtual-nodes): Reflow docstring.
16055 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16056 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16057 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16058 Fix typos in docstrings.
16059 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16060 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16061 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16062 (Info-restore-desktop-buffer): Mark unused parameters.
16063 (Info-directory-find-file, Info-directory-find-node)
16064 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16065 (Info-virtual-index-find-node, Info-apropos-find-file)
16066 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16067 Mark unused parameters; fix typos in docstrings.
16068 (Info-virtual-index): Remove unused local variable `nodename'.
16069
16070 2011-04-05 Deniz Dogan <deniz@dogan.se>
16071
16072 * net/rcirc.el: Update my e-mail address.
16073 (rcirc-mode-map): Remove M-o binding.
16074
16075 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16076
16077 * startup.el (command-line): Save the cursor's theme-face
16078 directly, instead of using face-override-spec.
16079
16080 * custom.el (load-theme): Minor optimization in assigning faces.
16081
16082 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16083
16084 * help-fns.el (describe-variable): Complete all variables having
16085 documentation, including keywords.
16086 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16087
16088 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16089
16090 Convert to lexical-binding.
16091
16092 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16093 (bs--get-marked-string, bs--get-modified-string)
16094 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16095 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16096 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16097
16098 * ehelp.el (electric-help-execute-extended)
16099 (electric-help-ctrl-x-prefix):
16100 * hexl.el (hexl-revert-buffer-function):
16101 * linum.el (linum-after-change, linum-after-scroll):
16102 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16103
16104 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16105
16106 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16107
16108 * epa-dired.el:
16109 * epa-mail.el:
16110 * epa-hook.el:
16111 * epa-file.el:
16112 * epa.el:
16113 * epg.el: Use lexical binding.
16114
16115 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16116
16117 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16118
16119 * textmodes/flyspell.el (flyspell-word): Recognize default
16120 dictionary case for flyspell-mark-duplications-exceptions.
16121 Use regexp matching for languages.
16122 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16123 default dictionary (Bug#7926).
16124
16125 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16126
16127 * emacs-lisp/package.el (package--with-work-buffer):
16128 Recognize https URLs.
16129
16130 * net/network-stream.el: Move from gnus/proto-stream.el.
16131 Change prefix to network-stream throughout.
16132 (open-protocol-stream): Merge into open-network-stream, leaving
16133 open-protocol-stream as an alias. Handle nil BUFFER args.
16134
16135 * subr.el (open-network-stream): Move to net/network-stream.el.
16136
16137 2011-04-02 Glenn Morris <rgm@gnu.org>
16138
16139 * find-dired.el (find-exec-terminator): New option.
16140 (find-ls-option): Test for -ls support.
16141 (find-ls-subdir-switches): Test for -b in find-ls-option.
16142 (find-dired, find-grep-dired): Doc fixes.
16143 (find-dired): Use find-exec-terminator.
16144
16145 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16146 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16147 (find-name-arg): Remove purecopy.
16148
16149 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16150 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16151 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16152 accordingly. Don't add the null-device if not needed.
16153
16154 * files.el (save-some-buffers): Doc fix.
16155
16156 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16157
16158 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16159
16160 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16161
16162 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16163 Use `dolist' rather than `mapcar'.
16164
16165 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16166
16167 Add lexical binding.
16168
16169 * subr.el (apply-partially): Use new closures rather than CL.
16170 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16171 (dolist, dotimes): Use slightly different expansion for lexical code.
16172 (functionp): Move to C.
16173 (letrec): New macro.
16174 (with-wrapper-hook): Use it and apply-partially instead of CL.
16175 (eval-after-load): Preserve lexical-binding.
16176 (save-window-excursion, with-output-to-temp-buffer): Turn them
16177 into macros.
16178
16179 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16180
16181 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16182 than the arglist.
16183 (help-add-fundoc-usage): Don't add `Not documented'.
16184 (help-function-arglist): Handle closures, subroutines, and new
16185 byte-code-functions.
16186 (help-make-usage): Remove leading underscores.
16187 (describe-function-1): Handle closures.
16188 (describe-variable): Use special-variable-p for completion.
16189
16190 * files.el (lexical-binding): Declare safe.
16191
16192 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16193 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16194 (pcase): Add `let' pattern.
16195 Change memoization so it actually works.
16196 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16197 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16198 <let>: New case.
16199
16200 * emacs-lisp/macroexp.el: Use lexical binding.
16201 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16202 Don't convert ' to #' without checking that it's indeed quoting
16203 a lambda.
16204
16205 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16206 Use eval-sexp-add-defvars.
16207 (eval-sexp-add-defvars): New fun.
16208
16209 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16210
16211 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16212 Don't autoload.
16213 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16214 than the internal `byte-compile-lambda'.
16215 (defmethod): Don't hide code under quotes.
16216 (eieio-defmethod): New `code' argument.
16217
16218 * emacs-lisp/eieio-comp.el: Remove.
16219
16220 * emacs-lisp/edebug.el (edebug-eval-defun)
16221 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16222 (edebug-toggle): Avoid `eval'.
16223
16224 * emacs-lisp/disass.el (disassemble-internal): Handle new
16225 `closure' objects.
16226 (disassemble-1): Handle new byte codes.
16227
16228 * emacs-lisp/cl.el (pushnew): Silence warning.
16229
16230 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16231 (cl-byte-compile-throw): Remove.
16232 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16233
16234 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16235 closures.
16236
16237 * emacs-lisp/cconv.el: New file.
16238
16239 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16240 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16241 (byte-compile-initial-macro-environment):
16242 Handle declare-function here.
16243 (byte-compile--lexical-environment): New var.
16244 (byte-stack-ref, byte-stack-set, byte-discardN)
16245 (byte-discardN-preserve-tos): New lap codes.
16246 (byte-interactive-p): Don't use any more.
16247 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16248 New macros.
16249 (byte-compile-lapcode): Use them and handle new lap codes.
16250 (byte-compile-obsolete): Remove.
16251 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16252 (byte-compile-arglist-warn): Check late def of inlinable funs.
16253 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16254 since they should have been expanded by now.
16255 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16256 (byte-compile-from-buffer): Remove unused second arg.
16257 (byte-compile-preprocess): New function.
16258 (byte-compile-toplevel-file-form): New function to distinguish
16259 file-form calls from outside from file-form calls from hunk-handlers.
16260 (byte-compile-file-form): Simplify.
16261 (byte-compile-file-form-defsubst): Remove.
16262 (byte-compile-file-form-defmumble): Simplify now that
16263 byte-compile-lambda always returns a byte-code-function.
16264 (byte-compile): Preprocess.
16265 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16266 Remove, not used any more.
16267 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16268 (byte-compile-make-args-desc): New funs.
16269 (byte-compile-lambda): Handle lexical functions. Always return
16270 a byte-code-function.
16271 (byte-compile-reserved-constants): New var, to make up room for
16272 closed-over variables.
16273 (byte-compile-constants-vector): Obey it.
16274 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16275 (byte-compile-macroexpand-declare-function): New function.
16276 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16277 byte-code-functions.
16278 (byte-compile-form): Check obsolescence here.
16279 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16280 (byte-compile-variable-ref): Remove.
16281 (byte-compile-dynamic-variable-op): New fun.
16282 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16283 (byte-compile-variable-set): New funs.
16284 (byte-compile-discard): Add 2 args.
16285 (byte-compile-stack-ref, byte-compile-stack-set)
16286 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16287 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16288 macroexpand-all instead.
16289 (byte-compile-quote-form): Remove.
16290 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16291 (byte-compile-bind, byte-compile-unbind): New funs.
16292 (byte-compile-let): Handle let* and lexical binding.
16293 (byte-compile-let*): Remove.
16294 (byte-compile-catch, byte-compile-unwind-protect)
16295 (byte-compile-track-mouse, byte-compile-condition-case):
16296 Handle a new :fun-body form, used for lexical scoping.
16297 (byte-compile-save-window-excursion)
16298 (byte-compile-with-output-to-temp-buffer): Remove.
16299 (byte-compile-defun): Simplify.
16300 (byte-compile-stack-adjustment): New fun.
16301 (byte-compile-out): Use it.
16302 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16303
16304 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16305 handler any more.
16306
16307 * emacs-lisp/byte-opt.el: Use lexical binding.
16308 (byte-inline-lapcode): Remove (to bytecomp).
16309 (byte-compile-inline-expand): Pay attention to inlining to/from
16310 lexically bound code.
16311 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16312 any more.
16313 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16314 any more and don't call compiler-macros.
16315 (byte-compile-splice-in-already-compiled-code): Remove.
16316 (byte-code): Don't inline any more.
16317 (disassemble-offset): Receive `bytes' as argument rather than via
16318 dynamic scoping.
16319 (byte-compile-tag-number): Declare before first use.
16320 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16321 `return' even if make-spliceable.
16322 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16323 obsolete interactive-p.
16324 (byte-optimize-lapcode): Optimize new lap-codes.
16325 Don't trip up on new form of `byte-constant' lap code.
16326
16327 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16328
16329 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16330
16331 * custom.el (custom-initialize-default, custom-declare-variable):
16332 Use `defvar'.
16333
16334 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16335 New variables.
16336 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16337 (COMPILE_FIRST): Add macroexp and cconv.
16338 * makefile.w32-in: Mirror changes in Makefile.in.
16339
16340 * vc/cvs-status.el:
16341 * vc/diff-mode.el:
16342 * vc/log-edit.el:
16343 * vc/log-view.el:
16344 * vc/smerge-mode.el:
16345 * textmodes/bibtex-style.el:
16346 * textmodes/css-mode.el:
16347 * startup.el:
16348 * uniquify.el:
16349 * minibuffer.el:
16350 * newcomment.el:
16351 * reveal.el:
16352 * server.el:
16353 * mpc.el:
16354 * emacs-lisp/smie.el:
16355 * doc-view.el:
16356 * dired.el:
16357 * abbrev.el: Use lexical binding.
16358
16359 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16360
16361 * info.el (info-display-manual): New function.
16362
16363 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16364
16365 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16366
16367 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16368
16369 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16370 an entry for that server in rcirc-authinfo. (Bug#8385)
16371
16372 2011-03-31 Glenn Morris <rgm@gnu.org>
16373
16374 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16375
16376 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16377
16378 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16379
16380 * progmodes/python.el (python-default-interpreter)
16381 (python-python-command-args, python-jython-command-args)
16382 (python-which-shell, python-which-args, python-which-bufname)
16383 (python-file-queue, python-comint-output-filter-function)
16384 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16385 variables and functions.
16386
16387 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16388
16389 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16390 (completion-in-region-mode): New minor mode.
16391 (completion-in-region): Use it.
16392 (completion-in-region--data, completion-in-region-mode-map): New vars.
16393 (completion-in-region--postch): New function.
16394 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16395 New vars.
16396 (completion--capf-wrapper): New function.
16397 (completion-at-point): Use it to track well-behavedness of
16398 hook functions.
16399 (completion-help-at-point): New command.
16400
16401 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16402
16403 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16404 syntax class to search for whitespace on a single line
16405 (Message-ID: <4D938140.4030905@redhat.com>).
16406
16407 2011-03-30 Leo Liu <sdl.web@gmail.com>
16408
16409 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16410 New commands.
16411 (edit-abbrevs-map): Bind them here.
16412 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16413
16414 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16415
16416 * allout.el (allout-hide-by-annotation, allout-flag-region):
16417 Reduce possibility of overlay leakage by making them volatile.
16418
16419 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16420 hash is not shared between buffers. Mode initialization is
16421 responsible for giving it a useful starting value.
16422 (allout-item-span): Reduce possibility of overlay leakage by
16423 making them volatile.
16424 (allout-widgets-count-buttons-in-region): Add diagnostic function
16425 for tracking down button overlay leaks.
16426
16427 2011-03-29 Leo Liu <sdl.web@gmail.com>
16428
16429 * ido.el (ido-read-internal): Use the default history var
16430 minibuffer-history if no HISTORY is specified.
16431
16432 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16433
16434 * net/imap.el (imap-shell-open, imap-process-connection-type):
16435 Use imap-process-connection-type for 'shell' streams as well as
16436 Kerberos, SSL, other subprocesses.
16437
16438 2011-03-28 Leo Liu <sdl.web@gmail.com>
16439
16440 * abbrev.el (abbrev-table-empty-p): New function.
16441 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16442 nonempty ones. (Bug#5937)
16443
16444 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16445
16446 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16447
16448 2011-03-27 Leo Liu <sdl.web@gmail.com>
16449
16450 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16451 for foreground and background colors.
16452 (ansi-color-make-color-map): Adapt.
16453
16454 2011-03-25 Leo Liu <sdl.web@gmail.com>
16455
16456 * midnight.el (midnight-time-float): Remove. Note it calculates
16457 the microsecond component incorrectly and seconds-to-time does the
16458 same job.
16459 Remove redundant (require 'timer).
16460
16461 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16462 (ido-completions): Remove unused arguments. (Bug#8329)
16463
16464 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16465
16466 * minibuffer.el (completion--flush-all-sorted-completions):
16467 Remove itself from hook.
16468 (completion-at-point): Let the functions perform the completion
16469 immediately and return nil or t.
16470 * comint.el (comint-dynamic-complete-functions): Now identical to
16471 completion-at-point-functions.
16472 (comint-dynamic-list-input-ring): Remove unused var `index'.
16473 (comint--match-partial-filename, comint--unquote&expand-filename):
16474 New funs, split from comint-match-partial-filename.
16475 (comint-dynamic-complete): Use completion-at-point.
16476 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16477
16478 2011-03-24 Drew Adams <drew.adams@oracle.com>
16479
16480 * thingatpt.el: Support `defun'.
16481
16482 2011-03-23 Leo Liu <sdl.web@gmail.com>
16483
16484 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16485
16486 * help-mode.el (help-mode-finish): Tweak regexp.
16487
16488 2011-03-23 Glenn Morris <rgm@gnu.org>
16489
16490 * eshell/esh-opt.el (eshell-eval-using-options):
16491 Do not bind unused local variable `eshell-option-stub'.
16492
16493 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16494
16495 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16496
16497 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16498 keymap variable in `with-no-warnings' to avoid a warning when the
16499 keymap has been already `defconst'ed.
16500
16501 2011-03-22 Leo Liu <sdl.web@gmail.com>
16502
16503 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16504 encode all chars in abbrevs; otherwise use emacs-mule or
16505 utf-8-emacs. (Bug#8308)
16506
16507 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16508
16509 * simple.el (backward-delete-char-untabify):
16510 Avoid warning about using `delete-backward-char'.
16511
16512 * image.el (image-type-file-name-regexps): Make it variable.
16513 `imagemagick-register-types' modifies it, and the user may want
16514 to add new extensions for known image types.
16515 (imagemagick-register-types): Throw error if not using ImageMagick.
16516
16517 2011-03-22 Leo Liu <sdl.web@gmail.com>
16518
16519 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16520 located before rcirc-prompt-end-marker.
16521 (rcirc-complete): Error if point is not after rcirc prompt.
16522 Handle the case when table is nil.
16523 (rcirc-user-authenticated): Define to fix compiler warning.
16524
16525 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16526
16527 * custom.el (custom--inhibit-theme-enable): Make it affect only
16528 custom-theme-set-variables and custom-theme-set-faces.
16529 (provide-theme): Ignore custom--inhibit-theme-enable.
16530 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16531 (custom-enabling-themes): Delete variable.
16532 (enable-theme): Accept only loaded themes as arguments.
16533 Ignore the special custom-enabled-themes variable.
16534 (custom-enabled-themes): Forbid themes from setting this.
16535 Eliminate use of custom-enabling-themes.
16536 (custom-push-theme): Quote "changed" custom var entry.
16537
16538 2011-03-21 Leo Liu <sdl.web@gmail.com>
16539
16540 * ido.el (ido-read-internal): Add ido-selected to history instead
16541 of user input.
16542
16543 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16544
16545 * subr.el (deferred-action-list, deferred-action-function):
16546 Mark obsolete.
16547
16548 2011-03-21 Leo Liu <sdl.web@gmail.com>
16549
16550 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16551 change on 2011-02-13 (bug#8309).
16552
16553 * minibuffer.el (read-file-name-function): Change default value.
16554 (read-file-name--defaults): Rename from read-file-name-defaults.
16555 (read-file-name-default): Rename from read-file-name.
16556 (read-file-name): Call read-file-name-function.
16557
16558 2011-03-21 Glenn Morris <rgm@gnu.org>
16559
16560 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16561 Doc fixes.
16562
16563 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16564
16565 * cus-theme.el: Add missing provide statement.
16566 (customize-create-theme): Extract theme value correctly.
16567 (custom-theme-visit-theme): Autoload.
16568 (customize-create-theme): Prompt before inserting default faces.
16569
16570 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16571
16572 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16573 units and musical notes.
16574
16575 2011-03-20 Leo Liu <sdl.web@gmail.com>
16576
16577 * ido.el (ido-read-internal): Use completing-read-default.
16578 (ido-completing-read): Fix compatibility with completing-read.
16579
16580 2011-03-20 Christian Ohler <ohler@gnu.org>
16581
16582 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16583 (ert-delete-all-tests): Use `called-interactively-p' rather than
16584 `interactive-p'.
16585 (ert--make-xrefs-region): Respect END.
16586
16587 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16588
16589 * dired-aux.el (dired-create-directory): Signal an error if the
16590 directory already exists (Bug#8246).
16591
16592 * facemenu.el (list-colors-display): Call list-faces-display
16593 inside with-help-window.
16594 (list-colors-print): Use display property to align the final
16595 column, instead of checking window-width.
16596
16597 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16598
16599 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16600 windows-nt systems.
16601 (emerge-protect-metachars): Quote correctly for ms-dos and
16602 windows-nt systems.
16603
16604 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16605
16606 * info.el (info-initialize): Replace all uses of `:' with
16607 path-separator for compatibility with non-Unix systems.
16608 Cache quoting of path-separator. (Bug#8258)
16609
16610 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16611
16612 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16613 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16614 (mouse-avoidance-mode): Fix typos in docstrings.
16615
16616 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16617
16618 * startup.el (package-subdirectory-regexp): Move from package.el.
16619 Omit \\` and \\', and let callers add them.
16620
16621 * emacs-lisp/package.el (package-strip-version)
16622 (package-load-all-descriptors): Add \\` and \\' to
16623 package-subdirectory-regexp before using it.
16624 (package-untar-buffer): New arg DIR; ensure that file untars only
16625 into this expected directory. Remove superfluous delete-region.
16626 (package-unpack): Caller changed.
16627 (package-tar-file-info): Use package-subdirectory-regexp.
16628
16629 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16630
16631 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16632 diff-mode-shared-map (bug#8284).
16633 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16634
16635 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16636
16637 * calendar/time-date.el (format-seconds): Use assoc instead of
16638 assoc-string, since assoc-string doesn't exist in XEmacs.
16639
16640 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16641
16642 * custom.el (custom-known-themes): Reflow docstring.
16643 (custom-theme-load-path): Fix typo in docstring.
16644 (load-theme): Fix typo in error message.
16645 (custom-available-themes, custom-variable-theme-value):
16646 Use `let', not `let*'.
16647
16648 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16649
16650 * calc/README: Mention inclusion of musical notes.
16651
16652 * calc/calc-units.el (calc-lu-quant): Rename from
16653 `calc-logunits-quantity'.
16654 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16655 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16656 (calc-db): Rename from `calc-dblevel'.
16657 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16658 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16659 (calc-np): Rename from `calc-nplevel'.
16660 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16661 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16662 (calc-lu-plus): Rename from `calc-logunits-add'.
16663 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16664 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16665 (calc-lu-minus): Rename from `calc-logunits-sub'.
16666 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16667 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16668 (calc-lu-times): Rename from `calc-logunits-mul'.
16669 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16670 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16671 (calc-lu-divide): Rename from `calc-logunits-div'.
16672 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16673 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16674
16675 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16676 functions being autoloaded.
16677
16678 * calc/calc.el (calc-lu-power-reference): Rename from
16679 `calc-logunits-power-reference'.
16680 (calc-lu-field-reference): Rename from
16681 `calc-logunits-field-reference'.
16682
16683 * calc/calc-help.el (calc-l-prefix-help):
16684 Mention musical note functions.
16685
16686 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16687
16688 * minibuffer.el (completion-all-sorted-completions):
16689 Use :completion-cycle-penalty text property if present.
16690
16691 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16692
16693 * allout.el (allout-yank-processing): Adjust for new rebulleting
16694 regime so bullet being yanked is used without prompting the user
16695 for a choice.
16696
16697 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16698
16699 * startup.el (command-line): Warn the user that _emacs is deprecated.
16700
16701 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16702
16703 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16704 (delphi-verbose, delphi-comment-face, delphi-string-face)
16705 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16706 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16707 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16708 (delphi-new-comment-line, delphi-font-lock-defaults)
16709 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16710 Fix typos in docstrings.
16711
16712 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16713
16714 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16715 Invert the roles of character and string values for INSTEAD, so a
16716 string is used for the more common case of a defaulting prompt.
16717
16718 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16719
16720 * progmodes/ruby-mode.el (ruby-backward-sexp):
16721 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16722 * play/gamegrid.el (gamegrid-make-face):
16723 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16724 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16725 * notifications.el (notifications-notify):
16726 * net/xesam.el (xesam-search-engines):
16727 * net/quickurl.el (quickurl-list-insert):
16728 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16729
16730 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
16731
16732 * startup.el (command-line): Update package subdirectory regexp.
16733
16734 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16735
16736 * allout.el (allout-abbreviate-flattened-numbering)
16737 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16738
16739 * subr.el (read-char-choice): Only show the cursor after the prompt,
16740 not after the answer.
16741
16742 2011-03-15 Kevin Ryde <user42@zip.com.au>
16743
16744 * help-fns.el (variable-at-point): Skip leading quotes, if any
16745 (bug#8253).
16746
16747 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16748
16749 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16750 warning message.
16751
16752 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
16753
16754 * shell.el (shell): When called interactively, offer to change the
16755 shell file name on remote hosts.
16756
16757 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16758
16759 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16760 integration for LDAP parameters. The host, base, user or binddn,
16761 and secret tokens can be specified in a netrc file, for instance.
16762 This is optional because an `auth-source' parameter must be
16763 specified in the search attributes.
16764
16765 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
16766
16767 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16768
16769 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16770
16771 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16772 into declaration. Remove redundant and harmful binding.
16773
16774 2011-03-12 Eli Zaretskii <eliz@gnu.org>
16775
16776 * files.el (file-ownership-preserved-p): Pass `integer' as an
16777 explicit 2nd argument to `file-attributes'. If the file's owner
16778 is the Administrators group on Windows, and the current user is
16779 Administrator, consider that a match.
16780
16781 * server.el (server-ensure-safe-dir): Consider server directory
16782 safe on MS-Windows if its owner is the Administrators group while
16783 the current Emacs user is Administrator. Use `=' to compare
16784 numerical UIDs, since they could be integers or floats.
16785
16786 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
16787
16788 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16789
16790 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
16791
16792 Sync with Tramp 2.2.1.
16793
16794 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16795
16796 * net/trampver.el: Update release number.
16797
16798 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16799
16800 * progmodes/compile.el (compilation--previous-directory): Fix up
16801 various nil/dead-marker mismatches (bug#8014).
16802 (compilation-directory-properties, compilation-error-properties):
16803 Don't call it at a position past the one we're about to change.
16804
16805 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16806 Disable obsolescence warnings in the file that declares it.
16807
16808 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16809
16810 * allout-widgets.el (allout-widgets-tally):
16811 Initialize allout-widgets-tally as a hash table rather than nil to
16812 prevent mode-line redisplay warnings. Also, clarify the module
16813 description and fix a comment typo.
16814
16815 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
16816
16817 * help-fns.el (describe-variable): Don't complete keywords.
16818 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16819
16820 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
16821
16822 * emacs-lisp/package.el (package-version-join): Impose a standard
16823 string representation for pre/alpha/beta version lists.
16824 (package-unpack-single): Standardize the directory name by passing
16825 it through package-version-join.
16826 (package-strip-rcs-id): Accept any version string that does not
16827 signal an error in version-to-list.
16828
16829 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
16830
16831 * simple.el (delete-trailing-whitespace): Return nil for the
16832 benefit of `write-file-functions'.
16833
16834 2011-03-10 Glenn Morris <rgm@gnu.org>
16835
16836 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16837
16838 * vc/vc-git.el (vc-git-program): New option.
16839 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16840 (vc-git--call): Use it.
16841
16842 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16843
16844 * cus-edit.el (Custom-newline): If no button at point, look
16845 for a subgroup button at start-of-line. (Bug#2298)
16846
16847 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16848
16849 2011-03-10 Julien Danjou <julien@danjou.info>
16850
16851 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16852 `cursor-type' is nil.
16853
16854 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16855
16856 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16857
16858 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16859
16860 * allout.el: Change so yank of distinctive-bullet items
16861 preserves the existing header prefix, rebulleting it if necessary,
16862 rather than replacing it. This is necessary for proper operation
16863 of cooperative addons like allout-widgets.
16864 (allout-make-topic-prefix, allout-rebullet-heading):
16865 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16866 value as alternate bullet to be used, instead of prompting the user
16867 for a bullet character.
16868
16869 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16870
16871 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16872 Do not use `tramp-file-name-port', because this returns also
16873 `tramp-default-port'.
16874
16875 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16876
16877 * net/rcirc.el (rcirc-handler-001): Remove useless
16878 with-rcirc-process-buffer.
16879 (rcirc-check-auth-status): Swap arguments to string-match.
16880
16881 2011-03-09 Glenn Morris <rgm@gnu.org>
16882
16883 * shell.el (shell-mode):
16884 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16885
16886 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16887 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16888
16889 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16890
16891 * emacs-lisp/package.el (package-refresh-contents)
16892 (package-menu-execute): Use condition-case-no-debug.
16893
16894 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16895
16896 * simple.el (shell-command-to-string): Use `process-file'.
16897
16898 * emacs-lisp/package.el (package-tar-file-info): Handle also
16899 remote files.
16900
16901 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16902 Use `equal' for upload base check.
16903
16904 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16905
16906 * textmodes/texinfo.el (texinfo-environments):
16907 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16908
16909 2011-03-08 Glenn Morris <rgm@gnu.org>
16910
16911 * cus-start.el (cursor-in-non-selected-windows):
16912 Fix :set quoting oddness. (Bug#8192)
16913
16914 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16915 in some setf expressions. (Bug#2159)
16916
16917 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16918
16919 * custom.el (custom-available-themes): Return themes in
16920 alphabetical order.
16921
16922 See ChangeLog.15 for earlier changes.
16923
16924 ;; Local Variables:
16925 ;; coding: utf-8
16926 ;; End:
16927
16928 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16929
16930 This file is part of GNU Emacs.
16931
16932 GNU Emacs is free software: you can redistribute it and/or modify
16933 it under the terms of the GNU General Public License as published by
16934 the Free Software Foundation, either version 3 of the License, or
16935 (at your option) any later version.
16936
16937 GNU Emacs is distributed in the hope that it will be useful,
16938 but WITHOUT ANY WARRANTY; without even the implied warranty of
16939 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16940 GNU General Public License for more details.
16941
16942 You should have received a copy of the GNU General Public License
16943 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.