Fix comment in man.el. See bug#12101.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-07-31 Bastien Guerry <bzg@gnu.org>
2
3 * man.el (man): Fix comment. (bug#12101)
4
5 2012-07-31 Martin Rudalics <rudalics@gmx.at>
6
7 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8 Don't return a non-nil value when no suitable buffer was found.
9
10 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11
12 * progmodes/python.el (run-python-internal): Disable font lock for
13 internal shells.
14
15 2012-07-30 Stefan Merten <smerten@oekonux.de>
16
17 * rst.el: Silence `checkdoc-ispell'.
18 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
19 (rst-official-version, rst-official-cvs-rev)
20 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
21 (rst-mode-map): New key binding.
22
23 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
24
25 Update .PHONY listings in makefiles.
26 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
27 autoloads, update-subdirs, updates, bzr-update, update-authors,
28 compile-onefile, compile-calc, backup-compiled-files,
29 compile-after-backup, compile-one-process, mh-autoloads,
30 bootstrap-clean, distclean, maintainer-clean.
31
32 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
33
34 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
35 (calc-set-mode-line): Don't display "AlgSimp ".
36
37 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
38 (calc-lim-simplify-mode): New function.
39 (calc-set-simplify-mode): Default to 'alg.
40 (calc-default-simplify-mode): Make algebraic simplifications
41 the default.
42
43 * calc/calc-ext.el (calc-init-extensions): Remove binding for
44 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
45
46 * calc/calc-help (calc-m-prefix-help): Change messages to
47 indicate new simplification modes.
48
49 * calc/README: Mention new default simplification mode.
50
51 * calc/calc.el (math-normalize-error): New variable.
52 (math-normalize): Set `math-normalize-error' to t
53 when there's an error.
54
55 * calc/calc-alg.el (math-simplify): Don't simplify when
56 `math-normalize' returns an error.
57
58 2012-07-29 Eli Zaretskii <eliz@gnu.org>
59
60 * international/mule-cmds.el (set-locale-environment): Revert last
61 change, since display-graphic-p returns nil when this function is
62 called during startup. Instead...
63
64 * term/w32console.el (terminal-init-w32console): ...setup the
65 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
66
67 2012-07-29 Juri Linkov <juri@jurta.org>
68
69 * simple.el (goto-line): Don't display default line number in the
70 prompt because it should be displayed by `read-number' (bug#9952).
71 Add the current line number to the defaults of `goto-line' to
72 allow its easier modification by users with `M-n' (bug#9201).
73
74 * subr.el (read-number): Support multiple default values like in
75 other minibuffer reading functions. Replace `read' with
76 `string-to-number' for consistency with `number-to-string'.
77
78 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
79
80 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
81 * emulation/viper-init.el (viper-deactivate-input-method-action):
82 Rename from viper-inactivate-input-method-action.
83 (viper-deactivate-input-method):
84 Rename from viper-inactivate-input-method.
85 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
86 * international/mule-cmds.el (deactivate-input-method):
87 Rename from inactivate-input-method.
88 Also run input-method-deactivate-hook.
89 (deactivate-current-input-method-function):
90 Rename from inactivate-current-input-method-function.
91 (input-method-deactivate-hook): New hook.
92 (input-method-inactivate-hook): Mark obsolete.
93 (inactivate-input-method): Mark obsolete.
94
95 * international/quail.el (quail-activate):
96 Also run quail-deactivate-hook.
97 (quail-deactivate): Rename from quail-inactivate.
98 * international/robin.el (robin-activate):
99 Also run robin-deactivate-hook.
100 (robin-deactivate): Rename from robin-inactivate.
101
102 2012-07-29 Chong Yidong <cyd@gnu.org>
103
104 * simple.el (indicate-copied-region): New function.
105 (kill-ring-save): Split off from here.
106
107 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
108 (kill-rectangle): Set deactivate-mark to t on read-only error.
109
110 * register.el (copy-to-register, copy-rectangle-to-register):
111 Deactivate the mark, and use indicate-copied-region (Bug#10056).
112 (append-to-register, prepend-to-register): Call
113
114 2012-07-29 Juri Linkov <juri@jurta.org>
115
116 * simple.el (async-shell-command-buffer): New defcustom.
117 (shell-command): Use it. (Bug#4719)
118
119 2012-07-28 Eli Zaretskii <eliz@gnu.org>
120
121 * international/mule-cmds.el (set-locale-environment): In a
122 console session on MS-Windows, set up keyboard and terminal
123 encoding from the OEM codepage, not the ANSI codepage.
124 (Bug#12055)
125
126 2012-07-28 Chong Yidong <cyd@gnu.org>
127
128 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
129 gdb-get-location.
130
131 2012-07-25 Leo Liu <sdl.web@gmail.com>
132
133 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
134 the alist (bug#12029).
135
136 2012-07-28 Eli Zaretskii <eliz@gnu.org>
137
138 * makefile.w32-in (custom-deps, finder-data, updates, compile)
139 (compile-always, compile-first)
140 ($(lisp)/calendar/cal-loaddefs.el)
141 ($(lisp)/calendar/diary-loaddefs.el)
142 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
143 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
144 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
145 instead of on update-subdirs.
146 (bootstrap-clean): Delete $(lisp)/subdirs.el.
147
148 2012-07-28 Chong Yidong <cyd@gnu.org>
149
150 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
151 directory if vc-deduce-backend returns nil (Bug#7350).
152
153 * simple.el (delete-trailing-lines): New option.
154 (delete-trailing-whitespace): Obey it (Bug#11879).
155
156 2012-07-28 David Engster <deng@randomsample.de>
157
158 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
159 Explanation of new 'symbol-qnames feature in doc-strings.
160 (xml-maybe-do-ns): Return expanded names as plain symbols if
161 'symbol-qnames was provided in XML-NS argument (Bug#11916).
162 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
163
164 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
165
166 Consistent completion in inferior python with emacs -nw.
167 * progmodes/python.el (inferior-python-mode): replace "<tab>"
168 binding in inferior-python-mode-map with "\t".
169 (python-shell-completion-complete-at-point)
170 (python-completion-complete-at-point): Remove interactive spec.
171
172 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
173
174 * calc/calccomp.el (math-compose-expr): Undo previous change.
175
176 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
177
178 * progmodes/python.el (python-mode-map): Added keybinding for
179 run-python.
180 (python-shell-make-comint): Fix pop-to-buffer call.
181 (run-python): Autoload. New arg SHOW.
182 (python-shell-get-or-create-process): Do not pop python process
183 buffer.
184
185 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
186
187 * notifications.el (notifications-on-action-signal)
188 (notifications-on-closed-signal): Use also the bus address for the map.
189 (notifications-notify, notifications-close-notification)
190 (notifications-get-capabilities): Add optional argument BUS.
191
192 2012-07-27 Tassilo Horn <tsdh@gnu.org>
193
194 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
195 support for the lstlisting and minted environments, and for the
196 ctable macro.
197 * textmodes/reftex.el (reftex-compile-variables): Also recognize
198 labels written in keyvals syntax.
199
200 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
201
202 * calc/calccomp.el (math-compose-expr): Use parentheses when
203 there is a product in the denominator of a fraction.
204
205 2012-07-26 Eli Zaretskii <eliz@gnu.org>
206
207 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
208 ($(lisp)/calendar/diary-loaddefs.el)
209 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
210 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
211 failures in parallel bootstrap because subdirs.el is being
212 rewritten while the autoload files are built at the same time,
213 which needs to load subdirs.el.
214
215 2012-07-26 Martin Rudalics <rudalics@gmx.at>
216
217 * mouse.el (popup-menu): Fix doc-string and re-indent code.
218 (mouse-drag-line): Don't exit tracking when a switch-frame or
219 switch-window event occurs (Bug#12006).
220
221 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * mouse.el (popup-menu): Fix last change.
224
225 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 Autoload from Lisp with more care. Follow aliases when looking for
228 function properties.
229 * subr.el (autoloadp): New function.
230 (symbol-file): Use it.
231 (function-get): New function.
232 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
233 autoload-do-load.
234 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
235 (lisp-indent-function):
236 * emacs-lisp/gv.el (gv-get):
237 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
238 * emacs-lisp/byte-opt.el (byte-optimize-form):
239 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
240 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
241 Use function-get.
242 * emacs-lisp/cl.el: Don't propagate function properties any more.
243
244 * speedbar.el (speedbar-add-localized-speedbar-support):
245 * emacs-lisp/disass.el (disassemble-internal):
246 * desktop.el (desktop-load-file):
247 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
248 (describe-function-1):
249 * emacs-lisp/find-func.el (find-function-noselect):
250 * emacs-lisp/elp.el (elp-instrument-function):
251 * emacs-lisp/advice.el (ad-has-proper-definition):
252 * apropos.el (apropos-safe-documentation, apropos-macrop):
253 * emacs-lisp/debug.el (debug-on-entry):
254 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
255 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
256 * calc/calc.el (name): Use autoloadp & autoload-do-load.
257
258 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
259
260 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
261 function, not an obsolete variable (Bug#12046).
262
263 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
264
265 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
266
267 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
268
269 * emacs-lisp/pp.el (pp-display-expression): Select old selected
270 window only if it is still live (Bug#12034).
271
272 2012-07-25 Martin Rudalics <rudalics@gmx.at>
273
274 * subr.el (redirect-frame-focus): Add advertised calling
275 convention (Bug#12030).
276
277 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
278
279 Prefer typical American spelling for "acknowledgment".
280 * vc/add-log.el (change-log-acknowledgment): Rename from
281 change-log-acknowledgement, with an alias for the old name.
282
283 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
284
285 * calc-alg.el (math-simplify-divide): Don't cross multiply
286 in an equation when the lhs is a variable.
287
288 2012-07-24 Julien Danjou <julien@danjou.info>
289
290 * net/netrc.el (netrc-find-service-number, netrc-store-data):
291 Remove, unused.
292
293 2012-07-23 Eli Zaretskii <eliz@gnu.org>
294
295 * startup.el (command-line): Don't display an empty user name in
296 the error message about non-existent home directory, when
297 init-file-user was set to an empty string. See
298 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
299 for the details and context.
300
301 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
302
303 * ses.el (ses-cell-formula-aset): New macro.
304 (ses-cell-references-aset): New macro.
305 (ses-cell-p): New function.
306 (ses-rename-cell): Do no longer rely on complex operations like
307 ses-cell-set-formula or ses-set-cell to change the cell and handle
308 the undo at the same time, but rather use lower level new macros
309 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
310 the undo directly. Refresh the mode line.
311
312 2012-07-21 Leo Liu <sdl.web@gmail.com>
313
314 * progmodes/cc-cmds.el (c-defun-name):
315 Use match-string-no-properties instead for consistency.
316
317 2012-07-20 Leo Liu <sdl.web@gmail.com>
318
319 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
320 (Bug#7879)
321
322 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
323
324 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
327 * progmodes/bug-reference.el, misearch.el: Provide themselves
328 (bug#11915).
329
330 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
331 of narrowed buffer (bug#11966).
332
333 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
334
335 * ses.el (ses-rename-cell): Set new name also in reference list of
336 cells of which the renamed cell depends.
337
338 2012-07-20 Masatake YAMATO <yamato@redhat.com>
339
340 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
341 to check whether menu-bar is shown or not. If not shown,
342 show the menu-bar as a popup menu instead of using tmm.
343 * mouse.el (popup-menu): Accept `point' as `position' argument.
344
345 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
346
347 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
348 up inside string symbol literal (bug#11923).
349
350 2012-07-20 Eli Zaretskii <eliz@gnu.org>
351
352 * startup.el (fancy-startup-text): Read the whole tutorial, not
353 just its first 256 bytes. Prevents gibberish in display of the
354 tutorial title.
355
356 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
357
358 Drop idle buffer compaction due to an absence of the
359 proved efficiency.
360 * compact.el: Remove.
361
362 2012-07-19 Sam Steingold <sds@gnu.org>
363
364 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
365 vc-bzr-pull & vc-bzr-merge-branch.
366 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
367 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
368 for consistency with compilation-error-regexp-alist.
369 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
370 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
371 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
372 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
373
374 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 * emacs-lisp/chart.el: Use lexical-binding.
377 (chart-emacs-storage): Don't hardcode the list of entries.
378
379 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
380
381 Next round of tweaks caused by Fgarbage_collect changes.
382 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
383
384 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
385
386 Compact buffers when idle.
387 * compact.el: New file.
388
389 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * subr.el (eventp): Presume that if it looks vaguely like an event,
392 it's an event (bug#10190).
393
394 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
395
396 Enhancements to ppss related code (thanks Stefan).
397 * progmodes/python.el (python-indent-context)
398 (python-indent-calculate-indentation, python-indent-dedent-line)
399 (python-indent-electric-colon, python-nav-forward-block)
400 (python-mode-abbrev-table)
401 (python-info-assignment-continuation-line-p): Simplify checks
402 for ppss context.
403 (python-info-continuation-line-p): Cleanup.
404 (python-info-ppss-context): Do not catch 'quote.
405 (python-info-ppss-context-type)
406 (python-info-ppss-comment-or-string-p): Simplify.
407
408 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
409
410 * progmodes/python.el: Enhancements to eldoc support.
411 (python-info-current-symbol): New function.
412 (python-eldoc-at-point): Use python-info-current-symbol.
413 (python-info-current-defun): Fix cornercase on first defun scan.
414 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
415 and signal error when no inferior python process is available.
416
417 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
418
419 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
420 assume it's always t.
421 (vc-git-registered): Remove caching, the function is only called
422 once.
423 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
424
425 2012-07-18 Chong Yidong <cyd@gnu.org>
426
427 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
428
429 * simple.el (count-words): Report on narrowing (Bug#9959).
430
431 * bindings.el: Bind M-= to count-words.
432
433 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
434
435 2012-07-18 Masatake YAMATO <yamato@redhat.com>
436
437 * progmodes/sh-script.el (sh-imenu-generic-expression):
438 Capture a function with `function' keyword and without parentheses
439 like "function FOO" (bug#11856).
440
441 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
442
443 * window.el (split-window-sensibly): Make WINDOW argument
444 optional.
445
446 2012-07-18 Chong Yidong <cyd@gnu.org>
447
448 * subr.el (keyboard-translate): Doc fix (Bug#7261).
449
450 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
451 and make C-x 8 RET exit isearch (Bug#11439).
452
453 * international/iso-transl.el: Move isearch-mode-map key
454 definitions to isearch.el.
455
456 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
459 (eieio-defclass): Use gv-define-setter when possible.
460
461 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
462
463 Reflect recent changes in Fgarbage_collect.
464 * emacs-lisp/chart.el (chart-emacs-storage): Change to
465 reflect new format of data returned by Fgarbage_collect.
466
467 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
468
469 New utility functions + python-info-ppss-context fix (Bug#11910).
470 * progmodes/python.el (python-info-beginning-of-block-statement-p)
471 (python-info-ppss-comment-or-string-p): New functions.
472 (python-info-ppss-context): Small fix for string check.
473
474 2012-07-17 Juri Linkov <juri@jurta.org>
475
476 * dired-aux.el (dired-do-async-shell-command): Doc fix.
477 (dired-do-async-shell-command): Don't add `*' at the end of the
478 command (Bug#11815).
479 (dired-do-shell-command): Doc fix.
480 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
481 Join the individual commands using either "&" or ";" as the
482 separator depending on the values of these trailing characters.
483 At the end re-add the trailing "&". (Bug#10598)
484
485 * simple.el (async-shell-command): Sync the interactive spec with
486 `shell-command'. Doc fix.
487 (shell-command): Doc fix.
488
489 2012-07-17 Juri Linkov <juri@jurta.org>
490
491 * descr-text.el (describe-char): Fix format args. (Bug#10129)
492
493 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
494
495 Final renames and doc fixes for movement commands (bug#11899).
496 * progmodes/python.el (python-nav-beginning-of-statement):
497 Rename from python-nav-statement-start.
498 (python-nav-end-of-statement): Rename from
499 python-nav-statement-end.
500 (python-nav-beginning-of-block): Rename from
501 python-nav-block-start.
502 (python-nav-end-of-block): Rename from python-nav-block-end.
503
504 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
505
506 * progmodes/python.el (python-shell-send-string-no-output):
507 Allow accept-process-output to quit, keeping shell process ready for
508 future interactions (Bug#11868).
509
510 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
513
514 * emacs-lisp/elint.el (elint-find-args-in-code):
515 Use help-function-arglist, so as to handle lexical byte-code.
516
517 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
518 change (bug#11826).
519
520 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
521
522 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
523 Avoid spuriously marking the buffer as modified because of c-is-sws.
524
525 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
526 as not-a-comment (bug#11946).
527
528 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
529 for uninterned vars.
530
531 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
532 Use read-event since we don't really want to read chars but bytes.
533
534 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
535 $$..$$ but also $..$ using regexps (bug#11953).
536 Use tex-verbatim for \url and \path.
537 (tex-font-lock-keywords): Define as defconst like the others.
538 (tex-common-initialization): Don't use font-lock-syntax-table any more.
539
540 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
541
542 * international/mule-cmds.el (ucs-insert): Make it an obsolete
543 alias for insert-char.
544
545 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
546
547 * progmodes/python.el: Simplified imenu implementation.
548 (python-nav-jump-to-defun): Remove command.
549 (python-mode-map): Use `imenu' instead.
550 (python-nav-list-defun-positions-cache)
551 (python-imenu-include-defun-type, python-imenu-make-tree)
552 (python-imenu-subtree-root-label, python-imenu-index-alist):
553 Remove vars.
554 (python-nav-list-defun-positions, python-nav-read-defun)
555 (python-imenu-tree-assoc, python-imenu-make-element-tree)
556 (python-imenu-make-tree, python-imenu-create-index):
557 Remove functions.
558 (python-mode): Update to interact with imenu by setting
559 `imenu-extract-index-name-function' only.
560
561 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
562
563 * progmodes/python.el: Enhancements to navigation commands.
564 (python-nav-backward-sentence)
565 (python-nav-forward-sentence): Remove.
566 (python-nav-backward-statement, python-nav-forward-statement)
567 (python-nav-statement-start, python-nav-statement-end)
568 (python-nav-backward-block, python-nav-forward-block)
569 (python-nav-block-start, python-nav-block-end)
570 (python-nav-forward-sexp-function)
571 (python-info-current-line-comment-p)
572 (python-info-current-line-empty-p): New functions.
573 (python-indent-context): Use `python-nav-statement-start'.
574
575 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
576
577 * eshell/em-ls.el (eshell/ls): Use `apply'.
578
579 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
580 multi-hops, instead of Tramp internals.
581
582 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
583
584 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
585 when F1 and F2 are located on different hosts.
586
587 2012-07-14 Chong Yidong <cyd@gnu.org>
588
589 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
590 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
591 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
592 (xterm-mouse--read-event-sequence-1000)
593 (xterm-mouse--read-event-sequence-1006): New functions. For old
594 mouse protocol, handle M-mouse-X events correctly.
595 (xterm-mouse-event): New arg specifying mouse protocol.
596 (turn-on-xterm-mouse-tracking-on-terminal)
597 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
598 sequence to toggle extended coordinates on newer XTerms.
599 This appears to be harmless on terminals which do not support this.
600
601 2012-07-14 Leo Liu <sdl.web@gmail.com>
602
603 Add fringe bitmap indicators for flymake. (Bug#11253)
604 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
605 (flymake-make-overlay): New arg BITMAP.
606 (flymake-error-bitmap, flymake-warning-bitmap)
607 (flymake-fringe-indicator-position): New user variables.
608
609 * fringe.el: New bitmap exclamation-mark.
610
611 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
612
613 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
614 also (Bug#7879).
615
616 2012-07-14 Chong Yidong <cyd@gnu.org>
617
618 * electric.el (electric-pair-post-self-insert-function): Fix pair
619 insertion in empty-region case (Bug#11520).
620
621 2012-07-14 Chong Yidong <cyd@gnu.org>
622
623 * bindings.el: Consolidate ctl-x-r-map bindings.
624 Bind copy-rectangle-as-kill to C-x r w.
625
626 * rect.el, register.el: Move bindings to bindings.el.
627
628 2012-07-14 Reuben Thomas <rrt@sc3d.org>
629
630 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
631
632 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
633
634 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
635
636 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
637
638 * bindings.el (top): Use `mapc' instead of `mapcar'.
639
640 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
641
642 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
643
644 * progmodes/sql.el (sql-comint): Suppress the check for program on
645 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
646 (Bug#11908)
647
648 2012-07-13 Chong Yidong <cyd@gnu.org>
649
650 * bindings.el: Assign a non-nil permanent-local property to
651 per-buffer variables which lack a default value (Bug#11930).
652
653 * help-fns.el (describe-variable): In the "automatically becomes
654 local" notice, take note of permanent-local variables.
655
656 2012-07-13 Chong Yidong <cyd@gnu.org>
657
658 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
659 to allow printing the message when called from Lisp.
660
661 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
662 Remove toggle-read-only.
663
664 * bs.el (bs-toggle-readonly):
665 * buff-menu.el (Buffer-menu-toggle-read-only):
666 Remove with-no-warnings around toggle-read-only.
667
668 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
669 Remove with-no-warnings around toggle-read-only.
670 (ffap-read-only, ffap-read-only-other-window)
671 (ffap-read-only-other-frame): Callers changed.
672
673 * help-mode.el: Don't require view package.
674 (help-mode-finish): Set buffer-read-only instead of calling
675 toggle-read-only.
676
677 * bindings.el (mode-line-toggle-read-only):
678 * dired.el (dired-toggle-read-only):
679 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
680 with non-nil second arg.
681
682 * emacs-lisp/eieio-custom.el (eieio-customize-object):
683 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
684 directly.
685
686 2012-07-12 Eli Zaretskii <eliz@gnu.org>
687
688 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
689 not incf.
690
691 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 More CL cleanups and reduction of use of cl.el.
694 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
695 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
696 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
697 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
698 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
699 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
700 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
701 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
702 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
703 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
704 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
705 * eshell/em-cmpl.el, eshell/em-banner.el:
706 * calendar/parse-time.el: Use cl-lib.
707 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
708 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
709 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
710 * term/ns-win.el, term.el, shell.el, ps-samp.el:
711 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
712 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
713 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
714 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
715 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
716 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
717 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
718 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
719 `lambda' rather than with `quote'.
720 (eshell-do-opt): Adjust accordingly.
721 (eshell-process-option): Simplify.
722 * eshell/esh-var.el:
723 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
724 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
725 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
726 to `pcase--dontcare'.
727 * emacs-lisp/cl.el (labels): Mark obsolete.
728 (cl--letf, letf): Move to cl-lib.
729 (cl--letf*, letf*): Remove.
730 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
731 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
732 (cl-progv): Rewrite.
733 (cl--letf, cl-letf): Move from cl.el.
734 (cl-letf*): New macro.
735 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
736
737 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
738
739 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
740
741 2012-07-11 Chong Yidong <cyd@gnu.org>
742
743 * vc/log-edit.el (log-edit-vc-backend): New variable.
744 (log-edit): Doc fix.
745
746 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
747 argument of log-edit to set up all local variables.
748 (vc-start-logentry): New optional arg specifying VC backend.
749
750 * vc/vc.el (vc-checkin): Use it.
751 (vc-deduce-fileset): Handle Log Edit buffers.
752 (vc-diff): Make first argument optional too.
753
754 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
755
756 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
757
758 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
759 command, just in case. The function is not needed anymore.
760 (eshell-external-command): Do not call `eshell-remote-command'.
761
762 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 Reduce use of (require 'cl).
765 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
766 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
767 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
768 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
769 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
770 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
771 * battery.el, avoid.el, abbrev.el: Use cl-lib.
772 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
773 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
774 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
775 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
776 * calculator.el, autorevert.el, apropos.el: Don't require CL.
777 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
778 (byte-compile-unfold-bcf, byte-compile-check-variable):
779 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
780 (byte-compile-nilconstp):
781 * emacs-lisp/autoload.el (make-autoload): Use pcase.
782 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
783
784 * emacs-lisp/gv.el (cond): Make it a valid place.
785 (if): Simplify slightly.
786
787 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
788 (pcase--self-quoting-p): New function.
789 (pcase--u1): Use it.
790
791 2012-07-10 Glenn Morris <rgm@gnu.org>
792
793 * emacs-lisp/authors.el (authors-fixed-entries):
794 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
795
796 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
797
798 Rename configure.in to configure.ac (Bug#11603).
799 * emacs-lisp/authors.el (authors-canonical-file-name):
800 * progmodes/autoconf.el (autoconf-mode):
801 Prefer configure.ac to configure.in.
802
803 2012-07-08 Chong Yidong <cyd@gnu.org>
804
805 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
806 Implement the mouse-1-click-follows-link handling properly.
807
808 * info.el (Info-link-keymap): Use follow-link mechanism for
809 header-line links (Bug#374).
810
811 * simple.el (deactivate-mark): Do not set the primary selection
812 if another program has acquired it (Bug#11772).
813
814 2012-07-07 Kevin Ryde <user42@zip.com.au>
815
816 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
817 (woman-decode-region): Replace escaped-escapes without destroying
818 bold or underline (Bug#11552).
819 (woman2-process-escapes): Handle nofill regions (Bug#11591).
820
821 2012-07-07 Chong Yidong <cyd@gnu.org>
822
823 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
824 (interprogram-cut-function, interprogram-paste-function):
825 Mention that we typically mean the clipboard.
826
827 2012-07-06 Glenn Morris <rgm@gnu.org>
828
829 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
830
831 * files.el (toggle-read-only): Restrict message to interactive use.
832
833 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
834
835 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
836
837 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
838
839 2012-07-06 Glenn Morris <rgm@gnu.org>
840
841 * Makefile.in (compile-one-process): Rename from "recompile".
842
843 * Makefile.in (bzr-update): "compile" is the same as "recompile
844 autoloads", but parallelizable, so use that instead.
845
846 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
847
848 * window.el (quit-window): Always restore window height when
849 it's saved in quit-restore parameter (Bug#11810).
850
851 2012-07-06 Glenn Morris <rgm@gnu.org>
852
853 * simple.el (kill-whole-line): Doc tweak.
854
855 2012-07-06 Eli Zaretskii <eliz@gnu.org>
856
857 * files.el (file-relative-name): Compare file names
858 case-insensitively if on MS-Windows or MS-DOS, or if
859 read-file-name-completion-ignore-case is non-nil. Don't use
860 case-fold-search for this purpose. (Bug#11827)
861
862 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
863
864 * calendar/cal-dst.el (calendar-current-time-zone):
865 Return calendar-current-time-zone-cache if non-nil.
866
867 2012-07-17 Masatake YAMATO <yamato@redhat.com>
868 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
869
870 * calendar/cal-dst.el (calendar-current-time-zone):
871 Return calendar-current-time-zone-cache if non-nil.
872
873 2012-07-06 Glenn Morris <rgm@gnu.org>
874
875 * Makefile.in (cvs-update): Remove old alias.
876
877 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
878
879 Sync with Tramp 2.2.6-pre.
880
881 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
882 compatible declaration.
883
884 * net/tramp-cmds.el (tramp-append-tramp-buffers):
885 Protect `list-load-path-shadows' call.
886
887 * net/tramp-compat.el (top): Require packages, which aren't
888 autoloaded anymore for XEmacs. Protect call of
889 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
890 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
891 it hurts at least for SXEmacs.
892 (tramp-compat-temporary-file-directory): In XEmacs, there is no
893 standard-value for `temporary-file-directory'.
894
895 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
896 Redirect stderr to /dev/null.
897 (tramp-sh-handle-write-region): uid and gid can be floats.
898 Reported by Russell Sim <russell.sim@gmail.com>.
899 (tramp-sh-handle-vc-registered): Hide errors.
900 (tramp-vc-file-name-handler): Use dummy results for `process-file'
901 and `start-file-process'.
902 (tramp-maybe-open-connection): Check also whether `non-essential'
903 is bound.
904
905 2012-07-04 Chong Yidong <cyd@gnu.org>
906
907 * xml.el (xml--parse-buffer): Use xml-syntax-table.
908 (xml-parse-tag): Likewise, and avoid changing entity tables.
909 (xml-syntax-table): Define from scratch, making sure not to give
910 x2000 and other Unicode spaces whitespace syntax, since those are
911 not spaces in XML.
912 (xml-parse-fragment): Delete unused function.
913 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
914 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
915 (xml-entity-ref, xml-pe-reference-re)
916 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
917 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
918 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
919 (xml-entity-value-re): Use syntax references in regexps where
920 possible; no need to define inside a let-binding.
921 (xml-parse-dtd): Use xml-pe-reference-re.
922 (xml-entity-or-char-ref-re): New defconst.
923 (xml-parse-string, xml-substitute-special): Use it.
924
925 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * files.el (locate-dominating-file): Allow `name' to be a predicate.
928 (find-file--read-only): New function.
929 (find-file-read-only, find-file-read-only-other-window)
930 (find-file-read-only-other-frame): Use it.
931 (insert-file-contents-literally): Don't `fset'.
932 (get-free-disk-space): Use locate-dominating-file.
933
934 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
935 function is already compiled.
936
937 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
938
939 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
940
941 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
942 files on the same host.
943
944 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
945
946 * help-fns.el (describe-function-1): Only call
947 help-fns--autoloaded-p when we have a file name. (Bug#11848)
948
949 2012-07-03 Chong Yidong <cyd@gnu.org>
950
951 * xml.el: Protect parser against XML bombs.
952 (xml-entity-expansion-limit): New variable.
953 (xml-parse-string, xml-substitute-special): Use it.
954 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
955
956 2012-07-03 Glenn Morris <rgm@gnu.org>
957
958 * progmodes/bug-reference.el (bug-reference-bug-regexp):
959 Allow linking to specific messages in debbugs reports (eg 123#5).
960
961 2012-07-02 Chong Yidong <cyd@gnu.org>
962
963 * xml.el: Fix entity and character reference expansion, allowing
964 them to expand into markup as per XML spec.
965 (xml-default-ns): New variable.
966 (xml-entity-alist): Use XML spec definitions for lt and amp.
967 (xml-parse-region): Make first two arguments optional.
968 Discard text properties.
969 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
970 All callers changed.
971 (xml-parse-tag): Call xml-parse-tag-1. For backward
972 compatibility, this function should not modify buffer contents.
973 (xml-parse-tag-1): Fix opening-tag regexp.
974 (xml-parse-string): Rewrite, handling entity and character
975 references properly.
976 (xml--entity-replacement-text): Signal an error if a parameter
977 entity is undefined.
978
979 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
980
981 * comint.el (comint-output-filter): Filter out repeated prompts.
982
983 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
984 and file-name-absolute-p.
985 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
986 internal calls.
987
988 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
989
990 Spelling fixes.
991 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
992 Rename from byte-compile--refiy-function. All uses changed.
993
994 2012-07-01 Chong Yidong <cyd@gnu.org>
995
996 * xml.el (xml--parse-buffer): New function. Move most of
997 xml-parse-region here.
998 (xml-parse-region): Copy region into a temporary buffer, since
999 parameter entity substitution requires changing buffer contents.
1000 Use xml--parse-buffer.
1001 (xml-parse-file): Use xml--parse-buffer.
1002 (xml-parse-dtd): Make parameter entity substitution work right.
1003 Use proper regexps for ELEMENT declarations (Bug#7172).
1004
1005 2012-06-30 Glenn Morris <rgm@gnu.org>
1006
1007 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1008
1009 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1010 Remove outdated and unnecessary dbus declarations.
1011
1012 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1013
1014 * emacs-lisp/timer.el (timer-until): Subtract results of
1015 float-time, instead of taking float-time of the result of
1016 time-subtract, since float-time signals an error for negative time
1017 arguments.
1018
1019 2012-06-30 Chong Yidong <cyd@gnu.org>
1020
1021 * xml.el (xml-*-re): Convert defvars into defconsts, and
1022 eval-and-compile them so eval-and-compile works on derivatives.
1023 (xml--entity-replacement-text): Use eval-and-comple.
1024
1025 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1026
1027 * vc/vc-git.el (vc-git-registered): Use cache property
1028 `git-registered'.
1029 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1030 `vc-git-working-revision' in order to benefit from the cache.
1031 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1032
1033 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1034
1035 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1036 removed (likely outside Emacs). (Bug#11757)
1037
1038 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * emacs-lisp/cl-lib.el: Require macroexp.
1041
1042 2012-06-30 Chong Yidong <cyd@gnu.org>
1043
1044 * xml.el: Implement XML parameter entities.
1045 (xml-parameter-entity-alist): New variable.
1046 (xml-parse-region, xml-parse-fragment): Preserve previous values
1047 of xml-entity-alist and xml-parameter-entity-alist, so that
1048 repeated calls on different documents do not change them.
1049 (xml-parse-tag): Fix doctype regexp.
1050 (xml--entity-replacement-text): New function.
1051 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1052 properly requires url retrieval which is unimplemented.
1053 (xml-escape-string): Doc fix.
1054
1055 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1056
1057 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1058
1059 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1060
1061 * fringe.el (fringe-mode): Doc fix.
1062
1063 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1064
1065 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1066 is non-nil.
1067 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1068 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1069
1070 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1071
1072 * calendar/cal-dst.el (calendar-current-time-zone):
1073 Return calendar-current-time-zone-cache if non-nil.
1074
1075 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1076
1077 * progmodes/which-func.el (which-func-format):
1078 Add mouse-face. (Bug#11698)
1079
1080 2012-06-29 Leo Liu <sdl.web@gmail.com>
1081
1082 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1083
1084 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1085
1086 * minibuffer.el (minibuffer-confirm-exit-commands):
1087 Add completion-at-point (bug#11725).
1088
1089 2012-06-29 Glenn Morris <rgm@gnu.org>
1090
1091 * progmodes/f90.el (f90-font-lock-keywords-2):
1092 Add some preprocessor elements. (Bug#10499)
1093
1094 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1097 Use syntax-propertize (bug#11739).
1098
1099 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1100
1101 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1102
1103 2012-06-28 Julien Danjou <julien@danjou.info>
1104
1105 * term.el (term-handle-colors-array): Use a set of new faces to
1106 color the terminal. Also uses :inverse-video property.
1107 (term-default-fg-color): Set to nil by default, deprecate in favor
1108 of `term-face'.
1109 (term-default-bg-color): Set to nil by default, deprecate in favor
1110 of `term-face'.
1111 (term-current-face): Use `term-face' by default.
1112 (term-bold-attribute): Variable deleted.
1113
1114 2012-06-28 Glenn Morris <rgm@gnu.org>
1115
1116 * simple.el (completion-list-mode-finish):
1117 Don't use toggle-read-only. (Since completion-list-mode has
1118 a special mode-class, it wasn't doing anything extra anyway.)
1119
1120 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 Make inlining of other-mode interpreted functions work (bug#11799).
1123 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1124 (byte-compile): Use it to fix compilation of lexical-binding closures.
1125 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1126 function, if needed.
1127
1128 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * help-mode.el (help-make-xrefs): Don't just withstand
1131 cyclic-variable-indirection but any error in documentation-property.
1132
1133 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1134 memory use.
1135 * bindings.el (bindings--define-key): New function.
1136 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1137 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1138 * bindings.el: Use it to purecopy define-key bindings.
1139
1140 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1141
1142 * emacs-lisp/cl.el (flet): Mark obsolete.
1143 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1144 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1145 * progmodes/js.el (js-c-fill-paragraph):
1146 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1147 (ebrowse-switch-member-buffer-to-derived-class):
1148 * play/5x5.el (5x5-solver): Use cl-flet.
1149
1150 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1151 (cl--symbol-function): New macro.
1152 (cl--letf, cl--letf*): Use it.
1153
1154 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1155 Strip "toggle-" if any.
1156
1157 2012-06-27 Glenn Morris <rgm@gnu.org>
1158
1159 * info.el (Info-default-directory-list): Move here from paths.el.
1160 * paths.el: Remove file, which is now empty.
1161 * loadup.el: No longer load "paths".
1162
1163 * custom.el (custom-initialize-delay): Doc fix.
1164
1165 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1166 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1167 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1168 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1169 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1170 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1171 * eshell/eshell.el (eshell-defgroup): Remove alias.
1172
1173 2012-06-27 Chong Yidong <cyd@gnu.org>
1174
1175 * help.el (help-enable-auto-load): New variable.
1176
1177 * help-fns.el (help-fns--autoloaded-p): New function.
1178 (describe-function-1): Refer to a function as "autoloaded" if it
1179 was autoloaded at any time in the past. Perform autoloading if
1180 help-enable-auto-load is non-nil.
1181
1182 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1183
1184 * makefile.w32-in (compile, compile-always): Depend on
1185 update-subdirs, not on subdirs.el. Otherwise, several different
1186 sub-targets of 'bootstrap' running in parallel could
1187 simultaneously write to subdirs.el, producing a garbled file.
1188
1189 2012-06-26 Sam Steingold <sds@gnu.org>
1190
1191 * files.el (file-name-base): New convenience function.
1192 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1193 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1194 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1195 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1196 * textmodes/ispell.el, textmodes/reftex-ref.el:
1197 * textmodes/tex-mode.el: Use it.
1198 Did not touch cedet and org because they are maintained elsewhere.
1199
1200 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1201
1202 * calendar/calendar.el (calendar-exit): Don't try to delete or
1203 iconify last frame. See:
1204 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1205
1206 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1207
1208 * server.el (server-process-filter): Remember dir in the
1209 process's `server-client-directory' properties.
1210
1211 2012-06-24 Chong Yidong <cyd@gnu.org>
1212
1213 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1214 non-tag text.
1215
1216 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1217
1218 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1219
1220 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * help-fns.el (describe-variable): Don't croak when doc is not found.
1223 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1224 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1225 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1226 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1227 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1228 ((lambda ..) ..).
1229 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1230
1231 2012-06-23 Chong Yidong <cyd@gnu.org>
1232
1233 * info.el (Info-mouse-follow-link): Accept symbol values of
1234 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1235 (Info-fontify-node): Use Info-link-keymap for all navigation
1236 buttons, with link-args property to perform the desired action.
1237 (Info-link-keymap): Doc fix.
1238 (Info-next-link-keymap, Info-prev-link-keymap)
1239 (Info-up-link-keymap): Delete now-unused keymaps.
1240
1241 2012-06-23 Chong Yidong <cyd@gnu.org>
1242
1243 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1244
1245 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1246 system abbrevs.
1247
1248 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1249
1250 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1253 (bug#11719).
1254
1255 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1256 the requote function doesn't work properly (bug#11714).
1257
1258 2012-06-23 Glenn Morris <rgm@gnu.org>
1259
1260 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1261
1262 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1263
1264 Further GV/CL cleanups.
1265 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1266 gv-expander.
1267 (gv--defun-declaration): New function.
1268 (defun-declarations-alist): Use it.
1269 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1270 (gv-place): Autoload.
1271 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1272 original definition of dotimes and dolist.
1273 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1274 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1275 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1276 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1277 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1278 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1279 to the function's definition.
1280 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1281 * window.el:
1282 * files.el:
1283 * faces.el:
1284 * env.el: Don't use CL.
1285
1286 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1287
1288 Support higher-resolution time stamps (Bug#9000).
1289
1290 * calendar/time-date.el (with-decoded-time-value): New arg
1291 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1292 (encode-time-value): New optional arg PICO. New type 3.
1293 (time-to-seconds) [!float-time]: Support the new picoseconds
1294 component if it's used.
1295 (seconds-to-time, time-subtract, time-add):
1296 Support ps-resolution time stamps as well.
1297
1298 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1299 (timerp): Timer vectors now have length 9, not 8.
1300 (timer--time): Support new-style (4-part) time stamps.
1301 (timer-next-integral-multiple-of-time): Time stamps now have
1302 picosecond resolution, so take a bit more care about rounding.
1303 (timer-relative-time, timer-inc-time): New optional arg psecs.
1304 (timer-set-time-with-usecs): Set psecs to 0.
1305 (timer--activate): Check psecs component, too.
1306
1307 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1308
1309 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1312 Move the non-essential binding to the post/pre-command-hook where it is
1313 more obviously correct.
1314
1315 * subr.el (read-passwd): Don't use a history at all.
1316 * savehist.el (savehist-save): Remove password saved accidentally
1317 because of the above bug.
1318
1319 2012-06-22 Bastien Guerry <bzg@gnu.org>
1320
1321 * files.el (toggle-read-only): Display a message telling whether
1322 the buffer is read-only or not (bug#11726).
1323
1324 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * emacs-lisp/gv.el: New file.
1327 * subr.el (push, pop): Extend to generalized variables.
1328 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1329 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1330 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1331 gv-define-simple-setter, and gv-define-expander.
1332 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1333 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1334 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1335 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1336 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1337 gv-letplace.
1338 (cl-defstruct): Don't define setf-method any more.
1339 * emacs-lisp/cl.el (flet): Don't autoload.
1340 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1341 (define-setf-expander, defsetf, define-modify-macro)
1342 (cl-struct-setf-expander): Move from cl-lib.el.
1343 * emacs-lisp/syntax.el:
1344 * emacs-lisp/ewoc.el:
1345 * emacs-lisp/smie.el:
1346 * emacs-lisp/cconv.el:
1347 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1348 (timer--time): Use gv-define-simple-setter.
1349 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1350 to avoid coding-system problems in subr.el. Adjust all users.
1351 (macroexp--maxsize, macroexp-small-p): New functions.
1352 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1353 * scroll-bar.el (scroll-bar-mode):
1354 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1355 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1356 * winner.el (winner-configuration, winner-make-point-alist)
1357 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1358 * files.el (locate-file-completion-table): Avoid list*.
1359
1360 2012-06-22 Chong Yidong <cyd@gnu.org>
1361
1362 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1363 (dired-create-files): Doc fix (Bug#11329).
1364 (dired-do-copy): Doc fix (Bug#11334).
1365 (dired-mark-read-string): Doc fix (Bug#11553).
1366
1367 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1368 Doc fix (Bug#11326).
1369 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1370 (dired-dwim-target): Doc fix.
1371
1372 * wdired.el (wdired-mode): Doc fix.
1373
1374 2012-06-22 Glenn Morris <rgm@gnu.org>
1375
1376 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1377 (pcmpl-rpm-cache-stamp-file): New constant.
1378 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1379 (pcmpl-rpm-packages): Optionally cache list of packages.
1380
1381 * pcmpl-rpm.el (pcmpl-rpm): New group.
1382 (pcmpl-rpm-query-options): New option.
1383 (pcmpl-rpm-packages): No need to inline it.
1384 Use pcmpl-rpm-query-options.
1385
1386 * calendar/calendar.el (calendar-in-read-only-buffer):
1387 Avoid some needless mode changes.
1388
1389 2012-06-21 Chong Yidong <cyd@gnu.org>
1390
1391 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1392 (desktop-path): Remove . from the default value (Bug#10977).
1393 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1394
1395 2012-06-20 Chong Yidong <cyd@gnu.org>
1396
1397 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1398
1399 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1400
1401 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1402 (bug#11201).
1403
1404 2012-06-20 Chong Yidong <cyd@gnu.org>
1405
1406 * term.el (term-window-width): Handle the case of a missing right
1407 fringe (Bug#8837).
1408 (term-check-size): Use window-text-height (Bug#5445).
1409 (term-mode): Use define-derived-mode. Minor cleanups.
1410 Set font-lock-defaults (Bug#7692).
1411 (term-move-columns, term-insert-char, term-emulate-terminal)
1412 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1413
1414 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1415
1416 * net/ange-ftp.el (ange-ftp-get-passwd):
1417 Bind `enable-recursive-minibuffers'.
1418 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1419
1420 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1421
1422 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1423
1424 2012-06-19 Glenn Morris <rgm@gnu.org>
1425
1426 * progmodes/python.el (python-mode): Derive from prog-mode.
1427
1428 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1429
1430 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1431 (edt-user-menu-bar-update-buffers): New functions.
1432 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1433
1434 2012-06-19 Chong Yidong <cyd@gnu.org>
1435
1436 * subr.el (with-selected-window): Preserve the selected window's
1437 terminal's top-frame (Bug#4702).
1438
1439 * window.el (save-selected-window): Likewise.
1440
1441 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * progmodes/python.el (python-rx-constituents): Move backquote.
1444 (python-skeleton-define, python-define-auxiliary-skeleton):
1445 Use `declare'.
1446
1447 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1448
1449 * minibuffer.el (read-file-name-default): Revert the patch from
1450 2012-06-17.
1451
1452 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1455 (pcase--u1, pcase--q1): Don't use apply-partially.
1456
1457 2012-06-18 Glenn Morris <rgm@gnu.org>
1458
1459 * progmodes/python.el (python-proc, python-buffer)
1460 (python-send-receive, python-send-string): Fix obsolete versions.
1461
1462 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1463
1464 * window.el (special-display-p): Completely remove stringp
1465 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1466
1467 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1468
1469 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1470
1471 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1472
1473 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1474 * net/tramp-sh.el (tramp-maybe-open-connection):
1475 Throw if `non-essential' is non-nil.
1476
1477 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1478
1479 * window.el (special-display-p): Signal an error if BUFFER-NAME
1480 is not a string (Bug#11713).
1481
1482 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1483
1484 * progmodes/python.el (python-info-beginning-of-backslash):
1485 Rename from python-info-beginning-of-backlash, as a spelling fix.
1486
1487 2012-06-17 Chong Yidong <cyd@gnu.org>
1488
1489 * term.el (term-emulate-terminal): If term-check-size is called,
1490 move point to the process mark without resetting point (Bug#4635).
1491
1492 2012-06-17 Glenn Morris <rgm@gnu.org>
1493
1494 * international/mule-cmds.el (mule-menu-keymap)
1495 (set-language-environment, set-locale-environment): Doc tweaks.
1496
1497 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1498
1499 * cus-face.el (custom-face-attributes): Add wave-style underline
1500 attribute.
1501 * faces.el (set-face-attribute): Update docstring to describe
1502 wave-style underline attribute.
1503
1504 2012-06-16 Chong Yidong <cyd@gnu.org>
1505
1506 * term/xterm.el (terminal-init-xterm): Discard input before
1507 querying background mode (Bug#10959).
1508
1509 2012-06-16 Stefan Merten <smerten@oekonux.de>
1510
1511 * textmodes/rst.el: Added and corrected some comments.
1512 (rst-re-alist-def): Improve symbol syntax.
1513 (rst-mode-syntax-table): Correct syntax entries.
1514 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1515 (rst-official-version, rst-official-cvs-rev): Update version
1516 information.
1517
1518 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1519
1520 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1521 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1522
1523 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1524
1525 * progmodes/python.el: New python.el merge.
1526 (python-guess-indent): Obsolete var.
1527 (python-indent-guess-indent-offset): New defcustom.
1528 (python-indent): Obsolete var.
1529 (python-indent-offset): New defcustom.
1530 (python-python-command, python-jython-command): Delete var.
1531 (python-shell-interpreter): New defcustom.
1532 (python-pdbtrack-do-tracking-p): Delete var.
1533 (python-pdbtrack-activate): New defcustom.
1534 (python-use-skeletons): Obsolete var.
1535 (python-skeleton-autoinsert): New defcustom.
1536 (inferior-python-filter-regexp, python-continuation-offset)
1537 (python-honour-comment-indentation, python-indent-string-contents)
1538 (python-jython-packages, python-mode-hook)
1539 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1540 (python-shell-prompt-alist)
1541 (python-source-modes): Delete defcustoms.
1542 (python-check-buffer-name, python-eldoc-setup-code)
1543 (python-eldoc-string-code, python-ffap-setup-code)
1544 (python-ffap-string-code, python-fill-comment-function)
1545 (python-fill-decorator-function, python-fill-paren-function)
1546 (python-fill-string-function, python-imenu-include-defun-type)
1547 (python-imenu-make-tree, python-imenu-subtree-root-label)
1548 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1549 (python-shell-compilation-regexp-alist)
1550 (python-shell-completion-module-string-code)
1551 (python-shell-completion-pdb-string-code)
1552 (python-shell-completion-setup-code)
1553 (python-shell-completion-string-code)
1554 (python-shell-enable-font-lock, python-shell-exec-path)
1555 (python-shell-extra-pythonpaths)
1556 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1557 (python-shell-process-environment)
1558 (python-shell-prompt-block-regexp)
1559 (python-shell-prompt-output-regexp)
1560 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1561 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1562 (python-shell-virtualenv-path): New defcustoms.
1563 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1564 (inferior-python-mode-syntax-table, python--prompt-regexp)
1565 (python-buffer, python-command python-python-command)
1566 (python-default-template, python-imports, python-indent-index)
1567 (python-indent-list, python-indent-list-length)
1568 (python-mode-running, python-pdbtrack-is-tracking-p)
1569 (python-preoutput-continuation, python-preoutput-leftover)
1570 (python-preoutput-result, python-preoutput-skip-next-prompt)
1571 (python-prev-dir/file, python-recursing)
1572 (python-saved-check-command, python-version-checked)
1573 (python-which-func-length-limit)
1574 (view-return-to-alist): Delete vars.
1575 (python-check-custom-command, python-dotty-syntax-table)
1576 (python-imenu-index-alist, python-indent-current-level)
1577 (python-indent-dedenters, python-indent-levels)
1578 (python-nav-beginning-of-defun-regexp)
1579 (python-nav-list-defun-positions-cache)
1580 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1581 (python-shell-internal-buffer)
1582 (python-skeleton-available): New vars.
1583 (def-python-skeleton): Delete macro.
1584 (python-skeleton-define): New macro.
1585 (python-define-auxiliary-skeleton, python-rx): New macros.
1586 (python-insert-class): Delete command.
1587 (python-skeleton-class): New command.
1588 (python-insert-def): Delete command.
1589 (python-skeleton-def): New command.
1590 (python-insert-for): Delete command.
1591 (python-skeleton-for): New command.
1592 (python-insert-if): Delete command.
1593 (python-skeleton-if): New command.
1594 (python-insert-try/except, python-insert-try/finally): Delete commands.
1595 (python-skeleton-try): New command.
1596 (python-insert-while): Delete command.
1597 (python-skeleton-while): New command.
1598 (python-backspace): Delete command.
1599 (python-indent-dedent-line-backspace): New command.
1600 (python-electric-colon): Delete command.
1601 (python-indent-electric-colon): New command.
1602 (python-guess-indent): Delete command.
1603 (python-indent-guess-indent-offset): New command.
1604 (python-shift-left): Delete command.
1605 (python-indent-shift-left): New command.
1606 (python-shift-right): Delete command.
1607 (python-indent-shift-right): New command.
1608 (python-find-function): Delete command.
1609 (python-nav-jump-to-defun): New command.
1610 (python-next-statement): Delete command.
1611 (python-nav-forward-sentence): New command.
1612 (python-previous-statement): Delete command.
1613 (python-nav-backward-sentence): New command.
1614 (python-fill-paragraph): Delete command.
1615 (python-fill-paragraph-function): New command.
1616 (python-send-buffer): Delete command.
1617 (python-shell-send-buffer): New command.
1618 (python-send-defun): Delete command.
1619 (python-shell-send-defun): New command.
1620 (python-send-region, python-send-region-and-go): Delete commands.
1621 (python-shell-send-region)
1622 (python-shell-switch-to-shell): New commands.
1623 (python-send-string): Delete command.
1624 (python-shell-send-string): New command.
1625 (python-switch-to-python): Delete command.
1626 (python-shell-switch-to-shell): New command.
1627 (python-describe-symbol): Delete command.
1628 (python-eldoc-at-point): New command.
1629 (python--set-prompt-regexp, python-args-to-list)
1630 (python-after-info-look, python-check-version)
1631 (python-check-comint-prompt, python-find-imports)
1632 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1633 (python-unload-function, python-expand-template)
1634 (python-maybe-jython, python-preoutput-filter)
1635 (python-pdbtrack-get-source-buffer)
1636 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1637 (python-pdbtrack-toggle-stack-tracking)
1638 (python-pdbtrack-track-stack-file, python-initial-text)
1639 (python-first-word, python-comment-line-p, python-send-command)
1640 (python-setup-brm, python-sentinel, python-set-proc)
1641 (python-skip-out, python-input-filter, python-outdent-p)
1642 (python-outline-level, python-backslash-continuation-line-p)
1643 (python-end-of-block, python-end-of-statement, python-mark-block)
1644 (python-beginning-of-block, python-beginning-of-statement)
1645 (python-blank-line-p, python-beginning-of-string)
1646 (python-open-block-statement-p): Delete functions.
1647 (python-indent-line, python-indent-line-1): Delete functions.
1648 (python-indent-line): New function.
1649 (python-indentation-levels): Delete function.
1650 (python-indent-calculate-levels): New function.
1651 (python-proc): Delete function.
1652 (python-shell-get-process): New function.
1653 (python-send-receive): Delete function.
1654 (python-shell-send-string-no-output): New function.
1655 (python-module-path): Delete function.
1656 (python-ffap-module-path): New function.
1657 (python-completion-at-point)
1658 (python-symbol-completions): Delete functions.
1659 (python-completion-complete-at-point): New function.
1660 (python-load-file): Delete function.
1661 (python-shell-send-file): New function.
1662 (python-calculate-indentation): Delete function.
1663 (python-indent-calculate-indentation): New function.
1664 (python-skip-comments/blanks): Delete function.
1665 (python-util-forward-comment): New function.
1666 (python-continuation-line-p): Delete function.
1667 (python-info-continuation-line-p): New function.
1668 (python-which-func, python-current-defun): Delete function.
1669 (python-info-current-defun): New function.
1670 (python-beginning-of-defun): Delete function.
1671 (python-nav-beginning-of-defun): New function.
1672 (python-close-block-statement-p)
1673 (python-block-end-p): Delete function.
1674 (python-info-closing-block): New function.
1675 (python-comint-output-filter-function)
1676 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1677 (python-fill-comment, python-fill-decorator, python-fill-paren)
1678 (python-fill-string, python-imenu-make-element-tree)
1679 (python-imenu-make-tree, python-imenu-tree-assoc)
1680 (python-indent-context, python-indent-dedent-line)
1681 (python-indent-line-function)
1682 (python-indent-post-self-insert-function)
1683 (python-indent-toggle-levels)
1684 (python-info-assignment-continuation-line-p)
1685 (python-info-beginning-of-backlash)
1686 (python-info-block-continuation-line-p)
1687 (python-info-closing-block-message)
1688 (python-info-line-ends-backslash-p)
1689 (python-info-looking-at-beginning-of-defun)
1690 (python-info-ppss-context, python-info-ppss-context-type)
1691 (python-nav-list-defun-positions, python-nav-read-defun)
1692 (python-nav-sentence-end, python-nav-sentence-start)
1693 (python-pdbtrack-comint-output-filter-function)
1694 (python-pdbtrack-set-tracked-buffer)
1695 (python-shell-calculate-exec-path)
1696 (python-shell-calculate-process-environment)
1697 (python-shell-completion--do-completion-at-point)
1698 (python-shell-completion--get-completions)
1699 (python-shell-completion-complete-at-point)
1700 (python-shell-completion-complete-or-indent)
1701 (python-shell-get-or-create-process)
1702 (python-shell-get-process-name)
1703 (python-shell-internal-get-or-create-process)
1704 (python-shell-internal-get-process-name)
1705 (python-shell-internal-send-string, python-shell-make-comint)
1706 (python-shell-parse-command, python-shell-send-setup-code)
1707 (python-skeleton-add-menu-items)
1708 (python-util-clone-local-variables, python-util-position)
1709 (run-python-internal, python-indentation-levels)
1710 (python-nav-beginning-of-defun)
1711 (python-completion-complete-at-point): New functions.
1712 (run-python): Change arguments. New API requirements.
1713
1714 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1715
1716 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1717 (bug#11649).
1718
1719 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1720 (macroexp--expand-all): Use it.
1721
1722 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1723 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1724 Use `cl-function' instead.
1725
1726 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1727
1728 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1729 Suggested by Stefan Monnier while discussing bug#11657.
1730
1731 2012-06-14 Sam Steingold <sds@gnu.org>
1732
1733 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1734
1735 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1736
1737 * play/doctor.el (doctor-doc): Remove parameter and use
1738 doctor-sent instead of sent.
1739 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1740
1741 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * files.el: Require cl-lib.
1744 (file-name-non-special): Replace case -> cl-case.
1745
1746 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1747
1748 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1749 mapping from #' to function*.
1750
1751 2012-06-13 Chong Yidong <cyd@gnu.org>
1752
1753 * mouse.el (mouse-drag-track): Do not set the mark if the user
1754 releases the mouse without selecting anything (Bug#11588).
1755
1756 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1759 as well (bug#11646).
1760
1761 * loadup.el: Count byte-code functions as well.
1762
1763 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1764 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1765
1766 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1767 (bug#11649). Add cl-defun and cl-defmacro.
1768
1769 2012-06-13 Drew Adams <drew.adams@oracle.com>
1770
1771 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1772 Fix last change.
1773
1774 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1775
1776 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1777 Otherwise, it blocks in batch mode.
1778
1779 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1780
1781 * help-mode.el (bookmark-make-record-default): Declare.
1782
1783 2012-06-13 Chong Yidong <cyd@gnu.org>
1784
1785 * emacs-lisp/package.el (list-packages): Compute a list of
1786 packages that are newly-available since the last list-packages
1787 invocation.
1788 (package-menu--new-package-list): New var.
1789 (package-menu--generate, package-menu--print-info)
1790 (package-menu--status-predicate, package-menu-mark-install):
1791 Handle new status label "new".
1792
1793 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1796 conversion to backquotes.
1797
1798 2012-06-12 Chong Yidong <cyd@gnu.org>
1799
1800 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1801 Rename from gud-inhibit-global-bindings.
1802
1803 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1804
1805 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1806 hook from nxml-glyph-set-hook.
1807
1808 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1809 declaration.
1810
1811 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1812
1813 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1814 Convert to defcustom.
1815
1816 2012-06-12 Drew Adams <drew.adams@oracle.com>
1817
1818 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1819 New functions.
1820 (help-mode): Use them.
1821
1822 2012-06-11 Glenn Morris <rgm@gnu.org>
1823
1824 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1825 Use preprocessor face for directives.
1826 (fortran-directive-re): Doc fix.
1827
1828 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1831 conversion to backquotes (bug#11652).
1832
1833 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1834 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1835 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1836 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1837 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1838 (cl-ninth, cl-tenth): Mark them as inlinable.
1839 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1840 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1841 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1842 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1843 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1844 (cl-list*, cl-adjoin): Don't put an autoload manually.
1845 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1846 (cl--compiler-macro-list*): Add autoload cookie.
1847 (cl--compiler-macro-cXXr): New function.
1848
1849 * help-fns.el (help-fns--compiler-macro): New function extracted from
1850 describe-function-1; follow aliases and use `compiler-macro' property.
1851 (describe-function-1): Use it.
1852
1853 2012-06-11 Chong Yidong <cyd@gnu.org>
1854
1855 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1856 is uninstalled, if imagemagick is installed.
1857
1858 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1859
1860 * emacs-lisp/cl-lib.el: Use lexical-binding.
1861 (cl-map-extents, cl-maclisp-member): Remove.
1862 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1863 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1864 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1865 * emacs-lisp/cl-extra.el: Use lexical-binding.
1866 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1867 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1868 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1869 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1870 * emacs-lisp/cl-seq.el: Use lexical-binding.
1871 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1872 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1873 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1874 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1875 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1876 CL's internals.
1877
1878 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
1879
1880 Sync with Tramp 2.2.6-pre.
1881
1882 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1883 `print-length' and `print-level' to nil, in order to avoid
1884 truncation. Reported by Christopher Schmidt
1885 <christopher@ristopher.com>.
1886
1887 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1888
1889 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1890 New defmacro.
1891 (tramp-compat-copy-directory): Add optional argument
1892 COPY-CONTENTS. It is not handled yet.
1893
1894 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1895 (tramp-ftp-file-name-p): Simplify.
1896
1897 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1898 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1899 connection vector.
1900
1901 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1902 (tramp-methods): Do not use `tramp-password-end-of-line'.
1903 (tramp-completion-function-alist-putty): Handle UNIX case.
1904 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1905 (tramp-do-file-attributes-with-stat)
1906 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1907 gid as real numbers. They could run out of integer range on cygwin.
1908 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1909 (tramp-sh-handle-expand-file-name): Handle hops.
1910 (tramp-open-connection-setup-interactive-shell):
1911 Use `tramp-cleanup'. Move check for busyboxes ...
1912 (tramp-find-shell): ... here. Simplify implementation.
1913 Set "remote-shell" property also for alternative shells.
1914 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1915 If failing, a regular file would be written otherwise.
1916 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1917 (tramp-find-inline-encoding): Cache the coding commands in the
1918 process cache. Apply test command on the remote side, if defined.
1919 (tramp-find-inline-compress): Cache the compress commands in the
1920 process cache.
1921 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1922 when requested. Handle hops.
1923 (tramp-current-connection): New defvar.
1924 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1925 Throw `suppress', if there was a failed connection shortly before.
1926 Handle user interrupt. (Bug#10187)
1927 (tramp-get-inline-compress, tramp-get-inline-coding):
1928 Read connection properties from the process cache.
1929
1930 * net/tramp-smb.el (tramp-smb-server-version)
1931 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1932 New defconsts.
1933 (tramp-smb-prompt): Extend for powershell prompt.
1934 (tramp-smb-file-name-handler-alist): Add handlers for
1935 `process-file', `shell-command' and `start-file-process'.
1936 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1937 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1938 (tramp-smb-file-name-p): Simplify.
1939 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1940 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1941 (tramp-smb-shell-quote-argument): New defuns.
1942 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1943 Implement using "tar". By this, time-stamps are preserved.
1944 (tramp-smb-handle-copy-file): Handle also the case of directories.
1945 (tramp-smb-do-file-attributes-with-stat)
1946 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1947 Use `tramp-get-connection-buffer').
1948 (tramp-smb-handle-rename-file): Use "rename", when source and
1949 target are on the same share.
1950 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1951 Use `tramp-smb-server-version'.
1952 (tramp-smb-wait-for-output): Remove prompt.
1953
1954 * net/tramp.el (top): Require 'cl.
1955 (tramp-methods, tramp-rsh-end-of-line):
1956 Remove `tramp-password-end-of-line' from docstring.
1957 (tramp-save-ad-hoc-proxies): New defcustom.
1958 (tramp-completion-function-alist): Adapt docstring.
1959 (tramp-default-password-end-of-line): Remove defcustom.
1960 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1961 (tramp-user-regexp, tramp-file-name-regexp-unified)
1962 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1963 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1964 (tramp-remote-file-name-spec-regexp): New defconst.
1965 (tramp-file-name-structure): Extend structure for hops.
1966 (tramp-get-method-parameter): Move up.
1967 (tramp-file-name-p, tramp-dissect-file-name)
1968 (with-parsed-tramp-file-name): Handle hops.
1969 (tramp-file-name-hop): New defun.
1970 (tramp-make-tramp-file-name): New optional arg HOP.
1971 (tramp-message-show-progress-reporter-message): New defvar.
1972 (tramp-with-progress-reporter): Use it. We cannot use
1973 `tramp-message-show-message' here, because this suppresses also
1974 error buffers.
1975 (tramp-error-with-buffer): Suppress buffer view, if
1976 `tramp-message-show-message' is nil.
1977 Use `tramp-get-connection-buffer'.
1978 (tramp-cleanup): New defun.
1979 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1980 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1981 an error unchanged.
1982 (tramp-completion-handle-file-name-all-completions): Handle hops.
1983 Fix an error when called from ido.
1984 (tramp-completion-dissect-file-name): Use better local variable
1985 name. Add hop to the vector.
1986 (tramp-handle-insert-file-contents): Use progress-reporter for the
1987 whole scenario.
1988 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1989 to `t'.
1990 (tramp-check-for-regexp): Simplify search.
1991 (tramp-enter-password): Remove it. Move implementation ...
1992 (tramp-action-password): ... here.
1993 (tramp-mode-string-to-int, tramp-local-host-p)
1994 (tramp-make-tramp-temp-file, tramp-read-passwd)
1995 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1996 Set tramp-autoload cookie.
1997
1998 * net/trampver.el: Update release number.
1999
2000 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2001 Michael Albinus <michael.albinus@gmx.de>
2002
2003 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2004 (tramp-parse-group, tramp-parse-file)
2005 (tramp-parse-shostkeys-sknownhosts): New defuns.
2006 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2007 (tramp-parse-shosts-group, tramp-parse-sconfig)
2008 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2009 (tramp-parse-sknownhosts, tramp-parse-hosts)
2010 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2011 Use them.
2012 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2013 (tramp-parse-putty-group): Don't narrow.
2014 (tramp-parse-putty): Make a loop.
2015 (tramp-file-name-handler): Catch the `suppress' signal.
2016
2017 2012-06-11 Chong Yidong <cyd@gnu.org>
2018
2019 * image.el (imagemagick-register-types): Put the ImageMagick entry
2020 at the end of image-type-file-name-regexps.
2021
2022 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2023
2024 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2025 (pcase, pcase-let*, pcase-dolist): Use them.
2026
2027 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * emacs-lisp/pcase.el (pcase--let*): New function.
2030 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2031 (pcase--expand): Use macroexp-let².
2032
2033 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2036 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2037 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2038 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2039 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2040 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2041
2042 2012-06-10 Glenn Morris <rgm@gnu.org>
2043
2044 * mail/rmail.el (rmail-yank-current-message): Leave point at
2045 correct position. (Bug#11660)
2046
2047 2012-06-10 Chong Yidong <cyd@gnu.org>
2048
2049 * allout-widgets.el: Fix code header.
2050
2051 2012-06-10 Chong Yidong <cyd@gnu.org>
2052
2053 * cus-edit.el (customize-changed-options-previous-release):
2054 Bump to 24.1.
2055
2056 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2057
2058 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2059
2060 2012-06-09 Chong Yidong <cyd@gnu.org>
2061
2062 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2063
2064 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2065
2066 * window.el (special-display-popup-frame): Don't use
2067 window--display-buffer (Bug#11651).
2068
2069 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2070
2071 Fix parallel builds: make sure loaddefs.el is not being written
2072 while Lisp files are compiled.
2073 (compile): Don't depend on 'mh-autoloads'.
2074 (compile-CMD, compile-SH): Depend on 'autoloads'.
2075 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2076
2077 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2078
2079 2012-06-09 Chong Yidong <cyd@gnu.org>
2080
2081 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2082 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2083 Doc fixes (Bug#11225).
2084
2085 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2088 a function if there's a clear indication that it has a compiler-macro.
2089 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2090 (macro-declarations-alist): Add arglist to declaration functions.
2091 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2092 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2093 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2094 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2095 Also add autoload to find the compiler macro.
2096 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2097 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2098 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2099 (cl--compiler-macro-get): New functions, replacing calls to
2100 cl-define-compiler-macro.
2101 (cl-typep) [compiler-macro]: Use macroexp-let².
2102
2103 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2104
2105 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2106 string properly, fixes Bug#11473.
2107
2108 2012-06-08 Chong Yidong <cyd@gnu.org>
2109
2110 * faces.el (set-face-attribute): Doc fix.
2111 (modify-face): Don't use :bold and :italic.
2112 (error, warning, success): Tweak definitions.
2113
2114 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2115 (custom-modified, custom-set, custom-changed, custom-themed)
2116 (custom-saved, custom-button, custom-button-mouse)
2117 (custom-button-pressed, custom-state, custom-comment-tag)
2118 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2119 (custom-group-subtitle): Use new-style face specs.
2120 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2121 (custom-set-face, custom-changed-face, custom-saved-face)
2122 (custom-button-face, custom-button-pressed-face)
2123 (custom-documentation-face, custom-state-face)
2124 (custom-comment-face, custom-comment-tag-face)
2125 (custom-variable-tag-face, custom-variable-button-face)
2126 (custom-face-tag-face, custom-group-tag-face-1)
2127 (custom-group-tag-face): Remove obsolete face alias.
2128
2129 * epa.el (epa-validity-high, epa-validity-medium)
2130 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2131 (epa-field-name, epa-field-body):
2132 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2133 (font-lock-keyword-face, font-lock-builtin-face)
2134 (font-lock-function-name-face, font-lock-variable-name-face)
2135 (font-lock-type-face, font-lock-constant-face):
2136 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2137 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2138 * speedbar.el (speedbar-button-face, speedbar-file-face)
2139 (speedbar-directory-face, speedbar-tag-face)
2140 (speedbar-selected-face, speedbar-highlight-face)
2141 (speedbar-separator-face):
2142 * whitespace.el (whitespace-newline, whitespace-space)
2143 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2144 (whitespace-line, whitespace-space-before-tab)
2145 (whitespace-space-after-tab, whitespace-indentation)
2146 (whitespace-empty):
2147 * emulation/cua-base.el (cua-global-mark):
2148 * eshell/em-prompt.el (eshell-prompt):
2149 * net/newst-plainview.el (newsticker-new-item-face)
2150 (newsticker-old-item-face, newsticker-immortal-item-face)
2151 (newsticker-obsolete-item-face, newsticker-date-face)
2152 (newsticker-statistics-face, newsticker-default-face):
2153 * net/newst-reader.el (newsticker-feed-face)
2154 (newsticker-extra-face, newsticker-enclosure-face):
2155 * net/newst-treeview.el (newsticker-treeview-face)
2156 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2157 (newsticker-treeview-immortal-face)
2158 (newsticker-treeview-obsolete-face)
2159 (newsticker-treeview-selection-face):
2160 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2161 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2162 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2163 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2164 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2165 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2166 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2167 (mpuz-text):
2168 * progmodes/vera-mode.el (vera-font-lock-number)
2169 (vera-font-lock-function, vera-font-lock-interface):
2170 * textmodes/table.el (table-cell): Use new-style face specs, and
2171 don't use the old :bold and :italic attributes.
2172
2173 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2174 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2175 (ebrowse-member-class, ebrowse-progress): Likewise.
2176 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2177 (ebrowse-file-name-face, ebrowse-default-face)
2178 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2179 (ebrowse-progress-face): Remove obsolete faces.
2180
2181 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2182 Inherit from error and warning faces respectively.
2183
2184 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2185 Likewise.
2186 (flyspell-incorrect-face, flyspell-duplicate-face):
2187 Remove obsolete aliases.
2188
2189 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2190
2191 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2192 Avoid infloop.
2193
2194 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2195
2196 * startup.el (argv, argi): Make lexically scoped.
2197 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2198 * emacs-lisp/cl-macs.el: Use lexical-binding.
2199 Rename cl-bind-* to cl--bind-*.
2200 * files.el: Don't require `cl' since it doesn't use it.
2201 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2202
2203 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2204
2205 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2206 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2207 instead of calling external sort utility.
2208 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2209
2210 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2211
2212 * descr-text.el (describe-char): Mention how to insert the
2213 character, if the current input method doesn't support it.
2214 See the discussion in this thread for the details:
2215 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2216
2217 2012-06-08 Sam Steingold <sds@gnu.org>
2218
2219 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2220 XF86Back to previous-buffer.
2221 (minibuffer-local-map): Bind them to next-history-element and
2222 previous-history-element respectively.
2223 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2224 help-go-back respectively.
2225 * info.el (Info-mode-map): Bind them to Info-history-forward and
2226 Info-history-back respectively.
2227 These are the keys next to Up on the ThinkPad keyboard.
2228
2229 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2232 * emacs-lisp/cl-macs.el: Provide itself.
2233 (cl--labels-convert-cache): New var.
2234 (cl--labels-convert): New function.
2235 (cl-flet, cl-labels): New implementation with new semantics, relying on
2236 lexical-binding.
2237 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2238 (cl-closure-vars, cl--function-convert-cache)
2239 (cl--function-convert): Move from cl-macs.el.
2240 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2241 rename by removing the "cl-" prefix.
2242 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2243
2244 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2247 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2248 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2249 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2250 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2251 (cl-hash-table-count): Add old compatibility aliases.
2252
2253 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2254 Use macroexpand-all-environment instead.
2255 (cl--old-macroexpand): New var.
2256 (cl--sm-macroexpand): New function.
2257 (cl-symbol-macrolet): Use it during macro expansion.
2258 (cl--function-convert-cache): New var.
2259 (cl--function-convert): New function, extracted from
2260 cl-macroexpand-all.
2261 (cl-lexical-let): Use it.
2262
2263 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2264 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2265 (cl-member): Remove old alias.
2266
2267 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2268 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2269 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2270 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2271 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2272 (cl-macroexpand-cmacs): Remove var.
2273 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2274 Use macroexpand-all instead.
2275
2276 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2279 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2280 (macroexp-copyable-p): New functions and macros.
2281 * emacs-lisp/edebug.el (edebug-unwrap):
2282 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2283 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2284 (pcase--let*): Remove.
2285 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2286 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2287 macroexp-const-p instead.
2288 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2289
2290 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2291 instead of "cl-" for internal definitions. Use macroexp-const-p.
2292 (cl-old-bc-file-form): Remove var.
2293 (cl-const-exprs-p): Remove fun.
2294 (cl-labels, cl-macrolet): Use backquote.
2295 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2296 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2297 (cl-define-setf-expander): Rename from cl-define-setf-method.
2298 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2299
2300 * international/mule-cmds.el: Don't require CL.
2301 (view-hello-file): Don't use `letf'.
2302
2303 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * tmm.el (tmm-prompt): Use string-prefix-p.
2306 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2307 (tmm-add-prompt): Use minibuffer-completion-help.
2308 (tmm-delete-map): Remove.
2309
2310 * subr.el (kbd): Make it its own function.
2311
2312 2012-06-07 Stefan Merten <smerten@oekonux.de>
2313
2314 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2315 Silence compiler warnings. Fix versions.
2316 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2317 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2318 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2319 (rst-package-emacs-version-alist): Correct Emacs version to
2320 represent major merge with upstream.
2321 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2322
2323 2012-06-06 Glenn Morris <rgm@gnu.org>
2324
2325 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2326 Only print environment variables if set.
2327
2328 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2331 (macroexp--cons): Rename from maybe-cons.
2332 (macroexp--accumulate): Rename from macroexp-accumulate.
2333 (macroexp--all-forms): Rename from macroexpand-all-forms.
2334 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2335 (macroexp--expand-all): Rename from macroexpand-all-1.
2336
2337 2012-06-06 Sam Steingold <sds@gnu.org>
2338
2339 * calendar/calendar.el (calendar-in-read-only-buffer):
2340 Call `special-mode' to enable the standard read-only keybindings.
2341
2342 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2345 with "loading" messages (bug#11635).
2346
2347 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * files.el (enable-remote-dir-locals): New option.
2350 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2351
2352 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2353 Ensure, that the temp directory is local.
2354
2355 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2356 `temporary-file-directory'.
2357
2358 * progmodes/python.el (python-send-region): Ensure, that the
2359 temporary file is created also in the remote case.
2360
2361 2012-06-06 Glenn Morris <rgm@gnu.org>
2362
2363 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2364 (vc-rcs-update-changelog): Use it.
2365
2366 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2367
2368 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2369 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2370 (vc-sccs-diff): Replace use of the external vcdiff script.
2371
2372 2012-06-05 Glenn Morris <rgm@gnu.org>
2373
2374 * ledit.el: Move to obsolete/.
2375
2376 2012-06-05 Sam Steingold <sds@gnu.org>
2377
2378 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2379 patch (Bug#11140).
2380
2381 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2382
2383 * emacs-lisp/cust-print.el: Move to obsolete.
2384
2385 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2386 compiler-macro expansion.
2387
2388 Add native compiler-macro support.
2389 * emacs-lisp/macroexp.el (macroexpand-all-1):
2390 Support compiler-macros directly. Properly follow aliases and apply
2391 the compiler macros more thoroughly.
2392 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2393 macroexpand now properly follows aliases.
2394 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2395 (cl-compiler-macroexpand): Use new prop.
2396 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2397
2398 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2399
2400 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2401
2402 * window.el (get-lru-window, get-mru-window, get-largest-window):
2403 New argument NOT-SELECTED to avoid picking the selected window.
2404 (window--display-buffer-1, window--display-buffer-2): Replace by
2405 new function window--display-buffer
2406 (display-buffer-same-window, display-buffer-reuse-window)
2407 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2408 Use window--display-buffer.
2409 (display-buffer-use-some-window): Remove temporary dedication
2410 hack by calling get-lru-window and get-largest-window with
2411 NOT-SELECTED argument non-nil. Call window--display-buffer.
2412
2413 2012-06-05 Glenn Morris <rgm@gnu.org>
2414
2415 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2416 Replace external vcdiff script.
2417
2418 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2421
2422 2012-06-04 Chong Yidong <cyd@gnu.org>
2423
2424 * image.el (imagemagick-types-inhibit): Revert last change.
2425 Add INFO and M.
2426 (imagemagick-enabled-types): Remove CIN and EPS*.
2427
2428 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * emacs-lisp/cl-lib.el: Rename from cl.el.
2431 * emacs-lisp/cl.el: New compatibility file.
2432 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2433 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2434 to obey the "cl-" prefix.
2435 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2436
2437 2012-06-03 Glenn Morris <rgm@gnu.org>
2438
2439 * emacs-lisp/authors.el (authors-aliases): Addition.
2440
2441 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2442 Fix :version.
2443
2444 2012-06-03 Stefan Merten <smerten@oekonux.de>
2445
2446 * textmodes/rst.el: Add comments.
2447 (rst-transition, rst-adornment): New faces.
2448 (rst-adornment-faces-alist): Make default safe to reevaluate.
2449 Fixes
2450 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2451 Improve customization tags.
2452 (rst-define-level-faces): Clarify meaning.
2453
2454 2012-06-03 Chong Yidong <cyd@gnu.org>
2455
2456 * progmodes/compile.el (compilation-mode-line-fail)
2457 (compilation-mode-line-run, compilation-mode-line-exit):
2458 New faces.
2459 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2460
2461 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2462
2463 * progmodes/which-func.el (which-func-update-ediff-windows):
2464 New function. Use it in ediff-select-hook (Bug#11478).
2465
2466 2012-06-03 Chong Yidong <cyd@gnu.org>
2467
2468 * bindings.el: Remove explicit help text from format-mode-line.
2469 It is now supplied by mode-line-default-help-echo.
2470 (mode-line-front-space, mode-line-end-spaces)
2471 (mode-line-misc-info): New variables.
2472 (mode-line-modes, mode-line-position): Move the default value to
2473 the variable definition.
2474 (mode-line-default-help-echo): New defcustom.
2475 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2476 (mode-line-modified-help-echo): New functions.
2477 (mode-line-mule-info, mode-line-modified): Use them.
2478 (mode-line-eol-desc, propertized-buffer-identification):
2479 Consistency fixes for help text.
2480 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2481 set-buffer-file-coding-system (Bug#289).
2482 (mode-line-mule-info-help-echo): Update help text.
2483
2484 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * simple.el (execute-extended-command): Set real-this-command
2487 (bug#11506).
2488
2489 2012-06-02 Chong Yidong <cyd@gnu.org>
2490
2491 Remove incorrect uses of "modeline" in comments, docstrings, and
2492 function/variable names (Bug#10329).
2493
2494 * cus-edit.el (mode-line):
2495 * dframe.el (dframe-mouse-hscroll):
2496 * emacs-lisp/re-builder.el:
2497 * emacs-lisp/easy-mmode.el (define-minor-mode):
2498 * frame.el (set-frame-name):
2499 * help.el (lookup-minor-mode-from-indicator):
2500 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2501 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2502 (c-toggle-hungry-state):
2503 * progmodes/antlr-mode.el (antlr-language-alist):
2504 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2505 * progmodes/vhdl-mode.el (vhdl-mode):
2506 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2507 * term/ns-win.el (ns-face-at-pos):
2508 * term/sup-mouse.el (sup-mouse-report):
2509 * textmodes/flyspell.el (flyspell-mode-line-string):
2510 * textmodes/ispell.el (ispell-highlight-face):
2511 * textmodes/reftex-global.el:
2512 * vc/vc-arch.el (vc-arch-mode-line-string):
2513 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2514 * vc/vc-git.el (vc-git-mode-line-string):
2515 * vc/vc-hooks.el (vc-display-status)
2516 (vc-default-mode-line-string):
2517 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2518
2519 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2520
2521 * dired.el (dired-sort-set-mode-line): Rename from
2522 dired-sort-set-modeline. All callers changed.
2523
2524 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2525 eshell-status-in-modeline.
2526
2527 * foldout.el (foldout-mode-line-string): Rename from
2528 foldout-modeline-string. All callers changed.
2529 (foldout-update-mode-line): Rename from foldout-update-modeline.
2530
2531 * subr.el (redraw-modeline): Make into obsolete alias.
2532
2533 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2534 timeclock-modeline-display. Make old name an alias.
2535 (timeclock-update-mode-line): Likewise. All callers changed.
2536 (timeclock-mode-line-display): No need to check before using
2537 add-hook.
2538 (timeclock-relative, timeclock-day-over-hook)
2539 (timeclock-use-elapsed, timeclock-mode-string)
2540 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2541
2542 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2543 crisp-mode-modeline-string.
2544
2545 * play/solitaire.el (solitaire-build-mode-line): Rename from
2546 solitaire-build-modeline. All callers changed.
2547
2548 * play/zone.el (zone-hiding-mode-line): Rename from
2549 zone-hiding-modeline. All callers changed.
2550 (zone): Remove unusued `modeline-hidden-level' property.
2551
2552 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2553 xscheme-modeline-initialize. All callers changed.
2554
2555 * strokes.el (strokes-lighter): Rename from
2556 strokes-modeline-string.
2557
2558 * textmodes/sgml-mode.el (html-face-tag-alist)
2559 (html-tag-face-alist): Use mode-line face instead of obsolete
2560 alias modeline.
2561
2562 2012-06-02 Stefan Merten <smerten@oekonux.de>
2563
2564 * textmodes/rst.el: Always require `cl'.
2565 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2566
2567 2012-06-02 Chong Yidong <cyd@gnu.org>
2568
2569 * image.el (imagemagick-enabled-types): Rename from
2570 imagemagick-types-enable. Add many more types.
2571 (imagemagick-types-inhibit): Change default to nil.
2572 (imagemagick-filter-types): Caller changed.
2573
2574 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * emacs-lisp/cl-macs.el: Use backquotes.
2577 (cl-transform-function-property): Use eval-and-compile rather than
2578 abusing `require'.
2579 (defstruct): Use declare-function instead of with-no-warnings.
2580
2581 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2582 (byte-compile-output-docform): Re-add the print-circle bindings.
2583 (byte-compile-fix-header): Use #$ just because it's shorter.
2584 (byte-compile-output-file-form): Remove defun/defmacro.
2585
2586 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2587
2588 * simple.el (choose-completion): Remove now obsolete binding for
2589 owindow.
2590
2591 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2592
2593 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2594 in order to avoid "Stack overflow in regexp matcher".
2595
2596 2012-05-31 Glenn Morris <rgm@gnu.org>
2597
2598 * image.el: For clarity, call imagemagick-register-types at
2599 top-level, rather than relying on a custom :initialize.
2600 (imagemagick-types-enable): New option. (Bug#11557)
2601 (imagemagick-filter-types): New function. (Bug#7406)
2602 (imagemagick-register-types): Use imagemagick-filter-types.
2603 If disabling support, remove elements altogether rather
2604 than using an impossible regexp.
2605 (imagemagick-types-inhibit): Give it the default init function.
2606
2607 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2610 Handle arbitrary file name lengths (Bug#11585).
2611
2612 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2613
2614 * desktop.el (desktop-read): Clear previous and next buffers for
2615 all windows and bury *Messages* buffer (bug#11556).
2616
2617 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 Add `declare' for `defun'. Align `defmacro's with it.
2620 * emacs-lisp/easy-mmode.el (define-minor-mode)
2621 (define-globalized-minor-mode): Don't autoload the var definitions.
2622 * emacs-lisp/byte-run.el: Use lexical-binding.
2623 (defun-declarations-alist, macro-declarations-alist): New vars.
2624 (defmacro, defun): Use them.
2625 (make-obsolete, define-obsolete-function-alias)
2626 (make-obsolete-variable, define-obsolete-variable-alias):
2627 Use `declare'.
2628 (macro-declaration-function): Mark obsolete.
2629 * emacs-lisp/autoload.el: Use lexical-binding.
2630 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2631
2632 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2633
2634 * textmodes/ispell.el (ispell-with-no-warnings):
2635 Define as a macro.
2636 (ispell-kill-ispell, ispell-change-dictionary):
2637 Use `called-interactively-p' for Emacs instead of obsolete
2638 `interactive-p'.
2639
2640 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2641
2642 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2643 (macro-declaration-function): Move var from C code.
2644 (macro-declaration-function): Define function with defalias.
2645 * emacs-lisp/macroexp.el (macroexpand-all-1):
2646 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2647 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2648 defun/defmacro any more.
2649 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2650 Provide fallback for unknown arglist.
2651 (byte-compile-arglist-warn): Change calling convention.
2652 (byte-compile-output-file-form): Move print-vars binding.
2653 (byte-compile-output-docform): Simplify accordingly.
2654 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2655 (byte-compile-defmacro-declaration): Remove.
2656 (byte-compile-file-form-defmumble): Generalize to defalias.
2657 (byte-compile-output-as-comment): Return byte-positions.
2658 Simplify callers accordingly.
2659 (byte-compile-lambda): Use `assert'.
2660 (byte-compile-defun, byte-compile-defmacro): Remove.
2661 (byte-compile-file-form-defalias):
2662 Use byte-compile-file-form-defmumble.
2663 (byte-compile-defalias-warn): Remove.
2664
2665 2012-05-29 Stefan Merten <smerten@oekonux.de>
2666
2667 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2668 possible. Fix authors. Improve comments. Improve loading of `cl'.
2669
2670 (rst-mode-abbrev-table): Merge definition.
2671 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2672 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2673
2674 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2675
2676 * calendar/icalendar.el
2677 (icalendar-export-region): Export UID properly.
2678
2679 2012-05-29 Leo Liu <sdl.web@gmail.com>
2680 * calendar/icalendar.el (icalendar-import-format):
2681 Add `icalendar-import-format-uid' (Bug#11525).
2682 (icalendar-import-format-uid): New.
2683 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2684 Export UID.
2685
2686 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2687
2688 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2689 different alternative patterns.
2690 (pcase-codegen): Be more careful to preserve identity.
2691 (pcase--u1): Don't forget to mark vars as used.
2692
2693 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2694 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2695 (byte-compile-from-buffer): ...rather than here.
2696
2697 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2698 functions from byte-compile-function-environment.
2699
2700 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2701
2702 * window.el (window-deletable-p): Avoid deleting the root window
2703 of a frame with an active minibuffer.
2704
2705 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2706
2707 * simple.el (choose-completion): Use quit-window (Bug#11567).
2708
2709 2012-05-29 Chong Yidong <cyd@gnu.org>
2710
2711 * whitespace.el (whitespace-cleanup): Fix usage of
2712 whitespace-empty-at-bob-regexp (Bug#11492).
2713
2714 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2715
2716 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2717 revert (Bug#11488).
2718
2719 2012-05-29 Juri Linkov <juri@jurta.org>
2720
2721 * isearch.el (isearch-mode-map): Bind `M-s _' to
2722 `isearch-toggle-symbol'. Bind `M-s c' to
2723 `isearch-toggle-case-fold'.
2724 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2725 (isearch-forward): Add `M-s _' to the docstring.
2726 (isearch-forward-symbol, isearch-toggle-case-fold)
2727 (isearch-symbol-regexp): New functions. (Bug#11381)
2728
2729 2012-05-29 Juri Linkov <juri@jurta.org>
2730
2731 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2732 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2733 a function, call it to get the regexp.
2734 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2735 property `isearch-message-prefix' instead of the string "word ".
2736 (isearch-search-fun-default): For the case of `isearch-word',
2737 return a lambda that calls re-search-forward/re-search-backward
2738 with a regexp returned by `word-search-regexp' or by the function
2739 in `isearch-word'.
2740
2741 2012-05-29 Juri Linkov <juri@jurta.org>
2742
2743 * isearch.el (isearch-search-fun-default): New function.
2744 (isearch-search-fun): Move default part to the new function
2745 `isearch-search-fun-default'.
2746 (isearch-search-fun-function): Set the default value to
2747 `isearch-search-fun-default'. (Bug#11381)
2748
2749 * comint.el (comint-history-isearch-end):
2750 Use `isearch-search-fun-default'.
2751 (comint-history-isearch-search): Use `isearch-search-fun-default'
2752 and remove spacial case for `isearch-word'.
2753 (comint-history-isearch-wrap): Remove spacial case for
2754 `isearch-word'.
2755
2756 * hexl.el (hexl-isearch-search-function):
2757 Use `isearch-search-fun-default'.
2758
2759 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2760 Use `word-search-regexp' for `isearch-word'.
2761
2762 * misearch.el (multi-isearch-search-fun):
2763 Use `isearch-search-fun-default'.
2764
2765 * simple.el (minibuffer-history-isearch-search):
2766 Use `isearch-search-fun-default' and remove spacial case for
2767 `isearch-word'.
2768 (minibuffer-history-isearch-wrap): Remove spacial case for
2769 `isearch-word'.
2770
2771 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2772 Remove spacial case for `isearch-word'.
2773 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2774
2775 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2776
2777 Decrease XEmacs incompatibilities.
2778 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2779 Use `string-match'.
2780 (flyspell-delete-region-overlays): Use alternative definition for
2781 XEmacs.
2782 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2783 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2784 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2785 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2786 `define-obsolete-face-alias' under XEmacs, but old method.
2787
2788 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2789 `with-no-warnings' definition or Emacs alias.
2790 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2791 (ispell-word): Do not use `region-p' if XEmacs.
2792
2793 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2794
2795 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2796 Check for `ispell-dictionary-base-alist' instead of full
2797 `ispell-dictionary-alist'.
2798 (ispell-init-process): Show spellchecker when starting new Ispell
2799 process.
2800
2801 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2802
2803 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2804 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2805
2806 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2807
2808 * version.el (motif-version-string, gtk-version-string)
2809 (ns-version-string): Declare.
2810
2811 2012-05-27 Juri Linkov <juri@jurta.org>
2812
2813 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2814 after the `eval-defun-1' specialcaseing
2815 like in `edebug-eval-defun' (bug#10181).
2816
2817 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2818 like in `eval-defun-1'.
2819
2820 2012-05-27 Eli Zaretskii <eliz@gnu.org>
2821
2822 * mail/sendmail.el (mail-yank-region):
2823 Recognize rmail-yank-current-message in addition to insert-buffer.
2824 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2825 a *mail* buffer created through rmail-start-mail with sendmail as
2826 mail-user-agent.
2827
2828 2012-05-27 Chong Yidong <cyd@gnu.org>
2829
2830 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2831 Default to 256 (Bug#11267).
2832
2833 * help.el (describe-mode): Doc fix.
2834
2835 2012-05-26 Glenn Morris <rgm@gnu.org>
2836
2837 * w32-fns.el (w32-init-info): Remove.
2838 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2839
2840 * info.el (info-initialize): For self-contained NS builds, put the
2841 included info/ directory at the front. (Bug#2791)
2842
2843 * paths.el (Info-default-directory-list): Make it a defcustom,
2844 mainly so that we can use custom-initialize-delay.
2845
2846 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * subr.el (buffer-has-markers-at): Mark obsolete.
2849
2850 * subr.el (lambda): Use declare.
2851
2852 * emacs-lisp/lisp-mode.el (lambda):
2853 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2854
2855 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2856
2857 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2858
2859 2012-05-26 Glenn Morris <rgm@gnu.org>
2860
2861 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2862
2863 2012-05-25 Glenn Morris <rgm@gnu.org>
2864
2865 * paths.el: Remove no-byte-compile.
2866 * loadup.el: No need to load paths.el uncompiled.
2867
2868 * image.el (imagemagick-types-inhibit): Doc fix.
2869
2870 * version.el: Remove no-byte-compile and associated formatting.
2871 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2872 is ancient code from when there was an "inc-vers.el".
2873
2874 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * progmodes/gdb-mi.el: Minor style changes.
2877 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2878 Turn into minor modes.
2879 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2880 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2881 (gdb-shell): Remove unneeded let-binding.
2882 (gdb-get-many-fields): Eliminate O(n²) behavior.
2883
2884 2012-05-25 Eli Zaretskii <eliz@gnu.org>
2885
2886 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2887 platforms that don't link in fontset.c.
2888
2889 2012-05-25 Juri Linkov <juri@jurta.org>
2890
2891 Use the same diff color scheme as in modern VCSes (bug#10181).
2892
2893 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2894 to avoid confusion with `diff-added' that now uses green colors.
2895 (diff-removed): Use shades of red.
2896 (diff-added): Use shades of green.
2897 (diff-changed): Leave just the yellow color.
2898 (diff-use-changed-face): New variable.
2899 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2900 how to highlight context diff changes.
2901 (diff-refine-change): Use shades of yellow.
2902 (diff-refine-removed): New face that uses shades of red.
2903 (diff-refine-added): New face that uses shades of green.
2904 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2905 `diff-refine-removed' in the call to `smerge-refine-subst'
2906 depending on the value of `diff-use-changed-face'.
2907
2908 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2909 (smerge-other): Use shades of green.
2910 (smerge-base): Use shades of yellow.
2911 (smerge-refined-change): Empty face.
2912 (smerge-refined-removed): New face that uses shades of red.
2913 (smerge-refined-added): New face that uses shades of green.
2914 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2915 args `props-r' and `props-a', and use them. Doc fix.
2916 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2917 on its value use different faces `smerge-refined-change',
2918 `smerge-refined-removed', `smerge-refined-added' in the call to
2919 `smerge-refine-subst'.
2920
2921 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2922 Add face condition `min-colors 88' with shades of red.
2923 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2924 `min-colors 88' with shades of green.
2925 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2926 `min-colors 88' with shades of yellow.
2927
2928 2012-05-24 Glenn Morris <rgm@gnu.org>
2929
2930 * paths.el (prune-directory-list, remote-shell-program): Move to...
2931 * files.el (prune-directory-list, remote-shell-program): ...here.
2932 For the latter, delay initialization, prefer ssh, just search PATH.
2933
2934 * paths.el (term-file-prefix): Move to faces.el (the only user).
2935 * faces.el (term-file-prefix): Move here, make it a defcustom.
2936
2937 * paths.el (news-directory, news-path, news-inews-program):
2938 Move to gnus/nnspool.el.
2939
2940 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2941
2942 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2943 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2944 Make the latter a defcustom, with a delayed initialization.
2945
2946 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2947 These were deleted from Gnus itself late 2010.
2948
2949 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2950
2951 * progmodes/which-func.el (which-func-ff-hook):
2952 Check against user-error, not error.
2953
2954 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2955 cl-specs.el, which no longer exists.
2956
2957 2012-05-22 Glenn Morris <rgm@gnu.org>
2958
2959 * info.el (info-emacs-bug): New command.
2960 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2961 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2962
2963 2012-05-21 Glenn Morris <rgm@gnu.org>
2964
2965 * makefile.w32-in (update-subdirs-SH):
2966 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2967
2968 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2971
2972 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2973 Simplify Maven regexp, and make sure the file can't start with a space
2974 (bug#11517).
2975
2976 2012-05-21 Glenn Morris <rgm@gnu.org>
2977
2978 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2979 Scrap superfluous subshells.
2980
2981 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2984 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2985
2986 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2987
2988 * calc/calc.el (calc-ensure-consistent-units): New variable.
2989
2990 * calc/calc-units.el (math-consistent-units-p)
2991 (math-check-unit-consistency): New functions.
2992 (calc-quick-units, calc-convert-units):
2993 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2994 is non-nil.
2995 (calc-extract-units): Fix typo.
2996
2997 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2998
2999 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3000
3001 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3002 (flyspell-default-deplacement-commands): Don't spell check after
3003 repeated window/frame switches (e.g. triggered by mouse-movement).
3004 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3005 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3006 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3007 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3008 Remove unused vars.
3009 (flyspell-get-casechars, flyspell-get-not-casechars):
3010 Simplify; Don't bother removing a ] just to add it back.
3011 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3012
3013 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3014
3015 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3016 New functions.
3017 (math-function-table): Add support for more C functions.
3018
3019 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3020
3021 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3022 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3023 Protect delay handling for otherchars against empty otherchars.
3024
3025 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3026
3027 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3028 their respective macro declarations.
3029 * skeleton.el (define-skeleton):
3030 * progmodes/compile.el (define-compilation-mode):
3031 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3032 (define-ibuffer-filter):
3033 * emacs-lisp/generic.el (define-generic-mode):
3034 * emacs-lisp/easy-mmode.el (define-minor-mode)
3035 (define-globalized-minor-mode):
3036 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3037 * emacs-lisp/byte-run.el (defsubst):
3038 * custom.el (deftheme): Add doc-string metadata.
3039
3040 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3043
3044 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3047
3048 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3049 * emacs-lisp/cl-macs.el: Idem.
3050 * emacs-lisp/cl-specs.el: Remove.
3051
3052 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 Minor renaming of internal CL functions and variables.
3055 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3056 (cl--position): Rename from cl-position.
3057 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3058 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3059 (cl--random-state): Rename from *random-state*.
3060
3061 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3064 parens around the arg list (bug#11499).
3065
3066 2012-05-17 Juri Linkov <juri@jurta.org>
3067
3068 * isearch.el (word-search-regexp, word-search-backward)
3069 (word-search-forward, word-search-backward-lax)
3070 (word-search-forward-lax): Move functions from search.c
3071 (bug#10145, bug#11381).
3072
3073 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3074
3075 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3076 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3077 Delay for otherchars as for normal word components.
3078
3079 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * minibuffer.el (completion--sifn-requote): Fix last change.
3082 (minibuffer-local-must-match-filename-map):
3083 Move define-obsolete-variable-alias before its var.
3084
3085 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3088
3089 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3090 behavior.
3091 (completion--string-equal-p): New function.
3092 (completion--twq-all): Use it to get better assertion failure data.
3093
3094 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3095 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3096 (shell--requote-argument): New functions.
3097 (shell-completion-vars): Use them.
3098 (shell--parse-pcomplete-arguments): Rename from
3099 shell-parse-pcomplete-arguments.
3100 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3101 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3102 Obey comint-file-name-quote-list.
3103
3104 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3105 (smie-indent-keyword): Use it.
3106
3107 2012-05-14 Stefan Merten <smerten@oekonux.de>
3108
3109 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3110
3111 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * net/rlogin.el (rlogin-mode-map): Fix last change.
3114
3115 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3116
3117 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3118 the following \r\n using a single `process-send-string', since the
3119 Lotus SMTP server refuses to accept any commands if they are sent
3120 with two `process-send-string's (Bug#11444).
3121
3122 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * shell.el (shell-parse-pcomplete-arguments):
3125 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3126
3127 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3128
3129 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3130 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3131 (image-transform-width, image-transform-fit-width): New functions.
3132 (image-transform-properties): Use them.
3133 (image-transform-check-size): New function.
3134 (image-toggle-display-image): Use it (for testing).
3135 (image-transform-set-rotation): Reduce angle mod 360.
3136 Delete obsolete comment.
3137
3138 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3139
3140 * image-mode.el: Fix scaling (bug#11399).
3141 (image-transform-resize): Doc fix.
3142 (image-transform-properties): Default scale is 1 and height should
3143 be an integer.
3144
3145 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3146
3147 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3148 than hard-coding `car', to fix misbehavior when moving forward.
3149
3150 2012-05-13 Chong Yidong <cyd@gnu.org>
3151
3152 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3153 (tabulated-list-entries, tabulated-list-padding)
3154 (tabulated-list-sort-key): Make permanent-local.
3155
3156 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3157 (electric-buffer-list): Put electric buffer menu
3158 command descriptions in this docstring, instead of the docstring
3159 of electric-buffer-menu-mode. Code cleanups.
3160 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3161 Electric-buffer-menu-mode.
3162 (electric-buffer-update-highlight): Minor code cleanup.
3163
3164 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3165
3166 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3167 (Bug#11447)
3168
3169 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 Move define-obsolete-variable-alias before the var's definition.
3172 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3173 * tooltip.el (tooltip-hook):
3174 * textmodes/reftex-toc.el (reftex-toc-map):
3175 * textmodes/reftex-sel.el (reftex-select-label-map)
3176 (reftex-select-bib-map):
3177 * textmodes/reftex-index.el (reftex-index-map)
3178 (reftex-index-phrases-map):
3179 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3180 * progmodes/meta-mode.el (meta-mode-map):
3181 * novice.el (disabled-command-hook):
3182 * loadhist.el (unload-hook-features-list):
3183 * frame.el (blink-cursor):
3184 * files.el (find-file-not-found-hooks, write-file-hooks)
3185 (write-contents-hooks):
3186 * emulation/tpu-edt.el (GOLD-map):
3187 * emacs-lock.el (emacs-lock-from-exiting):
3188 * emacs-lisp/generic.el (generic-font-lock-defaults):
3189 * emacs-lisp/chart.el (chart-map):
3190 * dos-fns.el (register-name-alist):
3191 * dired-x.el (dired-omit-files-p):
3192 * desktop.el (desktop-enable):
3193 * cus-edit.el (custom-mode-hook):
3194 * buff-menu.el (buffer-menu-mode-hook):
3195 * bookmark.el (bookmark-read-annotation-text-func)
3196 (bookmark-exit-hooks):
3197 * allout.el (allout-mode-deactivate-hook)
3198 (allout-exposure-change-hook, allout-structure-added-hook)
3199 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3200 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3201 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3202 comes before the corresponding variable's definition.
3203
3204 2012-05-12 Chong Yidong <cyd@gnu.org>
3205
3206 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3207 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3208 (Buffer-menu-mode-map): Bind it.
3209 (Buffer-menu--pretty-name): Add a mouse-face property.
3210
3211 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3212
3213 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3214 (prolog-upper-case-string, prolog-lower-case-string)
3215 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3216 (prolog-use-smie, prolog-smie-grammar): New vars.
3217 (prolog-smie-forward-token, prolog-smie-backward-token)
3218 (prolog-smie-rules): New funs.
3219 (prolog-comment-indent): Remove.
3220 (prolog-mode-variables): Use default comment indentation instead.
3221 Setup SMIE.
3222 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3223 (prolog-mode): Don't call them any more.
3224 (prolog-electric-colon, prolog-electric-dash)
3225 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3226
3227 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3228
3229 * minibuffer.el (completion--twq-all): Again, allow case differences.
3230
3231 * term.el: Move keymap initialization code to be more idiomatic.
3232 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3233 (term-terminal-menu): Move initialization into declaration.
3234 (term-escape-char): Let the user set it in her .emacs.
3235
3236 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3237 Provide SMIE-based indentation (not enabled by default yet).
3238 (sh-mode-map): Don't bind electric keys.
3239 Use electric-pair-mode instead of skeleton-pair.
3240 (sh-assignment-regexp): Fit within 80 columns.
3241 (sh-indent-supported): Specify actual shell name instead of boolean.
3242 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3243 (sh-maybe-here-document): Use it. Make obsolete.
3244 (sh-electric-here-document-mode) New minor mode.
3245 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3246 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3247 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3248 (sh-smie-rc-grammar, sh-use-smie): New vars.
3249 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3250 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3251 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3252 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3253 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3254 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3255 (sh-set-shell): Use smie-setup if requested.
3256
3257 * term.el (term-set-escape-char): Properly set term-escape-char.
3258 See http://stackoverflow.com/questions/10524656.
3259
3260 2012-05-10 Chong Yidong <cyd@gnu.org>
3261
3262 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3263 Use url-generic-parse-url, and handle host names and Windows
3264 filenames properly.
3265 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3266 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3267 URL schemes to work on.
3268 (ffap--toggle-read-only): New function.
3269 (ffap-read-only, ffap-read-only-other-window)
3270 (ffap-read-only-other-frame): Use it.
3271 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3272 necessary for ffap-url-unwrap-remote.
3273
3274 2012-05-10 Dave Abrahams <dave@boostpro.com>
3275
3276 * cus-start.el (create-lockfiles): Add it.
3277
3278 2012-05-09 Chong Yidong <cyd@gnu.org>
3279
3280 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3281 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3282
3283 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3286
3287 2012-05-09 Chong Yidong <cyd@gnu.org>
3288
3289 * ansi-color.el (ansi-color-process-output): Check for validity of
3290 comint-last-output-start before using it. This avoids a bad
3291 interaction with gdb-mi's input/output buffer.
3292
3293 2012-05-09 Glenn Morris <rgm@gnu.org>
3294
3295 * files.el (dir-locals-read-from-file):
3296 Mention dir-locals in any error message.
3297
3298 2012-05-09 Chong Yidong <cyd@gnu.org>
3299
3300 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3301 package (Bug#11410).
3302
3303 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3304 variables into description.
3305
3306 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3307
3308 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3309 shell-delimiter-argument-list (bug#11348).
3310 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3311
3312 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3313
3314 * textmodes/rst.el: Silence byte-compiler warnings.
3315 (rst-re-alist, rst-reset-section-caches): Move around.
3316 (rst-re): Use `characterp', not `char-valid-p'.
3317 (font-lock-beg, font-lock-end): Declare.
3318
3319 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3320 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3321
3322 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3323
3324 2012-05-08 Glenn Morris <rgm@gnu.org>
3325
3326 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3327
3328 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * vc/log-edit.el: Add GNU coding standards highlighting.
3331 (log-edit-font-lock-gnu-style)
3332 (log-edit-font-lock-gnu-keywords): New vars.
3333 (log-edit-font-lock-keywords): New fun.
3334 (log-edit-mode): Don't fold case in font-lock.
3335 (log-edit-font-lock-keywords): Do not assume case-folding.
3336
3337 * imenu.el: Misc cleanup. Make docstrings out of comments.
3338 Use lexical-binding.
3339 (imenu--index-alist, imenu--last-menubar-index-alist)
3340 (imenu-menubar-modified-tick): Use defvar-local.
3341 (imenu--split-menu): Remove unused var.
3342 (imenu--cleanup-seen): Declare as global.
3343 (imenu--cleanup): Use dolist.
3344
3345 * subr.el (defvar-local): Add debug spec and doc-string position.
3346
3347 2012-05-08 Glenn Morris <rgm@gnu.org>
3348
3349 * language/burmese.el, language/cham.el, language/czech.el:
3350 * language/english.el, language/georgian.el, language/greek.el:
3351 * language/japanese.el, language/khmer.el, language/korean.el:
3352 * language/lao.el, language/misc-lang.el, language/romanian.el:
3353 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3354 * language/thai.el, language/utf-8-lang.el:
3355 Remove no-byte-compile setting.
3356
3357 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3358
3359 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3360
3361 * progmodes/make-mode.el (makefile-browse):
3362 Remove unnecessary interactive. (Bug#11324)
3363
3364 2012-05-07 Glenn Morris <rgm@gnu.org>
3365
3366 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3367
3368 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3369
3370 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 * loadup.el: Preload newcomment.el.
3373 * newcomment.el: Move autoload-only code to toplevel.
3374
3375 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3376 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3377 Handle new :right-align column property.
3378 (tabulated-list-print-col): Idem, plus use `display' text-property to
3379 try and preserve alignment for variable pitch fonts.
3380
3381 2012-05-07 Chong Yidong <cyd@gnu.org>
3382
3383 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3384 (tabulated-list-use-header-line): New var.
3385 (tabulated-list-init-header): Use it.
3386 (tabulated-list-print-fake-header): New function.
3387 (tabulated-list-print): Use it.
3388 (tabulated-list-sort-button-map): Add non-header-line commands.
3389 (tabulated-list-init-header): Add column name property to basic
3390 labels as well.
3391 (tabulated-list-col-sort): Handle non-header-line button case.
3392 (tabulated-list--sort-by-column-name): Fix a corner case.
3393
3394 * buff-menu.el (list-buffers--refresh):
3395 Handle Buffer-menu-use-header-line.
3396
3397 2012-05-06 Chong Yidong <cyd@gnu.org>
3398
3399 * buff-menu.el: Convert to Tabulated List mode.
3400 (Buffer-menu-buffer+size-width): Make obsolete.
3401 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3402 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3403 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3404 documentation into docstring of buffer-menu.
3405 (Buffer-menu-toggle-files-only): Add an informative message.
3406 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3407 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3408 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3409 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3410 (Buffer-menu-execute, Buffer-menu-select)
3411 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3412 (Buffer-menu-bury): Use Tabulated List machinery.
3413 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3414 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3415 Delete.
3416 (list-buffers--refresh): New function.
3417 (list-buffers-noselect): Use it.
3418 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3419 (Buffer-menu--pretty-file-name): New helper functions.
3420
3421 * loadup.el: Preload tabulated-list.
3422
3423 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3424 tabulated-list-sort-column.
3425 (tabulated-list-init-header): Add the initial aligning space even
3426 if tabulated-list-padding is zero.
3427
3428 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3429
3430 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3431 whose cdr is not a cons cell correctly (bug#11038).
3432
3433 2012-05-06 Chong Yidong <cyd@gnu.org>
3434
3435 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3436 Accept additional plist in column descriptors.
3437 (tabulated-list-init-header): Obey it.
3438 (tabulated-list-get-entry): New function.
3439 (tabulated-list-put-tag): Use it. Use string-width instead of
3440 length.
3441 (tabulated-list--column-number): New function.
3442 (tabulated-list-print): Use it.
3443 (tabulated-list-print-col): New function.
3444 Set `tabulated-list-column-name' property on each column's text.
3445 (tabulated-list-print-entry): Use it.
3446 (tabulated-list-delete-entry, tabulated-list-set-col):
3447 New functions.
3448 (tabulated-list-sort-column): New command (Bug#11337).
3449
3450 * buff-menu.el (list-buffers): Move C-x C-b binding from
3451 buff-menu.el to bindings.el.
3452
3453 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3454 :advertised-binding feature.
3455
3456 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3457
3458 * progmodes/compile.el (compilation-internal-error-properties):
3459 Calculate start position correctly when end-col is set but
3460 end-line is not (Bug#11382).
3461
3462 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3463
3464 * man.el (Man-unindent): Use text-property-default-nonsticky to
3465 prevent untabify from inheriting face properties (Bug#11408).
3466
3467 2012-05-05 Stefan Merten <smerten@oekonux.de>
3468
3469 * textmodes/rst.el: Major merge with upstream development up to
3470 Docutils SVN r7399 / rst.el V1.2.1.
3471
3472 Clarify maintainership and authors.
3473
3474 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3475 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3476 (rst-official-version, rst-official-cvs-rev, rst-version)
3477 (rst-package-emacs-version-alist): New functions and variables
3478 for version information.
3479
3480 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3481 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3482 (rst-mode-syntax-table, rst-mode): New and corrected functions
3483 and variables representing reStructuredText features.
3484
3485 (rst-re): New function for reStructuredText regexes. Use in
3486 many places.
3487
3488 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3489 (rst-mode-map): Rebind keys.
3490
3491 (rst-mode-lazy, rst-font-lock-keywords)
3492 (rst-font-lock-extend-region)
3493 (rst-font-lock-extend-region-internal)
3494 (rst-font-lock-extend-region-extend)
3495 (rst-font-lock-find-unindented-line-limit)
3496 (rst-font-lock-find-unindented-line-match)
3497 (rst-adornment-level, rst-font-lock-adornment-level)
3498 (rst-font-lock-adornment-match)
3499 (rst-font-lock-handle-adornment-pre-match-form)
3500 (rst-font-lock-handle-adornment-matcher): Major revision of
3501 font-locking. Integrate with other code. Use `jit-lock-mode'.
3502
3503 (rst-preferred-adornments, rst-adjust-hook)
3504 (rst-new-adornment-down, rst-preferred-bullets)
3505 (rst-preferred-bullets, rst-indent, rst-indent-width)
3506 (rst-indent-field, rst-indent-literal-normal)
3507 (rst-indent-literal-minimized, rst-indent-comment): Change,
3508 extend and improve customization.
3509
3510 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3511 (rst-normalize-cursor-position, rst-get-decoration)
3512 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3513 (rst-rstrip, rst-toc-insert-find-delete-contents)
3514 (rst-shift-fill-region, rst-compute-bullet-tabs)
3515 (rst-debug-print-tabs, rst-debug-mark-found)
3516 (rst-shift-region-guts, rst-shift-region-right)
3517 (rst-shift-region-left, rst-use-char-classes)
3518 (rst-font-lock-keywords-function)
3519 (rst-font-lock-indentation-point)
3520 (rst-font-lock-find-unindented-line-begin)
3521 (rst-font-lock-find-unindented-line-end)
3522 (rst-font-lock-find-unindented-line)
3523 (rst-font-lock-adornment-point, rst-font-lock-level)
3524 (rst-adornment-level-alist): Remove functions and variables.
3525
3526 (rst-compare-adornments, rst-get-adornment-match)
3527 (rst-suggest-new-adornment, rst-get-adornments-around)
3528 (rst-adornment-complete-p, rst-get-next-adornment)
3529 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3530 (rst-straighten-adornments): Standardize function names to
3531 use "adornment" instead of "decoration". Correct callers.
3532 Similar standardizing in many places.
3533
3534 (rst-update-section, rst-adjust, rst-promote-region)
3535 (rst-enumerate-region, rst-bullet-list-region)
3536 (rst-repeat-last-character): Correct use of `interactive'.
3537
3538 (rst-classify-adornment, rst-find-all-adornments)
3539 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3540 (rst-find-leftmost-column, rst-repeat-last-character):
3541 Refactor functions.
3542
3543 (rst-find-title-line, rst-reset-section-caches)
3544 (rst-get-adornments-around, rst-adjust-adornment-work)
3545 (rst-arabic-to-roman, rst-roman-to-arabic)
3546 (rst-insert-list-pos, rst-insert-list-new-item)
3547 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3548 New functions.
3549
3550 (rst-all-sections, rst-section-hierarchy)
3551 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3552 New variables.
3553
3554 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3555 configuration instead of only buffer. Change where necessary.
3556
3557 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3558 (rst-shift-region, rst-adaptive-fill): New functions for
3559 indentation and filling.
3560
3561 (rst-comment-line-break, rst-comment-indent)
3562 (rst-comment-insert-comment, rst-comment-region)
3563 (rst-uncomment-region): New functions for handling comments.
3564
3565 (rst-compile): Quote shell arguments.
3566
3567 (rst-compile-pdf-preview, rst-compile-slides-preview):
3568 Delete temporary files after use.
3569
3570 2012-05-05 Glenn Morris <rgm@gnu.org>
3571
3572 * calendar/cal-html.el: Optionally include holidays in the output.
3573 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3574 (cal-html-holidays): New option.
3575 (cal-html-css-default): Add holiday entry.
3576 (holiday-in-range): Autoload it.
3577 (cal-html-htmlify-entry): Add optional class argument.
3578 (cal-html-htmlify-list): Add optional holidays argument.
3579 (cal-html-insert-agenda-days): Include holidays in the output.
3580 (cal-html-one-month): Maybe include holidays.
3581
3582 * calendar/holidays.el (holiday-in-range):
3583 Move here from cal-tex-list-holidays.
3584 * calendar/cal-tex.el (cal-tex-list-holidays):
3585 Make it an obsolete alias for holiday-in-range. Update all callers.
3586
3587 2012-05-05 Chong Yidong <cyd@gnu.org>
3588
3589 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3590 Nextstep.
3591
3592 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3593
3594 * files.el (file-auto-mode-skip): New var.
3595 (set-auto-mode-1): Use it.
3596
3597 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3598
3599 * repeat.el: Use lexical-binding.
3600 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3601 (repeat-undo-count): Remove.
3602 (repeat):
3603 * progmodes/octave-mod.el (octave-abbrev-start):
3604 * progmodes/f90.el (f90-abbrev-start):
3605 * face-remap.el (text-scale-adjust):
3606 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3607
3608 * emacs-lisp/pcase.el (pcase--let*): New function.
3609 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3610 a bit more.
3611 (pcase--split-pred): Be more clever about ruling out overlap between
3612 a predicate and some constant pattern.
3613 (pcase--q1): Use `null' instead of (eq foo nil).
3614
3615 * subr.el (setq-local, defvar-local): New macros.
3616 (kbd): Redefine as an alias.
3617 (with-selected-window): Leave unrelated frames alone.
3618 (set-temporary-overlay-map): New function.
3619
3620 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * subr.el (user-error): New function.
3623 * window.el (switch-to-buffer):
3624 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3625 (smerge-match-conflict):
3626 * simple.el (previous-matching-history-element)
3627 (next-matching-history-element, goto-history-element, undo-more)
3628 (undo-start):
3629 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3630 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3631 (next-file, tags-loop-scan, list-tags, complete-tag):
3632 * progmodes/compile.el (compilation-loop):
3633 * mouse.el (mouse-minibuffer-check):
3634 * man.el (Man-bgproc-sentinel, Man-goto-page):
3635 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3636 (Info-history-forward, Info-follow-reference, Info-menu)
3637 (Info-extract-menu-item, Info-extract-menu-counting)
3638 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3639 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3640 (Info-next-reference, Info-prev-reference, Info-index)
3641 (Info-index-next, Info-follow-nearest-node)
3642 (Info-copy-current-node-name):
3643 * imenu.el (imenu--make-index-alist)
3644 (imenu-default-create-index-function, imenu-add-to-menubar):
3645 * files.el (basic-save-buffer, recover-file):
3646 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3647 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3648 (checkdoc-message-text, checkdoc-defun):
3649 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3650 * cus-edit.el (customize-changed-options, customize-rogue)
3651 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3652 (custom-variable-mark-to-reset-standard)
3653 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3654 (custom-file):
3655 * completion.el (check-completion-length):
3656 * comint.el (comint-search-arg)
3657 (comint-previous-matching-input-string-position)
3658 (comint-previous-matching-input)
3659 (comint-replace-by-expanded-history-before-point, comint-send-input)
3660 (comint-copy-old-input, comint-backward-matching-input)
3661 (comint-goto-process-mark, comint-set-process-mark):
3662 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3663 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3664
3665 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3666
3667 * dabbrev.el (dabbrev--ignore-case-p): New function.
3668 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3669 Use it.
3670
3671 * files.el (automount-dir-prefix): Mark as obsolete.
3672
3673 2012-05-04 Glenn Morris <rgm@gnu.org>
3674
3675 * patcomp.el, play/bruce.el: Move to obsolete/.
3676
3677 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3678
3679 Fix minor Y10k bugs.
3680 * arc-mode.el (archive-unixdate):
3681 * autoinsert.el (auto-insert-alist):
3682 * calc/calc-forms.el (math-this-year):
3683 * emacs-lisp/copyright.el (copyright-current-year)
3684 (copyright-update-year, copyright):
3685 * tar-mode.el (tar-clip-time-string):
3686 * time.el (display-time-update):
3687 Don't assume years have 4 digits.
3688
3689 2012-05-04 Chong Yidong <cyd@gnu.org>
3690
3691 * dos-w32.el (file-name-buffer-file-type-alist)
3692 (direct-print-region-use-command-dot-com):
3693 * ffap.el (ffap-menu-regexp):
3694 * find-file.el (ff-special-constructs):
3695 * follow.el (follow-debug):
3696 * forms.el (forms--debug):
3697 * iswitchb.el (iswitchb-all-frames):
3698 * ido.el (ido-all-frames):
3699 * emacs-lisp/timer.el (timer-max-repeats):
3700 * mail/feedmail.el (feedmail-mail-send-hook)
3701 (feedmail-mail-send-hook-queued):
3702 * mail/footnote.el (footnote-signature-separator):
3703 * mail/mailabbrev.el (mail-alias-separator-string)
3704 (mail-abbrev-mode-regexp):
3705 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3706 * progmodes/idlwave.el (idlwave-libinfo-file)
3707 (idlwave-default-completion-case-is-down)
3708 (idlwave-library-routines): Convert defvars to defcustoms.
3709
3710 * mail/rmail.el (rmail-decode-mime-charset):
3711 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3712 (idlwave-shell-fix-inserted-breaks)
3713 (idlwave-shell-activate-alt-keybindings)
3714 (idlwave-shell-use-breakpoint-glyph):
3715 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3716
3717 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3720
3721 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3722
3723 * progmodes/verilog-mode.el (font-lock-keywords):
3724 Fix mis-highligting auto. Reported by Craig Barner.
3725 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3726 defines from global name space. Reported by Dan Dever.
3727 (verilog-auto-reset, verilog-auto-reset-widths)
3728 (verilog-auto-tieoff): Support using unbased numbers for
3729 AUTORESET and AUTOTIEOFF.
3730 (verilog-submit-bug-report): Update variable list.
3731 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3732 parenthesis from not matching. Reported by Michael Rytting.
3733 (verilog-auto-template-lint): Fix hash error when linting modules
3734 with no used templates.
3735 (verilog-warn, verilog-warn-error)
3736 (verilog-warn-fatal): When non-interactive report multiple
3737 warnings before exiting. Suggested by Brad Dobbie.
3738 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3739 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3740 to report unused template errors. Reported by Brad Dobbie.
3741 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3742 nets, bug438. Reported by Vns Blore.
3743 (verilog-auto-inout-module, verilog-auto-reg)
3744 (verilog-read-decls, verilog-read-sub-decls-sig)
3745 (verilog-signals-edit-wire-reg, verilog-signals-with):
3746 Fix passing of Verilog data types in ANSI input/output ports
3747 such as "output logic" into the AUTOs. Special case "wire" and
3748 "reg" for backwards compatibility presuming Verilog 2001.
3749 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3750 (verilog-preprocess): Fix replication of preprocess output.
3751 Reported by Brad Dobbie.
3752 (verilog-auto-inst-interfaced-ports):
3753 Create verilog-auto-inst-interfaced-ports, bug429.
3754 Reported by Julian Gorfajn.
3755 (verilog-after-save-font-hook)
3756 (verilog-before-save-font-hook): New variable.
3757 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3758 (verilog-save-font-mods): Wrap disabling fontification, reported
3759 by David Rogoff.
3760 (verilog-do-indent, verilog-pretty-declarations-auto)
3761 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3762 Reported by Pierre-David Pfister.
3763 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3764 of class declarations, bug292. Reported by Kevin Heilman.
3765 (verilog-read-decls): Fix 'parameter type' not appearing in
3766 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3767 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3768 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3769 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3770 Reported by David Kravitz.
3771
3772 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3773
3774 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3775 assignment with tests in ifs and for loops.
3776 (verilog-extended-complete-re, verilog-complete-reg): Change so
3777 that DPI inport functions don't look like fuction declarations.
3778 (verilog-pretty-expr): Don't line up assignment
3779 operations to the test and increment in if and for loops
3780 (verilog-extended-complete-re, verilog-complete-reg): Change so
3781 that DPI inport functions don't look like fuction declarations.
3782
3783 2012-05-03 Kenichi Handa <handa@m17n.org>
3784
3785 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3786 decoding, and show a warning message without signaling an error
3787 (Bug#11282).
3788
3789 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * emacs-lisp/bytecomp.el
3792 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3793 since cconv.el might have introduced :fun-body, internal-make-closure,
3794 and friends for bytecomp to handle (bug#11391).
3795 * custom.el (defcustom): Avoid ((λ ..) ..).
3796
3797 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3800
3801 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3802
3803 * notifications.el (dbus-debug):
3804 * term/linux.el (gpm-mouse-enable):
3805 * term/screen.el (xterm-register-default-colors): Declare.
3806
3807 2012-05-02 Chong Yidong <cyd@gnu.org>
3808
3809 * cus-start.el (gc-cons-percentage, exec-suffixes)
3810 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3811 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3812 (make-cursor-line-fully-visible, void-text-area-pointer)
3813 (font-list-limit): Add customization data.
3814
3815 * allout.el (allout-exposure-change-functions)
3816 (allout-structure-added-functions)
3817 (allout-structure-deleted-functions)
3818 (allout-structure-shifted-functions): Rename abnormal hooks from
3819 *-hook, and convert to defcustoms.
3820 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3821 Convert to defcustoms.
3822 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3823
3824 * allout-widgets.el: Hook callers changed.
3825
3826 2012-05-02 Eli Zaretskii <eliz@gnu.org>
3827
3828 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3829 the yanked message in preference to the default value of
3830 buffer-file-coding-system.
3831
3832 2012-05-02 Martin Rudalics <rudalics@gmx.at>
3833
3834 * window.el (display-buffer--action-function-custom-type):
3835 Fix entry.
3836
3837 2012-05-02 Alan Mackenzie <acm@muc.de>
3838
3839 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3840
3841 2012-05-01 Glenn Morris <rgm@gnu.org>
3842
3843 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3844
3845 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3846
3847 * cus-edit.el (custom-variable-documentation): Simplify with format.
3848
3849 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3850 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * simple.el (suggest-key-bindings, execute-extended-command):
3853 Move from keyboard.c.
3854
3855 2012-05-01 Chong Yidong <cyd@gnu.org>
3856
3857 * follow.el: Eliminate advice.
3858 (set-process-filter, process-filter, sit-for): Advice deleted.
3859 (follow-mode-off-hook): Obsolete hook removed.
3860 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3861 Vars deleted.
3862 (follow-auto): Use a :set function.
3863 (follow-mode): Rewritten. Don't advise process filters.
3864 (follow-switch-to-current-buffer-all, follow-scroll-up)
3865 (follow-scroll-down): Assume follow-mode is bound.
3866 (follow-comint-scroll-to-bottom)
3867 (follow-align-compilation-windows): New functions.
3868 (follow--window-sorter): New function.
3869 (follow-all-followers): Use it to explicitly sort windows by their
3870 positions; don't make assumptions about next-window order.
3871 (follow-windows-start-end, follow-delete-other-windows-and-split)
3872 (follow-calc-win-start): Doc fix.
3873 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3874 vertical-motion unnecessarily.
3875 (follow-adjust-window): New function.
3876 (follow-post-command-hook): Use it.
3877 (follow-call-set-process-filter, follow-call-process-filter)
3878 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3879 (follow-stop-intercept-process-output, follow-generic-filter):
3880 Functions deleted.
3881 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3882 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3883 New functions, replacing advice on scroll-bar-* commands.
3884 (follow-mwheel-scroll): New function (Bug#4112).
3885
3886 * comint.el (comint-adjust-point): New function.
3887 (comint-postoutput-scroll-to-bottom): Use it.
3888 Call follow-comint-scroll-to-bottom for Follow mode buffers.
3889
3890 2012-05-01 Glenn Morris <rgm@gnu.org>
3891
3892 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3893 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3894 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3895 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3896 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3897 Remove no-byte-compile setting.
3898
3899 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3900
3901 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3902 all-completions code to not return a number in the last cdr.
3903
3904 2012-04-30 Leo Liu <sdl.web@gmail.com>
3905
3906 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3907 read-only error.
3908
3909 2012-04-29 Chong Yidong <cyd@gnu.org>
3910
3911 * follow.el (follow-calc-win-end): Rewrite to handle partial
3912 screen lines correctly (Bug#8390).
3913 (follow-avoid-tail-recenter): Minor cleanup.
3914
3915 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3916
3917 Avoid the obsolete `assoc' package.
3918 * speedbar.el (speedbar-refresh): Avoid adelete.
3919 (speedbar-file-lists): Simplify and avoid aput.
3920 * man.el (Man--sections, Man--refpages): New vars, replacing
3921 Man-sections-alist and Man-refpages-alist.
3922 (Man-build-section-alist, Man-build-references-alist):
3923 Use them; avoid aput.
3924 (Man--last-section, Man--last-refpage): New vars.
3925 (Man-follow-manual-reference): Use them.
3926 Use the `default' arg of completing-read.
3927 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3928
3929 2012-04-27 Chong Yidong <cyd@gnu.org>
3930
3931 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3932
3933 * startup.el (x-apply-session-resources): New function.
3934
3935 * term/ns-win.el (ns-initialize-window-system):
3936 * term/w32-win.el (w32-initialize-window-system):
3937 * term/x-win.el (x-initialize-window-system): Use it to properly
3938 set menu-bar-mode and other vars from X resources, even if the
3939 initial frame is not a window-system frame (Bug#2299).
3940
3941 * subr.el (read-key): Avoid running filter function when setting
3942 up temporary tool bar entries (Bug#9922).
3943
3944 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3945
3946 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3947 (Bug#11344)
3948
3949 2012-04-27 Chong Yidong <cyd@gnu.org>
3950
3951 * select.el (xselect--encode-string): New function, split from
3952 xselect-convert-to-string.
3953 (xselect-convert-to-string): Use it.
3954 (xselect-convert-to-filename, xselect-convert-to-os)
3955 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3956 returned strings are properly encoded (Bug#11315).
3957
3958 2012-04-27 Chong Yidong <cyd@gnu.org>
3959
3960 * simple.el (delete-active-region): Move to killing custom group.
3961
3962 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3963
3964 * progmodes/which-func.el (which-func-current): Quote %
3965 characters for mode-line processing.
3966
3967 2012-04-27 Chong Yidong <cyd@gnu.org>
3968
3969 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3970 reaching eob (Bug#11286).
3971
3972 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3973
3974 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3975 (gdb): Make it buffer-local and init to zero.
3976 (gdb-control-commands-regexp): New variable.
3977 (gdb-send): Don't wrap in "-interpreter-exec console" if
3978 gdb-control-level is positive. Increment gdb-control-level
3979 whenever the command matches gdb-control-commands-regexp, and
3980 decrement it each time the command is "end". (Bug#11279)
3981
3982 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3983
3984 * window.el (adjust-window-trailing-edge, enlarge-window)
3985 (shrink-window, window-resize):
3986 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3987 windows (Bug#11276).
3988
3989 2012-04-27 Chong Yidong <cyd@gnu.org>
3990
3991 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3992 fix "missing prefix" warning. All callers changed.
3993
3994 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * emacs-lisp/assoc.el: Move to obsolete/.
3997
3998 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3999
4000 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4001
4002 * term/ns-win.el (ns-define-service):
4003 * progmodes/pascal.el (pascal-goto-defun):
4004 * progmodes/js.el (js--read-tab):
4005 * progmodes/etags.el (tags-lazy-completion-table):
4006 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4007 * emacs-lisp/ewoc.el (ewoc--wrap):
4008 * emacs-lisp/assoc.el (aput, adelete, amake):
4009 * doc-view.el (doc-view-convert-current-doc):
4010 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4011
4012 2012-04-26 Chong Yidong <cyd@gnu.org>
4013
4014 * image.el (image-type-from-buffer): Only return supported image
4015 type (Bug#9045).
4016
4017 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4018 value, for symmetry with diff-end-of-hunk.
4019 (diff-split-hunk, diff-find-source-location)
4020 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4021 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4022 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4023 compute the relevant hunk or file properly (Bug#6005).
4024 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4025
4026 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * vc/vc-mtn.el:
4029 * vc/vc-hg.el:
4030 * vc/vc-git.el:
4031 * vc/vc-dir.el:
4032 * vc/vc-cvs.el:
4033 * vc/vc-bzr.el:
4034 * vc/vc-arch.el:
4035 * vc/vc.el: Replace lexical-let by lexical-binding.
4036 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4037 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4038 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4039
4040 2012-04-26 Chong Yidong <cyd@gnu.org>
4041
4042 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4043 (diff-mode-shared-map): Bind it to / and [remap undo].
4044
4045 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4046 (ediff-window-setup-function): Use it as the default, to set up
4047 windows based on whether the current frame is graphical (Bug#2138).
4048 (ediff-choose-window-setup-function-automatically): Make obsolete.
4049
4050 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4051
4052 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * ffap.el: Remove old code for obsolete package.
4055 (ffap-complete-as-file-p): Remove.
4056
4057 Use completion-table-with-quoting for comint and pcomplete.
4058 * comint.el (comint--unquote&requote-argument)
4059 (comint--unquote-argument, comint--requote-argument): New functions.
4060 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4061 (comint-quote-filename): Use regexp-opt-charset.
4062 (comint--common-suffix, comint--common-quoted-suffix)
4063 (comint--table-subvert): Remove.
4064 (comint-unquote-function, comint-requote-function): New vars.
4065 (comint--complete-file-name-data): Use them with
4066 completion-table-with-quoting.
4067 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4068 * pcomplete.el (pcomplete-arg-quote-list)
4069 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4070 (pcomplete-unquote-argument-function): Default to non-nil.
4071 (pcomplete-unquote-argument): Simplify.
4072 (pcomplete--common-quoted-suffix): Remove.
4073 (pcomplete-requote-argument-function): New var.
4074 (pcomplete--common-suffix): New function.
4075 (pcomplete-completions-at-point): Use completion-table-with-quoting
4076 and completion-table-subvert.
4077
4078 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4079 (minibuffer--double-dollars): Preserve properties.
4080 (completion--sifn-requote): New function.
4081 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4082
4083 * minibuffer.el: Add support for completion of quoted/escaped data.
4084 (completion-table-with-quoting, completion-table-subvert): New funs.
4085 (completion--twq-try, completion--twq-all): New functions.
4086 (completion--nth-completion): New function.
4087 (completion-try-completion, completion-all-completions): Use it.
4088
4089 2012-04-25 Leo Liu <sdl.web@gmail.com>
4090
4091 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4092 Use compilation-message if available to find real filename.
4093
4094 2012-04-25 Chong Yidong <cyd@gnu.org>
4095
4096 * vc/diff-mode.el (diff-setup-whitespace): New function.
4097 (diff-mode): Use it.
4098
4099 * vc/diff.el (diff-sentinel):
4100 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4101 Whitespace mode variables based on diff style (Bug#8612).
4102
4103 2012-04-25 Leo Liu <sdl.web@gmail.com>
4104
4105 * progmodes/python.el (python-send-region): Add suffix .py to the
4106 temp file.
4107
4108 * files.el (auto-mode-alist): Use javascript-mode instead.
4109
4110 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4111
4112 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4113
4114 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4115 (soap-resolve-references-for-array-type): Hack to prevent self
4116 references, see Bug#9.
4117 (soap-parse-envelope): Report the contents of the 'detail' node
4118 when receiving a fault reply.
4119 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4120
4121 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4122 (soap-inspect-simple-type): New function.
4123
4124 * net/soap-client.el (soap-simple-type): New struct.
4125 (soap-default-xsd-types, soap-default-soapenc-types)
4126 (soap-decode-basic-type, soap-encode-basic-type):
4127 support unsignedInt and double basic types.
4128 (soap-resolve-references-for-simple-type)
4129 (soap-parse-simple-type, soap-encode-simple-type): New function.
4130 (soap-parse-schema): Parse xsd:simpleType declarations.
4131
4132 * net/soap-client.el (soap-default-xsd-types)
4133 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4134 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4135 the local name of "soapenc:Array".
4136 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4137 decoding integer, byte and anyURI xsd types.
4138
4139 2012-04-25 Chong Yidong <cyd@gnu.org>
4140
4141 * cus-edit.el (custom-buffer-create-internal): Update header text.
4142
4143 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4144
4145 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4146 settings on 'system-type', not on 'window-system'. On MS-Windows,
4147 set interactive-mode on in GDB.
4148
4149 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4152 (ruby-syntax-propertize-regexp): Remove.
4153 (ruby-syntax-propertize-function): Split regexp into chunks.
4154 Match following code directly.
4155
4156 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4157
4158 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4159 (ruby-syntax-propertize-regexp): New function.
4160 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4161 by a special keyword.
4162
4163 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4164 (ruby-syntax-general-delimiters-goto-beg)
4165 (ruby-syntax-propertize-general-delimiters): New functions.
4166 (ruby-syntax-propertize-function): Use them to handle GDL.
4167 (ruby-font-lock-keywords): Move old handling of GDL...
4168 (ruby-font-lock-syntactic-keywords): .. to here.
4169 (ruby-calculate-indent): Adjust indentation for GDL.
4170
4171 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4172
4173 * notifications.el (top): Remove unneeded declarations.
4174 (notifications-specification-version): Change to "1.2".
4175 (notifications-interface, notifications-notify-method)
4176 (notifications-close-notification-method): Fix docstring.
4177 (notifications-get-capabilities-method): New defconst.
4178 (notifications-notify): Add :action-items, :resident and
4179 :transient hints. Change "image_data" to "image-data" and
4180 "image_path" to "image-path".
4181 (notifications-get-capabilities): New defun.
4182
4183 2012-04-24 Leo Liu <sdl.web@gmail.com>
4184
4185 * progmodes/python.el: Move hideshow setup to the end.
4186
4187 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4188
4189 * window.el (handle-select-window): Clear echo area since this is
4190 no more done by read_char (Bug#11304).
4191
4192 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4195 and `/ M' to filter-derived-mode.
4196 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4197 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4198 (ibuffer-mark-by-mode): Use default rather than initial-input.
4199 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4200
4201 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4202
4203 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4204 (ibuffer-filter-by-derived-mode): New filter.
4205 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4206
4207 2012-04-23 Andreas Politz <politza@fh-trier.de>
4208
4209 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4210
4211 2012-04-23 Chong Yidong <cyd@gnu.org>
4212
4213 * cus-edit.el (customize-apropos, customize-apropos-options):
4214 Disable matching of non-option variables (Bug#11176).
4215 (customize-option, customize-option-other-window)
4216 (customize-changed-options): Doc fix.
4217 (customize-apropos-options, customize-apropos-faces)
4218 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4219
4220 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4221 Fix word list splitting (Bug#11132).
4222 (apropos-symbol, apropos-keybinding, apropos-label)
4223 (apropos-property, apropos-function-button)
4224 (apropos-variable-button, apropos-misc-button): New faces.
4225 (apropos-symbol-face, apropos-keybinding-face)
4226 (apropos-label-face, apropos-property-face, apropos-match-face):
4227 Variables removed (Bug#8396).
4228 (apropos-library-button, apropos-format-plist, apropos-print)
4229 (apropos-print-doc, apropos-describe-plist): Callers changed.
4230
4231 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4232
4233 * net/xesam.el (xesam-mode-map): Use let-bound map in
4234 initialization. (Bug#11292)
4235
4236 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4237
4238 Preserve ispell session localwords when switching back to
4239 original buffer.
4240
4241 * textmodes/ispell.el (ispell-buffer-session-localwords):
4242 New buffer-local variable to hold buffer session localwords.
4243 (ispell-kill-ispell): Add option 'clear to delete session
4244 localwords.
4245 (ispell-command-loop, ispell-change-dictionary)
4246 (ispell-buffer-local-words): Preserve session localwords when
4247 needed.
4248
4249 * textmodes/flyspell.el (flyspell-process-localwords)
4250 (flyspell-do-correct): Preserve session localwords when needed.
4251
4252 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4253
4254 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4255 using obsolete `translation-table-for-input'.
4256 (ispell-word, ispell-process-line, ispell-complete-word):
4257 Use plain `insert' instead of removed `ispell-insert-word'.
4258
4259 2012-04-22 Chong Yidong <cyd@gnu.org>
4260
4261 * cus-edit.el (custom-variable-menu)
4262 (custom-variable-reset-saved, custom-face-menu)
4263 (custom-face-reset-saved): If there is no saved value, make the
4264 "reset-saved" operation bring back the default (Bug#9509).
4265 (custom-face-state): Properly detect themed faces.
4266
4267 * faces.el (face-spec-set): Stop supporting deprecated form of
4268 third arg.
4269
4270 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4271
4272 Move functions from C to Lisp. Make non-blocking method calls
4273 the default. Implement further D-Bus standard interfaces.
4274
4275 * net/dbus.el (dbus-message-internal): Declare function.
4276 Remove unneeded function declarations.
4277 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4278 (dbus-message-type-method-return, dbus-message-type-error)
4279 (dbus-message-type-signal): Declare variables. Remove local
4280 definitions.
4281 (dbus-interface-dbus, dbus-interface-peer)
4282 (dbus-interface-introspectable, dbus-interface-properties)
4283 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4284 Adapt docstring.
4285 (dbus-interface-objectmanager): New defconst.
4286 (dbus-call-method, dbus-call-method-asynchronously)
4287 (dbus-send-signal, dbus-method-return-internal)
4288 (dbus-method-error-internal, dbus-register-service)
4289 (dbus-register-signal, dbus-register-method): New defuns, moved
4290 from dbusbind.c
4291 (dbus-call-method-handler, dbus-setenv)
4292 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4293 New defuns.
4294 (dbus-call-method-non-blocking): Make it an obsolete function.
4295 (dbus-unregister-object, dbus-unregister-service)
4296 (dbus-handle-event, dbus-register-property)
4297 (dbus-property-handler): Obey the new structure of
4298 `bus-registered-objects'.
4299 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4300 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4301 Use `dbus-call-method'.
4302
4303 2012-04-22 Chong Yidong <cyd@gnu.org>
4304
4305 * cus-edit.el (custom-commands, custom-reset-menu)
4306 (Custom-reset-standard): Tweak labels.
4307 (custom-reset-button-menu): Change default to t.
4308 (custom-buffer-create-internal): For the custom-reset-button-menu
4309 case, put the revert button first.
4310 (custom-group-subtitle): New face.
4311 (custom-group-value-create): Align docstring to a specific column.
4312
4313 * wid-edit.el (widget-documentation-link-add): Don't handle
4314 indentation in this function.
4315 (widget-documentation-string-indent-to): New function.
4316 (widget-documentation-string-value-create): Use it.
4317
4318 * autorevert.el (auto-revert):
4319 * epg-config.el (epg):
4320 * ibuffer.el (ibuffer):
4321 * mpc.el (mpc):
4322 * ses.el (ses):
4323 * eshell/eshell.el (eshell):
4324 * net/ange-ftp.el (ange-ftp):
4325 * progmodes/ebnf2ps.el (postscript):
4326 * progmodes/flymake.el (flymake):
4327 * progmodes/prolog.el (prolog):
4328 * progmodes/verilog-mode.el (verilog-mode):
4329 * progmodes/which-func.el (which-func):
4330 * term/xterm.el (xterm):
4331 * textmodes/picture.el (picture):
4332 * textmodes/tildify.el (tildify):
4333 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4334 customization buffers.
4335
4336 2012-04-22 Alan Mackenzie <acm@muc.de>
4337
4338 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4339 Adding a ) can hide the resulting (..) from searches. Fix it.
4340 Bound the backward search to the position of the existing (.
4341
4342 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4343
4344 * progmodes/verilog-mode.el (verilog-mode): Check whether
4345 which-func-modes is t before adding verilog-mode.
4346 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4347
4348 2012-04-21 Leo Liu <sdl.web@gmail.com>
4349
4350 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4351
4352 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4353
4354 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4355 filling of the last column of a table (Bug#5635).
4356 (woman-find-next-control-line): New arg, specifying an additional
4357 regexp component for the control line.
4358 (woman2-roff-buffer): Use it.
4359 (woman-break-table): New function.
4360 (woman2-TS): Use it.
4361
4362 2012-04-21 Chong Yidong <cyd@gnu.org>
4363
4364 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4365 (woman-horizontal-escapes, woman-negative-vertical-space)
4366 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4367 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4368
4369 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * minibuffer.el (completion-file-name-table): Complete user names.
4372
4373 2012-04-20 Leo Liu <sdl.web@gmail.com>
4374
4375 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4376 and pcase-let*.
4377
4378 2012-04-20 Chong Yidong <cyd@gnu.org>
4379
4380 * server.el (server-execute): Respect initial-buffer-choice if it
4381 is a string and there are no files to open (Bug#2825).
4382 (server-create-window-system-frame, server-create-tty-frame):
4383 Don't switch buffers here.
4384 (server-process-filter): Only try to open a window system frame if
4385 compiled with graphical support (Bug#8314).
4386
4387 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4388
4389 * battery.el (battery-echo-area-format): Display remaining time
4390 for sysfs backend too (Bug#11269).
4391 (battery-linux-sysfs): Fix conditional for the charge.
4392
4393 2012-04-20 Chong Yidong <cyd@gnu.org>
4394
4395 * progmodes/gdb-mi.el (gdb): Revert previous change.
4396 (gdb-inferior-io--init-proc): New function.
4397 (gdb-init-1): Use it.
4398 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4399 responsible for allocating a new pty and hooking it to gdb when
4400 the old pty gets an EIO due to process exit.
4401 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4402 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4403 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4404
4405 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4406
4407 * window.el (window-min-size, window-sizable, window-min-delta)
4408 (window-max-delta, window--resizable, window-resizable)
4409 (window-total-size, window-full-height-p, window-full-width-p)
4410 (window-in-direction, window--resize-mini-window, window-resize)
4411 (window--resize-child-windows-normal)
4412 (window--resize-child-windows, window--resize-siblings)
4413 (window--resize-this-window, adjust-window-trailing-edge)
4414 (enlarge-window, shrink-window): Doc fixes.
4415
4416 2012-04-20 Chong Yidong <cyd@gnu.org>
4417
4418 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4419 New function to call delete-process on the gdb-inferior buffer's pty.
4420 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4421 pty process (Bug#11273).
4422 (gdb-update): New arg to suppress talking to the gdb process.
4423 (gdb-done-or-error): Use it.
4424 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4425 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4426 sentinel not being called.
4427
4428 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4429
4430 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4431
4432 2012-04-20 Glenn Morris <rgm@gnu.org>
4433
4434 * net/network-stream.el (open-network-stream): Doc fix.
4435
4436 2012-04-20 Chong Yidong <cyd@gnu.org>
4437
4438 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4439
4440 2012-04-20 Alan Mackenzie <acm@muc.de>
4441
4442 Ensure searching for keywords is case sensitive.
4443
4444 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4445 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4446 (c-defun-name, c-mark-function, c-cpp-define-name)
4447 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4448 (c-context-line-break): Bind case-fold-search to nil.
4449
4450 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4451 Bind case-fold-search to nil.
4452
4453 2012-04-20 Chong Yidong <cyd@gnu.org>
4454
4455 * mail/sendmail.el (mail-bury): Call return action with the right
4456 Rmail buffer (Bug#11242).
4457
4458 * server.el (server-process-filter): Handle corner case where both
4459 tty and nowait options are present (Bug#11102).
4460
4461 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4462
4463 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4464 (top level): Put into the executable the ident-style '$Id:' tag on
4465 windows-nt as well.
4466
4467 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * electric.el (electric-indent-post-self-insert-function): Check that
4470 electric-indent-mode is enabled in current buffer.
4471
4472 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4473
4474 * imenu.el (imenu-progress-message): Restore; it is "used" in
4475 erc/erc-imenu.el and net/snmp-mode.el.
4476
4477 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4478
4479 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4480 (mouse-avoidance-nudge-mouse): Remove unused binding.
4481
4482 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4483
4484 * descr-text.el (describe-char):
4485 * progmodes/python.el (python-describe-symbol):
4486 Don't call `toggle-read-only', set `buffer-read-only'.
4487
4488 * imenu.el (imenu-default-goto-function): Mark unused args.
4489 (imenu-progress-message): Remove obsolete macro; all callers changed.
4490
4491 * subr.el (keymap-canonicalize): Remove unused binding.
4492 (read-passwd): Mark unused arg.
4493
4494 * tutorial.el (tutorial--display-changes): Remove unused binding.
4495 (tutorial--save-tutorial-to): Remove unused variable.
4496
4497 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4498 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4499 (package-generate-autoloads, package-menu--generate)
4500 (package-menu--find-upgrades): Remove unused bindings.
4501
4502 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4503 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4504 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4505 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4506 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4507 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4508 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4509 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4510 (cua-delete-char-rectangle): Mark unused args.
4511 (cua-align-rectangle): Remove unused binding.
4512
4513 * mail/rmail.el (compilation--message->loc)
4514 (epa--find-coding-system-for-mime-charset): Declare.
4515
4516 * net/dbus.el (dbus-register-service): Declare.
4517 (dbus-name-owner-changed-handler): Remove unused binding.
4518
4519 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4520 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4521 (nxml-scan-backward-within): Mark unused arg.
4522 (nxml-dynamic-markup-word): Remove unused binding.
4523
4524 * mouse.el (mouse-menu-major-mode-map):
4525 * emacs-lisp/authors.el (authors-scan-change-log)
4526 (authors-add-to-author-list):
4527 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4528 * emacs-lisp/smie.el (smie-auto-fill):
4529 * mail/sendmail.el (mail-bury):
4530 * mail/unrmail.el (unrmail):
4531 * net/tls.el (open-tls-stream):
4532 * textmodes/picture.el (picture-mouse-set-point):
4533 Remove unused bindings.
4534
4535 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4536
4537 * net/tramp.el (tramp-action-password): Let-bind
4538 `enable-recursive-minibuffers' to t.
4539
4540 2012-04-18 Sam Steingold <sds@gnu.org>
4541
4542 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4543 instead of 'string to accommodate values like [f11].
4544 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4545 * progmodes/gdb-mi.el: Likewise.
4546
4547 2012-04-18 Leo Liu <sdl.web@gmail.com>
4548
4549 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4550 current buffer.
4551 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4552 LOCAL is nil.
4553
4554 2012-04-18 Chong Yidong <cyd@gnu.org>
4555
4556 * simple.el (line-move): Use forward-line if in batch mode
4557 (Bug#11053).
4558
4559 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4560
4561 * files.el (after-find-file): Do not try to add a final newline if
4562 the buffer is read-only (Bug#11156).
4563
4564 2012-04-17 Richard Stallman <rms@gnu.org>
4565
4566 * mail/rmail.el (rmail-start-mail):
4567 Pass (rmail-mail-return...) for the return-action.
4568 Pass (rmail-yank-current-message...) for the yank-action.
4569 (rmail-yank-current-message): New function.
4570 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4571 (rmail-reply): Likewise.
4572 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4573
4574 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4575 buffer, not the last. Reject temp buffers. Use the rmail-mode
4576 buffer, not newbuf.
4577
4578 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4579
4580 * server.el (server-ensure-safe-dir): Simplify.
4581
4582 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * emacs-lisp/smie.el: Provide smarter auto-filling.
4585 (smie-auto-fill): New function.
4586 (smie-setup): Use it.
4587
4588 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4589
4590 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4591
4592 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4593 (comment-indent): Use it.
4594
4595 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4596
4597 * ses.el: The overall change is to add cell renaming, that is
4598 setting fancy names for cell symbols other than name matching
4599 "\\`[A-Z]+[0-9]+\\'" regexp .
4600 (ses-localvars): Add ses--renamed-cell-symb-list.
4601 (ses-create-cell-variable): New defun.
4602 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4603 (ses-relocate-formula): Relocate formulas only for cells the
4604 symbols of which are not renamed, i.e. symbols whose names do not
4605 match regexp "\\`[A-Z]+[0-9]+\\'".
4606 (ses-relocate-all): Relocate values only for cells the symbols of
4607 which are not renamed.
4608 (ses-load): Create cells variables as the (ses-cell ...) are read,
4609 in order to check row col consistency with cell symbol name only
4610 for cells that are not renamed.
4611 (ses-replace-name-in-formula): New defun.
4612 (ses-rename-cell): New defun.
4613
4614 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4615
4616 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4617 New option (bug#11118).
4618 (perl-calculate-indent): Respect it.
4619
4620 2012-04-17 Glenn Morris <rgm@gnu.org>
4621
4622 * dired-aux.el (dired-mark-read-string): Doc fix.
4623
4624 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4625
4626 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4627 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4628
4629 2012-04-17 Glenn Morris <rgm@gnu.org>
4630
4631 * mouse.el (mouse-drag-track):
4632 * speedbar.el (speedbar-frame-mode):
4633 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4634
4635 2012-04-16 Leo Liu <sdl.web@gmail.com>
4636
4637 * progmodes/python.el: Trivial cleanup.
4638
4639 2012-04-16 Glenn Morris <rgm@gnu.org>
4640
4641 * vc/vc.el (vc-string-prefix-p):
4642 * vc/pcvs-util.el (cvs-string-prefix-p):
4643 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4644 * mpc.el (mpc-string-prefix-p):
4645 Make all of these into obsolete aliases for string-prefix-p.
4646 Update callers.
4647 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4648
4649 * textmodes/two-column.el: Move custom options to the start.
4650 (frame-width): Remove compat definition.
4651 (2C-associate-buffer, 2C-dissociate):
4652 Use with-current-buffer rather than save-excursion.
4653 (2C-dissociate): Force a mode-line update.
4654 (2C-autoscroll): Use ignore-errors.
4655
4656 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4657 Autoload trivia.
4658
4659 * emacs-lisp/cl-extra.el (*random-state*):
4660 Remove unnecessary declaration.
4661
4662 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4663
4664 * play/cookie1.el (cookie-snarf):
4665 Give an explicit error if input file cannot be read.
4666
4667 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4668
4669 * progmodes/perl-mode.el (c-macro-expand):
4670 Remove unnecessary autoload (it is in loaddefs.el).
4671
4672 * textmodes/picture.el (picture-desired-column)
4673 (picture-update-desired-column): Convert comments to doc-strings.
4674 (picture-substitute): Remove function.
4675 (picture-mode-map): Initialize in the defvar.
4676
4677 * woman.el: Remove eval-after-load for tar-mode.
4678 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4679 (woman-tar-extract-file): Autoload it.
4680
4681 * frame.el (automatic-hscrolling): Make this alias obsolete.
4682
4683 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4684
4685 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4686 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4687 (ispell-dictionary-base-alist): Revert to original XEmacs
4688 friendly version for default. [:alpha:] will be added in
4689 `ispell-set-spellchecker-params' if needed.
4690
4691 2012-04-16 Chong Yidong <cyd@gnu.org>
4692
4693 * image.el (imagemagick--file-regexp): New variable.
4694 (imagemagick-register-types): Use it.
4695 (imagemagick-types-inhibit): Add :set function. Allow new value
4696 of t to inhibit all types.
4697
4698 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4699 so we can preload it.
4700
4701 * loadup.el (fboundp): Preload regexp-opt, needed by
4702 imagemagick-register-types.
4703
4704 2012-04-15 Chong Yidong <cyd@gnu.org>
4705
4706 * frame.el (scrolling): Remove nearly unused customization group.
4707
4708 * scroll-all.el (scroll-all-mode): Move to windows group.
4709
4710 2012-04-15 Chong Yidong <cyd@gnu.org>
4711
4712 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4713
4714 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4717 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4718
4719 2012-04-15 Glenn Morris <rgm@gnu.org>
4720
4721 * simple.el (process-file-side-effects): Doc fix.
4722
4723 2012-04-15 Glenn Morris <rgm@gnu.org>
4724
4725 * international/mule-cmds.el (set-language-environment): Doc fix.
4726
4727 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4728
4729 * server.el (server-auth-key, server-generate-key): Doc fixes.
4730 (server-get-auth-key): Doc fix. Use `string-match-p'.
4731 (server-start): Reflow docstring.
4732
4733 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4734
4735 * server.el (server-generate-key): `called-interactively-p'
4736 requires a parameter.
4737
4738 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4739
4740 * server.el (server-auth-key): New variable.
4741 (server-generate-key, server-get-auth-key): New function.
4742 (server-start): Use the new variable and functions to allow
4743 setting a permanent server key (bug#9423).
4744
4745 2012-04-14 Leo Liu <sdl.web@gmail.com>
4746
4747 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4748
4749 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4750
4751 Spelling fixes.
4752 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4753 Emacs uses American spelling.
4754
4755 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4756
4757 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4758 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4759 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4760 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4761
4762 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * progmodes/which-func.el (which-func-modes): Change default.
4765
4766 2012-04-14 Kim F. Storm <storm@cua.dk>
4767
4768 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4769 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4770
4771 2012-04-14 Chong Yidong <cyd@gnu.org>
4772
4773 * custom.el (custom-theme-set-variables): Doc fix.
4774
4775 2012-04-14 Glenn Morris <rgm@gnu.org>
4776
4777 * international/mule.el (set-auto-coding-for-load): Doc fix.
4778
4779 2012-04-14 Alan Mackenzie <acm@muc.de>
4780
4781 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4782 imenu work again for Objective C Mode. Correct the *-index values,
4783 these having been disturbed by a previous change in 2011-08.
4784
4785 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4786 Correct two search limits.
4787
4788 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4791
4792 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4793
4794 * international/characters.el: Fix sorting.
4795
4796 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4797
4798 * international/characters.el: Add more missing Latin case pairs.
4799
4800 2012-04-14 Glenn Morris <rgm@gnu.org>
4801
4802 * files.el (dir-locals-set-class-variables): Doc fix.
4803
4804 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4805
4806 * international/characters.el: Add set-case-syntax-pair call for
4807 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4808 counterpart. (Bug#11209)
4809
4810 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4811
4812 2012-04-14 Glenn Morris <rgm@gnu.org>
4813
4814 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4815
4816 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4817
4818 * textmodes/ispell.el (ispell-dictionary-base-alist):
4819 Add data for Hebrew.
4820
4821 2012-04-14 Chong Yidong <cyd@gnu.org>
4822
4823 * net/rcirc.el (rcirc-cmd-quit):
4824 Revert 2012-03-18 change (Bug#11192).
4825
4826 2012-04-14 Glenn Morris <rgm@gnu.org>
4827
4828 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4829
4830 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4831
4832 * minibuffer.el (completion-in-region-mode-map):
4833 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
4834
4835 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4836
4837 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4838
4839 2012-04-13 Masatake YAMATO <yamato@redhat.com>
4840
4841 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4842 to allow `C-M-f' and `C-M-b' to move to the nearest path
4843 separator (bug#9511).
4844
4845 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4846
4847 * avoid.el: Require cl when compiling. And also move the
4848 `provide' to the end.
4849
4850 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4851
4852 * avoid.el (mouse-avoidance-banish-position): New variable.
4853 (mouse-avoidance-banish-destination): Use it (bug#10165).
4854
4855 2012-04-13 Leo Liu <sdl.web@gmail.com>
4856
4857 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4858
4859 2012-04-13 Ken Brown <kbrown@cornell.edu>
4860
4861 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4862 this is no longer needed now that cygstart understands file:// URLs.
4863 (browse-url-filename-alist): For the same reason, don't modify
4864 file:// URLs on Cygwin.
4865
4866 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4869 the region on shift if the binding is already shifted (bug#11221).
4870
4871 2012-04-12 Glenn Morris <rgm@gnu.org>
4872
4873 * mail/mailpost.el: Move to obsolete/.
4874
4875 2012-04-12 Drew Adams <drew.adams@oracle.com>
4876
4877 * imenu.el (imenu--generic-function): Ignore invisible definitions
4878 (bug#10123).
4879
4880 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4881
4882 * hexl.el (hexl-bits): New variable.
4883 (hexl-options): Mention the variable in the doc string.
4884 (hexl-rulerise, hexl-line-displen): New functions.
4885 (hexl-mode): Mention the new variable.
4886 (hexl-mode, hexl-current-address, hexl-current-address):
4887 Use the displen.
4888 (hexl-ascii-start-column): New function.
4889 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4890 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4891
4892 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4893
4894 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4895 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4896 the encoding, as expected by hunspell.
4897
4898 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 * battery.el (battery--linux-sysfs-regexp): New const.
4901 (battery-status-function): Use it. Remove yeeloong special case.
4902 (battery-yeeloong-sysfs): Remove.
4903 (battery-echo-area-format): Remove yeeloong special case.
4904
4905 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4908 Reported by Noah Friedman.
4909
4910 * subr.el (read-passwd): Use read-string.
4911
4912 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4913
4914 * vcursor.el (vcursor-move): Increase the priority of the overlay
4915 (bug#9663).
4916
4917 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4918
4919 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4920 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4921
4922 2012-04-11 William Stevenson <yhvh2000@gmail.com>
4923
4924 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4925 define-minor-mode (bug#10760).
4926
4927 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4928
4929 * progmodes/grep.el (rgrep): Tweak the find command line so
4930 that directories matching `grep-find-ignored-files' won't be
4931 pruned (bug#10351).
4932
4933 2012-04-11 Chong Yidong <cyd@gnu.org>
4934
4935 * startup.el (command-line): Remove support for long-obsolete
4936 variable font-lock-face-attributes.
4937
4938 2012-04-11 Glenn Morris <rgm@gnu.org>
4939
4940 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4941
4942 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4943
4944 * window.el (window--state-get-1): Obey window-point-insertion-type.
4945
4946 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4947
4948 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4949 to previous function when point is on the first character of a
4950 function. Take care of that in `narrow-to-defun' (bug#6157).
4951
4952 2012-04-11 Glenn Morris <rgm@gnu.org>
4953
4954 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4955 not just file-errors.
4956
4957 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4958 (vc-bzr-sha1): Use internal sha1.
4959
4960 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4963
4964 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4965
4966 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4967 that start in the middle of the line (bug#10496).
4968
4969 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4970
4971 * battery.el (battery-linux-proc-acpi): Only one battery is
4972 discharged at a time, but that seems to confuse battery.el when
4973 computing `rate-type' for the battery not being discharged
4974 (bug#10332).
4975
4976 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4979
4980 * international/quail.el: Use dolist and simplify.
4981 (quail-define-package, quail-update-keyboard-layout)
4982 (quail-define-rules): Use dolist.
4983 (quail-insert-kbd-layout, quail-get-translation): CSE.
4984
4985 * tmm.el: Use dolist, remove left over hook.
4986 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4987 Use dolist.
4988 (calendar-load-hook): Don't mess with it.
4989
4990 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4991 Use derived-mode-p. Run the diff asynchronously.
4992
4993 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4994
4995 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4996
4997 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4998
4999 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5000 (list-dynamic-libraries--loaded): New function.
5001 (list-dynamic-libraries--refresh): Use it.
5002
5003 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5004
5005 * progmodes/python.el (python-fill-paragraph):
5006 Make python-fill-region in a multiline string work when font-lock is
5007 disabled (bug#7018).
5008
5009 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5010
5011 * language/european.el (cp775): Add oem/legacy (en)coding on
5012 DOS/MS Windows for the Baltic languages. There are still plenty
5013 of texts written in this encoding/codepage (bug#6519).
5014
5015 2012-04-10 Glenn Morris <rgm@gnu.org>
5016
5017 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5018 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5019
5020 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5021
5022 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5023 next-line "n" and previous-line "p" in order to make recentf more
5024 consistent with ibuffer, dired or org-mode (bug#9387).
5025
5026 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5027
5028 * image.el (put-image): Return the overlay created instead of the
5029 optional input string (bug#7834). Note that this may break code
5030 that is (for some reason or other) depending on `put-image'
5031 returning the string.
5032
5033 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5034
5035 * simple.el (zap-to-char): Allow zapping using input methods
5036 (bug#1580).
5037
5038 * textmodes/fill.el (fill-region): Leave point and mark where they
5039 were before filling (bug#5399).
5040
5041 2012-04-09 Glenn Morris <rgm@gnu.org>
5042
5043 * version.el (emacs-bzr-get-version):
5044 Handle lightweight checkouts of local branches.
5045
5046 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5047
5048 * international/characters.el: Recover lost case pairs. (Bug#11209)
5049
5050 2012-04-09 Chong Yidong <cyd@gnu.org>
5051
5052 * custom.el (custom-variable-p): Return nil for non-symbol
5053 arguments instead of signaling an error.
5054 (user-variable-p): Obsolete alias for custom-variable-p.
5055
5056 * apropos.el (apropos-variable):
5057 * files-x.el (read-file-local-variable):
5058 * simple.el (set-variable):
5059 * woman.el (woman-mini-help):
5060 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5061
5062 2012-04-09 Glenn Morris <rgm@gnu.org>
5063
5064 * startup.el (normal-top-level): Don't look for leim-list.el
5065 in places where it will not be found. (Bug#910)
5066
5067 * international/mule-cmds.el (set-default-coding-systems):
5068 * files.el (normal-mode):
5069 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5070 This function was removed with ucs-tables.el in 2008.
5071
5072 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5073
5074 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5075 ispell-encoding8-command to "-i", without a trailing space.
5076 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5077 separate command-line arguments, to specify the encoding, since
5078 that's how hunspell expects it.
5079
5080 2012-04-08 Glenn Morris <rgm@gnu.org>
5081
5082 * loadup.el: Load bindings before cus-start.
5083 This reduces somewhat the number of "rogue" settings in emacs -Q.
5084
5085 2012-04-07 Glenn Morris <rgm@gnu.org>
5086
5087 * version.el (emacs-bzr-get-version): New function.
5088 (emacs-bzr-version): New variable.
5089 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5090 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5091
5092 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5093
5094 * international/uni-bidi.el, international/uni-category.el:
5095 * international/uni-combining.el, international/uni-decimal.el:
5096 * international/uni-decomposition.el, international/uni-digit.el:
5097 * international/uni-lowercase.el, international/uni-mirrored.el:
5098 * international/uni-name.el, international/uni-numeric.el:
5099 * international/uni-titlecase.el, international/uni-uppercase.el:
5100 Update for Unicode 6.1.
5101
5102 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5103
5104 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5105
5106 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5107
5108 * window.el (shrink-window): Mention the `window-min-height'
5109 variable in the doc string.
5110
5111 2012-04-05 Bastien Guerry <bzg@altern.org>
5112
5113 * color.el (color-lighten-name): Fix typo.
5114
5115 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * server.el (server--on-display-p): New function.
5118 (server--on-display-p): Use it.
5119
5120 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5121
5122 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5123 (bug#11145).
5124
5125 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * comint.el (comint--common-quoted-suffix): Check string boundary
5128 before comparing (bug#11158).
5129 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5130
5131 2012-04-04 Chong Yidong <cyd@gnu.org>
5132
5133 * minibuffer.el (completion-extra-properties): Doc fix.
5134
5135 * subr.el (delayed-warnings-hook): Doc fix.
5136
5137 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5138
5139 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5140 selection (Bug#11159).
5141 (epa-insert-keys): Inform that the default public key will be
5142 exported if no key is selected.
5143
5144 2012-04-04 Richard Stallman <rms@gnu.org>
5145
5146 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5147
5148 2012-04-03 Chong Yidong <cyd@gnu.org>
5149
5150 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5151 mail-insert-file, not its obsolete alias mail-attach-file.
5152
5153 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5154
5155 * notifications.el (notifications-notify): Fix docstring.
5156
5157 2012-04-02 Glenn Morris <rgm@gnu.org>
5158
5159 * emacs-lisp/authors.el (authors-aliases): Another addition.
5160
5161 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5162
5163 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5164 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5165 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5166
5167 2012-04-01 Chong Yidong <cyd@gnu.org>
5168
5169 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5170 Handle root directory properly.
5171 (copy-directory): Caller changed.
5172
5173 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5174 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5175
5176 2012-03-31 Glenn Morris <rgm@gnu.org>
5177
5178 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5179
5180 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5181
5182 * calendar/calendar.el (calendar-window-list)
5183 (calendar-hide-window): Restore. (Bug#11140)
5184 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5185
5186 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5187
5188 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5189
5190 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5191 Check if file is a symlink (Bug#10489).
5192
5193 * files.el (copy-directory): Likewise.
5194
5195 2012-03-30 Chong Yidong <cyd@gnu.org>
5196
5197 * image.el (imagemagick-types-inhibit)
5198 (imagemagick-register-types): Doc fix.
5199
5200 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5201
5202 * textmodes/ispell.el (ispell-get-extended-character-mode):
5203 Disable extended-char-mode for hunspell. hunspell does not support it
5204 and treats ~word as ordinary words in pipe mode.
5205
5206 2012-03-30 Glenn Morris <rgm@gnu.org>
5207
5208 * tutorial.el (help-with-tutorial): Ensure local variables don't
5209 happen to make the buffer read-only. (Bug#11127)
5210
5211 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5214 (perl-calculate-indent): Return `noindent' in strings.
5215
5216 2012-03-28 Sam Steingold <sds@gnu.org>
5217
5218 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5219 instead of the broken adhockery which does not prevent calendar
5220 buffers from being displayed at random after exit.
5221 (calendar-window-list, calendar-hide-window): Remove the broken
5222 adhockery.
5223
5224 2012-03-28 Glenn Morris <rgm@gnu.org>
5225
5226 * replace.el (query-replace-map): Doc fix.
5227
5228 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5229
5230 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5231 contents. (Bug#11109)
5232
5233 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5236 (bug#11077).
5237 (avl-tree--check, avl-tree--check-node): New funs.
5238
5239 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5240
5241 * window.el (switch-to-visible-buffer): New option.
5242 (switch-to-prev-buffer, switch-to-next-buffer):
5243 Observe switch-to-visible-buffer. Make sure that checking for a window
5244 showing a buffer already is done on the same frame.
5245
5246 2012-03-27 Glenn Morris <rgm@gnu.org>
5247
5248 * startup.el (mail-host-address): Doc fix.
5249
5250 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5251
5252 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5253 than 197 variables.
5254
5255 2012-03-26 Ami Fischman <ami@fischman.org>
5256
5257 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5258
5259 2012-03-26 Glenn Morris <rgm@gnu.org>
5260
5261 * files.el (save-buffers-kill-emacs): Doc fix.
5262
5263 * startup.el (normal-top-level, command-line, command-line-1):
5264 Give them doc strings.
5265
5266 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5267
5268 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5269 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5270
5271 2012-03-25 Chong Yidong <cyd@gnu.org>
5272
5273 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5274 theme if it was previously enabled before (Bug#11031).
5275
5276 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5277 spec with custom-face-get-current-spec if its :shown-value is not
5278 determined yet (Bug#9337).
5279 (customize-create-theme, custom-theme-revert): Doc fixes.
5280
5281 * button.el (button-at): Minor addition to docstring.
5282
5283 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5284
5285 * vc/vc.el (vc-merge): Fix a prompt.
5286
5287 2012-03-24 Chong Yidong <cyd@gnu.org>
5288
5289 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5290 point (Bug#9623).
5291
5292 * button.el (button-at): Minor addition to docstring.
5293
5294 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5295
5296 * newcomment.el (comment-choose-indent): No space after BOL.
5297
5298 2012-03-22 Sam Steingold <sds@gnu.org>
5299
5300 * window.el (switch-to-prev-buffer): Revert last patch because the
5301 bug turned out to be an advertised feature (Elisp manual 28.14).
5302
5303 2012-03-22 Glenn Morris <rgm@gnu.org>
5304
5305 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5306 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5307
5308 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5309
5310 * net/network-stream.el (network-stream-open-starttls): Make error
5311 message under Windows be less misleading.
5312
5313 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5314
5315 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5316 understands (bug#9942).
5317
5318 2012-03-22 Chong Yidong <cyd@gnu.org>
5319
5320 * simple.el (end-of-visible-line): Handle return value of
5321 next-single-property-change properly (Bug#9371).
5322
5323 2012-03-22 Kenichi Handa <handa@m17n.org>
5324
5325 * international/quail.el (quail-insert-kbd-layout): Fix previous
5326 change. To avoid unwanted bidi reordering, use
5327 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5328
5329 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5330
5331 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5332 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5333 (ruby-beginning-of-indent): Be more careful with the difference
5334 between word-boundary and symbol boundary.
5335 (ruby-mode-syntax-table): Make : a symbol constituent.
5336
5337 2012-03-21 Andreas Politz <politza@fh-trier.de>
5338
5339 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5340
5341 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5342
5343 * progmodes/etags.el (tags-completion-at-point-function):
5344 Improve last fix.
5345
5346 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5347
5348 2012-03-21 Sam Steingold <sds@gnu.org>
5349
5350 * progmodes/etags.el (tags-completion-at-point-function):
5351 Avoid the error when point is inside the pattern.
5352
5353 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5354
5355 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5356 line (Bug#10855).
5357
5358 2012-03-21 Drew Adams <drew.adams@oracle.com>
5359
5360 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5361
5362 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5363
5364 * ido.el (ido-set-current-directory, ido-read-internal)
5365 (ido-choose-completion-string, ido-completion-help): Handle nil
5366 value of ido-completion-buffer (Bug#11008).
5367
5368 2012-03-21 Sam Steingold <sds@gnu.org>
5369
5370 * window.el (switch-to-prev-buffer): Do not switch to a visible
5371 window previous buffer, just like with the frame previous buffers.
5372
5373 2012-03-21 Chong Yidong <cyd@gnu.org>
5374
5375 * faces.el (make-face, make-empty-face, copy-face):
5376 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5377 Doc fixes.
5378
5379 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5382 (widget-complete): Remove broken use of it.
5383
5384 2012-03-20 Chong Yidong <cyd@gnu.org>
5385
5386 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5387 Use string-width and truncate-string-width to handle arbitrary
5388 characters.
5389
5390 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5391
5392 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5393 to draw rectangles, not squares. (Regression introduced by revno
5394 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5395
5396 2012-03-18 Chong Yidong <cyd@gnu.org>
5397
5398 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5399 it is not yet defined (for temacs).
5400
5401 2012-03-18 Leo Liu <sdl.web@gmail.com>
5402
5403 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5404
5405 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5406
5407 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5408 (ispell-choices-win-default-height, ispell-silently-savep)
5409 (ispell-dictionary-alist, ispell-encoding8-command)
5410 (ispell-check-version, ispell-aspell-find-dictionary)
5411 (ispell-valid-dictionary-list, ispell-words-keyword)
5412 (ispell-get-word, ispell-internal-change-dictionary)
5413 (ispell-region, ispell-skip-region-list)
5414 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5415 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5416 (ispell-message-text-end, ispell-message)
5417 (ispell-buffer-local-parsing): Doc fix.
5418
5419 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5420
5421 * htmlfontify.el: Add support for code block fontification for ODT
5422 export (Bug #9914).
5423 (hfy-optimisations): Define new option
5424 `body-text-only'
5425 (hfy-fontify-buffer): Honor above setting.
5426 (hfy-begin-span, hfy-end-span): New routines factored out form
5427 `hfy-fontify-buffer'.
5428 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5429 that permit insertion of custom tags.
5430 (hfy-fontify-buffer): Use above handlers.
5431 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5432 (hfy-face-to-css): Re-defined to be a variable.
5433 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5434 over multiple runs. This is made possible by having the caller let
5435 bind a special variable `hfy-user-sheet-assoc'.
5436 (htmlfontify-string): New defun.
5437 (hfy-compile-face-map): Make sure that the last char in the
5438 buffer is correctly fontified.
5439 (hfy-face-resolve-face): Whitespace only change.
5440
5441 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5442
5443 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5444 message more clear.
5445
5446 2012-03-16 Leo Liu <sdl.web@gmail.com>
5447
5448 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5449
5450 2012-03-16 Alan Mackenzie <acm@muc.de>
5451
5452 Further optimise the handling of large macros.
5453
5454 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5455 limit to a call of `c-literal-limits'.
5456 (c-determine-+ve-limit): New function.
5457 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5458 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5459 In CASE 5B, restrict a search limit to 500.
5460 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5461
5462 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5463 Restrict macro bounds to +-500 from after-change's BEG END.
5464
5465 2012-03-16 Leo Liu <sdl.web@gmail.com>
5466
5467 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5468
5469 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5470
5471 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5472 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5473
5474 2012-03-16 Glenn Morris <rgm@gnu.org>
5475
5476 * view.el (view-buffer, view-buffer-other-window)
5477 (view-buffer-other-frame): Doc fixes re special mode-class.
5478
5479 * subr.el (eval-after-load): If named feature is provided not from
5480 a file, run after-load forms. (Bug#10946)
5481
5482 * calendar/calendar.el (calendar-insert-at-column):
5483 Handle non-unit-width characters a bit better. (Bug#10978)
5484
5485 2012-03-15 Chong Yidong <cyd@gnu.org>
5486
5487 * emacs-lisp/ring.el (ring-extend): New function.
5488 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5489
5490 * comint.el (comint-read-input-ring)
5491 (comint-add-to-input-history): Grow comint-input-ring lazily.
5492
5493 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5496 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5497
5498 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5499 (imenu-add-to-menubar): Don't add a redundant index.
5500 (imenu-update-menubar): Handle a dynamically composed keymap.
5501
5502 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5503
5504 * mail/sendmail.el (mail-encode-header):
5505 Bind rfc2047-encode-encoded-words to nil.
5506
5507 2012-03-13 Glenn Morris <rgm@gnu.org>
5508
5509 * calendar/calendar.el (calendar-string-spread):
5510 Handle non-unit-width characters a bit better. (Bug#10978)
5511
5512 2012-03-13 Leo Liu <sdl.web@gmail.com>
5513
5514 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5515 directory and file as argument (Bug#10822).
5516
5517 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5518
5519 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5520 For dynamically generated code, follow $PC.
5521 (gdb-disassembly-handler-custom): Handle no function name case.
5522
5523 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5524
5525 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5526 * emulation/ws-mode.el (ws-query-replace):
5527 * sort.el (sort-regexp-fields):
5528 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5529
5530 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * dabbrev.el: Fix cycle completion order (bug#10963).
5533 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5534 (dabbrev-completion): Don't use an obarray; provide
5535 a cycle-sort-function.
5536
5537 2012-03-12 Leo Liu <sdl.web@gmail.com>
5538
5539 * simple.el (kill-new): Use equal-including-properties for comparison.
5540 (kill-do-not-save-duplicates): Doc fix.
5541
5542 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5543
5544 * dabbrev.el: Fix cycle completion (bug#10963).
5545 Use lexical binding and wrap to 80 columns.
5546 (dabbrev-completion): Delay computing the list of completions.
5547
5548 2012-03-12 Kenichi Handa <handa@m17n.org>
5549
5550 * international/quail.el (quail-insert-kbd-layout): Surround each
5551 row by LRO and PDF instead of inserting many LRMs. Pad the left
5552 and right of each non-spacing marks. Insert invisible space
5553 between lower and upper characters to prevent composition.
5554
5555 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * minibuffer.el (minibuffer-complete): Don't get confused when the
5558 function is run twice via different commands (bug#10958).
5559 (complete-with-action): Fix docstring.
5560
5561 2012-03-12 Chong Yidong <cyd@gnu.org>
5562
5563 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5564 (nxml-completion-at-point-function): New function.
5565 (nxml-mode): Use it.
5566 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5567
5568 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5569 Load generated autoloads file before byte compiling (Bug#10970).
5570 (package--make-autoloads-and-compile): New helper fun.
5571
5572 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5573
5574 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5575
5576 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5577
5578 * autorevert.el (auto-revert-handler): Ensure, that
5579 file-readable-p is applied only for local files or in
5580 auto-revert-tail-mode.
5581
5582 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5583
5584 * server.el (server-eval-at): Handle non-tcp connections.
5585 Decode result string.
5586
5587 * server.el (server-msg-size): New constant.
5588 (server-reply-print): New function.
5589 (server-eval-and-print): Use it.
5590 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5591 Handle -print-nonl.
5592
5593 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5594
5595 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5596 (Bug#10987).
5597
5598 2012-03-11 Chong Yidong <cyd@gnu.org>
5599
5600 * simple.el (goto-line): Doc fix (Bug#9938).
5601
5602 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5603
5604 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5605 when finished (Bug#10963).
5606
5607 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5608
5609 * window.el (split-window-below): Fix bug in case where
5610 split-window-keep-point is nil (Bug#10971).
5611
5612 2012-03-11 Juri Linkov <juri@jurta.org>
5613
5614 * replace.el (replace-highlight): Set isearch-word to nil
5615 unconditionally. (Bug#10887)
5616
5617 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5618
5619 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5620 mairix-replace-illegal-chars; all callers changed. Don't remove
5621 ^, ~, and = characters: they are meaningful in mairix search specs.
5622 (mairix-widget-create-query): Add usage information about mairix
5623 search forms: negating words, searching for substrings, etc.
5624
5625 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5626
5627 * international/fontset.el (font-encoding-alist): Add an entry for
5628 ksx1001 (Bug#5667).
5629
5630 2012-03-10 Richard Stallman <rms@gnu.org>
5631
5632 * mail/sendmail.el (mail-encode-header):
5633 Set rfc2047-encode-encoded-words.
5634
5635 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5636
5637 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5638 view buffer means not swapped.
5639 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5640 (rmail-write-region-annotate): Error if real text has disappeared.
5641
5642 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5643
5644 2012-03-10 Chong Yidong <cyd@gnu.org>
5645
5646 * emulation/cua-rect.el (cua--init-rectangles):
5647 * emulation/cua-base.el (cua--init-keymaps):
5648 Add delete-forward-char to remappings (Bug#9666).
5649
5650 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5651
5652 * speedbar.el (speedbar-unhighlight-one-tag-line):
5653 Avoid unhighlighting due to frame switching (Bug#10275).
5654
5655 2012-03-10 Chong Yidong <cyd@gnu.org>
5656
5657 * minibuffer.el (completion-in-region, completion-help-at-point):
5658 Give the completion field overlay a high priority (Bug#6830).
5659
5660 * dired.el (dired-goto-file): Recognize absolute file name
5661 listings (Bug#7126).
5662 (dired-goto-file-1): New helper function.
5663 (dired-toggle-read-only): Inhibit warnings.
5664
5665 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5666
5667 * net/dbus.el (dbus-property-handler): Return empty array if
5668 there are no properties.
5669
5670 2012-03-09 Leo Liu <sdl.web@gmail.com>
5671
5672 * savehist.el (savehist-printable): Stricter check for string
5673 value (Bug#10937).
5674
5675 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5676
5677 * mail/smtpmail.el (smtpmail-send-it):
5678 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5679 valid mbox format.
5680
5681 2012-03-09 Glenn Morris <rgm@gnu.org>
5682
5683 * files.el (dir-locals-find-file):
5684 Don't check result is regular, readable.
5685 (dir-locals-read-from-file): Demote errors.
5686
5687 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5688
5689 * international/quail.el (quail-insert-kbd-layout):
5690 Insert invisible LRM characters before each character in a keyboard
5691 layout cell, to prevent their reordering by bidi display engine.
5692 For details, see the discussion in
5693 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5694
5695 2012-03-08 Alan Mackenzie <acm@muc.de>
5696
5697 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5698 the starting position; make it extend the marked region when
5699 invoked repeatedly - all under appropriate circumstances.
5700 Fixes bugs #5525, #10906.
5701
5702 2012-03-08 Glenn Morris <rgm@gnu.org>
5703
5704 * files.el (locate-dominating-file, dir-locals-find-file):
5705 Undo 2012-03-06 change.
5706
5707 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5708
5709 * international/quail.el (quail-help):
5710 Force bidi-paragraph-direction be left-to-right. See discussion in
5711 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5712 for the reason.
5713
5714 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5715
5716 Avoid superfluous registering of signals. (Bug#10807)
5717
5718 * notifications.el (notifications-on-action-object)
5719 (notifications-on-close-object): New defvars.
5720 (notifications-on-action-signal, notifications-on-closed-signal):
5721 Unregister the signal if not needed any longer.
5722 (notifications-notify): Register `notifications-action-signal' or
5723 `notifications-closed-signal', if :on-action or :on-close has been
5724 passed as argument.
5725
5726 2012-03-07 Chong Yidong <cyd@gnu.org>
5727
5728 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5729 non-X platforms.
5730
5731 2012-03-06 Glenn Morris <rgm@gnu.org>
5732
5733 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5734 (x-disown-selection-internal, x-get-selection-internal):
5735 Doc fix (add arglist signatures). (Bug#10783)
5736
5737 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5738
5739 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5740 Handle breakpoints with no "type".
5741
5742 2012-03-06 Glenn Morris <rgm@gnu.org>
5743
5744 * files.el (locate-dominating-file): Add optional predicate argument.
5745 (dir-locals-find-file): Make use of above change.
5746
5747 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5748
5749 * info.el (Info-insert-dir): Also try "dir.gz".
5750
5751 2012-03-06 Glenn Morris <rgm@gnu.org>
5752
5753 * files.el (dir-locals-find-file):
5754 Ignore non-readable or non-regular files. (Bug#10928)
5755
5756 * files.el (locate-dominating-file): Doc fix.
5757
5758 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5759
5760 * calendar/calendar.el (calendar-set-mode-line):
5761 `getenv' returns a string. (Bug#10951)
5762
5763 2012-03-05 Leo Liu <sdl.web@gmail.com>
5764
5765 * simple.el (backward-delete-char-untabify): Constrain point to
5766 field (Bug#10939).
5767
5768 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5769
5770 2012-03-05 Chong Yidong <cyd@gnu.org>
5771
5772 * simple.el (count-words): If called from Lisp, return the word
5773 count, for symmetry with `count-lines'. Arglist changed.
5774 (count-words--message): Args changed. Consolidate counting code
5775 from count-words and count-words-region.
5776 (count-words-region): Caller changed.
5777 (count-lines-region): Make it an obsolete alias.
5778
5779 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5780
5781 * saveplace.el (save-place-to-alist)
5782 (save-place-ignore-files-regexp): Allow value nil to disable this
5783 feature.
5784
5785 2012-03-04 Chong Yidong <cyd@gnu.org>
5786
5787 * faces.el (face-spec-reset-face): For the default face, reset the
5788 attributes to default values (Bug#10748).
5789
5790 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5791
5792 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5793 previous patch: Check `message-send-mail-function', and not the
5794 default function (bug#10897).
5795
5796 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5797
5798 * notifications.el (notifications-on-action-signal)
5799 (notifications-on-closed-signal): Check for unique service name of
5800 incoming event. Fix error in removing entry.
5801 (top): Register for signals with wildcard service name.
5802 (notifications-notify): Use daemon unique service name for map entries.
5803
5804 2012-03-04 Chong Yidong <cyd@gnu.org>
5805
5806 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5807
5808 2012-03-04 Glenn Morris <rgm@gnu.org>
5809
5810 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5811 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5812 (expand-abbrev, define-abbrev-table): Doc fixes.
5813
5814 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5815
5816 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5817 `message-default-send-mail-function' and not `send-mail-function'
5818 when doing the prompting for `sendmail-query-once' before sending
5819 in Message buffers (bug#10897).
5820
5821 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5822 This is inconsistent with all the other stream functions, which leave
5823 the setting up to the higher levels (if so wanted) (bug#10931).
5824
5825 2012-03-02 Alan Mackenzie <acm@muc.de>
5826
5827 Depessimize the handling of very large macros.
5828
5829 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5830 (c-macro-cache-syntactic): New variables to implement a one
5831 element macro cache.
5832 (c-invalidate-macro-cache): New function.
5833 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5834 Adapt to use the new cache.
5835 (c-state-safe-place): Use better the cache of safe positions.
5836 (c-state-semi-nonlit-pos-cache)
5837 (c-state-semi-nonlit-pos-cache-limit):
5838 New variables for...
5839 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5840 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
5841 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5842 Use c-state-semi-safe-place.
5843
5844 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5845 Add c-invalidate-macro-cache to the C, C++, Obj entries.
5846
5847 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
5848
5849 * jka-compr.el (jka-compr-call-process):
5850 Apply `file-accessible-directory-p' only when the default directory is
5851 not remote.
5852
5853 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
5854
5855 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5856 access of FILE2, if FILE1 does not exist.
5857
5858 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5859 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5860
5861 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5862 Add "PAGER=" to `process-environment'.
5863
5864 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5865
5866 * progmodes/sql.el: Bug fix
5867 (sql-get-login-ext): Save login values in globals.
5868 (sql-get-login): Use new version of `sql-get-login-ext'.
5869 (sql-interactive-mode): Set global `sql-connection' to nil.
5870 (sql-connect): Set global values for connection.
5871 (sql-product-interactive): Save global values as buffer local.
5872
5873 2012-02-29 Leo Liu <sdl.web@gmail.com>
5874
5875 * abbrev.el (define-abbrevs): Reset sys to nil.
5876
5877 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5878
5879 * files.el (file-equal-p): Rename from `files-equal-p'.
5880 Return nil when one or both files don't exist.
5881 (file-subdir-of-p): Now only top directory must exists,
5882 return nil if it doesn't.
5883 (copy-directory): No need to test with `file-subdir-of-p' after
5884 creating dir.
5885 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5886 to `file-equal-p'.
5887
5888 2012-02-28 Glenn Morris <rgm@gnu.org>
5889
5890 * shell.el (shell-mode):
5891 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5892 * play/landmark.el (landmark-font-lock-face-O):
5893 * play/handwrite.el (handwrite):
5894 * play/gomoku.el (gomoku-O):
5895 * net/browse-url.el (browse-url-browser-display):
5896 * international/mule.el (define-charset):
5897 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5898 * filesets.el (filesets-find-file-delay):
5899 * eshell/em-xtra.el (eshell-xtra):
5900 * eshell/em-unix.el (eshell-grep):
5901 * emulation/viper.el (viper-mode):
5902 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5903 * emacs-lisp/easymenu.el (easy-menu-define):
5904 * calendar/timeclock.el (timeclock-use-display-time):
5905 * bs.el (bs-mode):
5906 * bookmark.el (bookmark-save-flag):
5907 Doc fix (standardize possessive apostrophe usage).
5908
5909 2012-02-27 Chong Yidong <cyd@gnu.org>
5910
5911 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5912 Fix key-binding lookup for ESC key (Bug#9146).
5913
5914 * font-lock.el (font-lock-specified-p): Rename from
5915 font-lock-spec-present. Callers changed.
5916
5917 2012-02-27 Daniel Hackney <dan@haxney.org>
5918
5919 * emacs-lisp/package.el (package-compute-transaction):
5920 Handle holding a package version to t in package-load-list.
5921
5922 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
5923
5924 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5925 (tramp-get-inode, tramp-get-device): Use cached values.
5926
5927 2012-02-26 Alan Mackenzie <acm@muc.de>
5928
5929 Check there is a font-lock specification before doing initial
5930 fontification.
5931
5932 * font-core.el (font-lock-mode): Move the conditional from
5933 :after-hook to font-lock-initial-fontify.
5934 (font-lock-default-function): Move the check for a specification
5935 to font-lock-spec-present.
5936
5937 * font-lock.el (font-lock-initial-fontify): Call ...
5938 (font-lock-spec-present): New function.
5939
5940 2012-02-26 Jim Blandy <jimb@red-bean.com>
5941
5942 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5943 (gdb-send): Apply it to the operand of the '-interpreter-exec
5944 console' command, so that we can pass arguments with (say) quotes
5945 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5946
5947 2012-02-26 Chong Yidong <cyd@gnu.org>
5948
5949 * help-fns.el (describe-function-1): Clarify description of
5950 remapping (Bug#10844).
5951
5952 * files.el (files-equal-p): Doc fix.
5953 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5954 and quit the loop once a mismatch is found.
5955
5956 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5957
5958 * bs.el (bs--show-with-configuration): Don't throw an error
5959 if the window cannot be split; otherwise, subsequent calls to
5960 bs-show fail, restoring a stale window config. (Bug#10882)
5961
5962 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5963
5964 * term/ns-win.el (global-map): Bind ns-drag-file to
5965 ns-find-file (Bug#5855, Bug#10050).
5966
5967 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5968
5969 * calendar/parse-time.el (parse-time-string): Allow extractor to
5970 return nil.
5971
5972 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5973
5974 * net/tramp.el (tramp-file-name-for-operation):
5975 Add `files-equal-p' and `file-subdir-of-p'.
5976
5977 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5978 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5979 Add COPY-CONTENTS argument.
5980
5981 2012-02-25 Chong Yidong <cyd@gnu.org>
5982
5983 Add custom groups for VC backends, for consistency with vc-bzr.
5984
5985 * vc/vc-arch.el (vc-arch):
5986 * vc/vc-cvs.el (vc-cvs):
5987 * vc/vc-git.el (vc-git):
5988 * vc/vc-hg.el (vc-hg):
5989 * vc/vc-mtn.el (vc-mtn):
5990 * vc/vc-rcs.el (vc-rcs):
5991 * vc/vc-sccs.el (vc-sccs):
5992 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5993 All relevant defcustoms reassigned.
5994
5995 2012-02-25 Chong Yidong <cyd@gnu.org>
5996
5997 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5998
5999 * term/x-win.el (x-initialize-window-system): Reduce default for
6000 x-selection-timeout to 5 seconds (Bug#8869).
6001
6002 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6003
6004 * files.el (files-equal-p, file-subdir-of-p): New functions.
6005 (copy-directory): Error when trying to copy a directory on itself.
6006 Add missing copy-contents arg to tramp handler.
6007 * dired-aux.el (dired-copy-file-recursive): Same.
6008 (dired-create-files): Modify destination when source is equal to
6009 dest when copying files.
6010 Return also when dest is a subdir of source. (Bug#10489)
6011
6012 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6013
6014 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6015 (Bug#10874)
6016
6017 2012-02-23 Alan Mackenzie <acm@muc.de>
6018
6019 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6020 parameter "after-hook:" to allow the expansion to run code after
6021 the execution of the mode hooks.
6022
6023 * font-lock.el (font-lock-initial-fontify): New function extracted
6024 from font-lock-mode-internal.
6025
6026 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6027 :after-hook.
6028
6029 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6030
6031 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6032 (completion--cache-all-sorted-completions): New function.
6033 (completion-all-sorted-completions): Use it.
6034 (completion--do-completion, minibuffer-force-complete):
6035 Use it to re-instate the flush hook.
6036
6037 * icomplete.el (icomplete-completions): Replace last fix with a better
6038 one (bug#10850).
6039
6040 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6041
6042 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6043 when it might call us back infinitely (bug#10797).
6044
6045 2012-02-23 Glenn Morris <rgm@gnu.org>
6046
6047 * minibuffer.el (completion-category-overrides): Doc fix.
6048
6049 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6052 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6053
6054 2012-02-23 Glenn Morris <rgm@gnu.org>
6055
6056 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6057 (authors-obsolete-files-regexps, authors-ignored-files)
6058 (authors-ambiguous-files, authors-renamed-files-alist):
6059 Add more entries.
6060
6061 2012-02-23 Juri Linkov <juri@jurta.org>
6062
6063 * isearch.el (isearch-occur): Sync interactive spec with occur's
6064 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6065
6066 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6067
6068 2012-02-22 Juri Linkov <juri@jurta.org>
6069
6070 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6071 (ucs-insert): Doc fix. Check for hex digits in the string.
6072 Don't display `nil' in the error message. (Bug#10857)
6073
6074 2012-02-22 Alan Mackenzie <acm@muc.de>
6075
6076 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6077
6078 2012-02-22 Glenn Morris <rgm@gnu.org>
6079
6080 * ffap.el (ffap-c-path):
6081 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6082
6083 2012-02-22 Chong Yidong <cyd@gnu.org>
6084
6085 * custom.el (load-theme): Doc fix.
6086
6087 2012-02-22 Glenn Morris <rgm@gnu.org>
6088
6089 * dired-x.el (dired-guess-shell-alist-default):
6090 Remove escape sequences from nroff output. (Bug#172)
6091
6092 2012-02-21 Glenn Morris <rgm@gnu.org>
6093
6094 * vc/emerge.el (emerge-defvar-local):
6095 Set `permanent-local' property rather than unused `preserved'.
6096
6097 * textmodes/picture.el (picture-delete-char): New alias.
6098 (picture-mode-map): Use it. (Bug#10860)
6099 (picture-mode): Doc fix.
6100
6101 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6102
6103 * newcomment.el (uncomment-region-default): Remove unused binding.
6104
6105 2012-02-21 Glenn Morris <rgm@gnu.org>
6106
6107 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6108 (picture-self-insert, picture-tab-chars): Doc fix.
6109 (picture-mode-map): Fix C-a, C-e.
6110
6111 2012-02-20 Glenn Morris <rgm@gnu.org>
6112
6113 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6114
6115 2012-02-20 Leo Liu <sdl.web@gmail.com>
6116
6117 * icomplete.el (icomplete-completions): Check FROM arg before
6118 passing to substring (Bug#10850).
6119
6120 2012-02-19 Chong Yidong <cyd@gnu.org>
6121
6122 * comint.el: Require ansi-color.
6123 (comint-output-filter-functions): Add ansi-color-process-output.
6124
6125 * ansi-color.el: Don't set comint-output-filter-functions; it is
6126 now in the initial value defined in comint.el.
6127 (ansi-color-apply-face-function): New variable.
6128 (ansi-color-apply-on-region): Use it.
6129 (ansi-color-apply-overlay-face): New function.
6130
6131 * shell.el (shell): No need to require ansi-color.
6132 (shell-mode): Use ansi-color-apply-face-function to highlight
6133 color escapes using font-lock-face property (Bug#10835).
6134
6135 2012-02-19 Chong Yidong <cyd@gnu.org>
6136
6137 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6138 mode-line formats (Bug#10839).
6139
6140 2012-02-18 Glenn Morris <rgm@gnu.org>
6141
6142 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6143
6144 * mail/undigest.el (unforward-rmail-message): Doc fix.
6145
6146 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6147
6148 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6149
6150 * international/characters.el (script-list): Sync with the latest
6151 Unicode Character Database.
6152
6153 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6154
6155 * international/titdic-cnv.el: Remove duplicate coding tag.
6156 * language/cham.el: Likewise.
6157 * language/tai-viet.el: Likewise.
6158
6159 2012-02-18 Glenn Morris <rgm@gnu.org>
6160
6161 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6162 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6163 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6164 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6165 * calendar/holidays.el (holiday-bahai-holidays)
6166 (calendar-holidays, list-holidays):
6167 Use utf-8 Bahá'í in doc-strings, menus, etc.
6168
6169 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6170
6171 * saveplace.el (save-place-ignore-files-regexp): New variable
6172 allowing for excluding files from saving their location of point.
6173 The default value matches the temporary commit message editing
6174 files from Git, SVN, Bazaar, and Mercurial.
6175 (save-place-to-alist): Use it.
6176
6177 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6178 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * newcomment.el (uncomment-region-default): Don't leave extra space
6181 when an arg is provided (bug#8150).
6182
6183 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6184
6185 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6186
6187 2012-02-17 Glenn Morris <rgm@gnu.org>
6188
6189 * net/socks.el: Require network-stream. (Bug#10599)
6190
6191 2012-02-17 Kenichi Handa <handa@m17n.org>
6192
6193 * international/charprop.el:
6194 * international/uni-name.el:
6195 * international/uni-old-name.el:
6196 * international/uni-comment.el: Regenerate.
6197
6198 2012-02-16 Glenn Morris <rgm@gnu.org>
6199
6200 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6201 Interactively in calendar buffer, give an error if not on a date.
6202
6203 2012-02-15 Glenn Morris <rgm@gnu.org>
6204
6205 * shell.el (shell-delimiter-argument-list):
6206 Revert 2011-02-17 change. (Bug#8027)
6207
6208 2012-02-15 Chong Yidong <cyd@gnu.org>
6209
6210 * minibuffer.el (completion-at-point-functions): Doc fix.
6211
6212 * custom.el (defcustom): Doc fix; note use of defvar.
6213
6214 2012-02-15 Glenn Morris <rgm@gnu.org>
6215
6216 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6217 Doc fixes.
6218
6219 2012-02-14 Glenn Morris <rgm@gnu.org>
6220
6221 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6222
6223 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6224
6225 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6226 way the ports list is computed.
6227 (smtpmail-query-smtp-server): Prompt the user for a port number if
6228 we can't connect to any of the standard ports (bug#10810).
6229
6230 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6231
6232 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6233
6234 2012-02-13 Glenn Morris <rgm@gnu.org>
6235
6236 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6237
6238 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6239
6240 * net/gnutls.el (gnutls-trustfiles): New variable.
6241 (gnutls-negotiate): Use it.
6242
6243 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6244
6245 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6246 does its stuff if Gnus is running.
6247
6248 2012-02-13 Alan Mackenzie <acm@muc.de>
6249
6250 Fix a loop in c-set-fl-decl-start.
6251
6252 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6253 c-backward-syntactic-ws actually moves backwards.
6254
6255 2012-02-13 Leo Liu <sdl.web@gmail.com>
6256
6257 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6258 beginning so that all \C-o chars are removed.
6259
6260 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6261
6262 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6263
6264 2012-02-12 Alan Mackenzie <acm@muc.de>
6265
6266 Fix infinite loop with long macros.
6267 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6268
6269 2012-02-12 Chong Yidong <cyd@gnu.org>
6270
6271 * window.el (display-buffer): Doc fix (Bug#10785).
6272
6273 2012-02-12 Glenn Morris <rgm@gnu.org>
6274
6275 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6276 (x-disown-selection-internal, x-get-selection-internal):
6277 Sync docs with the xselect.c versions.
6278
6279 * allout-widgets.el: Add missing license notice.
6280
6281 2012-02-11 Glenn Morris <rgm@gnu.org>
6282
6283 * select.el (x-get-selection-internal, x-own-selection-internal)
6284 (x-disown-selection-internal):
6285 * x-dnd.el (x-get-selection-internal): Update declarations.
6286
6287 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6288
6289 * window.el (window-sides-slots):
6290 * tool-bar.el (tool-bar-position):
6291 * term/xterm.el (xterm-extra-capabilities):
6292 * ses.el (ses-self-reference-early-detection):
6293 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6294 (verilog-auto-wire-type)
6295 (verilog-auto-delete-trailing-whitespace)
6296 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6297 (verilog-auto-tieoff-declaration):
6298 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6299 (sql-oracle-statement-starters, sql-oracle-scan-on):
6300 * progmodes/prolog.el (prolog-align-comments-flag)
6301 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6302 (prolog-left-indent-regexp, prolog-paren-indent-p)
6303 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6304 (prolog-types, prolog-mode-specificators)
6305 (prolog-determinism-specificators, prolog-directives)
6306 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6307 (prolog-electric-dot-flag)
6308 (prolog-electric-dot-full-predicate-template)
6309 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6310 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6311 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6312 (prolog-program-switches, prolog-prompt-regexp)
6313 (prolog-debug-on-string, prolog-debug-off-string)
6314 (prolog-trace-on-string, prolog-trace-off-string)
6315 (prolog-zip-on-string, prolog-zip-off-string)
6316 (prolog-use-standard-consult-compile-method-flag)
6317 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6318 (prolog-imenu-max-lines, prolog-info-predicate-index)
6319 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6320 (prolog-char-quote-workaround):
6321 * progmodes/cc-vars.el (c-defun-tactic):
6322 * net/tramp.el (tramp-encoding-command-interactive)
6323 (tramp-local-end-of-line):
6324 * net/soap-client.el (soap-client):
6325 * net/netrc.el (netrc-file):
6326 * net/gnutls.el (gnutls):
6327 * minibuffer.el (completion-category-overrides)
6328 (completion-cycle-threshold)
6329 (completion-pcm-complete-word-inserts-delimiters):
6330 * man.el (Man-name-local-regexp):
6331 * mail/feedmail.el (feedmail-display-full-frame):
6332 * international/characters.el (glyphless-char-display-control):
6333 * eshell/em-ls.el (eshell-ls-date-format):
6334 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6335 (lisp-lambda-list-keyword-parameter-indentation)
6336 (lisp-lambda-list-keyword-parameter-alignment):
6337 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6338 * dired-x.el (dired-omit-verbose):
6339 * cus-theme.el (custom-theme-allow-multiple-selections):
6340 * calc/calc.el (calc-highlight-selections-with-faces)
6341 (calc-lu-field-reference, calc-lu-power-reference)
6342 (calc-note-threshold):
6343 * battery.el (battery-mode-line-limit):
6344 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6345 (archive-7z-update):
6346 * allout.el (allout-prefixed-keybindings)
6347 (allout-unprefixed-keybindings)
6348 (allout-inhibit-auto-fill-on-headline)
6349 (allout-flattened-numbering-abbreviation):
6350 * allout-widgets.el (allout-widgets-auto-activation)
6351 (allout-widgets-icons-dark-subdir)
6352 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6353 (allout-widgets-theme-dark-background)
6354 (allout-widgets-theme-light-background)
6355 (allout-widgets-item-image-properties-emacs)
6356 (allout-widgets-item-image-properties-xemacs)
6357 (allout-widgets-run-unit-tests-on-load)
6358 (allout-widgets-time-decoration-activity)
6359 (allout-widgets-hook-error-post-time)
6360 (allout-widgets-track-decoration):
6361 Add missing :version tags to new defcustoms and defgroups.
6362
6363 * progmodes/sql.el (sql-ansi-statement-starters)
6364 (sql-oracle-statement-starters): Add custom type.
6365
6366 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6367 (prolog-system-version): Give it a type.
6368
6369 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6370
6371 * term/pc-win.el (x-select-text, x-selection-owner-p)
6372 (x-own-selection-internal, x-disown-selection-internal)
6373 (x-get-selection-internal): Sync doc strings and argument lists
6374 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6375
6376 2012-02-11 Leo Liu <sdl.web@gmail.com>
6377
6378 * progmodes/python.el (python-end-of-statement): Fix infinite
6379 loop. (Bug#10788)
6380
6381 2012-02-10 Glenn Morris <rgm@gnu.org>
6382
6383 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6384 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6385
6386 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6387
6388 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6389 about SMTP before checking the From header.
6390
6391 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6392 into own function for reuse by emacsbug.el.
6393
6394 2012-02-10 Leo Liu <sdl.web@gmail.com>
6395
6396 * subr.el (condition-case-unless-debug): Rename from
6397 condition-case-no-debug. All callers changed.
6398 (with-demoted-errors): Fix caller.
6399
6400 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6401 * nxml/rng-valid.el (rng-do-some-validation):
6402 * emacs-lisp/package.el (package-refresh-contents)
6403 (package-menu-execute):
6404 * desktop.el (desktop-create-buffer):
6405 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6406
6407 2012-02-10 Glenn Morris <rgm@gnu.org>
6408
6409 * textmodes/bibtex.el:
6410 Add missing :version tags for new/changed defcustoms.
6411
6412 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6413
6414 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6415
6416 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6417 (smtpmail-via-smtp): Use it, or fall back on the From address.
6418 (smtpmail-send-it): Ditto.
6419
6420 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6423 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6424 (byte-compile-tmp-var): New const.
6425 (byte-compile-defvar): Use it to minimize .elc size.
6426 Just use `defvar' rather than simulate it (bug#10761).
6427
6428 2012-02-09 Glenn Morris <rgm@gnu.org>
6429
6430 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6431
6432 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6433 Add :version tags.
6434
6435 * progmodes/compile.el (compilation-error-screen-columns)
6436 (compilation-first-column, compilation-filter-start): Doc fixes.
6437
6438 * vc/log-view.el (log-view-toggle-entry-display):
6439 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6440
6441 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6442 (report-emacs-bug-can-use-xdg-email):
6443 (report-emacs-bug-insert-to-mailer): Doc fixes.
6444 (report-emacs-bug): Message fix.
6445
6446 * net/browse-url.el (browse-url-can-use-xdg-open)
6447 (browse-url-xdg-open): Doc fixes.
6448
6449 * electric.el (electric-indent-mode, electric-pair-mode)
6450 (electric-layout-rules, electric-layout-mode): Doc fixes.
6451 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6452
6453 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6454
6455 * server.el (server-unselect-display): Don't inadvertently kill
6456 the current buffer. (Bug#10729)
6457
6458 2012-02-08 Glenn Morris <rgm@gnu.org>
6459
6460 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6461 (sql-list-table): Doc fixes.
6462
6463 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6464 Comment out (does nothing).
6465
6466 * completion.el (dynamic-completion-mode):
6467 * dirtrack.el (dirtrack-debug-mode):
6468 * electric.el (electric-layout-mode):
6469 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6470 * face-remap.el (text-scale-mode, buffer-face-mode):
6471 * iimage.el (iimage-mode):
6472 * image-mode.el (image-transform-mode):
6473 * minibuffer.el (completion-in-region-mode):
6474 * scroll-lock.el (scroll-lock-mode):
6475 * simple.el (next-error-follow-minor-mode):
6476 * tar-mode.el (tar-subfile-mode):
6477 * tooltip.el (tooltip-mode):
6478 * vcursor.el (vcursor-use-vcursor-map):
6479 * wid-browse.el (widget-minor-mode):
6480 * emulation/tpu-edt.el (tpu-edt-mode):
6481 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6482 * international/iso-ascii.el (iso-ascii-mode):
6483 * language/thai-util.el (thai-word-mode):
6484 * mail/supercite.el (sc-minor-mode):
6485 * net/goto-addr.el (goto-address-mode):
6486 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6487 * progmodes/cwarn.el (cwarn-mode):
6488 * progmodes/flymake.el (flymake-mode):
6489 * progmodes/glasses.el (glasses-mode):
6490 * progmodes/hideshow.el (hs-minor-mode):
6491 * progmodes/pascal.el (pascal-outline-mode):
6492 * textmodes/enriched.el (enriched-mode):
6493 * vc/smerge-mode.el (smerge-mode):
6494 Doc fixes (minor mode argument).
6495
6496 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6497
6498 * ls-lisp.el (ls-lisp-sanitize): New function.
6499 (ls-lisp-insert-directory): Use it to fix or remove any elements
6500 in file-alist with missing attributes. (Bug#4673)
6501
6502 2012-02-07 Alan Mackenzie <acm@muc.de>
6503
6504 Fix spurious recognition of c-in-knr-argdecl.
6505
6506 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6507 putative K&R region.
6508
6509 2012-02-07 Alan Mackenzie <acm@muc.de>
6510
6511 * progmodes/cc-engine.el (c-forward-objc-directive):
6512 Prevent looping in "#pragma mark @implementation".
6513
6514 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6515
6516 * notifications.el (notifications-on-closed-signal): Make `reason'
6517 optional. (Bug#10744)
6518
6519 2012-02-07 Glenn Morris <rgm@gnu.org>
6520
6521 * emacs-lisp/easy-mmode.el (define-minor-mode):
6522 Doc fixes for the macro and the mode it defines.
6523
6524 * image.el (imagemagick-types-inhibit): Doc fix.
6525
6526 * cus-start.el (imagemagick-render-type): Add it.
6527
6528 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6529
6530 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6531 Set the default at load time, too, so that `font-lock-fontify-buffer'
6532 can be called without setting up the entire mode first. This fixes
6533 a bug in `mm-inline-text' with C MIME parts.
6534
6535 2012-02-06 Chong Yidong <cyd@gnu.org>
6536
6537 * simple.el (list-processes--refresh): Delete exited processes
6538 (Bug#8094).
6539
6540 * comint.el (comint-next-prompt): next-single-char-property-change
6541 and prev-single-char-property-change never return nil (Bug#8657).
6542
6543 * custom.el (defcustom): Doc fix (Bug#9711).
6544
6545 2012-02-05 Chong Yidong <cyd@gnu.org>
6546
6547 * cus-edit.el (custom-variable-reset-backup): Quote the value
6548 before storing it in the customized-value property (Bug#6712).
6549 (custom-display): Add a customization type tag.
6550 (custom-buffer-create-internal): Improve tooltip message.
6551
6552 * wid-edit.el (widget-field-value-get): New optional arg to
6553 suppress trailing whitespace truncation.
6554 (character): Use it (Bug#2689).
6555
6556 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6557
6558 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6559 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6560
6561 2012-02-05 Chong Yidong <cyd@gnu.org>
6562
6563 * cus-edit.el (custom-variable-value-create): For mismatched
6564 types, show the current value (Bug#7600).
6565
6566 * custom.el (defcustom): Doc fix.
6567
6568 2012-02-05 Glenn Morris <rgm@gnu.org>
6569
6570 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6571
6572 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6573
6574 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6575 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6576 (pp-last-sexp): Use `looking-at-p'.
6577
6578 2012-02-04 Glenn Morris <rgm@gnu.org>
6579
6580 * files.el (revert-buffer):
6581 Doc fix (mention revert-buffer-in-progress-p).
6582
6583 * emacs-lisp/ert-x.el (ert-simulate-command):
6584 Check deferred-action-list (which is obsolete) is bound.
6585
6586 * subr.el (with-wrapper-hook): Doc fixes.
6587
6588 * simple.el (filter-buffer-substring-functions)
6589 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6590
6591 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6592
6593 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6594 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6595
6596 2012-02-04 Leo Liu <sdl.web@gmail.com>
6597
6598 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6599
6600 2012-02-04 Glenn Morris <rgm@gnu.org>
6601
6602 * image.el (image-extension-data): Add obsolete alias.
6603
6604 * isearch.el (isearch-update): Doc fix.
6605
6606 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6607
6608 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6609
6610 2012-02-03 Glenn Morris <rgm@gnu.org>
6611
6612 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6613 (image-animate-timeout): Doc fix.
6614
6615 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6616
6617 2012-02-02 Glenn Morris <rgm@gnu.org>
6618
6619 * server.el (server-auth-dir): Doc fix.
6620 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6621
6622 * subr.el (run-mode-hooks): Doc fix.
6623
6624 2012-02-02 Juri Linkov <juri@jurta.org>
6625
6626 * image-mode.el (image-toggle-display-image): Remove tautological
6627 `major-mode' from the `derived-mode-p' test.
6628
6629 2012-02-02 Kenichi Handa <handa@m17n.org>
6630
6631 * composite.el (compose-region): Cancel previous change.
6632
6633 2012-02-02 Kenichi Handa <handa@m17n.org>
6634
6635 * composite.el (compose-region, compose-string): Signal error for
6636 a null string component (Bug#6988).
6637
6638 2012-02-01 Chong Yidong <cyd@gnu.org>
6639
6640 * view.el (view-buffer-other-window, view-buffer-other-frame):
6641 Handle special modes like view-buffer (Bug#10650).
6642 (view-buffer): Simplify.
6643
6644 * frame.el (set-frame-font): Tweak meaning of third argument.
6645
6646 * dynamic-setting.el (font-setting-change-default-font):
6647 Use set-frame-font (Bug#9982).
6648
6649 2012-02-01 Glenn Morris <rgm@gnu.org>
6650
6651 * progmodes/compile.el (compilation-internal-error-properties):
6652 Respect compilation-first-column in the "*compilation*" buffer.
6653
6654 * emacs-lisp/easy-mmode.el (define-minor-mode):
6655 Relax :variable's test for a named function.
6656
6657 2012-01-31 Alan Mackenzie <acm@muc.de>
6658
6659 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6660 off by one error.
6661
6662 2012-01-31 Chong Yidong <cyd@gnu.org>
6663
6664 * frame.el (set-frame-font): New arg ALL-FRAMES.
6665
6666 * menu-bar.el (menu-set-font): Use set-frame-font.
6667
6668 * faces.el (face-spec-reset-face): Don't apply unspecified
6669 attribute values to the default face.
6670
6671 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6672
6673 * progmodes/cwarn.el (cwarn): Remove dead link.
6674 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6675 Remove * from defcustom docstrings.
6676 (turn-on-cwarn-mode): Make obsolete.
6677 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6678 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6679
6680 2012-01-31 Glenn Morris <rgm@gnu.org>
6681
6682 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6683 Fix :variable handling of mode a symbol not equal to modefun.
6684 Allow named functions to be used as the cdr of :variable.
6685
6686 2012-01-30 Glenn Morris <rgm@gnu.org>
6687
6688 * emacs-lisp/authors.el (authors-fixed-entries):
6689 Remove reference to deleted file rnewspost.el.
6690
6691 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6692
6693 * window.el (window-with-parameter): Remove unused variable `windows'.
6694 (window--side-check): Remove unused variable `code'.
6695 (window--resize-siblings): Remove unused variable `first'.
6696 (adjust-window-trailing-edge): Remove unused variable `failed'.
6697 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6698 Use `let', not `let*'.
6699 (balance-windows-2): Remove unused variable `found'.
6700 (window--state-put-2): Remove unused variable `splits'.
6701 (window-state-put): Remove unused variable `selected'.
6702 (same-window-p): Use `string-match-p'.
6703 (display-buffer-assq-regexp): Remove unused variable `value'.
6704 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6705 Mark argument ALIST as ignored.
6706 (pop-to-buffer): Remove unused variable `old-window'.
6707
6708 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6709
6710 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6711 and .lzma compressed files.
6712
6713 2012-01-29 Chong Yidong <cyd@gnu.org>
6714
6715 * frame.el (window-system-default-frame-alist): Doc fix.
6716
6717 * dynamic-setting.el (font-setting-change-default-font): Don't
6718 change the default face if SET-FONT argument is non-nil (Bug#9982).
6719
6720 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6721
6722 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6723
6724 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6725
6726 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6727 breakpoints in files outside current directory (Bug#6098).
6728
6729 2012-01-29 Chong Yidong <cyd@gnu.org>
6730
6731 * progmodes/python.el: Require ansi-color at top-level.
6732
6733 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6734 Define and use in Emacs Lisp mode (Bug#9360).
6735 (lisp-mode-abbrev-table): Add doc.
6736 (lisp-mode-variables): Don't set local-abbrev-table.
6737 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6738
6739 2012-01-28 Roland Winkler <winkler@gnu.org>
6740
6741 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6742
6743 2012-01-28 Roland Winkler <winkler@gnu.org>
6744
6745 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6746 (bibtex-set-dialect): Use it. Either set global values of
6747 dialect-dependent variables or bind these variables buffer-locally
6748 (Bug#10254).
6749 (bibtex-mode): Call bibtex-set-dialect via
6750 hack-local-variables-hook.
6751 (bibtex-dialect): Update docstring.
6752 Add safe-local-variable predicate.
6753 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6754 bibtex-set-dialect.
6755 (bibtex-mode-map): Define menu for each dialect.
6756 (bibtex-entry): Fix docstring.
6757
6758 2012-01-28 Chong Yidong <cyd@gnu.org>
6759
6760 * eshell/esh-arg.el (eshell-quote-argument): New function.
6761
6762 * eshell/esh-ext.el (eshell-invoke-batch-file):
6763 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6764 first arg to eshell-parse-command (Bug#10523).
6765
6766 2012-01-28 Drew Adams <drew.adams@oracle.com>
6767
6768 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6769 `default-directory' is non-nil.
6770
6771 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6772
6773 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6774 line that displays system-configuration-options. (Bug#9924)
6775
6776 2012-01-28 Drew Adams <drew.adams@oracle.com>
6777
6778 * descr-text.el (describe-char): Show information about POS, in
6779 addition to information about the character at POS. Improve and
6780 update the doc string. Change "code point" to "code point in
6781 charset", to avoid confusion with the character's Unicode code
6782 point shown above that. (Bug#10129)
6783
6784 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6785
6786 * descr-text.el (describe-char): Show the raw character, not only
6787 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6788 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6789 for the reasons.
6790
6791 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6792
6793 * emacs-lisp/package.el (package-install):
6794 Run package-refresh-contents if there is no archive yet (Bug#9798).
6795
6796 2012-01-28 Chong Yidong <cyd@gnu.org>
6797
6798 * emacs-lisp/package.el (package-maybe-load-descriptor):
6799 New function, split from package-maybe-load-descriptor.
6800 (package-maybe-load-descriptor): Use it.
6801 (package-download-transaction): Fully load required packages
6802 inside the loop, so that `require' calls work (Bug#10593).
6803 (package-install): No need to call package-initialize now.
6804
6805 2012-01-28 Chong Yidong <cyd@gnu.org>
6806
6807 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6808
6809 * tooltip.el (tooltip-mode): Doc fix.
6810 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6811
6812 * frame.el (set-cursor-color): Doc fix (Bug#352).
6813
6814 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6815 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6816
6817 * cus-edit.el (custom-buffer-create-internal): Fix search button
6818 action (Bug#10542).
6819 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6820
6821 2012-01-27 Eduard Wiebe <usenet@pusto.de>
6822
6823 * dired.el (dired-mark-files-regexp):
6824 Include any subdirectory components. (Bug#10445)
6825
6826 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6827
6828 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6829 Handle [host]:port syntax. (Bug#10533)
6830
6831 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
6832
6833 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6834
6835 2012-01-26 Glenn Morris <rgm@gnu.org>
6836
6837 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6838 * term.el (term-raw-escape-map): Use Control-X-prefix.
6839 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6840
6841 2012-01-25 Martin Rudalics <rudalics@gmx.at>
6842
6843 * window.el (window-state-get, window--state-get-1): Don't deal
6844 with fixed-sizeness of windows. Simplify code.
6845
6846 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6847
6848 * window.el (window--state-get-1, window--state-put-2):
6849 Don't save and restore the mark.
6850
6851 2012-01-25 Chong Yidong <cyd@gnu.org>
6852
6853 * custom.el (custom-variable-p): Doc fix.
6854
6855 2012-01-25 Glenn Morris <rgm@gnu.org>
6856
6857 * dired.el (dired-goto-file): Handle some of the more common
6858 characters that `ls -b' escapes. (Bug#10596)
6859
6860 * progmodes/compile.el (compilation-next-error-function):
6861 Respect compilation-first-column in the "*compilation*" buffer.
6862 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6863
6864 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6865
6866 2012-01-24 Glenn Morris <rgm@gnu.org>
6867
6868 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6869
6870 2012-01-24 Julien Danjou <julien@danjou.info>
6871
6872 * color.el (color-rgb-to-hsl): Fix value computing.
6873 (color-hue-to-rgb): New function.
6874 (color-hsl-to-rgb): New function.
6875 (color-clamp, color-saturate-hsl, color-saturate-name)
6876 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6877 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6878
6879 2012-01-24 Glenn Morris <rgm@gnu.org>
6880
6881 * vc/vc-rcs.el (vc-rcs-create-tag):
6882 * vc/vc-sccs.el (vc-sccs-create-tag):
6883 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6884
6885 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6886
6887 * eshell/esh-util.el (eshell-read-hosts-file):
6888 Skip comment lines. (Bug#10549)
6889
6890 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6891
6892 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
6893
6894 * subr.el (display-delayed-warnings): Doc fix.
6895 (collapse-delayed-warnings): New function to collapse identical
6896 adjacent warnings.
6897 (delayed-warnings-hook): Add it.
6898
6899 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
6900
6901 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6902
6903 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6904 (tramp-default-user-alist): Don't add "pscp".
6905 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6906 property "login-as", if set. (Bug#10530)
6907
6908 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
6909
6910 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6911 "plink1" and "psftp". (Bug#10530)
6912
6913 2012-01-21 Kenichi Handa <handa@m17n.org>
6914
6915 * international/mule-cmds.el (prefer-coding-system): Show a
6916 warning message if the default value of file-name-coding-system
6917 was not changed.
6918
6919 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6920
6921 * windmove.el (windmove-reference-loc):
6922 Fix windmove-reference-loc miscalculation.
6923
6924 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6925
6926 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6927 default unit.
6928
6929 2012-01-21 Glenn Morris <rgm@gnu.org>
6930
6931 * international/mule.el (auto-coding-alist): Add .tbz.
6932
6933 * files.el (local-enable-local-variables): Doc fix.
6934 (inhibit-local-variables-regexps): Rename from
6935 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6936 Doc fix. Add some extensions from auto-coding-alist.
6937 (inhibit-local-variables-suffixes):
6938 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6939 (inhibit-local-variables-p):
6940 New function, extracted from set-auto-mode-1.
6941 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6942 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6943 (hack-local-variables): Doc fix. Make the mode-only case
6944 respect enable-local-variables and friends.
6945 Respect inhibit-local-variables-regexps for file-locals, but
6946 not for directory-locals.
6947 (set-visited-file-name):
6948 Take account of inhibit-local-variables-regexps.
6949 Whether it applies may change as the file name is changed.
6950 * jka-cmpr-hook.el (jka-compr-install):
6951 * jka-compr.el (jka-compr-uninstall):
6952 Update for inhibit-first-line-modes-suffixes name change.
6953
6954 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6955
6956 * help-macro.el (make-help-screen): Temporarily restore original
6957 binding for minor-mode-map-alist (Bug#10454).
6958
6959 2012-01-19 Julien Danjou <julien@danjou.info>
6960
6961 * color.el (color-name-to-rgb): Use the white color to find the max
6962 color component value and return correctly computed values.
6963 (color-name-to-rgb): Add missing float conversion for max value.
6964
6965 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6966
6967 * window.el (window--state-get-1, window-state-get): Do not use
6968 special state value for window-persistent-parameters.
6969 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6970 (window--state-put-2): Reset all window parameters to nil before
6971 assigning values of persistent parameters.
6972
6973 2012-01-18 Alan Mackenzie <acm@muc.de>
6974
6975 Eliminate sluggishness and hangs in fontification of "semicolon
6976 deserts".
6977
6978 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6979 Change value 10000 -> 3000.
6980 (c-state-safe-place): Reformulate so it doesn't stack up an
6981 infinite number of wrong entries in c-state-nonlit-pos-cache.
6982 (c-determine-limit-get-base, c-determine-limit): New functions to
6983 determine backward search limits disregarding literals.
6984 (c-find-decl-spots): Amend commenting.
6985 (c-cheap-inside-bracelist-p): New function which detects "={".
6986
6987 * progmodes/cc-fonts.el
6988 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6989 backward search.
6990 (c-font-lock-declarations): Fix an occurrence of point being
6991 undefined. Check additionally for point being in a bracelist or
6992 near a macro invocation without a semicolon so as to avoid a
6993 fruitless time consuming search for a declarator. Give a more
6994 precise search limit for declarators using the new
6995 c-determine-limit.
6996
6997 2012-01-18 Glenn Morris <rgm@gnu.org>
6998
6999 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7000 (set-auto-mode): Doc fixes.
7001
7002 2012-01-17 Glenn Morris <rgm@gnu.org>
7003
7004 * isearch.el (search-nonincremental-instead): Fix doc typo.
7005
7006 * dired.el (dired-insert-directory): Handle newlines in directory name.
7007 (dired-build-subdir-alist): Unescape newlines in directory name.
7008
7009 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7010
7011 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7012 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7013 (tramp-action-terminal): Use it. (Bug#10530)
7014
7015 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7016
7017 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7018
7019 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7020
7021 * window.el (window-state-ignored-parameters): Remove variable.
7022 (window--state-get-1): Rename argument MARKERS to IGNORE.
7023 Handle persistent window parameters. Make copy of clone-of
7024 parameter only if requested. (Bug#10348)
7025 (window--state-put-2): Install a window parameter only if it has
7026 a non-nil value or an existing parameter shall be overwritten.
7027
7028 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7029
7030 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7031
7032 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7033
7034 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7035 don't pass the (nil) value of `upnode' to string-match.
7036
7037 2012-01-14 Chong Yidong <cyd@gnu.org>
7038
7039 * startup.el (command-line): Fix X resource class for cursorColor.
7040 Fix values recognized by the cursorBlink resource.
7041
7042 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7043
7044 * epg.el (epg--make-temp-file): Avoid permission race condition
7045 when running on old Emacs versions (bug#10403).
7046
7047 2012-01-14 Glenn Morris <rgm@gnu.org>
7048
7049 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7050
7051 2012-01-13 Alan Mackenzie <acm@muc.de>
7052
7053 Fix filling for when filladapt mode is enabled.
7054
7055 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7056 c-mask-paragraph, pass in `fill-paragraph' rather than
7057 `fill-region-as-paragraph'. (This is a reversion of a previous
7058 change.)
7059 * progmodes/cc-mode.el (c-basic-common-init):
7060 Make fill-paragraph-handle-comment buffer local and set it to nil.
7061
7062 2012-01-13 Glenn Morris <rgm@gnu.org>
7063
7064 * dired.el (dired-switches-escape-p): New function.
7065 (dired-insert-directory): Use dired-switches-escape-p.
7066 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7067
7068 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7069
7070 2012-01-12 Glenn Morris <rgm@gnu.org>
7071
7072 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7073 changes in adaptive-fill-regexp. (Bug#10276)
7074
7075 2012-01-11 Alan Mackenzie <acm@muc.de>
7076
7077 Fix Emacs bug #10463 - put `widen's around the critical spots.
7078
7079 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7080 widen around each invocation of c-state-pp-to-literal. Remove an
7081 unused let variable.
7082
7083 2012-01-11 Glenn Morris <rgm@gnu.org>
7084
7085 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7086 Doc fix.
7087
7088 2012-01-10 Chong Yidong <cyd@gnu.org>
7089
7090 * net/network-stream.el (network-stream-open-starttls):
7091 Avoid emitting a confusing error message when the server gives a bad
7092 response to the capability command.
7093
7094 2012-01-10 Glenn Morris <rgm@gnu.org>
7095
7096 * mail/unrmail.el (unrmail): Tweak previous change.
7097
7098 2012-01-09 Chong Yidong <cyd@gnu.org>
7099
7100 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7101
7102 2012-01-08 Alan Mackenzie <acm@muc.de>
7103
7104 Optimise font locking in long enum definitions.
7105
7106 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7107 arm to a cond form to handle enums.
7108 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7109 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7110
7111 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7112
7113 * files.el (move-file-to-trash): Preserve default file modes on error.
7114 (Bug#10401)
7115
7116 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7117
7118 * faces.el (set-face-attribute): Clarify the meaning of the nil
7119 frame (bug#10294).
7120
7121 * subr.el (with-selected-frame): Mention that the selected frame
7122 is restored (bug#9980).
7123
7124 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7125 (bug#9759).
7126
7127 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7128 (password-read): Don't autoload unused function.
7129
7130 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7131
7132 * progmodes/which-func.el (which-func-mode): Turn into a
7133 non-interactive function and mark as obsolete (bug#10428).
7134
7135 2012-01-06 Chong Yidong <cyd@gnu.org>
7136
7137 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7138 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7139 functions, along with 1 and -1.
7140
7141 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7142
7143 * time.el (display-time-load-average)
7144 (display-time-default-load-average): Doc fixes. See the thread
7145 starting at
7146 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7147 for the details.
7148
7149 2012-01-06 Glenn Morris <rgm@gnu.org>
7150
7151 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7152 has no messages. (Bug#10377)
7153
7154 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7155 than Info-edit. (Bug#10385)
7156
7157 * time.el (display-time-load-average, display-time-next-load-average):
7158 Doc fixes.
7159
7160 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7161 local setting of buffer-read-only to the input buffer. (Bug#10419)
7162
7163 * calendar/calendar.el (calendar-mode):
7164 Locally set scroll-margin to 0. (Bug#10379)
7165
7166 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7167
7168 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7169
7170 2012-01-05 Glenn Morris <rgm@gnu.org>
7171
7172 * eshell/em-unix.el (diff-no-select): Autoload it.
7173 (eshell/diff): Use diff-no-select. (Bug#10420)
7174
7175 2012-01-05 Chong Yidong <cyd@gnu.org>
7176
7177 * shell.el (shell-dynamic-complete-functions): Revert last change.
7178 (shell-command-completion-function): New function.
7179 (shell-completion-vars): Use it to implement
7180 shell-completion-execonly (Bug#10417).
7181
7182 * custom.el (enable-theme): Don't set custom-safe-themes.
7183
7184 * cus-theme.el (custom-theme-merge-theme):
7185 Ignore custom-enabled-themes and custom-safe-themes.
7186
7187 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7188
7189 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7190 first prompt in `sql-interacive-mode'.
7191 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7192 keywords.
7193 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7194 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7195 context of original buffer. Invoke `sql-login-hook'.
7196
7197 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7198
7199 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7200 letters in cite-prefix.
7201
7202 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7203
7204 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7205
7206 2012-01-03 Chong Yidong <cyd@gnu.org>
7207
7208 * shell.el (shell-dynamic-complete-functions):
7209 Put pcomplete-completions-at-point, so as to try
7210 comint-filename-completion first (Bug#10417).
7211
7212 2012-01-02 Richard Stallman <rms@gnu.org>
7213
7214 * battery.el (battery-status-function):
7215 Detect when to use battery-yeeloong-sysfs.
7216 (battery-echo-area-format): Add string for Yeeloong.
7217 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7218 (battery-yeeloong-sysfs): New function.
7219
7220 2012-01-02 Chong Yidong <cyd@gnu.org>
7221
7222 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7223 (dirtrack): Merge code for handling relative filenames in prompt
7224 from shell-dir-cookie-watcher.
7225 (dirtrack-debug-message): New arg to avoid excess format calls.
7226
7227 * shell.el (shell-dir-cookie-re): Variable deleted.
7228 (shell-dir-cookie-watcher): Function deleted.
7229 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7230 with dirtrack-mode.
7231
7232 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7233
7234 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7235 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7236 libgnutls-26.dll.
7237
7238 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7239
7240 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7241
7242 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7243
7244 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7245 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7246
7247 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7248
7249 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7250 also for alternative shells.
7251 (tramp-open-connection-setup-interactive-shell): Check, whether
7252 the shell is a busybox.
7253 (tramp-send-command): Don't suppress multiple prompts for
7254 busyboxes, it hurts.
7255
7256 2011-12-28 Chong Yidong <cyd@gnu.org>
7257
7258 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7259 (gdb-get-source-file): Move mode line update to
7260 gdb-get-source-file (Bug#10087).
7261
7262 2011-12-25 Chong Yidong <cyd@gnu.org>
7263
7264 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7265 gud-gdb-marker-filter without taking it as an argument.
7266 (gud-gdb-run-command-fetch-lines): Caller changed.
7267 (gud-gdb-completion-function): New variable.
7268 (gud-gdb-completion-at-point): Use it.
7269 (gud-gdb-completions-1): Split from gud-gdb-completions.
7270
7271 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7272 function as separate arguments.
7273 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7274 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7275 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7276 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7277 (gdb-stopped, def-gdb-auto-update-trigger)
7278 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7279 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7280 Callers changed.
7281 (gud-gdbmi-completions): New function.
7282 (gdb): Use it for generating the completion table.
7283
7284 2011-12-24 Alan Mackenzie <acm@muc.de>
7285
7286 Introduce a mechanism to widen the region used in context font
7287 locking. Use this to protect declarations from losing their contexts.
7288
7289 * progmodes/cc-langs.el (c-before-font-lock-functions):
7290 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7291 (c-before-context-fontification-functions): New defvar, a list of
7292 functions to be run just before context (etc.) font locking.
7293
7294 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7295 New, functionality extracted from
7296 c-neutralize-syntax-in-and-mark-CPP.
7297 (c-in-after-change-fontification): New variable.
7298 (c-after-change): Set c-in-after-change-fontification.
7299 (c-set-fl-decl-start): Rejig its interface, so it can be called
7300 from both after-change and context fontifying.
7301 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7302 New functions.
7303 (c-standard-font-lock-fontify-region-function): New variable.
7304 (c-font-lock-fontify-region): New function.
7305
7306 2011-12-24 Juri Linkov <juri@jurta.org>
7307
7308 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7309 (Bug#10348)
7310
7311 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7312
7313 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7314 existence of source file. (Bug#10325)
7315
7316 2011-12-23 Alan Mackenzie <acm@muc.de>
7317
7318 Fix unstable fontification inside templates.
7319
7320 * progmodes/cc-langs.el (c-before-font-lock-functions):
7321 Newly created from the singular version. The (c c++ objc) entry now
7322 additionally has c-set-fl-decl-start. The other languages (apart
7323 from AWK) have that as a single entry.
7324
7325 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7326 The functionality for "local" declarations has been extracted to
7327 c-set-fl-decl-start.
7328
7329 * progmodes/cc-mode.el (c-common-init, c-after-change):
7330 Changes due to pluralisation of c-before-font-lock-functions.
7331 (c-set-fl-decl-start): New function, extracted from
7332 c-font-lock-enclosing-decls and enhanced.
7333
7334 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7335
7336 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7337
7338 2011-12-22 Juri Linkov <juri@jurta.org>
7339
7340 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7341
7342 2011-12-22 Chong Yidong <cyd@gnu.org>
7343
7344 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7345
7346 2011-12-21 Drew Adams <drew.adams@oracle.com>
7347
7348 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7349
7350 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7351
7352 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7353
7354 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7355
7356 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7357 highlighting and support. Fix up comments for capitalization.
7358 (cfengine-mode-debug): New var.
7359 (cfengine3-mode): Change the modeline indicator to "CFE3".
7360 (cfengine3-font-lock-keywords): Improve defun highlighting.
7361 (cfengine2-actions): Rename from `cfengine-actions'.
7362 (cfengine2-font-lock-keywords): Rename from
7363 `cfengine-font-lock-keywords'.
7364 (cfengine2-imenu-expression): Rename from
7365 `cfengine-imenu-expression'.
7366 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7367 (cfengine2-beginning-of-defun): Rename from
7368 `cfengine-beginning-of-defun'.
7369 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7370 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7371 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7372 modeline indicator to "CFE2".
7373 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7374 (cfengine-mode-abbrevs): Mark obsolete.
7375
7376 2011-12-21 Chong Yidong <cyd@gnu.org>
7377
7378 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7379 filename argument.
7380
7381 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7382
7383 * window.el (window-normalize-buffer-to-display): Remove.
7384 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7385
7386 2011-12-19 Chong Yidong <cyd@gnu.org>
7387
7388 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7389 Don't signal an error in a predicate function; return non-nil.
7390 (vc-dir-mark-file): Move the error here.
7391 (vc-dir-mark-unmark): If acting on the region, keep going if one
7392 of the entries cannot be marked/unmarked.
7393 (vc-dir-mark-all-files): If current entry is a directory, mark
7394 only child files, as documented.
7395
7396 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7397
7398 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7399 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7400 addition.
7401
7402 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7403
7404 * term/ns-win.el (ns-get-selection-internal)
7405 (ns-store-selection-internal): Declare.
7406 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7407 Declare as obsolete.
7408 (ns-get-pasteboard, ns-paste-secondary):
7409 Use ns-get-selection-internal.
7410 (ns-set-pasteboard, ns-copy-including-secondary):
7411 Use ns-store-selection-internal.
7412
7413 2011-12-17 Chong Yidong <cyd@gnu.org>
7414
7415 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7416 (vc-deduce-fileset): Doc fix.
7417
7418 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7419
7420 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7421
7422 2011-12-13 Sam Steingold <sds@gnu.org>
7423
7424 * man.el (Man-getpage-in-background): When running under a
7425 window-system, ignore $MANWIDTH and $COLUMNS.
7426
7427 2011-12-15 Kenichi Handa <handa@m17n.org>
7428
7429 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7430 (setup-ethiopic-environment-internal): Comment out key-binding for
7431 ethio-toggle-punctuation.
7432
7433 2011-12-13 Alan Mackenzie <acm@muc.de>
7434
7435 Add the switch statement to AWK Mode.
7436
7437 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7438 "default" to the keywords regexp.
7439
7440 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7441 expression as the rest.
7442 (c-nonlabel-token-key): Allow string literals for AWK.
7443 Refactor for the other modes.
7444
7445 Large brace-block initialisation makes CC Mode slow: Fix.
7446 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7447 routines. Limit backward searching in c-font-lock-enclosing.decl.
7448
7449 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7450 pp-state and literal type in addition to the limits.
7451 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7452 (c-state-literal-at): Use the above new defun.
7453 (c-slow-in-literal, c-fast-in-literal): Remove.
7454 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7455
7456 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7457 being in a literal. Add a limit for backward searching.
7458
7459 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7460 c-slow-in-literal.
7461
7462 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7465
7466 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7467
7468 * window.el (delete-other-windows): Use correct frame in call to
7469 window-with-parameter.
7470
7471 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7472
7473 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7474 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7475 (makefile-gmake-statements, makefile-makepp-statements):
7476 Use it and add new makepp keywords.
7477 (makefile-makepp-font-lock-keywords): Add new patterns.
7478 (makefile-match-function-end): Match new [...] and [[...]].
7479
7480 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7481
7482 * ses.el (ses-call-printer-return, ses-cell-property-get)
7483 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7484 (ses-create-cell-variable, ses-reset-header-string)
7485 (ses-cell-set-formula, ses-repair-cell-reference-all)
7486 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7487 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7488 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7489 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7490 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7491 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7492 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7493 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7494 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7495 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7496 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7497 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7498
7499 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7500
7501 * ses.el: The overall change is to add cell renaming, that is
7502 setting fancy names for cell symbols other than name matching
7503 "\\`[A-Z]+[0-9]+\\'" regexp .
7504 (ses-create-cell-variable): New defun.
7505 (ses-relocate-formula): Relocate formulas only for cells the
7506 symbols of which are not renamed, i.e. symbols whose names do not
7507 match regexp "\\`[A-Z]+[0-9]+\\'".
7508 (ses-relocate-all): Relocate values only for cells the symbols of
7509 which are not renamed.
7510 (ses-load): Create cells variables as the (ses-cell ...) are read,
7511 in order to check row col consistency with cell symbol name only
7512 for cells that are not renamed.
7513 (ses-replace-name-in-formula): New defun.
7514 (ses-rename-cell): New defun.
7515
7516 2011-12-11 Chong Yidong <cyd@gnu.org>
7517
7518 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7519 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7520
7521 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7522
7523 * window.el (other-window): Fix docstring.
7524
7525 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7526
7527 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7528 `from' or `to' address before taking its substring.
7529 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7530 encoded name is chopped in the middle of the encoded string, and
7531 thus displayed encoded.
7532
7533 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7534
7535 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7536
7537 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7538
7539 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7540 to use texinfo-update-node and commands that call it if the
7541 Texinfo file uses @node lines without next/prev/up pointers.
7542 Correct outdated description about texinfo-master-menu.
7543 (texinfo-all-menus-update, texinfo-master-menu)
7544 (texinfo-update-node, texinfo-every-node-update)
7545 (texinfo-multiple-files-update): Doc fix. Warn against updating
7546 all the @node lines.
7547 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7548 argument is numeric. Explain better in the doc string what the
7549 function really does.
7550 (texinfo-insert-master-menu-list): Improve the error message
7551 displayed if there's no menu in the Top node.
7552 (Bug#2975) See also this thread:
7553 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7554
7555 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7556
7557 * speedbar.el (speedbar-supported-extension-expressions):
7558 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7559
7560 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7561
7562 * printing.el (pr-mode-alist):
7563 * simple.el (filter-buffer-substring-functions)
7564 (completion-list-insert-choice-function):
7565 * window.el (window-with-parameter, window-atom-root)
7566 (window-sides-slots, window-size-fixed, window-min-delta)
7567 (window-max-delta, window--resize-mini-window)
7568 (window--resize-child-windows-normal, window-tree)
7569 (delete-other-windows, quit-window, split-window)
7570 (display-buffer-record-window, special-display-buffer-names)
7571 (special-display-regexps, special-display-popup-frame)
7572 (same-window-p, split-window-sensibly)
7573 (display-buffer-overriding-action, display-buffer-alist)
7574 (display-buffer-base-action, display-buffer, switch-to-buffer)
7575 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7576 (fit-window-to-buffer, recenter-positions)
7577 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7578 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7579 and remove unneeded backslashes in docstrings.
7580
7581 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7584
7585 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7586 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7587 end in ".mk".
7588 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7589 when reading the makefile (bug#10116).
7590
7591 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7592
7593 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7594 (bug#10116).
7595
7596 2011-12-06 Glenn Morris <rgm@gnu.org>
7597
7598 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7599
7600 2011-12-06 Chong Yidong <cyd@gnu.org>
7601
7602 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7603
7604 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7605
7606 * textmodes/table.el (table-shorten-cell): Fix typo.
7607
7608 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7609
7610 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7611
7612 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7613
7614 * descr-text.el (describe-char): Fix display of strong
7615 right-to-left characters and directional embeddings and overrides.
7616
7617 * simple.el (what-cursor-position): Fix display of codepoints of
7618 strong right-to-left characters.
7619
7620 2011-12-05 Chong Yidong <cyd@gnu.org>
7621
7622 * faces.el (read-color): Doc fix.
7623
7624 2011-12-05 Glenn Morris <rgm@gnu.org>
7625
7626 * align.el (align--set-marker): Add doc-string.
7627 Don't try to move something that is not a marker. (Bug#10216)
7628
7629 2011-12-04 Glenn Morris <rgm@gnu.org>
7630
7631 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7632 overly zealous deletion of trailing whitespace.
7633
7634 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7635
7636 * server.el (server-delete-client): On Windows, do not try to delete
7637 the only terminal.
7638 (server-process-filter): On Windows, treat requests for a tty frame as
7639 if they were for a GUI frame if the running server is in GUI mode.
7640
7641 2011-12-03 Glenn Morris <rgm@gnu.org>
7642
7643 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7644
7645 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * electric.el: Streamline electric-indent's hook.
7648 (electric-indent-chars): Revert to simple list.
7649 (electric-indent-functions): New var.
7650 (electric-indent-post-self-insert-function): Use it.
7651
7652 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7653 there's no inferior buffer (bug#10196).
7654 (prolog-consult-compile): Don't use toggle-read-only.
7655
7656 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7657
7658 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7659 interrupt. (Bug#10187)
7660
7661 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7662
7663 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7664 (bug#9160).
7665
7666 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7667 (bug#10191).
7668
7669 2011-12-02 Juri Linkov <juri@jurta.org>
7670
7671 * info.el (Info-search): Display "end of manual" when Isearch
7672 reaches the end of single-file Info manual. (Bug#9918)
7673
7674 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7675
7676 * isearch.el (isearch-message-prefix): Run the input method part
7677 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7678
7679 2011-12-02 Juri Linkov <juri@jurta.org>
7680
7681 * isearch.el (isearch-occur): Use `word-search-regexp' for
7682 `isearch-word'.
7683 (isearch-search-and-update): Add condition for `isearch-word' and
7684 call `word-search-regexp'. (Bug#10145)
7685
7686 2011-12-01 Glenn Morris <rgm@gnu.org>
7687
7688 * eshell/em-hist.el (eshell-hist-initialize):
7689 Handle eshell-history-size nil and HISTSIZE set or unset.
7690 (eshell-history-file-name, eshell-history-size): Fix custom type.
7691
7692 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7693
7694 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7695
7696 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7697
7698 * progmodes/verilog-mode.el (verilog-pretty-expr):
7699 Rework verilog-pretty-expr to handle new assignment operators in system
7700 verilog, such as += *= and the like.
7701 (verilog-assignment-operator-re): Regular expression to find the
7702 assigment operator in a verilog assignment.
7703 (verilog-assignment-operation-re): Regular expression to find an
7704 assignment statement for pretty-expr.
7705 (verilog-in-attribute-p): Query returns true if point is in an
7706 attribute context; used to skip these for expression line up from
7707 pretty-expr.
7708 (verilog-in-parameter-p): Query returns true if point is in an
7709 parameter definition context; used to skip these for expression
7710 line up from pretty-expr.
7711 (verilog-in-parenthesis-p): Query returns true if point is in a
7712 parenthetical expression, specifically ( ) but not [ ] or { };
7713 used by pretty-expr.
7714 (verilog-just-one-space): If there is no space, don't add one.
7715 (verilog-get-lineup-indent-2): Specifically skip just attribute
7716 contexts for expression lineup, rather than skipping all
7717 parenthetical expressions.
7718 (verilog-calculate-indent): Fix comment, and fix indent.
7719 (verilog-do-indent): Indent declarations in lists (suggested by
7720 Joachim Lechner).
7721 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7722 skeleton items.
7723 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7724 by Alain Mellan).
7725
7726 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7727
7728 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7729 parameters with embedded comments. Reported by Ray Stevens.
7730 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7731 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7732 Reported by Tim Holt.
7733 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7734 instantiated by upper module causing wrong expansion until AUTOed a
7735 second time. Reported by K C Buckenmaier.
7736 (verilog-diff-auto): Fix showing .* as a difference when
7737 `verilog-auto-star-save' off. Reported by Dan Dever.
7738 (verilog-auto-reset, verilog-read-always-signals)
7739 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7740 temporary signals in reset list if
7741 verilog-auto-reset-blocking-in-non is nil, and match assignment
7742 style to each signal's assignment type, bug381.
7743 Reported by Thomas Esposito.
7744 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7745 (verilog-uvm-statement-re): Support UVM indentation and
7746 highlighting, with old OVM keywords only.
7747 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7748 Support AUTOTIEOFF creating non-wire data types.
7749 Suggested by Jonathan Greenlaw.
7750 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7751 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7752 (verilog-inject-sense, verilog-read-inst-pins)
7753 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7754 Fix mismatching parenthesis inside commented out code when deleting
7755 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7756 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7757 non-numeric vector width. Reported by Alex Reed.
7758 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7759 detecting signals with parameter widths. Reported by Alex Reed.
7760 (verilog-auto-delete-trailing-whitespace):
7761 With `verilog-auto-delete-trailing-whitespace' remove trailing
7762 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7763 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7764 Fix verilog-scan-cache corruption when running user AUTO expansion
7765 hooks that call indentation routines.
7766 (verilog-simplify-range-expression): Fix typo ignoring lower case
7767 identifiers.
7768 (verilog-delete-auto): Fix delete-autos to also remove user created
7769 automatics, as long as they start with AUTO.
7770 (verilog-batch-diff-auto, verilog-diff-auto)
7771 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7772 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7773 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7774 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7775 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7776 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7777 is disabled and its cache will get corrupt, causing AUTOS not to
7778 expand. Instead use only -quick functions.
7779 (verilog-scan-region): Fix scanning over escaped quotes.
7780 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7781 (verilog-re-search-backward-quick)
7782 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7783 related functions now ignore strings, to fix misparsing of strings
7784 with magic comments embedded in them.
7785 (verilog-read-auto-template):
7786 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7787 Reported by Brad Dobbie.
7788 (verilog-read-auto-template):
7789 Fix 'verilog-auto-inst-template-numbers' with comments.
7790 Reported by Brad Dobbie.
7791 (verilog-auto-inst, verilog-auto-inst-param)
7792 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7793 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7794 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7795 debugging templates without merge conflicts, bug357.
7796 Reported by Brad Dobbie.
7797 (verilog-read-auto-template):
7798 Fix verilog-auto-inst-template-numbers with multiple templates.
7799 Reported by Brad Dobbie.
7800 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7801 abbrevs so user won't be asked to save.
7802 (verilog-read-auto-lisp-present): Fix to start at beginning of
7803 buffer in case called outside of verilog-auto.
7804 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7805 to "X-2". Reported by Matthew Myers.
7806 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7807 all inputs from module templates. Reported by Leith Johnson.
7808 (verilog-module-inside-filename-p): Fix locating programs as with
7809 modules.
7810 (verilog-auto-inst-port): Fix vl-width expressions when using
7811 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7812 (verilog-decls-get-regs, verilog-decls-get-signals,
7813 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7814 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7815 verilog-read-decls): Combine reg and wire structures into one var
7816 structure to represent SystemVerilog concepts.
7817 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7818 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7819 (verilog-auto-wire-type, verilog-insert-definition):
7820 Add verilog-auto-wire-type and AUTOLOGIC to support using
7821 SystemVerilog "logic" keyword instead of "wire"/"reg".
7822 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7823 to declares outputs that also have assignments (presumably in an
7824 ifdef or generate if so there's not a driver conflict).
7825 Reported by Matthew Myers.
7826 (verilog-auto-declare-nettype, verilog-insert-definition):
7827 Add verilog-auto-declare-nettype to fix declarations using
7828 `default_nettype none. Reported by Julian Gorfajn.
7829 (verilog-read-always-signals-recurse, verilog-read-decls)
7830 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7831 malformed end statement, bug325. Reported by Joshua Wise and
7832 Andrew Drake.
7833 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7834 (verilog-inst-comment-re): Fix not deleting Interfaced comment
7835 when expanding .* in interfaces, bug320.
7836 Reported by Pierre-David Pfister.
7837 (verilog-read-module-name): Fix import statements between module
7838 name and open parenthesis, bug317.
7839 Reported by Pierre-David Pfister.
7840 (verilog-simplify-range-expression): Fix simplification of
7841 multiplications inside AUTOWIRE connections, bug303.
7842 (verilog-auto-inst-port): Support parameter expansion in
7843 multidimensional arrays.
7844 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7845 after "assert property". Reported by Julian Gorfajn.
7846 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7847 with multiplication, bug303.
7848 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7849 Reported by Jan Frode Lonnum.
7850
7851 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
7852
7853 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7854 (hfy-shell-file-name, hfy-shell):
7855 * international/fontset.el (x-decompose-font-name): Fix typos.
7856
7857 2011-11-29 Ken Brown <kbrown@cornell.edu>
7858
7859 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7860 (gdb-version): Remove defvar.
7861 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7862 (gdb-gud-context-command, gdb-non-stop-handler)
7863 (gdb-current-context-command, gdb-stopped): Use it.
7864 (gdb-init-1): Enable pretty printing here.
7865 (gdb-non-stop-handler): Don't enable pretty-printing here.
7866 Check to see if the target supports non-stop mode; if not, turn off
7867 non-stop mode. Use the following.
7868 (gdb-check-target-async): New defun.
7869 (gud-watch, gdb-stopped): Fix whitespace.
7870 (gdb-get-source-file): Don't try to display the source file if
7871 `gdb-main-file' is nil.
7872
7873 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7874
7875 * align.el: Try to generate fewer markers (bug#10047).
7876 (align--set-marker): New macro.
7877 (align-region): Use it.
7878
7879 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7882
7883 2011-11-29 Chong Yidong <cyd@gnu.org>
7884
7885 * indent.el (indent-for-tab-command, indent-according-to-mode):
7886 Doc fix.
7887 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7888
7889 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
7890
7891 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7892 aware of remote file names. (Bug#10124)
7893
7894 2011-11-29 Chong Yidong <cyd@gnu.org>
7895
7896 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7897
7898 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * files.el (find-file): Don't use force-same-window (bug#10144).
7901 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7902 use pop-to-buffer if the selected window can't be used.
7903 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7904
7905 2011-11-28 Eli Zaretskii <eliz@gnu.org>
7906
7907 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7908 special-mode-map.
7909
7910 2011-11-28 Chong Yidong <cyd@gnu.org>
7911
7912 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7913
7914 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
7915
7916 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7917 gdb-get-source-file-list on gdb-create-source-file-list.
7918
7919 2011-11-26 Eli Zaretskii <eliz@gnu.org>
7920
7921 * whitespace.el (whitespace-newline): Use a different foreground
7922 color for 16-color light-background displays.
7923
7924 2011-11-24 Chong Yidong <cyd@gnu.org>
7925
7926 * window.el (display-buffer--special-action): Doc fix.
7927
7928 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
7929
7930 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7931 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7932 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7933 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7934 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7935 (avl-tree-stack-first):
7936 * emacs-lisp/cconv.el (cconv--analyse-use):
7937 * net/gnutls.el (gnutls-negotiate): Fix typos.
7938
7939 2011-11-24 Glenn Morris <rgm@gnu.org>
7940
7941 * lpr.el (lpr-windows-system, lpr-lp-system):
7942 * mail/binhex.el (binhex-begin-line):
7943 * progmodes/grep.el (grep-history, grep-find-history):
7944 * textmodes/flyspell.el:
7945 * vc/pcvs-defs.el (cvs-global-menu):
7946 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7947 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7948 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7949
7950 * net/tls.el: Fix case of "GnuTLS".
7951
7952 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7953
7954 * version.el (emacs-build-system): Give it a doc-string.
7955
7956 2011-11-24 Juri Linkov <juri@jurta.org>
7957
7958 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7959
7960 2011-11-24 Glenn Morris <rgm@gnu.org>
7961
7962 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7963 if called on a non-mime message just toggle the headers. (Bug#8006)
7964
7965 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7966
7967 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7968 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7969 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7970 (allout-rebullet-heading, allout-open-sibtopic)
7971 (allout-toggle-current-subtree-encryption)
7972 (allout-toggle-subtree-encryption, allout-encrypt-string)
7973 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7974 (allout-distinctive-bullets-string, allout-auto-activation):
7975 * window.el (window-normalize-buffer-to-display):
7976 * progmodes/verilog-mode.el (verilog-batch-indent):
7977 * textmodes/bibtex.el (bibtex-field-braces-opt)
7978 (bibtex-field-strings-opt):
7979 * vc/cvs-status.el (cvs-tree-merge):
7980 Fix typos.
7981
7982 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7983
7984 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7985 `non-essential' to t, in order to avoid remote connections.
7986
7987 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7988
7989 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7990 On MS-DOS and MS-Windows, compare with loaddefs.el
7991 case-insensitively.
7992
7993 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7994
7995 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7996
7997 2011-11-23 Glenn Morris <rgm@gnu.org>
7998
7999 * paths.el (rmail-file-name): Reformat the doc-string so that it
8000 is picked up.
8001
8002 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8003 (rmail-auto-file): Ignore case in the "special" field names,
8004 as mail-fetch-field does for all others.
8005
8006 * mail/rmail.el (rmail-forward):
8007 * mail/rmailkwd.el (rmail-set-label):
8008 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8009 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8010
8011 * mail/rmail.el (rmail-current-message): Doc fix.
8012
8013 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8014
8015 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8018
8019 2011-11-22 Glenn Morris <rgm@gnu.org>
8020
8021 * mail/rmailmm.el (test-rmail-mime-handler)
8022 (test-rmail-mime-bulk-handler)
8023 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8024
8025 2011-11-21 Juri Linkov <juri@jurta.org>
8026
8027 * calc/calc.el (calc-read-key-sequence):
8028 Let-bind `input-method-function' to nil. (Bug#10018)
8029
8030 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8031
8032 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8033 Tell the caller that the next line needs recomputation, even
8034 though it doesn't start a sexp (bug#10094).
8035
8036 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8037
8038 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8039
8040 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8043 Use force-same-window.
8044
8045 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8046
8047 * descr-text.el (describe-char-unicode-data):
8048 * json.el (json-string-escape):
8049 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8050 (Footnote-unicode, Footnote-style-p):
8051 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8052
8053 2011-11-20 Chong Yidong <cyd@gnu.org>
8054
8055 * window.el (replace-buffer-in-windows): Restore interactive spec.
8056
8057 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8060
8061 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8062 (byte-compile-global-not-obsolete-vars): New var.
8063 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8064 Use it.
8065 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8066
8067 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8068
8069 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8070 * progmodes/pascal.el (electric-pascal-equal):
8071 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8072 * xml.el (xml-substitute-special): Fix typos.
8073
8074 2011-11-20 Glenn Morris <rgm@gnu.org>
8075
8076 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8077 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8078 Doc fixes.
8079 (rmail-decode-mime-charset): Mark as obsolete.
8080
8081 * mail/rmailsum.el (rmail-message-regexp-p-1):
8082 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8083 Before using mime functions, check they are set. (Bug#10077)
8084
8085 2011-11-19 Juri Linkov <juri@jurta.org>
8086
8087 * info.el (Info-finder-find-node): Use `package--builtins' instead
8088 of `package-alist'. Use node names formed by the pattern "Keyword "
8089 and the keyword name.
8090
8091 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8092
8093 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8094
8095 2011-11-19 Juri Linkov <juri@jurta.org>
8096
8097 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8098 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8099 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8100 `old-history', `old-history-forward'. Add let-binding
8101 `window-selected'. Remove calls to `kill-buffer',
8102 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8103 before calling `Info-find-node', so `Info-find-node-2' will reread
8104 the Info file. Restore window positions only when `window-selected'
8105 is non-nil.
8106
8107 2011-11-19 Juri Linkov <juri@jurta.org>
8108
8109 * isearch.el (isearch-lazy-highlight-new-loop):
8110 Remove condition `(not isearch-error)'. (Bug#9918)
8111
8112 * misearch.el (multi-isearch-search-fun): Add condition
8113 `(not bound)' to ignore lazy-highlighting search.
8114 Add the search-failed message "end of multi" when the end of
8115 multi-sequence is reached. Uncapitalize the search-failed
8116 message "Repeat for next buffer".
8117
8118 * info.el (Info-search): Add the search-failed message
8119 "end of the manual" when the end of the manual is reached
8120 in Isearch mode.
8121
8122 2011-11-19 Juri Linkov <juri@jurta.org>
8123
8124 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8125 Use non-destructive `remove' instead of `delete' because
8126 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8127 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8128
8129 2011-11-19 Juri Linkov <juri@jurta.org>
8130
8131 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8132 to nil instead of binding `search-ring' and `regexp-search-ring'.
8133 (Bug#9185)
8134
8135 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8136
8137 * simple.el (line-move): Force movement by logical lines for any
8138 hscrolled window, not only when auto-hscroll-mode is on.
8139 (line-move-visual): Update doc string to that effect. (Bug#10076)
8140
8141 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8142
8143 * language/european.el (macintosh): Define as alias for mac-roman.
8144
8145 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8146
8147 * mail/rmailmm.el (rmail-mime-display-header)
8148 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8149 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8150 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8151 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8152 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8153 of a raw aref.
8154 (rmail-mime-entity-segment): To get past the tagline, move forward
8155 2 more lines, to account for the 2 empty lines that precede and
8156 follow the line with the buttons.
8157 (rmail-mime-update-tagline): Move one more line, to get past the
8158 empty line that follows the buttons in the tagline. (Bug#9520)
8159
8160 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8161
8162 * window.el (window-max-delta-1, window-min-delta-1)
8163 (window-min-size-1, window-state-get-1, window-state-put-1)
8164 (window-state-put-2): Use "window--" prefix.
8165
8166 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8169 (smie-warning-count): New var.
8170 (smie-set-prec2tab): Use it.
8171 (smie-bnf->prec2): Improve warnings. Add docstring.
8172 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8173 (smie-bnf--set-class): New function.
8174 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8175 corner case.
8176
8177 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8178 (compilation-error-properties, compilation-move-to-column):
8179 Handle compilation-first-column while in the target buffer.
8180
8181 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8182 Don't hardcode point-min==1.
8183
8184 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8185 (eshell-rewrite-for-command): Remove workaround.
8186 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8187 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8188 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8189
8190 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8191
8192 2011-11-17 Glenn Morris <rgm@gnu.org>
8193
8194 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8195 Ignore buffer-local generated-autoload-file if it is the same
8196 as the global value. (Bug#10049)
8197
8198 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8199
8200 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8201 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8202 (reftex-toc-previous-heading, reftex-toc-max-level)
8203 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8204 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8205 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8206 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8207 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8208 (reftex-toc-rename-label, reftex-toc-visit-location)
8209 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8210 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8211 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8212 leaving "*toc*" only for references to the buffer.
8213
8214 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8215
8216 * window.el (window-resize, delete-window, split-window):
8217 Replace window-splits by window-combination-resize.
8218 * cus-start.el (window-splits): Replace by window-combination-resize.
8219
8220 2011-11-17 Glenn Morris <rgm@gnu.org>
8221
8222 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8223 Make bash entry derive from sh entry, not shell entry.
8224
8225 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8226
8227 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8228 local file name.
8229
8230 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8231
8232 * menu-bar.el (menu-bar-file-menu):
8233 * printing.el (pr-ps-utility):
8234 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8235 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8236 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8237 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8238 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8239 (icalendar--convert-cyclic-to-ical)
8240 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8241 (icalendar--convert-ical-to-diary)
8242 (icalendar--convert-recurring-to-diary)
8243 (icalendar--convert-non-recurring-all-day-to-diary)
8244 (icalendar-import-format-sample):
8245 * progmodes/idlw-shell.el (idlwave-shell-mode):
8246 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8247 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8248 (vhdl-ps-print-init): Fix typos.
8249
8250 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8251
8252 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8253 FSF and collapse date sequence, obscure author/maintainer email address
8254 better, remove extra version line, track relocation of author's webpage.
8255
8256 * progmodes/python.el (python-pdbtrack-input-prompt)
8257 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8258 regular python pdb prompts. Adjustments shamelessly taken exactly as
8259 suggested in EmacsWiki page (tiny change):
8260 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8261
8262 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8263
8264 * expand.el (expand-pos, expand-index, expand-point):
8265 Remove redundant info from docstring.
8266 (expand-add-abbrevs): Doc fix.
8267 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8268 (expand-sample-perl-mode-expand-list): Fix typos.
8269
8270 * net/dbus.el (dbus-event-member-name):
8271 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8272 * term/pc-win.el (msdos-create-frame-with-faces):
8273 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8274
8275 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8276
8277 * window.el (split-window, window-state-get-1)
8278 (window-state-put-1, window-state-put-2): Rename occurrences of
8279 window-nest to window-combination-limit.
8280 * cus-start.el (window-nest): Rename to window-combination-limit.
8281
8282 2011-11-16 Chong Yidong <cyd@gnu.org>
8283
8284 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8285 regexp (Bug#10033).
8286
8287 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8288
8289 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8290 `completing-read' will remove *Completions* and will preserve
8291 current-buffer for us.
8292 (tmm-add-prompt): Users of *Completions* will always (re)set its
8293 major mode.
8294 (tmm-old-comp-map): Remove.
8295
8296 2011-11-16 Glenn Morris <rgm@gnu.org>
8297
8298 * mail/rmailedit.el: Require rmailmm when compiling.
8299 (rmail-old-mime-state): New declaration.
8300 (rmail-edit-current-message): If editing a mime message,
8301 edit the "raw" message from the mbox buffer.
8302 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8303
8304 2011-11-15 Glenn Morris <rgm@gnu.org>
8305
8306 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8307 which wasn't being used. Add optional arg to force given state.
8308 (rmail-mime): Add optional arg to force given state.
8309
8310 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8311
8312 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8313 * frame.el (display-mm-dimensions-alist):
8314 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8315 (outline-move-subtree-down):
8316 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8317 (newsticker--treeview-do-get-node):
8318 * net/quickurl.el (quickurl-list-buffer-name):
8319 * progmodes/dcl-mode.el (dcl-mode):
8320 * progmodes/gdb-mi.el (gdb-mapcar*):
8321 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8322
8323 2011-11-15 Glenn Morris <rgm@gnu.org>
8324
8325 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8326 in a boolean sense, so just make it a boolean, and fix the doc.
8327 (rmail-show-mime-function, rmail-mime-feature)
8328 (rmail-require-mime-maybe): Doc fixes.
8329 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8330
8331 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8332
8333 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8334
8335 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8336 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8337 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8338 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8339
8340 2011-11-15 Glenn Morris <rgm@gnu.org>
8341
8342 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8343 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8344 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8345 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8346 (rmail-mime, rmail-show-mime): Doc fixes.
8347
8348 * term/ns-win.el (mode-line-frame-identification):
8349 Leave it alone. (Bug#10051)
8350
8351 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8352
8353 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8354 Handle empty buffers. (Bug#9978)
8355
8356 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8357
8358 * international/mule.el (define-charset):
8359 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8360 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8361 * progmodes/verilog-mode.el (verilog-backward-token):
8362 * textmodes/ispell.el (lookup-words):
8363 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8364
8365 2011-11-14 Glenn Morris <rgm@gnu.org>
8366
8367 * progmodes/executable.el
8368 (executable-make-buffer-file-executable-if-script-p):
8369 Handle file-modes returning nil.
8370
8371 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8372 message - not necessary, and causes problems. (Bug#9831)
8373
8374 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8375
8376 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8377
8378 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8379 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8380 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8381
8382 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8383
8384 * window.el (window-resize, delete-window): Use window-splits
8385 variable instead of function.
8386 (window-state-get-1, window-state-put-2, window-state-put):
8387 Don't deal with windows' splits status.
8388
8389 2011-11-12 Glenn Morris <rgm@gnu.org>
8390
8391 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8392 (apropos-documentation): Doc fixes.
8393
8394 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8395
8396 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8397 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8398
8399 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8400
8401 * electric.el (electric-indent-post-self-insert-function): Make it
8402 possible for a char to only indent in some circumstances.
8403 (electric-indent-mode): Simplify.
8404
8405 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8406
8407 * window.el (windows-with-parameter): Remove unused function.
8408 (windows-at-side): Rename to window-at-side-list.
8409 (window-check, window-atom-check, window-atom-check-1)
8410 (window-side-check, window-size-ignore, window-size-fixed-1)
8411 (window-in-direction-2): Prefix with "window--".
8412 (window-tree-1): Rename to window--subtree, fix doc-string.
8413
8414 2011-11-11 Glenn Morris <rgm@gnu.org>
8415
8416 * subr.el (eval-after-load): If FILE is already loaded,
8417 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8418
8419 2011-11-10 Glenn Morris <rgm@gnu.org>
8420
8421 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8422 Call svn via vc-svn-command rather than vc-do-command.
8423 (vc-svn-command): Add --non-interactive. (Bug#9993)
8424 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8425
8426 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8427 Add toggle-read-only. (Bug#7292)
8428 * files.el (toggle-read-only): Mention that it should only
8429 be used interactively. (Bug#10006)
8430
8431 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8432
8433 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8434 Adjust regexp for OCaml warnings.
8435
8436 * electric.el (electric-pair-post-self-insert-function): Let user
8437 turn it off buffer-locally (bug#9932).
8438
8439 * progmodes/python.el (python-beginning-of-statement):
8440 Rewrite (bug#2703).
8441
8442 * progmodes/compile.el: Better handle TABs (bug#9749).
8443 (compilation-internal-error-properties)
8444 (compilation-next-error-function): Obey the target buffer's
8445 compilation-error-screen-columns.
8446
8447 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8448
8449 * progmodes/meta-mode.el: Remove obsolete comments.
8450 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8451 Fix typos in docstrings.
8452
8453 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8454
8455 * window.el (window-size-fixed-p): Rewrite doc-string.
8456 (window-resizable-p): Rename to window--resizable-p. Update callers.
8457 (window--resizable): New function. Make all callers of
8458 window-resizable call window--resizable instead.
8459 (window-resizable): Rewrite in terms of window--resizable.
8460
8461 2011-11-08 Glenn Morris <rgm@gnu.org>
8462
8463 * progmodes/delphi.el (delphi-mode-syntax-table):
8464 Let define-derived-mode define a proper syntax table. (Bug#9994)
8465
8466 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8467
8468 * window.el: Stay away from defsubst.
8469 (window-list-no-nils): Remove.
8470 (window-state-get-1, window-state-get): Use backquote instead.
8471
8472 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8473
8474 * emacs-lisp/find-func.el (find-function-read):
8475 Fix incorrect use of default argument in `completing-read'.
8476
8477 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8478
8479 * window.el (display-buffer-function, special-display-function):
8480 Mention display-buffer-record-window but do not mention
8481 help-setup parameter in doc-strings.
8482 (window-min-delta): Fix doc-string typo.
8483
8484 2011-11-08 Chong Yidong <cyd@gnu.org>
8485
8486 * window.el (window-total-height, window-total-width): Doc fix.
8487 (window-body-size): Move from C.
8488 (window-body-height, window-body-width): Move to C.
8489
8490 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * window.el: Make special-display like display-buffer-alist (bug#9532).
8493 (display-buffer--special-action): New function, morphed
8494 from display-buffer--special.
8495 (display-buffer): Use it to handle special-display-buffers at higher
8496 priority (just after display-buffer-alist).
8497 (display-buffer-fallback-action, display-buffer--other-frame-action)
8498 (pop-to-buffer-same-window): Remove display-buffer--special.
8499
8500 2011-11-07 Glenn Morris <rgm@gnu.org>
8501
8502 * calendar/cal-menu.el (cal-menu-set-date-title):
8503 Do nothing if not in a calendar. (Bug#9976)
8504
8505 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8506
8507 * files.el (find-file): Always use selected-window.
8508
8509 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8510
8511 * window.el (window-combinations): Make WINDOW argument
8512 mandatory. Rewrite doc-string.
8513 (walk-window-subtree, window-atom-check, window-min-delta)
8514 (window-max-delta, window--resize-this-window)
8515 (window--resize-root-window-vertically, window-tree)
8516 (balance-windows, window-state-put): Rewrite doc-strings as to
8517 not mention the term "subwindow".
8518 (window--resize-subwindows-skip-p): Rename to
8519 window--resize-child-windows-skip-p.
8520 (window--resize-subwindows-normal): Rename to
8521 window--resize-child-windows-normal.
8522 (window--resize-subwindows): Rename to
8523 window--resize-child-windows.
8524 (window-or-subwindow-p): Rename to window--in-subtree-p.
8525
8526 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8527
8528 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8529 Ensure that mbox format messages end in two newlines (Bug#9974).
8530
8531 2011-11-06 Chong Yidong <cyd@gnu.org>
8532
8533 * window.el (window-combination-p): Function deleted; its
8534 side-effect is not used in any existing code.
8535 (window-combinations, window-combined-p): Call window-*-child
8536 directly.
8537
8538 2011-11-05 Chong Yidong <cyd@gnu.org>
8539
8540 * window.el (window-valid-p): Rename from window-any-p.
8541 (window-size-ignore, window-state-get): Callers changed.
8542 (window-normalize-window): Rename from window-normalize-any-window.
8543 New arg LIVE-ONLY, replacing window-normalize-live-window.
8544 (window-normalize-live-window): Delete.
8545 (window-combination-p, window-combined-p, window-combinations)
8546 (walk-window-subtree, window-atom-root, window-min-size)
8547 (window-sizable, window-sizable-p, window-size-fixed-p)
8548 (window-min-delta, window-max-delta, window-resizable)
8549 (window-resizable-p, window-full-height-p, window-full-width-p)
8550 (window-current-scroll-bars, window-point-1, set-window-point-1)
8551 (window-at-side-p, window-in-direction, window-resize)
8552 (adjust-window-trailing-edge, maximize-window, minimize-window)
8553 (window-deletable-p, delete-window, delete-other-windows)
8554 (record-window-buffer, unrecord-window-buffer)
8555 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8556 (quit-window, split-window, window-state-put)
8557 (set-window-text-height, fit-window-to-buffer)
8558 (shrink-window-if-larger-than-buffer): Callers changed.
8559
8560 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8561
8562 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8563 rfc2047-decode-string.
8564 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8565 warnings.
8566
8567 * window.el (window-body-height, window-body-width): Mention in
8568 the doc string that the return values are in frame's canonical
8569 units. (Bug#9949)
8570
8571 2011-11-03 Alan Mackenzie <acm@muc.de>
8572
8573 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8574 change in cc-engine.el.
8575
8576 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8579
8580 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8581
8582 * window.el (quit-window): Call unrecord-window-buffer after
8583 showing another buffer in the window. (Bug#9937)
8584 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8585
8586 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8587
8588 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8589 Accept status with more than 9 shelves. (Bug#9935)
8590 Reported by Colin D Bennett <colin@gibibit.com>.
8591
8592 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8593
8594 * help.el (with-help-window): Don't reference
8595 temp-buffer-show-specifiers in doc-string.
8596
8597 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8598
8599 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8600 menu-item.
8601
8602 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8603
8604 * whitespace.el: New version 13.2.2.
8605 (whitespace-newline-mode): Disable properly. Reported by Sarah
8606 <EmacsWiki>.
8607
8608 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8609
8610 * net/newst-treeview.el: Remove "Time-stamp".
8611 (newsticker--group-manage-orphan-feeds): Do not call
8612 newsticker--treeview-tree-update.
8613 (newsticker-treeview-update, newsticker-treeview):
8614 Call newsticker--treeview-tree-update if necessary.
8615
8616 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8617
8618 * window.el (window-iso-combination-p, window-iso-combined-p)
8619 (window-iso-combinations): Remove "iso-" infix.
8620 Suggested by Chong Yidong.
8621 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8622 (window-max-delta-1, window-resize, window--resize-siblings)
8623 (window--resize-this-window, adjust-window-trailing-edge)
8624 (split-window, balance-windows-1)
8625 (shrink-window-if-larger-than-buffer):
8626 * calendar/calendar.el (calendar-generate-window):
8627 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8628
8629 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8632 in place (bug#9907).
8633 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8634 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8635 (eshell-structure-basic-command, eshell-rewrite-while-command)
8636 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8637 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8638 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8639 (eshell-do-pipelines-synchronously, eshell-eval-command):
8640 Use backquotes and prefer setq to set.
8641 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8642 (eshell-macrop): Use functionp.
8643 (eshell-do-eval): Handle multiple expressions in `while' body.
8644
8645 2011-10-30 Chong Yidong <cyd@gnu.org>
8646
8647 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8648 instead of set-mark (Bug#9810).
8649
8650 2011-10-30 Chong Yidong <cyd@gnu.org>
8651
8652 * window.el (split-window-below, split-window-right): Rename from
8653 split-window-above-each-other and split-window-side-by-side
8654 respectively. All callers changed.
8655 (split-window-sensibly, split-window-sensibly): Use them.
8656 (split-window-keep-point): Doc fix.
8657
8658 * isearch.el: Add isearch-scroll property to split-window-below
8659 and split-window-right.
8660
8661 * follow.el (follow-mode):
8662 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8663 * progmodes/ada-xref.el (ada-gdb-application):
8664 * emulation/vip.el (vip-buffer-in-two-windows):
8665 * image-dired.el (image-dired-dired-with-window-configuration):
8666 * dired-x.el (dired-do-find-marked-files):
8667 * dired.el (dired-pop-to-buffer):
8668 * bs.el (bs--show-with-configuration):
8669 * vc/emerge.el (emerge-setup-windows):
8670 * textmodes/two-column.el (2C-two-columns):
8671 * textmodes/reftex-toc.el (reftex-toc):
8672 * progmodes/gdb-mi.el (gdb-setup-windows):
8673 * progmodes/fortran.el (fortran-window-create):
8674 * net/newst-treeview.el (newsticker--treeview-window-init):
8675 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8676 * emulation/tpu-edt.el (tpu-gold-map):
8677 * emulation/crisp.el (crisp-mode-map):
8678 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8679
8680 2011-10-29 Chong Yidong <cyd@gnu.org>
8681
8682 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8683
8684 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8685
8686 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8687 forged Ispell output (Bug#7904).
8688
8689 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8690
8691 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * doc-view.el: Avoid ugly errors about not finding nil.
8694 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8695 (doc-view-dvipdf-program, doc-view-unoconv-program)
8696 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8697 Avoid nil or absolute file name as default value.
8698 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8699
8700 2011-10-28 Alan Mackenzie <acm@muc.de>
8701
8702 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8703
8704 2011-10-28 Alan Mackenzie <acm@muc.de>
8705
8706 Amend the handling of c-beginning/end-of-defun in nested declaration
8707 scopes.
8708
8709 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8710 cc-langs.el. Change it to a defcustom.
8711
8712 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8713 cc-vars.el.
8714
8715 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8716 Prevent "class foo : bar" being spuriously recognized as a label.
8717
8718 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8719 Add parameter `inclusive' (to include enclosing braces in the region).
8720 (c-widen-to-enclosing-decl-scope): New function.
8721 (c-while-widening-to-decl-block): New macro.
8722 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8723 outward for defun boundaries, and correspondingly change symbol
8724 `respect-enclosure' to `go-outward'.
8725 (c-declaration-limits): Change algorithm to report only the "innermost"
8726 defun's boundaries.
8727
8728 2011-10-28 Deniz Dogan <deniz@dogan.se>
8729
8730 * net/rcirc.el (rcirc-mode): Use hard newlines.
8731
8732 2011-10-28 Alan Mackenzie <acm@muc.de>
8733
8734 Amend to indent and fontify macros "which include their own semicolon"
8735 correctly, using the "virtual semicolon" mechanism.
8736
8737 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8738
8739 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8740 Recode to scan one line at a time rather than having \n and \r
8741 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8742 (c-forward-label): Amend for virtual semicolons.
8743 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8744
8745 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8746 of the new C macros.
8747
8748 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8749 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8750 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8751 (c-opt-cpp-macro-define): Make into a full language variable.
8752 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8753 AWK Mode (including \n, \r) removed, no longer needed.
8754
8755 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8756 Invoke c-make-macro-with-semi-re.
8757
8758 * progmodes/cc-vars.el (c-macro-with-semi-re):
8759 (c-macro-names-with-semicolon): New variables.
8760 (c-make-macro-with-semi-re): New function.
8761
8762 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * vc/log-edit.el: Fill empty field rather than adding new one.
8765 (log-edit-add-field): New function.
8766 (log-edit-insert-changelog): Use it.
8767
8768 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8769
8770 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8771
8772 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8775 (gdb--check-interpreter): New function.
8776 (gdb): Use it.
8777
8778 2011-10-27 Glenn Morris <rgm@gnu.org>
8779
8780 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8781 (least-positive-float, least-negative-float)
8782 (least-positive-normalized-float, least-negative-normalized-float)
8783 (float-epsilon, float-negative-epsilon):
8784 Remove unnecessary declarations.
8785
8786 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8787 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8788 (least-positive-float, least-negative-float)
8789 (least-positive-normalized-float, least-negative-normalized-float)
8790 (float-epsilon, float-negative-epsilon): Add doc-strings,
8791 based on those in cl.texi.
8792
8793 * files.el (set-visited-file-name): If the major-mode changed,
8794 reload the local variables. (Bug#9796)
8795
8796 2011-10-27 Chong Yidong <cyd@gnu.org>
8797
8798 * subr.el (change-major-mode-after-body-hook): New hook.
8799 (run-mode-hooks): Run it.
8800
8801 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8802 Use change-major-mode-before-body-hook.
8803
8804 * simple.el (fundamental-mode):
8805 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8806 change introducing fundamental-mode-hook.
8807
8808 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
8809
8810 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8811
8812 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
8813
8814 * ido.el (ido-file-name-all-completions-1): Do not require
8815 tramp.el explicitly. (Bug#7583)
8816
8817 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * progmodes/octave-mod.el:
8820 * progmodes/octave-inf.el: Update maintainer.
8821
8822 2011-10-26 Chong Yidong <cyd@gnu.org>
8823
8824 * subr.el (with-wrapper-hook): Rewrite doc.
8825
8826 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
8827
8828 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8829 filenames "/method:foo:". (Bug#9793)
8830
8831 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8832
8833 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8834 (bug#9865).
8835
8836 2011-10-24 Glenn Morris <rgm@gnu.org>
8837
8838 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8839
8840 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
8841
8842 * notifications.el: Add the requirement of a running D-Bus session
8843 bus to the Commentary.
8844
8845 2011-10-24 Juri Linkov <juri@jurta.org>
8846
8847 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8848 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8849 (Bug#9364)
8850
8851 2011-10-24 Juri Linkov <juri@jurta.org>
8852
8853 * info.el (Info-following-node-name-re): Add newline to the list
8854 of allowed characters for leading space. (Bug#9824)
8855
8856 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * progmodes/octave-inf.el (inferior-octave-mode-map):
8859 Fix C-c C-h binding.
8860 * progmodes/octave-mod.el (octave-help): Remove.
8861
8862 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
8863
8864 Sync with Tramp 2.2.3.
8865
8866 * net/tramp-cache.el (top): Pacify byte-compiler using
8867 `init-file-user' and `site-run-file'.
8868
8869 * net/trampver.el: Update release number.
8870
8871 2011-10-23 Chong Yidong <cyd@gnu.org>
8872
8873 * files.el (toggle-read-only): Remove obsolete comment about
8874 version control.
8875
8876 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8877 for toggle-read-only. Note that this hasn't called vc-next-action
8878 since 2008-05-02, though it wasn't documented at the time.
8879
8880 * vc/ediff-init.el (ediff-toggle-read-only-function):
8881 Use toggle-read-only.
8882
8883 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8884
8885 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8886 of c-parse-state.
8887
8888 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8889 correct faulty logical expression.
8890 (c-parse-state-state, c-record-parse-state-state):
8891 (c-replay-parse-state-state): New defvar/defuns.
8892 (c-debug-parse-state): Use new functions.
8893
8894 2011-10-22 Martin Rudalics <rudalics@gmx.at>
8895
8896 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8897 last fix. Use window-in-direction correctly.
8898
8899 2011-10-21 Chong Yidong <cyd@gnu.org>
8900
8901 * progmodes/idlwave.el (idlwave-mode):
8902 * progmodes/vera-mode.el (vera-mode): No need to set
8903 require-final-newline; that's done in prog-mode.
8904 Suggested by Stefan Monnier.
8905
8906 2011-10-21 Martin Rudalics <rudalics@gmx.at>
8907
8908 * mouse.el (mouse-drag-window-above)
8909 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8910 (mouse-drag-mode-line-1, mouse-drag-header-line)
8911 (mouse-drag-vertical-line-rightward-window): Remove.
8912 (mouse-drag-line): New function.
8913 (mouse-drag-mode-line, mouse-drag-header-line)
8914 (mouse-drag-vertical-line): Call mouse-drag-line.
8915 * window.el (window-at-side-p, windows-at-side): New functions.
8916
8917 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
8918
8919 * tar-mode.el (tar-grind-file-mode):
8920 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8921
8922 2011-10-21 Chong Yidong <cyd@gnu.org>
8923
8924 * progmodes/idlwave.el (idlwave-mode):
8925 * progmodes/vera-mode.el (vera-mode):
8926 Use mode-require-final-newline.
8927
8928 2011-10-20 Glenn Morris <rgm@gnu.org>
8929
8930 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
8931
8932 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8933
8934 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8935
8936 2011-10-20 Chong Yidong <cyd@gnu.org>
8937
8938 * emulation/cua-base.el (cua-mode):
8939 * mail/footnote.el (footnote-mode):
8940 * mail/mailabbrev.el (mail-abbrevs-mode):
8941 * net/xesam.el (xesam-minor-mode):
8942 * progmodes/bug-reference.el (bug-reference-mode):
8943 * progmodes/cap-words.el (capitalized-words-mode):
8944 * progmodes/compile.el (compilation-minor-mode)
8945 (compilation-shell-minor-mode):
8946 * progmodes/gud.el (gud-tooltip-mode):
8947 * progmodes/hideif.el (hide-ifdef-mode):
8948 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8949 * progmodes/subword.el (subword-mode):
8950 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8951 * progmodes/which-func.el (which-function-mode):
8952 * term/tvi970.el (tvi970-set-keypad-mode):
8953 * term/vt100.el (vt100-wide-mode):
8954 * textmodes/flyspell.el (flyspell-mode):
8955 * textmodes/ispell.el (ispell-minor-mode):
8956 * textmodes/nroff-mode.el (nroff-electric-mode):
8957 * textmodes/paragraphs.el (use-hard-newlines):
8958 * textmodes/refill.el (refill-mode):
8959 * textmodes/reftex.el (reftex-mode):
8960 * textmodes/rst.el (rst-minor-mode):
8961 * textmodes/sgml-mode.el (html-autoview-mode)
8962 (sgml-electric-tag-pair-mode):
8963 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8964 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8965 * emulation/crisp.el (crisp-mode):
8966 * emacs-lisp/eldoc.el (eldoc-mode):
8967 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8968 minor mode behavior.
8969
8970 2011-10-19 Juri Linkov <juri@jurta.org>
8971
8972 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8973 the list of hard-coded chars with escape-glyph face.
8974
8975 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8978
8979 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8980
8981 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8982 running process.
8983
8984 2011-10-19 Glenn Morris <rgm@gnu.org>
8985
8986 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8987 Ignore ignored files. (Bug#9726)
8988
8989 2011-10-19 Chong Yidong <cyd@gnu.org>
8990
8991 Doc fix for minor modes, stating that an omitted argument enables
8992 the mode unconditionally when called from Lisp.
8993
8994 * abbrev.el (abbrev-mode):
8995 * allout.el (allout-mode):
8996 * autoinsert.el (auto-insert-mode):
8997 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8998 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8999 (global-auto-revert-mode):
9000 * battery.el (display-battery-mode):
9001 * composite.el (global-auto-composition-mode)
9002 (auto-composition-mode):
9003 * delsel.el (delete-selection-mode):
9004 * desktop.el (desktop-save-mode):
9005 * dired-x.el (dired-omit-mode):
9006 * dirtrack.el (dirtrack-mode):
9007 * doc-view.el (doc-view-minor-mode):
9008 * double.el (double-mode):
9009 * electric.el (electric-indent-mode, electric-pair-mode):
9010 * emacs-lock.el (emacs-lock-mode):
9011 * epa-hook.el (auto-encryption-mode):
9012 * follow.el (follow-mode):
9013 * font-core.el (font-lock-mode):
9014 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9015 * help.el (temp-buffer-resize-mode):
9016 * hilit-chg.el (highlight-changes-mode)
9017 (highlight-changes-visible-mode):
9018 * hi-lock.el (hi-lock-mode):
9019 * hl-line.el (hl-line-mode, global-hl-line-mode):
9020 * icomplete.el (icomplete-mode):
9021 * ido.el (ido-everywhere):
9022 * image-file.el (auto-image-file-mode):
9023 * image-mode.el (image-minor-mode):
9024 * iswitchb.el (iswitchb-mode):
9025 * jka-cmpr-hook.el (auto-compression-mode):
9026 * linum.el (linum-mode):
9027 * longlines.el (longlines-mode):
9028 * master.el (master-mode):
9029 * mb-depth.el (minibuffer-depth-indicate-mode):
9030 * menu-bar.el (menu-bar-mode):
9031 * minibuf-eldef.el (minibuffer-electric-default-mode):
9032 * mouse-sel.el (mouse-sel-mode):
9033 * msb.el (msb-mode):
9034 * mwheel.el (mouse-wheel-mode):
9035 * outline.el (outline-minor-mode):
9036 * paren.el (show-paren-mode):
9037 * recentf.el (recentf-mode):
9038 * reveal.el (reveal-mode, global-reveal-mode):
9039 * rfn-eshadow.el (file-name-shadow-mode):
9040 * ruler-mode.el (ruler-mode):
9041 * savehist.el (savehist-mode):
9042 * scroll-all.el (scroll-all-mode):
9043 * scroll-bar.el (scroll-bar-mode):
9044 * server.el (server-mode):
9045 * shell.el (shell-dirtrack-mode):
9046 * simple.el (auto-fill-mode, transient-mark-mode)
9047 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9048 (line-number-mode, column-number-mode, size-indication-mode)
9049 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9050 * strokes.el (strokes-mode):
9051 * time.el (display-time-mode):
9052 * t-mouse.el (gpm-mouse-mode):
9053 * tool-bar.el (tool-bar-mode):
9054 * tooltip.el (tooltip-mode):
9055 * type-break.el (type-break-mode-line-message-mode)
9056 (type-break-query-mode):
9057 * view.el (view-mode):
9058 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9059 (global-whitespace-mode, global-whitespace-newline-mode):
9060 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9061
9062 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9063 Fix autogenerated docstring.
9064
9065 2011-10-19 Juri Linkov <juri@jurta.org>
9066
9067 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9068 by checking environment variables "DESKTOP_SESSION" and
9069 "XDG_CURRENT_DESKTOP". (Bug#9779)
9070
9071 2011-10-19 Juri Linkov <juri@jurta.org>
9072
9073 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9074 (browse-url-chromium-program, browse-url-chromium-arguments):
9075 New defcustoms.
9076 (browse-url-default-browser): Check for `browse-url-chromium' and
9077 call `browse-url-chromium-program'.
9078 (browse-url-chromium): New command. (Bug#9779)
9079
9080 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9081
9082 * facemenu.el (list-colors-duplicates): On Windows, detect more
9083 duplicates by assuming that only colors matching "^System" are
9084 special "system colors". (Bug#9722)
9085
9086 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9089 to distinguish the author from the committer.
9090
9091 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9092
9093 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9094
9095 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9096
9097 * international/mule.el (sgml-html-meta-auto-coding-function):
9098 Add support for detecting encoding in HTML5 specified only as
9099 <meta charset="UTF-8">. Implementation just makes http-equiv and
9100 content-type parts from HTML4 encoding string optional. (Bug#9716)
9101
9102 2011-10-18 Glenn Morris <rgm@gnu.org>
9103
9104 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9105
9106 2011-10-18 Chong Yidong <cyd@gnu.org>
9107
9108 * faces.el (cursor): Doc fix.
9109
9110 2011-10-17 Chong Yidong <cyd@gnu.org>
9111
9112 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9113
9114 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9115
9116 * dirtrack.el (dirtrack): Support shell buffers with path
9117 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9118
9119 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9120
9121 * json.el: Bump version to 1.3 and note change in History.
9122 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9123
9124 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9125
9126 * comint.el (comint-insert-input, comint-send-input)
9127 (comint-get-old-input-default, comint-backward-matching-input)
9128 (comint-next-prompt): Use nil instead of `input' for field property of
9129 past user input (bug#114).
9130
9131 * minibuffer.el (completion--replace): Inherit surrounding properties
9132 (bug#114).
9133 (minibuffer-complete-and-exit): Use it.
9134
9135 * comint.el (comint--table-subvert): Quote the all-completions output
9136 (bug#9160).
9137
9138 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9139
9140 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9141
9142 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9143 window on right of selected. (Bug#9350) Reword other window
9144 entries and separate them from frame entries.
9145
9146 2011-10-15 Glenn Morris <rgm@gnu.org>
9147
9148 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9149 Doc fixes.
9150
9151 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9152
9153 * net/network-stream.el (network-stream-open-starttls):
9154 Improve detection of failure due to lack of TLS support.
9155
9156 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9157 putting the input text in front and in bold.
9158
9159 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9162
9163 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9164 empty buffer.
9165
9166 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9167 unread-command-events rather than pushing yet-another event.
9168
9169 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9170
9171 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9172 the explanation of the possible choices. Make the options passed
9173 to completing-read shorter.
9174
9175 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9176
9177 * textmodes/flyspell.el (flyspell-large-region): Make sure
9178 extended character mode is used if defined (Bug#1339).
9179
9180 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9181
9182 * simple.el (what-cursor-position): Fix the display of the
9183 character info for LRE, LRO, RLE, and RLO characters by appending
9184 an invisible PDF.
9185
9186 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9187
9188 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9189 even in case of error; add debug spec; simplify data flow.
9190 (with-timeout-handler): Remove.
9191
9192 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9193
9194 Fix Bug#6019, Bug#9315.
9195
9196 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9197 complete `buffer-file-name', the local file name part could look
9198 remotely (for example on VMS).
9199
9200 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9201 `tramp-run-real-handler'.
9202 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9203 already quoted by '"'.
9204
9205 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9206 Let `file-name-handler-alist' be nil, the local file name part
9207 could look remotely (for example on VMS).
9208
9209 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9212 from here...
9213 (flyspell-post-command-hook): ...to here.
9214
9215 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9218 if not needed.
9219 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9220 using completion. Protect against "slow" callers.
9221 Remove the "message hack".
9222
9223 2011-10-11 Juri Linkov <juri@jurta.org>
9224
9225 * isearch.el (isearch-lazy-highlight-word): New variable.
9226 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9227 Use it. (Bug#9727)
9228
9229 2011-10-11 Glenn Morris <rgm@gnu.org>
9230
9231 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9232 like f90-previous-statement does.
9233
9234 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9235
9236 * eshell/eshell.el (eshell-command): History should be saved
9237 only in interactive use, to avoid error.
9238
9239 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * minibuffer.el (completion-file-name-table): Fix last change,
9242 i.e. ignore normal errors but not the other ones.
9243
9244 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9245
9246 * window.el (special-display-buffer-names)
9247 (special-display-regexps): Remove some remnants of earlier
9248 changes from doc-strings.
9249 (quit-windows-on): New function.
9250
9251 * vc/vc.el (vc-revert, vc-rollback):
9252 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9253 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9254 (Bug#6183) (Bug#7074) (Bug#7447)
9255
9256 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9257
9258 * window.el (frame-auto-hide-function): Add version tag.
9259 (Bug#9699)
9260
9261 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9262
9263 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9264 condition.
9265
9266 2011-10-09 Leo Liu <sdl.web@gmail.com>
9267
9268 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9269 (Bug#9701)
9270
9271 2011-10-08 Glenn Morris <rgm@gnu.org>
9272
9273 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9274 before the first code statement zero indent. (Bug#9690)
9275
9276 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9277
9278 * simple.el (count-words-region): Always count in the region.
9279 Report the number of lines and characters too.
9280 (count-words): New command, which counts in the buffer if the
9281 region is inactive, as count-words-region used to.
9282 (count-words--message): New function. Handle plurals.
9283 (count-lines-region): Make it an alias for count-words-region.
9284
9285 * bindings.el (esc-map): Replace count-lines-region with
9286 count-words-region.
9287
9288 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9289
9290 * window.el (window--delete): Delete dedicated frame
9291 unconditionally when argument KILL is non-nil. (Bug#9699)
9292 (switch-to-buffer): Fix doc-string typo.
9293
9294 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9295
9296 * eshell/eshell.el (eshell-command): Avoid using hooks.
9297
9298 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9299
9300 * bindings.el ([M-left],[M-right]): Bind to left-word and
9301 right-word respectively.
9302
9303 2011-10-07 Glenn Morris <rgm@gnu.org>
9304
9305 * cus-start.el (debug-on-quit): Fix custom type.
9306
9307 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9308
9309 * subr.el (define-key-after): Clarify that the function is not
9310 useful for non-menu keymaps.
9311
9312 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9313
9314 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9315
9316 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9317 in current minibuffer (Fix bug with recursive minibuffers).
9318
9319 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9320
9321 * progmodes/gdb-mi.el (gdb): Doc fix.
9322
9323 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9324
9325 * window.el (frame-auto-hide-function): New option replacing
9326 frame-auto-delete. Suggested by Stefan Monnier.
9327 (window--delete): Call frame-auto-hide-function instead of
9328 investigating frame-auto-delete.
9329 (window-point-1, set-window-point-1): New functions.
9330 (window-in-direction, record-window-buffer, window-state-get-1)
9331 (display-buffer-record-window): Use window-point-1 instead of
9332 window-point.
9333 (set-window-buffer-start-and-point): Use set-window-point-1.
9334
9335 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9338
9339 2011-10-05 Glenn Morris <rgm@gnu.org>
9340
9341 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9342 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9343
9344 2011-10-05 Leo Liu <sdl.web@gmail.com>
9345
9346 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9347 works with buffer object.
9348
9349 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * mpc.el (mpc-tool-bar-map): Add labels.
9352
9353 2011-10-04 Glenn Morris <rgm@gnu.org>
9354
9355 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9356
9357 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9358
9359 * window.el (window--delete): New function.
9360 (frame-auto-delete): Resuscitate option.
9361 (bury-buffer, replace-buffer-in-windows)
9362 (quit-window): Rewrite using window--delete.
9363 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9364 Pass display-buffer-mark-dedicated to window--display-buffer-2
9365 (Bug#9639).
9366
9367 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9370 returns a list (bug#9554). Add remote file name completion.
9371 * comint.el (comint--table-subvert): Curry and get quote&unquote
9372 functions as arguments.
9373 (comint--complete-file-name-data): Adjust call accordingly.
9374 * pcomplete.el (pcomplete--table-subvert): Remove.
9375 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9376
9377 * minibuffer.el (completion-table-case-fold): Use currying.
9378 (completion--styles-type, completion--cycling-threshold-type):
9379 New constants.
9380 (completion-styles, completion-category-overrides)
9381 (completion-cycle-threshold): Use them.
9382 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9383 completion-table-case-fold.
9384
9385 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9386
9387 * minibuffer.el (completion-category-overrides): Fix type of styles
9388 and add more user friendly tags (bug#9660).
9389
9390 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9393 (mule-input-method-string): New widget.
9394 (default-input-method, language-info-custom-alist): Use it.
9395
9396 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * pcomplete.el: Require comint.
9399 (pcomplete--common-suffix): Remove.
9400 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9401 (pcomplete--table-subvert): Sync with comint--table-subvert.
9402 (pcomplete--entries): Use comint-completion-file-name-table.
9403 * comint.el (comint-unquote-filename): Simplify.
9404 (comint-completion-file-name-table): New function (bug#9616).
9405 (comint--complete-file-name-data): Use it.
9406
9407 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9408 (pcmpl-gnu-tar-buffer): Remove.
9409 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9410 around. Make sure pcomplete-suffix-list is only changed temporarily.
9411 Don't look inside the tar's file if it's too large.
9412
9413 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9414
9415 * cus-edit.el (custom-mode-map):
9416 * epa.el (epa-key-list-mode-map):
9417 * man.el (Man-mode-map):
9418 * startup.el (splash-screen-keymap):
9419 * simple.el (special-mode-map): Use scroll-up-command and
9420 scroll-down-command.
9421
9422 * progmodes/idlw-help.el (idlwave-help-mode-map):
9423 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9424 * net/newst-plainview.el (newsticker-mode-map):
9425 * emulation/ws-mode.el (wordstar-mode-map):
9426 * emulation/vi.el (vi-com-map):
9427 * calc/calc-graph.el (calc-graph-show-dumb):
9428 * term/sun.el (terminal-init-sun):
9429 * term/ns-win.el (global-map):
9430 * progmodes/grep.el (grep-mode-map):
9431 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9432 * mail/rmail.el (rmail-mode-map):
9433 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9434
9435 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9436 custom-safe-themes as special.
9437
9438 2011-10-01 Julien Danjou <julien@danjou.info>
9439
9440 * notifications.el (notifications-notify): Fix docstring.
9441
9442 2011-10-01 Per Starbäck <per@starback.se>
9443
9444 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9445
9446 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9447
9448 * startup.el (command-line-1): Fix last fix by inserting
9449 initial-scratch-message into *scratch* before displaying it.
9450 (Bug#9605) and (Bug#9636)
9451
9452 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9453
9454 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9455 window is hscrolled, move by logical lines. (Bug#9607)
9456 (line-move-visual): Update the doc string to the above effect.
9457
9458 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9459
9460 * window.el (display-buffer-record-window): When WINDOW is the
9461 selected window use `point' instead of `window-point'. (Bug#9626)
9462
9463 * startup.el (command-line-1): Use insert-before-markers when
9464 inserting initial-scratch-message. (Bug#9605)
9465
9466 * help.el (help-window): Remove variable.
9467
9468 2011-09-29 Glenn Morris <rgm@gnu.org>
9469
9470 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9471
9472 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9473
9474 * descr-text.el (describe-char-categories): Accept category
9475 descriptions more than one line long.
9476
9477 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9478
9479 * simple.el (delete-trailing-whitespace): Fix last change.
9480
9481 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9482 Don't confuse "y => 3" as the beginning of a `y' operation.
9483
9484 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9485 object has more than 4 slots (bug#9613).
9486
9487 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9488
9489 * subr.el (with-output-to-temp-buffer):
9490 * net/quickurl.el (quickurl, quickurl-browse-url):
9491 Fix typos in docstrings.
9492
9493 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9494
9495 * minibuffer.el (completion-styles)
9496 (completion-category-overrides): Cross reference each other in doc
9497 strings.
9498
9499 2011-09-27 Glenn Morris <rgm@gnu.org>
9500
9501 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9502 to split-string. (Bug#9606)
9503
9504 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9505
9506 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9507 (bug#9615).
9508
9509 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9510
9511 * emacs-lisp/package.el (list-packages): Fix echo area message.
9512
9513 2011-09-27 Leo Liu <sdl.web@gmail.com>
9514
9515 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9516
9517 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9518
9519 * net/dbus.el (dbus-unregister-object): Don't release services for
9520 registered signals. (Bug#9581)
9521
9522 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9523
9524 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9525 function that picks between cfengine 2 and 3 support
9526 automatically. Update docs accordingly.
9527
9528 2011-09-22 Kenichi Handa <handa@m17n.org>
9529
9530 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9531 ZERO.
9532 (indian-itrans-v5-table-for-tamil): New variable.
9533 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9534
9535 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9536
9537 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9538 that's true if the current command involved collapsing of text.
9539 It's reset to false at the beginning of the next command.
9540 (allout-post-command-business): Move the cursor to the beginning
9541 of entry if the cursor is hidden and collapsing activity just
9542 happened.
9543
9544 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9545
9546 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9547 tracking (Bug#9541).
9548
9549 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9550
9551 * net/newst-reader.el (newsticker-html-renderer)
9552 (newsticker-show-news): Automatically load html rendering package
9553 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9554 because w3m-fill-column is let-bound" and the error "Symbol's value
9555 as variable is void: w3m-fill-column".
9556
9557 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9558
9559 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9560 Release services only if they are defined. (Bug#9581)
9561
9562 2011-09-23 Richard Stallman <rms@gnu.org>
9563
9564 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9565 distinguish start of paragraph from start of its text.
9566
9567 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9568
9569 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9570 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9571 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9572
9573 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9574
9575 * international/mule-diag.el (mule-diag): Insert a newline after
9576 each fontset description.
9577
9578 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9579
9580 * simple.el (delete-trailing-whitespace):
9581 Document last change; simplify.
9582
9583 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9584
9585 * simple.el (delete-trailing-whitespace): Also delete
9586 extra newlines at the end of the buffer.
9587
9588 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9589 (picture-newline): Use forward-line so as to ignore fields.
9590
9591 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9592
9593 * subr.el (with-wrapper-hook): Fix edebug spec.
9594
9595 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9596
9597 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9598 (bug#4538).
9599
9600 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9601
9602 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9603 Fix nasty bug using wrong cached values.
9604
9605 2011-09-23 Alan Mackenzie <acm@muc.de>
9606
9607 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9608
9609 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9610
9611 * window.el (pop-to-buffer): Ensure right window is selected if we
9612 chose another frame.
9613
9614 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9615
9616 * simple.el (what-cursor-position): Use get-char-property-change
9617 and next-single-char-property-change, to be able to show display
9618 properties that come from overlays as well as text properties.
9619
9620 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9621
9622 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9623
9624 * cmuscheme.el (run-scheme, switch-to-scheme):
9625 * cus-edit.el (customize-group, custom-buffer-create)
9626 (customize-browse):
9627 * info.el (info):
9628 * shell.el (shell):
9629 * mail/sendmail.el (mail):
9630 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9631
9632 2011-09-22 Richard Stallman <rms@gnu.org>
9633
9634 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9635 move back only to line beg, don't move back over blank lines.
9636
9637 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9638
9639 * files.el (copy-directory): Set directory attributes only in case
9640 they could be retrieved from the source directory. (Bug#9565)
9641
9642 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9643
9644 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9645 (hs-find-block-beginning, hs-hide-level-recursive):
9646 Ignore strings as well as comments. (Bug#9502)
9647
9648 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9649
9650 * progmodes/sql.el (sql-comint-postgres):
9651 Convert port number to a string. (Bug#9566)
9652
9653 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9654
9655 * window.el (quit-window): Undedicate window when switching to
9656 previous buffer. Reported by Thierry Volpiatto
9657 <thierry.volpiatto@gmail.com>.
9658 (special-display-popup-frame): When popping up a new frame reset
9659 its previous buffers to nil. Simplify code.
9660
9661 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9662
9663 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9664 and process filter, as done also in `shell-command'.
9665
9666 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9667
9668 * window.el (set-window-buffer-start-and-point):
9669 Call set-window-start with NOFORCE argument t.
9670 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9671 (quit-window): Reword doc-string. Handle new format of
9672 quit-restore parameter. Don't delete window if it has a
9673 previous buffer we can show instead of the present one.
9674 (display-buffer-record-window): Rewrite using a new format for
9675 the quit-restore window parameter
9676 (special-display-popup-frame, display-buffer-same-window)
9677 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9678 (display-buffer-pop-up-window, display-buffer-use-some-window):
9679 Adapt symbol passed to display-buffer-record-window.
9680 * help.el (help-window-setup): Handle new format of quit-restore
9681 parameter.
9682
9683 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9684
9685 * faces.el (face-list): Fix docstring (bug#9564).
9686
9687 * window.el (display-buffer--action-function-custom-type):
9688 Don't include internal functions in the Custom interface.
9689
9690 2011-09-20 Juri Linkov <juri@jurta.org>
9691
9692 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9693 (Info-forward-node, Info-backward-node, Info-next-preorder)
9694 (Info-last-preorder): Use it. (Bug#9528)
9695
9696 2011-09-20 Juri Linkov <juri@jurta.org>
9697
9698 * info.el (Info-last-preorder): Visit last menu item only when
9699 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9700
9701 2011-09-20 Julien Danjou <julien@danjou.info>
9702
9703 * password-cache.el (password-cache-remove): Remove entries even if the
9704 value is nil, so that password with a nil value (negative caching) is
9705 possible to invalidate.
9706
9707 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9708
9709 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9710 all whitespace around breakpoint. (Bug#9553)
9711 (f90-find-breakpoint): Only break at whitespace inside a comment.
9712
9713 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9714
9715 * minibuffer.el (completion-file-name-table): Keep track of errors.
9716 (completion-table-with-predicate): Handle the case where pred1 is nil.
9717 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9718
9719 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9722 (debugger-return-value): Signal an error if the debugging context does
9723 not await any return value.
9724
9725 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9726 * image-mode.el (image-toggle-display-text)
9727 (image-toggle-display-image): Stay away from evil `intangible'.
9728
9729 2011-09-19 Leo Liu <sdl.web@gmail.com>
9730
9731 * replace.el (occur-revert-arguments): Make it permanent-local.
9732 (occur-mode): Don't call font-lock-defontify.
9733
9734 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9735
9736 * net/ldap.el (ldap-search-internal): Don't push empty search
9737 result (Bug#9508).
9738
9739 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9740
9741 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9742
9743 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9744
9745 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9746 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9747
9748 2011-09-18 Juri Linkov <juri@jurta.org>
9749
9750 * buff-menu.el (Buffer-menu-mode-map):
9751 * dired.el (dired-mode-map):
9752 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9753 (lisp-interaction-mode-map):
9754 * emacs-lisp/package.el (package-menu-mode-map):
9755 * epa.el (epa-key-list-mode-map):
9756 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9757 (menu-bar-options-menu):
9758 * outline.el (outline-mode-menu-bar-map):
9759 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9760 * vc/vc-dir.el (vc-dir-menu-map):
9761 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9762 Capitalize non-function content words in menu item strings.
9763
9764 * dired.el (dired-mode-map): Add menu item for
9765 `image-dired-dired-toggle-marked-thumbs'.
9766
9767 2011-09-18 Juri Linkov <juri@jurta.org>
9768
9769 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9770 to `isearch-case-fold-search' and restore its original value
9771 after the `isearch-mode' call.
9772
9773 2011-09-18 Juri Linkov <juri@jurta.org>
9774
9775 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9776 because `zgrep' returns 1 for successful matches (bug#9226).
9777
9778 2011-09-18 Juri Linkov <juri@jurta.org>
9779
9780 * info.el (Info-extract-menu-node-name): Check the second match
9781 for empty string (second test-case of bug#9528).
9782 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9783 intermediate nodes to the history (first test-case of bug#9528).
9784
9785 2011-09-18 Juri Linkov <juri@jurta.org>
9786
9787 * info.el (Info-mode-syntax-table): New variable.
9788 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9789
9790 2011-09-18 Juri Linkov <juri@jurta.org>
9791
9792 * info.el (Info-file-supports-index-cookies):
9793 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9794 outputs one more line for long file names (bug#4142).
9795
9796 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9797
9798 * newcomment.el (comment-normalize-vars): If prompting for
9799 comment-start, set comment-start-skip too (Bug#8424).
9800
9801 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9802
9803 * icomplete.el: Fix previous fix of Bug#5849.
9804 (icomplete-mode): Don't set completion-show-inline-help.
9805 (icomplete-minibuffer-setup): Set completion-show-inline-help
9806 locally during icompletion.
9807
9808 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9809
9810 * woman.el (woman2-process-escapes): Don't delete unrecognized
9811 escapes (Bug#7843).
9812
9813 * files.el (inhibit-first-line-modes-regexps): Add image files.
9814 (hack-local-variables-prop-line): Return nil for malformed
9815 prop-lines (Bug#9044).
9816
9817 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
9818
9819 * net/tramp.el (top): Don't require 'shell.
9820 (tramp-methods): Fix docstring.
9821 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9822 Return complete remote file name. Handle "smb" case.
9823 Use `tramp-tmpdir', if defined for the respective method.
9824 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9825
9826 * net/tramp-compat.el (top): Require 'shell.
9827
9828 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9829 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9830 `tramp-current-host'.
9831 (tramp-get-remote-tmpdir): Remove.
9832
9833 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9834 `tramp-tmpdir' entries.
9835 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9836 (tramp-smb-handle-file-attributes): Ignore errors.
9837 (tramp-smb-wait-for-output): Check also for process end.
9838
9839 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9840
9841 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9842 when sending QUIT (bug#9312).
9843
9844 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
9845
9846 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9847 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9848 occur-mode-display-occurrence.
9849 (occur-edit-mode): Add usage message.
9850 (occur-cease-edit): New command.
9851 (occur-after-change-function): Use text properties to find the
9852 position of the prefix text.
9853 (occur-engine): Set stickiness of prefix text properties.
9854
9855 2011-09-17 Glenn Morris <rgm@gnu.org>
9856
9857 * progmodes/etags.el (complete-tag):
9858 Fix call to completion-in-region. (Bug#9526)
9859
9860 2011-09-17 Juri Linkov <juri@jurta.org>
9861
9862 * textmodes/ispell.el (ispell-word): Add to the error message
9863 the word, ispell program name and current dictionary (bug#9121).
9864 (ispell-tex-arg-end): Capitalize "error" in the error message.
9865
9866 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9867
9868 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9869 check. (Bug#4251)
9870
9871 2011-09-17 Juri Linkov <juri@jurta.org>
9872
9873 * window.el (window-safe-min-height, window-safe-min-width):
9874 Fix typos (followup to bug#9522).
9875
9876 2011-09-17 Sven Joachim <svenjoac@gmx.de>
9877
9878 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9879
9880 2011-09-16 Eli Zaretskii <eliz@gnu.org>
9881
9882 * simple.el (line-move): If goal-column is set, move by logical
9883 lines, not by display lines. (Bug#971)
9884 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9885 to reflect the above change.
9886
9887 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9888
9889 * image.el (imagemagick-register-types): Use regexp-opt.
9890
9891 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9892
9893 * window.el (display-buffer-base-action): Rename from
9894 display-buffer-default-action. Make default value empty.
9895 (display-buffer-overriding-action): Convert to defvar.
9896 (display-buffer-fallback-action): New var.
9897
9898 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9899
9900 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9901 declaration.
9902 (package--add-to-archive-contents): If there is a duplicate entry
9903 with an older version, remove it.
9904 (package-menu-mark-delete, package-menu-mark-install)
9905 (package-menu-mark-unmark): Make unused args optional.
9906 (package-menu-mark-obsolete-for-deletion):
9907 Use package-menu-get-status instead of a regexp search.
9908 (package-menu-get-status): Use tabulated-list-entry.
9909 (package-menu-mark-upgrades): New command.
9910 (package-menu-mode-map): Bind it to U. Add it to menu bar.
9911 (package-menu-execute): Do installation before deletion.
9912 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9913 instead of checking major-mode.
9914 (package-menu--find-upgrades): New function.
9915
9916 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9917
9918 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9919 passwords in the log buffer.
9920 (smtpmail-process-filter): Update the process marker so that the
9921 "broken by peer" status message is inserted in the right place.
9922
9923 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9926 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9927 bibtex-completion-at-point-function.
9928 (bibtex-completion-at-point-function): Use them.
9929
9930 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9931
9932 * mpc.el (mpc-constraints-tag-lookup): New function.
9933 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9934 also to browser "album|playlist".
9935
9936 2011-09-14 Juri Linkov <juri@jurta.org>
9937
9938 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9939 (isearch-edit-string): Use length of `isearch-string' when
9940 `isearch-fail-pos' returns nil.
9941 (isearch-message): Remove duplicate code and call
9942 `isearch-fail-pos' with arg `t'.
9943
9944 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9945
9946 * replace.el (occur-mode-goto-occurrence): Don't force using other
9947 window (Bug#9499).
9948
9949 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9950
9951 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9952
9953 * window.el (display-buffer-window): Remove.
9954 (display-buffer-record-window): Use help-setup window parameter
9955 instead of variable display-buffer-window.
9956 (display-buffer-function, special-display-buffer-names)
9957 (special-display-function): Mention help-setup parameter instead
9958 of display-buffer-window in doc-string.
9959 * help.el (help-window-setup): New argument help-window.
9960 Use help-window-setup parameter instead of display-buffer-window.
9961 Reword some messages.
9962 (with-help-window): Pass window used for displaying the buffer
9963 to help-window-setup. Don't set display-buffer-window.
9964
9965 2011-09-13 Glenn Morris <rgm@gnu.org>
9966
9967 * emacs-lisp/debug.el (debugger-make-xrefs):
9968 Preserve point. (Bug#9462)
9969
9970 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9971
9972 * window.el (window-deletable-p): Use next-frame.
9973
9974 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9975
9976 * window.el (window-auto-delete): Remove.
9977 (window-deletable-p): Remove argument FORCE. Don't deal with
9978 dedication and previous buffers.
9979 (switch-to-prev-buffer): Don't delete window.
9980 (delete-windows-on): Delete a window's frame if and only if the
9981 window is dedicated.
9982 (replace-buffer-in-windows): Delete buffer's window or frame if
9983 and only if window is dedicated.
9984 (quit-window): Handle quit-restore as before last change.
9985 (bury-buffer): Delete window only if window-deletable-p returns t.
9986
9987 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9988
9989 * window.el (window-deletable-p): Never delete the last frame on a
9990 given terminal.
9991
9992 2011-09-13 Glenn Morris <rgm@gnu.org>
9993
9994 * help.el (describe-key-briefly): Copy previous standard-output change.
9995
9996 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9997
9998 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9999
10000 2011-09-13 Glenn Morris <rgm@gnu.org>
10001
10002 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10003 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10004
10005 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10006
10007 * dired-aux.el (dired-mark-read-string): Don't return default
10008 value on empty input (Bug#9361).
10009 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10010 Omit initial minibuffer contents.
10011 (dired-do-chmod): Signal an error on empty input.
10012 (dired-mark-read-string): Don't return default on empty input.
10013
10014 * files.el (file-modes-symbolic-to-number): Doc fix.
10015
10016 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * international/mule-cmds.el (ucs-completions): Remove.
10019 (read-char-by-name): Use complete-with-action instead; add metadata.
10020
10021 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10022
10023 * window.el (display-buffer--action-function-custom-type)
10024 (display-buffer--action-custom-type): New vars.
10025 (display-buffer-alist, display-buffer-default-action)
10026 (display-buffer-overriding-action): Add defcustom types.
10027
10028 * frame.el (delete-other-frames): Doc fix (Bug#276).
10029
10030 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10031
10032 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10033
10034 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10035
10036 Change modes that used same-window-* vars to use switch-to-buffer.
10037
10038 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10039 Use switch-to-buffer.
10040
10041 * cus-edit.el (customize-group, custom-buffer-create)
10042 (customize-browse, custom-buffer-create-other-window):
10043 Use switch-to-buffer or switch-to-buffer-other-window.
10044
10045 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10046 (Info-prev, Info-up, Info-speedbar-goto-node)
10047 (info-display-manual): Use switch-to-buffer.
10048 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10049
10050 * mail/sendmail.el (mail): Use switch-to-buffer.
10051 (mail-recover): Use switch-to-buffer-other-window.
10052
10053 * cmuscheme.el (run-scheme, switch-to-scheme):
10054 * ielm.el (ielm):
10055 * shell.el (shell):
10056 * net/rlogin.el (rlogin):
10057 * net/telnet.el (telnet, rsh):
10058 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10059
10060 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10061
10062 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10063
10064 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10065
10066 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10067 so don't mention it (bug#9301).
10068 (dired-sort-toggle-or-edit): Clarify string further.
10069
10070 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10071 match `x', `w32' and `ns', like the manual says (bug#9029).
10072
10073 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10074 (process-kill-buffer-query-function): Mention the buffer name in
10075 the query.
10076
10077 * image-mode.el (image-next-line): The line parameter is mandatory
10078 (bug#9258).
10079
10080 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10081 which can be useful (bug#9301).
10082
10083 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10084
10085 * subr.el (match-string): Mention that the current buffer should
10086 be the same as the search was done in (bug#9282).
10087
10088 * facemenu.el: Disable the remove-* commands if the mark isn't
10089 active (bug#9162).
10090
10091 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10092
10093 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10094 of display-buffer.
10095 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10096
10097 * replace.el (occur-mode-goto-occurrence)
10098 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10099 and display-buffer.
10100
10101 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10102 display-buffer.
10103
10104 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10105 special-display and same-window variables.
10106 (mail-other-window): Use switch-to-buffer-other-window.
10107 (mail-other-frame): USe switch-to-buffer-other-frame.
10108
10109 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10110 Use display-buffer-other-frame.
10111 (gdb-display-gdb-buffer): Use pop-to-buffer.
10112
10113 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10114
10115 * progmodes/python.el: Don't set same-window-buffer-names.
10116
10117 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10118
10119 * window.el (display-buffer-alist): Add *Python*.
10120
10121 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10122
10123 * window.el (display-buffer-alist): Add entry for buffers
10124 previously handled same-window-*.
10125 (display-buffer-alist, display-buffer-default-action)
10126 (display-buffer-overriding-action): Mark as risky.
10127 (display-buffer-alist): Document action function changes.
10128 (display-buffer--same-window-action)
10129 (display-buffer--other-frame-action): New variables.
10130 (switch-to-buffer, display-buffer-other-frame): Use them.
10131 (display-buffer): Rename reuse-frame entry to reusable-frames.
10132 (display-buffer-reuse-selected-window): Function deleted.
10133 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10134 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10135 (display-buffer-special): New function.
10136 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10137 display-buffer-reuse-or-pop-window. Split off special-display
10138 part into display-buffer-special.
10139 (display-buffer-use-some-window): Don't perform any special
10140 pop-up-frames handling.
10141 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10142 (display-buffer--maybe-same-window): Rename from
10143 display-buffer-maybe-same-window.
10144
10145 * info.el: Don't set same-window-regexps.
10146 (info-setup): New function.
10147 (info-other-window, info): Call it.
10148
10149 * cus-edit.el: Don't set same-window-regexps.
10150 (customize-group): New argument.
10151 (customize-group-other-window): Use it.
10152 (customize-face, customize-face-other-window): Likewise.
10153 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10154
10155 * net/rlogin.el:
10156 * net/telnet.el:
10157 * progmodes/gud.el: Don't set same-window-regexps.
10158
10159 * cmuscheme.el:
10160 * ielm.el:
10161 * shell.el:
10162 * mail/sendmail.el:
10163 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10164
10165 2011-09-10 Juri Linkov <juri@jurta.org>
10166
10167 * isearch.el (isearch-edit-string): Remove obsolete mention of
10168 `C-w' (`isearch-yank-word-or-char') from docstring.
10169 (isearch-query-replace): Fix typo in docstring (bug#9466).
10170
10171 2011-09-10 Juri Linkov <juri@jurta.org>
10172
10173 * paren.el (show-paren-function): Don't show escaped parens.
10174 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10175
10176 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10177
10178 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10179 (mm-default-file-encoding): Remove autoload forms, they are
10180 replaced with autoload cookies in mml.el and mm-encode.el.
10181 (mail-add-attachment): New command.
10182 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10183 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10184 the doc string.
10185 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10186
10187 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10188
10189 * simple.el (count-words-region): Use buffer if there's no region
10190 (bug#9429).
10191
10192 2011-09-09 Juri Linkov <juri@jurta.org>
10193
10194 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10195 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10196 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10197
10198 2011-09-09 Alan Mackenzie <acm@muc.de>
10199
10200 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10201 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10202
10203 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10204
10205 Fix for Savannah bug#9392.
10206 * simple.el (mail-encode-mml): New defvar.
10207
10208 * mail/rmail.el (mail-encode-mml): Add a defvar.
10209 (rmail-enable-mime-composing): Default to t.
10210 (rmail-forward): Use MIME method of forwarding only if both
10211 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10212 Set mail-encode-mml non-nil if the MIME method was used.
10213
10214 * mail/sendmail.el (mml-to-mime): Add autoload form.
10215 (mail-encode-mml): Add a defvar.
10216 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10217 to nil.
10218 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10219 message through mml-to-mime, and reset mail-encode-mml to nil.
10220
10221 2011-09-09 Glenn Morris <rgm@gnu.org>
10222
10223 * woman.el (woman-if-body): When processing an .el block,
10224 do not delete the next .el block as well. (Bug#9447)
10225 (woman-special-characters): Add oq, cq, and hy characters.
10226
10227 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10228
10229 * window.el (window-deletable-p): Make sure window is live before
10230 invoking window-prev-buffers.
10231
10232 2011-09-08 Leo Liu <sdl.web@gmail.com>
10233
10234 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10235
10236 2011-09-08 Juri Linkov <juri@jurta.org>
10237
10238 * progmodes/compile.el (compilation-environment): Make it
10239 a defcustom (bug#8340).
10240
10241 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10242
10243 * window.el (frame-auto-delete): Rename to window-auto-delete.
10244 Make it control auto-deletion of windows and/or frames.
10245 (window-deletable-p): New argument FORCE. Rewrite conditions
10246 for deleting window/frame. (Bug#9419)
10247 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10248 Rewrite handling of case when window/frame can be deleted.
10249 (delete-windows-on): Call window-deletable-p with new FORCE
10250 argument t. (Bug#9456)
10251
10252 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10253
10254 * help-mode.el (help-mode): Restore autoload.
10255
10256 2011-09-07 Juri Linkov <juri@jurta.org>
10257
10258 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10259 `compilation-environment'. Set buffer-local
10260 `compilation-environment' to `thisenv' later after (funcall mode).
10261 (Bug#8340)
10262
10263 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10264 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10265 instead of replacing its value. (Bug#8340)
10266
10267 2011-09-07 Juri Linkov <juri@jurta.org>
10268
10269 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10270 based on text properties put by `grep-filter' instead of matching
10271 escape sequences.
10272 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10273 to the value of `grep-error-screen-columns' (bug#9438).
10274
10275 2011-09-07 Juri Linkov <juri@jurta.org>
10276
10277 * simple.el (next-error-highlight, next-error-highlight-no-select):
10278 Doc fix (bug#9432).
10279
10280 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10281
10282 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10283 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10284
10285 2011-09-07 Leo Liu <sdl.web@gmail.com>
10286
10287 * net/rcirc.el (rcirc-mode): Conditionally initialize
10288 rcirc-input-ring.
10289
10290 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * emacs-lisp/find-func.el (find-function-C-source): Only set
10293 find-function-C-source-directory after checking that we found a source
10294 file there (bug#9440).
10295
10296 2011-09-06 Alan Mackenzie <acm@muc.de>
10297
10298 * isearch.el (isearch-other-meta-char): Wherever a key list is
10299 unread, "unread" the prefix arg, too. This fixes bug #8901.
10300
10301 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10302
10303 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10304
10305 2011-09-05 Juri Linkov <juri@jurta.org>
10306
10307 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10308
10309 2011-09-05 Juri Linkov <juri@jurta.org>
10310
10311 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10312 keeping point where processing of grep matches begins, and
10313 continue to delete remaining escape sequences from the same point.
10314 (grep-filter): Make leading zero optional in "0?1;31m" because
10315 git-grep emits "\033[1;31m" escape sequences unlike expected
10316 "\033[01;31m" as GNU Grep does (bug#9408).
10317 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10318
10319 2011-09-05 Juri Linkov <juri@jurta.org>
10320
10321 * subr.el (y-or-n-p): Capitalize "yes".
10322
10323 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10324
10325 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10326 `tramp-cache-unload-hook' where appropriate.
10327 (tramp-methods): Rename `tramp-remote-sh' to
10328 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10329 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10330
10331 * net/tramp-sh.el (top): Don't require 'shell.
10332 (tramp-methods): Add `tramp-remote-shell' and
10333 `tramp-remote-shell-args' entries.
10334 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10335 (tramp-sh-handle-shell-command): Remove.
10336 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10337 Use `tramp-remote-shell'.
10338
10339 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10340
10341 * mail/sendmail.el (sendmail-query-once-function): Delete.
10342 (sendmail-query-once): Save directly to send-mail-function.
10343 Update message-send-mail-function too.
10344
10345 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10346
10347 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10348
10349 * progmodes/python.el (python-mode-map): Use correct function to
10350 start python interpreter from menu-bar (as reported by Geert
10351 Kloosterman).
10352 (inferior-python-mode-map): Fix typo.
10353 (python-shell-map): Remove.
10354
10355 2011-09-03 Deniz Dogan <deniz@dogan.se>
10356
10357 * net/rcirc.el (rcirc-print): Simplify code for
10358 rcirc-scroll-show-maximum-output. There is no need to walk
10359 through all windows to find the right one.
10360
10361 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10362
10363 * help.el (help-return-method): Doc fix.
10364
10365 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10366
10367 * window.el (window-deletable-p): Don't return a non-nil value
10368 when there's a buffer that was shown in the window before.
10369 (Bug#9419)
10370 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10371 Set window's previous buffers to nil.
10372
10373 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10374
10375 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10376 newline before and after the tag line, so it doesn't interfere
10377 with determining the paragraph direction of bidirectional text.
10378
10379 2011-09-03 Leo Liu <sdl.web@gmail.com>
10380
10381 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10382
10383 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10384
10385 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10386 (pop-to-buffer): Change interactive spec. Pass second argument
10387 directly to display-buffer.
10388 (display-buffer): Fix interactive spec. Use functionp to
10389 distinguish between a function and a list of functions.
10390
10391 * abbrev.el (edit-abbrevs):
10392 * arc-mode.el (archive-extract):
10393 * autoinsert.el (auto-insert):
10394 * bookmark.el (bookmark-bmenu-list):
10395 * files.el (find-file):
10396 * view.el (view-buffer):
10397 * progmodes/compile.el (compilation-goto-locus):
10398 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10399
10400 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10401
10402 * window.el (display-buffer-alist): Doc fix.
10403 (display-buffer): Add docstring. Don't treat
10404 display-buffer-default specially.
10405 (display-buffer-reuse-selected-window)
10406 (display-buffer-same-window, display-buffer-maybe-same-window)
10407 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10408 (display-buffer-pop-up-window)
10409 (display-buffer-reuse-or-pop-window)
10410 (display-buffer-use-some-window): New functions.
10411 (display-buffer-default-action): Use them.
10412 (display-buffer-default): Delete.
10413 (pop-to-buffer-1): Fix choice of actions.
10414
10415 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * minibuffer.el (completion--insert-strings): Don't get confused by
10418 completion entries that end with an LF char.
10419
10420 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10421
10422 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10423
10424 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10425
10426 * window.el (display-buffer): Restore interactive spec.
10427 (display-buffer-same-window, display-buffer-other-window):
10428 New functions.
10429 (pop-to-buffer-1): New function. Use the above.
10430 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10431 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10432
10433 * view.el (view-buffer-other-window, view-buffer-other-frame):
10434 Just use pop-to-buffer.
10435
10436 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10437
10438 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10439
10440 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10441
10442 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10443
10444 2011-08-31 Richard Stallman <rms@gnu.org>
10445
10446 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10447 of the separation of rmail-view-buffer from rmail-buffer.
10448 If you say no to "replace original", the decrypt is in the
10449 view buffer. If you say yes, the decrypt goes into the
10450 rmail buffer also.
10451
10452 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10453
10454 * window.el (display-buffer-window): Rewrite doc-string.
10455 (display-buffer-record-window): New function.
10456 (display-buffer-macro-specifiers)
10457 (display-buffer-even-window-sizes, display-buffer-set-height)
10458 (display-buffer-set-width, display-buffer-in-window)
10459 (display-buffer-reuse-window, display-buffer-split-specifiers)
10460 (display-buffer-side-specifiers, display-buffer-split-window-1)
10461 (display-buffer-split-window, display-buffer-split-atom-window)
10462 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10463 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10464 (display-buffer-other-window-means-other-frame)
10465 (display-buffer-normalize-special)
10466 (display-buffer-normalize-default)
10467 (display-buffer-normalize-argument)
10468 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10469 (display-buffer-normalize-specifiers, display-buffer-frame)
10470 (display-buffer-same-window, display-buffer-same-frame)
10471 (display-buffer-other-window)
10472 (display-buffer-same-frame-other-window)
10473 (display-buffer-other-frame, pop-to-buffer-same-window)
10474 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10475 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10476 (switch-to-buffer-same-frame)
10477 (switch-to-buffer-other-window-same-frame)
10478 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10479 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10480 (display-buffer-alist-set): Remove.
10481 (display-buffer-function, special-display-buffer-names)
10482 (special-display-regexps, special-display-function):
10483 In doc-string refer to display-buffer-window and quit-restore
10484 parameter.
10485 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10486 (special-display-frame-alist, special-display-popup-frame)
10487 (same-window-buffer-names, same-window-regexps, same-window-p)
10488 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10489 (split-window-preferred-function, split-height-threshold)
10490 (split-width-threshold, window-splittable-p)
10491 (split-window-sensibly, window--try-to-split-window)
10492 (window--frame-usable-p, even-window-heights)
10493 (window--even-window-heights, window--display-buffer-1)
10494 (window--display-buffer-2, display-buffer-other-frame):
10495 Restore old Emacs 23 code, order and doc-strings where applicable.
10496 (display-buffer-default, display-buffer-assq-regexp): New functions.
10497 (display-buffer-alist): Rewrite doc-string.
10498 (display-buffer-default-action)
10499 (display-buffer-overriding-action): New variables.
10500 (display-buffer, switch-to-buffer): Rewrite.
10501 (pop-to-buffer): Restore Emacs 23 behavior but use
10502 window-normalize-buffer-to-display.
10503 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10504 Restore Emacs 23 behavior but use
10505 window-normalize-buffer-to-switch-to.
10506 (pop-to-buffer-same-window): Rewrite.
10507 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10508 Rewrite using Emacs 23 options.
10509
10510 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10511
10512 * net/tramp.el (tramp-root-regexp): Remove.
10513 (tramp-completion-file-name-regexp-unified)
10514 (tramp-completion-file-name-regexp-separate)
10515 (tramp-completion-file-name-regexp-url): Don't use leading volume
10516 letter on w32 systems. (Bug#5303, Bug#9311)
10517 (tramp-drop-volume-letter): Simplify definition.
10518 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10519
10520 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10521
10522 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10523 (bug#9356).
10524
10525 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10526
10527 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10528
10529 2011-08-29 Juri Linkov <juri@jurta.org>
10530
10531 * isearch.el (isearch-done): Don't display message "Mark saved"
10532 when arg `edit' is non-nil to prevent its flicker in the echo area.
10533
10534 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10535
10536 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10537 obsolete packages for deletion.
10538
10539 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10540
10541 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10542 (help-mode): Derive help-mode from special-mode. Don't invoke
10543 view-mode from help-mode.
10544 (help-xref-override-view-map): Remove.
10545 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10546 view-mode is not used anymore.
10547
10548 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10549
10550 * server.el (server-port): Doc fix.
10551
10552 * cus-theme.el (custom-theme-choose-mode): Inherit from
10553 special-mode (Bug#9124).
10554 (custom-theme-choose-mode-map): Add special-mode to parent.
10555
10556 2011-08-28 Alan Mackenzie <acm@muc.de>
10557
10558 * progmodes/cc-fonts.el
10559 (c-make-font-lock-BO-decl-search-function): New function.
10560 (c-basic-matchers-after - "Fontify the clauses after various
10561 keywords"): Extract the three keyword lists for the 3 erroneous
10562 constructs from the list of four, and use the new function above
10563 in place of an old one.
10564
10565 2011-08-28 Deniz Dogan <deniz@dogan.se>
10566
10567 * net/rcirc.el (rcirc-insert-prev-input)
10568 (rcirc-insert-next-input): Remove unused argument.
10569
10570 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10573
10574 2011-08-27 Alan Mackenzie <acm@muc.de>
10575
10576 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10577 handle function pointer parameters properly.
10578
10579 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10580
10581 * window.el (display-buffer-reuse-window): Fix case where
10582 selected window was reused with non-nil OTHER-WINDOW argument.
10583 (Bug#9381)
10584
10585 2011-08-27 Deniz Dogan <deniz@dogan.se>
10586
10587 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10588 oftc's NickServ messages.
10589
10590 2011-08-27 Glenn Morris <rgm@gnu.org>
10591
10592 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10593
10594 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10595
10596 * emacs-lisp/package.el (package-install): Call package-initialize
10597 if called interactively.
10598
10599 2011-08-26 Leo Liu <sdl.web@gmail.com>
10600
10601 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10602
10603 2011-08-25 Juri Linkov <juri@jurta.org>
10604
10605 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10606 `search-whitespace-regexp' (bug#9364).
10607
10608 2011-08-25 Juri Linkov <juri@jurta.org>
10609
10610 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10611 `regexp-search-ring' to their global values to protect from
10612 updating by `read-from-minibuffer' (bug#9185).
10613
10614 2011-08-25 Juri Linkov <juri@jurta.org>
10615
10616 * textmodes/ispell.el (ispell-command-loop): Add newline
10617 at the end of the "Use option `i'..." line.
10618
10619 2011-08-25 Juri Linkov <juri@jurta.org>
10620
10621 * battery.el (display-battery-mode): If `battery-status-function'
10622 or `battery-mode-line-format' is nil, display the message and set
10623 `display-battery-mode' to nil (bug#9363).
10624
10625 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10626
10627 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10628 bidi-string-mark-left-to-right; they are unnecessary now.
10629
10630 2011-08-25 Deniz Dogan <deniz@dogan.se>
10631
10632 * net/quickurl.el: Documentation typo fixes.
10633
10634 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10635
10636 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10637
10638 2011-08-25 Glenn Morris <rgm@gnu.org>
10639
10640 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10641
10642 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10643 (smtpmail-via-smtp): Handle nil response from smtp.
10644
10645 2011-08-24 Juri Linkov <juri@jurta.org>
10646
10647 * proced.el (proced-marked): Inherit from `error' instead of
10648 `font-lock-warning-face'.
10649
10650 * ibuffer.el (ibuffer-marked-face): Change default face from
10651 `font-lock-warning-face' to `warning'.
10652 (ibuffer-deletion-face): Change default face from
10653 `font-lock-type-face' to `error'.
10654
10655 * battery.el (battery-update): Use the face `error' instead of
10656 `font-lock-warning-face' (bug#6117).
10657
10658 2011-08-24 Juri Linkov <juri@jurta.org>
10659
10660 * faces.el (success): Change face color from "Green3" to
10661 "ForestGreen" on light background (bug#9353).
10662
10663 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10664
10665 * window.el (quit-window): Rename from quit-restore-window.
10666 Use same arglist as old quit-window.
10667 (frame-auto-delete): Doc fix.
10668
10669 * view.el (view-mode-exit): Use quit-window.
10670
10671 2011-08-24 Juri Linkov <juri@jurta.org>
10672
10673 * isearch.el (isearch-ring-adjust1): Start visiting previous
10674 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10675 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10676 for empty search string (when the last search string is reused
10677 automatically) to adjust the isearch ring to the last element and
10678 prepare the correct index for further M-p commands (bug#9185).
10679
10680 2011-08-24 Kenichi Handa <handa@m17n.org>
10681
10682 * international/ucs-normalize.el: If decomposition property of
10683 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10684 nil.
10685 (nfd, nfkd): Likewise.
10686
10687 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10688
10689 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10690 from process filters aren't reliably transmitted to the surrounding
10691 accept-process-output.
10692 (mpc-proc-check): New function.
10693 (mpc-proc-sync): Use it (bug#8293)
10694
10695 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10696
10697 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10698 Add compatibility functions (bug#9313).
10699
10700 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10701
10702 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10703
10704 * international/uni-bidi.el: Regenerate.
10705
10706 2011-08-23 Kenichi Handa <handa@m17n.org>
10707
10708 * international/charprop.el:
10709 * international/uni-bidi.el:
10710 * international/uni-category.el:
10711 * international/uni-combining.el:
10712 * international/uni-comment.el:
10713 * international/uni-decimal.el:
10714 * international/uni-decomposition.el:
10715 * international/uni-digit.el:
10716 * international/uni-lowercase.el:
10717 * international/uni-mirrored.el:
10718 * international/uni-name.el:
10719 * international/uni-numeric.el:
10720 * international/uni-old-name.el:
10721 * international/uni-titlecase.el:
10722 * international/uni-uppercase.el: Regenerate.
10723
10724 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10725
10726 * help.el (help-window-setup): Fix message displayed when other
10727 window is reused. (Bug#9341)
10728
10729 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10730
10731 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10732 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10733
10734 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10735 Mark obsolete.
10736 * shell.el (shell-parse-pcomplete-arguments): New function.
10737 (shell-completion-vars): Use it instead (bug#9160).
10738
10739 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10740
10741 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10742 strings and comments (bug#9333).
10743
10744 * emacs-lisp/debug.el (debug-arglist): New function.
10745 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10746 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10747
10748 2011-08-22 Juri Linkov <juri@jurta.org>
10749
10750 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10751 Revert regexp that highlights output switches to its old
10752 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10753
10754 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10755 to check for empty output (bug#9226).
10756
10757 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10758
10759 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10760 symbol-constituent as the default, as that stops font-lock from
10761 working properly (Bug#8843).
10762
10763 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10764
10765 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10766 `coding-system-for-*' around the process open call to avoid
10767 auth-source side effects.
10768 (smtpmail-try-auth-methods): Expand the secret password.
10769 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10770 probe hangs.
10771
10772 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10773
10774 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10775
10776 * emacs-lisp/find-func.el (find-function-noselect): New arg
10777 lisp-only.
10778
10779 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10780 signal an error for built-in functions (Bug#6664).
10781
10782 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10783
10784 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10785 (smtpmail-try-auth-methods): Use it.
10786
10787 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10788
10789 * font-lock.el (font-lock-fontify-region)
10790 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10791 (font-lock-default-unfontify-buffer)
10792 (font-lock-default-fontify-region)
10793 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10794
10795 * progmodes/compile.el (compilation-error-properties):
10796 Fix confusion between file struct and message struct (Bug#9319).
10797 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10798 `ant' regexp.
10799
10800 * net/browse-url.el (browse-url-firefox): Don't call
10801 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10802
10803 2011-08-20 Glenn Morris <rgm@gnu.org>
10804
10805 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10806
10807 * tutorial.el (tutorial--default-keys): Update some default bindings.
10808
10809 * files.el (hack-local-variables): Fully ignore case for "mode:".
10810
10811 2011-08-20 Alan Mackenzie <acm@muc.de>
10812
10813 Resolve invalid use of a regexp in regexp-opt.
10814
10815 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10816 detection for a java annotation.
10817
10818 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10819 detection for a java annotation.
10820
10821 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10822 handling for java.
10823 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10824
10825 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
10826
10827 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10828 (Bug#9274).
10829
10830 2011-08-20 Alan Mackenzie <acm@muc.de>
10831
10832 Fontify CPP expressions correctly when starting in the middle of
10833 such a construct. Mainly for when jit-lock etc. starts a chunk
10834 here.
10835
10836 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
10837 variable.
10838 (c-make-font-lock-search-form): New function, extracted from
10839 c-make-font-lock-search-function.
10840 (c-make-font-lock-search-function): Use the above function.
10841 (c-make-font-lock-context-search-function): New function.
10842 (c-cpp-matchers): Enhance the preprocessor expression case with
10843 the above function
10844 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10845 which takes an expression.
10846
10847 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10848
10849 2011-08-20 Martin Rudalics <rudalics@gmx.at>
10850
10851 * window.el (display-buffer-reuse-window)
10852 (display-buffer-pop-up-window): Don't reuse or split a side
10853 window.
10854
10855 2011-08-19 Glenn Morris <rgm@gnu.org>
10856
10857 * files.el (hack-local-variables-prop-line, hack-local-variables):
10858 Downcase "Mode:". (Bug#9331)
10859
10860 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
10861
10862 * international/characters.el: Add L and R categories.
10863
10864 * subr.el (bidi-string-mark-left-to-right): Rename from
10865 string-mark-left-to-right. Use category search.
10866
10867 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10868
10869 2011-08-18 Juri Linkov <juri@jurta.org>
10870
10871 * faces.el (error, warning, success): New faces with definitions
10872 copied from old default values of `font-lock-warning-face',
10873 `compilation-warning', `compilation-info' (bug#6117).
10874
10875 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10876
10877 * progmodes/compile.el (compilation-error): Inherit from `error'.
10878 (compilation-warning): Inherit from `warning'.
10879 (compilation-info): Inherit from `success'.
10880
10881 * dired.el (dired-marked): Inherit from `warning'.
10882 (dired-flagged): Inherit from `error'.
10883
10884 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10885
10886 * mail/smtpmail.el (auth-source): Require to avoid problems with
10887 binding variables (bug#9298). Also clean up some unused
10888 autoloads.
10889
10890 * net/network-stream.el (network-stream-open-starttls):
10891 Support using starttls.el without using gnutls-cli.
10892
10893 2011-08-17 Juri Linkov <juri@jurta.org>
10894
10895 * progmodes/grep.el (rgrep): Handle the case when
10896 `grep-find-command' is a cons cell (bug#9278).
10897
10898 2011-08-17 Martin Rudalics <rudalics@gmx.at>
10899
10900 * window.el (display-buffer-pop-up-frame): Run frame creation
10901 function with BUFFER current (as special-display-popup-frame
10902 does). Reported by Drew Adams.
10903
10904 2011-08-17 Daiki Ueno <ueno@unixuser.org>
10905
10906 * epa-mail.el: Simplify GnuPG group expansion using
10907 epg-expand-group.
10908 (epa-mail-group-alist, epa-mail-group-modtime)
10909 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10910 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10911 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10912 Remove.
10913
10914 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
10915
10916 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10917
10918 2011-08-16 Alan Mackenzie <acm@muc.de>
10919
10920 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10921 Correct, to avoid the inside of macros.
10922
10923 2011-08-16 Richard Stallman <rms@gnu.org>
10924
10925 * epa-mail.el: Handle GnuPG group definitions.
10926 (epa-mail-group-alist, epa-mail-group-modtime)
10927 (epa-mail-gnupg-conf-file): New variables.
10928 (epa-mail-parse-groups, epa-mail-sync-groups)
10929 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10930 (epa-mail-expand-recipients): New functions.
10931 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10932
10933 * mail/rmail.el (rmail-epa-decrypt): New command.
10934
10935 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10936 Don't bind buffer-read-only, just inhibit-read-only.
10937 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10938 (epa-decrypt-armor-in-region): Make error message clearer.
10939
10940 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10941
10942 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10943 and "a2b" to "ab" for `prefix'.
10944
10945 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10946
10947 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10948 filter groups.
10949 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10950 Fourquet (Bug#8804).
10951
10952 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10953
10954 * startup.el (argi): Declare as global variable (bug#9275).
10955
10956 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10957
10958 * subr.el (string-mark-left-to-right): Search the entire string
10959 for RTL script, not just the terminating character. Doc fix.
10960
10961 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10962
10963 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10964 New function.
10965 (js--regexp-literal, js-syntax-propertize-function): Remove.
10966 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10967 (js-mode-map): Don't rebind electric keys.
10968 (js-insert-and-indent): Remove.
10969 (js-mode): Setup electric-layout and electric-indent instead.
10970
10971 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10972
10973 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10974
10975 * epa.el (epa-progress-callback-function): Fix the logic of
10976 displaying progress.
10977 * epa-file.el (epa-file-insert-file-contents): Make progress
10978 display more user-friendly.
10979 (epa-file-write-region): Ditto.
10980
10981 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10982
10983 * subr.el (string-mark-left-to-right): New function.
10984
10985 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10986 Use string-mark-left-to-right.
10987 (list-buffers-noselect): Caller changed.
10988
10989 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10990 Use string-mark-left-to-right.
10991 (tabulated-list-print): Recenter after moving point.
10992
10993 2011-08-10 Juri Linkov <juri@jurta.org>
10994
10995 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10996 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10997 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10998
10999 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11000
11001 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11002 (Bug#7554).
11003
11004 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11005
11006 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11007 character. (Bug#6594)
11008
11009 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11010
11011 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11012 (image-dired--with-db-file): New macro.
11013 (image-dired-write-tags, image-dired-remove-tag)
11014 (image-dired-create-gallery-lists, image-dired-write-comments)
11015 (image-dired-get-comment, image-dired-mark-tagged-files)
11016 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11017 (image-dired-gallery-generate): Use insert-file-contents.
11018
11019 * time.el (display-time-world-list, display-time-world-display):
11020 * time-stamp.el (time-stamp-string):
11021 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11022 set-time-zone-rule (Bug#7337).
11023
11024 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11025
11026 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11027 (epg-error-to-string, epg-errors-to-string): New function.
11028 (epg-wait-for-completion): Reverse errors list.
11029 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11030 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11031 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11032 (epg-sign-keys, epg-generate-key-from-file)
11033 (epg-generate-key-from-string): Format errors by using
11034 epg-errors-to-string (bug#9255).
11035 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11036
11037 2011-08-07 Juri Linkov <juri@jurta.org>
11038
11039 * faces.el (list-faces-display): Remove extra angle bracket
11040 from `help-mode-map'.
11041
11042 * info.el (Info-history-toc-nodes): Doc fix.
11043
11044 * longlines.el (longlines-mode): Doc fix.
11045
11046 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11047
11048 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11049 of statements and in a few more cases (bug#9183).
11050
11051 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11052 New functions.
11053 (cl-transform-lambda): Use them (bug#9239).
11054
11055 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11056
11057 * window.el (display-buffer-same-window)
11058 (display-buffer-same-frame, display-buffer-other-window)
11059 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11060 (pop-to-buffer-other-window)
11061 (pop-to-buffer-same-frame-other-window)
11062 (pop-to-buffer-other-frame): Make them defuns.
11063 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11064
11065 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11066
11067 * subr.el (make-composed-keymap): Move from C. Change calling
11068 convention, and improve docstring to bring attention to a subtle point.
11069 * minibuffer.el (completing-read-default): Adjust accordingly.
11070
11071 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11072
11073 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11074 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11075
11076 * net/trampver.el: Update release number.
11077
11078 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11081 "in" (bug#9190).
11082
11083 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11084
11085 * mail/sendmail.el (sendmail-query-once): Restore the current
11086 buffer after querying (bug#9074).
11087
11088 * dired.el (dired-flagged): Use different faces for marked and
11089 flagged files (bug#6117).
11090
11091 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11092 (bug#4433).
11093
11094 * ido.el (ido-mode): Switch off the message if called
11095 non-interactively.
11096
11097 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11098 before 587, since it appears that that's more likely to work for
11099 more people.
11100
11101 * cus-edit.el (custom-file): When running under emacs -q, always
11102 refuse to save the customizations, even if the .emacs file doesn't
11103 exist.
11104
11105 * info.el: Remove the `Info-beginning-of-buffer' function
11106 (bug#8325).
11107
11108 * net/network-stream.el (network-stream-open-starttls):
11109 Use `starttls-available-p' to see whether starttls.el can be used.
11110
11111 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11112
11113 * window.el (display-buffer-in-window): Don't set dedicated status
11114 of window here (Bug#9215).
11115 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11116 (display-buffer-pop-up-side-window)
11117 (display-buffer-in-side-window): Set dedicated status of window here.
11118
11119 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11120
11121 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11122 before binding generated-autoload-file.
11123
11124 2011-08-01 Deniz Dogan <deniz@dogan.se>
11125
11126 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11127
11128 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11129
11130 Sync with Tramp 2.2.2.
11131
11132 * net/trampver.el: Update release number.
11133
11134 2011-07-30 Juri Linkov <juri@jurta.org>
11135
11136 * dired-aux.el (dired-touch-initial): Remove function.
11137 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11138 current time, and `default' to the last modification time of the
11139 current marked file (bug#6887).
11140
11141 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11142
11143 * simple.el (goto-line): Use string-to-number to provide a
11144 numeric argument to read-number (bug#9163).
11145
11146 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11147
11148 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11149 connection process, it could be nil.
11150
11151 2011-07-27 Leo Liu <sdl.web@gmail.com>
11152
11153 Simplify url handling in rcirc-mode.
11154
11155 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11156 (rcirc-browse-url-at-mouse): Remove.
11157 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11158
11159 2011-07-26 Alan Mackenzie <acm@muc.de>
11160
11161 Fontify bitfield declarations properly.
11162
11163 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11164 (c-symbol-chars): Now exported as a lang variable.
11165 (c-not-primitive-type-keywords): New lang variable.
11166
11167 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11168 QT keyword "more" to prevent "more slots: ...." being spuriously
11169 parsed as a bitfield declaration.
11170
11171 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11172 Refactor and enhance to handle bitfield declarations.
11173 (c-punctuation-in): New function.
11174 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11175 declarations properly.
11176
11177 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11178
11179 * calendar/icalendar.el (icalendar--all-events): Take care of
11180 multiple vcalendars in a single file.
11181 (icalendar--convert-float-to-ical): Checkdoc fixes.
11182
11183 2011-07-25 Deniz Dogan <deniz@dogan.se>
11184
11185 * image.el (insert-image): Clarifying docstring.
11186
11187 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11188
11189 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11190 `tramp-send-command-and-check' if there is no error.
11191 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11192
11193 2011-07-22 Alan Mackenzie <acm@muc.de>
11194
11195 Prevent cc-langs.elc being loaded at run time.
11196
11197 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11198 cc-langs.
11199
11200 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11201 "(require 'cc-langs)". Quote a form so it will evaluate at
11202 (cc-mode's) compilation time.
11203
11204 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11205
11206 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11207 loading. (Bug#9114)
11208
11209 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11210
11211 * window.el (display-buffer-pop-up-window)
11212 (display-buffer-pop-up-side-window)
11213 (display-buffer-in-side-window): Call display-buffer-set-height
11214 and display-buffer-set-width after setting the new window's
11215 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11216
11217 2011-07-20 Sam Steingold <sds@gnu.org>
11218
11219 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11220 (etags-tags-included-tables): Call `convert-standard-filename' on
11221 the file names contained in TAGS so that windows Emacs can handle
11222 TAGS files created by cygwin ctags.
11223
11224 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11225
11226 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11227 which apparently didn't work.
11228
11229 2011-07-19 Roland Winkler <winkler@gnu.org>
11230
11231 * proced.el (proced-send-signal): For *Marked Processes* buffer
11232 put point at beginning of buffer.
11233
11234 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11235
11236 * proced.el (proced-format): Make header lines align with the text
11237 (bug#1779).
11238
11239 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11240
11241 * view.el (view-buffer): Allow running in `special' modes if we're
11242 visiting a file (bug#8615).
11243
11244 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11245
11246 * window.el (display-buffer-alist-of-strings-p)
11247 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11248 New functions.
11249 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11250 more accurately.
11251
11252 2011-07-18 Alan Mackenzie <acm@muc.de>
11253
11254 Fontify declarators properly when, e.g., a jit-lock chunk begins
11255 inside a declaration.
11256
11257 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11258
11259 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11260 New function.
11261 (c-complex-decl-matchers): Insert reference to
11262 c-font-lock-enclosing-decls.
11263
11264 * progmodes/cc-engine.el (c-backward-single-comment):
11265 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11266 to nil around calls to (forward-comment -1).
11267
11268 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11269
11270 * image.el (put-image): Doc typo fix.
11271
11272 * progmodes/etags.el (tags-search): Doc typo fix.
11273
11274 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11275 password if we get errors 550 to 554.
11276
11277 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11278
11279 * net/gnutls.el (gnutls-log-level): Remove.
11280
11281 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11282 indentation character (bug#6380).
11283
11284 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11285
11286 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11287 to clarify what the problem is (bug#4291).
11288
11289 * simple.el (current-kill): Clarify what
11290 `interprogram-paste-function' does (bug#7500).
11291 (auto-fill-mode): Document `auto-fill-function' in relation to
11292 `auto-fill-mode' (bug#2470).
11293
11294 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11295
11296 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11297 method if slot is read-only (bug#9035).
11298
11299 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11300
11301 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11302 * window.el (pop-to-buffer): Select window used even if it was
11303 selected before, see discussion of (Bug#8615), (Bug#6954).
11304 Pass argument NORECORD on to select-frame-set-input-focus.
11305
11306 2011-07-15 Glenn Morris <rgm@gnu.org>
11307
11308 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11309 Respect help-form.
11310
11311 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11312
11313 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11314 (gnutls-negotiate): Use it.
11315
11316 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11317
11318 * net/gnutls.el (gnutls-negotiate):
11319 Upcase `gnutls-algorithm-priority'.
11320
11321 2011-07-15 Glenn Morris <rgm@gnu.org>
11322
11323 * jka-compr.el (jka-compr-verbose): Move from here...
11324 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11325 Add missing :version tag.
11326 * info.el: No need to require jka-compr when compiling.
11327
11328 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11329
11330 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11331 (gnutls-negotiate): Use it.
11332
11333 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11334
11335 * info.el (Info-beginning-of-buffer): New command.
11336 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11337 announcing `b' as the key (bug#8325).
11338 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11339
11340 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11341
11342 * international/mule-cmds.el
11343 (describe-specified-language-support): Make the error message
11344 clearer (bug#8905).
11345
11346 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11347
11348 * isearch.el (isearch-barrier): Add a doc string, since it's
11349 mentioned in a function doc string (bug#8678).
11350
11351 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11352
11353 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11354 buffer argument (Bug#9083) and self-identifying label argument.
11355
11356 2011-07-15 Glenn Morris <rgm@gnu.org>
11357
11358 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11359
11360 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11361
11362 * man.el (Man-fontify-manpage): Fix message when formatting the
11363 man page (bug#7929).
11364
11365 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11366
11367 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11368 argument LRM; if non-nil, append an invisible LRM character to the
11369 buffer name.
11370 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11371 last argument non-nil, when formatting buffer names.
11372 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11373 paragraph direction.
11374
11375 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11376
11377 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11378 the man page name (bug#7929).
11379
11380 * image.el (put-image): Mention the `put-image' overlay property
11381 (bug#7834).
11382
11383 * scroll-bar.el (set-scroll-bar-mode): Mention that
11384 `scroll-bar-mode' lists the values (bug#7772).
11385
11386 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11387 command (bug#7729).
11388
11389 * rect.el (apply-on-rectangle): Return the point after the last
11390 operation.
11391 (string-rectangle): Go to the point after the last operation
11392 (bug#7522).
11393
11394 * printing.el (pr-toggle-region): Clarify the documentation
11395 slightly (bug#7493).
11396
11397 * time.el (display-time-update):
11398 Allow `display-time-mail-function' to return nil (bug#7158).
11399 Fix suggested by Detlev Zundel.
11400
11401 * vc/diff.el (diff): Clarify the order the file names are read
11402 (bug#7111).
11403
11404 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11405 the doc string (bug#7015).
11406
11407 * font-lock.el (font-lock-maximum-decoration): Mention what
11408 numeric levels mean (bug#6935).
11409
11410 * startup.el (initial-buffer-choice): Don't mention the `none'
11411 selection, which is against policy.
11412
11413 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11414
11415 * window.el (display-buffer-normalize-special):
11416 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11417
11418 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11419
11420 * subr.el (version<, version<=, version=): Mention "-CVS" and
11421 "-12345" alpha version numbers.
11422
11423 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11424
11425 * bindings.el: Add advertised binding for set-mark-command
11426 (Bug#5772).
11427
11428 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11429
11430 * bindings.el (mode-line-other-buffer):
11431 * bookmark.el (bookmark-bmenu-2-window):
11432 * bs.el (bs-cycle-next, bs-cycle-previous):
11433 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11434 switch-to-buffer.
11435
11436 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11437 Delete.
11438
11439 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11440
11441 * follow.el (follow-debug-message, follow-redisplay):
11442 * jka-cmpr-hook.el (with-auto-compression-mode):
11443 Fix typos in docstrings.
11444
11445 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11446
11447 * subr.el (with-silent-modifications): Clarify somewhat what the
11448 macro inhibits (bug#6525).
11449
11450 * simple.el (eval-expression): Note what it does if called
11451 interactively (bug#6495).
11452
11453 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11454
11455 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11456 Use pop-to-buffer buffer-or-name if it is nil.
11457
11458 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11459 Remove switch-to-buffer.
11460
11461 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11462
11463 * files.el (make-directory): Clarify that an error will be raised
11464 if there's an error (bug#6397).
11465
11466 * startup.el (initial-buffer-choice): Add `none' as a choice
11467 (bug#6234).
11468
11469 * subr.el (add-hook): Clarify section about buffer-local hooks
11470 (bug#6218).
11471
11472 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11473
11474 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11475
11476 * tabify.el (untabify): Preserve the current column so that point
11477 doesn't move (bug#6032).
11478
11479 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11480
11481 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11482 Rewrite to avoid awkward possessive "s" (bug#5986).
11483
11484 2011-07-13 Glenn Morris <rgm@gnu.org>
11485
11486 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11487 (dired-insert-directory): Give a message the first time
11488 if ls is found not to support --dired.
11489
11490 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11491
11492 * simple.el (toggle-truncate-lines): Clarify what is toggled
11493 (bug#5580). Text by Drew Adams.
11494
11495 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11496
11497 * simple.el (blink-matching-open): Make the error message from the
11498 last change less verbose.
11499
11500 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11501
11502 * font-lock.el (font-lock-comment-face): Use the high contrast
11503 "yellow" color for font-lock-comment-face on low color terminals
11504 using a dark background color (bug#4221).
11505
11506 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11507
11508 * dired.el (dired-insert-set-properties): Make the doc string
11509 reflect what it does now (bug#5325).
11510
11511 * simple.el (blink-matching-open): Say that we were unable to find
11512 the match within the limit, if we're limited (bug#5122).
11513
11514 * international/mule-cmds.el (prefer-coding-system): Add an
11515 example (bug#4869).
11516
11517 * progmodes/etags.el (tags-search): Document `file-list-form'
11518 (bug#4731).
11519
11520 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11521
11522 * net/browse-url.el (browse-url-default-browser)
11523 (browse-url-browser-function): Make the default browser choice a
11524 bit more logical (bug#4300). Also clean up the doc string.
11525
11526 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11527
11528 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11529 binary endings (bug#4440).
11530
11531 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11532
11533 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11534 which can be pretty annoying (bug#8971).
11535
11536 * jka-compr.el (jka-compr-verbose): New variable, and use
11537 throughout (bug#8971).
11538
11539 * info.el (Info-find-file): Fall back on the installation
11540 directory if we can't find the info node anywhere else.
11541
11542 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11543
11544 * vc/vc.el (vc-revert-file):
11545 Don't set file time-stamp in the past. (Bug#5181)
11546
11547 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11548
11549 * files.el (after-find-file): Give a better error message when
11550 trying to find a symlink that points to a file that doesn't exist
11551 (bug#4398).
11552
11553 * progmodes/cc-vars.el: Remove (probably) misleading comment
11554 (bug#4396).
11555
11556 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11557
11558 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11559
11560 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11561
11562 * mouse-sel.el: Hack restoring functionality, while keeping
11563 compatibility with 2010-07-03 changes to mouse selection.
11564 (mouse-sel-primary-overlay): New var.
11565 (mouse-sel-selection-alist): Use it.
11566 (mouse-sel-mode): Doc fix; remove points that are default features
11567 of mouse.el.
11568
11569 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11570
11571 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11572 Fix previous fix (bug#2490).
11573
11574 2011-07-12 Roland Winkler <winkler@gnu.org>
11575
11576 * textmodes/bibtex.el (bibtex-initialize):
11577 Use pop-to-buffer-same-window.
11578 (bibtex-search-entries): Fix interactive call.
11579
11580 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11581
11582 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11583 Fontise bytecomp Error lines more correctly (bug#2490).
11584 Fix suggested by Johan Bockgård.
11585
11586 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11587
11588 * dired-x.el (dired-guess-default): Use `delete-dups'.
11589
11590 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11591
11592 * dired.el (dired-mark-prompt):
11593 * dired-aux.el (dired-read-shell-command): Doc fix.
11594
11595 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11596
11597 * mail/sendmail.el (sendmail-query-once):
11598 Use `customize-save-variable' unconditionally, now that it works under
11599 emacs -Q.
11600
11601 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11602
11603 * cus-edit.el (custom-file): Take an optional no-error variable.
11604 (customize-save-variable): Set the variable, and give a warning if
11605 running under "emacs -q".
11606
11607 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11608
11609 * loadhist.el (unload-feature-special-hooks):
11610 Add `auto-coding-functions', `fill-nobreak-predicate' and
11611 `find-directory-functions' (bug#5327).
11612
11613 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11614
11615 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11616
11617 * cus-edit.el (custom-guess-name-alist): -alist variables should
11618 use the `alist' type (bug#3120). Suggested by Drew Adams.
11619
11620 * printing.el: Add documentation to all the `pr-toggle-' commands.
11621
11622 2011-07-11 Leo Liu <sdl.web@gmail.com>
11623
11624 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11625 backends where it makes sense (bug#2623).
11626
11627 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11628
11629 * dired-x.el (dired-guess-default): Remove duplicate shell command
11630 entries (bug#2028).
11631 (dired-guess-default): Fix grammar in doc string (bug#2028).
11632 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11633
11634 * subr.el (remove-duplicates): New conveniency function.
11635
11636 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11637
11638 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11639 (bug#1526).
11640
11641 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11642
11643 * window.el (display-buffer-normalize-default): Don't invert
11644 meaning of even-window-heights. Reported by Eli Zaretskii
11645 <eliz@gnu.org>.
11646
11647 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11648
11649 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11650
11651 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11652
11653 * window.el (display-buffer): Fix arguments to
11654 display-buffer-reuse-window in last change.
11655
11656 * faces.el (link): Use a less saturated blue on light backgrounds.
11657
11658 * startup.el (fancy-startup-text, fancy-about-text)
11659 (fancy-startup-tail): Use font-lock faces, for background safety.
11660
11661 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11662
11663 * emulation/viper-cmd.el (viper-change-state-to-vi):
11664 Limit triggering of abbrev expansion (Bug#9038).
11665
11666 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11667
11668 * window.el (display-buffer-default-specifiers): Remove.
11669 (display-buffer-macro-specifiers): Remove default specifiers.
11670 (display-buffer-alist): Default to nil.
11671 (display-buffer-reuse-window): New optional argument other-window.
11672 (display-buffer-pop-up-window): Allow splitting internal
11673 windows. Check whether a live window was created.
11674 (display-buffer-other-window-means-other-frame)
11675 (display-buffer-normalize-arguments): Rename to
11676 display-buffer-normalize-argument and rewrite. Set the
11677 other-window specifier.
11678 (display-buffer-normalize-special): New function.
11679 (display-buffer-normalize-options): Rename to
11680 display-buffer-normalize-default and rewrite.
11681 (display-buffer-normalize-options-inhibit): Remove.
11682 (display-buffer-normalize-specifiers): Rewrite.
11683 (display-buffer): Process other-window specifier and call
11684 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11685 more faithfully.
11686 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11687 (display-buffer-alist-set): Don't handle 'unset default values.
11688 (display-buffer-in-window, display-buffer-alist-set):
11689 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11690 <tassilo@member.fsf.org>.
11691
11692 2011-07-09 Leo Liu <sdl.web@gmail.com>
11693
11694 * register.el (insert-register): Restore accidental change on
11695 2011-06-26. (Bug#9028)
11696
11697 2011-07-09 Glenn Morris <rgm@gnu.org>
11698
11699 * subr.el (remq): Handle the empty list. (Bug#9024)
11700
11701 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11702
11703 * mail/sendmail.el (send-mail-function): No longer delay custom
11704 initialization.
11705 * custom.el (custom-initialize-delay): Doc fix.
11706
11707 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11708
11709 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11710
11711 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11712
11713 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11714 human-friendly prompt.
11715
11716 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11717
11718 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11719 provided by a particular plugin.
11720
11721 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11722
11723 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11724 save customizations (with "emacs -Q"), just set the variable
11725 instead of erroring out.
11726
11727 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11728
11729 2011-07-08 Juri Linkov <juri@jurta.org>
11730
11731 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11732 (archive-zip-update-case): Use 7z if found by `executable-find'.
11733 The order of searching the available programs is the same as in
11734 `archive-zip-extract' (bug#8968).
11735
11736 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11737
11738 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11739 (menu-bar-options-menu): Tweak descriptions.
11740
11741 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11742
11743 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11744 menu items into verb phrases (bug#1421). Also refill to fit under
11745 80 columns.
11746
11747 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11748
11749 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11750 (Info-read-node-name): Doc fix (Bug#1084).
11751
11752 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11753 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11754 (end-of-sexp, beginning-of-sexp)
11755 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11756 (forward-symbol, forward-same-syntax, word-at-point)
11757 (sentence-at-point): Doc fix (Bug#1144).
11758
11759 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11760
11761 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11762 should cover it (bug#1281).
11763
11764 * cus-edit.el (custom-show): Mark as obsolete.
11765
11766 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11767 negotiation fails, then possibly try again with a non-encrypted
11768 connection (bug#9017).
11769
11770 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11771 be used.
11772
11773 2011-07-07 Richard Stallman <rms@gnu.org>
11774
11775 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11776 property, and handle its changed format.
11777 Look for the correct line number.
11778 Use file's line contents (but not past first =) to find
11779 correct line in message.
11780
11781 2011-07-07 Kenichi Handa <handa@m17n.org>
11782
11783 * international/characters.el (build-unicode-category-table):
11784 Delete it.
11785 (unicode-category-table): Set it by unicode-property-table-internal.
11786
11787 * international/mule-cmds.el (char-code-property-alist): Move to
11788 to src/chartab.c.
11789 (get-char-code-property): Call unicode-property-table-internal to
11790 load a file. Call get-unicode-property-internal where necessary.
11791 (put-char-code-property): Call unicode-property-table-internal to
11792 load a file. Call put-unicode-property-internal where necessary.
11793 put-unicode-property-internal where necessary.
11794 (char-code-property-description):
11795 Call unicode-property-table-internal to load a file.
11796
11797 * international/charprop.el:
11798 * international/uni-bidi.el:
11799 * international/uni-category.el:
11800 * international/uni-combining.el:
11801 * international/uni-comment.el:
11802 * international/uni-decimal.el:
11803 * international/uni-decomposition.el:
11804 * international/uni-digit.el:
11805 * international/uni-lowercase.el:
11806 * international/uni-mirrored.el:
11807 * international/uni-name.el:
11808 * international/uni-numeric.el:
11809 * international/uni-old-name.el:
11810 * international/uni-titlecase.el:
11811 * international/uni-uppercase.el: Regenerate.
11812
11813 * loadup.el: Load international/charprop.el before
11814 international/characters.
11815
11816 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11817
11818 * window.el (next-buffer, previous-buffer): Signal an error if
11819 called from a minibuffer window.
11820
11821 * bindings.el: Revert 2011-07-04 change.
11822
11823 2011-07-06 Richard Stallman <rms@gnu.org>
11824
11825 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11826 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11827 Treat markers like ints.
11828 (rmail-mime-entity): Doc fix.
11829
11830 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11831
11832 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11833 defcustom again for backwards compatibility.
11834
11835 * simple.el (shell-command-on-region): Fill.
11836
11837 * dired-aux.el (dired-kill-line): Add a doc string.
11838
11839 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11840 to "\\sw\\|\\s_" (bug#358).
11841
11842 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11843 (dired-unmark-backward): Ditto.
11844 (dired-flag-backup-files): Ditto.
11845
11846 * dired-x.el (dired-mark-sexp): Ditto.
11847
11848 2011-07-06 Richard Stallman <rms@gnu.org>
11849
11850 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11851 (rmail-mime-entity): New arg TRUNCATED.
11852 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11853 New functions.
11854 (rmail-mime-save): Warn if entity is truncated.
11855 (rmail-mime-toggle-hidden): Likewise, for showing.
11856 (rmail-mime-process-multipart): Record when an entity is truncated.
11857
11858 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11859 if ENTITY is a string.
11860
11861 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11862
11863 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11864 of faces when `M-C-x'-ing their definitions (bug#8378).
11865 Also clean up the code slightly.
11866
11867 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11868 because that makes the colors go away.
11869
11870 * mail/sendmail.el (send-mail-function): Change the default to
11871 `sendmail-query-once'.
11872 (sendmail-query-once): Add an autoload cookie.
11873
11874 * net/network-stream.el (network-stream-open-starttls): Try using
11875 a plain connection even if the server offered STARTTLS, and we
11876 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11877 capability. This should make smtpmail.el work in slightly more
11878 configurations.
11879
11880 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
11881
11882 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11883 New defun.
11884 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11885
11886 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11887
11888 * progmodes/sql.el: Version 3.0
11889 (sql-product-alist): Add product :completion-object,
11890 :completion-column, and :statement attributes.
11891 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11892 (sql-mode-syntax-table): Mark all punctuation.
11893 (sql-font-lock-keywords-builder): Temporarily remove fallback on
11894 ansi keywords.
11895 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11896 (sql-mode-oracle-font-lock-keywords): Improve.
11897 (sql-oracle-show-reserved-words): New function for development.
11898 (sql-product-font-lock): Simplify for source code buffers.
11899 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11900 New functions.
11901 (sql-highlight-product): Set product specific syntax table.
11902 (sql-mode-map): Add statement movement functions.
11903 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11904 New variable.
11905 (sql-statement-regexp, sql-beginning-of-statement)
11906 (sql-end-of-statement, sql-signum): New functions.
11907 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11908 (sql-show-sqli-buffer): Bug fix.
11909 (sql-interactive-mode): Store connection data as buffer local.
11910 (sql-connect): Add NEW-NAME parameter. Redesign interaction
11911 with sql-interactive-mode.
11912 (sql-save-connection): Save buffer local settings.
11913 (sql-connection-menu-filter): Change menu entry name.
11914 (sql-product-interactive): Bug fix.
11915 (sql-preoutput-hold): New variable.
11916 (sql-interactive-remove-continuation-prompt): Bug fixes.
11917 (sql-debug-redirect): New variable.
11918 (sql-str-literal): New function.
11919 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11920 Redesign.
11921 (sql-oracle-save-settings, sql-oracle-restore-settings)
11922 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11923 (sql-completion-object, sql-completion-column)
11924 (sql-completion-sqlbuf): New variables.
11925 (sql-build-completions-1, sql-build-completions)
11926 (sql-try-completion): New functions.
11927 (sql-read-table-name): Use them.
11928 (sql-contains-names): New buffer local variable.
11929 (sql-list-all, sql-list-table): Use it.
11930 (sql-oracle-completion-types): New variable.
11931 (sql-oracle-completion-object, sql-sqlite-completion-object)
11932 (sql-postgres-completion-object): New functions.
11933
11934 2011-07-06 Glenn Morris <rgm@gnu.org>
11935
11936 * window.el (pop-to-buffer): Doc fix.
11937
11938 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11939
11940 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11941
11942 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11943
11944 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11945
11946 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11947
11948 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11949
11950 * button.el (button): Inherit from link face. Suggested by Dan
11951 Nicolaescu.
11952
11953 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11954
11955 * progmodes/gdb-mi.el: Fit in 80 columns.
11956 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11957 switch-to-buffer.
11958
11959 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11960 if imenu is simply not configured (bug#8941).
11961
11962 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11963
11964 * allout.el (allout-post-undo-hook): New allout outline-change
11965 event hook to signal undo activity.
11966 (allout-post-command-business): Run allout-post-undo-hook if an
11967 undo just occurred.
11968 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11969 * allout-widgets.el (allout-widgets-after-undo-function):
11970 Ensure the integrity of the current item's decoration after it has been
11971 in the vicinity of an undo.
11972 (allout-widgets-mode): Include allout-widgets-after-undo-function
11973 on the new allout-post-undo-hook.
11974
11975 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11978 Let define-derived-mode define it.
11979 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11980 cycles of abbrev-table inheritance (bug#8998).
11981
11982 2011-07-05 Roland Winkler <winkler@gnu.org>
11983
11984 * textmodes/bibtex.el: Add support for biblatex.
11985 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11986 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11987 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11988 (bibtex-entry-alist, bibtex-field-alist): New variables.
11989 (bibtex-entry-field-alist): Obsolete alias for
11990 bibtex-BibTeX-entry-alist.
11991 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11992 (bibtex-set-dialect): New command.
11993 (bibtex-entry-type, bibtex-entry-head)
11994 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11995 Bind via bibtex-set-dialect.
11996 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11997 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11998 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11999 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12000 Define via bibtex-set-dialect.
12001 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12002 Obey bibtex-no-opt-remove-re.
12003 (bibtex-vec-push, bibtex-vec-incr): New functions.
12004 (bibtex-format-entry, bibtex-field-list)
12005 (bibtex-print-help-message, bibtex-validate)
12006 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12007
12008 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * progmodes/compile.el (compilation-goto-locus):
12011 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12012 * bs.el (bs-cycle-next, bs-cycle-previous):
12013 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12014 * bindings.el (mode-line-other-buffer):
12015 * autoinsert.el (auto-insert):
12016 * arc-mode.el (archive-extract):
12017 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12018
12019 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12020
12021 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12022 Fix check of `emacs-lock-unlockable-modes'.
12023 Coerce true values of `emacs-lock--try-unlocking' to t.
12024
12025 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12026
12027 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12028 * emacs-lock.el: New file.
12029
12030 2011-07-05 Julien Danjou <julien@danjou.info>
12031
12032 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12033 than `boundp' to check if face is set.
12034
12035 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12036
12037 * register.el (registerv-make):
12038 * window.el (window-min-height): Fix typos in docstrings.
12039
12040 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12041
12042 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12043 Update doc string.
12044
12045 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12046
12047 * server.el (server-execute): Catch quit and call
12048 `server-return-error' to pass the error back to emacsclient and
12049 close the connection (bug#8942).
12050
12051 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12052
12053 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12054 insecure exception for current topic. Also note that auto-saves
12055 are handled differently.
12056
12057 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12058 State variables for tracking auto-save inhibition situation.
12059
12060 (allout-write-contents-hook-handler): Rename from
12061 'allout-write-file-hook-handler', and describe how it depends on
12062 write-contents-functions sensitivity to non-nil value to prevent
12063 file write.
12064
12065 (allout-auto-save-hook-handler): Remove. auto-save does not check
12066 this in individual buffers, only in the starting buffer, so this
12067 is not the right way for us to inhibit auto-save in a buffer
12068 according to its condition.
12069
12070 (allout-mode): Use new allout-write-contents-hook-handler, and
12071 only with write-contents-functions. Remove auto-save provisions -
12072 they're implemented elsewhere.
12073
12074 (allout-before-change-handler): If undo is in progress, note that
12075 for attention of allout-post-command-business.
12076
12077 (allout-post-command-business): If the command we're following was
12078 an undo, check for change in the status of encrypted items and
12079 adjust auto-save inhibitions accordingly.
12080
12081 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12082 according to whether there are or aren't any plain-text topics
12083 pending encryption.
12084
12085 (allout-inhibit-auto-save-info-for-decryption):
12086 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12087 if there are plain-text topics pending encryption.
12088
12089 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12090 buffer-saved-size and some allout state to not inhibit auto-saves
12091 if there are no longer any plain-text topics pending encryption.
12092
12093 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12094 No longer provide for exemption of the current topic.
12095
12096 2011-07-04 Juri Linkov <juri@jurta.org>
12097
12098 Add 7z operations to delete and save changed members (bug#8968).
12099 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12100 New defcustoms.
12101 (archive-7z-write-file-member): New function.
12102 (archive-7z-summarize): Fix the number of dashes in the
12103 listing output.
12104
12105 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12106
12107 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12108 (bug#8958).
12109
12110 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12111
12112 * bindings.el: Ignore next-buffer and previous-buffer in
12113 minibuffer-local-map.
12114
12115 * font-lock.el (font-lock-builtin-face): Change light background
12116 color to dark slate blue (Bug#6693).
12117
12118 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12119
12120 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12121
12122 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12125 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12126 Add switch-to-buffer.
12127
12128 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12129
12130 * isearch.el (isearch-search-fun-function): Clarify further the
12131 meaning of the function returned.
12132
12133 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12134
12135 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12136
12137 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12138 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12139 Use it.
12140 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12141 `tramp-default-remote-path' does not exist.
12142 (tramp-send-command-and-read): New optional argument NOERROR.
12143 (tramp-open-connection-setup-interactive-shell)
12144 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12145 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12146 (tramp-process-sentinel): Flush also process' connection property.
12147 (tramp-sh-handle-start-file-process): Do not set process
12148 sentinel. It is done now ...
12149 (tramp-maybe-open-connection): ... here. (Bug#8929)
12150
12151 2011-07-04 MON KEY <monkey@sandpframing.com>
12152
12153 * play/animate.el (animate-string): Doc fixes and allow changing
12154 the buffer name (bug#5417).
12155
12156 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12157
12158 * play/animate.el (animation-buffer-name): Rename from *animate*.
12159
12160 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12161
12162 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12163 This is simpler and helps future-proof the code.
12164 (timer-until): Use time-subtract and float-time.
12165 (timer--time-less-p): Use time-less-p.
12166
12167 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12168
12169 * type-break.el (timep): Use the value of `float-time' to avoid a
12170 byte-compiler warning.
12171
12172 * server.el (server-eval-and-print): Return any result, even nil.
12173
12174 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12175
12176 * type-break.el: Accept time formats that the builtins accept.
12177 (timep, type-break-time-difference): Accept any format that
12178 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12179 This is simpler and helps future-proof the code.
12180 (type-break-time-difference): Round rather than ignoring
12181 subseconds components.
12182
12183 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12184
12185 * info.el (Info-apropos-matches): Make non-interactive, since it
12186 doesn't seem to do anything useful as a command (bug#8829).
12187
12188 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12189
12190 * frame.el (frame-background-mode, frame-set-background-mode):
12191 Move from faces.el.
12192 (frame-default-terminal-background): New function.
12193
12194 * custom.el (custom-push-theme): Don't record faces in `changed'
12195 theme; this doesn't work correctly for per-frame face settings.
12196 (disable-theme): Use face-set-after-frame-default to reset faces.
12197 (custom--frame-color-default): New function.
12198
12199 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12200
12201 * dired.el (dired-flagging-regexp): Remove unused variable
12202 (bug#8769).
12203
12204 2011-03-29 Kevin Ryde <user42@zip.com.au>
12205
12206 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12207 `perl-Test2' extend to match possible "fail #N" rep count
12208 (bug#8377).
12209
12210 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12211
12212 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12213 `smtpmail-via-smtp' now returns the error instead of nil.
12214
12215 * isearch.el (isearch-search-fun-function): Clarify the doc string
12216 (bug#8101).
12217
12218 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12219
12220 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12221 unnecessary spaces (bug#8987).
12222
12223 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12224
12225 * net/network-stream.el (open-network-stream): Use the
12226 :end-of-capability command thoughout.
12227
12228 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12229
12230 * net/network-stream.el (open-network-stream): Add the
12231 :end-of-capability command parameter, used by pop3.el.
12232
12233 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12234
12235 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12236
12237 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12238 for list)" (bug#6475).
12239
12240 * files.el (file-expand-wildcards): Ignore non-readable
12241 sub-directories while trying to find matches instead of signaling
12242 an error (bug#6297).
12243
12244 * man.el (Man-reference-regexp): Allow matching possible
12245 word-wrapped references (bug#6289).
12246
12247 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12248 for consistency with the other vc buffers (bug#6197).
12249 (vc-checkin): Ditto.
12250
12251 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12252
12253 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12254
12255 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12256
12257 * custom.el (defcustom): Clarify that :set is only used in the
12258 Customize user interface (bug#6089).
12259
12260 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12261 associated with a file, refuse to run instead of erroring out
12262 (bug#6084).
12263
12264 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12265 the doc string, since it appears that using `fill-column' always
12266 controls the width (bug#7845).
12267
12268 * simple.el (shell-command-on-region): Say where the error output
12269 went if `shell-command-default-error-buffer' is set (bug#6857).
12270
12271 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12272
12273 * allout.el (allout-yank-processing): Adjust cursor position for
12274 backwards-deleted space.
12275
12276 (allout-rebullet-heading): Register changes with
12277 allout-exposure-changed-hook, so the modified topic is properly
12278 decorated.
12279
12280 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12281
12282 * minibuffer.el (completion-in-region): Document PREDICATE
12283 (bug#7136).
12284
12285 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12286 of keyword/argument pairs (bug#6904).
12287
12288 * replace.el (multi-occur):
12289 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12290
12291 2011-07-02 Drew Adams <drew.adams@oracle.com>
12292
12293 * dired.el (dired-mark-if): Make the message about whether it's
12294 marking or unmarking clearer (bug#8523).
12295
12296 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12297
12298 * disp-table.el (display-table-print-array): New function.
12299 (describe-display-table): Use it to print the vectors more pretty
12300 (Bug#8859).
12301
12302 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12303
12304 * window.el (window-state-get-1): Don't assign clone numbers.
12305 Add clone-of item to list of window parameters.
12306 (window-state-put-2): Don't process clone numbers.
12307 (display-buffer-alist): Fix doc-string.
12308
12309 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12310
12311 * subr.el (remq): Don't allocate if it's not needed.
12312 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12313 (keymap--merge-bindings): New functions.
12314 (keymap-canonicalize): Use them to refine the canonicalization.
12315 * minibuffer.el (minibuffer-local-completion-map)
12316 (minibuffer-local-must-match-map): Move initialization from C.
12317 (minibuffer-local-filename-completion-map): Move initialization from C;
12318 don't inherit from anything here.
12319 (minibuffer-local-filename-must-match-map): Make obsolete.
12320 (completing-read-default): Use make-composed-keymap to combine
12321 minibuffer-local-filename-completion-map with either
12322 minibuffer-local-must-match-map or
12323 minibuffer-local-filename-completion-map.
12324
12325 2011-07-01 Glenn Morris <rgm@gnu.org>
12326
12327 * type-break.el (type-break-time-sum): Use dolist.
12328
12329 * textmodes/flyspell.el (flyspell-word-search-backward):
12330 Replace CL function.
12331
12332 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12333
12334 * mouse.el (mouse--strip-first-event): New function.
12335 (function-key-map): Use it to map fringe clicks to normal clicks
12336 by default.
12337
12338 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12339 (vc-bzr-revision-completion-table): Add support for annotate and date.
12340
12341 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12342 inherit from parent.
12343
12344 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12345
12346 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12347 (dired-show-file-type): Doc fixup (bug#8818).
12348
12349 * dired.el (dired-mode): Fix up the doc string as suggested by
12350 Drew Adams (bug#8817).
12351
12352 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12353 cookie, since the manual says that it should be possible to add
12354 this function to `find-file-hook' (bug#8709).
12355
12356 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12357
12358 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12359 here. Noted Ted Zlatanov as the maintainer.
12360 (cfengine-common-settings, cfengine-common-syntax): New functions
12361 to set up common things between `cfengine-mode' and
12362 `cfengine3-mode'.
12363 (cfengine3-mode): New mode.
12364 (cfengine3-defuns cfengine3-defuns-regex
12365 (cfengine3-class-selector-regex cfengine3-category-regex)
12366 (cfengine3-vartypes cfengine3-font-lock-keywords)
12367 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12368 (cfengine3-indent-line): Add from cfengine3.el.
12369
12370 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12371
12372 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12373
12374 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12375
12376 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12377
12378 * window.el (same-window-buffer-names, same-window-regexps)
12379 (same-window-p, special-display-frame-alist)
12380 (special-display-popup-frame, special-display-function)
12381 (special-display-buffer-names, special-display-regexps)
12382 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12383 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12384 (split-window-preferred-function, split-height-threshold)
12385 (split-width-threshold, even-window-heights)
12386 (display-buffer-mark-dedicated, window-splittable-p)
12387 (split-window-sensibly, window-safely-shrinkable-p):
12388 Un-obsolete.
12389 (display-buffer): Don't spread args with function specifier
12390 because special-display-popup-frame won't like it.
12391
12392 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12393
12394 Time-stamp simplifications and fixes.
12395 These improve accuracy slightly, and future-proof the code
12396 against some potential changes to current-time format.
12397
12398 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12399 by using time-since and float-time.
12400
12401 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12402 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12403 + NNN microseconds".
12404
12405 * type-break.el (type-break-time-sum): Rewrite using time-add.
12406
12407 * play/hanoi.el (hanoi-current-time-float): Remove.
12408 All uses replaced by float-time.
12409
12410 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12411 This yields a more-accurate answer.
12412 (rng-time-to-float): Remove; no longer needed.
12413
12414 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12415
12416 * calendar/timeclock.el (timeclock-seconds-to-time):
12417 Defalias to seconds-to-time, since they're the same thing.
12418
12419 * emacs-lisp/elp.el (elp-elapsed-time):
12420 * emacs-lisp/benchmark.el (benchmark-elapse):
12421 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12422
12423 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * window.el (bury-buffer): Don't iconify the only frame.
12426 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12427 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12428
12429 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12430
12431 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12432 Add mouse-yank-primary.
12433
12434 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12435
12436 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12437
12438 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12439
12440 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12441 (find-library-name): Use it to find relative load names when provided
12442 absolute file name (bug#8803).
12443
12444 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12445
12446 * textmodes/flyspell.el (flyspell-word): Consider words that
12447 differ only in case as potential doublons (bug#5687).
12448
12449 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12450 Remove two rather uninteresting debugging-like messages to make
12451 debbugs.el more silent.
12452
12453 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12454 a password-like phrase.
12455
12456 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12457
12458 * progmodes/cc-guess.el: New file.
12459
12460 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12461
12462 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12463 derived from `c-basic-common-init'.
12464
12465 * progmodes/cc-mode.el (top-level): Require cc-guess.
12466 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12467
12468 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12469
12470 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12471
12472 2011-06-30 Alan Mackenzie <acm@muc.de>
12473
12474 * progmodes/cc-engine.el (c-guess-continued-construct):
12475 Correct the handling of template-args-cont, particularly for when font
12476 lock is disabled. Name this case as "CASE G".
12477
12478 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12479
12480 * allout.el (allout-yank-processing): Fix injection of extra space
12481 between bullet and non-whitespace character in first topic when
12482 pasting, ensuring that the actual spacing in the pasted topic
12483 following the bullet char is preserved. This extra space was
12484 causing pasted encrypted topics to get a decrypted status even
12485 when the content was actually still encrypted. Now the decryption
12486 status from before the paste is preserved.
12487
12488 (allout-flag-region): Set all allout overlays so they evaporate
12489 when reduced to zero length (evanescent), to prevent overlay
12490 leakage.
12491
12492 2011-06-30 Glenn Morris <rgm@gnu.org>
12493
12494 * w32-fns.el (w32-charset-info-alist): Declare.
12495
12496 * find-dired.el (find-grep-options): Simplify.
12497
12498 * term/ns-win.el (ns-set-resource): Declare.
12499
12500 * ses.el (row, col): Declare dynamic variables honestly.
12501
12502 * textmodes/reftex-parse.el (index-tags): Declare.
12503
12504 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12505
12506 * cus-edit.el (customize-push-and-save): New function.
12507
12508 * files.el (hack-local-variables-confirm): Use it.
12509
12510 * custom.el (load-theme): New arg NO-CONFIRM.
12511 Use customize-push-and-save (Bug#8720).
12512 (custom-enabled-themes): Doc fix.
12513
12514 * cus-theme.el (customize-create-theme)
12515 (custom-theme-merge-theme): Callers to load-theme changed.
12516
12517 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12518
12519 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12520 short URLs have at least one dot in them (bug #7614).
12521
12522 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12523 nil, because using a pty is apparently too slow (bug #895).
12524
12525 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12526
12527 * mail/sendmail.el (sendmail-query-once): New function.
12528 (sendmail-query-once-function): New variable.
12529
12530 2011-06-29 Glenn Morris <rgm@gnu.org>
12531
12532 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12533
12534 * ses.el (top-level): Require cl when compiling.
12535 (ses-set-localvars): Fix error statement.
12536 Call it at compile time to silence a storm of warnings.
12537
12538 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12539
12540 * window.el (normalize-live-buffer): Rename to
12541 window-normalize-buffer.
12542 (normalize-live-frame): Rename to window-normalize-frame.
12543 (normalize-any-window): Rename to window-normalize-any-window.
12544 (normalize-live-window): Rename to window-normalize-live-window.
12545 (make-window-atom): Rename to window-make-atom.
12546 (window-resize-reset): Rename to window--resize-reset.
12547 (window-resize-reset-1): Rename to window--resize-reset-1.
12548 (resize-mini-window): Rename to window--resize-mini-window.
12549 (resize-subwindows-skip-p): Rename to
12550 window--resize-subwindows-skip-p.
12551 (resize-subwindows-normal): Rename to
12552 window--resize-subwindows-normal.
12553 (resize-subwindows): Rename to window--resize-subwindows.
12554 (resize-other-windows): Rename to window--resize-siblings.
12555 (resize-this-window): Rename to window--resize-this-window.
12556 (resize-root-window): Rename to window--resize-root-window.
12557 (resize-root-window-vertically): Rename to
12558 window--resize-root-window-vertically.
12559 (normalize-buffer-to-display): Rename to
12560 window-normalize-buffer-to-display.
12561 (normalize-buffer-to-switch-to): Rename to
12562 window-normalize-buffer-to-switch-to.
12563 Correspondingly update all callers of the functions listed
12564 above.
12565 (display-buffer-alist, display-buffer-normalize-arguments)
12566 (display-buffer-normalize-options, display-buffer)
12567 (display-buffer-alist-set): Use "function" instead of
12568 "fun-with-args".
12569
12570 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12571
12572 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12573 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12574 debbugs.gnu.org. Mention acknowledgment email.
12575
12576 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12577
12578 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12579 buffer multibyteness, since it shouldn't matter.
12580
12581 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12582
12583 * window.el (display-buffer-in-side-window): Handle dedicated
12584 windows as in display-buffer-reuse-window.
12585 (display-buffer-normalize-alist): Use value of override
12586 specifier.
12587 (display-buffer-normalize-specifiers): Use value of
12588 other-window-means-other-frame specifier.
12589 (display-buffer-alist): Rewrite some texts in widgets.
12590 (display-buffer): Spread arguments when calling function
12591 specified by fun-with-args.
12592
12593 2011-06-28 Deniz Dogan <deniz@dogan.se>
12594
12595 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12596 Unnest `let'.
12597
12598 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12599 selectors (Bug#5732).
12600 (css-proprietary-nmstart-re): Use `regexp-opt'.
12601
12602 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12603
12604 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12605 (eshell-ls-date-format): New defcustom.
12606 (eshell-ls-file): Use it.
12607
12608 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12611
12612 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12613
12614 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12615 (ange-ftp-make-tmp-name): New arg.
12616 (ange-ftp-file-local-copy): Use it.
12617
12618 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12619
12620 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12621 no-conversion (Bug#8870).
12622
12623 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12624
12625 * window.el (window-right, window-left, window-child)
12626 (window-child-count, window-last-child)
12627 (window-iso-combination-p, walk-window-tree-1)
12628 (window-atom-check-1, window-tree-1, delete-window)
12629 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12630 new naming conventions - window-vchild, window-hchild,
12631 window-next and window-prev are now called window-top-child,
12632 window-left-child, window-next-sibling and window-prev-sibling
12633 respectively.
12634 (resize-window-reset): Rename to window-resize-reset.
12635 (resize-window-reset-1): Rename to window-resize-reset-1.
12636 (resize-window): Rename to window-resize.
12637 (window-min-height, window-min-width)
12638 (resize-mini-window, resize-this-window, resize-root-window)
12639 (resize-root-window-vertically, adjust-window-trailing-edge)
12640 (enlarge-window, shrink-window, maximize-window)
12641 (minimize-window, delete-window, quit-restore-window)
12642 (split-window, balance-windows, balance-windows-area-adjust)
12643 (balance-windows-area, window-state-put-2)
12644 (display-buffer-even-window-sizes, display-buffer-set-height)
12645 (display-buffer-set-width, set-window-text-height)
12646 (fit-window-to-buffer): Rename all "resize-window" prefixed
12647 calls to use the "window-resize" prefix convention.
12648 (display-buffer-alist): Fix symbol for label specifier.
12649 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12650 corresponding specifier.
12651 Reported by Juanma Barranquero <lekktu@gmail.com>.
12652
12653 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12654
12655 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12656 convention.
12657 (ses-call-printer): Does not pass an empty string to formatter when the
12658 cell is empty to keep from barking printer Calc math-format-value.
12659
12660 2011-06-27 Richard Stallman <rms@gnu.org>
12661
12662 * battery.el (battery-mode-line-limit): New variable.
12663 (battery-update): Handle it.
12664
12665 * mail/rmailmm.el (rmail-mime-process-multipart):
12666 Handle truncated messages.
12667
12668 2011-06-27 Glenn Morris <rgm@gnu.org>
12669
12670 * progmodes/flymake.el (flymake-err-line-patterns):
12671 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12672
12673 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12674
12675 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12676 (ses--clean-!, ses--clean-_): New functions.
12677 (ses-range): Add configurability of readout order, and conversion
12678 to Calc vector.
12679
12680 * ses.el (ses-repair-cell-reference-all): New function.
12681 (ses-cell-symbol): Set macro as safe, so that it can be used in
12682 formulas.
12683
12684 * ses.el: Update cycle detection algorithm.
12685 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12686 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12687 (ses-set-localvars): New function.
12688 (ses-make-cell): Add property-list as a cell element.
12689 (ses-cell-property-get-fun, ses-cell-property-get)
12690 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12691 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12692 New functions.
12693 (ses-cell-property-set, ses-cell-property-pop)
12694 (ses-cell-property-get-handle): New macro.
12695 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12696 New aliases, used for code readability.
12697 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12698 cycle detection.
12699 (ses-self-reference-early-detection): New defcustom.
12700 (ses-formula-references): Robustify against self-referring cells.
12701 (ses-mode): Use ses-set-localvars.
12702 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12703 before lauching the update processing.
12704 (ses-initialize-Dijkstra-attempt): New function.
12705 (ses-recalculate-cell): Update for cycle detection based on
12706 Dijkstra algorithm.
12707
12708 * ses.el: Fix commenting and indenting convention.
12709
12710 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 * bs.el (bs-cycle-next): Complete last change.
12713
12714 2011-06-27 Drew Adams <drew.adams@oracle.com>
12715
12716 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12717
12718 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12719
12720 * net/network-stream.el (network-stream-open-starttls):
12721 Don't re-get capabilities unless we've reestablished connection.
12722 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12723
12724 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12725 to binary to possibly avoid line encoding issues on Windows (among
12726 other things).
12727
12728 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12729
12730 * net/network-stream.el (open-network-stream): Return an :error
12731 saying what the problem was, if possible.
12732
12733 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12734 server.
12735
12736 * net/network-stream.el (network-stream-open-starttls): If we
12737 wanted to use STARTTLS, and the server offered it, but we weren't
12738 able to because we had no STARTTLS support, then close the connection.
12739 (open-network-stream): Return an :error element, if present.
12740
12741 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12742
12743 * hl-line.el (hl-line-sticky-flag): Doc fix.
12744 (global-hl-line-sticky-flag): New option (Bug#8323).
12745 (global-hl-line-highlight): Obey it.
12746
12747 * vc/vc.el (vc-revert-show-diff): Default to t.
12748
12749 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12750
12751 * allout-widgets.el (allout-widgets-post-command-business):
12752 Stop decorating intermediate isearch matches. They're not being
12753 undecorated when an isearch is continued past, and isearch
12754 automatically collapses them. This leads to "widget leaks", where
12755 decorated items accumulate in collapsed areas. Lines with lots of
12756 hidden widgets can slow down cursor travel, substantially.
12757 Too much complicated machinery would be needed to ensure undecoration,
12758 so we're doing without this nicety.
12759
12760 (allout-widgets-tally-string): Don't try to do a hash-table-count
12761 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12762 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12763 *Messages* when allout-widgets-maintain-tally is t.
12764
12765 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12766
12767 * window.el (display-buffer-normalize-argument): Rename to
12768 display-buffer-normalize-arguments. Handle special meaning of
12769 LABEL argument. Respect special-display-function when popping up
12770 a new frame. Fix code searching for a window showing the buffer
12771 on another frame.
12772 (display-buffer-normalize-specifiers):
12773 Call display-buffer-normalize-arguments.
12774 (display-buffer-in-window): Don't undedicate the window if its
12775 buffer remains the same.
12776 Reported by Drew Adams <drew.adams@oracle.com>.
12777 (display-buffer-alist): Add choice for same-window macro
12778 specfier.
12779 (display-buffer): Mention special meaning of LABEL argument in
12780 doc-string. Fix quoting. Don't pop up a new frame even as
12781 fallback.
12782
12783 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12784
12785 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12786 avoid deleting the current window in some cases (bug#8911).
12787
12788 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12789
12790 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12791 (Bug#8934)
12792
12793 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12794
12795 * net/network-stream.el (network-stream-open-starttls):
12796 Use built-in TLS support if `gnutls-available-p' is true.
12797 (network-stream-open-tls): Ditto.
12798
12799 2011-06-26 Leo Liu <sdl.web@gmail.com>
12800
12801 * register.el (registerv): New struct.
12802 (registerv-make): New function.
12803 (jump-to-register, describe-register-1, insert-register):
12804 Support the jump-func, print-func and insert-func slot of a registerv
12805 struct. (Bug#8415)
12806
12807 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12808
12809 * vc/vc.el (vc-revert-show-diff): New defcustom.
12810 (vc-diff-internal): New arg specifying diff buffer.
12811 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12812 reuse an existing *vc-diff* buffer (Bug#8927).
12813
12814 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12815
12816 2011-06-26 Glenn Morris <rgm@gnu.org>
12817
12818 * progmodes/f90.el (f90-critical-indent): New option.
12819 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12820 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12821 (f90-mode): Doc fix.
12822 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12823 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12824 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12825 (f90-match-end): Handle block, critical.
12826
12827 2011-06-25 Glenn Morris <rgm@gnu.org>
12828
12829 * calendar/diary-lib.el (diary-included-files): Doc fix.
12830 (diary-include-files): New function, extracted from
12831 diary-include-other-diary-files and diary-mark-included-diary-files.
12832 (diary-include-other-diary-files, diary-mark-included-diary-files):
12833 Just call diary-include-files.
12834 (diary-mark-entries): Reset diary-included-files on first call.
12835
12836 * calendar/diary-lib.el (diary-mark-entries)
12837 (diary-mark-included-diary-files):
12838 Visit included diary-files in temp buffers.
12839
12840 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12841 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12842 (f90-start-block-re, f90-imenu-generic-expression)
12843 (f90-looking-at-program-block-start, f90-no-block-limit):
12844 Add support for submodules.
12845
12846 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12847 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
12848
12849 2011-06-25 Eli Zaretskii <eliz@gnu.org>
12850
12851 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12852 buffer-file-type before setting its value, to avoid disastrous
12853 global effects on decoding files for DOS/Windows systems. (Bug#8780)
12854
12855 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12856
12857 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12858
12859 * ses.el (ses-unload-function):
12860 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12861
12862 * proced.el (proced-unload-function):
12863 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12864
12865 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12866
12867 * server.el (server-create-window-system-frame): Add parameters arg.
12868 (server-process-filter): Doc fix. Handle frame-parameters.
12869
12870 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12871
12872 Fix bug#8730, bug#8781.
12873
12874 * loadhist.el (unload--set-major-mode): New function.
12875 (unload-feature): Use it.
12876
12877 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12878 (python-unload-function): New function.
12879
12880 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12881
12882 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12883
12884 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12885
12886 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12887 the candidates list.
12888
12889 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
12890
12891 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12892
12893 2011-06-23 Richard Stallman <rms@gnu.org>
12894
12895 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12896 (rmail-variables): Set next-error-move-function.
12897 (rmail-what-message): Take argument POS.
12898 (rmail-next-error-move): New function.
12899
12900 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12901
12902 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12903 messages for adjacent non-terminals.
12904
12905 2011-06-23 Richard Stallman <rms@gnu.org>
12906
12907 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12908 (rmail-show-message-1): Preserve buffer modified flag.
12909 (rmail-start-mail): Don't specify use of rmail-mail-return;
12910 that's done by mail-bury now.
12911 (rmail-mail-return): Handle arg NEWBUF.
12912
12913 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
12914
12915 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12916 SIZE is a number.
12917
12918 2011-06-23 Martin Rudalics <rudalics@gmx.at>
12919
12920 * window.el (get-lru-window, get-mru-window)
12921 (get-largest-window): Never return a minibuffer window.
12922 (display-buffer-pop-up-window): Fix a bug that could lead to
12923 reusing the minibuffer window.
12924 (display-buffer): Pass original specifier argument to
12925 display-buffer-function instead of the normalized one.
12926 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12927
12928 2011-06-22 Leo Liu <sdl.web@gmail.com>
12929
12930 * minibuffer.el (completing-read-function)
12931 (completing-read-default): Move from minibuf.c
12932
12933 2011-06-22 Richard Stallman <rms@gnu.org>
12934
12935 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12936 to Rmail even if not started by a special Rmail command.
12937
12938 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12939 Copy the buffer currently showing just one message.
12940
12941 2011-06-22 Roland Winkler <winkler@gnu.org>
12942
12943 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12944 (bibtex-clean-entry): First delete the old key so that a
12945 customized algorithm for generating the new key does not get
12946 confused by the old key.
12947 (bibtex-url): Obey regexp of first step.
12948 (bibtex-search-entries): Do not use add-to-list with local
12949 list-var.
12950
12951 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12952
12953 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12954 stored a user name, then query for the password first, instead of
12955 waiting for SMTP to give an error message and the trying again.
12956
12957 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12958
12959 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12960 BUFFER in call-process.
12961
12962 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12963
12964 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12965 QUIT twice.
12966 (smtpmail-try-auth-methods): Require user name and password from
12967 auth-source.
12968
12969 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12970
12971 * window.el (display-buffer-default-specifiers)
12972 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12973 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12974 (split-window): Normalize SIDE argument (Bug#8916).
12975
12976 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12977 (special-display-frame-alist, special-display-popup-frame):
12978 Remove duplicate declarations. These are now in window.el.
12979
12980 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12981
12982 * mail/smtpmail.el (smtpmail-via-smtp):
12983 Set :use-starttls-if-possible so that we always use STARTTLS if the
12984 server supports it. SMTP servers that support STARTTLS commonly
12985 require it.
12986
12987 * net/network-stream.el (network-stream-open-starttls): Support
12988 upgrading to STARTTLS always, even if we don't have built-in support.
12989 (open-network-stream): Add the :always-query-capabilities keyword.
12990
12991 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12992 upgrades with `open-network-stream', and rely solely on
12993 auth-source for all credentials. Big changes throughout the file,
12994 but in particular:
12995 (smtpmail-auth-credentials): Remove.
12996 (smtpmail-starttls-credentials): Remove.
12997 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12998 MAIL FROM, too.
12999
13000 * net/network-stream.el (network-stream-open-starttls):
13001 Provide support for client certificates both for external and built-in
13002 STARTTLS.
13003 (auth-source): Require.
13004 (open-network-stream): Document the :client-certificate keyword.
13005 (network-stream-certificate): Change cert-cert to cert and
13006 cert-key to key.
13007
13008 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13009
13010 * net/tramp-cache.el (top): Don't load the persistency file when
13011 "emacs -Q" has been called.
13012
13013 2011-06-21 Tim Harper <timcharper@gmail.com>
13014
13015 * term/ns-win.el (ns-initialize-window-system):
13016 Set application-specific `ApplePressAndHoldEnabled' system
13017 resource to NO as it is not yet supported by the NS port.
13018
13019 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13020
13021 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13022 (list-dynamic-libraries): ...not here.
13023
13024 2011-06-21 Leo Liu <sdl.web@gmail.com>
13025
13026 * subr.el (sha1): Implement sha1 using secure-hash.
13027
13028 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13029
13030 * window.el (display-buffer-alist): In default value do not
13031 enforce searching a window on any but the selected frame.
13032 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13033 (display-buffer-select-window): Remove function.
13034 (display-buffer-in-window): When a window on another frame gets
13035 reused, do not select it any more but just raise its frame if
13036 necessary (Bug#8851) and (Bug#8856).
13037 (display-buffer-normalize-options): Handle pop-up-frames related
13038 options more faithfully.
13039 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13040 window if it is on another frame.
13041 (display-buffer-alist, display-buffer-default-specifiers):
13042 Don't make new frame unsplittable by default.
13043 (display-buffer-normalize-argument): Fix doc-string typo and use
13044 'same-frame-other-window instead of 'other-window when associating
13045 with display-buffer-macro-specifiers.
13046
13047 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13048
13049 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13050 New functions.
13051 (5x5-mode-map, 5x5-mode-menu): Bind them.
13052 (5x5-draw-grid): Tweak the solver's rendering.
13053
13054 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13055
13056 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13057 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13058
13059 2011-06-21 Drew Adams <drew.adams@oracle.com>
13060
13061 * menu-bar.el: Use function variable instead of switch-to-buffer.
13062 (menu-bar-select-buffer-function): New variable.
13063 (menu-bar-update-buffers): Use it (bug#8876).
13064
13065 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13066
13067 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13068 variable's status.
13069
13070 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13071
13072 * x-dnd.el (x-dnd-version-from-flags)
13073 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13074 and long as number (Bug#8899).
13075 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13076
13077 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13078
13079 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13080 (completion-try-completion, completion-all-completions): Compute the
13081 metadata argument if it's missing; make it optional (bug#8795).
13082
13083 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13084 (widget-complete): Use new :completion-function property.
13085 (widget-completions-at-point): New function.
13086 (default): Use :completion-function instead of :complete.
13087 (widget-default-completions): Rename from widget-default-complete;
13088 Rewrite.
13089 (widget-string-complete, widget-file-complete, widget-color-complete):
13090 Remove functions.
13091 (file, symbol, function, variable, coding-system, color):
13092 * international/mule-cmds.el (default-input-method, charset)
13093 (language-info-custom-alist):
13094 * cus-edit.el (face): Use new property :completions.
13095
13096 * progmodes/pascal.el (pascal-completions-at-point): New function.
13097 (pascal-mode): Use it.
13098 (pascal-mode-map): Use completion-at-point.
13099 (pascal-toggle-completions): Make obsolete.
13100 (pascal-complete-word, pascal-show-completions):
13101 * progmodes/octave-mod.el (octave-complete-symbol):
13102 Redefine as obsolete alias.
13103 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13104 Signal absence of completion info for old Octave,
13105 (inferior-octave-complete): Redefine as obsolete alias.
13106 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13107 (meta-completions-at-point): Rename from meta-complete-symbol and
13108 adapt it for use on completion-at-point-functions.
13109 (meta-common-mode): Use it.
13110 (meta-looking-at-backward, meta-match-buffer): Remove.
13111 (meta-complete-symbol): Redefine as obsolete alias.
13112 (meta-common-mode-map): Use completion-at-point.
13113 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13114 (makefile-mode-map): Use completion-at-point.
13115 (makefile-completions-at-point): Rename from makefile-complete and
13116 adapt it for use on completion-at-point-functions.
13117 (makefile-mode): Use it.
13118 (makefile-complete): Redefine as obsolete alias.
13119
13120 2011-06-20 Deniz Dogan <deniz@dogan.se>
13121
13122 * net/rcirc.el: Delete trailing whitespaces once and for all.
13123
13124 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13125
13126 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13127
13128 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13129
13130 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13131
13132 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13133
13134 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13135
13136 * window.el (display-buffer-other-window-means-other-frame):
13137 Call display-buffer-normalize-alist.
13138 (display-buffer-normalize-specifiers-1): Rename to
13139 display-buffer-normalize-argument. New argument other-frame.
13140 Rewrite.
13141 (display-buffer-normalize-specifiers-2): Rename to
13142 display-buffer-normalize-options.
13143 (display-buffer-normalize-alist-1): New function.
13144 (display-buffer-normalize-specifiers-3): Rename to
13145 display-buffer-normalize-alist.
13146 Call display-buffer-normalize-alist-1.
13147 (display-buffer-normalize-options-inhibit): New variable.
13148 (display-buffer-normalize-specifiers): Rewrite calling
13149 display-buffer-normalize-alist,
13150 display-buffer-normalize-argument, and
13151 display-buffer-normalize-options. Don't call the latter if
13152 display-buffer-normalize-options-inhibit is non-nil.
13153 (frame-auto-delete): New option.
13154 (window-deletable-p): Use frame-auto-delete.
13155 (window-list-no-nils, window-state-ignored-parameters)
13156 (window-state-get-1, window-state-get, window-state-put-list)
13157 (window-state-put-1, window-state-put-2, window-state-put):
13158 New functions.
13159 (display-buffer-normalize-options): Move special-display-p group
13160 after pop-up-frame group (Bug#8851) and (Bug#8856).
13161
13162 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13163
13164 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13165 groups (Bug#8776).
13166 (rx-submatch-n): New function.
13167 (rx): Document it.
13168
13169 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13170 (Bug#8768).
13171
13172 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13173
13174 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13175
13176 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13177 anytime existing face settings are present (Bug#8889).
13178
13179 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13180 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13181 Remove unused argument.
13182
13183 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13184
13185 * window.el (display-buffer-default-specifiers):
13186 Remove pop-up-frame. Add pop-up-window-min-height,
13187 pop-up-window-min-width, and another reuse-window specifier
13188 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13189 (display-buffer-normalize-specifiers-2):
13190 Handle split-height-threshold and split-width-threshold also when
13191 pop-up-windows is unset. Add a reuse-window specifier for the
13192 case popping up a new window fails.
13193 (special-display-popup-frame): Remove double quoting.
13194 (display-buffer-normalize-specifiers-1): Fix thinko.
13195
13196 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13197
13198 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13199 according to comint-completion-addsuffix.
13200
13201 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13202 (pcomplete-suffix-list): Mark as obsolete.
13203 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13204 pcomplete-seen in the closure.
13205 (pcomplete-comint-setup): Setup completion-at-point as well.
13206 (pcomplete--entries): New function.
13207 (pcomplete--env-regexp): New var.
13208 (pcomplete-entries): Rewrite to work with partial-completion and
13209 without relying on pcomplete-suffix-list.
13210 (pcomplete-pare-list): Remove, unused.
13211
13212 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13213
13214 * window.el (display-buffer-alist): Set pop-up-window-min-height
13215 and pop-up-window-min-width in default value. Reported by
13216 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13217 other-window-means-other-frame.
13218 (display-buffer-macro-specifiers): Comment out entry for
13219 other-window specifier.
13220 (display-buffer-other-window-means-other-frame): New function.
13221 (display-buffer-normalize-specifiers-1): New arguments
13222 buffer-name and label. Treat other-window case specially.
13223 (display-buffer-normalize-specifiers-2): Treat other-window case
13224 specially.
13225 (display-buffer-normalize-specifiers-3): New function.
13226 (display-buffer-normalize-specifiers):
13227 Call display-buffer-normalize-specifiers-3.
13228
13229 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13230
13231 * window.el (same-window-p): Fix two typos introduced when
13232 adding with-no-warnings.
13233 (display-buffer-normalize-specifiers-1): Don't check
13234 pop-up-frames for 'unset initialization.
13235 (display-buffer-normalize-specifiers-2): Major rewrite using
13236 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13237 (pop-up-frames, display-buffer-reuse-frames)
13238 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13239 Suggested by David Engster <deng@randomsample.de>.
13240 (even-window-heights): Initialize to 'unset.
13241 (display-buffer-alist-set): Handle new 'unset initializations.
13242 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13243 other window case.
13244
13245 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13246
13247 * window.el (display-buffer-normalize-specifiers-1):
13248 Respect current value of pop-up-frames for most reasonable values of
13249 second argument of display-buffer (Bug#8865).
13250 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13251 (switch-to-buffer-other-window-same-frame)
13252 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13253 Adams (Bug#8875).
13254 (display-buffer): Don't check noninteractive when calling
13255 display-buffer-pop-up-frame.
13256 (display-buffer-pop-up-frame): Never pop up a frame in
13257 noninteractive mode (Bug#8857).
13258 (enlarge-window, shrink-window): Don't report an error when the
13259 window can't be resized as requested (Bug#8862).
13260
13261 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13262
13263 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13264
13265 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13266
13267 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13268
13269 2011-06-15 Alan Mackenzie <acm@muc.de>
13270
13271 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13272 for declarators, disable knr checking to speed up for normal files.
13273 2: Refactor, replacing a sequence of nested if forms by a cond form.
13274
13275 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13276
13277 * net/network-stream.el (open-network-stream): Add the keyword
13278 :always-query-capabilities for the case where you want to force a
13279 `plain' network connection, but the protocol still requires the
13280 capabilitiy command (i.e., SMTP and EHLO).
13281
13282 * subr.el (process-live-p): Rename from `process-alive-p' for
13283 consistency with other `-live-p' functions.
13284
13285 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13286
13287 * window.el (same-window-buffer-names, same-window-regexps)
13288 (special-display-frame-alist, special-display-popup-frame)
13289 (special-display-function, special-display-buffer-names)
13290 (special-display-regexps, pop-up-frame-alist)
13291 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13292 (pop-up-windows, split-window-preferred-function)
13293 (split-height-threshold, split-width-threshold, even-window-heights)
13294 (display-buffer-mark-dedicated): Don't encourage the use of
13295 display-buffer-alist from Elisp code.
13296
13297 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13298
13299 * progmodes/python.el (python-mode): Derive from prog-mode.
13300 * progmodes/ps-mode.el (ps-mode):
13301 * progmodes/mixal-mode.el (mixal-mode):
13302 * progmodes/cfengine.el (cfengine-mode):
13303 * progmodes/ld-script.el (ld-script-mode): Likewise.
13304
13305 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13306
13307 * window.el (display-buffer-alist): Trim default value to avoid
13308 popping up a new frame (Bug#8857) or reusing an arbitrary window
13309 on another frame.
13310 (display-buffer): Do not fall back on popping up a new frame in
13311 batch mode (Bug#8857).
13312
13313 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13314
13315 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13316 (custom-theme-summary): New function.
13317 (customize-themes): Use it.
13318
13319 2011-06-13 Glenn Morris <rgm@gnu.org>
13320
13321 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13322
13323 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13324
13325 * help.el (help-window): Remove variable.
13326 (help-window-point-marker, temp-buffer-max-height)
13327 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13328 (help-print-return-message): Don't set help-window.
13329 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13330 (help-window-setup-finish): Remove.
13331 (help-window-display-message, help-window-setup)
13332 (with-help-window): Major rewrite based on new
13333 display-buffer-window variable.
13334
13335 * help-mode.el (help-mode-finish): Remove help-window related
13336 code.
13337
13338 * view.el (view-exits-all-viewing-windows): Remove reference to
13339 view-return-to-alist in doc-string.
13340 (view-return-to-alist): Make obsolete.
13341 (view-buffer): Call pop-to-buffer-same-window and remove
13342 undo-window code.
13343 (view-buffer-other-window): Call pop-to-buffer-other-window and
13344 simplify code. Ignore second argument.
13345 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13346 simplify code. Ignore second argument.
13347 (view-return-to-alist-update): Make obsolete.
13348 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13349 Rewrite using quit-restore window parameters.
13350 (view-mode-exit): Rename second argument to EXIT-ONLY.
13351 Rewrite using quit-restore-window.
13352 (View-exit, View-exit-and-edit, View-leave, View-quit)
13353 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13354 appropriate arguments.
13355 (view-end-message): Use quit-restore window parameter.
13356
13357 * window.el (display-buffer-function): Rewrite doc-string.
13358 (display-buffer-window, display-buffer-alist): New variables.
13359 (display-buffer-split-specifiers)
13360 (display-buffer-side-specifiers)
13361 (display-buffer-macro-specifiers): New constants.
13362 (display-buffer-even-window-sizes, display-buffer-set-height)
13363 (display-buffer-set-width, display-buffer-select-window)
13364 (display-buffer-in-window, display-buffer-reuse-window)
13365 (display-buffer-split-window-1, display-buffer-split-window)
13366 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13367 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13368 (display-buffer-in-side-window, normalize-buffer-to-display)
13369 (display-buffer-normalize-specifiers-1)
13370 (display-buffer-normalize-specifiers-2)
13371 (display-buffer-normalize-specifiers, display-buffer-frame):
13372 New functions.
13373 (display-buffer): Major rewrite.
13374 (display-buffer-other-window, display-buffer-other-frame)
13375 (pop-to-buffer, switch-to-buffer-other-window)
13376 (switch-to-buffer-other-frame): Rewrite.
13377 (display-buffer-same-window, display-buffer-same-frame)
13378 (display-buffer-same-frame-other-window)
13379 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13380 (pop-to-buffer-other-window)
13381 (pop-to-buffer-same-frame-other-window)
13382 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13383 (switch-to-buffer-other-window-same-frame): New functions.
13384 (same-window-p, special-display-p): Rewrite disabling warnings.
13385 Make obsolete.
13386 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13387 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13388 Make obsolete
13389 (same-window-buffer-names, same-window-regexps)
13390 (special-display-frame-alist, special-display-popup-frame)
13391 (special-display-function, special-display-buffer-names)
13392 (special-display-regexps, pop-up-frame-alist)
13393 (pop-up-frame-function, split-window-preferred-function)
13394 (split-height-threshold, split-width-threshold)
13395 (even-window-heights): Make obsolete.
13396
13397 2011-06-12 Glenn Morris <rgm@gnu.org>
13398
13399 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13400 Misc simplifications.
13401
13402 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13403
13404 * window.el (window-safely-shrinkable-p): Restore function which
13405 was inadvertently removed in change from 2011-06-11. Declare as
13406 obsolete.
13407
13408 * calendar/calendar.el (calendar-generate-window):
13409 Use window-iso-combined-p instead of combination of one-window-p and
13410 window-safely-shrinkable-p.
13411
13412 2011-06-12 Glenn Morris <rgm@gnu.org>
13413
13414 * progmodes/fortran.el (fortran-mode-syntax-table):
13415 * progmodes/f90.el (f90-mode-syntax-table):
13416 Set % to punctuation. (Bug#8820)
13417 (f90-find-tag-default): Remove, no longer needed.
13418
13419 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13420
13421 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13422
13423 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13424
13425 * image.el (image-animated-p): Return animation delay in seconds.
13426 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13427 (image-animate-timeout): Remove DELAY argument. Don't assume
13428 every subimage has the same delay; get it from image-animated-p.
13429 (image-animate): Caller changed.
13430
13431 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13432
13433 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13434 to ignored backtrace functions.
13435
13436 2011-06-11 Glenn Morris <rgm@gnu.org>
13437
13438 * calendar/appt.el (appt-disp-window-function): Doc fix.
13439 (appt-check): Handle overlapping appointments. (Bug#8337)
13440
13441 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13442
13443 * window.el (window-tree-1, window-tree): New functions, moving
13444 the latter to window.el.
13445 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13446 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13447 (bw-refresh-edges): Remove.
13448 (balance-windows-1, balance-windows-2): New functions.
13449 (balance-windows): Rewrite in terms of window tree functions,
13450 balance-windows-1 and balance-windows-2.
13451 (bw-adjust-window): Remove.
13452 (balance-windows-area-adjust): New function with functionality of
13453 bw-adjust-window but using resize-window.
13454 (set-window-text-height): Rewrite doc-string.
13455 Use normalize-live-window and resize-window.
13456 (enlarge-window-horizontally, shrink-window-horizontally):
13457 Rename argument to DELTA.
13458 (window-buffer-height): New function.
13459 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13460 Rewrite using new window resize routines.
13461 (kill-buffer-and-window, mouse-autoselect-window-select):
13462 Use ignore-errors instead of condition-case.
13463 (quit-window): Call delete-frame instead of delete-windows-on
13464 for the only buffer on frame.
13465
13466 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13467
13468 * loadup.el (top-level): Load window before files for the sake
13469 of replace-buffer-in-windows.
13470
13471 * files.el (read-buffer-to-switch)
13472 (switch-to-buffer-other-window)
13473 (switch-to-buffer-other-frame, display-buffer-other-frame):
13474 Move to window.el.
13475
13476 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13477 (previous-buffer): Move to window.el.
13478
13479 * bindings.el (unbury-buffer): Move to window.el.
13480
13481 * window.el (delete-other-windows-vertically): Move after
13482 definition of delete-other-windows.
13483 (other-window, delete-windows-on, replace-buffer-in-windows):
13484 Move here from window.c.
13485 (record-window-buffer, unrecord-window-buffer)
13486 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13487 (switch-to-next-buffer): New functions.
13488 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13489 from simple.el. Call switch-to-next-buffer.
13490 (previous-buffer): Move here from simple.el.
13491 Call switch-to-prev-buffer.
13492 (bury-buffer): Move here from buffer.c. Switch to previous
13493 buffer when window cannot be deleted.
13494 (unbury-buffer): Move here from bindings.el.
13495 (ctl-x-map): Move binding for other-window from window.c to
13496 here.
13497 (read-buffer-to-switch, switch-to-buffer-other-window)
13498 (switch-to-buffer-other-frame): Move here from files.el.
13499 (normalize-buffer-to-switch-to): New functions.
13500 (switch-to-buffer): Move here from buffer.c.
13501 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13502
13503 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13504
13505 * window.el (window-min-height, window-min-width): Move here
13506 from window.c. Add defcustoms and rewrite doc-strings.
13507 (resize-mini-window, resize-window): New functions.
13508 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13509 Move here from window.c.
13510 (maximize-window, minimize-window): New functions.
13511 (delete-window, delete-other-windows, split-window): Move here
13512 from window.c.
13513 (window-split-min-size): New function.
13514 (split-window-keep-point): Mention split-window-above-each-other
13515 instead of split-window-vertically.
13516 (split-window-above-each-other, split-window-vertically):
13517 Rename split-window-vertically to split-window-above-each-other
13518 and provide defalias for old definition.
13519 (split-window-side-by-side, split-window-horizontally):
13520 Rename split-window-horizontally to split-window-side-by-side
13521 and provide defalias for the old definition.
13522 (ctl-x-map): Move bindings for delete-window,
13523 delete-other-windows and enlarge-window here from window.c.
13524 Replace bindings for split-window-vertically and
13525 split-window-horizontally by bindings for
13526 split-window-above-each-other and split-window-side-by-side.
13527
13528 * cus-start.el (all): Remove entries for window-min-height and
13529 window-min-width. Add entries for window-splits and
13530 window-nest.
13531
13532 2011-06-09 Glenn Morris <rgm@gnu.org>
13533
13534 * calendar/appt.el (appt-mode-line): New function.
13535 (appt-check, appt-disp-window): Use it.
13536
13537 * files.el (hack-one-local-variable-eval-safep):
13538 Allow minor-modes with explicit +/-1 arguments.
13539
13540 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13541
13542 * term/xterm.el (xterm): Add defgroup.
13543 (xterm-extra-capabilities): Add defcustom to supply known xterm
13544 capabilities, skip querying them, or query them (default).
13545 (terminal-init-xterm): Use it.
13546 (terminal-init-xterm-modify-other-keys): New function to set up
13547 modifyOtherKeys support to simplify `terminal-init-xterm'.
13548
13549 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13550
13551 * window.el (resize-window-reset, resize-window-reset-1)
13552 (resize-subwindows-skip-p, resize-subwindows-normal)
13553 (resize-subwindows, resize-other-windows, resize-this-window)
13554 (resize-root-window, resize-root-window-vertically)
13555 (window-deletable-p, window-or-subwindow-p)
13556 (frame-root-window-p): New functions.
13557
13558 2011-06-09 Glenn Morris <rgm@gnu.org>
13559
13560 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13561 (ange-ftp-get-files): Use it.
13562
13563 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13564
13565 * mail/sendmail.el (mail-recover-1, mail-recover):
13566 * files.el (recover-file, recover-session):
13567 Handle dired-listing-switches not being just a single short option.
13568
13569 2011-06-09 Glenn Morris <rgm@gnu.org>
13570
13571 * calendar/appt.el (appt-display-message, appt-disp-window):
13572 Handle lists of appointments.
13573
13574 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13575
13576 * window.el (one-window-p): Move down in code.
13577 Rewrite doc-string.
13578 (window-current-scroll-bars): Rewrite doc-string.
13579 Normalize live window argument.
13580 (walk-windows, get-window-with-predicate, count-windows):
13581 Rewrite doc-string. Use window-list-1.
13582 (window-in-direction-2, window-in-direction, get-mru-window):
13583 New functions.
13584
13585 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13586
13587 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13588 Doc fix (Bug#8713).
13589
13590 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13591
13592 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13593
13594 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13595
13596 * loadhist.el (unload-feature-special-hooks):
13597 Add `comint-output-filter-functions'.
13598
13599 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13600
13601 * calendar/appt.el (appt-check): Move some initializations into the let.
13602
13603 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13604
13605 * window.el (window-height): Defalias to window-total-height.
13606 (window-width): Defalias to window-body-width.
13607
13608 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13609
13610 * image-mode.el (image-toggle-animation): New command.
13611 (image-mode-map): Bind it to RET.
13612 (image-mode): Update message.
13613 (image-toggle-display-image): Avoid a spurious cache flush.
13614 (image-transform-rotation): Doc fix.
13615 (image-transform-properties): Return quickly in the normal case.
13616 (image-animate-loop): Rename from image-animate-max-time.
13617
13618 * image.el (image-animate-max-time): Move to image-mode.el.
13619 (create-animated-image): Remove unnecessary function.
13620 (image-animate): Rename from image-animate-start. New arg.
13621 (image-animate-stop): Remove; just use image-animate-timer.
13622 (image-animate-timer): Use car-safe.
13623 (image-animate-timeout): Rename argument.
13624
13625 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13626
13627 * window.el (get-lru-window, get-largest-window): Move here from
13628 window.c. Rename first argument to ALL-FRAMES.
13629 Rephrase doc-strings.
13630 (get-buffer-window-list): Rewrite using window-list-1.
13631 Rephrase doc-string.
13632 (window-safe-min-height, window-safe-min-width): New constants.
13633 (window-size-ignore, window-min-size, window-min-size-1)
13634 (window-sizable, window-sizable-p, window-size-fixed-1)
13635 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13636 (window-max-delta-1, window-max-delta, window-resizable)
13637 (window-resizable-p, window-total-height, window-total-width)
13638 (window-body-width): New functions.
13639 (window-full-height-p, window-full-width-p): Rewrite using
13640 window-total-size.
13641 (window-body-height): Rewrite using window-body-size.
13642
13643 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13644
13645 * window.el (window-right, window-left, window-child)
13646 (window-child-count, window-last-child, window-any-p)
13647 (normalize-live-buffer, normalize-live-frame)
13648 (normalize-any-window, normalize-live-window)
13649 (window-iso-combination-p, window-iso-combined-p)
13650 (window-iso-combinations)
13651 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13652 (windows-with-parameter, window-with-parameter)
13653 (window-atom-root, make-window-atom, window-atom-check-1)
13654 (window-atom-check, window-side-check, window-check):
13655 New functions.
13656 (ignore-window-parameters, window-sides, window-sides-vertical)
13657 (window-sides-slots): New variables.
13658 (window-size-fixed): Move down in code. Minor doc-string fix.
13659
13660 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13661
13662 * comint.el (comint-dynamic-complete-as-filename)
13663 (comint-dynamic-complete-filename): Correctly call
13664 completion-in-region.
13665
13666 2011-06-05 Deniz Dogan <deniz@dogan.se>
13667
13668 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13669 in last change.
13670
13671 2011-06-05 Deniz Dogan <deniz@dogan.se>
13672
13673 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13674 (rcirc): Use it to prompt for encryption.
13675
13676 2011-06-05 Roland Winkler <winkler@gnu.org>
13677
13678 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13679 (bibtex-search-entries): New command bound to C-c C-a.
13680 (bibtex-display-entries): New function.
13681
13682 2011-06-05 Roland Winkler <winkler@gnu.org>
13683
13684 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13685 (bibtex-insert-kill): After yanking insert newline if necessary.
13686 (bibtex-initialize): Call bibtex-string-files-init only once.
13687 (bibtex-mode): Do not call easy-menu-add.
13688 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13689 (bibtex-yank): Set arg properly if nil.
13690
13691 2011-06-05 Roland Winkler <winkler@gnu.org>
13692
13693 * textmodes/bibtex.el (bibtex-search-entry-globally):
13694 New variable.
13695 (bibtex-search-entry): Use it.
13696
13697 2011-06-05 Roland Winkler <winkler@gnu.org>
13698
13699 * textmodes/bibtex.el (bibtex-entry-format): New option
13700 sort-fields.
13701 (bibtex-format-entry, bibtex-reformat): Honor this option.
13702 (bibtex-parse-entry): Return fields in proper order.
13703
13704 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13705
13706 * doc-view.el (doc-view-remove-if): Move computation of result out
13707 of `dolist' to silence misleading lexical-binding warning.
13708
13709 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13710
13711 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13712 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13713
13714 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13715
13716 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13717 "SunOS 5.10".
13718
13719 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13720
13721 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13722 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13723 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13724 (tramp-parse-putty):
13725 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13726 (tramp-completion-function-alist-ssh)
13727 (tramp-completion-function-alist-telnet)
13728 (tramp-completion-function-alist-su)
13729 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13730 cookie.
13731
13732 * net/tramp-ftp.el:
13733 * net/tramp-sh.el:
13734 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13735 load "tramp.el" `tramp-set-completion-function'.
13736
13737 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13738
13739 * shell.el: Require and use pcomplete.
13740 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13741 (shell-completion-vars): Set pcomplete-default-completion-function.
13742
13743 2011-06-04 Deniz Dogan <deniz@dogan.se>
13744
13745 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13746 `memq' (Bug#8799).
13747
13748 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13749
13750 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13751
13752 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13753
13754 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13755 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13756 * vc/log-view.el (log-view-beginning-of-defun):
13757 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13758 (smerge-refine-forward, smerge-refine-chopup-region):
13759 Silence warning for unused `dotimes' counter variables.
13760
13761 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13762
13763 * net/tramp.el (tramp-with-progress-reporter): Rename from
13764 with-progress-reporter. Use `declare'.
13765 * net/tramp-smb.el:
13766 * net/tramp-sh.el:
13767 * net/tramp-gvfs.el: Update all uses.
13768
13769 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13770
13771 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13772 buffer isn't killed before making it current.
13773
13774 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13775
13776 Silence various byte-compiler warnings.
13777 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13778 `access-type' and new obsolescence format.
13779 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13780 new format.
13781 (byte-compile-check-variable): New `access-type' argument.
13782 Only warn if the access-type is obsolete.
13783 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13784 (byte-compile-variable-set): Adjust callers.
13785 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13786 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13787 setting it as obsolete.
13788 * simple.el (minibuffer-completing-symbol):
13789 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13790 access as obsolete.
13791 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13792 obsolete yet.
13793 * international/quail.el (quail-mouse-choose-completion): Remove unused
13794 code referring to obsolete var.
13795 (quail-choose-completion-string): Remove.
13796 * server.el (server-clients-with, server-kill-buffer-query-function)
13797 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13798 * proced.el (proced-send-signal):
13799 * emacs-lisp/lisp.el (lisp-complete-symbol):
13800 Replace completion-annotate-function with completion-extra-properties.
13801
13802 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13803
13804 * simple.el (goto-line): Use read-number.
13805 (overriding-map-is-bound): Remove.
13806 (saved-overriding-map): Change default.
13807 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13808 Take the map as argument.
13809 (universal-argument, negative-argument, digit-argument): Use it.
13810 (restore-overriding-map): Adjust.
13811 (do-auto-fill): Use fill-forward-paragraph.
13812 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13813
13814 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13815 (minibuffer-inactive-mode): New major mode.
13816 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13817 the *Messages* buffer" hack.
13818 (mouse-popup-menubar): Don't burp if the event is a normal key.
13819
13820 Miscellaneous tweaks.
13821 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13822 lexical scoping as in subr.el's dolist and dotimes.
13823 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13824 Silence compiler warning.
13825 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13826 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13827 * international/ccl.el (ccl-compile): Trivial simplification.
13828 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13829 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13830 `printflag' argument.
13831 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13832 Purecopy the whole obsolescence data.
13833
13834 2011-06-01 Leo Liu <sdl.web@gmail.com>
13835
13836 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13837 improve doc-string as suggested by Marco Pessotto
13838 <melmothx@gmail.com>.
13839 (rcirc-print): Fix last change.
13840
13841 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13842
13843 * minibuffer.el (complete-with-action): Return nil for the metadata and
13844 boundaries of non-functional tables.
13845 (completion-table-dynamic): Return nil for the metadata.
13846 (completion-table-with-terminator): Add default case, using
13847 complete-with-action.
13848 (completion--metadata): New function.
13849 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13850 to try and avoid pathological performance problems.
13851 (completion--embedded-envvar-table): Return `category' metadata.
13852
13853 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13854
13855 * subr.el (process-alive-p): New tiny convenience function.
13856
13857 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13858
13859 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13860 content but also its previous major mode.
13861
13862 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
13863
13864 * emacs-lisp/debug.el (debug): Restore the previous content of the
13865 *Backtrace* buffer when we exit with C-M-c.
13866
13867 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13868
13869 * minibuffer.el: Add metadata method to completion tables.
13870 (completion-category-overrides): New defcustom.
13871 (completion-metadata, completion--field-metadata)
13872 (completion-metadata-get, completion--styles)
13873 (completion--cycle-threshold): New functions.
13874 (completion-try-completion, completion-all-completions):
13875 Add `metadata' argument to choose completion-styles.
13876 (completion--do-completion): Use metadata to choose cycling.
13877 (completion-all-sorted-completions): Use metadata for sorting.
13878 Remove :completion-cycle-penalty which is not needed any more.
13879 (completion--try-word-completion): Add `metadata' argument.
13880 (minibuffer-completion-help): Check metadata for annotation function
13881 and sorting.
13882 (completion-file-name-table): Return `category' metadata.
13883 (minibuffer-completing-file-name): Make obsolete.
13884 * simple.el (minibuffer-completing-symbol): Make obsolete.
13885 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13886 completion-try-completion.
13887
13888 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13889
13890 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13891
13892 2011-05-30 Leo Liu <sdl.web@gmail.com>
13893
13894 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13895 (rcirc-print): Decode all incoming messages (bug#8744).
13896 (rcirc-decode-coding-system): Allow value nil for automatic coding
13897 system detection.
13898
13899 2011-06-01 Glenn Morris <rgm@gnu.org>
13900
13901 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13902
13903 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13904
13905 * image.el (image-animate-max-time): Allow nil and t values.
13906 Default to nil.
13907 (create-animated-image): Doc fix.
13908 (image-animate-start): Remove second arg; just use
13909 image-animate-max-time.
13910 (image-animate-timeout): Doc fix. Args changed.
13911
13912 * image-mode.el (image-toggle-display-image): Ensure that the
13913 image spec passed to the animate timer is the same object as in
13914 the buffer's display property (Bug#6981).
13915 (image-transform-properties): Doc fix.
13916
13917 * image.el (image-animate-max-time): Default to nil.
13918
13919 2011-05-29 Martin Rudalics <rudalics@gmx.at>
13920
13921 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13922 entire buffer list (Bug#8184).
13923
13924 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13925
13926 * image.el (imagemagick-types-inhibit)
13927 (imagemagick-register-types): Doc fix.
13928
13929 2011-05-29 Deniz Dogan <deniz@dogan.se>
13930
13931 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13932 default.
13933
13934 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13935
13936 * select.el: Don't perform clipboard-manager saving in hooks;
13937 leave the hooks empty.
13938
13939 2011-05-28 Leo Liu <sdl.web@gmail.com>
13940
13941 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13942 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13943 (occur-edit-mode): New major mode (Bug#8463).
13944 (occur-after-change-function): New function.
13945 (occur-engine): Give Occur tags a read-only property.
13946
13947 2011-05-28 Kevin Ryde <user42@zip.com.au>
13948
13949 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13950
13951 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13952
13953 * bindings.el (help-echo): Make the initial non-indicator dash
13954 empty on graphical terminals (Bug#7295).
13955
13956 * files.el (auto-mode-alist): Move config rule after the
13957 in-stripping one (Bug#8547).
13958
13959 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13960
13961 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13962 setting (Bug#8740).
13963
13964 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13965
13966 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13967 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13968 (Bug#8539).
13969
13970 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13971
13972 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13973
13974 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13975
13976 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13977 (hs-hide-block-at-point, hs-find-block-beginning)
13978 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13979 (Bug#8279).
13980
13981 2011-05-28 Glenn Morris <rgm@gnu.org>
13982
13983 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13984
13985 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13986
13987 * help-fns.el (describe-function-1): If the function is a derived
13988 major mode, print the parent mode.
13989
13990 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13991 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13992
13993 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13994
13995 * minibuffer.el (completion--capf-wrapper): Check applicability before
13996 returning non-nil for non-exclusive completion data.
13997 * progmodes/etags.el (tags-completion-at-point-function):
13998 * info-look.el (info-lookup-completions-at-point): Mark as
13999 non-exclusive.
14000 (info-complete): Adjust accordingly.
14001
14002 * info-look.el: Convert to lexical-binding and completion-at-point.
14003 (info-lookup-completions-at-point): New function.
14004 (info-complete): Use it and completion-in-region.
14005
14006 2011-05-28 Drew Adams <drew.adams@oracle.com>
14007
14008 * isearch.el: Let M-e start with point at the first mismatched char.
14009 (isearch-fail-pos): New function.
14010 (isearch-edit-string): Use it.
14011
14012 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14013
14014 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14015
14016 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14017
14018 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14019 traversal functions for avl-trees.
14020 (avl-tree--stack): New struct.
14021 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14022 (avl-tree-enter): Add optional `updatefun' arg.
14023 (avl-tree--do-enter): Add optional `updatefun' arg.
14024 Change return value.
14025 (avl-tree-delete): Add optional `test' and `nilflag' args.
14026 (avl-tree--do-delete): Add `test' and `nilflag' args.
14027 Change return value.
14028 (avl-tree-member): Add optional `nilflag'
14029 (avl-tree-member-p): New function.
14030 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14031 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14032 (avl-tree-stack-empty-p): New functions.
14033
14034 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14035 avl-tree--del-balance1 and make it work both ways.
14036 (avl-tree--del-balance2): Remove.
14037 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14038 make it work both ways.
14039 (avl-tree--enter-balance2): Remove.
14040 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14041 New macros.
14042 (avl-tree--mapc, avl-tree-map): Add direction argument.
14043
14044 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14045
14046 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14047
14048 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14049
14050 * select.el: Support clipboard managers with built-in function
14051 x-clipboard-manager-save, via delete-frame-functions and
14052 kill-emacs-hook.
14053 (xselect-convert-to-targets): Add MULTIPLE target to list.
14054 (xselect-convert-to-save-targets): New function.
14055
14056 2011-05-27 Kenichi Handa <handa@m17n.org>
14057
14058 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14059 let-binding rfc2047-encode-encoded-words to nil.
14060
14061 2011-05-27 Glenn Morris <rgm@gnu.org>
14062
14063 * mail/emacsbug.el: Don't require url-util.
14064
14065 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14066
14067 * files.el (set-auto-mode):
14068 Also respect mode: entries at the end of the file. (Bug#8586)
14069
14070 2011-05-26 Glenn Morris <rgm@gnu.org>
14071
14072 * files.el (hack-local-variables-prop-line, hack-local-variables):
14073 Downcase mode names, as seems to be traditional.
14074 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14075
14076 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14077 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14078
14079 2011-05-25 Julien Danjou <julien@danjou.info>
14080
14081 * textmodes/rst.el (rst-define-level-faces): Do not define face
14082 symbol if it is already defined.
14083
14084 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14085
14086 * play/5x5.el (5x5-new-game, 5x5-randomize):
14087 Reset 5x5-solver-output to nil when a new grid is cast.
14088 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14089 these debugging traces, as defmacro breaks the compiled code.
14090
14091 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14092
14093 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14094
14095 2011-05-24 Leo Liu <sdl.web@gmail.com>
14096
14097 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14098 (vc-bzr-sha1): Adapt.
14099
14100 * sha1.el: Remove. Function `sha1' is now builtin.
14101
14102 * bindings.el: Provide sha1 feature.
14103
14104 2011-05-24 Kenichi Handa <handa@m17n.org>
14105
14106 * mail/sendmail.el: Require `rfc2047'.
14107 (mail-insert-from-field): Do not perform RFC2047 encoding.
14108 (mail-encode-header): New function.
14109 (sendmail-send-it): Set buffer-file-coding-system of the work
14110 buffer to the return value of select-message-coding-system.
14111 Call mail-encode-header.
14112
14113 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14114
14115 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14116
14117 * mail/supercite.el (sc-default-cite-frame):
14118 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14119
14120 2011-05-24 Glenn Morris <rgm@gnu.org>
14121
14122 * progmodes/python.el (brm-menu): Declare.
14123
14124 * emulation/viper.el (viper-set-hooks): Declare.
14125
14126 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14127 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14128 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14129 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14130 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14131 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14132
14133 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14134
14135 Add an :exit-function for completion-at-point.
14136
14137 * minibuffer.el (completion--done): New fun.
14138 (completion--do-completion): Use it. New arg `expect-exact'.
14139 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14140 since completion--do-completion does it for us now.
14141 (minibuffer-force-complete): Use completion--done and
14142 completion--replace. Handle sole-completion case with more care.
14143 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14144 (completion-extra-properties): New var.
14145 (completion-annotate-function): Make obsolete.
14146 (minibuffer-completion-help): Adjust accordingly.
14147 Use completion-list-insert-choice-function.
14148 (completion-at-point, completion-help-at-point):
14149 Bind completion-extra-properties.
14150 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14151 * simple.el (completion-list-insert-choice-function): New var.
14152 (completion-setup-function): Preserve it.
14153 (choose-completion): Pay attention to it, shuffle the code a bit.
14154 (choose-completion-string): New arg `insert-function'.
14155
14156 * textmodes/bibtex.el: Convert to lexical binding.
14157 (bibtex-mode-map): Use completion-at-point.
14158 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14159 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14160 (bibtex-complete): Define as obsolete alias.
14161 (bibtex-complete-internal): Remove.
14162 (bibtex-format-entry): Remove unused sub-group in regexp.
14163 * shell.el (shell--command-completion-data)
14164 (shell-environment-variable-completion):
14165 * pcomplete.el (pcomplete-completions-at-point):
14166 * comint.el (comint--complete-file-name-data): Use :exit-function
14167 instead of completion-table-with-terminator so it also works for
14168 choose-completion.
14169
14170 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14171
14172 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14173
14174 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14175 (bug#8710).
14176
14177 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14178
14179 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14180
14181 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14182 customization variable and implement: If non-nil, auto-fill will
14183 be inhibited while on topic's header line.
14184
14185 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14186
14187 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14188 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14189 always have a solution in grid size = 5 cases.
14190 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14191 (5x5-solver-output, 5x5-log-buffer): New vars.
14192 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14193 Make these variables buffer local to achieve 5x5 multi-session-ness.
14194 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14195 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14196 (5x5-solve-suggest): New funs.
14197 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14198 randomize a grid so that we ensure that there is always a solution.
14199 (5x5-make-random-grid): Allow other movement than flipping.
14200
14201 2011-05-23 Kevin Ryde <user42@zip.com.au>
14202
14203 * emacs-lisp/advice.el (ad-read-advised-function):
14204 Use `function-called-at-point' as the default, if it has
14205 advice and passes PREDICATE.
14206
14207 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14208
14209 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14210 byte-compile-lambda if it's actually a lambda.
14211
14212 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14213 Fix function quoting. Use backquote better.
14214
14215 2011-05-22 Yuanle Song <sylecn@gmail.com>
14216
14217 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14218 matching (Bug#8516).
14219
14220 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14221
14222 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14223 different face (Bug#8178).
14224
14225 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14226
14227 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14228 defface (Bug#8144).
14229
14230 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14231
14232 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14233 funcall as well (bug#8712). Warn when performing those conversions.
14234 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14235
14236 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14237
14238 2011-05-22 Glenn Morris <rgm@gnu.org>
14239
14240 * files.el (hack-local-variables-prop-line): Small simplifications.
14241 (hack-local-variables, hack-local-variables-prop-line):
14242 If MODE-ONLY, return the mode, rather than just `t'.
14243
14244 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14245
14246 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14247
14248 2011-05-21 Glenn Morris <rgm@gnu.org>
14249
14250 * files.el (hack-local-variables-prop-line, hack-local-variables):
14251 If only interested in the mode, don't bother doing the other stuff.
14252
14253 * image-mode.el (image-after-revert-hook):
14254 Redraw all frames on which the image is visible. (Bug#8567)
14255
14256 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14257
14258 * wid-edit.el (widget-checklist-match-inline):
14259 Fix 2011-04-19 change. (Bug#8649)
14260
14261 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14262
14263 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14264 Also allow singlespace after single-letter capitals followed by a dot.
14265
14266 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14267 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14268
14269 2011-05-20 Nix <nix@esperi.org.uk>
14270
14271 * files.el (basic-save-buffer-2):
14272 Fix handling of break-hardlink-on-save with non-existent files.
14273
14274 2011-05-19 Deniz Dogan <deniz@dogan.se>
14275
14276 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14277 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14278
14279 2011-05-19 Glenn Morris <rgm@gnu.org>
14280
14281 * progmodes/f90.el (f90-type-def-re):
14282 Handle "type, bind(c)". (Bug#8691)
14283
14284 * emacs-lisp/autoload.el (batch-update-autoloads):
14285 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14286
14287 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14288
14289 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14290 property for the correct connection in case of multihops.
14291
14292 2011-05-18 Glenn Morris <rgm@gnu.org>
14293
14294 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14295 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14296
14297 Rationalize calendar handling of day and month abbrev-arrays.
14298 * calendar/calendar.el (calendar-customized-p): New function.
14299 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14300 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14301 Add :set function.
14302 (calendar-abbrev-length, calendar-day-abbrev-array)
14303 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14304 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14305 Elements may no longer be nil.
14306 (calendar-day-name, calendar-month-name):
14307 Update for changed nature of abbrev arrays.
14308 * calendar/diary-lib.el (diary-name-pattern):
14309 Update for changed nature of abbrev arrays.
14310 (diary-mark-entries-1): Update calendar-make-alist calls.
14311 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14312 * calendar/cal-html.el (cal-html-day-abbrev-array):
14313 Simply inherit from calendar-day-abbrev-array.
14314
14315 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14316
14317 * progmodes/grep.el (grep-mode): Disable default
14318 compilation-directory-matcher setting (bug#8684).
14319
14320 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14321
14322 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14323 instead of "head" and "tail". There were problems with SunOS 5.9,
14324 and it performs better.
14325
14326 2011-05-17 Glenn Morris <rgm@gnu.org>
14327
14328 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14329
14330 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14331 Replace obsolete function.
14332
14333 * shell.el (pcomplete-parse-arguments-function): Declare.
14334
14335 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14336 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14337 (appt-check): Doc fixes.
14338 (appt-disp-window-function, appt-delete-window-function):
14339 Remove needless special case in custom :type.
14340 (appt-display-count): Default to 0, not nil.
14341 (appt-check): Reset appt-display-count to 0, not nil.
14342
14343 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14344
14345 * progmodes/python.el (python-font-lock-keywords):
14346 Add the Python 3.X keyword "nonlocal" (bug#8639).
14347
14348 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14349
14350 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14351
14352 2011-05-16 Kevin Ryde <user42@zip.com.au>
14353
14354 * info-look.el (makefile-automake-mode): New setups, looking in
14355 automake manual, then makefile-mode.
14356 (makefile-mode): Remove automake manual, have it just in
14357 makefile-automake-mode since there's various things different or
14358 not relevant to plain make.
14359 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14360 believe a hypothetical automake-mode would go to makefile-mode,
14361 not the other way around.
14362
14363 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14364
14365 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14366 hunk-end tags (Bug#8672).
14367
14368 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14369 vc-annotate-show-diff-revision-at-line (Bug#8671).
14370
14371 2011-05-14 Glenn Morris <rgm@gnu.org>
14372
14373 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14374 in the middle of an existing one with multiple authors. (Bug#8645)
14375 (change-log-font-lock-keywords): Also handle multiple author lines
14376 with leading tabs. (Bug#8644)
14377
14378 * calendar/appt.el (appt-check): Rename some local variables.
14379 Some simplification/reordering.
14380
14381 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14382 (feedmail-sendmail-f-doesnt-sell-me-out)
14383 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14384 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14385 (feedmail-queue-runner-message-sender): Set :version.
14386 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14387 (bbdb-dwim-net-address, vm-mail): Declare.
14388 (feedmail-binmail-gnulinuxish-template):
14389 Rename from feedmail-binmail-linuxish-template.
14390 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14391 Use insert-buffer-substring.
14392
14393 2011-05-14 Bill Carpenter <bill@carpenter.org>
14394
14395 * mail/feedmail.el (feedmail-patch-level): Increase.
14396 (feedmail-debug): New custom group.
14397 (feedmail-confirm-outgoing-timeout)
14398 (feedmail-sendmail-f-doesnt-sell-me-out)
14399 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14400 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14401 (feedmail-sender-line, feedmail-from-line)
14402 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14403 (feedmail-spray-this-address)
14404 (feedmail-spray-address-fiddle-plex-list)
14405 (feedmail-queue-use-send-time-for-date)
14406 (feedmail-queue-use-send-time-for-message-id)
14407 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14408 (feedmail-buffer-eating-function):
14409 Doc fixes.
14410 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14411 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14412 (feedmail-message-action-scroll-down): New functions.
14413 (feedmail-queue-directory, feedmail-queue-draft-directory):
14414 Use expand-file-name.
14415 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14416 Remove C-v help entry.
14417 (feedmail-queue-buffer-file-name): New variable.
14418 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14419 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14420 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14421 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14422 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14423 (feedmail-message-action-toggle-spray)
14424 (feedmail-run-the-queue-no-prompts)
14425 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14426 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14427 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14428 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14429 (feedmail-envelope-deducer, feedmail-fiddle-from)
14430 (feedmail-fiddle-sender, feedmail-default-date-generator)
14431 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14432 (feedmail-fiddle-spray-address)
14433 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14434 (feedmail-fiddle-list-of-fiddle-plexes)
14435 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14436 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14437 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14438 Change default. Doc fix.
14439 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14440 (feedmail-binmail-linuxish-template): New constant.
14441 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14442 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14443 (feedmail-send-it): Add debug call.
14444 Use feedmail-queue-buffer-file-name, and
14445 feedmail-send-it-immediately-wrapper.
14446 (feedmail-message-action-send): Add debug call.
14447 Use feedmail-send-it-immediately-wrapper.
14448 (feedmail-queue-express-to-queue): Add debug call.
14449 Run feedmail-queue-express-hook.
14450 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14451 (feedmail-message-action-help-blat):
14452 Rename from feedmail-queue-send-edit-prompt-help-first.
14453 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14454 Check line-endings. Handle errors better.
14455 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14456 Doc fix. Add debug call.
14457 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14458 Use feedmail-queue-send-edit-prompt-inner.
14459 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14460 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14461 from feedmail-queue-send-edit-prompt.
14462 (feedmail-queue-send-edit-prompt-help)
14463 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14464 (feedmail-tidy-up-slug): Add debug call.
14465 Respect feedmail-queue-slug-suspect-regexp.
14466 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14467 (feedmail-dump-message-to-queue): Add debug call.
14468 Expand queue-directory.
14469 (feedmail-dump-message-to-queue): Change message slightly.
14470 Use feedmail-say-chatter.
14471 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14472 (feedmail-send-it-immediately-wrapper): New function.
14473 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14474 Insert empty string rather than newline. Handle full-frame case.
14475 Use catch/throw. Use feedmail-say-chatter.
14476 (feedmail-fiddle-from): Try mail-host-address.
14477 (feedmail-default-message-id-generator): Doc fix.
14478 Bind system-time-locale. Handle missing end.
14479 (feedmail-fiddle-x-mailer): Add debug call.
14480 Handle feedmail-x-mailer-line being nil.
14481 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14482 Add debug call. Use buffer-substring-no-properties.
14483 (feedmail-say-debug, feedmail-say-chatter): New functions.
14484 (feedmail-find-eoh): Give an explicit error.
14485
14486 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14487
14488 * net/newst-treeview.el (newsticker-treeview-face): Change default
14489 family from helvetica to sans.
14490 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14491 etc/images/newsticker.
14492
14493 * net/newst-reader.el (newsticker-feed-face): Change default
14494 family from helvetica to sans.
14495
14496 * net/newst-plainview.el (newsticker-new-item-face)
14497 (newsticker-old-item-face, newsticker-immortal-item-face)
14498 (newsticker-obsolete-item-face, newsticker-date-face)
14499 (newsticker-statistics-face): Change default family from
14500 helvetica to sans.
14501 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14502 etc/images/newsticker.
14503
14504 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14505 (newsticker--process-auto-mark-filter-match): Tell user about
14506 auto-marking.
14507
14508 2011-05-13 Didier Verna <didier@xemacs.org>
14509
14510 Common Lisp indentation improvements on defmethod and lambda-lists.
14511 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14512 TODO entries.
14513 (lisp-lambda-list-keyword-parameter-indentation)
14514 (lisp-lambda-list-keyword-parameter-alignment)
14515 (lisp-lambda-list-keyword-alignment): New customizable user options.
14516 (lisp-indent-defun-method): Improve docstring.
14517 (extended-loop-p): Fix comment.
14518 (lisp-indent-lambda-list-keywords-regexp): New variable.
14519 (lisp-indent-lambda-list): New function.
14520 (lisp-indent-259): Use it.
14521 (lisp-indent-defmethod): Support for more than one
14522 method qualifier and properly indent methods lambda-lists.
14523 (defgeneric): Provide a missing common-lisp-indent-function property.
14524
14525 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14526
14527 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14528 bounds for the empty string (bug#8667).
14529
14530 2011-05-13 Glenn Morris <rgm@gnu.org>
14531
14532 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14533
14534 * mail/sendmail.el (sendmail-program): Try executable-find first.
14535 (sendmail-send-it): `sendmail-program' cannot be unbound.
14536
14537 * calendar/appt.el (appt-make-list): Simplify.
14538 (appt-time-msg-list): Doc fix.
14539 (appt-check): Change mode-line message at the time of the appointment.
14540
14541 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14542
14543 * progmodes/ld-script.el (ld-script-keywords)
14544 (ld-script-builtins): Update keywords list.
14545
14546 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14547
14548 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14549
14550 * shell.el (shell-completion-vars): New function.
14551 (shell-mode):
14552 * simple.el (read-shell-command): Use it.
14553 (blink-matching-open): No need for " [...]" in minibuffer-message.
14554
14555 2011-05-12 Glenn Morris <rgm@gnu.org>
14556
14557 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14558 (appt-check): Simplify.
14559
14560 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14561
14562 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14563 literal "/dev/null".
14564
14565 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14566
14567 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14568 Fix typo.
14569
14570 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14571
14572 * progmodes/which-func.el (which-function):
14573 Use add-log-current-defun instead of add-log-current-defun-function,
14574 which might not be defined (Bug#8260).
14575
14576 2011-05-12 Glenn Morris <rgm@gnu.org>
14577
14578 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14579 Let byte-compile-initial-macro-environment always take precedence.
14580
14581 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14582
14583 * net/rcirc.el: Add support for SSL/TLS connections.
14584 (rcirc-server-alist): New field `encryption'.
14585 (rcirc): Check `encryption' settings.
14586 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14587 Merge make-local-variable into `set'.
14588 (rcirc--connection-open-p): New function.
14589 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14590 the process is not a network process (e.g. running gnutls-cli).
14591 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14592 Make rcirc-(en|de)code-coding-system local here.
14593 (rcirc-mode): Merge make-local-variable into `set'.
14594 (rcirc-parent-buffer): Make permanent buffer-local.
14595 (rcirc-multiline-minor-mode): Don't do it here.
14596 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14597 there's no server buffer.
14598
14599 2011-05-11 Glenn Morris <rgm@gnu.org>
14600
14601 * newcomment.el (comment-kill): Prefix "unused" local.
14602
14603 * term/w32console.el (get-screen-color): Declare.
14604
14605 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14606 Handle symbol elements of byte-compile-initial-macro-environment.
14607
14608 2011-05-10 Leo Liu <sdl.web@gmail.com>
14609
14610 * bookmark.el (bookmark-bmenu-mode-map):
14611 Bind bookmark-bmenu-search to `/'.
14612
14613 * mail/footnote.el: Convert to utf-8 encoding.
14614 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14615 (Footnote-unicode): New function.
14616 (footnote-style-alist): Add unicode style to the list.
14617 (footnote-style): Doc fix.
14618
14619 2011-05-10 Jim Meyering <meyering@redhat.com>
14620
14621 Fix doubled-word typos.
14622 * international/quail.el (quail-insert-kbd-layout): and and -> and
14623 * kermit.el: and and -> and
14624 * net/ldap.el (ldap-search-internal): to to -> to
14625 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14626 * progmodes/js.el (js-mode): and and -> and
14627 * textmodes/artist.el (artist-move-to-xy): at at -> at
14628 (artist-draw-region-trim-line-endings): if if -> if
14629 And Safetyc -> Safety.
14630 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14631
14632 2011-05-10 Glenn Morris <rgm@gnu.org>
14633 Stefan Monnier <monnier@iro.umontreal.ca>
14634
14635 * files.el (hack-one-local-variable-eval-safep):
14636 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14637
14638 2011-05-10 Glenn Morris <rgm@gnu.org>
14639
14640 * calendar/diary-lib.el (diary-list-entries-hook)
14641 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14642 (diary-nongregorian-marking-hook, diary-list-entries)
14643 (diary-include-other-diary-files, diary-mark-entries)
14644 (diary-mark-included-diary-files): Doc fixes.
14645
14646 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14647
14648 * misc.el: Require tabulated-list.el during compilation.
14649
14650 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14651
14652 * progmodes/compile.el (compilation-start):
14653 Run compilation-filter-hook for the async case too.
14654 (compilation-filter-hook): Doc fix.
14655
14656 2011-05-09 Deniz Dogan <deniz@dogan.se>
14657
14658 * wdired.el: Remove outdated installation comment. Fix usage
14659 comment.
14660
14661 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14662
14663 * misc.el: Implement new command `list-dynamic-libraries'.
14664 (list-dynamic-libraries--loaded-only-p): New variable.
14665 (list-dynamic-libraries--refresh): New function.
14666 (list-dynamic-libraries): New command.
14667
14668 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14669
14670 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14671 Fix the ant regexp to handle end-line and end-column info from jikes.
14672 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14673 higher priority to avoid clobbering by gnu.
14674
14675 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14676
14677 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14678 if the face has existing theme settings (Bug#8454).
14679
14680 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14681
14682 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14683 Only match variables declared via `my' or `our' (Bug#8261).
14684
14685 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14686 special file names `.' and `..' (Bug#8259).
14687
14688 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14689
14690 * progmodes/grep.el (grep-mode-font-lock-keywords):
14691 Remove buffer-changing entries.
14692 (grep-filter): New function.
14693 (grep-mode): Add it to compilation-filter-hook.
14694
14695 * progmodes/compile.el (compilation-filter-hook)
14696 (compilation-filter-start): New defvars.
14697 (compilation-filter): Call compilation-filter-hook prior to
14698 updating the process mark.
14699
14700 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14701
14702 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14703
14704 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14705
14706 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14707 mailclient-send-it even if window-system is nil. (Bug#8595)
14708
14709 * term/w32console.el (terminal-init-w32console):
14710 Call get-screen-color and use its output to set the frame
14711 background-mode. (Bug#8597)
14712
14713 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14714
14715 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14716 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14717 New functions.
14718 (defgeneric, eieio--defmethod): Use them.
14719 (eieio-defgeneric): Remove.
14720 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14721
14722 2011-05-07 Glenn Morris <rgm@gnu.org>
14723
14724 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14725 Use let rather than let*.
14726 (timeclock-find-discrep): Remove unused local.
14727
14728 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14729
14730 * calendar/appt.el (appt-time-msg-list): Doc fix.
14731
14732 2011-05-06 Noah Friedman <friedman@splode.com>
14733
14734 * apropos.el (apropos-print-doc): Only use
14735 emacs-lisp-docstring-fill-column when it is bound to an integer,
14736 per that variable's documentation.
14737
14738 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14739
14740 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14741 and warnings are not silently discarded (e.g. use -d instead of -P).
14742
14743 2011-05-06 Glenn Morris <rgm@gnu.org>
14744
14745 * calendar/appt.el (appt-message-warning-time): Doc fix.
14746 (appt-warning-time-regexp): New option.
14747 (appt-make-list): Respect appt-message-warning-time.
14748
14749 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14750 New options.
14751 (diary-add-to-list): Strip comments from the displayed string.
14752 (diary-mode): Set comment-start and comment-end.
14753
14754 * vc/diff-mode.el (smerge-refine-subst): Declare.
14755 (diff-refine-hunk): Don't require smerge-mode when compiling.
14756
14757 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14758
14759 * simple.el (list-processes): Return nil as the docstring says.
14760
14761 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14762
14763 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14764 to "".
14765 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14766 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14767 determining of binary transfer. (Bug#7383)
14768
14769 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14770
14771 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14772 Fix port computation bug. (Bug#8618)
14773
14774 2011-05-05 Glenn Morris <rgm@gnu.org>
14775
14776 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14777
14778 * simple.el (shell-dynamic-complete-functions)
14779 (comint-dynamic-complete-functions): Declare.
14780
14781 * net/network-stream.el (gnutls-negotiate):
14782 * simple.el (tabulated-list-print): Fix declarations.
14783
14784 * progmodes/gud.el (syntax-symbol, syntax-point):
14785 Remove unnecessary and incorrect declarations.
14786
14787 * emacs-lisp/check-declare.el (check-declare-scan):
14788 Handle byte-compile-initial-macro-environment in bytecomp.el
14789
14790 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14791
14792 Fix earlier half-done eieio-defmethod change (bug#8338).
14793 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14794 Streamline and change calling convention.
14795 (defmethod): Adjust accordingly and simplify.
14796 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14797 new eieio--defmethod.
14798 (slot-boundp): Minor CSE simplification.
14799
14800 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14801
14802 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14803 (glasses-make-readable): Use glasses-separate-capital-groups.
14804
14805 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14806
14807 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14808 (warning-series): Doc fix.
14809 (display-warning): Don't try to create the buffer if we just found it.
14810
14811 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
14812
14813 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14814 (autoload-find-generated-file): New function.
14815 (generate-file-autoloads): Bind generated-autoload-file to
14816 buffer-file-name.
14817 (update-file-autoloads, update-directory-autoloads):
14818 Use autoload-find-generated-file. If called interactively, prompt for
14819 output file (Bug#7989).
14820 (batch-update-autoloads): Doc fix.
14821
14822 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
14823
14824 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14825
14826 2011-05-04 Glenn Morris <rgm@gnu.org>
14827
14828 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14829 function, so it follows changes in calendar-date-style.
14830 (diary-fancy-date-matcher): New function.
14831 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14832 (diary-fancy-font-lock-fontify-region-function):
14833 Use diary-fancy-date-pattern as a function.
14834
14835 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14836 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14837
14838 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14839
14840 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14841 instead of positional arguments. Allow :keylist and :crlfiles
14842 arguments.
14843 (open-gnutls-stream): Call it.
14844
14845 * net/network-stream.el (network-stream-open-starttls): Adjust to
14846 call `gnutls-negotiate' with :process and :hostname arguments.
14847
14848 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14849
14850 * minibuffer.el (completion--message): New function.
14851 (completion--do-completion, minibuffer-complete)
14852 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14853 (completion--do-completion): Don't ignore completion-auto-help when in
14854 icomplete-mode.
14855
14856 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14857 internal encoding (e.g. tibetan zero is not whitespace).
14858 (global-whitespace-mode): Prefer save-current-buffer.
14859 (whitespace-trailing-regexp): Remove useless save-match-data.
14860 (whitespace-empty-at-bob-regexp): Minor simplification.
14861
14862 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
14863
14864 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14865
14866 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14867
14868 * textmodes/ispell.el (ispell-add-per-file-word-list):
14869 Use `concat' to create string for insertion.
14870
14871 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14872
14873 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14874 Avoid open-line which runs post-self-insert-hook.
14875 (bibtex-fill-entry): Remove unused `end' var.
14876
14877 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14878
14879 * textmodes/ispell.el (ispell-add-per-file-word-list):
14880 Protect against `nil' value of `comment-start' (Bug#8579).
14881
14882 2011-05-03 Leo Liu <sdl.web@gmail.com>
14883
14884 * isearch.el (isearch-yank-pop): New command.
14885 (isearch-mode-map): Bind it to `M-y'.
14886 (isearch-forward): Mention it.
14887
14888 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14889
14890 * simple.el (minibuffer-complete-shell-command): Remove.
14891 (minibuffer-local-shell-command-map): Use completion-at-point.
14892 (read-shell-command): Setup completion vars here instead.
14893 (read-expression-map): Bind TAB to symbol completion.
14894
14895 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14896 error directly rather via storing it into `results'.
14897
14898 2011-05-02 Leo Liu <sdl.web@gmail.com>
14899
14900 * vc/diff.el: Fix description.
14901
14902 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14903
14904 * server.el (server-eval-at): New function.
14905
14906 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14907
14908 * net/network-stream.el (open-network-stream): Take a :nowait
14909 parameter and pass it on to `make-network-process'.
14910 (network-stream-open-plain): Ditto.
14911
14912 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14913
14914 * faces.el (face-spec-set-match-display): Don't match toolkit
14915 options on terminal frames.
14916
14917 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14918
14919 * progmodes/pascal.el: Use lexical binding.
14920 (pascal-mode-map): Remove author preferences.
14921
14922 * pcomplete.el (pcomplete-std-complete): Don't abuse
14923 completion-at-point.
14924
14925 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14926
14927 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14928 removing code that has been dead since 1991 or so.
14929
14930 * startup.el (command-line): When warning about "_emacs", use a
14931 delayed warning to allow the user to filter it out.
14932
14933 2011-04-28 Deniz Dogan <deniz@dogan.se>
14934
14935 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14936 user has not joined.
14937
14938 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14939
14940 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14941 aren't any completions at point.
14942
14943 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14944
14945 * subr.el (display-delayed-warnings): New function.
14946 (delayed-warnings-hook): New variable.
14947
14948 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14949
14950 * minibuffer.el (completion-at-point, completion-help-at-point):
14951 Don't presume that a given completion-at-point-function will always
14952 use the same calling convention.
14953
14954 * pcomplete.el (pcomplete-completions-at-point):
14955 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14956 pcomplete-seen is non-nil.
14957 (pcomplete-comint-setup): Also recognize the new comint/shell
14958 completion functions.
14959 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14960 pcomplete-seen is non-nil.
14961
14962 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14963
14964 * calendar/icalendar.el (diary-lib): Add require statement.
14965 (icalendar--create-uid): Read out a uid from a text-property on
14966 the first character in the entry. This allows for code to add its
14967 own uid to the entry.
14968 (icalendar--convert-float-to-ical): Add export of
14969 `diary-float'-entries save for those with the optional DAY
14970 argument.
14971
14972 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14973
14974 * subr.el (shell-quote-argument): Use alternate escaping strategy
14975 when we spot a variable reference in a string.
14976
14977 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14978
14979 * cus-start.el (all): Define customization for debug-on-event.
14980
14981 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14982
14983 * subr.el (shell-quote-argument): Escape correctly under Windows.
14984
14985 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14986
14987 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14988
14989 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14990
14991 * net/tramp.el (tramp-process-actions): Add POS argument.
14992 Delete region between POS and (pos).
14993
14994 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14995 Use `nil' position in `tramp-process-actions' call.
14996 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14997
14998 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14999 position in `tramp-process-actions' call.
15000
15001 * net/trampver.el: Update release number.
15002
15003 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15004
15005 * custom.el (defcustom): Obey lexical-binding.
15006
15007 Fix octave-inf completion problems reported by Alexander Klimov.
15008 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15009 Inherit from octave-mode-syntax-table.
15010 (inferior-octave-mode): Set info-lookup-mode.
15011 (inferior-octave-completion-at-point): New function.
15012 (inferior-octave-complete): Use it and completion-in-region.
15013 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15014 comint-filename-completion.
15015 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15016 symbol elements which shouldn't be word elements.
15017 (octave-font-lock-keywords, octave-beginning-of-defun)
15018 (octave-function-header-regexp): Adjust regexps accordingly.
15019 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15020
15021 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15022
15023 * net/gnutls.el (gnutls-errorp): Declare before first use.
15024
15025 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15026
15027 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15028 verify-error, and verify-hostname-error parameters. Check whether
15029 default trustfile exists before going to use it. Add missing
15030 argument to gnutls-message-maybe call. Return value.
15031 Reported by Claudio Bley <claudio.bley@gmail.com>.
15032 (open-gnutls-stream): Add usage example.
15033
15034 * net/network-stream.el (network-stream-open-starttls): Give host
15035 parameter to `gnutls-negotiate'.
15036 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15037 * subr.el (shell-quote-argument): Escape correctly under Windows.
15038
15039 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15040
15041 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15042 Use correct match group (bug#8438).
15043
15044 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15045
15046 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15047 (package-menu--generate): New arg specifying packages to show.
15048 (package-menu-refresh, package-menu-execute, list-packages):
15049 Callers changed.
15050 (package-show-package-list): New function, replacing deleted
15051 package--list-packages (renamed because it is non-internal).
15052
15053 * finder.el (finder-list-matches): Use package-show-package-list
15054 instead of deleted package--list-packages.
15055
15056 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15057 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15058 (vc-annotate-mode-map): Bind it to RET.
15059
15060 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15061
15062 * progmodes/etags.el (next-file): Don't use set-buffer to change
15063 buffers (Bug#8478).
15064
15065 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15066
15067 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15068
15069 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15070 (apropos-accumulator): Doc fix.
15071 (apropos-function, apropos-macro, apropos-command)
15072 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15073 (apropos-plist): Add face property.
15074 (apropos-symbols-internal): Fix indentation.
15075 (apropos-print): Simplify help, and recognize apropos-multi-type.
15076 (apropos-print-doc): Use button-type-get to extract the button's
15077 face property. Fill docstring (Bug#8352).
15078
15079 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15080
15081 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15082
15083 * play/mpuz.el (mpuz-silent): Doc fix.
15084 (mpuz-mode-map): Use mapc.
15085 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15086 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15087 Fix typos in docstrings.
15088
15089 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15090 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15091
15092 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15093
15094 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15095
15096 * minibuffer.el (completion--do-completion): Avoid the "Next char
15097 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15098
15099 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15100 mouse-2 into unread-command-events, it is interpreted correctly.
15101
15102 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15103 (image-toggle-display): Doc fix.
15104
15105 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15106
15107 * textmodes/page.el (what-page): Use line-number-at-pos to
15108 calculate line number (Bug#6825).
15109
15110 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15111
15112 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15113 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15114 Pass argument NO-DEFAULT to `find-tag-interactive'.
15115
15116 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15117
15118 Lexical-binding cleanup.
15119
15120 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15121 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15122 * progmodes/ada-prj.el (ada-prj-initialize-values)
15123 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15124 (ada-prj-show-value):
15125 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15126 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15127 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15128 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15129 * progmodes/bug-reference.el (bug-reference-push-button):
15130 * progmodes/fortran.el (fortran-line-length):
15131 * progmodes/glasses.el (glasses-change):
15132 * progmodes/octave-mod.el (octave-fill-paragraph):
15133 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15134 (python-pdbtrack-grub-for-buffer, python-sentinel):
15135 * progmodes/sql.el (sql-save-connection):
15136 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15137 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15138 Mark unused parameters.
15139
15140 * progmodes/compile.el (compilation--flush-directory-cache)
15141 (compilation--flush-parse, compile-internal): Mark unused parameters.
15142 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15143 (compilation-next-error-function): Remove unused variable `timestamp'.
15144
15145 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15146 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15147
15148 * progmodes/dcl-mode.el (dcl-end-of-command):
15149 Remove unused variable `start'.
15150 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15151 (dcl-option-value-basic, dcl-option-value-offset)
15152 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15153 Mark unused parameters.
15154 (dcl-save-local-variable): Remove unused variable `val'.
15155 (mode): Declare.
15156
15157 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15158 Mark unused parameters.
15159 (delphi-ignore-changes): Move before first use.
15160 (delphi-charset-token-at): Remove unused variable `start'.
15161 (delphi-else-start): Remove unused variable `if-count'.
15162 (delphi-comment-block-start, delphi-comment-block-end):
15163 Remove unused variable `kind'.
15164 (delphi-indent-line): Remove unused variable `new-point'.
15165
15166 * progmodes/ebrowse.el (ebrowse-files-list)
15167 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15168 Mark unused parameters. Don't quote `lambda'.
15169 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15170 Don't quote `lambda'.
15171 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15172 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15173 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15174 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15175 Use `ignore-errors'.
15176 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15177 (ebrowse-view/find-file-and-search-pattern)
15178 (ebrowse-view/find-member-declaration/definition):
15179 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15180 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15181 Rename parameter PREFIX-ARG to PREFIX.
15182 (ebrowse-tags-read-name): Remove unused variables `start' and
15183 `member-info'.
15184 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15185 to `tags-file'.
15186
15187 * progmodes/etags.el (local-find-tag-hook): Declare.
15188 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15189 Mark unused parameters.
15190
15191 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15192 (executable-interpret): Mark unused parameter.
15193
15194 * progmodes/flymake.el (flymake-process-sentinel)
15195 (flymake-after-change-function)
15196 (flymake-create-temp-with-folder-structure)
15197 (flymake-get-include-dirs-dot): Mark unused parameters.
15198 (flymake-safe-delete-directory): Remove unused variable `err'.
15199
15200 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15201 (speedbar-timer-fn, speedbar-line-text)
15202 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15203 (speedbar-center-buffer-smartly): Declare functions.
15204 (gdb-find-watch-expression): Remove unused variable `array'.
15205 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15206 (gdb-starting): Mark unused parameters.
15207 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15208 (gdb-table-string): Remove unused variable `res'.
15209 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15210 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15211 (gdb-display-buffer): Remove unused variable `cur-size'.
15212
15213 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15214 allow lexical-binding compilation.
15215 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15216 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15217 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15218 Mark unused parameters.
15219 (gud-gdb-marker-filter): Remove unused variable `match'.
15220 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15221 lambda expressions and funcall them, instead of using `fset'.
15222
15223 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15224 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15225
15226 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15227 variable `header-beg'; use `let'.
15228
15229 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15230 `restart', `last-sexp' and `at-do'.
15231
15232 * progmodes/js.el (js--debug): Mark unused parameter.
15233 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15234 (js--splice-into-items): Remove unused variable `item'.
15235 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15236
15237 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15238 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15239 (makefile-complete): Remove unused variable `try'.
15240 (makefile-fill-paragraph, makefile-match-function-end):
15241 Mark unused parameters.
15242
15243 * progmodes/octave-inf.el (inferior-octave-complete):
15244 Remove unused variable `proc'.
15245 (inferior-octave-output-digest): Mark unused parameter.
15246
15247 * progmodes/perl-mode.el (perl-calculate-indent):
15248 Remove unused variable `err'.
15249
15250 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15251 (prolog-indent-line): Mark unused parameters.
15252 (prolog-indent-line): Remove unused variable `beg'.
15253
15254 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15255 (reporter-dont-compact-list): Declare.
15256
15257 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15258 Remove unused variable `char'.
15259 (sh-debug): Mark unused parameter.
15260 (sh-get-indent-info): Remove unused variable `start'.
15261 (sh-calculate-indent): Remove unused variable `var'.
15262
15263 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15264 (simula-electric-keyword): Remove unused variable `null'.
15265 (simula-search-backward, simula-search-forward): Remove unused
15266 variables `begin' and `end'.
15267
15268 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15269 Remove unused variable `pos'.
15270 (vera-electric-tab, vera-comment-uncomment-region):
15271 Mark unused parameters.
15272 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15273
15274 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15275
15276 * emacs-lisp/package.el (package--builtins, package-alist)
15277 (package-load-descriptor, package-built-in-p, package-activate)
15278 (define-package, package-installed-p)
15279 (package-compute-transaction, package-buffer-info)
15280 (package--push): Doc fix. Distinguish more clearly between
15281 version strings and version lists.
15282
15283 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15284
15285 Lexical-binding cleanup.
15286
15287 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15288 (5x5-make-mutate-best):
15289 * play/fortune.el (fortune-in-buffer):
15290 * play/gomoku.el (gomoku-init-display):
15291 * play/solitaire.el (solitaire, solitaire-do-check):
15292 * play/tetris.el (tetris-default-update-speed-function):
15293 Mark unused parameters.
15294
15295 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15296 (bubbles--shift): Remove unused variable `char-org'.
15297 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15298 (bubbles--show-images): Remove unused variable `char'.
15299
15300 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15301 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15302 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15303 (decipher-analyze-buffer): Use ?\s.
15304 (decipher-make-checkpoint): Remove unused variable `mapping'.
15305
15306 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15307
15308 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15309 Remove unused variable `result'; use `let'.
15310
15311 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15312 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15313 (gametree-children-shown-p, gametree-compute-reduced-score):
15314 Use `ignore-errors'.
15315
15316 * play/handwrite.el (ps-lpr-switches): Declare.
15317 (handwrite): Remove unused variables `pmin' and `lastp'.
15318
15319 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15320
15321 * play/landmark.el (landmark-init-display)
15322 (landmark-update-naught-weights): Mark unused parameters.
15323 (landmark-y): Remove unused variable `noise'. Simplify.
15324 (landmark-human-plays): Remove unused variable `score'.
15325
15326 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15327 (mpuz-try-proposal): Remove unused variable `game'.
15328
15329 * play/zone.el (life-patterns): Declare.
15330
15331 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15332
15333 * vc/vc.el (ediff-vc-internal): Declare function.
15334
15335 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15336
15337 * shell.el: Use lexical-binding and std completion UI.
15338 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15339 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15340 comint-preoutput-filter-functions rather than on
15341 comint-output-filter-functions.
15342 (shell-command-completion, shell--command-completion-data)
15343 (shell-filename-completion, shell-environment-variable-completion)
15344 (shell-c-a-p-replace-by-expanded-directory): New functions.
15345 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15346 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15347 (shell-dynamic-complete-environment-variable): Use them.
15348 (shell-dynamic-complete-as-environment-variable)
15349 (shell-dynamic-complete-as-command): Remove.
15350 (shell-match-partial-variable): Match past point.
15351 * comint.el: Clean up use of completion-at-point-functions.
15352 (comint-completion-at-point): New function.
15353 (comint-mode): Use it completion-at-point-functions.
15354 (comint-dynamic-complete): Make it obsolete.
15355 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15356 (comint-c-a-p-replace-by-expanded-history): New function.
15357 (comint-dynamic-complete-functions)
15358 (comint-replace-by-expanded-history): Use it.
15359 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15360 termination strings. Try harder to avoid second try-completion.
15361 (completion-in-region-mode-map): Disable bindings that don't work yet.
15362
15363 * comint.el: Use lexical-binding. Require CL.
15364 (comint-dynamic-complete-functions): Use comint-filename-completion.
15365 (comint-completion-addsuffix): Tweak custom type.
15366 (comint-filename-completion, comint--common-suffix)
15367 (comint--common-quoted-suffix, comint--table-subvert)
15368 (comint--complete-file-name-data): New functions.
15369 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15370 (comint-dynamic-list-filename-completions): Use them.
15371 (comint-dynamic-simple-complete): Make obsolete.
15372
15373 * minibuffer.el (completion-in-region-mode):
15374 Keep completion-in-region-mode--predicate global.
15375 (completion-in-region--postch):
15376 Assume completion-in-region-mode--predicate is not null.
15377
15378 * progmodes/flymake.el (flymake-start-syntax-check-process):
15379 Obey `dir'. Simplify.
15380
15381 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15382 we're in VC after all.
15383
15384 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15385
15386 * vc/vc.el (vc-diff-build-argument-list-internal)
15387 (vc-version-ediff, vc-ediff): New commands.
15388 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15389
15390 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15391
15392 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15393 add sanity check.
15394
15395 * obsolete/erc-hecomplete.el: Make obsolete.
15396 * obsolete/: Standardize obsolescence info in the header.
15397
15398 2011-04-20 Glenn Morris <rgm@gnu.org>
15399
15400 * calendar/solar.el (solar-horizontal-coordinates):
15401 Use the longitude argument rather than `calendar-longitude'.
15402 (solar-date-next-longitude): Remove unused locals.
15403
15404 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15405
15406 * whitespace.el: New version 13.2.1.
15407
15408 2011-04-20 felix <EmacsWiki> (tiny change)
15409
15410 * whitespace.el (global-whitespace-mode): Keep highlight when
15411 switching between major modes on a file.
15412
15413 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15414
15415 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15416 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15417 multi-line comments as well.
15418
15419 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15420
15421 Lexical-binding cleanup.
15422
15423 * arc-mode.el (archive-mode-revert):
15424 * cmuscheme.el (scheme-interactively-start-process):
15425 * custom.el (custom-initialize-delay):
15426 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15427 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15428 * emacs-lock.el (emacs-lock-clear-sentinel):
15429 * ezimage.el (defezimage):
15430 * follow.el (follow-avoid-tail-recenter):
15431 * fringe.el (set-fringe-mode-1):
15432 * generic-x.el (bat-generic-mode-compile):
15433 * help-mode.el (help-info-variable, help-do-xref)
15434 (help-mode-revert-buffer):
15435 * help.el (view-emacs-todo):
15436 * iswitchb.el (iswitchb-completion-help):
15437 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15438 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15439 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15440 * locate.el (locate-update):
15441 * longlines.el (longlines-encode-region)
15442 (longlines-after-change-function):
15443 * outline.el (outline-isearch-open-invisible):
15444 * ps-def.el (declare-function, charset-dimension, char-width)
15445 (encode-char):
15446 * ps-mule.el (ps-mule-plot-string):
15447 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15448 (recentf-edit-list-select, recentf-edit-list-validate)
15449 (recentf-open-files-action):
15450 * rect.el (delete-whitespace-rectangle-line)
15451 (rectangle-number-line-callback):
15452 * register.el (window-configuration-to-register)
15453 (frame-configuration-to-register):
15454 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15455 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15456 (xselect-convert-to-targets, xselect-convert-to-delete)
15457 (xselect-convert-to-filename, xselect-convert-to-charpos)
15458 (xselect-convert-to-lineno, xselect-convert-to-colno)
15459 (xselect-convert-to-os, xselect-convert-to-host)
15460 (xselect-convert-to-user, xselect-convert-to-class)
15461 (xselect-convert-to-name, xselect-convert-to-integer)
15462 (xselect-convert-to-atom, xselect-convert-to-identity):
15463 * subr.el (declare, ignore, process-kill-without-query)
15464 (text-clone-maintain):
15465 * terminal.el (te-get-char, te-tic-sentinel):
15466 * tool-bar.el (tool-bar-make-keymap):
15467 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15468 * type-break.el (type-break-mode, type-break-noninteractive-query):
15469 * view.el (View-back-to-mark):
15470 * wid-browse.el (widget-browse-action, widget-browse-widget)
15471 (widget-browse-widgets, widget-browse-sexp):
15472 * widget.el (define-widget-keywords):
15473 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15474 Mark unused parameters.
15475
15476 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15477 (align-areas): Remove unused variable `look'.
15478 (align-region): Remove unused variables `real-end' and `pos-list'.
15479
15480 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15481
15482 * bindings.el (mode-line-modified, mode-line-remote):
15483 Mark unused parameters.
15484 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15485
15486 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15487 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15488
15489 * comint.el (comint-history-isearch-pop-state)
15490 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15491 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15492 (comint-substitute-in-file-name): Doc fix.
15493
15494 * completion.el (cmpl-statistics-block): Mark unused parameter.
15495 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15496 (save-completions-to-file, load-completions-from-file):
15497 Remove unused local variable `e'.
15498
15499 * composite.el (compose-chars): Remove unused variable `len'.
15500 (lgstring-insert-glyph): Remove unused variable `g'.
15501 (compose-glyph-string): Remove unused variables `ascent',
15502 `descent', `lbearing' and `rbearing'.
15503 (compose-glyph-string-relative): Remove unused variables
15504 `lbearing', `rbearing' and `wadjust'.
15505 (compose-gstring-for-graphic): Remove unused variables `header',
15506 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15507 (compose-gstring-for-terminal): Remove unused variables `header'
15508 and `nchars'. Use `let', not `let*'.
15509
15510 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15511 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15512 (Custom-buffer-done, custom-buffer-create-internal)
15513 (custom-browse-visibility-action, custom-browse-group-tag-action)
15514 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15515 (widget-magic-mouse-down-action, custom-toggle-parent)
15516 (custom-add-parent-links, custom-toggle-hide-variable)
15517 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15518 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15519 (custom-face-menu-create, custom-variable-menu-create, get)
15520 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15521 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15522 (customize-apropos): Remove unused variable `tests'.
15523 (custom-group-value-create): Remove unused variable `hidden-p'.
15524 (sort-fold-case): Declare.
15525
15526 * cus-theme.el (custom-reset-standard-faces-list)
15527 (custom-reset-standard-variables-list): Declare.
15528 (customize-create-theme, custom-theme-revert, custom-theme-write)
15529 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15530 Mark unused parameters.
15531
15532 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15533
15534 * delim-col.el (delimit-columns-max): Move defvar before first use.
15535
15536 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15537 (describe-char): Don't quote `lambda'. Mark unused parameter.
15538
15539 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15540 (auto-insert): Declare.
15541 (desktop-restore-file-buffer): Rename desktop-* parameters;
15542 mark unused ones.
15543 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15544 (desktop-buffer): Rename desktop-* parameters.
15545
15546 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15547 (dframe-reposition-frame-xemacs, dframe-help-echo)
15548 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15549 Mark unused parameters.
15550
15551 * dired-aux.el (backup-extract-version-start, overwrite-query)
15552 (overwrite-backup-query, rename-regexp-query)
15553 (rename-non-directory-query): Declare.
15554 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15555 (dired-add-entry): Remove unused variable `orig-file-name'.
15556 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15557 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15558 `dired-copy-preserve-time' directly.
15559 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15560 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15561
15562 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15563 (dired-virtual-revert, dired-make-relative-symlink):
15564 Mark unused parameters.
15565 (manual-program): Declare.
15566 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15567 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15568 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15569
15570 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15571
15572 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15573
15574 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15575 Declare.
15576
15577 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15578
15579 * electric.el (Electric-command-loop): Rename parameter
15580 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15581
15582 * expand.el (expand-in-literal): Remove unused variable `here'.
15583
15584 * facemenu.el (facemenu-add-new-color):
15585 Remove unused variable `docstring'.
15586
15587 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15588 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15589 (face-attr-construct): Mark unused parameter. Doc fix.
15590 (read-color): Remove unused variable `hex-string'.
15591
15592 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15593 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15594 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15595 (display-buffer-other-frame): Remove unused variable `old-window'.
15596 (kill-buffer-hook): Declare.
15597 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15598 Mark unused parameters.
15599 (after-find-file): Pass 1 to `auto-save-mode', not t.
15600
15601 * files-x.el (auto-insert): Declare.
15602 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15603
15604 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15605 variable `buf'. Mark unused parameter.
15606 (find-lisp-insert-directory): Mark unused parameter.
15607
15608 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15609 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15610 (format-common-tail): Remove, unused.
15611 (format-deannotate-region): Remove unused variable `loc'.
15612 (format-annotate-region): Remove unused variable `p'.
15613 (format-annotate-single-property-change): Remove unused variables
15614 `default' and `tail'.
15615
15616 * forms.el (read-file-filter): Declare.
15617 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15618
15619 * frame.el (frame-creation-function-alist): Mark unused parameter.
15620 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15621
15622 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15623 Remove unused parameters.
15624 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15625 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15626
15627 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15628 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15629 (hfy-prepare-tag-map): Mark unused parameters.
15630 (htmlfontify-buffer): Use `called-interactively-p'.
15631
15632 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15633 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15634 (ibuffer-do-occur): Mark unused parameters.
15635 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15636 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15637
15638 * ibuffer.el: Don't quote `lambda'.
15639 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15640 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15641 Mark unused parameters.
15642
15643 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15644 (ido-completing-read): Mark unused parameters.
15645 (ido-copy-current-word): Mark unused parameters;
15646 remove unused variable `name'.
15647 (ido-sort-merged-list): Remove unused parameter `dirs'.
15648
15649 * ielm.el (ielm-input-sender): Mark unused parameter.
15650 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15651 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15652 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15653 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15654 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15655
15656 * image-dired.el (image-dired-display-thumbs): Remove unused
15657 variables `curr-file' and `count'.
15658 (image-dired-remove-tag): Remove unused variable `start'.
15659 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15660 variable `curr-file'
15661 (image-dired-rotate-original): Remove unused variable `temp-file'.
15662 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15663 Remove unused variable `file'.
15664 (image-dired-gallery-generate): Remove unused variable `curr'.
15665 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15666
15667 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15668
15669 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15670
15671 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15672
15673 * isearch.el (minibuffer-history-symbol): Declare.
15674 (isearch-edit-string): Remove unused variable `err'.
15675 (isearch-message-prefix, isearch-message-suffix):
15676 Mark unused parameters.
15677
15678 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15679
15680 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15681
15682 * makesum.el (double-column): Remove unused variable `cnt'.
15683
15684 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15685 (ido-ignore-item-temp-list): Declare.
15686
15687 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15688 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15689 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15690 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15691 `mouse-col-delta'.
15692
15693 * mouse-sel.el (mouse-extend-internal):
15694 Remove unused variable `orig-window-frame'.
15695
15696 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15697 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15698 Move declarations before first use.
15699 (pcomplete-opt): Mark unused parameters; doc fix.
15700
15701 * proced.el (proced-revert): Mark unused parameter.
15702 (proced-send-signal): Remove unused variable `err'.
15703
15704 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15705 Rename parameter PREFIX-ARG to ARG.
15706 (ps-basic-plot-string, ps-basic-plot-whitespace):
15707 Mark unused parameters.
15708
15709 * replace.el (replace-count): Define.
15710 (occur-revert-function): Mark unused parameters.
15711 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15712 (isearch-case-fold-search, isearch-string): Declare.
15713 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15714 bind `case-fold-search'. Remove unused variables `beg' and `end',
15715 and simplify.
15716 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15717 COUNT and bind `replace-count'.
15718 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15719 to COUNT.
15720
15721 * savehist.el (print-readably, print-string-length): Declare.
15722
15723 * shadowfile.el (shadow-expand-cluster-in-file-name):
15724 Remove unused variable `cluster'.
15725 (shadow-copy-file): Remove unused variable `i'.
15726 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15727 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15728 (shadow-define-literal-group, shadow-define-regexp-group)
15729 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15730
15731 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15732 (shell): Use `called-interactively-p'.
15733 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15734
15735 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15736 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15737 (delete-backward-char): Remove unused variable `ocol'.
15738 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15739 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15740 (event-apply-hyper-modifier, event-apply-shift-modifier)
15741 (event-apply-control-modifier, event-apply-meta-modifier):
15742 Mark unused parameters.
15743 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15744 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15745
15746 * speedbar.el (speedbar-ignored-directory-expressions)
15747 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15748 (speedbar-find-file, speedbar-dir-follow)
15749 (speedbar-directory-buttons-follow, speedbar-tag-find)
15750 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15751 (speedbar-buffers-line-directory, speedbar-buffer-click):
15752 Mark unused parameters.
15753 (speedbar-tag-file): Remove unused variable `mode'.
15754 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15755
15756 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15757
15758 * talk.el (talk): Remove unused variable `display'.
15759
15760 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15761 (tar-write-region-annotate): Mark unused parameter.
15762
15763 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15764 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15765 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15766 warning by another.
15767
15768 * time-stamp.el (time-stamp-string-preprocess):
15769 Remove unused variable `require-padding'.
15770
15771 * tree-widget.el (widget-glyph-enable): Declare.
15772 (tree-widget-action): Mark unused parameter.
15773
15774 * w32-fns.el (x-get-selection): Mark unused parameter.
15775 (autoload-make-program, generated-autoload-file): Declare.
15776
15777 * wdired.el (wdired-revert): Mark unused parameters.
15778 (wdired-xcase-word): Remove unused variable `err'.
15779
15780 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15781 (whitespace-help-scroll): Remove unused variable `data-help'.
15782
15783 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15784 (widget-image-insert, widget-after-change, default)
15785 (widget-default-format-handler, widget-default-notify)
15786 (widget-default-prompt-value, widget-info-link-action)
15787 (widget-url-link-action, widget-function-link-action)
15788 (widget-variable-link-action, widget-file-link-action)
15789 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15790 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15791 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15792 (widget-insert-button-action, widget-delete-button-action, visibility)
15793 (widget-documentation-link-action, widget-documentation-string-action)
15794 (widget-const-prompt-value, widget-regexp-match, symbol)
15795 (widget-coding-system-prompt-value)
15796 (widget-key-sequence-value-to-external, sexp)
15797 (widget-sexp-value-to-internal, character, vector, cons)
15798 (widget-choice-prompt-value, widget-boolean-prompt-value)
15799 (widget-color--choose-action): Mark unused parameters.
15800 (widget-item-match-inline, widget-choice-match-inline)
15801 (widget-checklist-match, widget-checklist-match-inline)
15802 (widget-group-match): Rename parameter VALUES to VALS.
15803 (widget-field-value-set): Remove unused variable `size'.
15804 (widget-color-action): Remove unused variables `value' and `start'.
15805
15806 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15807 variable `dir'. Doc fix.
15808 (windmove-find-other-window): Don't pass it.
15809
15810 * window.el (count-windows): Mark unused parameter.
15811 (bw-adjust-window): Remove unused variable `err'.
15812
15813 * woman.el (woman-file-name): Remove unused variable `default'.
15814 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15815 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15816 (global-font-lock-mode): Declare.
15817 (woman-decode-region): Mark unused parameter.
15818 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15819
15820 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15821 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15822 (x-dnd-handle-moz-url): Remove unused variable `title'.
15823 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15824
15825 * xml.el (xml-parse-tag, xml-parse-attlist):
15826 Remove unused variable `pos'.
15827
15828 2011-04-19 Glenn Morris <rgm@gnu.org>
15829
15830 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15831 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15832 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15833 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15834 * calendar/cal-html.el (cal-html-insert-minical):
15835 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15836 (calendar-mark-date-pattern):
15837 Prefix "unused" locals.
15838
15839 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15840 optional argument `style'.
15841
15842 * calendar/appt.el (appt-make-list):
15843 * calendar/cal-china.el (calendar-chinese-date-string):
15844 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15845 (diary-hebrew-yahrzeit):
15846 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15847 * calendar/calendar.el (calendar-generate-window):
15848 * calendar/time-date.el (time-to-days):
15849 Remove unused local variables.
15850
15851 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
15852
15853 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15854 glyphless-char-display table.
15855 (tabulated-list-glyphless-char-display): New var.
15856
15857 2011-04-18 Sam Steingold <sds@gnu.org>
15858
15859 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15860 to acknowledgments.
15861
15862 2011-04-17 Glenn Morris <rgm@gnu.org>
15863
15864 * calendar/diary-lib.el (diary-sexp-entry):
15865 * calendar/holidays.el (holiday-sexp):
15866 Set debug-on-error rather than the removed stack-trace-on-error.
15867
15868 2011-04-16 Glenn Morris <rgm@gnu.org>
15869
15870 * progmodes/f90.el: Use lexical-binding.
15871 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15872
15873 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15876 (mail-mode): Setup mailalias completion here instead.
15877 * mail/mailalias.el: Use lexical-binding.
15878 (pattern, mailalias-done): Declare dynamic.
15879 (mail-completion-at-point-function): New function, from mail-complete.
15880 (mail-complete): Use it.
15881 (mail-completion-expand): New function.
15882 (mail-get-names): Use it.
15883 (mail-directory, mail-directory-process, mail-directory-stream):
15884 Don't use `pattern' for lexically bound arg.
15885
15886 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15887
15888 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15889 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15890 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15891
15892 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15893 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15894 (byte-interactive-p): Define them again, for use when inlining
15895 old code.
15896
15897 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
15898
15899 * loadup.el: Use `string-to-number', not `string-to-int'.
15900
15901 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15902
15903 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15904 gud-gdb-complete-command.
15905 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15906 (gud-gdb-completion-at-point): New function.
15907 (gud-gdb-completions): Remove.
15908
15909 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
15910
15911 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15912 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15913 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15914 whether `executable-find' is bound.
15915
15916 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15917
15918 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15919
15920 * minibuffer.el (completion-in-region-mode-predicate)
15921 (completion-in-region-mode--predicate): New vars.
15922 (completion-in-region, completion-in-region--postch)
15923 (completion-in-region-mode): Use them.
15924 (completion--capf-wrapper): Also return the hook function.
15925 (completion-at-point, completion-help-at-point):
15926 Adjust and provide a predicate.
15927
15928 Preserve arg names for advice of subr and lexical functions (bug#8457).
15929 * help-fns.el (help-function-arglist): Consolidate the subr and
15930 new-byte-code cases. Add argument `preserve-names' to extract names
15931 from the docstring when needed.
15932 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15933 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15934 (ad-arglist): Use help-function-arglist's new arg.
15935 (ad-definition-type): Use cond.
15936
15937 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15938
15939 * autorevert.el (auto-revert-handler):
15940 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15941 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15942 Don't quote lambda.
15943
15944 * image-mode.el (image-transform-set-scale):
15945 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15946
15947 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15948
15949 * net/network-stream.el (network-stream-open-starttls): Only do
15950 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15951 Upgrades via gnutls-cli are too slow to be done opportunistically.
15952
15953 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15954
15955 * dframe.el (dframe-current-frame): Remove spurious quote.
15956
15957 2011-04-12 Glenn Morris <rgm@gnu.org>
15958
15959 * calendar/cal-tex.el (cal-tex-end-document):
15960 Try to automatically use latin1 input if needed.
15961
15962 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15963 Don't try to cons a mark onto an empty element.
15964
15965 2011-04-11 Leo Liu <sdl.web@gmail.com>
15966
15967 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15968 buffers.
15969 (ido-kill-buffer-at-head): Support killing virtual buffers.
15970
15971 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15972
15973 * minibuffer.el (completion-show-inline-help): New var.
15974 (completion--do-completion, minibuffer-complete)
15975 (minibuffer-force-complete, minibuffer-complete-word):
15976 Inhibit minibuffer messages if completion-show-inline-help is nil.
15977
15978 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15979 to avoid interference from inline help (Bug#5849).
15980
15981 2011-04-10 Leo Liu <sdl.web@gmail.com>
15982
15983 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15984 Fix typo.
15985
15986 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15987
15988 * image-mode.el (image-toggle-display-image): Signal an error if
15989 not in Image mode.
15990 (image-transform-mode, image-transform-resize)
15991 (image-transform-set-rotation): Doc fix.
15992 (image-transform-set-resize): Delete.
15993 (image-transform-set-scale, image-transform-fit-to-height)
15994 (image-transform-fit-to-width): Handle image-toggle-display-image
15995 and image-transform-resize directly.
15996
15997 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15998
15999 * doc-view.el (doc-view-fit-width-to-window)
16000 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16001 New functions for fitting the shown image to the Emacs window size.
16002 (doc-view-mode-map): Add bindings for the new functions.
16003
16004 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16005
16006 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16007 Fix typo in docstring.
16008
16009 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16010
16011 * files.el (file-size-human-readable): Produce one digit after
16012 decimal, like "ls -lh" does.
16013
16014 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16015 the file size representation.
16016
16017 * simple.el (list-processes): If async subprocesses are not
16018 available, error out with a clear error message.
16019
16020 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16021
16022 * help.el (help-form-show): New function, to be called from C.
16023 Put help-form output in a buffer named differently than *Help*.
16024
16025 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16026
16027 * files.el (file-size-human-readable): New function.
16028
16029 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16030 computing the representation inline. Don't require `cl'.
16031
16032 2011-04-08 Glenn Morris <rgm@gnu.org>
16033
16034 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16035
16036 * net/browse-url.el (browse-url-firefox):
16037 Test system-type, not system-configuration.
16038
16039 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16040 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16041 Use log-edit-empty-buffer-p. (Bug#7598)
16042
16043 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16044 (rlogin-mode-map): Initialize in the defvar.
16045 (rlogin): Use ignore-errors.
16046
16047 * replace.el (occur-mode-map): Some fixes for menu items.
16048
16049 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16050
16051 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16052
16053 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16054
16055 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16056 issuing unused warnings.
16057
16058 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16059 macro directly.
16060
16061 * simple.el: Lisp reimplement of list-processes. Based on an
16062 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16063 (process-menu-mode): New major mode.
16064 (list-processes--refresh, list-processes):
16065 (process-menu-visit-buffer): New functions.
16066
16067 * files.el (save-buffers-kill-emacs): Don't assume any return
16068 value of list-processes, which is undocumented anyway.
16069
16070 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16071
16072 * emacs-lisp/tabulated-list.el: New file.
16073
16074 * emacs-lisp/package.el: Use Tabulated List mode.
16075 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16076 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16077 table format using Tabulated List mode variables.
16078 (package--push): New macro, replacing package-list-maybe-add.
16079 (package-menu--generate): Use package--push. Renamed from
16080 package--generate-package-list.
16081 (package-menu-refresh, list-packages): Use it.
16082 (package-menu--print-info): Rename from package-print-package.
16083 Return insertion data instead of inserting it directly.
16084 (package-menu-describe-package, package-menu-execute):
16085 Use tabulated-list-get-id.
16086 (package-menu-mark-delete, package-menu-mark-install)
16087 (package-menu-mark-unmark, package-menu-backup-unmark)
16088 (package-menu-mark-obsolete-for-deletion):
16089 Use tabulated-list-put-tag.
16090 (package--list-packages, package-menu-revert)
16091 (package-menu-get-package, package-menu-get-version)
16092 (package-menu-sort-by-column): Functions deleted.
16093 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16094 (package-menu--status-predicate, package-menu--version-predicate)
16095 (package-menu--name-predicate)
16096 (package-menu--description-predicate): Handle arguments in the
16097 Tabulated List format.
16098 (package-list-packages-no-fetch): Call list-packages.
16099
16100 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16101
16102 * files.el (after-find-file-from-revert-buffer): Remove variable.
16103 (after-find-file): Don't bind it.
16104 (revert-buffer-in-progress-p): New variable.
16105 (revert-buffer): Bind it.
16106 Pass nil for `after-find-file-from-revert-buffer'.
16107
16108 * saveplace.el (save-place-find-file-hook): Use new variable
16109 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16110
16111 2011-04-06 Glenn Morris <rgm@gnu.org>
16112
16113 * Makefile.in (AUTOGEN_VCS): New variable.
16114 (autoloads): Use $AUTOGEN_VCS.
16115
16116 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16117 * calendar/calendar.el (calendar-mode-map):
16118 Check for toolkit scroll bars. (Bug#8305)
16119
16120 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16121
16122 * minibuffer.el (completion-in-region--postch)
16123 (completion-in-region-mode): Remove unnecessary messages.
16124
16125 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16126
16127 * font-lock.el (font-lock-refresh-defaults):
16128 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16129 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16130
16131 * info.el (Info-directory-list, Info-read-node-name-2)
16132 (Info-split-parameter-string): Doc fixes.
16133 (Info-virtual-nodes): Reflow docstring.
16134 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16135 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16136 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16137 Fix typos in docstrings.
16138 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16139 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16140 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16141 (Info-restore-desktop-buffer): Mark unused parameters.
16142 (Info-directory-find-file, Info-directory-find-node)
16143 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16144 (Info-virtual-index-find-node, Info-apropos-find-file)
16145 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16146 Mark unused parameters; fix typos in docstrings.
16147 (Info-virtual-index): Remove unused local variable `nodename'.
16148
16149 2011-04-05 Deniz Dogan <deniz@dogan.se>
16150
16151 * net/rcirc.el: Update my e-mail address.
16152 (rcirc-mode-map): Remove M-o binding.
16153
16154 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16155
16156 * startup.el (command-line): Save the cursor's theme-face
16157 directly, instead of using face-override-spec.
16158
16159 * custom.el (load-theme): Minor optimization in assigning faces.
16160
16161 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16162
16163 * help-fns.el (describe-variable): Complete all variables having
16164 documentation, including keywords.
16165 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16166
16167 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16168
16169 Convert to lexical-binding.
16170
16171 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16172 (bs--get-marked-string, bs--get-modified-string)
16173 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16174 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16175 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16176
16177 * ehelp.el (electric-help-execute-extended)
16178 (electric-help-ctrl-x-prefix):
16179 * hexl.el (hexl-revert-buffer-function):
16180 * linum.el (linum-after-change, linum-after-scroll):
16181 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16182
16183 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16184
16185 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16186
16187 * epa-dired.el:
16188 * epa-mail.el:
16189 * epa-hook.el:
16190 * epa-file.el:
16191 * epa.el:
16192 * epg.el: Use lexical binding.
16193
16194 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16195
16196 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16197
16198 * textmodes/flyspell.el (flyspell-word): Recognize default
16199 dictionary case for flyspell-mark-duplications-exceptions.
16200 Use regexp matching for languages.
16201 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16202 default dictionary (Bug#7926).
16203
16204 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16205
16206 * emacs-lisp/package.el (package--with-work-buffer):
16207 Recognize https URLs.
16208
16209 * net/network-stream.el: Move from gnus/proto-stream.el.
16210 Change prefix to network-stream throughout.
16211 (open-protocol-stream): Merge into open-network-stream, leaving
16212 open-protocol-stream as an alias. Handle nil BUFFER args.
16213
16214 * subr.el (open-network-stream): Move to net/network-stream.el.
16215
16216 2011-04-02 Glenn Morris <rgm@gnu.org>
16217
16218 * find-dired.el (find-exec-terminator): New option.
16219 (find-ls-option): Test for -ls support.
16220 (find-ls-subdir-switches): Test for -b in find-ls-option.
16221 (find-dired, find-grep-dired): Doc fixes.
16222 (find-dired): Use find-exec-terminator.
16223
16224 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16225 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16226 (find-name-arg): Remove purecopy.
16227
16228 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16229 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16230 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16231 accordingly. Don't add the null-device if not needed.
16232
16233 * files.el (save-some-buffers): Doc fix.
16234
16235 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16236
16237 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16238
16239 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16240
16241 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16242 Use `dolist' rather than `mapcar'.
16243
16244 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16245
16246 Add lexical binding.
16247
16248 * subr.el (apply-partially): Use new closures rather than CL.
16249 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16250 (dolist, dotimes): Use slightly different expansion for lexical code.
16251 (functionp): Move to C.
16252 (letrec): New macro.
16253 (with-wrapper-hook): Use it and apply-partially instead of CL.
16254 (eval-after-load): Preserve lexical-binding.
16255 (save-window-excursion, with-output-to-temp-buffer): Turn them
16256 into macros.
16257
16258 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16259
16260 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16261 than the arglist.
16262 (help-add-fundoc-usage): Don't add `Not documented'.
16263 (help-function-arglist): Handle closures, subroutines, and new
16264 byte-code-functions.
16265 (help-make-usage): Remove leading underscores.
16266 (describe-function-1): Handle closures.
16267 (describe-variable): Use special-variable-p for completion.
16268
16269 * files.el (lexical-binding): Declare safe.
16270
16271 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16272 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16273 (pcase): Add `let' pattern.
16274 Change memoization so it actually works.
16275 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16276 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16277 <let>: New case.
16278
16279 * emacs-lisp/macroexp.el: Use lexical binding.
16280 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16281 Don't convert ' to #' without checking that it's indeed quoting
16282 a lambda.
16283
16284 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16285 Use eval-sexp-add-defvars.
16286 (eval-sexp-add-defvars): New fun.
16287
16288 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16289
16290 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16291 Don't autoload.
16292 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16293 than the internal `byte-compile-lambda'.
16294 (defmethod): Don't hide code under quotes.
16295 (eieio-defmethod): New `code' argument.
16296
16297 * emacs-lisp/eieio-comp.el: Remove.
16298
16299 * emacs-lisp/edebug.el (edebug-eval-defun)
16300 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16301 (edebug-toggle): Avoid `eval'.
16302
16303 * emacs-lisp/disass.el (disassemble-internal): Handle new
16304 `closure' objects.
16305 (disassemble-1): Handle new byte codes.
16306
16307 * emacs-lisp/cl.el (pushnew): Silence warning.
16308
16309 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16310 (cl-byte-compile-throw): Remove.
16311 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16312
16313 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16314 closures.
16315
16316 * emacs-lisp/cconv.el: New file.
16317
16318 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16319 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16320 (byte-compile-initial-macro-environment):
16321 Handle declare-function here.
16322 (byte-compile--lexical-environment): New var.
16323 (byte-stack-ref, byte-stack-set, byte-discardN)
16324 (byte-discardN-preserve-tos): New lap codes.
16325 (byte-interactive-p): Don't use any more.
16326 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16327 New macros.
16328 (byte-compile-lapcode): Use them and handle new lap codes.
16329 (byte-compile-obsolete): Remove.
16330 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16331 (byte-compile-arglist-warn): Check late def of inlinable funs.
16332 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16333 since they should have been expanded by now.
16334 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16335 (byte-compile-from-buffer): Remove unused second arg.
16336 (byte-compile-preprocess): New function.
16337 (byte-compile-toplevel-file-form): New function to distinguish
16338 file-form calls from outside from file-form calls from hunk-handlers.
16339 (byte-compile-file-form): Simplify.
16340 (byte-compile-file-form-defsubst): Remove.
16341 (byte-compile-file-form-defmumble): Simplify now that
16342 byte-compile-lambda always returns a byte-code-function.
16343 (byte-compile): Preprocess.
16344 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16345 Remove, not used any more.
16346 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16347 (byte-compile-make-args-desc): New funs.
16348 (byte-compile-lambda): Handle lexical functions. Always return
16349 a byte-code-function.
16350 (byte-compile-reserved-constants): New var, to make up room for
16351 closed-over variables.
16352 (byte-compile-constants-vector): Obey it.
16353 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16354 (byte-compile-macroexpand-declare-function): New function.
16355 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16356 byte-code-functions.
16357 (byte-compile-form): Check obsolescence here.
16358 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16359 (byte-compile-variable-ref): Remove.
16360 (byte-compile-dynamic-variable-op): New fun.
16361 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16362 (byte-compile-variable-set): New funs.
16363 (byte-compile-discard): Add 2 args.
16364 (byte-compile-stack-ref, byte-compile-stack-set)
16365 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16366 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16367 macroexpand-all instead.
16368 (byte-compile-quote-form): Remove.
16369 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16370 (byte-compile-bind, byte-compile-unbind): New funs.
16371 (byte-compile-let): Handle let* and lexical binding.
16372 (byte-compile-let*): Remove.
16373 (byte-compile-catch, byte-compile-unwind-protect)
16374 (byte-compile-track-mouse, byte-compile-condition-case):
16375 Handle a new :fun-body form, used for lexical scoping.
16376 (byte-compile-save-window-excursion)
16377 (byte-compile-with-output-to-temp-buffer): Remove.
16378 (byte-compile-defun): Simplify.
16379 (byte-compile-stack-adjustment): New fun.
16380 (byte-compile-out): Use it.
16381 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16382
16383 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16384 handler any more.
16385
16386 * emacs-lisp/byte-opt.el: Use lexical binding.
16387 (byte-inline-lapcode): Remove (to bytecomp).
16388 (byte-compile-inline-expand): Pay attention to inlining to/from
16389 lexically bound code.
16390 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16391 any more.
16392 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16393 any more and don't call compiler-macros.
16394 (byte-compile-splice-in-already-compiled-code): Remove.
16395 (byte-code): Don't inline any more.
16396 (disassemble-offset): Receive `bytes' as argument rather than via
16397 dynamic scoping.
16398 (byte-compile-tag-number): Declare before first use.
16399 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16400 `return' even if make-spliceable.
16401 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16402 obsolete interactive-p.
16403 (byte-optimize-lapcode): Optimize new lap-codes.
16404 Don't trip up on new form of `byte-constant' lap code.
16405
16406 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16407
16408 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16409
16410 * custom.el (custom-initialize-default, custom-declare-variable):
16411 Use `defvar'.
16412
16413 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16414 New variables.
16415 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16416 (COMPILE_FIRST): Add macroexp and cconv.
16417 * makefile.w32-in: Mirror changes in Makefile.in.
16418
16419 * vc/cvs-status.el:
16420 * vc/diff-mode.el:
16421 * vc/log-edit.el:
16422 * vc/log-view.el:
16423 * vc/smerge-mode.el:
16424 * textmodes/bibtex-style.el:
16425 * textmodes/css-mode.el:
16426 * startup.el:
16427 * uniquify.el:
16428 * minibuffer.el:
16429 * newcomment.el:
16430 * reveal.el:
16431 * server.el:
16432 * mpc.el:
16433 * emacs-lisp/smie.el:
16434 * doc-view.el:
16435 * dired.el:
16436 * abbrev.el: Use lexical binding.
16437
16438 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16439
16440 * info.el (info-display-manual): New function.
16441
16442 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16443
16444 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16445
16446 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16447
16448 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16449 an entry for that server in rcirc-authinfo. (Bug#8385)
16450
16451 2011-03-31 Glenn Morris <rgm@gnu.org>
16452
16453 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16454
16455 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16456
16457 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16458
16459 * progmodes/python.el (python-default-interpreter)
16460 (python-python-command-args, python-jython-command-args)
16461 (python-which-shell, python-which-args, python-which-bufname)
16462 (python-file-queue, python-comint-output-filter-function)
16463 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16464 variables and functions.
16465
16466 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16467
16468 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16469 (completion-in-region-mode): New minor mode.
16470 (completion-in-region): Use it.
16471 (completion-in-region--data, completion-in-region-mode-map): New vars.
16472 (completion-in-region--postch): New function.
16473 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16474 New vars.
16475 (completion--capf-wrapper): New function.
16476 (completion-at-point): Use it to track well-behavedness of
16477 hook functions.
16478 (completion-help-at-point): New command.
16479
16480 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16481
16482 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16483 syntax class to search for whitespace on a single line
16484 (Message-ID: <4D938140.4030905@redhat.com>).
16485
16486 2011-03-30 Leo Liu <sdl.web@gmail.com>
16487
16488 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16489 New commands.
16490 (edit-abbrevs-map): Bind them here.
16491 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16492
16493 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16494
16495 * allout.el (allout-hide-by-annotation, allout-flag-region):
16496 Reduce possibility of overlay leakage by making them volatile.
16497
16498 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16499 hash is not shared between buffers. Mode initialization is
16500 responsible for giving it a useful starting value.
16501 (allout-item-span): Reduce possibility of overlay leakage by
16502 making them volatile.
16503 (allout-widgets-count-buttons-in-region): Add diagnostic function
16504 for tracking down button overlay leaks.
16505
16506 2011-03-29 Leo Liu <sdl.web@gmail.com>
16507
16508 * ido.el (ido-read-internal): Use the default history var
16509 minibuffer-history if no HISTORY is specified.
16510
16511 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16512
16513 * net/imap.el (imap-shell-open, imap-process-connection-type):
16514 Use imap-process-connection-type for 'shell' streams as well as
16515 Kerberos, SSL, other subprocesses.
16516
16517 2011-03-28 Leo Liu <sdl.web@gmail.com>
16518
16519 * abbrev.el (abbrev-table-empty-p): New function.
16520 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16521 nonempty ones. (Bug#5937)
16522
16523 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16524
16525 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16526
16527 2011-03-27 Leo Liu <sdl.web@gmail.com>
16528
16529 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16530 for foreground and background colors.
16531 (ansi-color-make-color-map): Adapt.
16532
16533 2011-03-25 Leo Liu <sdl.web@gmail.com>
16534
16535 * midnight.el (midnight-time-float): Remove. Note it calculates
16536 the microsecond component incorrectly and seconds-to-time does the
16537 same job.
16538 Remove redundant (require 'timer).
16539
16540 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16541 (ido-completions): Remove unused arguments. (Bug#8329)
16542
16543 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16544
16545 * minibuffer.el (completion--flush-all-sorted-completions):
16546 Remove itself from hook.
16547 (completion-at-point): Let the functions perform the completion
16548 immediately and return nil or t.
16549 * comint.el (comint-dynamic-complete-functions): Now identical to
16550 completion-at-point-functions.
16551 (comint-dynamic-list-input-ring): Remove unused var `index'.
16552 (comint--match-partial-filename, comint--unquote&expand-filename):
16553 New funs, split from comint-match-partial-filename.
16554 (comint-dynamic-complete): Use completion-at-point.
16555 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16556
16557 2011-03-24 Drew Adams <drew.adams@oracle.com>
16558
16559 * thingatpt.el: Support `defun'.
16560
16561 2011-03-23 Leo Liu <sdl.web@gmail.com>
16562
16563 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16564
16565 * help-mode.el (help-mode-finish): Tweak regexp.
16566
16567 2011-03-23 Glenn Morris <rgm@gnu.org>
16568
16569 * eshell/esh-opt.el (eshell-eval-using-options):
16570 Do not bind unused local variable `eshell-option-stub'.
16571
16572 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16573
16574 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16575
16576 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16577 keymap variable in `with-no-warnings' to avoid a warning when the
16578 keymap has been already `defconst'ed.
16579
16580 2011-03-22 Leo Liu <sdl.web@gmail.com>
16581
16582 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16583 encode all chars in abbrevs; otherwise use emacs-mule or
16584 utf-8-emacs. (Bug#8308)
16585
16586 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16587
16588 * simple.el (backward-delete-char-untabify):
16589 Avoid warning about using `delete-backward-char'.
16590
16591 * image.el (image-type-file-name-regexps): Make it variable.
16592 `imagemagick-register-types' modifies it, and the user may want
16593 to add new extensions for known image types.
16594 (imagemagick-register-types): Throw error if not using ImageMagick.
16595
16596 2011-03-22 Leo Liu <sdl.web@gmail.com>
16597
16598 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16599 located before rcirc-prompt-end-marker.
16600 (rcirc-complete): Error if point is not after rcirc prompt.
16601 Handle the case when table is nil.
16602 (rcirc-user-authenticated): Define to fix compiler warning.
16603
16604 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16605
16606 * custom.el (custom--inhibit-theme-enable): Make it affect only
16607 custom-theme-set-variables and custom-theme-set-faces.
16608 (provide-theme): Ignore custom--inhibit-theme-enable.
16609 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16610 (custom-enabling-themes): Delete variable.
16611 (enable-theme): Accept only loaded themes as arguments.
16612 Ignore the special custom-enabled-themes variable.
16613 (custom-enabled-themes): Forbid themes from setting this.
16614 Eliminate use of custom-enabling-themes.
16615 (custom-push-theme): Quote "changed" custom var entry.
16616
16617 2011-03-21 Leo Liu <sdl.web@gmail.com>
16618
16619 * ido.el (ido-read-internal): Add ido-selected to history instead
16620 of user input.
16621
16622 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16623
16624 * subr.el (deferred-action-list, deferred-action-function):
16625 Mark obsolete.
16626
16627 2011-03-21 Leo Liu <sdl.web@gmail.com>
16628
16629 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16630 change on 2011-02-13 (bug#8309).
16631
16632 * minibuffer.el (read-file-name-function): Change default value.
16633 (read-file-name--defaults): Rename from read-file-name-defaults.
16634 (read-file-name-default): Rename from read-file-name.
16635 (read-file-name): Call read-file-name-function.
16636
16637 2011-03-21 Glenn Morris <rgm@gnu.org>
16638
16639 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16640 Doc fixes.
16641
16642 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16643
16644 * cus-theme.el: Add missing provide statement.
16645 (customize-create-theme): Extract theme value correctly.
16646 (custom-theme-visit-theme): Autoload.
16647 (customize-create-theme): Prompt before inserting default faces.
16648
16649 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16650
16651 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16652 units and musical notes.
16653
16654 2011-03-20 Leo Liu <sdl.web@gmail.com>
16655
16656 * ido.el (ido-read-internal): Use completing-read-default.
16657 (ido-completing-read): Fix compatibility with completing-read.
16658
16659 2011-03-20 Christian Ohler <ohler@gnu.org>
16660
16661 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16662 (ert-delete-all-tests): Use `called-interactively-p' rather than
16663 `interactive-p'.
16664 (ert--make-xrefs-region): Respect END.
16665
16666 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16667
16668 * dired-aux.el (dired-create-directory): Signal an error if the
16669 directory already exists (Bug#8246).
16670
16671 * facemenu.el (list-colors-display): Call list-faces-display
16672 inside with-help-window.
16673 (list-colors-print): Use display property to align the final
16674 column, instead of checking window-width.
16675
16676 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16677
16678 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16679 windows-nt systems.
16680 (emerge-protect-metachars): Quote correctly for ms-dos and
16681 windows-nt systems.
16682
16683 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16684
16685 * info.el (info-initialize): Replace all uses of `:' with
16686 path-separator for compatibility with non-Unix systems.
16687 Cache quoting of path-separator. (Bug#8258)
16688
16689 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16690
16691 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16692 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16693 (mouse-avoidance-mode): Fix typos in docstrings.
16694
16695 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16696
16697 * startup.el (package-subdirectory-regexp): Move from package.el.
16698 Omit \\` and \\', and let callers add them.
16699
16700 * emacs-lisp/package.el (package-strip-version)
16701 (package-load-all-descriptors): Add \\` and \\' to
16702 package-subdirectory-regexp before using it.
16703 (package-untar-buffer): New arg DIR; ensure that file untars only
16704 into this expected directory. Remove superfluous delete-region.
16705 (package-unpack): Caller changed.
16706 (package-tar-file-info): Use package-subdirectory-regexp.
16707
16708 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16709
16710 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16711 diff-mode-shared-map (bug#8284).
16712 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16713
16714 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16715
16716 * calendar/time-date.el (format-seconds): Use assoc instead of
16717 assoc-string, since assoc-string doesn't exist in XEmacs.
16718
16719 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16720
16721 * custom.el (custom-known-themes): Reflow docstring.
16722 (custom-theme-load-path): Fix typo in docstring.
16723 (load-theme): Fix typo in error message.
16724 (custom-available-themes, custom-variable-theme-value):
16725 Use `let', not `let*'.
16726
16727 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16728
16729 * calc/README: Mention inclusion of musical notes.
16730
16731 * calc/calc-units.el (calc-lu-quant): Rename from
16732 `calc-logunits-quantity'.
16733 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16734 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16735 (calc-db): Rename from `calc-dblevel'.
16736 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16737 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16738 (calc-np): Rename from `calc-nplevel'.
16739 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16740 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16741 (calc-lu-plus): Rename from `calc-logunits-add'.
16742 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16743 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16744 (calc-lu-minus): Rename from `calc-logunits-sub'.
16745 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16746 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16747 (calc-lu-times): Rename from `calc-logunits-mul'.
16748 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16749 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16750 (calc-lu-divide): Rename from `calc-logunits-div'.
16751 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16752 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16753
16754 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16755 functions being autoloaded.
16756
16757 * calc/calc.el (calc-lu-power-reference): Rename from
16758 `calc-logunits-power-reference'.
16759 (calc-lu-field-reference): Rename from
16760 `calc-logunits-field-reference'.
16761
16762 * calc/calc-help.el (calc-l-prefix-help):
16763 Mention musical note functions.
16764
16765 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16766
16767 * minibuffer.el (completion-all-sorted-completions):
16768 Use :completion-cycle-penalty text property if present.
16769
16770 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16771
16772 * allout.el (allout-yank-processing): Adjust for new rebulleting
16773 regime so bullet being yanked is used without prompting the user
16774 for a choice.
16775
16776 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16777
16778 * startup.el (command-line): Warn the user that _emacs is deprecated.
16779
16780 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16781
16782 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16783 (delphi-verbose, delphi-comment-face, delphi-string-face)
16784 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16785 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16786 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16787 (delphi-new-comment-line, delphi-font-lock-defaults)
16788 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16789 Fix typos in docstrings.
16790
16791 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16792
16793 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16794 Invert the roles of character and string values for INSTEAD, so a
16795 string is used for the more common case of a defaulting prompt.
16796
16797 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16798
16799 * progmodes/ruby-mode.el (ruby-backward-sexp):
16800 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16801 * play/gamegrid.el (gamegrid-make-face):
16802 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16803 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16804 * notifications.el (notifications-notify):
16805 * net/xesam.el (xesam-search-engines):
16806 * net/quickurl.el (quickurl-list-insert):
16807 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16808
16809 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
16810
16811 * startup.el (command-line): Update package subdirectory regexp.
16812
16813 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16814
16815 * allout.el (allout-abbreviate-flattened-numbering)
16816 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16817
16818 * subr.el (read-char-choice): Only show the cursor after the prompt,
16819 not after the answer.
16820
16821 2011-03-15 Kevin Ryde <user42@zip.com.au>
16822
16823 * help-fns.el (variable-at-point): Skip leading quotes, if any
16824 (bug#8253).
16825
16826 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16827
16828 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16829 warning message.
16830
16831 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
16832
16833 * shell.el (shell): When called interactively, offer to change the
16834 shell file name on remote hosts.
16835
16836 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16837
16838 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16839 integration for LDAP parameters. The host, base, user or binddn,
16840 and secret tokens can be specified in a netrc file, for instance.
16841 This is optional because an `auth-source' parameter must be
16842 specified in the search attributes.
16843
16844 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
16845
16846 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16847
16848 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16849
16850 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16851 into declaration. Remove redundant and harmful binding.
16852
16853 2011-03-12 Eli Zaretskii <eliz@gnu.org>
16854
16855 * files.el (file-ownership-preserved-p): Pass `integer' as an
16856 explicit 2nd argument to `file-attributes'. If the file's owner
16857 is the Administrators group on Windows, and the current user is
16858 Administrator, consider that a match.
16859
16860 * server.el (server-ensure-safe-dir): Consider server directory
16861 safe on MS-Windows if its owner is the Administrators group while
16862 the current Emacs user is Administrator. Use `=' to compare
16863 numerical UIDs, since they could be integers or floats.
16864
16865 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
16866
16867 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16868
16869 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
16870
16871 Sync with Tramp 2.2.1.
16872
16873 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16874
16875 * net/trampver.el: Update release number.
16876
16877 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16878
16879 * progmodes/compile.el (compilation--previous-directory): Fix up
16880 various nil/dead-marker mismatches (bug#8014).
16881 (compilation-directory-properties, compilation-error-properties):
16882 Don't call it at a position past the one we're about to change.
16883
16884 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16885 Disable obsolescence warnings in the file that declares it.
16886
16887 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16888
16889 * allout-widgets.el (allout-widgets-tally):
16890 Initialize allout-widgets-tally as a hash table rather than nil to
16891 prevent mode-line redisplay warnings. Also, clarify the module
16892 description and fix a comment typo.
16893
16894 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
16895
16896 * help-fns.el (describe-variable): Don't complete keywords.
16897 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16898
16899 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
16900
16901 * emacs-lisp/package.el (package-version-join): Impose a standard
16902 string representation for pre/alpha/beta version lists.
16903 (package-unpack-single): Standardize the directory name by passing
16904 it through package-version-join.
16905 (package-strip-rcs-id): Accept any version string that does not
16906 signal an error in version-to-list.
16907
16908 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
16909
16910 * simple.el (delete-trailing-whitespace): Return nil for the
16911 benefit of `write-file-functions'.
16912
16913 2011-03-10 Glenn Morris <rgm@gnu.org>
16914
16915 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16916
16917 * vc/vc-git.el (vc-git-program): New option.
16918 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16919 (vc-git--call): Use it.
16920
16921 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16922
16923 * cus-edit.el (Custom-newline): If no button at point, look
16924 for a subgroup button at start-of-line. (Bug#2298)
16925
16926 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16927
16928 2011-03-10 Julien Danjou <julien@danjou.info>
16929
16930 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16931 `cursor-type' is nil.
16932
16933 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16934
16935 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16936
16937 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16938
16939 * allout.el: Change so yank of distinctive-bullet items
16940 preserves the existing header prefix, rebulleting it if necessary,
16941 rather than replacing it. This is necessary for proper operation
16942 of cooperative addons like allout-widgets.
16943 (allout-make-topic-prefix, allout-rebullet-heading):
16944 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16945 value as alternate bullet to be used, instead of prompting the user
16946 for a bullet character.
16947
16948 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16949
16950 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16951 Do not use `tramp-file-name-port', because this returns also
16952 `tramp-default-port'.
16953
16954 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16955
16956 * net/rcirc.el (rcirc-handler-001): Remove useless
16957 with-rcirc-process-buffer.
16958 (rcirc-check-auth-status): Swap arguments to string-match.
16959
16960 2011-03-09 Glenn Morris <rgm@gnu.org>
16961
16962 * shell.el (shell-mode):
16963 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16964
16965 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16966 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16967
16968 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16969
16970 * emacs-lisp/package.el (package-refresh-contents)
16971 (package-menu-execute): Use condition-case-no-debug.
16972
16973 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16974
16975 * simple.el (shell-command-to-string): Use `process-file'.
16976
16977 * emacs-lisp/package.el (package-tar-file-info): Handle also
16978 remote files.
16979
16980 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16981 Use `equal' for upload base check.
16982
16983 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16984
16985 * textmodes/texinfo.el (texinfo-environments):
16986 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16987
16988 2011-03-08 Glenn Morris <rgm@gnu.org>
16989
16990 * cus-start.el (cursor-in-non-selected-windows):
16991 Fix :set quoting oddness. (Bug#8192)
16992
16993 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16994 in some setf expressions. (Bug#2159)
16995
16996 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16997
16998 * custom.el (custom-available-themes): Return themes in
16999 alphabetical order.
17000
17001 See ChangeLog.15 for earlier changes.
17002
17003 ;; Local Variables:
17004 ;; coding: utf-8
17005 ;; End:
17006
17007 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17008
17009 This file is part of GNU Emacs.
17010
17011 GNU Emacs is free software: you can redistribute it and/or modify
17012 it under the terms of the GNU General Public License as published by
17013 the Free Software Foundation, either version 3 of the License, or
17014 (at your option) any later version.
17015
17016 GNU Emacs is distributed in the hope that it will be useful,
17017 but WITHOUT ANY WARRANTY; without even the implied warranty of
17018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17019 GNU General Public License for more details.
17020
17021 You should have received a copy of the GNU General Public License
17022 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.