calc.texi (Simplification modes, Conversions)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a0f95636
JB
12012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4 of nested `if's.
5
0d26d7c4
GM
62012-08-01 Glenn Morris <rgm@gnu.org>
7
8 * progmodes/autoconf.el (autoconf-definition-regexp):
9 Add AH_TEMPLATE, adjust submatch numbering.
10 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11 (autoconf-current-defun-function): Update for above change.
12 (autoconf-current-defun-function): First skip to end of current word.
13
b686ba06
RS
142012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
15
16 * calendar/cal-html.el (cal-html-insert-agenda-days):
17 Fix typo. (Bug#12018)
18
0d49da68
FEG
192012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
20
21 Shell processes: enhancements to startup and CEDET compatibility.
22 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
23 (python-shell-make-comint): accept-process-output at startup.
24 (run-python-internal): Set inferior-python-mode-hook to nil.
25 (python-shell-internal-get-or-create-process): call sit-for.
26 (python-preoutput-result): Add obsolete alias.
27 (python-shell-internal-send-string): Use it.
28 (python-shell-send-setup-code): Remove call to
29 accept-process-output.
30
f1a71c6e
AS
312012-07-31 Andreas Schwab <schwab@linux-m68k.org>
32
33 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
34 (Bug#12108)
35
d2605269
JB
362012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
37
38 * calc-mode.el (calc-basic-simplification-mode): Rename from
39 `calc-limited-simplification-mode'.
40 (calc-alg-simplification-mode): New function.
d66060f8 41 (calc-set-simplify-mode): Adjust message.
f1a71c6e 42
d2605269
JB
43 * calc.el (calc-set-mode-line): Adjust mode line display for
44 basic simplification mode.
45
46 * calc-help.el (calc-m-prefix-help): Update help message.
47
48 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
49 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
50
a3827a43
BG
512012-07-31 Bastien Guerry <bzg@gnu.org>
52
53 * man.el (man): Fix comment. (bug#12101)
54
502e3f89
MR
552012-07-31 Martin Rudalics <rudalics@gmx.at>
56
57 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
58 Don't return a non-nil value when no suitable buffer was found.
59
d7714961
FEG
602012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
61
62 * progmodes/python.el (run-python-internal): Disable font lock for
63 internal shells.
64
1f45e27e
SM
652012-07-30 Stefan Merten <smerten@oekonux.de>
66
67 * rst.el: Silence `checkdoc-ispell'.
68 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
69 (rst-official-version, rst-official-cvs-rev)
70 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
71 (rst-mode-map): New key binding.
72
0aee6912
PE
732012-07-30 Paul Eggert <eggert@cs.ucla.edu>
74
75 Update .PHONY listings in makefiles.
76 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
77 autoloads, update-subdirs, updates, bzr-update, update-authors,
78 compile-onefile, compile-calc, backup-compiled-files,
79 compile-after-backup, compile-one-process, mh-autoloads,
80 bootstrap-clean, distclean, maintainer-clean.
81
9052f9f0
JB
822012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
83
1823ac5a
JB
84 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
85 (calc-set-mode-line): Don't display "AlgSimp ".
86
87 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
88 (calc-lim-simplify-mode): New function.
89 (calc-set-simplify-mode): Default to 'alg.
90 (calc-default-simplify-mode): Make algebraic simplifications
91 the default.
92
93 * calc/calc-ext.el (calc-init-extensions): Remove binding for
94 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
95
8d7c7eed 96 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
97 indicate new simplification modes.
98
1823ac5a
JB
99 * calc/README: Mention new default simplification mode.
100
9052f9f0
JB
101 * calc/calc.el (math-normalize-error): New variable.
102 (math-normalize): Set `math-normalize-error' to t
103 when there's an error.
104
105 * calc/calc-alg.el (math-simplify): Don't simplify when
106 `math-normalize' returns an error.
107
20ba0cb4
EZ
1082012-07-29 Eli Zaretskii <eliz@gnu.org>
109
110 * international/mule-cmds.el (set-locale-environment): Revert last
111 change, since display-graphic-p returns nil when this function is
112 called during startup. Instead...
113
114 * term/w32console.el (terminal-init-w32console): ...setup the
115 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
116
a5dcc929
JL
1172012-07-29 Juri Linkov <juri@jurta.org>
118
119 * simple.el (goto-line): Don't display default line number in the
120 prompt because it should be displayed by `read-number' (bug#9952).
121 Add the current line number to the defaults of `goto-line' to
122 allow its easier modification by users with `M-n' (bug#9201).
123
124 * subr.el (read-number): Support multiple default values like in
125 other minibuffer reading functions. Replace `read' with
126 `string-to-number' for consistency with `number-to-string'.
127
72b255c7
PE
1282012-07-29 Paul Eggert <eggert@cs.ucla.edu>
129
130 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
131 * emulation/viper-init.el (viper-deactivate-input-method-action):
132 Rename from viper-inactivate-input-method-action.
133 (viper-deactivate-input-method):
134 Rename from viper-inactivate-input-method.
135 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
136 * international/mule-cmds.el (deactivate-input-method):
137 Rename from inactivate-input-method.
138 Also run input-method-deactivate-hook.
139 (deactivate-current-input-method-function):
140 Rename from inactivate-current-input-method-function.
141 (input-method-deactivate-hook): New hook.
142 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
143 (inactivate-input-method): Mark obsolete.
144
72b255c7
PE
145 * international/quail.el (quail-activate):
146 Also run quail-deactivate-hook.
147 (quail-deactivate): Rename from quail-inactivate.
148 * international/robin.el (robin-activate):
149 Also run robin-deactivate-hook.
150 (robin-deactivate): Rename from robin-inactivate.
151
2549c068
CY
1522012-07-29 Chong Yidong <cyd@gnu.org>
153
154 * simple.el (indicate-copied-region): New function.
155 (kill-ring-save): Split off from here.
156
157 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
158 (kill-rectangle): Set deactivate-mark to t on read-only error.
159
160 * register.el (copy-to-register, copy-rectangle-to-register):
161 Deactivate the mark, and use indicate-copied-region (Bug#10056).
162 (append-to-register, prepend-to-register): Call
163
17711ed9
JL
1642012-07-29 Juri Linkov <juri@jurta.org>
165
166 * simple.el (async-shell-command-buffer): New defcustom.
167 (shell-command): Use it. (Bug#4719)
168
01bd1b0d
EZ
1692012-07-28 Eli Zaretskii <eliz@gnu.org>
170
171 * international/mule-cmds.el (set-locale-environment): In a
172 console session on MS-Windows, set up keyboard and terminal
173 encoding from the OEM codepage, not the ANSI codepage.
174 (Bug#12055)
175
a55739d3
CY
1762012-07-28 Chong Yidong <cyd@gnu.org>
177
178 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
179 gdb-get-location.
180
9a0f8f2e
LL
1812012-07-25 Leo Liu <sdl.web@gmail.com>
182
183 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
184 the alist (bug#12029).
185
20329d73
EZ
1862012-07-28 Eli Zaretskii <eliz@gnu.org>
187
188 * makefile.w32-in (custom-deps, finder-data, updates, compile)
189 (compile-always, compile-first)
190 ($(lisp)/calendar/cal-loaddefs.el)
191 ($(lisp)/calendar/diary-loaddefs.el)
192 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
193 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
194 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
195 instead of on update-subdirs.
196 (bootstrap-clean): Delete $(lisp)/subdirs.el.
197
345a2258
CY
1982012-07-28 Chong Yidong <cyd@gnu.org>
199
1eee6341
CY
200 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
201 directory if vc-deduce-backend returns nil (Bug#7350).
202
345a2258
CY
203 * simple.el (delete-trailing-lines): New option.
204 (delete-trailing-whitespace): Obey it (Bug#11879).
205
049a0936
DE
2062012-07-28 David Engster <deng@randomsample.de>
207
208 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
209 Explanation of new 'symbol-qnames feature in doc-strings.
210 (xml-maybe-do-ns): Return expanded names as plain symbols if
211 'symbol-qnames was provided in XML-NS argument (Bug#11916).
212 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
213
aa81af71
FEG
2142012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
215
216 Consistent completion in inferior python with emacs -nw.
217 * progmodes/python.el (inferior-python-mode): replace "<tab>"
218 binding in inferior-python-mode-map with "\t".
219 (python-shell-completion-complete-at-point)
220 (python-completion-complete-at-point): Remove interactive spec.
221
e827b1eb
JB
2222012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
223
224 * calc/calccomp.el (math-compose-expr): Undo previous change.
225
a90dfb95
FEG
2262012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
227
228 * progmodes/python.el (python-mode-map): Added keybinding for
229 run-python.
230 (python-shell-make-comint): Fix pop-to-buffer call.
231 (run-python): Autoload. New arg SHOW.
232 (python-shell-get-or-create-process): Do not pop python process
233 buffer.
234
32770973 2352012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
236
237 * notifications.el (notifications-on-action-signal)
238 (notifications-on-closed-signal): Use also the bus address for the map.
239 (notifications-notify, notifications-close-notification)
240 (notifications-get-capabilities): Add optional argument BUS.
241
86332df2
TH
2422012-07-27 Tassilo Horn <tsdh@gnu.org>
243
244 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
245 support for the lstlisting and minted environments, and for the
246 ctable macro.
247 * textmodes/reftex.el (reftex-compile-variables): Also recognize
248 labels written in keyvals syntax.
249
ca1302a4
JB
2502012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
251
252 * calc/calccomp.el (math-compose-expr): Use parentheses when
253 there is a product in the denominator of a fraction.
254
f8b91036
EZ
2552012-07-26 Eli Zaretskii <eliz@gnu.org>
256
257 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
258 ($(lisp)/calendar/diary-loaddefs.el)
259 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
260 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
261 failures in parallel bootstrap because subdirs.el is being
262 rewritten while the autoload files are built at the same time,
263 which needs to load subdirs.el.
264
c8e5a42c
MR
2652012-07-26 Martin Rudalics <rudalics@gmx.at>
266
267 * mouse.el (popup-menu): Fix doc-string and re-indent code.
268 (mouse-drag-line): Don't exit tracking when a switch-frame or
269 switch-window event occurs (Bug#12006).
270
670d85ea
SM
2712012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * mouse.el (popup-menu): Fix last change.
274
7abaf5cc
SM
2752012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 Autoload from Lisp with more care. Follow aliases when looking for
278 function properties.
279 * subr.el (autoloadp): New function.
280 (symbol-file): Use it.
281 (function-get): New function.
282 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
283 autoload-do-load.
284 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
285 (lisp-indent-function):
286 * emacs-lisp/gv.el (gv-get):
287 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
288 * emacs-lisp/byte-opt.el (byte-optimize-form):
289 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
290 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
291 Use function-get.
292 * emacs-lisp/cl.el: Don't propagate function properties any more.
293
294 * speedbar.el (speedbar-add-localized-speedbar-support):
295 * emacs-lisp/disass.el (disassemble-internal):
296 * desktop.el (desktop-load-file):
297 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
298 (describe-function-1):
299 * emacs-lisp/find-func.el (find-function-noselect):
300 * emacs-lisp/elp.el (elp-instrument-function):
301 * emacs-lisp/advice.el (ad-has-proper-definition):
302 * apropos.el (apropos-safe-documentation, apropos-macrop):
303 * emacs-lisp/debug.el (debug-on-entry):
304 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
305 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
306 * calc/calc.el (name): Use autoloadp & autoload-do-load.
307
b1364986
AA
3082012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
309
310 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
311 function, not an obsolete variable (Bug#12046).
312
67ada220
AS
3132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
314
315 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
316
f08088e3
CS
3172012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
318
319 * emacs-lisp/pp.el (pp-display-expression): Select old selected
320 window only if it is still live (Bug#12034).
321
8137e7b3
MR
3222012-07-25 Martin Rudalics <rudalics@gmx.at>
323
324 * subr.el (redirect-frame-focus): Add advertised calling
325 convention (Bug#12030).
326
09ae5da1
PE
3272012-07-25 Paul Eggert <eggert@cs.ucla.edu>
328
329 Prefer typical American spelling for "acknowledgment".
330 * vc/add-log.el (change-log-acknowledgment): Rename from
331 change-log-acknowledgement, with an alias for the old name.
332
3cc5a3a8
JB
3332012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
334
335 * calc-alg.el (math-simplify-divide): Don't cross multiply
336 in an equation when the lhs is a variable.
337
b7af7f62
JD
3382012-07-24 Julien Danjou <julien@danjou.info>
339
340 * net/netrc.el (netrc-find-service-number, netrc-store-data):
341 Remove, unused.
342
ec1b09b1
EZ
3432012-07-23 Eli Zaretskii <eliz@gnu.org>
344
345 * startup.el (command-line): Don't display an empty user name in
346 the error message about non-existent home directory, when
347 init-file-user was set to an empty string. See
348 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
349 for the details and context.
350
b525fd8a
VB
3512012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
352
353 * ses.el (ses-cell-formula-aset): New macro.
354 (ses-cell-references-aset): New macro.
355 (ses-cell-p): New function.
356 (ses-rename-cell): Do no longer rely on complex operations like
357 ses-cell-set-formula or ses-set-cell to change the cell and handle
358 the undo at the same time, but rather use lower level new macros
359 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
360 the undo directly. Refresh the mode line.
361
2c73e345
LL
3622012-07-21 Leo Liu <sdl.web@gmail.com>
363
670d85ea
SM
364 * progmodes/cc-cmds.el (c-defun-name):
365 Use match-string-no-properties instead for consistency.
2c73e345 366
542dfbde
LL
3672012-07-20 Leo Liu <sdl.web@gmail.com>
368
3646bcd6
LL
369 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
370 (Bug#7879)
371
542dfbde
LL
372 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
373
25721031
CY
3742012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
377 * progmodes/bug-reference.el, misearch.el: Provide themselves
378 (bug#11915).
379
380 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
381 of narrowed buffer (bug#11966).
382
316e68a7
VB
3832012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
384
385 * ses.el (ses-rename-cell): Set new name also in reference list of
386 cells of which the renamed cell depends.
387
bbf0e7d9
MY
3882012-07-20 Masatake YAMATO <yamato@redhat.com>
389
390 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
391 to check whether menu-bar is shown or not. If not shown,
392 show the menu-bar as a popup menu instead of using tmm.
393 * mouse.el (popup-menu): Accept `point' as `position' argument.
394
c28662a8
DG
3952012-07-20 Dmitry Gutov <dgutov@yandex.ru>
396
397 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
398 up inside string symbol literal (bug#11923).
399
87ab808f
EZ
4002012-07-20 Eli Zaretskii <eliz@gnu.org>
401
402 * startup.el (fancy-startup-text): Read the whole tutorial, not
403 just its first 256 bytes. Prevents gibberish in display of the
404 tutorial title.
405
89dea803
DA
4062012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
407
408 Drop idle buffer compaction due to an absence of the
409 proved efficiency.
410 * compact.el: Remove.
411
8a4e6db8
SS
4122012-07-19 Sam Steingold <sds@gnu.org>
413
414 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
415 vc-bzr-pull & vc-bzr-merge-branch.
416 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
417 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
418 for consistency with compilation-error-regexp-alist.
419 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
420 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
421 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
422 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
423
5db81e33
SM
4242012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 * emacs-lisp/chart.el: Use lexical-binding.
427 (chart-emacs-storage): Don't hardcode the list of entries.
428
5b835e1d
DA
4292012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
430
431 Next round of tweaks caused by Fgarbage_collect changes.
432 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
433
9cd47b72
DA
4342012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
435
436 Compact buffers when idle.
437 * compact.el: New file.
438
1d6fc0df
SM
4392012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
440
441 * subr.el (eventp): Presume that if it looks vaguely like an event,
442 it's an event (bug#10190).
443
1d29cc7d
FEG
4442012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
445
446 Enhancements to ppss related code (thanks Stefan).
447 * progmodes/python.el (python-indent-context)
448 (python-indent-calculate-indentation, python-indent-dedent-line)
449 (python-indent-electric-colon, python-nav-forward-block)
450 (python-mode-abbrev-table)
1d6fc0df 451 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
452 for ppss context.
453 (python-info-continuation-line-p): Cleanup.
454 (python-info-ppss-context): Do not catch 'quote.
455 (python-info-ppss-context-type)
456 (python-info-ppss-comment-or-string-p): Simplify.
457
d583cbe6
FEG
4582012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
459
460 * progmodes/python.el: Enhancements to eldoc support.
461 (python-info-current-symbol): New function.
462 (python-eldoc-at-point): Use python-info-current-symbol.
463 (python-info-current-defun): Fix cornercase on first defun scan.
464 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
465 and signal error when no inferior python process is available.
466
eceb6feb
DG
4672012-07-18 Dmitry Gutov <dgutov@yandex.ru>
468
469 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
470 assume it's always t.
471 (vc-git-registered): Remove caching, the function is only called
472 once.
473 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
474
4c8ff0fe
CY
4752012-07-18 Chong Yidong <cyd@gnu.org>
476
19fb7186
CY
477 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
478
9587c688
CY
479 * simple.el (count-words): Report on narrowing (Bug#9959).
480
0fe776a1
CY
481 * bindings.el: Bind M-= to count-words.
482
4c8ff0fe
CY
483 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
484
7f5331cc
MY
4852012-07-18 Masatake YAMATO <yamato@redhat.com>
486
487 * progmodes/sh-script.el (sh-imenu-generic-expression):
488 Capture a function with `function' keyword and without parentheses
489 like "function FOO" (bug#11856).
490
2dc2a609
TH
4912012-07-18 Tassilo Horn <tassilo@member.fsf.org>
492
493 * window.el (split-window-sensibly): Make WINDOW argument
494 optional.
495
439f7677
CY
4962012-07-18 Chong Yidong <cyd@gnu.org>
497
9aeb25a6
CY
498 * subr.el (keyboard-translate): Doc fix (Bug#7261).
499
439f7677
CY
500 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
501 and make C-x 8 RET exit isearch (Bug#11439).
502
503 * international/iso-transl.el: Move isearch-mode-map key
504 definitions to isearch.el.
505
12999ea8
SM
5062012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
507
508 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
509 (eieio-defclass): Use gv-define-setter when possible.
510
3ab6e069
DA
5112012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
512
513 Reflect recent changes in Fgarbage_collect.
514 * emacs-lisp/chart.el (chart-emacs-storage): Change to
515 reflect new format of data returned by Fgarbage_collect.
516
0a60bc10
FEG
5172012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
518
519 New utility functions + python-info-ppss-context fix (Bug#11910).
520 * progmodes/python.el (python-info-beginning-of-block-statement-p)
521 (python-info-ppss-comment-or-string-p): New functions.
522 (python-info-ppss-context): Small fix for string check.
523
6dafa0d5
JL
5242012-07-17 Juri Linkov <juri@jurta.org>
525
526 * dired-aux.el (dired-do-async-shell-command): Doc fix.
527 (dired-do-async-shell-command): Don't add `*' at the end of the
528 command (Bug#11815).
529 (dired-do-shell-command): Doc fix.
530 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
531 Join the individual commands using either "&" or ";" as the
532 separator depending on the values of these trailing characters.
533 At the end re-add the trailing "&". (Bug#10598)
534
535 * simple.el (async-shell-command): Sync the interactive spec with
536 `shell-command'. Doc fix.
537 (shell-command): Doc fix.
538
b19dd9d1
JL
5392012-07-17 Juri Linkov <juri@jurta.org>
540
541 * descr-text.el (describe-char): Fix format args. (Bug#10129)
542
bcdc27d7 5432012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 544
bcdc27d7 545 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
546 * progmodes/python.el (python-nav-beginning-of-statement):
547 Rename from python-nav-statement-start.
bcdc27d7
FEG
548 (python-nav-end-of-statement): Rename from
549 python-nav-statement-end.
550 (python-nav-beginning-of-block): Rename from
551 python-nav-block-start.
552 (python-nav-end-of-block): Rename from python-nav-block-end.
553
191da00e
FEG
5542012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
555
7f5331cc
MY
556 * progmodes/python.el (python-shell-send-string-no-output):
557 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
558 future interactions (Bug#11868).
559
4dc7c8d5 5602012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 561
88ecaf8f
SM
562 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
563
ef501ef0
SM
564 * emacs-lisp/elint.el (elint-find-args-in-code):
565 Use help-function-arglist, so as to handle lexical byte-code.
566
aa7aaf8f
SM
567 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
568 change (bug#11826).
569
45fd731c
SM
5702012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
571
2143fa32
SM
572 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
573 Avoid spuriously marking the buffer as modified because of c-is-sws.
574
efc26dbe
SM
575 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
576 as not-a-comment (bug#11946).
577
f5695c9a
SM
578 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
579 for uninterned vars.
580
581 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
582 Use read-event since we don't really want to read chars but bytes.
583
45fd731c
SM
584 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
585 $$..$$ but also $..$ using regexps (bug#11953).
586 Use tex-verbatim for \url and \path.
587 (tex-font-lock-keywords): Define as defconst like the others.
588 (tex-common-initialization): Don't use font-lock-syntax-table any more.
589
ddfc8813
RK
5902012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
591
592 * international/mule-cmds.el (ucs-insert): Make it an obsolete
593 alias for insert-char.
594
758e556a
FEG
5952012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
596
597 * progmodes/python.el: Simplified imenu implementation.
598 (python-nav-jump-to-defun): Remove command.
599 (python-mode-map): Use `imenu' instead.
600 (python-nav-list-defun-positions-cache)
601 (python-imenu-include-defun-type, python-imenu-make-tree)
602 (python-imenu-subtree-root-label, python-imenu-index-alist):
603 Remove vars.
604 (python-nav-list-defun-positions, python-nav-read-defun)
605 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
606 (python-imenu-make-tree, python-imenu-create-index):
607 Remove functions.
758e556a
FEG
608 (python-mode): Update to interact with imenu by setting
609 `imenu-extract-index-name-function' only.
610
032d23ab
FEG
6112012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
612
613 * progmodes/python.el: Enhancements to navigation commands.
614 (python-nav-backward-sentence)
615 (python-nav-forward-sentence): Remove.
616 (python-nav-backward-statement, python-nav-forward-statement)
617 (python-nav-statement-start, python-nav-statement-end)
618 (python-nav-backward-block, python-nav-forward-block)
619 (python-nav-block-start, python-nav-block-end)
620 (python-nav-forward-sexp-function)
621 (python-info-current-line-comment-p)
622 (python-info-current-line-empty-p): New functions.
623 (python-indent-context): Use `python-nav-statement-start'.
624
01795a1b
MA
6252012-07-16 Michael Albinus <michael.albinus@gmx.de>
626
9328d9aa
MA
627 * eshell/em-ls.el (eshell/ls): Use `apply'.
628
629 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
630 multi-hops, instead of Tramp internals.
631
01795a1b
MA
632 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
633
634 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
635 when F1 and F2 are located on different hosts.
636
63408057
CY
6372012-07-14 Chong Yidong <cyd@gnu.org>
638
639 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
640 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
641 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
642 (xterm-mouse--read-event-sequence-1000)
643 (xterm-mouse--read-event-sequence-1006): New functions. For old
644 mouse protocol, handle M-mouse-X events correctly.
645 (xterm-mouse-event): New arg specifying mouse protocol.
646 (turn-on-xterm-mouse-tracking-on-terminal)
647 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
648 sequence to toggle extended coordinates on newer XTerms.
649 This appears to be harmless on terminals which do not support this.
63408057 650
cd276f6e
LL
6512012-07-14 Leo Liu <sdl.web@gmail.com>
652
28ca98ac
LL
653 Add fringe bitmap indicators for flymake. (Bug#11253)
654 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
655 (flymake-make-overlay): New arg BITMAP.
656 (flymake-error-bitmap, flymake-warning-bitmap)
657 (flymake-fringe-indicator-position): New user variables.
658
cd276f6e
LL
659 * fringe.el: New bitmap exclamation-mark.
660
04408072
JD
6612012-07-14 Jan Djärv <jan.h.d@swipnet.se>
662
663 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
664 also (Bug#7879).
665
b5cf7fc4
CY
6662012-07-14 Chong Yidong <cyd@gnu.org>
667
668 * electric.el (electric-pair-post-self-insert-function): Fix pair
669 insertion in empty-region case (Bug#11520).
670
be755c79
RT
6712012-07-14 Chong Yidong <cyd@gnu.org>
672
45fd731c
SM
673 * bindings.el: Consolidate ctl-x-r-map bindings.
674 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
675
676 * rect.el, register.el: Move bindings to bindings.el.
677
6782012-07-14 Reuben Thomas <rrt@sc3d.org>
679
680 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
681
7f5b3198
AS
6822012-07-13 Andreas Schwab <schwab@linux-m68k.org>
683
684 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
685
97662200
JB
6862012-07-13 Juanma Barranquero <lekktu@gmail.com>
687
80185fed
JB
688 * bindings.el (top): Use `mapc' instead of `mapcar'.
689
97662200
JB
690 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
691
2bb1ae55
MA
6922012-07-13 Michael Albinus <michael.albinus@gmx.de>
693
694 * progmodes/sql.el (sql-comint): Suppress the check for program on
695 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
696 (Bug#11908)
697
dea31bd3
CY
6982012-07-13 Chong Yidong <cyd@gnu.org>
699
700 * bindings.el: Assign a non-nil permanent-local property to
701 per-buffer variables which lack a default value (Bug#11930).
702
703 * help-fns.el (describe-variable): In the "automatically becomes
704 local" notice, take note of permanent-local variables.
705
b68b3337
CY
7062012-07-13 Chong Yidong <cyd@gnu.org>
707
708 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
709 to allow printing the message when called from Lisp.
710
711 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
712 Remove toggle-read-only.
713
714 * bs.el (bs-toggle-readonly):
45fd731c
SM
715 * buff-menu.el (Buffer-menu-toggle-read-only):
716 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
717
718 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
719 Remove with-no-warnings around toggle-read-only.
720 (ffap-read-only, ffap-read-only-other-window)
721 (ffap-read-only-other-frame): Callers changed.
722
723 * help-mode.el: Don't require view package.
724 (help-mode-finish): Set buffer-read-only instead of calling
725 toggle-read-only.
726
727 * bindings.el (mode-line-toggle-read-only):
728 * dired.el (dired-toggle-read-only):
729 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
730 with non-nil second arg.
731
732 * emacs-lisp/eieio-custom.el (eieio-customize-object):
733 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
734 directly.
735
56bc1586
EZ
7362012-07-12 Eli Zaretskii <eliz@gnu.org>
737
738 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
739 not incf.
740
a464a6c7
SM
7412012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 More CL cleanups and reduction of use of cl.el.
744 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
745 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
746 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
747 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
748 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
749 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
750 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
751 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
752 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
753 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
754 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
755 * eshell/em-cmpl.el, eshell/em-banner.el:
756 * calendar/parse-time.el: Use cl-lib.
757 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
758 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
759 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
760 * term/ns-win.el, term.el, shell.el, ps-samp.el:
761 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
762 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
763 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
764 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
765 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
766 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
767 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
768 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
769 `lambda' rather than with `quote'.
770 (eshell-do-opt): Adjust accordingly.
771 (eshell-process-option): Simplify.
772 * eshell/esh-var.el:
773 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
774 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
775 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
776 to `pcase--dontcare'.
777 * emacs-lisp/cl.el (labels): Mark obsolete.
778 (cl--letf, letf): Move to cl-lib.
779 (cl--letf*, letf*): Remove.
780 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
781 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
782 (cl-progv): Rewrite.
783 (cl--letf, cl-letf): Move from cl.el.
784 (cl-letf*): New macro.
785 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
786
7ad4afe1
MA
7872012-07-11 Michael Albinus <michael.albinus@gmx.de>
788
789 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
790
9af57756
CY
7912012-07-11 Chong Yidong <cyd@gnu.org>
792
793 * vc/log-edit.el (log-edit-vc-backend): New variable.
794 (log-edit): Doc fix.
795
796 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
797 argument of log-edit to set up all local variables.
798 (vc-start-logentry): New optional arg specifying VC backend.
799
800 * vc/vc.el (vc-checkin): Use it.
801 (vc-deduce-fileset): Handle Log Edit buffers.
802 (vc-diff): Make first argument optional too.
803
804 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
805
8477cc7a
MA
8062012-07-10 Michael Albinus <michael.albinus@gmx.de>
807
808 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
809 command, just in case. The function is not needed anymore.
810 (eshell-external-command): Do not call `eshell-remote-command'.
811
19faa8e8
SM
8122012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
813
f58e0fd5
SM
814 Reduce use of (require 'cl).
815 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
816 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
817 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
818 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
819 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
820 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
821 * battery.el, avoid.el, abbrev.el: Use cl-lib.
822 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
823 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
824 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
825 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
826 * calculator.el, autorevert.el, apropos.el: Don't require CL.
827 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
828 (byte-compile-unfold-bcf, byte-compile-check-variable):
829 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
830 (byte-compile-nilconstp):
831 * emacs-lisp/autoload.el (make-autoload): Use pcase.
832 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
833
2519d43a
SM
834 * emacs-lisp/gv.el (cond): Make it a valid place.
835 (if): Simplify slightly.
836
19faa8e8
SM
837 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
838 (pcase--self-quoting-p): New function.
839 (pcase--u1): Use it.
840
c4907a5e
GM
8412012-07-10 Glenn Morris <rgm@gnu.org>
842
843 * emacs-lisp/authors.el (authors-fixed-entries):
844 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
845
c4444d16
PE
8462012-07-09 Paul Eggert <eggert@cs.ucla.edu>
847
848 Rename configure.in to configure.ac (Bug#11603).
849 * emacs-lisp/authors.el (authors-canonical-file-name):
850 * progmodes/autoconf.el (autoconf-mode):
851 Prefer configure.ac to configure.in.
852
d75be97d
CY
8532012-07-08 Chong Yidong <cyd@gnu.org>
854
01ac65bd
CY
855 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
856 Implement the mouse-1-click-follows-link handling properly.
857
858 * info.el (Info-link-keymap): Use follow-link mechanism for
859 header-line links (Bug#374).
860
d75be97d
CY
861 * simple.el (deactivate-mark): Do not set the primary selection
862 if another program has acquired it (Bug#11772).
863
87a92845 8642012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
865
866 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
867 (woman-decode-region): Replace escaped-escapes without destroying
868 bold or underline (Bug#11552).
87a92845 869 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 870
621b9d6c
CY
8712012-07-07 Chong Yidong <cyd@gnu.org>
872
873 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
874 (interprogram-cut-function, interprogram-paste-function):
875 Mention that we typically mean the clipboard.
621b9d6c 876
133a11fc
GM
8772012-07-06 Glenn Morris <rgm@gnu.org>
878
0d27a45e
GM
879 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
880
133a11fc
GM
881 * files.el (toggle-read-only): Restrict message to interactive use.
882
07b151f1
MA
8832012-07-06 Michael Albinus <michael.albinus@gmx.de>
884
885 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
886
887 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
888
211b896b
GM
8892012-07-06 Glenn Morris <rgm@gnu.org>
890
50394322
GM
891 * Makefile.in (compile-one-process): Rename from "recompile".
892
211b896b
GM
893 * Makefile.in (bzr-update): "compile" is the same as "recompile
894 autoloads", but parallelizable, so use that instead.
895
4737eec9
DG
8962012-07-06 Dmitry Gutov <dgutov@yandex.ru>
897
898 * window.el (quit-window): Always restore window height when
8137e7b3 899 it's saved in quit-restore parameter (Bug#11810).
4737eec9 900
226c3633 9012012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
902
903 * simple.el (kill-whole-line): Doc tweak.
904
226c3633 9052012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
906
907 * files.el (file-relative-name): Compare file names
908 case-insensitively if on MS-Windows or MS-DOS, or if
909 read-file-name-completion-ignore-case is non-nil. Don't use
910 case-fold-search for this purpose. (Bug#11827)
911
4dc7c8d5
SM
9122012-07-17 Andreas Schwab <schwab@linux-m68k.org>
913
914 * calendar/cal-dst.el (calendar-current-time-zone):
915 Return calendar-current-time-zone-cache if non-nil.
916
9172012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 9182012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 919
19faa8e8
SM
920 * calendar/cal-dst.el (calendar-current-time-zone):
921 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 922
60198fc9
GM
9232012-07-06 Glenn Morris <rgm@gnu.org>
924
925 * Makefile.in (cvs-update): Remove old alias.
926
957b3189
MA
9272012-07-05 Michael Albinus <michael.albinus@gmx.de>
928
929 Sync with Tramp 2.2.6-pre.
930
931 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
932 compatible declaration.
933
19faa8e8
SM
934 * net/tramp-cmds.el (tramp-append-tramp-buffers):
935 Protect `list-load-path-shadows' call.
957b3189
MA
936
937 * net/tramp-compat.el (top): Require packages, which aren't
938 autoloaded anymore for XEmacs. Protect call of
939 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
940 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
941 it hurts at least for SXEmacs.
942 (tramp-compat-temporary-file-directory): In XEmacs, there is no
943 standard-value for `temporary-file-directory'.
944
945 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
946 Redirect stderr to /dev/null.
947 (tramp-sh-handle-write-region): uid and gid can be floats.
948 Reported by Russell Sim <russell.sim@gmail.com>.
949 (tramp-sh-handle-vc-registered): Hide errors.
950 (tramp-vc-file-name-handler): Use dummy results for `process-file'
951 and `start-file-process'.
952 (tramp-maybe-open-connection): Check also whether `non-essential'
953 is bound.
954
566df3fc
CY
9552012-07-04 Chong Yidong <cyd@gnu.org>
956
957 * xml.el (xml--parse-buffer): Use xml-syntax-table.
958 (xml-parse-tag): Likewise, and avoid changing entity tables.
959 (xml-syntax-table): Define from scratch, making sure not to give
960 x2000 and other Unicode spaces whitespace syntax, since those are
961 not spaces in XML.
962 (xml-parse-fragment): Delete unused function.
963 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
964 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
965 (xml-entity-ref, xml-pe-reference-re)
966 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
967 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
968 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
969 (xml-entity-value-re): Use syntax references in regexps where
970 possible; no need to define inside a let-binding.
971 (xml-parse-dtd): Use xml-pe-reference-re.
972 (xml-entity-or-char-ref-re): New defconst.
973 (xml-parse-string, xml-substitute-special): Use it.
974
30eabd7a
SM
9752012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
976
0781098a
SM
977 * files.el (locate-dominating-file): Allow `name' to be a predicate.
978 (find-file--read-only): New function.
979 (find-file-read-only, find-file-read-only-other-window)
980 (find-file-read-only-other-frame): Use it.
981 (insert-file-contents-literally): Don't `fset'.
982 (get-free-disk-space): Use locate-dominating-file.
983
b5771c0d
SM
984 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
985 function is already compiled.
986
30eabd7a
SM
987 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
988
b4886f6e
MA
9892012-07-03 Michael Albinus <michael.albinus@gmx.de>
990
991 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
992 files on the same host.
993
b9d82339
AS
9942012-07-03 Andreas Schwab <schwab@linux-m68k.org>
995
996 * help-fns.el (describe-function-1): Only call
997 help-fns--autoloaded-p when we have a file name. (Bug#11848)
998
a76e6535
CY
9992012-07-03 Chong Yidong <cyd@gnu.org>
1000
1001 * xml.el: Protect parser against XML bombs.
1002 (xml-entity-expansion-limit): New variable.
1003 (xml-parse-string, xml-substitute-special): Use it.
1004 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1005
b544fef2
GM
10062012-07-03 Glenn Morris <rgm@gnu.org>
1007
1008 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1009 Allow linking to specific messages in debbugs reports (eg 123#5).
1010
a7aef6f5
CY
10112012-07-02 Chong Yidong <cyd@gnu.org>
1012
1013 * xml.el: Fix entity and character reference expansion, allowing
1014 them to expand into markup as per XML spec.
1015 (xml-default-ns): New variable.
1016 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1017 (xml-parse-region): Make first two arguments optional.
1018 Discard text properties.
1019 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1020 All callers changed.
a7aef6f5
CY
1021 (xml-parse-tag): Call xml-parse-tag-1. For backward
1022 compatibility, this function should not modify buffer contents.
1023 (xml-parse-tag-1): Fix opening-tag regexp.
1024 (xml-parse-string): Rewrite, handling entity and character
1025 references properly.
1026 (xml--entity-replacement-text): Signal an error if a parameter
1027 entity is undefined.
1028
3df31c9f
SM
10292012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1030
2b5208f1
SM
1031 * comint.el (comint-output-filter): Filter out repeated prompts.
1032
3df31c9f
SM
1033 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1034 and file-name-absolute-p.
1035 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1036 internal calls.
1037
e3ac1281
PE
10382012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1039
1040 Spelling fixes.
1041 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1042 Rename from byte-compile--refiy-function. All uses changed.
1043
fbf2e7ad
CY
10442012-07-01 Chong Yidong <cyd@gnu.org>
1045
1046 * xml.el (xml--parse-buffer): New function. Move most of
1047 xml-parse-region here.
1048 (xml-parse-region): Copy region into a temporary buffer, since
1049 parameter entity substitution requires changing buffer contents.
1050 Use xml--parse-buffer.
1051 (xml-parse-file): Use xml--parse-buffer.
1052 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1053 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1054
9bf0aa15
GM
10552012-06-30 Glenn Morris <rgm@gnu.org>
1056
bbce2853
GM
1057 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1058
9bf0aa15
GM
1059 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1060 Remove outdated and unnecessary dbus declarations.
1061
0d23c240
EZ
10622012-06-30 Eli Zaretskii <eliz@gnu.org>
1063
1064 * emacs-lisp/timer.el (timer-until): Subtract results of
1065 float-time, instead of taking float-time of the result of
1066 time-subtract, since float-time signals an error for negative time
1067 arguments.
1068
b3218de1
CY
10692012-06-30 Chong Yidong <cyd@gnu.org>
1070
1071 * xml.el (xml-*-re): Convert defvars into defconsts, and
1072 eval-and-compile them so eval-and-compile works on derivatives.
1073 (xml--entity-replacement-text): Use eval-and-comple.
1074
a40c87a0
MA
10752012-06-30 Michael Albinus <michael.albinus@gmx.de>
1076
1077 * vc/vc-git.el (vc-git-registered): Use cache property
1078 `git-registered'.
1079 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1080 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1081 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1082
ac87de97
DG
10832012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1084
1085 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1086 removed (likely outside Emacs). (Bug#11757)
ac87de97 1087
ac10fe06
SM
10882012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1089
3df31c9f 1090 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1091
7f3fbd5d
CY
10922012-06-30 Chong Yidong <cyd@gnu.org>
1093
1094 * xml.el: Implement XML parameter entities.
1095 (xml-parameter-entity-alist): New variable.
1096 (xml-parse-region, xml-parse-fragment): Preserve previous values
1097 of xml-entity-alist and xml-parameter-entity-alist, so that
1098 repeated calls on different documents do not change them.
1099 (xml-parse-tag): Fix doctype regexp.
1100 (xml--entity-replacement-text): New function.
1101 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1102 properly requires url retrieval which is unimplemented.
1103 (xml-escape-string): Doc fix.
1104
3cfbebba
SM
11052012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1108
2af3565e
DA
11092012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1110
1111 * fringe.el (fringe-mode): Doc fix.
1112
929df0e7
MA
11132012-06-29 Michael Albinus <michael.albinus@gmx.de>
1114
1115 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1116 is non-nil.
1117 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1118 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1119
c8d3a25c 11202012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1121
c8d3a25c
GM
1122 * calendar/cal-dst.el (calendar-current-time-zone):
1123 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1124
c8d3a25c 11252012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1126
1127 * progmodes/which-func.el (which-func-format):
1128 Add mouse-face. (Bug#11698)
1129
c8d3a25c
GM
11302012-06-29 Leo Liu <sdl.web@gmail.com>
1131
1132 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1133
11342012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * minibuffer.el (minibuffer-confirm-exit-commands):
1137 Add completion-at-point (bug#11725).
1138
11392012-06-29 Glenn Morris <rgm@gnu.org>
1140
1141 * progmodes/f90.el (f90-font-lock-keywords-2):
1142 Add some preprocessor elements. (Bug#10499)
1143
11442012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1147 Use syntax-propertize (bug#11739).
1148
2badeec4
JB
11492012-06-28 Juanma Barranquero <lekktu@gmail.com>
1150
1151 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1152
ae4969c2
JD
11532012-06-28 Julien Danjou <julien@danjou.info>
1154
1155 * term.el (term-handle-colors-array): Use a set of new faces to
1156 color the terminal. Also uses :inverse-video property.
1157 (term-default-fg-color): Set to nil by default, deprecate in favor
1158 of `term-face'.
1159 (term-default-bg-color): Set to nil by default, deprecate in favor
1160 of `term-face'.
1161 (term-current-face): Use `term-face' by default.
1162 (term-bold-attribute): Variable deleted.
1163
1c9bd870
GM
11642012-06-28 Glenn Morris <rgm@gnu.org>
1165
1166 * simple.el (completion-list-mode-finish):
1167 Don't use toggle-read-only. (Since completion-list-mode has
1168 a special mode-class, it wasn't doing anything extra anyway.)
1169
c207708c
SM
11702012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 Make inlining of other-mode interpreted functions work (bug#11799).
1173 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1174 (byte-compile): Use it to fix compilation of lexical-binding closures.
1175 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1176 function, if needed.
1177
3fd56834
SM
11782012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1179
04901786
SM
1180 * help-mode.el (help-make-xrefs): Don't just withstand
1181 cyclic-variable-indirection but any error in documentation-property.
1182
1ec4b7b2
SM
1183 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1184 memory use.
1185 * bindings.el (bindings--define-key): New function.
1186 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1187 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1188 * bindings.el: Use it to purecopy define-key bindings.
1189
e309e2a5
SM
1190 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1191
d5c6faf9
SM
1192 * emacs-lisp/cl.el (flet): Mark obsolete.
1193 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1194 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1195 * progmodes/js.el (js-c-fill-paragraph):
1196 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1197 (ebrowse-switch-member-buffer-to-derived-class):
1198 * play/5x5.el (5x5-solver): Use cl-flet.
1199
6e9590e2
SM
1200 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1201 (cl--symbol-function): New macro.
1202 (cl--letf, cl--letf*): Use it.
1203
3fd56834
SM
1204 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1205 Strip "toggle-" if any.
1206
35ff222c
GM
12072012-06-27 Glenn Morris <rgm@gnu.org>
1208
1ba6038a
GM
1209 * info.el (Info-default-directory-list): Move here from paths.el.
1210 * paths.el: Remove file, which is now empty.
1211 * loadup.el: No longer load "paths".
1212
0ea0e51b
GM
1213 * custom.el (custom-initialize-delay): Doc fix.
1214
35ff222c
GM
1215 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1216 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1217 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1218 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1219 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1220 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1221 * eshell/eshell.el (eshell-defgroup): Remove alias.
1222
c89926a5
CY
12232012-06-27 Chong Yidong <cyd@gnu.org>
1224
1225 * help.el (help-enable-auto-load): New variable.
1226
1227 * help-fns.el (help-fns--autoloaded-p): New function.
1228 (describe-function-1): Refer to a function as "autoloaded" if it
1229 was autoloaded at any time in the past. Perform autoloading if
1230 help-enable-auto-load is non-nil.
1231
cc06e7e7
EZ
12322012-06-26 Eli Zaretskii <eliz@gnu.org>
1233
1234 * makefile.w32-in (compile, compile-always): Depend on
1235 update-subdirs, not on subdirs.el. Otherwise, several different
1236 sub-targets of 'bootstrap' running in parallel could
1237 simultaneously write to subdirs.el, producing a garbled file.
1238
d2c32364
SS
12392012-06-26 Sam Steingold <sds@gnu.org>
1240
1241 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1242 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1243 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1244 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1245 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1246 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1247 * textmodes/tex-mode.el: Use it.
1248 Did not touch cedet and org because they are maintained elsewhere.
1249
5cf983b2
MR
12502012-06-26 Martin Rudalics <rudalics@gmx.at>
1251
1252 * calendar/calendar.el (calendar-exit): Don't try to delete or
1253 iconify last frame. See:
1254 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1255
8c4f2952
JD
12562012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1257
1258 * server.el (server-process-filter): Remember dir in the
1259 process's `server-client-directory' properties.
1260
772b2e2c
CY
12612012-06-24 Chong Yidong <cyd@gnu.org>
1262
1263 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1264 non-tag text.
1265
711b11e1
JB
12662012-06-23 Juanma Barranquero <lekktu@gmail.com>
1267
1268 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1269
dc5d230c
SM
12702012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * help-fns.el (describe-variable): Don't croak when doc is not found.
1273 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1274 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1275 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1276 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1277 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1278 ((lambda ..) ..).
1279 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1280
136e1c1d
CY
12812012-06-23 Chong Yidong <cyd@gnu.org>
1282
e8c1cabf
CY
1283 * info.el (Info-mouse-follow-link): Accept symbol values of
1284 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1285 (Info-fontify-node): Use Info-link-keymap for all navigation
1286 buttons, with link-args property to perform the desired action.
1287 (Info-link-keymap): Doc fix.
1288 (Info-next-link-keymap, Info-prev-link-keymap)
1289 (Info-up-link-keymap): Delete now-unused keymaps.
1290
0e9e6c6a
CY
12912012-06-23 Chong Yidong <cyd@gnu.org>
1292
05e89fea
CY
1293 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1294
0e9e6c6a
CY
1295 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1296 system abbrevs.
1297
1298 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1299
e33c6771
SM
13002012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1301
b68581e2
SM
1302 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1303 (bug#11719).
1304
e33c6771
SM
1305 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1306 the requote function doesn't work properly (bug#11714).
1307
7117e105
GM
13082012-06-23 Glenn Morris <rgm@gnu.org>
1309
1310 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1311
36cec983
SM
13122012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 Further GV/CL cleanups.
1315 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1316 gv-expander.
1317 (gv--defun-declaration): New function.
1318 (defun-declarations-alist): Use it.
1319 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1320 (gv-place): Autoload.
1321 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1322 original definition of dotimes and dolist.
1323 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1324 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1325 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1326 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1327 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1328 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1329 to the function's definition.
1330 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1331 * window.el:
1332 * files.el:
1333 * faces.el:
1334 * env.el: Don't use CL.
1335
d35af63c
PE
13362012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1337
1338 Support higher-resolution time stamps (Bug#9000).
1339
1340 * calendar/time-date.el (with-decoded-time-value): New arg
1341 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1342 (encode-time-value): New optional arg PICO. New type 3.
1343 (time-to-seconds) [!float-time]: Support the new picoseconds
1344 component if it's used.
1345 (seconds-to-time, time-subtract, time-add):
1346 Support ps-resolution time stamps as well.
1347
1348 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1349 (timerp): Timer vectors now have length 9, not 8.
1350 (timer--time): Support new-style (4-part) time stamps.
1351 (timer-next-integral-multiple-of-time): Time stamps now have
1352 picosecond resolution, so take a bit more care about rounding.
1353 (timer-relative-time, timer-inc-time): New optional arg psecs.
1354 (timer-set-time-with-usecs): Set psecs to 0.
1355 (timer--activate): Check psecs component, too.
1356
1357 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1358
ac77b21a
SM
13592012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1360
f143bfe3
SM
1361 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1362 Move the non-essential binding to the post/pre-command-hook where it is
1363 more obviously correct.
1364
ac77b21a
SM
1365 * subr.el (read-passwd): Don't use a history at all.
1366 * savehist.el (savehist-save): Remove password saved accidentally
1367 because of the above bug.
1368
76386c5a
BG
13692012-06-22 Bastien Guerry <bzg@gnu.org>
1370
1371 * files.el (toggle-read-only): Display a message telling whether
1372 the buffer is read-only or not (bug#11726).
1373
2ee3d7f0
SM
13742012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * emacs-lisp/gv.el: New file.
1377 * subr.el (push, pop): Extend to generalized variables.
1378 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1379 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1380 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1381 gv-define-simple-setter, and gv-define-expander.
1382 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1383 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1384 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1385 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1386 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1387 gv-letplace.
1388 (cl-defstruct): Don't define setf-method any more.
1389 * emacs-lisp/cl.el (flet): Don't autoload.
1390 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1391 (define-setf-expander, defsetf, define-modify-macro)
1392 (cl-struct-setf-expander): Move from cl-lib.el.
1393 * emacs-lisp/syntax.el:
1394 * emacs-lisp/ewoc.el:
1395 * emacs-lisp/smie.el:
1396 * emacs-lisp/cconv.el:
1397 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1398 (timer--time): Use gv-define-simple-setter.
1399 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1400 to avoid coding-system problems in subr.el. Adjust all users.
1401 (macroexp--maxsize, macroexp-small-p): New functions.
1402 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1403 * scroll-bar.el (scroll-bar-mode):
1404 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1405 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1406 * winner.el (winner-configuration, winner-make-point-alist)
1407 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1408 * files.el (locate-file-completion-table): Avoid list*.
1409
c5695d1d
CY
14102012-06-22 Chong Yidong <cyd@gnu.org>
1411
1412 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1413 (dired-create-files): Doc fix (Bug#11329).
1414 (dired-do-copy): Doc fix (Bug#11334).
1415 (dired-mark-read-string): Doc fix (Bug#11553).
1416
2ee3d7f0
SM
1417 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1418 Doc fix (Bug#11326).
c5695d1d
CY
1419 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1420 (dired-dwim-target): Doc fix.
1421
1422 * wdired.el (wdired-mode): Doc fix.
1423
89b5595a
GM
14242012-06-22 Glenn Morris <rgm@gnu.org>
1425
575db3f1
GM
1426 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1427 (pcmpl-rpm-cache-stamp-file): New constant.
1428 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1429 (pcmpl-rpm-packages): Optionally cache list of packages.
1430
a4c8dd51
GM
1431 * pcmpl-rpm.el (pcmpl-rpm): New group.
1432 (pcmpl-rpm-query-options): New option.
1433 (pcmpl-rpm-packages): No need to inline it.
1434 Use pcmpl-rpm-query-options.
1435
89b5595a
GM
1436 * calendar/calendar.el (calendar-in-read-only-buffer):
1437 Avoid some needless mode changes.
1438
e76f0800
CY
14392012-06-21 Chong Yidong <cyd@gnu.org>
1440
1441 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1442 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1443 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1444
297a8f1d
CY
14452012-06-20 Chong Yidong <cyd@gnu.org>
1446
1447 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1448
d34c18b1
DR
14492012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1450
1451 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1452 (bug#11201).
1453
32f7f28e
CY
14542012-06-20 Chong Yidong <cyd@gnu.org>
1455
1456 * term.el (term-window-width): Handle the case of a missing right
1457 fringe (Bug#8837).
1458 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1459 (term-mode): Use define-derived-mode. Minor cleanups.
1460 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1461 (term-move-columns, term-insert-char, term-emulate-terminal)
1462 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1463
493c6688
MA
14642012-06-20 Michael Albinus <michael.albinus@gmx.de>
1465
d34c18b1
DR
1466 * net/ange-ftp.el (ange-ftp-get-passwd):
1467 Bind `enable-recursive-minibuffers'.
493c6688
MA
1468 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1469
3f06ecf4
DR
14702012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1471
1472 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1473
68f12411
GM
14742012-06-19 Glenn Morris <rgm@gnu.org>
1475
1476 * progmodes/python.el (python-mode): Derive from prog-mode.
1477
b3820318
KG
14782012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1479
1480 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1481 (edt-user-menu-bar-update-buffers): New functions.
1482 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1483
c6bf3022
CY
14842012-06-19 Chong Yidong <cyd@gnu.org>
1485
1486 * subr.el (with-selected-window): Preserve the selected window's
1487 terminal's top-frame (Bug#4702).
1488
1489 * window.el (save-selected-window): Likewise.
1490
25f09295
SM
14912012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * progmodes/python.el (python-rx-constituents): Move backquote.
1494 (python-skeleton-define, python-define-auxiliary-skeleton):
1495 Use `declare'.
1496
6b11952a
MA
14972012-06-18 Michael Albinus <michael.albinus@gmx.de>
1498
1499 * minibuffer.el (read-file-name-default): Revert the patch from
1500 2012-06-17.
1501
ee4b1330
SM
15022012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1503
1504 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1505 (pcase--u1, pcase--q1): Don't use apply-partially.
1506
35647f79
GM
15072012-06-18 Glenn Morris <rgm@gnu.org>
1508
1509 * progmodes/python.el (python-proc, python-buffer)
1510 (python-send-receive, python-send-string): Fix obsolete versions.
1511
24b0cff0
MR
15122012-06-18 Martin Rudalics <rudalics@gmx.at>
1513
1514 * window.el (special-display-p): Completely remove stringp
1515 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1516
29855149
MA
15172012-06-17 Michael Albinus <michael.albinus@gmx.de>
1518
1519 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1520
1521 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1522
1523 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1524 * net/tramp-sh.el (tramp-maybe-open-connection):
1525 Throw if `non-essential' is non-nil.
1526
07463363
MR
15272012-06-17 Martin Rudalics <rudalics@gmx.at>
1528
1529 * window.el (special-display-p): Signal an error if BUFFER-NAME
1530 is not a string (Bug#11713).
1531
48d1354e
PE
15322012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1533
1534 * progmodes/python.el (python-info-beginning-of-backslash):
1535 Rename from python-info-beginning-of-backlash, as a spelling fix.
1536
eb4a8a9a
CY
15372012-06-17 Chong Yidong <cyd@gnu.org>
1538
1539 * term.el (term-emulate-terminal): If term-check-size is called,
1540 move point to the process mark without resetting point (Bug#4635).
1541
ddfbf826 15422012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1543
1544 * international/mule-cmds.el (mule-menu-keymap)
1545 (set-language-environment, set-locale-environment): Doc tweaks.
1546
9b0e3eba
AA
15472012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1548
1549 * cus-face.el (custom-face-attributes): Add wave-style underline
1550 attribute.
1551 * faces.el (set-face-attribute): Update docstring to describe
1552 wave-style underline attribute.
1553
771e3eae
CY
15542012-06-16 Chong Yidong <cyd@gnu.org>
1555
1556 * term/xterm.el (terminal-init-xterm): Discard input before
1557 querying background mode (Bug#10959).
1558
7ae2ea10
SM
15592012-06-16 Stefan Merten <smerten@oekonux.de>
1560
1561 * textmodes/rst.el: Added and corrected some comments.
1562 (rst-re-alist-def): Improve symbol syntax.
1563 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1564 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1565 (rst-official-version, rst-official-cvs-rev): Update version
1566 information.
7ae2ea10 1567
b6974efa
JB
15682012-06-15 Juanma Barranquero <lekktu@gmail.com>
1569
1570 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1571 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1572
8826d473
GM
15732012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1574
1575 * progmodes/python.el: New python.el merge.
1576 (python-guess-indent): Obsolete var.
1577 (python-indent-guess-indent-offset): New defcustom.
1578 (python-indent): Obsolete var.
1579 (python-indent-offset): New defcustom.
1580 (python-python-command, python-jython-command): Delete var.
1581 (python-shell-interpreter): New defcustom.
1582 (python-pdbtrack-do-tracking-p): Delete var.
1583 (python-pdbtrack-activate): New defcustom.
1584 (python-use-skeletons): Obsolete var.
1585 (python-skeleton-autoinsert): New defcustom.
1586 (inferior-python-filter-regexp, python-continuation-offset)
1587 (python-honour-comment-indentation, python-indent-string-contents)
1588 (python-jython-packages, python-mode-hook)
1589 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1590 (python-shell-prompt-alist)
1591 (python-source-modes): Delete defcustoms.
1592 (python-check-buffer-name, python-eldoc-setup-code)
1593 (python-eldoc-string-code, python-ffap-setup-code)
1594 (python-ffap-string-code, python-fill-comment-function)
1595 (python-fill-decorator-function, python-fill-paren-function)
1596 (python-fill-string-function, python-imenu-include-defun-type)
1597 (python-imenu-make-tree, python-imenu-subtree-root-label)
1598 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1599 (python-shell-compilation-regexp-alist)
1600 (python-shell-completion-module-string-code)
1601 (python-shell-completion-pdb-string-code)
1602 (python-shell-completion-setup-code)
1603 (python-shell-completion-string-code)
1604 (python-shell-enable-font-lock, python-shell-exec-path)
1605 (python-shell-extra-pythonpaths)
1606 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1607 (python-shell-process-environment)
1608 (python-shell-prompt-block-regexp)
1609 (python-shell-prompt-output-regexp)
1610 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1611 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1612 (python-shell-virtualenv-path): New defcustoms.
1613 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1614 (inferior-python-mode-syntax-table, python--prompt-regexp)
1615 (python-buffer, python-command python-python-command)
1616 (python-default-template, python-imports, python-indent-index)
1617 (python-indent-list, python-indent-list-length)
1618 (python-mode-running, python-pdbtrack-is-tracking-p)
1619 (python-preoutput-continuation, python-preoutput-leftover)
1620 (python-preoutput-result, python-preoutput-skip-next-prompt)
1621 (python-prev-dir/file, python-recursing)
1622 (python-saved-check-command, python-version-checked)
1623 (python-which-func-length-limit)
1624 (view-return-to-alist): Delete vars.
1625 (python-check-custom-command, python-dotty-syntax-table)
1626 (python-imenu-index-alist, python-indent-current-level)
1627 (python-indent-dedenters, python-indent-levels)
1628 (python-nav-beginning-of-defun-regexp)
1629 (python-nav-list-defun-positions-cache)
1630 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1631 (python-shell-internal-buffer)
1632 (python-skeleton-available): New vars.
1633 (def-python-skeleton): Delete macro.
1634 (python-skeleton-define): New macro.
1635 (python-define-auxiliary-skeleton, python-rx): New macros.
1636 (python-insert-class): Delete command.
1637 (python-skeleton-class): New command.
1638 (python-insert-def): Delete command.
1639 (python-skeleton-def): New command.
1640 (python-insert-for): Delete command.
1641 (python-skeleton-for): New command.
1642 (python-insert-if): Delete command.
1643 (python-skeleton-if): New command.
1644 (python-insert-try/except, python-insert-try/finally): Delete commands.
1645 (python-skeleton-try): New command.
1646 (python-insert-while): Delete command.
1647 (python-skeleton-while): New command.
1648 (python-backspace): Delete command.
1649 (python-indent-dedent-line-backspace): New command.
1650 (python-electric-colon): Delete command.
1651 (python-indent-electric-colon): New command.
1652 (python-guess-indent): Delete command.
1653 (python-indent-guess-indent-offset): New command.
1654 (python-shift-left): Delete command.
1655 (python-indent-shift-left): New command.
1656 (python-shift-right): Delete command.
1657 (python-indent-shift-right): New command.
1658 (python-find-function): Delete command.
1659 (python-nav-jump-to-defun): New command.
1660 (python-next-statement): Delete command.
1661 (python-nav-forward-sentence): New command.
1662 (python-previous-statement): Delete command.
1663 (python-nav-backward-sentence): New command.
1664 (python-fill-paragraph): Delete command.
1665 (python-fill-paragraph-function): New command.
1666 (python-send-buffer): Delete command.
1667 (python-shell-send-buffer): New command.
1668 (python-send-defun): Delete command.
1669 (python-shell-send-defun): New command.
1670 (python-send-region, python-send-region-and-go): Delete commands.
1671 (python-shell-send-region)
1672 (python-shell-switch-to-shell): New commands.
1673 (python-send-string): Delete command.
1674 (python-shell-send-string): New command.
1675 (python-switch-to-python): Delete command.
1676 (python-shell-switch-to-shell): New command.
1677 (python-describe-symbol): Delete command.
1678 (python-eldoc-at-point): New command.
1679 (python--set-prompt-regexp, python-args-to-list)
1680 (python-after-info-look, python-check-version)
1681 (python-check-comint-prompt, python-find-imports)
1682 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1683 (python-unload-function, python-expand-template)
1684 (python-maybe-jython, python-preoutput-filter)
1685 (python-pdbtrack-get-source-buffer)
1686 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1687 (python-pdbtrack-toggle-stack-tracking)
1688 (python-pdbtrack-track-stack-file, python-initial-text)
1689 (python-first-word, python-comment-line-p, python-send-command)
1690 (python-setup-brm, python-sentinel, python-set-proc)
1691 (python-skip-out, python-input-filter, python-outdent-p)
1692 (python-outline-level, python-backslash-continuation-line-p)
1693 (python-end-of-block, python-end-of-statement, python-mark-block)
1694 (python-beginning-of-block, python-beginning-of-statement)
1695 (python-blank-line-p, python-beginning-of-string)
1696 (python-open-block-statement-p): Delete functions.
1697 (python-indent-line, python-indent-line-1): Delete functions.
1698 (python-indent-line): New function.
1699 (python-indentation-levels): Delete function.
1700 (python-indent-calculate-levels): New function.
1701 (python-proc): Delete function.
1702 (python-shell-get-process): New function.
1703 (python-send-receive): Delete function.
1704 (python-shell-send-string-no-output): New function.
1705 (python-module-path): Delete function.
1706 (python-ffap-module-path): New function.
1707 (python-completion-at-point)
1708 (python-symbol-completions): Delete functions.
1709 (python-completion-complete-at-point): New function.
1710 (python-load-file): Delete function.
1711 (python-shell-send-file): New function.
1712 (python-calculate-indentation): Delete function.
1713 (python-indent-calculate-indentation): New function.
1714 (python-skip-comments/blanks): Delete function.
1715 (python-util-forward-comment): New function.
1716 (python-continuation-line-p): Delete function.
1717 (python-info-continuation-line-p): New function.
1718 (python-which-func, python-current-defun): Delete function.
1719 (python-info-current-defun): New function.
1720 (python-beginning-of-defun): Delete function.
1721 (python-nav-beginning-of-defun): New function.
1722 (python-close-block-statement-p)
1723 (python-block-end-p): Delete function.
1724 (python-info-closing-block): New function.
1725 (python-comint-output-filter-function)
1726 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1727 (python-fill-comment, python-fill-decorator, python-fill-paren)
1728 (python-fill-string, python-imenu-make-element-tree)
1729 (python-imenu-make-tree, python-imenu-tree-assoc)
1730 (python-indent-context, python-indent-dedent-line)
1731 (python-indent-line-function)
1732 (python-indent-post-self-insert-function)
1733 (python-indent-toggle-levels)
1734 (python-info-assignment-continuation-line-p)
1735 (python-info-beginning-of-backlash)
1736 (python-info-block-continuation-line-p)
1737 (python-info-closing-block-message)
1738 (python-info-line-ends-backslash-p)
1739 (python-info-looking-at-beginning-of-defun)
1740 (python-info-ppss-context, python-info-ppss-context-type)
1741 (python-nav-list-defun-positions, python-nav-read-defun)
1742 (python-nav-sentence-end, python-nav-sentence-start)
1743 (python-pdbtrack-comint-output-filter-function)
1744 (python-pdbtrack-set-tracked-buffer)
1745 (python-shell-calculate-exec-path)
1746 (python-shell-calculate-process-environment)
1747 (python-shell-completion--do-completion-at-point)
1748 (python-shell-completion--get-completions)
1749 (python-shell-completion-complete-at-point)
1750 (python-shell-completion-complete-or-indent)
1751 (python-shell-get-or-create-process)
1752 (python-shell-get-process-name)
1753 (python-shell-internal-get-or-create-process)
1754 (python-shell-internal-get-process-name)
1755 (python-shell-internal-send-string, python-shell-make-comint)
1756 (python-shell-parse-command, python-shell-send-setup-code)
1757 (python-skeleton-add-menu-items)
1758 (python-util-clone-local-variables, python-util-position)
1759 (run-python-internal, python-indentation-levels)
1760 (python-nav-beginning-of-defun)
1761 (python-completion-complete-at-point): New functions.
1762 (run-python): Change arguments. New API requirements.
1763
4302f5ba
SM
17642012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1765
f38ea36d
SM
1766 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1767 (bug#11649).
1768
1769 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1770 (macroexp--expand-all): Use it.
1771
4302f5ba
SM
1772 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1773 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1774 Use `cl-function' instead.
1775
33377562
JB
17762012-06-14 Juanma Barranquero <lekktu@gmail.com>
1777
1778 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1779 Suggested by Stefan Monnier while discussing bug#11657.
1780
54c5ba1a
SS
17812012-06-14 Sam Steingold <sds@gnu.org>
1782
1783 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1784
f9f1b1fe
AS
17852012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1786
1787 * play/doctor.el (doctor-doc): Remove parameter and use
1788 doctor-sent instead of sent.
1789 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1790
a81068ba
SM
17912012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1792
5a315f9c
SM
1793 * files.el: Require cl-lib.
1794 (file-name-non-special): Replace case -> cl-case.
1795
1796 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1797
a81068ba
SM
1798 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1799 mapping from #' to function*.
1800
8cca9703
CY
18012012-06-13 Chong Yidong <cyd@gnu.org>
1802
1803 * mouse.el (mouse-drag-track): Do not set the mark if the user
1804 releases the mouse without selecting anything (Bug#11588).
1805
a12ac9d7
SM
18062012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1807
ccf1dc18
SM
1808 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1809 as well (bug#11646).
1810
ef62b23d
SM
1811 * loadup.el: Count byte-code functions as well.
1812
c4c8444a
SM
1813 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1814 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1815
a12ac9d7
SM
1816 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1817 (bug#11649). Add cl-defun and cl-defmacro.
1818
87e6e64f
DA
18192012-06-13 Drew Adams <drew.adams@oracle.com>
1820
1821 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1822 Fix last change.
1823
682cefaf
MA
18242012-06-13 Michael Albinus <michael.albinus@gmx.de>
1825
1826 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1827 Otherwise, it blocks in batch mode.
1828
773e1f08
JB
18292012-06-13 Juanma Barranquero <lekktu@gmail.com>
1830
1831 * help-mode.el (bookmark-make-record-default): Declare.
1832
60057926
CY
18332012-06-13 Chong Yidong <cyd@gnu.org>
1834
1835 * emacs-lisp/package.el (list-packages): Compute a list of
1836 packages that are newly-available since the last list-packages
1837 invocation.
1838 (package-menu--new-package-list): New var.
1839 (package-menu--generate, package-menu--print-info)
1840 (package-menu--status-predicate, package-menu-mark-install):
1841 Handle new status label "new".
1842
ad4d226c
SM
18432012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1846 conversion to backquotes.
1847
f1a4e679
CY
18482012-06-12 Chong Yidong <cyd@gnu.org>
1849
1850 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1851 Rename from gud-inhibit-global-bindings.
1852
1853 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1854
1855 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1856 hook from nxml-glyph-set-hook.
1857
1858 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1859 declaration.
1860
1861 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1862
1863 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1864 Convert to defcustom.
1865
0c9e42b5
DA
18662012-06-12 Drew Adams <drew.adams@oracle.com>
1867
1868 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1869 New functions.
1870 (help-mode): Use them.
1871
09e06855
GM
18722012-06-11 Glenn Morris <rgm@gnu.org>
1873
1874 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1875 Use preprocessor face for directives.
1876 (fortran-directive-re): Doc fix.
1877
71adb94b
SM
18782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1879
2eb87922
SM
1880 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1881 conversion to backquotes (bug#11652).
1882
71adb94b
SM
1883 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1884 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1885 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1886 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1887 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1888 (cl-ninth, cl-tenth): Mark them as inlinable.
1889 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1890 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1891 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1892 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1893 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1894 (cl-list*, cl-adjoin): Don't put an autoload manually.
1895 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1896 (cl--compiler-macro-list*): Add autoload cookie.
1897 (cl--compiler-macro-cXXr): New function.
2eb87922 1898
71adb94b
SM
1899 * help-fns.el (help-fns--compiler-macro): New function extracted from
1900 describe-function-1; follow aliases and use `compiler-macro' property.
1901 (describe-function-1): Use it.
1902
a6674402
CY
19032012-06-11 Chong Yidong <cyd@gnu.org>
1904
1905 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1906 is uninstalled, if imagemagick is installed.
1907
bb3faf5b
SM
19082012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * emacs-lisp/cl-lib.el: Use lexical-binding.
1911 (cl-map-extents, cl-maclisp-member): Remove.
1912 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1913 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1914 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1915 * emacs-lisp/cl-extra.el: Use lexical-binding.
1916 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1917 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1918 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1919 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1920 * emacs-lisp/cl-seq.el: Use lexical-binding.
1921 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1922 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1923 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1924 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1925 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1926 CL's internals.
1927
2fe4b125
MA
19282012-06-11 Michael Albinus <michael.albinus@gmx.de>
1929
1930 Sync with Tramp 2.2.6-pre.
1931
1932 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1933 `print-length' and `print-level' to nil, in order to avoid
1934 truncation. Reported by Christopher Schmidt
1935 <christopher@ristopher.com>.
1936
1937 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1938
1939 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1940 New defmacro.
1941 (tramp-compat-copy-directory): Add optional argument
1942 COPY-CONTENTS. It is not handled yet.
1943
1944 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1945 (tramp-ftp-file-name-p): Simplify.
1946
1947 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1948 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1949 connection vector.
1950
1951 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1952 (tramp-methods): Do not use `tramp-password-end-of-line'.
1953 (tramp-completion-function-alist-putty): Handle UNIX case.
1954 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1955 (tramp-do-file-attributes-with-stat)
1956 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1957 gid as real numbers. They could run out of integer range on cygwin.
1958 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1959 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1960 (tramp-open-connection-setup-interactive-shell):
1961 Use `tramp-cleanup'. Move check for busyboxes ...
1962 (tramp-find-shell): ... here. Simplify implementation.
1963 Set "remote-shell" property also for alternative shells.
1964 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1965 If failing, a regular file would be written otherwise.
1966 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1967 (tramp-find-inline-encoding): Cache the coding commands in the
1968 process cache. Apply test command on the remote side, if defined.
1969 (tramp-find-inline-compress): Cache the compress commands in the
1970 process cache.
1971 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1972 when requested. Handle hops.
1973 (tramp-current-connection): New defvar.
87e6e64f
DA
1974 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1975 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1976 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1977 (tramp-get-inline-compress, tramp-get-inline-coding):
1978 Read connection properties from the process cache.
2fe4b125
MA
1979
1980 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1981 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1982 New defconsts.
2fe4b125
MA
1983 (tramp-smb-prompt): Extend for powershell prompt.
1984 (tramp-smb-file-name-handler-alist): Add handlers for
1985 `process-file', `shell-command' and `start-file-process'.
1986 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1987 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1988 (tramp-smb-file-name-p): Simplify.
1989 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1990 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1991 (tramp-smb-shell-quote-argument): New defuns.
1992 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1993 Implement using "tar". By this, time-stamps are preserved.
1994 (tramp-smb-handle-copy-file): Handle also the case of directories.
1995 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1996 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1997 Use `tramp-get-connection-buffer').
2fe4b125
MA
1998 (tramp-smb-handle-rename-file): Use "rename", when source and
1999 target are on the same share.
87e6e64f
DA
2000 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2001 Use `tramp-smb-server-version'.
2fe4b125
MA
2002 (tramp-smb-wait-for-output): Remove prompt.
2003
2004 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2005 (tramp-methods, tramp-rsh-end-of-line):
2006 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2007 (tramp-save-ad-hoc-proxies): New defcustom.
2008 (tramp-completion-function-alist): Adapt docstring.
2009 (tramp-default-password-end-of-line): Remove defcustom.
2010 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2011 (tramp-user-regexp, tramp-file-name-regexp-unified)
2012 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2013 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2014 (tramp-remote-file-name-spec-regexp): New defconst.
2015 (tramp-file-name-structure): Extend structure for hops.
2016 (tramp-get-method-parameter): Move up.
2017 (tramp-file-name-p, tramp-dissect-file-name)
2018 (with-parsed-tramp-file-name): Handle hops.
2019 (tramp-file-name-hop): New defun.
2020 (tramp-make-tramp-file-name): New optional arg HOP.
2021 (tramp-message-show-progress-reporter-message): New defvar.
2022 (tramp-with-progress-reporter): Use it. We cannot use
2023 `tramp-message-show-message' here, because this suppresses also
2024 error buffers.
2025 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2026 `tramp-message-show-message' is nil.
2027 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2028 (tramp-cleanup): New defun.
2029 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2030 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2031 an error unchanged.
2032 (tramp-completion-handle-file-name-all-completions): Handle hops.
2033 Fix an error when called from ido.
2034 (tramp-completion-dissect-file-name): Use better local variable
2035 name. Add hop to the vector.
2036 (tramp-handle-insert-file-contents): Use progress-reporter for the
2037 whole scenario.
2038 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2039 to `t'.
2040 (tramp-check-for-regexp): Simplify search.
2041 (tramp-enter-password): Remove it. Move implementation ...
2042 (tramp-action-password): ... here.
2043 (tramp-mode-string-to-int, tramp-local-host-p)
2044 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2045 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2046 Set tramp-autoload cookie.
2fe4b125
MA
2047
2048 * net/trampver.el: Update release number.
2049
20502012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2051 Michael Albinus <michael.albinus@gmx.de>
2052
2053 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2054 (tramp-parse-group, tramp-parse-file)
2055 (tramp-parse-shostkeys-sknownhosts): New defuns.
2056 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2057 (tramp-parse-shosts-group, tramp-parse-sconfig)
2058 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2059 (tramp-parse-sknownhosts, tramp-parse-hosts)
2060 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2061 Use them.
2062 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2063 (tramp-parse-putty-group): Don't narrow.
2064 (tramp-parse-putty): Make a loop.
2065 (tramp-file-name-handler): Catch the `suppress' signal.
2066
72834e10
CY
20672012-06-11 Chong Yidong <cyd@gnu.org>
2068
2069 * image.el (imagemagick-register-types): Put the ImageMagick entry
2070 at the end of image-type-file-name-regexps.
2071
a4712e11
JB
20722012-06-11 Johan Bockgård <bojohan@gnu.org>
2073
2074 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2075 (pcase, pcase-let*, pcase-dolist): Use them.
2076
82ad98e3
SM
20772012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * emacs-lisp/pcase.el (pcase--let*): New function.
2080 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2081 (pcase--expand): Use macroexp-let².
2082
f80efb86
SM
20832012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2084
2085 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2086 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2087 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2088 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2089 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2090 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2091
31ca4639 20922012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2093
31ca4639
CY
2094 * mail/rmail.el (rmail-yank-current-message): Leave point at
2095 correct position. (Bug#11660)
94f0aa34 2096
31ca4639 20972012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2098
31ca4639 2099 * allout-widgets.el: Fix code header.
9e1b8ec4 2100
31ca4639 21012012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2102
f80efb86
SM
2103 * cus-edit.el (customize-changed-options-previous-release):
2104 Bump to 24.1.
31ca4639 2105
642b6d30
AS
21062012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2107
2108 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2109
4f5d2ba1
CY
21102012-06-09 Chong Yidong <cyd@gnu.org>
2111
2112 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2113
e75852fd
MR
21142012-06-09 Martin Rudalics <rudalics@gmx.at>
2115
2116 * window.el (special-display-popup-frame): Don't use
2117 window--display-buffer (Bug#11651).
2118
1e48e282
EZ
21192012-06-09 Eli Zaretskii <eliz@gnu.org>
2120
8a26b487
EZ
2121 Fix parallel builds: make sure loaddefs.el is not being written
2122 while Lisp files are compiled.
2123 (compile): Don't depend on 'mh-autoloads'.
2124 (compile-CMD, compile-SH): Depend on 'autoloads'.
2125 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2126
1e48e282
EZ
2127 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2128
6175e34b
CY
21292012-06-09 Chong Yidong <cyd@gnu.org>
2130
2131 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2132 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2133 Doc fixes (Bug#11225).
2134
d9857e53
SM
21352012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2138 a function if there's a clear indication that it has a compiler-macro.
2139 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2140 (macro-declarations-alist): Add arglist to declaration functions.
2141 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2142 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2143 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2144 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2145 Also add autoload to find the compiler macro.
2146 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2147 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2148 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2149 (cl--compiler-macro-get): New functions, replacing calls to
2150 cl-define-compiler-macro.
2151 (cl-typep) [compiler-macro]: Use macroexp-let².
2152
f81298f8 21532012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2154
2155 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2156 string properly, fixes Bug#11473.
2157
4b56d0fe
CY
21582012-06-08 Chong Yidong <cyd@gnu.org>
2159
2160 * faces.el (set-face-attribute): Doc fix.
2161 (modify-face): Don't use :bold and :italic.
2162 (error, warning, success): Tweak definitions.
2163
2164 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2165 (custom-modified, custom-set, custom-changed, custom-themed)
2166 (custom-saved, custom-button, custom-button-mouse)
2167 (custom-button-pressed, custom-state, custom-comment-tag)
2168 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2169 (custom-group-subtitle): Use new-style face specs.
2170 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2171 (custom-set-face, custom-changed-face, custom-saved-face)
2172 (custom-button-face, custom-button-pressed-face)
2173 (custom-documentation-face, custom-state-face)
2174 (custom-comment-face, custom-comment-tag-face)
2175 (custom-variable-tag-face, custom-variable-button-face)
2176 (custom-face-tag-face, custom-group-tag-face-1)
2177 (custom-group-tag-face): Remove obsolete face alias.
2178
2179 * epa.el (epa-validity-high, epa-validity-medium)
2180 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2181 (epa-field-name, epa-field-body):
2182 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2183 (font-lock-keyword-face, font-lock-builtin-face)
2184 (font-lock-function-name-face, font-lock-variable-name-face)
2185 (font-lock-type-face, font-lock-constant-face):
2186 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2187 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2188 * speedbar.el (speedbar-button-face, speedbar-file-face)
2189 (speedbar-directory-face, speedbar-tag-face)
2190 (speedbar-selected-face, speedbar-highlight-face)
2191 (speedbar-separator-face):
2192 * whitespace.el (whitespace-newline, whitespace-space)
2193 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2194 (whitespace-line, whitespace-space-before-tab)
2195 (whitespace-space-after-tab, whitespace-indentation)
2196 (whitespace-empty):
2197 * emulation/cua-base.el (cua-global-mark):
2198 * eshell/em-prompt.el (eshell-prompt):
2199 * net/newst-plainview.el (newsticker-new-item-face)
2200 (newsticker-old-item-face, newsticker-immortal-item-face)
2201 (newsticker-obsolete-item-face, newsticker-date-face)
2202 (newsticker-statistics-face, newsticker-default-face):
2203 * net/newst-reader.el (newsticker-feed-face)
2204 (newsticker-extra-face, newsticker-enclosure-face):
2205 * net/newst-treeview.el (newsticker-treeview-face)
2206 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2207 (newsticker-treeview-immortal-face)
2208 (newsticker-treeview-obsolete-face)
2209 (newsticker-treeview-selection-face):
2210 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2211 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2212 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2213 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2214 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2215 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2216 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2217 (mpuz-text):
2218 * progmodes/vera-mode.el (vera-font-lock-number)
2219 (vera-font-lock-function, vera-font-lock-interface):
2220 * textmodes/table.el (table-cell): Use new-style face specs, and
2221 don't use the old :bold and :italic attributes.
2222
2223 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2224 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2225 (ebrowse-member-class, ebrowse-progress): Likewise.
2226 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2227 (ebrowse-file-name-face, ebrowse-default-face)
2228 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2229 (ebrowse-progress-face): Remove obsolete faces.
2230
2231 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2232 Inherit from error and warning faces respectively.
2233
2234 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2235 Likewise.
f80efb86
SM
2236 (flyspell-incorrect-face, flyspell-duplicate-face):
2237 Remove obsolete aliases.
4b56d0fe 2238
03310646
MA
22392012-06-08 Michael Albinus <michael.albinus@gmx.de>
2240
2241 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2242 Avoid infloop.
2243
513749ee
SM
22442012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * startup.el (argv, argi): Make lexically scoped.
2247 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2248 * emacs-lisp/cl-macs.el: Use lexical-binding.
2249 Rename cl-bind-* to cl--bind-*.
2250 * files.el: Don't require `cl' since it doesn't use it.
2251 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2252
595ef4ad
JB
22532012-06-08 Juanma Barranquero <lekktu@gmail.com>
2254
2255 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2256 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2257 instead of calling external sort utility.
2258 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2259
e9f66fcb
EZ
22602012-06-08 Eli Zaretskii <eliz@gnu.org>
2261
2262 * descr-text.el (describe-char): Mention how to insert the
2263 character, if the current input method doesn't support it.
2264 See the discussion in this thread for the details:
2265 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2266
3d10db47
SS
22672012-06-08 Sam Steingold <sds@gnu.org>
2268
2269 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2270 XF86Back to previous-buffer.
2271 (minibuffer-local-map): Bind them to next-history-element and
2272 previous-history-element respectively.
2273 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2274 help-go-back respectively.
2275 * info.el (Info-mode-map): Bind them to Info-history-forward and
2276 Info-history-back respectively.
2277 These are the keys next to Up on the ThinkPad keyboard.
2278
de7e2b36
SM
22792012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2280
2281 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2282 * emacs-lisp/cl-macs.el: Provide itself.
2283 (cl--labels-convert-cache): New var.
2284 (cl--labels-convert): New function.
2285 (cl-flet, cl-labels): New implementation with new semantics, relying on
2286 lexical-binding.
2287 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2288 (cl-closure-vars, cl--function-convert-cache)
2289 (cl--function-convert): Move from cl-macs.el.
2290 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2291 rename by removing the "cl-" prefix.
2292 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2293
6fa6c4ae
SM
22942012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2297 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2298 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2299 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2300 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2301 (cl-hash-table-count): Add old compatibility aliases.
2302
2303 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2304 Use macroexpand-all-environment instead.
2305 (cl--old-macroexpand): New var.
2306 (cl--sm-macroexpand): New function.
2307 (cl-symbol-macrolet): Use it during macro expansion.
2308 (cl--function-convert-cache): New var.
2309 (cl--function-convert): New function, extracted from
2310 cl-macroexpand-all.
2311 (cl-lexical-let): Use it.
2312
2313 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2314 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2315 (cl-member): Remove old alias.
2316
2317 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2318 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2319 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2320 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2321 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2322 (cl-macroexpand-cmacs): Remove var.
2323 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2324 Use macroexpand-all instead.
2325
4dd1c416
SM
23262012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2329 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2330 (macroexp-copyable-p): New functions and macros.
2331 * emacs-lisp/edebug.el (edebug-unwrap):
2332 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2333 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2334 (pcase--let*): Remove.
2335 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2336 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2337 macroexp-const-p instead.
2338 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2339
2340 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2341 instead of "cl-" for internal definitions. Use macroexp-const-p.
2342 (cl-old-bc-file-form): Remove var.
2343 (cl-const-exprs-p): Remove fun.
2344 (cl-labels, cl-macrolet): Use backquote.
2345 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2346 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2347 (cl-define-setf-expander): Rename from cl-define-setf-method.
2348 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2349
2350 * international/mule-cmds.el: Don't require CL.
2351 (view-hello-file): Don't use `letf'.
2352
ed8bd4d7
SM
23532012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2354
7287f2f3
SM
2355 * tmm.el (tmm-prompt): Use string-prefix-p.
2356 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2357 (tmm-add-prompt): Use minibuffer-completion-help.
2358 (tmm-delete-map): Remove.
2359
ed8bd4d7
SM
2360 * subr.el (kbd): Make it its own function.
2361
7b4cdbf4
SM
23622012-06-07 Stefan Merten <smerten@oekonux.de>
2363
2364 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2365 Silence compiler warnings. Fix versions.
ed8bd4d7 2366 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2367 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2368 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2369 (rst-package-emacs-version-alist): Correct Emacs version to
2370 represent major merge with upstream.
ed8bd4d7 2371 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2372
2b48d721
GM
23732012-06-06 Glenn Morris <rgm@gnu.org>
2374
2375 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2376 Only print environment variables if set.
2377
fa779ab0
SM
23782012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2379
2380 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2381 (macroexp--cons): Rename from maybe-cons.
2382 (macroexp--accumulate): Rename from macroexp-accumulate.
2383 (macroexp--all-forms): Rename from macroexpand-all-forms.
2384 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2385 (macroexp--expand-all): Rename from macroexpand-all-1.
2386
628299e0
SS
23872012-06-06 Sam Steingold <sds@gnu.org>
2388
2389 * calendar/calendar.el (calendar-in-read-only-buffer):
2390 Call `special-mode' to enable the standard read-only keybindings.
2391
b7bb5838
SM
23922012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2395 with "loading" messages (bug#11635).
2396
dfb308ba
MA
23972012-06-06 Michael Albinus <michael.albinus@gmx.de>
2398
2399 * files.el (enable-remote-dir-locals): New option.
2400 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2401
0372ee92
MA
2402 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2403 Ensure, that the temp directory is local.
2404
2405 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2406 `temporary-file-directory'.
2407
eed0bb91
MA
2408 * progmodes/python.el (python-send-region): Ensure, that the
2409 temporary file is created also in the remote case.
2410
7a58f64d
GM
24112012-06-06 Glenn Morris <rgm@gnu.org>
2412
f7dd4e98
GM
2413 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2414 (vc-rcs-update-changelog): Use it.
2415
090bd7cb 2416 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2417
7a58f64d
GM
2418 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2419 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2420 (vc-sccs-diff): Replace use of the external vcdiff script.
2421
daed4003
GM
24222012-06-05 Glenn Morris <rgm@gnu.org>
2423
2424 * ledit.el: Move to obsolete/.
2425
48c455c7
SS
24262012-06-05 Sam Steingold <sds@gnu.org>
2427
ed9265fc 2428 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2429 patch (Bug#11140).
2430
57a7d507
SM
24312012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2432
090bd7cb 2433 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2434
53aacf21
SM
2435 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2436 compiler-macro expansion.
2437
57a7d507
SM
2438 Add native compiler-macro support.
2439 * emacs-lisp/macroexp.el (macroexpand-all-1):
2440 Support compiler-macros directly. Properly follow aliases and apply
2441 the compiler macros more thoroughly.
2442 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2443 macroexpand now properly follows aliases.
2444 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2445 (cl-compiler-macroexpand): Use new prop.
2446 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2447
2448 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2449
51a5f9d8
MR
24502012-06-05 Martin Rudalics <rudalics@gmx.at>
2451
2452 * window.el (get-lru-window, get-mru-window, get-largest-window):
2453 New argument NOT-SELECTED to avoid picking the selected window.
2454 (window--display-buffer-1, window--display-buffer-2): Replace by
2455 new function window--display-buffer
2456 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2457 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2458 Use window--display-buffer.
51a5f9d8
MR
2459 (display-buffer-use-some-window): Remove temporary dedication
2460 hack by calling get-lru-window and get-largest-window with
2461 NOT-SELECTED argument non-nil. Call window--display-buffer.
2462
08f9f738
GM
24632012-06-05 Glenn Morris <rgm@gnu.org>
2464
2465 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2466 Replace external vcdiff script.
2467
e364a2b7
SM
24682012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2471
041df390
CY
24722012-06-04 Chong Yidong <cyd@gnu.org>
2473
e364a2b7
SM
2474 * image.el (imagemagick-types-inhibit): Revert last change.
2475 Add INFO and M.
47b36b94 2476 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2477
7c1898a7
SM
24782012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * emacs-lisp/cl-lib.el: Rename from cl.el.
2481 * emacs-lisp/cl.el: New compatibility file.
2482 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2483 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2484 to obey the "cl-" prefix.
2485 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2486
0c3461de
GM
24872012-06-03 Glenn Morris <rgm@gnu.org>
2488
1e266c88
GM
2489 * emacs-lisp/authors.el (authors-aliases): Addition.
2490
0c3461de
GM
2491 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2492 Fix :version.
2493
d8a52e15
SM
24942012-06-03 Stefan Merten <smerten@oekonux.de>
2495
2496 * textmodes/rst.el: Add comments.
2497 (rst-transition, rst-adornment): New faces.
2498 (rst-adornment-faces-alist): Make default safe to reevaluate.
2499 Fixes
2500 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2501 Improve customization tags.
2502 (rst-define-level-faces): Clarify meaning.
2503
5205d6f6
CY
25042012-06-03 Chong Yidong <cyd@gnu.org>
2505
2506 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2507 (compilation-mode-line-run, compilation-mode-line-exit):
2508 New faces.
5205d6f6
CY
2509 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2510
757ee657
JD
25112012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2512
7c1898a7
SM
2513 * progmodes/which-func.el (which-func-update-ediff-windows):
2514 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2515
5f2c76c6
CY
25162012-06-03 Chong Yidong <cyd@gnu.org>
2517
2518 * bindings.el: Remove explicit help text from format-mode-line.
2519 It is now supplied by mode-line-default-help-echo.
2520 (mode-line-front-space, mode-line-end-spaces)
2521 (mode-line-misc-info): New variables.
2522 (mode-line-modes, mode-line-position): Move the default value to
2523 the variable definition.
2524 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2525 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2526 (mode-line-modified-help-echo): New functions.
2527 (mode-line-mule-info, mode-line-modified): Use them.
2528 (mode-line-eol-desc, propertized-buffer-identification):
2529 Consistency fixes for help text.
cbe46e5f
CY
2530 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2531 set-buffer-file-coding-system (Bug#289).
2532 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2533
f2d6a3df
SM
25342012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * simple.el (execute-extended-command): Set real-this-command
2537 (bug#11506).
2538
37269466
CY
25392012-06-02 Chong Yidong <cyd@gnu.org>
2540
2541 Remove incorrect uses of "modeline" in comments, docstrings, and
2542 function/variable names (Bug#10329).
2543
2544 * cus-edit.el (mode-line):
2545 * dframe.el (dframe-mouse-hscroll):
2546 * emacs-lisp/re-builder.el:
2547 * emacs-lisp/easy-mmode.el (define-minor-mode):
2548 * frame.el (set-frame-name):
2549 * help.el (lookup-minor-mode-from-indicator):
2550 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2551 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2552 (c-toggle-hungry-state):
2553 * progmodes/antlr-mode.el (antlr-language-alist):
2554 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2555 * progmodes/vhdl-mode.el (vhdl-mode):
2556 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2557 * term/ns-win.el (ns-face-at-pos):
2558 * term/sup-mouse.el (sup-mouse-report):
2559 * textmodes/flyspell.el (flyspell-mode-line-string):
2560 * textmodes/ispell.el (ispell-highlight-face):
2561 * textmodes/reftex-global.el:
2562 * vc/vc-arch.el (vc-arch-mode-line-string):
2563 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2564 * vc/vc-git.el (vc-git-mode-line-string):
2565 * vc/vc-hooks.el (vc-display-status)
2566 (vc-default-mode-line-string):
2567 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2568
2569 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2570
2571 * dired.el (dired-sort-set-mode-line): Rename from
2572 dired-sort-set-modeline. All callers changed.
2573
2574 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2575 eshell-status-in-modeline.
2576
2577 * foldout.el (foldout-mode-line-string): Rename from
2578 foldout-modeline-string. All callers changed.
2579 (foldout-update-mode-line): Rename from foldout-update-modeline.
2580
2581 * subr.el (redraw-modeline): Make into obsolete alias.
2582
2583 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2584 timeclock-modeline-display. Make old name an alias.
2585 (timeclock-update-mode-line): Likewise. All callers changed.
2586 (timeclock-mode-line-display): No need to check before using
2587 add-hook.
2588 (timeclock-relative, timeclock-day-over-hook)
2589 (timeclock-use-elapsed, timeclock-mode-string)
2590 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2591
2592 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2593 crisp-mode-modeline-string.
2594
2595 * play/solitaire.el (solitaire-build-mode-line): Rename from
2596 solitaire-build-modeline. All callers changed.
2597
2598 * play/zone.el (zone-hiding-mode-line): Rename from
2599 zone-hiding-modeline. All callers changed.
2600 (zone): Remove unusued `modeline-hidden-level' property.
2601
2602 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2603 xscheme-modeline-initialize. All callers changed.
2604
2605 * strokes.el (strokes-lighter): Rename from
2606 strokes-modeline-string.
2607
2608 * textmodes/sgml-mode.el (html-face-tag-alist)
2609 (html-tag-face-alist): Use mode-line face instead of obsolete
2610 alias modeline.
2611
42152ee4
SM
26122012-06-02 Stefan Merten <smerten@oekonux.de>
2613
2614 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2615 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2616
95f520b5
CY
26172012-06-02 Chong Yidong <cyd@gnu.org>
2618
2619 * image.el (imagemagick-enabled-types): Rename from
2620 imagemagick-types-enable. Add many more types.
2621 (imagemagick-types-inhibit): Change default to nil.
2622 (imagemagick-filter-types): Caller changed.
2623
4a5f187a
SM
26242012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2625
03fef3e6
SM
2626 * emacs-lisp/cl-macs.el: Use backquotes.
2627 (cl-transform-function-property): Use eval-and-compile rather than
2628 abusing `require'.
2629 (defstruct): Use declare-function instead of with-no-warnings.
2630
4a5f187a
SM
2631 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2632 (byte-compile-output-docform): Re-add the print-circle bindings.
2633 (byte-compile-fix-header): Use #$ just because it's shorter.
2634 (byte-compile-output-file-form): Remove defun/defmacro.
2635
bd56924f
MR
26362012-06-01 Martin Rudalics <rudalics@gmx.at>
2637
2638 * simple.el (choose-completion): Remove now obsolete binding for
2639 owindow.
2640
046e38ce
MA
26412012-06-01 Michael Albinus <michael.albinus@gmx.de>
2642
2643 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2644 in order to avoid "Stack overflow in regexp matcher".
2645
32d72c2f
GM
26462012-05-31 Glenn Morris <rgm@gnu.org>
2647
2648 * image.el: For clarity, call imagemagick-register-types at
2649 top-level, rather than relying on a custom :initialize.
2650 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2651 (imagemagick-filter-types): New function. (Bug#7406)
2652 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2653 If disabling support, remove elements altogether rather
2654 than using an impossible regexp.
2655 (imagemagick-types-inhibit): Give it the default init function.
2656
dd41169b
SM
26572012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2658
4a5f187a
SM
2659 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2660 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2661
efc00ab1 26622012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2663
2664 * desktop.el (desktop-read): Clear previous and next buffers for
2665 all windows and bury *Messages* buffer (bug#11556).
2666
500fcedc
SM
26672012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2669 Add `declare' for `defun'. Align `defmacro's with it.
2670 * emacs-lisp/easy-mmode.el (define-minor-mode)
2671 (define-globalized-minor-mode): Don't autoload the var definitions.
2672 * emacs-lisp/byte-run.el: Use lexical-binding.
2673 (defun-declarations-alist, macro-declarations-alist): New vars.
2674 (defmacro, defun): Use them.
2675 (make-obsolete, define-obsolete-function-alias)
2676 (make-obsolete-variable, define-obsolete-variable-alias):
2677 Use `declare'.
2678 (macro-declaration-function): Mark obsolete.
2679 * emacs-lisp/autoload.el: Use lexical-binding.
2680 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2681
6e8a1786
AM
26822012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2683
2684 * textmodes/ispell.el (ispell-with-no-warnings):
2685 Define as a macro.
500fcedc
SM
2686 (ispell-kill-ispell, ispell-change-dictionary):
2687 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2688 `interactive-p'.
2689
61b108cc
SM
26902012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2691
2692 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2693 (macro-declaration-function): Move var from C code.
2694 (macro-declaration-function): Define function with defalias.
2695 * emacs-lisp/macroexp.el (macroexpand-all-1):
2696 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2697 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2698 defun/defmacro any more.
2699 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2700 Provide fallback for unknown arglist.
2701 (byte-compile-arglist-warn): Change calling convention.
2702 (byte-compile-output-file-form): Move print-vars binding.
2703 (byte-compile-output-docform): Simplify accordingly.
2704 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2705 (byte-compile-defmacro-declaration): Remove.
2706 (byte-compile-file-form-defmumble): Generalize to defalias.
2707 (byte-compile-output-as-comment): Return byte-positions.
2708 Simplify callers accordingly.
2709 (byte-compile-lambda): Use `assert'.
2710 (byte-compile-defun, byte-compile-defmacro): Remove.
2711 (byte-compile-file-form-defalias):
2712 Use byte-compile-file-form-defmumble.
2713 (byte-compile-defalias-warn): Remove.
2714
6d3f7c2f
SM
27152012-05-29 Stefan Merten <smerten@oekonux.de>
2716
2717 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2718 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2719
2720 (rst-mode-abbrev-table): Merge definition.
2721 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2722 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2723
6dbaa1c7
UJ
27242012-05-29 Ulf Jasper <ulf.jasper@web.de>
2725
2726 * calendar/icalendar.el
2727 (icalendar-export-region): Export UID properly.
2728
d209e2fb 27292012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2730 * calendar/icalendar.el (icalendar-import-format):
2731 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2732 (icalendar-import-format-uid): New.
2733 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2734 Export UID.
2735
6876a58d
SM
27362012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2737
2738 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2739 different alternative patterns.
2740 (pcase-codegen): Be more careful to preserve identity.
2741 (pcase--u1): Don't forget to mark vars as used.
2742
2743 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2744 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2745 (byte-compile-from-buffer): ...rather than here.
2746
2747 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2748 functions from byte-compile-function-environment.
2749
46b7967e
TN
27502012-05-29 Troels Nielsen <bn.troels@gmail.com>
2751
2752 * window.el (window-deletable-p): Avoid deleting the root window
2753 of a frame with an active minibuffer.
2754
69d565e2
MR
27552012-05-29 Martin Rudalics <rudalics@gmx.at>
2756
2757 * simple.el (choose-completion): Use quit-window (Bug#11567).
2758
a149fa51
CY
27592012-05-29 Chong Yidong <cyd@gnu.org>
2760
2761 * whitespace.el (whitespace-cleanup): Fix usage of
2762 whitespace-empty-at-bob-regexp (Bug#11492).
2763
2b311310
AH
27642012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2765
2766 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2767 revert (Bug#11488).
2768
b9cb2387
JL
27692012-05-29 Juri Linkov <juri@jurta.org>
2770
2771 * isearch.el (isearch-mode-map): Bind `M-s _' to
2772 `isearch-toggle-symbol'. Bind `M-s c' to
2773 `isearch-toggle-case-fold'.
2774 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2775 (isearch-forward): Add `M-s _' to the docstring.
2776 (isearch-forward-symbol, isearch-toggle-case-fold)
2777 (isearch-symbol-regexp): New functions. (Bug#11381)
2778
d5e61c1c
JL
27792012-05-29 Juri Linkov <juri@jurta.org>
2780
2781 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2782 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2783 a function, call it to get the regexp.
2784 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2785 property `isearch-message-prefix' instead of the string "word ".
2786 (isearch-search-fun-default): For the case of `isearch-word',
2787 return a lambda that calls re-search-forward/re-search-backward
2788 with a regexp returned by `word-search-regexp' or by the function
2789 in `isearch-word'.
2790
8cbd80f7
JL
27912012-05-29 Juri Linkov <juri@jurta.org>
2792
2793 * isearch.el (isearch-search-fun-default): New function.
2794 (isearch-search-fun): Move default part to the new function
2795 `isearch-search-fun-default'.
2796 (isearch-search-fun-function): Set the default value to
2797 `isearch-search-fun-default'. (Bug#11381)
2798
2799 * comint.el (comint-history-isearch-end):
2800 Use `isearch-search-fun-default'.
2801 (comint-history-isearch-search): Use `isearch-search-fun-default'
2802 and remove spacial case for `isearch-word'.
2803 (comint-history-isearch-wrap): Remove spacial case for
2804 `isearch-word'.
2805
2806 * hexl.el (hexl-isearch-search-function):
2807 Use `isearch-search-fun-default'.
2808
2809 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2810 Use `word-search-regexp' for `isearch-word'.
2811
2812 * misearch.el (multi-isearch-search-fun):
2813 Use `isearch-search-fun-default'.
2814
2815 * simple.el (minibuffer-history-isearch-search):
2816 Use `isearch-search-fun-default' and remove spacial case for
2817 `isearch-word'.
2818 (minibuffer-history-isearch-wrap): Remove spacial case for
2819 `isearch-word'.
2820
2821 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2822 Remove spacial case for `isearch-word'.
2823 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2824
85c8c5b6
AM
28252012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2826
2827 Decrease XEmacs incompatibilities.
2828 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2829 Use `string-match'.
2830 (flyspell-delete-region-overlays): Use alternative definition for
2831 XEmacs.
2832 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2833 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2834 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2835 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2836 `define-obsolete-face-alias' under XEmacs, but old method.
2837
2838 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2839 `with-no-warnings' definition or Emacs alias.
2840 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2841 (ispell-word): Do not use `region-p' if XEmacs.
2842
8cab9efc
AM
28432012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2844
2845 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2846 Check for `ispell-dictionary-base-alist' instead of full
2847 `ispell-dictionary-alist'.
2848 (ispell-init-process): Show spellchecker when starting new Ispell
2849 process.
2850
fda91268
RZ
28512012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2854 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2855
694ea8e3
JB
28562012-05-27 Juanma Barranquero <lekktu@gmail.com>
2857
2858 * version.el (motif-version-string, gtk-version-string)
2859 (ns-version-string): Declare.
2860
e4d4f539
JL
28612012-05-27 Juri Linkov <juri@jurta.org>
2862
2863 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2864 after the `eval-defun-1' specialcaseing
2865 like in `edebug-eval-defun' (bug#10181).
2866
2867 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2868 like in `eval-defun-1'.
2869
33017faf 28702012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2871
fda91268
RZ
2872 * mail/sendmail.el (mail-yank-region):
2873 Recognize rmail-yank-current-message in addition to insert-buffer.
2874 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2875 a *mail* buffer created through rmail-start-mail with sendmail as
2876 mail-user-agent.
2877
33017faf
GM
28782012-05-27 Chong Yidong <cyd@gnu.org>
2879
2880 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2881 Default to 256 (Bug#11267).
2882
2883 * help.el (describe-mode): Doc fix.
2884
04188bb9
GM
28852012-05-26 Glenn Morris <rgm@gnu.org>
2886
38264cc9
GM
2887 * w32-fns.el (w32-init-info): Remove.
2888 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2889
eb7afdad
GM
2890 * info.el (info-initialize): For self-contained NS builds, put the
2891 included info/ directory at the front. (Bug#2791)
2892
04188bb9
GM
2893 * paths.el (Info-default-directory-list): Make it a defcustom,
2894 mainly so that we can use custom-initialize-delay.
2895
a179e3f7
SM
28962012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2897
43416392
SM
2898 * subr.el (buffer-has-markers-at): Mark obsolete.
2899
a179e3f7 2900 * subr.el (lambda): Use declare.
43416392 2901
a179e3f7
SM
2902 * emacs-lisp/lisp-mode.el (lambda):
2903 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2904
34a008d9
AH
29052012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2906
2907 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2908
0a3b289f
GM
29092012-05-26 Glenn Morris <rgm@gnu.org>
2910
2911 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2912
758c81e8
GM
29132012-05-25 Glenn Morris <rgm@gnu.org>
2914
f9f334f0
GM
2915 * paths.el: Remove no-byte-compile.
2916 * loadup.el: No need to load paths.el uncompiled.
2917
87eb79c2
GM
2918 * image.el (imagemagick-types-inhibit): Doc fix.
2919
758c81e8
GM
2920 * version.el: Remove no-byte-compile and associated formatting.
2921 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2922 is ancient code from when there was an "inc-vers.el".
2923
e7e85dc0
SM
29242012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * progmodes/gdb-mi.el: Minor style changes.
2927 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2928 Turn into minor modes.
2929 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2930 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2931 (gdb-shell): Remove unneeded let-binding.
2932 (gdb-get-many-fields): Eliminate O(n²) behavior.
2933
f31237a4
EZ
29342012-05-25 Eli Zaretskii <eliz@gnu.org>
2935
2936 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2937 platforms that don't link in fontset.c.
2938
bc1b21bb
JL
29392012-05-25 Juri Linkov <juri@jurta.org>
2940
2941 Use the same diff color scheme as in modern VCSes (bug#10181).
2942
2943 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2944 to avoid confusion with `diff-added' that now uses green colors.
2945 (diff-removed): Use shades of red.
2946 (diff-added): Use shades of green.
2947 (diff-changed): Leave just the yellow color.
2948 (diff-use-changed-face): New variable.
2949 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2950 how to highlight context diff changes.
2951 (diff-refine-change): Use shades of yellow.
2952 (diff-refine-removed): New face that uses shades of red.
2953 (diff-refine-added): New face that uses shades of green.
2954 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2955 `diff-refine-removed' in the call to `smerge-refine-subst'
2956 depending on the value of `diff-use-changed-face'.
2957
2958 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2959 (smerge-other): Use shades of green.
2960 (smerge-base): Use shades of yellow.
2961 (smerge-refined-change): Empty face.
2962 (smerge-refined-removed): New face that uses shades of red.
2963 (smerge-refined-added): New face that uses shades of green.
2964 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2965 args `props-r' and `props-a', and use them. Doc fix.
2966 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2967 on its value use different faces `smerge-refined-change',
2968 `smerge-refined-removed', `smerge-refined-added' in the call to
2969 `smerge-refine-subst'.
2970
2971 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2972 Add face condition `min-colors 88' with shades of red.
2973 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2974 `min-colors 88' with shades of green.
2975 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2976 `min-colors 88' with shades of yellow.
2977
6df9112c
GM
29782012-05-24 Glenn Morris <rgm@gnu.org>
2979
ead5edc0
GM
2980 * paths.el (prune-directory-list, remote-shell-program): Move to...
2981 * files.el (prune-directory-list, remote-shell-program): ...here.
2982 For the latter, delay initialization, prefer ssh, just search PATH.
2983
f18b81e6
GM
2984 * paths.el (term-file-prefix): Move to faces.el (the only user).
2985 * faces.el (term-file-prefix): Move here, make it a defcustom.
2986
ee2f89a6
GM
2987 * paths.el (news-directory, news-path, news-inews-program):
2988 Move to gnus/nnspool.el.
61a583ca 2989
f8815e4c
GM
2990 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2991
c8f3b42c
GM
2992 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2993 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2994 Make the latter a defcustom, with a delayed initialization.
2995
6df9112c
GM
2996 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2997 These were deleted from Gnus itself late 2010.
2998
5dadff36
JB
29992012-05-22 Juanma Barranquero <lekktu@gmail.com>
3000
9e1701c6
JB
3001 * progmodes/which-func.el (which-func-ff-hook):
3002 Check against user-error, not error.
3003
bd7239f5 3004 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3005 cl-specs.el, which no longer exists.
3006
3290526d
GM
30072012-05-22 Glenn Morris <rgm@gnu.org>
3008
3009 * info.el (info-emacs-bug): New command.
3010 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3011 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3012
ff0c3cfb
GM
30132012-05-21 Glenn Morris <rgm@gnu.org>
3014
3015 * makefile.w32-in (update-subdirs-SH):
3016 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3017
5814f126
SM
30182012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3019
a52c0aa0
SM
3020 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3021
5814f126
SM
3022 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3023 Simplify Maven regexp, and make sure the file can't start with a space
3024 (bug#11517).
3025
b847032c
GM
30262012-05-21 Glenn Morris <rgm@gnu.org>
3027
3028 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3029 Scrap superfluous subshells.
3030
3858bfe7
SM
30312012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3034 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3035
d14b0029
JB
30362012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3037
3038 * calc/calc.el (calc-ensure-consistent-units): New variable.
3039
a52c0aa0
SM
3040 * calc/calc-units.el (math-consistent-units-p)
3041 (math-check-unit-consistency): New functions.
3042 (calc-quick-units, calc-convert-units):
3043 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3044 is non-nil.
d14b0029
JB
3045 (calc-extract-units): Fix typo.
3046
60c4db3a
SM
30472012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3048
77f3b62e
SM
3049 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3050
60c4db3a
SM
3051 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3052 (flyspell-default-deplacement-commands): Don't spell check after
3053 repeated window/frame switches (e.g. triggered by mouse-movement).
3054 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3055 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3056 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3057 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3058 Remove unused vars.
3059 (flyspell-get-casechars, flyspell-get-not-casechars):
3060 Simplify; Don't bother removing a ] just to add it back.
3061 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3062
d209e2fb 30632012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3064
3065 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3066 New functions.
bd7239f5 3067 (math-function-table): Add support for more C functions.
b1a10716 3068
3f1b25b5
AM
30692012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3070
090bd7cb
JB
3071 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3072 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3073 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3074
b581bb5c
SM
30752012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3078 their respective macro declarations.
3079 * skeleton.el (define-skeleton):
3080 * progmodes/compile.el (define-compilation-mode):
3081 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3082 (define-ibuffer-filter):
3083 * emacs-lisp/generic.el (define-generic-mode):
3084 * emacs-lisp/easy-mmode.el (define-minor-mode)
3085 (define-globalized-minor-mode):
3086 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3087 * emacs-lisp/byte-run.el (defsubst):
3088 * custom.el (deftheme): Add doc-string metadata.
3089
70b8ef8f
SM
30902012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3093
b1198e17
SM
30942012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3095
9abdc45d
SM
3096 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3097
b1198e17
SM
3098 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3099 * emacs-lisp/cl-macs.el: Idem.
3100 * emacs-lisp/cl-specs.el: Remove.
3101
4735906a
SM
31022012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 Minor renaming of internal CL functions and variables.
3105 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3106 (cl--position): Rename from cl-position.
3107 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3108 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3109 (cl--random-state): Rename from *random-state*.
3110
ac348012
SM
31112012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3114 parens around the arg list (bug#11499).
3115
a0a79cde
JL
31162012-05-17 Juri Linkov <juri@jurta.org>
3117
3118 * isearch.el (word-search-regexp, word-search-backward)
3119 (word-search-forward, word-search-backward-lax)
3120 (word-search-forward-lax): Move functions from search.c
3121 (bug#10145, bug#11381).
3122
65034a51
AM
31232012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3124
090bd7cb
JB
3125 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3126 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3127 Delay for otherchars as for normal word components.
65034a51 3128
1a72a195
SM
31292012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * minibuffer.el (completion--sifn-requote): Fix last change.
3132 (minibuffer-local-must-match-filename-map):
3133 Move define-obsolete-variable-alias before its var.
3134
fdb058c2
SM
31352012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3136
c41045e6
SM
3137 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3138
036dfb8b
SM
3139 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3140 behavior.
3141 (completion--string-equal-p): New function.
3142 (completion--twq-all): Use it to get better assertion failure data.
3143
2473256d
SM
3144 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3145 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3146 (shell--requote-argument): New functions.
3147 (shell-completion-vars): Use them.
3148 (shell--parse-pcomplete-arguments): Rename from
3149 shell-parse-pcomplete-arguments.
3150 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3151 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3152 Obey comint-file-name-quote-list.
3153
fdb058c2
SM
3154 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3155 (smie-indent-keyword): Use it.
3156
51fa99f1
SM
31572012-05-14 Stefan Merten <smerten@oekonux.de>
3158
3159 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3160
e18afed7 31612012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3162
3163 * net/rlogin.el (rlogin-mode-map): Fix last change.
3164
e18afed7 31652012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3166
3167 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3168 the following \r\n using a single `process-send-string', since the
3169 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3170 with two `process-send-string's (Bug#11444).
8633b1f4 3171
e18afed7 31722012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3173
fdb058c2
SM
3174 * shell.el (shell-parse-pcomplete-arguments):
3175 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3176
2d21d7f6
WJ
31772012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3178
e18afed7 3179 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3180 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3181 (image-transform-width, image-transform-fit-width): New functions.
3182 (image-transform-properties): Use them.
3183 (image-transform-check-size): New function.
3184 (image-toggle-display-image): Use it (for testing).
3185 (image-transform-set-rotation): Reduce angle mod 360.
3186 Delete obsolete comment.
3187
7102e6d0
WJ
31882012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3189
3190 * image-mode.el: Fix scaling (bug#11399).
3191 (image-transform-resize): Doc fix.
3192 (image-transform-properties): Default scale is 1 and height should
3193 be an integer.
3194
06bc5e6e
SM
31952012-05-13 Johan Bockgård <bojohan@gnu.org>
3196
3197 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3198 than hard-coding `car', to fix misbehavior when moving forward.
3199
0ae03b6a
CY
32002012-05-13 Chong Yidong <cyd@gnu.org>
3201
3202 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3203 (tabulated-list-entries, tabulated-list-padding)
3204 (tabulated-list-sort-key): Make permanent-local.
3205
3206 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3207 (electric-buffer-list): Put electric buffer menu
3208 command descriptions in this docstring, instead of the docstring
3209 of electric-buffer-menu-mode. Code cleanups.
3210 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3211 Electric-buffer-menu-mode.
3212 (electric-buffer-update-highlight): Minor code cleanup.
3213
205a7391
MA
32142012-05-13 Michael Albinus <michael.albinus@gmx.de>
3215
3216 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3217 (Bug#11447)
3218
e5bd0a28
SM
32192012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3220
3221 Move define-obsolete-variable-alias before the var's definition.
3222 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3223 * tooltip.el (tooltip-hook):
3224 * textmodes/reftex-toc.el (reftex-toc-map):
3225 * textmodes/reftex-sel.el (reftex-select-label-map)
3226 (reftex-select-bib-map):
3227 * textmodes/reftex-index.el (reftex-index-map)
3228 (reftex-index-phrases-map):
3229 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3230 * progmodes/meta-mode.el (meta-mode-map):
3231 * novice.el (disabled-command-hook):
3232 * loadhist.el (unload-hook-features-list):
3233 * frame.el (blink-cursor):
3234 * files.el (find-file-not-found-hooks, write-file-hooks)
3235 (write-contents-hooks):
3236 * emulation/tpu-edt.el (GOLD-map):
3237 * emacs-lock.el (emacs-lock-from-exiting):
3238 * emacs-lisp/generic.el (generic-font-lock-defaults):
3239 * emacs-lisp/chart.el (chart-map):
3240 * dos-fns.el (register-name-alist):
3241 * dired-x.el (dired-omit-files-p):
3242 * desktop.el (desktop-enable):
3243 * cus-edit.el (custom-mode-hook):
3244 * buff-menu.el (buffer-menu-mode-hook):
3245 * bookmark.el (bookmark-read-annotation-text-func)
3246 (bookmark-exit-hooks):
3247 * allout.el (allout-mode-deactivate-hook)
3248 (allout-exposure-change-hook, allout-structure-added-hook)
3249 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3250 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3251 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3252 comes before the corresponding variable's definition.
3253
ac59c2f6
CY
32542012-05-12 Chong Yidong <cyd@gnu.org>
3255
3256 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3257 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3258 (Buffer-menu-mode-map): Bind it.
3259 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3260
dee6c9a3
SM
32612012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3262
2171cea5
SM
3263 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3264 (prolog-upper-case-string, prolog-lower-case-string)
3265 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3266 (prolog-use-smie, prolog-smie-grammar): New vars.
3267 (prolog-smie-forward-token, prolog-smie-backward-token)
3268 (prolog-smie-rules): New funs.
3269 (prolog-comment-indent): Remove.
3270 (prolog-mode-variables): Use default comment indentation instead.
3271 Setup SMIE.
3272 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3273 (prolog-mode): Don't call them any more.
3274 (prolog-electric-colon, prolog-electric-dash)
3275 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3276
aa0382bd
SM
3277 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3278
dbacb4bd
SM
3279 * minibuffer.el (completion--twq-all): Again, allow case differences.
3280
13bdd94c
SM
3281 * term.el: Move keymap initialization code to be more idiomatic.
3282 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3283 (term-terminal-menu): Move initialization into declaration.
3284 (term-escape-char): Let the user set it in her .emacs.
3285
ff46c759
SM
3286 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3287 Provide SMIE-based indentation (not enabled by default yet).
3288 (sh-mode-map): Don't bind electric keys.
3289 Use electric-pair-mode instead of skeleton-pair.
3290 (sh-assignment-regexp): Fit within 80 columns.
3291 (sh-indent-supported): Specify actual shell name instead of boolean.
3292 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3293 (sh-maybe-here-document): Use it. Make obsolete.
3294 (sh-electric-here-document-mode) New minor mode.
3295 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3296 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3297 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3298 (sh-smie-rc-grammar, sh-use-smie): New vars.
3299 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3300 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3301 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3302 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3303 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3304 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3305 (sh-set-shell): Use smie-setup if requested.
3306
dee6c9a3
SM
3307 * term.el (term-set-escape-char): Properly set term-escape-char.
3308 See http://stackoverflow.com/questions/10524656.
3309
9f9aa044
CY
33102012-05-10 Chong Yidong <cyd@gnu.org>
3311
3312 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3313 Use url-generic-parse-url, and handle host names and Windows
3314 filenames properly.
3315 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3316 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3317 URL schemes to work on.
3318 (ffap--toggle-read-only): New function.
3319 (ffap-read-only, ffap-read-only-other-window)
3320 (ffap-read-only-other-frame): Use it.
3321 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3322 necessary for ffap-url-unwrap-remote.
3323
836d29b3
DA
33242012-05-10 Dave Abrahams <dave@boostpro.com>
3325
3326 * cus-start.el (create-lockfiles): Add it.
3327
00fd78ed
CY
33282012-05-09 Chong Yidong <cyd@gnu.org>
3329
3330 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3331 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3332
666b903b 33332012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3334
3335 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3336
666b903b 33372012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3338
3339 * ansi-color.el (ansi-color-process-output): Check for validity of
3340 comint-last-output-start before using it. This avoids a bad
3341 interaction with gdb-mi's input/output buffer.
3342
666b903b 33432012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3344
3345 * files.el (dir-locals-read-from-file):
3346 Mention dir-locals in any error message.
3347
666b903b 33482012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3349
3350 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3351 package (Bug#11410).
3352
f677562b
CY
3353 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3354 variables into description.
3355
666b903b 33562012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3357
3358 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3359 shell-delimiter-argument-list (bug#11348).
3360 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3361
b499d8d0
JB
33622012-05-09 Juanma Barranquero <lekktu@gmail.com>
3363
8f6b6da8
JB
3364 * textmodes/rst.el: Silence byte-compiler warnings.
3365 (rst-re-alist, rst-reset-section-caches): Move around.
3366 (rst-re): Use `characterp', not `char-valid-p'.
3367 (font-lock-beg, font-lock-end): Declare.
3368
4824146a
JB
3369 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3370 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3371
b499d8d0
JB
3372 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3373
ad89bb83
GM
33742012-05-08 Glenn Morris <rgm@gnu.org>
3375
3376 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3377
8bba5a75
SM
33782012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3379
49ed9c8e
SM
3380 * vc/log-edit.el: Add GNU coding standards highlighting.
3381 (log-edit-font-lock-gnu-style)
3382 (log-edit-font-lock-gnu-keywords): New vars.
3383 (log-edit-font-lock-keywords): New fun.
3384 (log-edit-mode): Don't fold case in font-lock.
3385 (log-edit-font-lock-keywords): Do not assume case-folding.
3386
07d00b56
SM
3387 * imenu.el: Misc cleanup. Make docstrings out of comments.
3388 Use lexical-binding.
3389 (imenu--index-alist, imenu--last-menubar-index-alist)
3390 (imenu-menubar-modified-tick): Use defvar-local.
3391 (imenu--split-menu): Remove unused var.
3392 (imenu--cleanup-seen): Declare as global.
3393 (imenu--cleanup): Use dolist.
3394
8bba5a75
SM
3395 * subr.el (defvar-local): Add debug spec and doc-string position.
3396
5075bdb5
GM
33972012-05-08 Glenn Morris <rgm@gnu.org>
3398
090bd7cb 3399 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3400 * language/english.el, language/georgian.el, language/greek.el:
3401 * language/japanese.el, language/khmer.el, language/korean.el:
3402 * language/lao.el, language/misc-lang.el, language/romanian.el:
3403 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3404 * language/thai.el, language/utf-8-lang.el:
3405 Remove no-byte-compile setting.
3406
5075bdb5
GM
3407 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3408
06f679a7
AH
34092012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3410
3411 * progmodes/make-mode.el (makefile-browse):
3412 Remove unnecessary interactive. (Bug#11324)
3413
03794570
GM
34142012-05-07 Glenn Morris <rgm@gnu.org>
3415
af8630f4
GM
3416 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3417
03794570
GM
3418 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3419
f0809a9d
SM
34202012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3421
28be5ce7
SM
3422 * loadup.el: Preload newcomment.el.
3423 * newcomment.el: Move autoload-only code to toplevel.
3424
f0809a9d
SM
3425 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3426 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3427 Handle new :right-align column property.
3428 (tabulated-list-print-col): Idem, plus use `display' text-property to
3429 try and preserve alignment for variable pitch fonts.
3430
1241b724
CY
34312012-05-07 Chong Yidong <cyd@gnu.org>
3432
3433 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3434 (tabulated-list-use-header-line): New var.
3435 (tabulated-list-init-header): Use it.
3436 (tabulated-list-print-fake-header): New function.
3437 (tabulated-list-print): Use it.
3438 (tabulated-list-sort-button-map): Add non-header-line commands.
3439 (tabulated-list-init-header): Add column name property to basic
3440 labels as well.
3441 (tabulated-list-col-sort): Handle non-header-line button case.
3442 (tabulated-list--sort-by-column-name): Fix a corner case.
3443
f0809a9d
SM
3444 * buff-menu.el (list-buffers--refresh):
3445 Handle Buffer-menu-use-header-line.
1241b724 3446
e5f9458f
CY
34472012-05-06 Chong Yidong <cyd@gnu.org>
3448
3449 * buff-menu.el: Convert to Tabulated List mode.
3450 (Buffer-menu-buffer+size-width): Make obsolete.
3451 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3452 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3453 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3454 documentation into docstring of buffer-menu.
3455 (Buffer-menu-toggle-files-only): Add an informative message.
3456 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3457 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3458 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3459 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3460 (Buffer-menu-execute, Buffer-menu-select)
3461 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3462 (Buffer-menu-bury): Use Tabulated List machinery.
3463 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3464 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3465 Delete.
e5f9458f
CY
3466 (list-buffers--refresh): New function.
3467 (list-buffers-noselect): Use it.
3468 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3469 (Buffer-menu--pretty-file-name): New helper functions.
3470
3471 * loadup.el: Preload tabulated-list.
3472
3473 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3474 tabulated-list-sort-column.
3475 (tabulated-list-init-header): Add the initial aligning space even
3476 if tabulated-list-padding is zero.
3477
e129292c
CS
34782012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3479
3480 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3481 whose cdr is not a cons cell correctly (bug#11038).
3482
6632d361
CY
34832012-05-06 Chong Yidong <cyd@gnu.org>
3484
e129292c
CS
3485 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3486 Accept additional plist in column descriptors.
6632d361
CY
3487 (tabulated-list-init-header): Obey it.
3488 (tabulated-list-get-entry): New function.
3489 (tabulated-list-put-tag): Use it. Use string-width instead of
3490 length.
3491 (tabulated-list--column-number): New function.
3492 (tabulated-list-print): Use it.
e129292c
CS
3493 (tabulated-list-print-col): New function.
3494 Set `tabulated-list-column-name' property on each column's text.
6632d361 3495 (tabulated-list-print-entry): Use it.
e129292c
CS
3496 (tabulated-list-delete-entry, tabulated-list-set-col):
3497 New functions.
6632d361
CY
3498 (tabulated-list-sort-column): New command (Bug#11337).
3499
3cc99f68
CY
3500 * buff-menu.el (list-buffers): Move C-x C-b binding from
3501 buff-menu.el to bindings.el.
3502
3503 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3504 :advertised-binding feature.
3505
52b61776
TN
35062012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3507
3508 * progmodes/compile.el (compilation-internal-error-properties):
3509 Calculate start position correctly when end-col is set but
3510 end-line is not (Bug#11382).
3511
ebfe2597
WJ
35122012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3513
3514 * man.el (Man-unindent): Use text-property-default-nonsticky to
3515 prevent untabify from inheriting face properties (Bug#11408).
3516
6d3f7c2f
SM
35172012-05-05 Stefan Merten <smerten@oekonux.de>
3518
3519 * textmodes/rst.el: Major merge with upstream development up to
3520 Docutils SVN r7399 / rst.el V1.2.1.
3521
3522 Clarify maintainership and authors.
3523
3524 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3525 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3526 (rst-official-version, rst-official-cvs-rev, rst-version)
3527 (rst-package-emacs-version-alist): New functions and variables
3528 for version information.
3529
3530 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3531 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3532 (rst-mode-syntax-table, rst-mode): New and corrected functions
3533 and variables representing reStructuredText features.
3534
3535 (rst-re): New function for reStructuredText regexes. Use in
3536 many places.
3537
3538 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3539 (rst-mode-map): Rebind keys.
3540
3541 (rst-mode-lazy, rst-font-lock-keywords)
3542 (rst-font-lock-extend-region)
3543 (rst-font-lock-extend-region-internal)
3544 (rst-font-lock-extend-region-extend)
3545 (rst-font-lock-find-unindented-line-limit)
3546 (rst-font-lock-find-unindented-line-match)
3547 (rst-adornment-level, rst-font-lock-adornment-level)
3548 (rst-font-lock-adornment-match)
3549 (rst-font-lock-handle-adornment-pre-match-form)
3550 (rst-font-lock-handle-adornment-matcher): Major revision of
3551 font-locking. Integrate with other code. Use `jit-lock-mode'.
3552
3553 (rst-preferred-adornments, rst-adjust-hook)
3554 (rst-new-adornment-down, rst-preferred-bullets)
3555 (rst-preferred-bullets, rst-indent, rst-indent-width)
3556 (rst-indent-field, rst-indent-literal-normal)
3557 (rst-indent-literal-minimized, rst-indent-comment): Change,
3558 extend and improve customization.
3559
3560 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3561 (rst-normalize-cursor-position, rst-get-decoration)
3562 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3563 (rst-rstrip, rst-toc-insert-find-delete-contents)
3564 (rst-shift-fill-region, rst-compute-bullet-tabs)
3565 (rst-debug-print-tabs, rst-debug-mark-found)
3566 (rst-shift-region-guts, rst-shift-region-right)
3567 (rst-shift-region-left, rst-use-char-classes)
3568 (rst-font-lock-keywords-function)
3569 (rst-font-lock-indentation-point)
3570 (rst-font-lock-find-unindented-line-begin)
3571 (rst-font-lock-find-unindented-line-end)
3572 (rst-font-lock-find-unindented-line)
3573 (rst-font-lock-adornment-point, rst-font-lock-level)
3574 (rst-adornment-level-alist): Remove functions and variables.
3575
3576 (rst-compare-adornments, rst-get-adornment-match)
3577 (rst-suggest-new-adornment, rst-get-adornments-around)
3578 (rst-adornment-complete-p, rst-get-next-adornment)
3579 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3580 (rst-straighten-adornments): Standardize function names to
3581 use "adornment" instead of "decoration". Correct callers.
3582 Similar standardizing in many places.
3583
3584 (rst-update-section, rst-adjust, rst-promote-region)
3585 (rst-enumerate-region, rst-bullet-list-region)
3586 (rst-repeat-last-character): Correct use of `interactive'.
3587
3588 (rst-classify-adornment, rst-find-all-adornments)
3589 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3590 (rst-find-leftmost-column, rst-repeat-last-character):
3591 Refactor functions.
3592
3593 (rst-find-title-line, rst-reset-section-caches)
3594 (rst-get-adornments-around, rst-adjust-adornment-work)
3595 (rst-arabic-to-roman, rst-roman-to-arabic)
3596 (rst-insert-list-pos, rst-insert-list-new-item)
3597 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3598 New functions.
3599
3600 (rst-all-sections, rst-section-hierarchy)
3601 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3602 New variables.
3603
3604 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3605 configuration instead of only buffer. Change where necessary.
3606
3607 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3608 (rst-shift-region, rst-adaptive-fill): New functions for
3609 indentation and filling.
3610
3611 (rst-comment-line-break, rst-comment-indent)
3612 (rst-comment-insert-comment, rst-comment-region)
3613 (rst-uncomment-region): New functions for handling comments.
3614
3615 (rst-compile): Quote shell arguments.
3616
3617 (rst-compile-pdf-preview, rst-compile-slides-preview):
3618 Delete temporary files after use.
3619
a43f98b3
GM
36202012-05-05 Glenn Morris <rgm@gnu.org>
3621
48176e8b
GM
3622 * calendar/cal-html.el: Optionally include holidays in the output.
3623 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3624 (cal-html-holidays): New option.
3625 (cal-html-css-default): Add holiday entry.
3626 (holiday-in-range): Autoload it.
3627 (cal-html-htmlify-entry): Add optional class argument.
3628 (cal-html-htmlify-list): Add optional holidays argument.
3629 (cal-html-insert-agenda-days): Include holidays in the output.
3630 (cal-html-one-month): Maybe include holidays.
3631
a43f98b3
GM
3632 * calendar/holidays.el (holiday-in-range):
3633 Move here from cal-tex-list-holidays.
3634 * calendar/cal-tex.el (cal-tex-list-holidays):
3635 Make it an obsolete alias for holiday-in-range. Update all callers.
3636
fef9d149 36372012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3638
3639 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3640 Nextstep.
3641
248da2f4
RW
36422012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3643
3644 * files.el (file-auto-mode-skip): New var.
3645 (set-auto-mode-1): Use it.
3646
f95e9344
SM
36472012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3648
df96ab1e
SM
3649 * repeat.el: Use lexical-binding.
3650 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3651 (repeat-undo-count): Remove.
3652 (repeat):
3653 * progmodes/octave-mod.el (octave-abbrev-start):
3654 * progmodes/f90.el (f90-abbrev-start):
3655 * face-remap.el (text-scale-adjust):
3656 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3657
5342bb06
SM
3658 * emacs-lisp/pcase.el (pcase--let*): New function.
3659 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3660 a bit more.
3661 (pcase--split-pred): Be more clever about ruling out overlap between
3662 a predicate and some constant pattern.
3663 (pcase--q1): Use `null' instead of (eq foo nil).
3664
f95e9344
SM
3665 * subr.el (setq-local, defvar-local): New macros.
3666 (kbd): Redefine as an alias.
3667 (with-selected-window): Leave unrelated frames alone.
3668 (set-temporary-overlay-map): New function.
3669
71873e2b
SM
36702012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * subr.el (user-error): New function.
3673 * window.el (switch-to-buffer):
3674 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3675 (smerge-match-conflict):
3676 * simple.el (previous-matching-history-element)
3677 (next-matching-history-element, goto-history-element, undo-more)
3678 (undo-start):
3679 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3680 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3681 (next-file, tags-loop-scan, list-tags, complete-tag):
3682 * progmodes/compile.el (compilation-loop):
3683 * mouse.el (mouse-minibuffer-check):
3684 * man.el (Man-bgproc-sentinel, Man-goto-page):
3685 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3686 (Info-history-forward, Info-follow-reference, Info-menu)
3687 (Info-extract-menu-item, Info-extract-menu-counting)
3688 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3689 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3690 (Info-next-reference, Info-prev-reference, Info-index)
3691 (Info-index-next, Info-follow-nearest-node)
3692 (Info-copy-current-node-name):
3693 * imenu.el (imenu--make-index-alist)
3694 (imenu-default-create-index-function, imenu-add-to-menubar):
3695 * files.el (basic-save-buffer, recover-file):
3696 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3697 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3698 (checkdoc-message-text, checkdoc-defun):
3699 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3700 * cus-edit.el (customize-changed-options, customize-rogue)
3701 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3702 (custom-variable-mark-to-reset-standard)
3703 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3704 (custom-file):
3705 * completion.el (check-completion-length):
3706 * comint.el (comint-search-arg)
3707 (comint-previous-matching-input-string-position)
3708 (comint-previous-matching-input)
3709 (comint-replace-by-expanded-history-before-point, comint-send-input)
3710 (comint-copy-old-input, comint-backward-matching-input)
3711 (comint-goto-process-mark, comint-set-process-mark):
3712 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3713 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3714
8a61ee22
SM
37152012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3716
66408d1e
SM
3717 * dabbrev.el (dabbrev--ignore-case-p): New function.
3718 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3719 Use it.
3720
8a61ee22
SM
3721 * files.el (automount-dir-prefix): Mark as obsolete.
3722
3c74813a
GM
37232012-05-04 Glenn Morris <rgm@gnu.org>
3724
3725 * patcomp.el, play/bruce.el: Move to obsolete/.
3726
0bfcf5c5
PE
37272012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3728
3729 Fix minor Y10k bugs.
3730 * arc-mode.el (archive-unixdate):
3731 * autoinsert.el (auto-insert-alist):
3732 * calc/calc-forms.el (math-this-year):
3733 * emacs-lisp/copyright.el (copyright-current-year)
3734 (copyright-update-year, copyright):
3735 * tar-mode.el (tar-clip-time-string):
3736 * time.el (display-time-update):
3737 Don't assume years have 4 digits.
3738
78f3273a
CY
37392012-05-04 Chong Yidong <cyd@gnu.org>
3740
3741 * dos-w32.el (file-name-buffer-file-type-alist)
3742 (direct-print-region-use-command-dot-com):
3743 * ffap.el (ffap-menu-regexp):
3744 * find-file.el (ff-special-constructs):
3745 * follow.el (follow-debug):
3746 * forms.el (forms--debug):
3747 * iswitchb.el (iswitchb-all-frames):
3748 * ido.el (ido-all-frames):
3749 * emacs-lisp/timer.el (timer-max-repeats):
3750 * mail/feedmail.el (feedmail-mail-send-hook)
3751 (feedmail-mail-send-hook-queued):
3752 * mail/footnote.el (footnote-signature-separator):
3753 * mail/mailabbrev.el (mail-alias-separator-string)
3754 (mail-abbrev-mode-regexp):
3755 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3756 * progmodes/idlwave.el (idlwave-libinfo-file)
3757 (idlwave-default-completion-case-is-down)
3758 (idlwave-library-routines): Convert defvars to defcustoms.
3759
3760 * mail/rmail.el (rmail-decode-mime-charset):
3761 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3762 (idlwave-shell-fix-inserted-breaks)
3763 (idlwave-shell-activate-alt-keybindings)
3764 (idlwave-shell-use-breakpoint-glyph):
3765 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3766
f7ae6719
SM
37672012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3770
47086495
WS
37712012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3772
3773 * progmodes/verilog-mode.el (font-lock-keywords):
3774 Fix mis-highligting auto. Reported by Craig Barner.
3775 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3776 defines from global name space. Reported by Dan Dever.
3777 (verilog-auto-reset, verilog-auto-reset-widths)
3778 (verilog-auto-tieoff): Support using unbased numbers for
3779 AUTORESET and AUTOTIEOFF.
3780 (verilog-submit-bug-report): Update variable list.
3781 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3782 parenthesis from not matching. Reported by Michael Rytting.
3783 (verilog-auto-template-lint): Fix hash error when linting modules
3784 with no used templates.
3785 (verilog-warn, verilog-warn-error)
3786 (verilog-warn-fatal): When non-interactive report multiple
3787 warnings before exiting. Suggested by Brad Dobbie.
3788 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3789 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3790 to report unused template errors. Reported by Brad Dobbie.
3791 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3792 nets, bug438. Reported by Vns Blore.
3793 (verilog-auto-inout-module, verilog-auto-reg)
3794 (verilog-read-decls, verilog-read-sub-decls-sig)
3795 (verilog-signals-edit-wire-reg, verilog-signals-with):
3796 Fix passing of Verilog data types in ANSI input/output ports
3797 such as "output logic" into the AUTOs. Special case "wire" and
3798 "reg" for backwards compatibility presuming Verilog 2001.
3799 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3800 (verilog-preprocess): Fix replication of preprocess output.
3801 Reported by Brad Dobbie.
3802 (verilog-auto-inst-interfaced-ports):
3803 Create verilog-auto-inst-interfaced-ports, bug429.
3804 Reported by Julian Gorfajn.
3805 (verilog-after-save-font-hook)
3806 (verilog-before-save-font-hook): New variable.
3807 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3808 (verilog-save-font-mods): Wrap disabling fontification, reported
3809 by David Rogoff.
3810 (verilog-do-indent, verilog-pretty-declarations-auto)
3811 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3812 Reported by Pierre-David Pfister.
3813 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3814 of class declarations, bug292. Reported by Kevin Heilman.
3815 (verilog-read-decls): Fix 'parameter type' not appearing in
3816 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3817 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3818 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3819 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3820 Reported by David Kravitz.
3821
38222012-05-03 Michael McNamara <mac@mail.brushroad.com>
3823
3824 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3825 assignment with tests in ifs and for loops.
3826 (verilog-extended-complete-re, verilog-complete-reg): Change so
3827 that DPI inport functions don't look like fuction declarations.
3828 (verilog-pretty-expr): Don't line up assignment
3829 operations to the test and increment in if and for loops
3830 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3831 that DPI inport functions don't look like fuction declarations.
47086495 3832
2e51d4b5
KH
38332012-05-03 Kenichi Handa <handa@m17n.org>
3834
3835 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3836 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3837 (Bug#11282).
3838
2bd785a2
SM
38392012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * emacs-lisp/bytecomp.el
3842 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3843 since cconv.el might have introduced :fun-body, internal-make-closure,
3844 and friends for bytecomp to handle (bug#11391).
3845 * custom.el (defcustom): Avoid ((λ ..) ..).
3846
99d27583
SM
38472012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3850
55a71479
JB
38512012-05-02 Juanma Barranquero <lekktu@gmail.com>
3852
3853 * notifications.el (dbus-debug):
3854 * term/linux.el (gpm-mouse-enable):
3855 * term/screen.el (xterm-register-default-colors): Declare.
3856
7b97c764
CY
38572012-05-02 Chong Yidong <cyd@gnu.org>
3858
2bc356d7
CY
3859 * cus-start.el (gc-cons-percentage, exec-suffixes)
3860 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3861 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3862 (make-cursor-line-fully-visible, void-text-area-pointer)
3863 (font-list-limit): Add customization data.
3864
7b97c764
CY
3865 * allout.el (allout-exposure-change-functions)
3866 (allout-structure-added-functions)
3867 (allout-structure-deleted-functions)
3868 (allout-structure-shifted-functions): Rename abnormal hooks from
3869 *-hook, and convert to defcustoms.
5d3385a0
JB
3870 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3871 Convert to defcustoms.
7b97c764
CY
3872 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3873
3874 * allout-widgets.el: Hook callers changed.
3875
90207a15 38762012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3877
3878 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3879 the yanked message in preference to the default value of
3880 buffer-file-coding-system.
3881
90207a15 38822012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3883
5d3385a0
JB
3884 * window.el (display-buffer--action-function-custom-type):
3885 Fix entry.
d9558cad 3886
90207a15 38872012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3888
3889 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3890
d80ac57b
GM
38912012-05-01 Glenn Morris <rgm@gnu.org>
3892
976f7668
GM
3893 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3894
beb83b5a
GM
3895 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3896
d80ac57b
GM
3897 * cus-edit.el (custom-variable-documentation): Simplify with format.
3898
b593d6a9 38992012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 3900 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
3901
3902 * simple.el (suggest-key-bindings, execute-extended-command):
3903 Move from keyboard.c.
3904
782fbf2a
CY
39052012-05-01 Chong Yidong <cyd@gnu.org>
3906
3907 * follow.el: Eliminate advice.
3908 (set-process-filter, process-filter, sit-for): Advice deleted.
3909 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3910 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3911 Vars deleted.
782fbf2a
CY
3912 (follow-auto): Use a :set function.
3913 (follow-mode): Rewritten. Don't advise process filters.
3914 (follow-switch-to-current-buffer-all, follow-scroll-up)
3915 (follow-scroll-down): Assume follow-mode is bound.
3916 (follow-comint-scroll-to-bottom)
3917 (follow-align-compilation-windows): New functions.
3918 (follow--window-sorter): New function.
3919 (follow-all-followers): Use it to explicitly sort windows by their
3920 positions; don't make assumptions about next-window order.
3921 (follow-windows-start-end, follow-delete-other-windows-and-split)
3922 (follow-calc-win-start): Doc fix.
3923 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3924 vertical-motion unnecessarily.
3925 (follow-adjust-window): New function.
3926 (follow-post-command-hook): Use it.
3927 (follow-call-set-process-filter, follow-call-process-filter)
3928 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3929 (follow-stop-intercept-process-output, follow-generic-filter):
3930 Functions deleted.
3931 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3932 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3933 New functions, replacing advice on scroll-bar-* commands.
87233a14 3934 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3935
3936 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3937 (comint-postoutput-scroll-to-bottom): Use it.
3938 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3939
290af740
GM
39402012-05-01 Glenn Morris <rgm@gnu.org>
3941
3942 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3943 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3944 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3945 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3946 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3947 Remove no-byte-compile setting.
3948
6eac8dc9
SM
39492012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3952 all-completions code to not return a number in the last cdr.
3953
9cc7819c
LL
39542012-04-30 Leo Liu <sdl.web@gmail.com>
3955
3956 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3957 read-only error.
3958
c93b886f
CY
39592012-04-29 Chong Yidong <cyd@gnu.org>
3960
3961 * follow.el (follow-calc-win-end): Rewrite to handle partial
3962 screen lines correctly (Bug#8390).
3963 (follow-avoid-tail-recenter): Minor cleanup.
3964
8b6c19f4
SM
39652012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3966
3967 Avoid the obsolete `assoc' package.
3968 * speedbar.el (speedbar-refresh): Avoid adelete.
3969 (speedbar-file-lists): Simplify and avoid aput.
3970 * man.el (Man--sections, Man--refpages): New vars, replacing
3971 Man-sections-alist and Man-refpages-alist.
3972 (Man-build-section-alist, Man-build-references-alist):
3973 Use them; avoid aput.
3974 (Man--last-section, Man--last-refpage): New vars.
3975 (Man-follow-manual-reference): Use them.
3976 Use the `default' arg of completing-read.
3977 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3978
c5bb7569
CY
39792012-04-27 Chong Yidong <cyd@gnu.org>
3980
d1d2e2e8
CY
3981 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3982
15cd8efd
CY
3983 * startup.el (x-apply-session-resources): New function.
3984
3985 * term/ns-win.el (ns-initialize-window-system):
3986 * term/w32-win.el (w32-initialize-window-system):
3987 * term/x-win.el (x-initialize-window-system): Use it to properly
3988 set menu-bar-mode and other vars from X resources, even if the
3989 initial frame is not a window-system frame (Bug#2299).
3990
c5bb7569
CY
3991 * subr.el (read-key): Avoid running filter function when setting
3992 up temporary tool bar entries (Bug#9922).
3993
a8e7d6d7 39942012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3995
3996 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3997 (Bug#11344)
3998
a8e7d6d7 39992012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4000
4001 * select.el (xselect--encode-string): New function, split from
4002 xselect-convert-to-string.
4003 (xselect-convert-to-string): Use it.
4004 (xselect-convert-to-filename, xselect-convert-to-os)
4005 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4006 returned strings are properly encoded (Bug#11315).
4007
a8e7d6d7 40082012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4009
4010 * simple.el (delete-active-region): Move to killing custom group.
4011
a8e7d6d7 40122012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4013
4014 * progmodes/which-func.el (which-func-current): Quote %
4015 characters for mode-line processing.
4016
578c1d4b 40172012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4018
4019 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4020 reaching eob (Bug#11286).
4021
a8e7d6d7 40222012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4023
4024 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4025 (gdb): Make it buffer-local and init to zero.
4026 (gdb-control-commands-regexp): New variable.
4027 (gdb-send): Don't wrap in "-interpreter-exec console" if
4028 gdb-control-level is positive. Increment gdb-control-level
4029 whenever the command matches gdb-control-commands-regexp, and
4030 decrement it each time the command is "end". (Bug#11279)
4031
a8e7d6d7 40322012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4033
4034 * window.el (adjust-window-trailing-edge, enlarge-window)
4035 (shrink-window, window-resize):
4036 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4037 windows (Bug#11276).
4038
b3608390
CY
40392012-04-27 Chong Yidong <cyd@gnu.org>
4040
4041 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4042 fix "missing prefix" warning. All callers changed.
b3608390 4043
797e6e88
SM
40442012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * emacs-lisp/assoc.el: Move to obsolete/.
4047
e95a67dc
SM
40482012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4049
657c21e4 4050 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4051
4052 * term/ns-win.el (ns-define-service):
4053 * progmodes/pascal.el (pascal-goto-defun):
4054 * progmodes/js.el (js--read-tab):
4055 * progmodes/etags.el (tags-lazy-completion-table):
4056 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4057 * emacs-lisp/ewoc.el (ewoc--wrap):
4058 * emacs-lisp/assoc.el (aput, adelete, amake):
4059 * doc-view.el (doc-view-convert-current-doc):
4060 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4061
cb3e7ae0
CY
40622012-04-26 Chong Yidong <cyd@gnu.org>
4063
dce04f7f
CY
4064 * image.el (image-type-from-buffer): Only return supported image
4065 type (Bug#9045).
4066
cb3e7ae0
CY
4067 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4068 value, for symmetry with diff-end-of-hunk.
4069 (diff-split-hunk, diff-find-source-location)
4070 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4071 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4072 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4073 compute the relevant hunk or file properly (Bug#6005).
4074 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4075
0d42eb3e
SM
40762012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * vc/vc-mtn.el:
4079 * vc/vc-hg.el:
4080 * vc/vc-git.el:
4081 * vc/vc-dir.el:
4082 * vc/vc-cvs.el:
4083 * vc/vc-bzr.el:
4084 * vc/vc-arch.el:
4085 * vc/vc.el: Replace lexical-let by lexical-binding.
4086 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4087 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4088 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4089
f08ae1c9
CY
40902012-04-26 Chong Yidong <cyd@gnu.org>
4091
8b71081d
CY
4092 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4093 (diff-mode-shared-map): Bind it to / and [remap undo].
4094
f08ae1c9
CY
4095 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4096 (ediff-window-setup-function): Use it as the default, to set up
4097 windows based on whether the current frame is graphical (Bug#2138).
4098 (ediff-choose-window-setup-function-automatically): Make obsolete.
4099
4100 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4101
ef24141c
SM
41022012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4103
cc356a5d
SM
4104 * ffap.el: Remove old code for obsolete package.
4105 (ffap-complete-as-file-p): Remove.
4106
b4ff4f1f
SM
4107 Use completion-table-with-quoting for comint and pcomplete.
4108 * comint.el (comint--unquote&requote-argument)
4109 (comint--unquote-argument, comint--requote-argument): New functions.
4110 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4111 (comint-quote-filename): Use regexp-opt-charset.
4112 (comint--common-suffix, comint--common-quoted-suffix)
4113 (comint--table-subvert): Remove.
4114 (comint-unquote-function, comint-requote-function): New vars.
4115 (comint--complete-file-name-data): Use them with
4116 completion-table-with-quoting.
4117 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4118 * pcomplete.el (pcomplete-arg-quote-list)
4119 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4120 (pcomplete-unquote-argument-function): Default to non-nil.
4121 (pcomplete-unquote-argument): Simplify.
4122 (pcomplete--common-quoted-suffix): Remove.
4123 (pcomplete-requote-argument-function): New var.
4124 (pcomplete--common-suffix): New function.
4125 (pcomplete-completions-at-point): Use completion-table-with-quoting
4126 and completion-table-subvert.
4127
79c4eeb4
SM
4128 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4129 (minibuffer--double-dollars): Preserve properties.
4130 (completion--sifn-requote): New function.
4131 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4132
ef24141c
SM
4133 * minibuffer.el: Add support for completion of quoted/escaped data.
4134 (completion-table-with-quoting, completion-table-subvert): New funs.
4135 (completion--twq-try, completion--twq-all): New functions.
4136 (completion--nth-completion): New function.
4137 (completion-try-completion, completion-all-completions): Use it.
4138
784e7d6e
LL
41392012-04-25 Leo Liu <sdl.web@gmail.com>
4140
dd2ac746
SM
4141 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4142 Use compilation-message if available to find real filename.
784e7d6e 4143
07875ee7
CY
41442012-04-25 Chong Yidong <cyd@gnu.org>
4145
4146 * vc/diff-mode.el (diff-setup-whitespace): New function.
4147 (diff-mode): Use it.
4148
4149 * vc/diff.el (diff-sentinel):
4150 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4151 Whitespace mode variables based on diff style (Bug#8612).
4152
5055880d
LL
41532012-04-25 Leo Liu <sdl.web@gmail.com>
4154
daf75653
LL
4155 * progmodes/python.el (python-send-region): Add suffix .py to the
4156 temp file.
4157
5055880d
LL
4158 * files.el (auto-mode-alist): Use javascript-mode instead.
4159
db9b177b
AH
41602012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4161
ef24141c 4162 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4163
090bd7cb 4164 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4165 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4166 references, see Bug#9.
ef24141c 4167 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4168 when receiving a fault reply.
ef24141c 4169 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4170
090bd7cb 4171 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4172 (soap-inspect-simple-type): New function.
db9b177b 4173
090bd7cb 4174 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4175 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4176 (soap-decode-basic-type, soap-encode-basic-type):
4177 support unsignedInt and double basic types.
db9b177b 4178 (soap-resolve-references-for-simple-type)
ef24141c
SM
4179 (soap-parse-simple-type, soap-encode-simple-type): New function.
4180 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4181
090bd7cb 4182 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4183 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4184 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4185 the local name of "soapenc:Array".
4186 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4187 decoding integer, byte and anyURI xsd types.
4188
1fc6097b
CY
41892012-04-25 Chong Yidong <cyd@gnu.org>
4190
4191 * cus-edit.el (custom-buffer-create-internal): Update header text.
4192
afc6df87
EZ
41932012-04-25 Eli Zaretskii <eliz@gnu.org>
4194
4195 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4196 settings on 'system-type', not on 'window-system'. On MS-Windows,
4197 set interactive-mode on in GDB.
4198
dfbd787f
SM
41992012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4202 (ruby-syntax-propertize-regexp): Remove.
4203 (ruby-syntax-propertize-function): Split regexp into chunks.
4204 Match following code directly.
4205
85222d44
DG
42062012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4207
51a8ea2a
DG
4208 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4209 (ruby-syntax-propertize-regexp): New function.
4210 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4211 by a special keyword.
4212
85222d44
DG
4213 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4214 (ruby-syntax-general-delimiters-goto-beg)
4215 (ruby-syntax-propertize-general-delimiters): New functions.
4216 (ruby-syntax-propertize-function): Use them to handle GDL.
4217 (ruby-font-lock-keywords): Move old handling of GDL...
4218 (ruby-font-lock-syntactic-keywords): .. to here.
4219 (ruby-calculate-indent): Adjust indentation for GDL.
4220
b613912b
MA
42212012-04-24 Michael Albinus <michael.albinus@gmx.de>
4222
b5380639
MA
4223 * notifications.el (top): Remove unneeded declarations.
4224 (notifications-specification-version): Change to "1.2".
e43042fe 4225 (notifications-interface, notifications-notify-method)
b613912b
MA
4226 (notifications-close-notification-method): Fix docstring.
4227 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4228 (notifications-notify): Add :action-items, :resident and
4229 :transient hints. Change "image_data" to "image-data" and
4230 "image_path" to "image-path".
b613912b
MA
4231 (notifications-get-capabilities): New defun.
4232
257440aa
LL
42332012-04-24 Leo Liu <sdl.web@gmail.com>
4234
4235 * progmodes/python.el: Move hideshow setup to the end.
4236
b1bac16e
MR
42372012-04-24 Martin Rudalics <rudalics@gmx.at>
4238
4239 * window.el (handle-select-window): Clear echo area since this is
4240 no more done by read_char (Bug#11304).
4241
d81bd059
SM
42422012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4245 and `/ M' to filter-derived-mode.
4246 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4247 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4248 (ibuffer-mark-by-mode): Use default rather than initial-input.
4249 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4250
c4cf6d91
IA
42512012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4252
4253 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4254 (ibuffer-filter-by-derived-mode): New filter.
4255 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4256
7511ded8
CY
42572012-04-23 Andreas Politz <politza@fh-trier.de>
4258
4259 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4260
775c916b
CY
42612012-04-23 Chong Yidong <cyd@gnu.org>
4262
4263 * cus-edit.el (customize-apropos, customize-apropos-options):
4264 Disable matching of non-option variables (Bug#11176).
4265 (customize-option, customize-option-other-window)
4266 (customize-changed-options): Doc fix.
4267 (customize-apropos-options, customize-apropos-faces)
4268 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4269
4270 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4271 Fix word list splitting (Bug#11132).
46c71e23
CY
4272 (apropos-symbol, apropos-keybinding, apropos-label)
4273 (apropos-property, apropos-function-button)
4274 (apropos-variable-button, apropos-misc-button): New faces.
4275 (apropos-symbol-face, apropos-keybinding-face)
4276 (apropos-label-face, apropos-property-face, apropos-match-face):
4277 Variables removed (Bug#8396).
4278 (apropos-library-button, apropos-format-plist, apropos-print)
4279 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4280
2df41f9c
MA
42812012-04-23 Michael Albinus <michael.albinus@gmx.de>
4282
4283 * net/xesam.el (xesam-mode-map): Use let-bound map in
4284 initialization. (Bug#11292)
4285
da00640a
AM
42862012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4287
4288 Preserve ispell session localwords when switching back to
4289 original buffer.
4290
090bd7cb
JB
4291 * textmodes/ispell.el (ispell-buffer-session-localwords):
4292 New buffer-local variable to hold buffer session localwords.
ed9265fc 4293 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4294 localwords.
4295 (ispell-command-loop, ispell-change-dictionary)
4296 (ispell-buffer-local-words): Preserve session localwords when
4297 needed.
4298
090bd7cb
JB
4299 * textmodes/flyspell.el (flyspell-process-localwords)
4300 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4301
f621ccf5
AM
43022012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4303
090bd7cb
JB
4304 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4305 using obsolete `translation-table-for-input'.
ef24141c
SM
4306 (ispell-word, ispell-process-line, ispell-complete-word):
4307 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4308
c2d1019e
CY
43092012-04-22 Chong Yidong <cyd@gnu.org>
4310
4311 * cus-edit.el (custom-variable-menu)
4312 (custom-variable-reset-saved, custom-face-menu)
4313 (custom-face-reset-saved): If there is no saved value, make the
4314 "reset-saved" operation bring back the default (Bug#9509).
4315 (custom-face-state): Properly detect themed faces.
4316
eeddc531
CY
4317 * faces.el (face-spec-set): Stop supporting deprecated form of
4318 third arg.
4319
dcbf5805
MA
43202012-04-22 Michael Albinus <michael.albinus@gmx.de>
4321
4322 Move functions from C to Lisp. Make non-blocking method calls
4323 the default. Implement further D-Bus standard interfaces.
4324
ef24141c
SM
4325 * net/dbus.el (dbus-message-internal): Declare function.
4326 Remove unneeded function declarations.
dcbf5805
MA
4327 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4328 (dbus-message-type-method-return, dbus-message-type-error)
4329 (dbus-message-type-signal): Declare variables. Remove local
4330 definitions.
4331 (dbus-interface-dbus, dbus-interface-peer)
4332 (dbus-interface-introspectable, dbus-interface-properties)
4333 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4334 Adapt docstring.
4335 (dbus-interface-objectmanager): New defconst.
4336 (dbus-call-method, dbus-call-method-asynchronously)
4337 (dbus-send-signal, dbus-method-return-internal)
4338 (dbus-method-error-internal, dbus-register-service)
4339 (dbus-register-signal, dbus-register-method): New defuns, moved
4340 from dbusbind.c
4341 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4342 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4343 New defuns.
dcbf5805
MA
4344 (dbus-call-method-non-blocking): Make it an obsolete function.
4345 (dbus-unregister-object, dbus-unregister-service)
4346 (dbus-handle-event, dbus-register-property)
4347 (dbus-property-handler): Obey the new structure of
4348 `bus-registered-objects'.
4349 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4350 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4351 Use `dbus-call-method'.
4352
cf20dee0
CY
43532012-04-22 Chong Yidong <cyd@gnu.org>
4354
4355 * cus-edit.el (custom-commands, custom-reset-menu)
4356 (Custom-reset-standard): Tweak labels.
4357 (custom-reset-button-menu): Change default to t.
4358 (custom-buffer-create-internal): For the custom-reset-button-menu
4359 case, put the revert button first.
4360 (custom-group-subtitle): New face.
4361 (custom-group-value-create): Align docstring to a specific column.
4362
4363 * wid-edit.el (widget-documentation-link-add): Don't handle
4364 indentation in this function.
4365 (widget-documentation-string-indent-to): New function.
4366 (widget-documentation-string-value-create): Use it.
4367
4368 * autorevert.el (auto-revert):
4369 * epg-config.el (epg):
4370 * ibuffer.el (ibuffer):
4371 * mpc.el (mpc):
4372 * ses.el (ses):
4373 * eshell/eshell.el (eshell):
4374 * net/ange-ftp.el (ange-ftp):
4375 * progmodes/ebnf2ps.el (postscript):
4376 * progmodes/flymake.el (flymake):
4377 * progmodes/prolog.el (prolog):
4378 * progmodes/verilog-mode.el (verilog-mode):
4379 * progmodes/which-func.el (which-func):
4380 * term/xterm.el (xterm):
4381 * textmodes/picture.el (picture):
4382 * textmodes/tildify.el (tildify):
4383 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4384 customization buffers.
4385
583e23bd
AM
43862012-04-22 Alan Mackenzie <acm@muc.de>
4387
4388 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4389 Adding a ) can hide the resulting (..) from searches. Fix it.
4390 Bound the backward search to the position of the existing (.
4391
7dd51bf1
JB
43922012-04-21 Juanma Barranquero <lekktu@gmail.com>
4393
4394 * progmodes/verilog-mode.el (verilog-mode): Check whether
4395 which-func-modes is t before adding verilog-mode.
4396 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4397
d64a438f
LL
43982012-04-21 Leo Liu <sdl.web@gmail.com>
4399
7dd51bf1 4400 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4401
081e8d65
MV
44022012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4403
4404 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4405 filling of the last column of a table (Bug#5635).
4406 (woman-find-next-control-line): New arg, specifying an additional
4407 regexp component for the control line.
4408 (woman2-roff-buffer): Use it.
4409 (woman-break-table): New function.
4410 (woman2-TS): Use it.
4411
44122012-04-21 Chong Yidong <cyd@gnu.org>
4413
4414 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4415 (woman-horizontal-escapes, woman-negative-vertical-space)
4416 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4417 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4418
ed571ccb
SM
44192012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * minibuffer.el (completion-file-name-table): Complete user names.
4422
39773899
LL
44232012-04-20 Leo Liu <sdl.web@gmail.com>
4424
4425 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4426 and pcase-let*.
4427
de6ff46d
CY
44282012-04-20 Chong Yidong <cyd@gnu.org>
4429
4430 * server.el (server-execute): Respect initial-buffer-choice if it
4431 is a string and there are no files to open (Bug#2825).
4432 (server-create-window-system-frame, server-create-tty-frame):
4433 Don't switch buffers here.
2d0e8e61
CY
4434 (server-process-filter): Only try to open a window system frame if
4435 compiled with graphical support (Bug#8314).
de6ff46d 4436
54071013
DN
44372012-04-20 Dan Nicolaescu <dann@gnu.org>
4438
4439 * battery.el (battery-echo-area-format): Display remaining time
4440 for sysfs backend too (Bug#11269).
4441 (battery-linux-sysfs): Fix conditional for the charge.
4442
f30d612a
CY
44432012-04-20 Chong Yidong <cyd@gnu.org>
4444
c07a4c0b 4445 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4446 (gdb-inferior-io--init-proc): New function.
4447 (gdb-init-1): Use it.
4448 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4449 responsible for allocating a new pty and hooking it to gdb when
4450 the old pty gets an EIO due to process exit.
4451 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4452 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4453 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4454
2116e93c
EZ
44552012-04-20 Eli Zaretskii <eliz@gnu.org>
4456
4457 * window.el (window-min-size, window-sizable, window-min-delta)
4458 (window-max-delta, window--resizable, window-resizable)
4459 (window-total-size, window-full-height-p, window-full-width-p)
4460 (window-in-direction, window--resize-mini-window, window-resize)
4461 (window--resize-child-windows-normal)
4462 (window--resize-child-windows, window--resize-siblings)
4463 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4464 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4465
c07a4c0b 44662012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4467
ef24141c
SM
4468 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4469 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4470 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4471 pty process (Bug#11273).
4472 (gdb-update): New arg to suppress talking to the gdb process.
4473 (gdb-done-or-error): Use it.
4474 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4475 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4476 sentinel not being called.
4477
4478 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4479
d02766ab
CY
4480 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4481
c07a4c0b 44822012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4483
4484 * net/network-stream.el (open-network-stream): Doc fix.
4485
c07a4c0b 44862012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4487
4488 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4489
c07a4c0b 44902012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4491
4492 Ensure searching for keywords is case sensitive.
4493
4494 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4495 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4496 (c-defun-name, c-mark-function, c-cpp-define-name)
4497 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4498 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4499
ef24141c
SM
4500 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4501 Bind case-fold-search to nil.
f0f6bc35 4502
c07a4c0b 45032012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4504
4505 * mail/sendmail.el (mail-bury): Call return action with the right
4506 Rmail buffer (Bug#11242).
4507
9a864fa2
CY
4508 * server.el (server-process-filter): Handle corner case where both
4509 tty and nowait options are present (Bug#11102).
4510
539aa513
EZ
45112012-04-20 Eli Zaretskii <eliz@gnu.org>
4512
4513 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4514 (top level): Put into the executable the ident-style '$Id:' tag on
4515 windows-nt as well.
539aa513 4516
cfc7d5da
SM
45172012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * electric.el (electric-indent-post-self-insert-function): Check that
4520 electric-indent-mode is enabled in current buffer.
4521
5b01685c
JB
45222012-04-19 Juanma Barranquero <lekktu@gmail.com>
4523
4524 * imenu.el (imenu-progress-message): Restore; it is "used" in
4525 erc/erc-imenu.el and net/snmp-mode.el.
4526
4d6769e1
JB
45272012-04-19 Juanma Barranquero <lekktu@gmail.com>
4528
4529 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4530 (mouse-avoidance-nudge-mouse): Remove unused binding.
4531
4532 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4533
4534 * descr-text.el (describe-char):
4535 * progmodes/python.el (python-describe-symbol):
4536 Don't call `toggle-read-only', set `buffer-read-only'.
4537
4538 * imenu.el (imenu-default-goto-function): Mark unused args.
4539 (imenu-progress-message): Remove obsolete macro; all callers changed.
4540
4541 * subr.el (keymap-canonicalize): Remove unused binding.
4542 (read-passwd): Mark unused arg.
4543
4544 * tutorial.el (tutorial--display-changes): Remove unused binding.
4545 (tutorial--save-tutorial-to): Remove unused variable.
4546
4547 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4548 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4549 (package-generate-autoloads, package-menu--generate)
4550 (package-menu--find-upgrades): Remove unused bindings.
4551
4552 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4553 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4554 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4555 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4556 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4557 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4558 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4559 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4560 (cua-delete-char-rectangle): Mark unused args.
4561 (cua-align-rectangle): Remove unused binding.
4562
4563 * mail/rmail.el (compilation--message->loc)
4564 (epa--find-coding-system-for-mime-charset): Declare.
4565
4566 * net/dbus.el (dbus-register-service): Declare.
4567 (dbus-name-owner-changed-handler): Remove unused binding.
4568
4569 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4570 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4571 (nxml-scan-backward-within): Mark unused arg.
4572 (nxml-dynamic-markup-word): Remove unused binding.
4573
4574 * mouse.el (mouse-menu-major-mode-map):
4575 * emacs-lisp/authors.el (authors-scan-change-log)
4576 (authors-add-to-author-list):
4577 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4578 * emacs-lisp/smie.el (smie-auto-fill):
4579 * mail/sendmail.el (mail-bury):
4580 * mail/unrmail.el (unrmail):
4581 * net/tls.el (open-tls-stream):
4582 * textmodes/picture.el (picture-mouse-set-point):
4583 Remove unused bindings.
4584
8c8fc5df
MA
45852012-04-19 Michael Albinus <michael.albinus@gmx.de>
4586
4587 * net/tramp.el (tramp-action-password): Let-bind
4588 `enable-recursive-minibuffers' to t.
4589
a77b0ac9
SS
45902012-04-18 Sam Steingold <sds@gnu.org>
4591
4592 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4593 instead of 'string to accommodate values like [f11].
4594 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4595 * progmodes/gdb-mi.el: Likewise.
4596
12a106a9
LL
45972012-04-18 Leo Liu <sdl.web@gmail.com>
4598
4599 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4600 current buffer.
4601 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4602 LOCAL is nil.
4603
bc6494ef
CY
46042012-04-18 Chong Yidong <cyd@gnu.org>
4605
4606 * simple.el (line-move): Use forward-line if in batch mode
4607 (Bug#11053).
4608
c09c46b2
CS
46092012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4610
4611 * files.el (after-find-file): Do not try to add a final newline if
4612 the buffer is read-only (Bug#11156).
4613
5f6530ea
RS
46142012-04-17 Richard Stallman <rms@gnu.org>
4615
4616 * mail/rmail.el (rmail-start-mail):
4617 Pass (rmail-mail-return...) for the return-action.
4618 Pass (rmail-yank-current-message...) for the yank-action.
4619 (rmail-yank-current-message): New function.
4620 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4621 (rmail-reply): Likewise.
4622 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4623
4624 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4625 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4626 buffer, not newbuf.
4627
197b6f3c
JB
46282012-04-17 Juanma Barranquero <lekktu@gmail.com>
4629
4630 * server.el (server-ensure-safe-dir): Simplify.
4631
2311d8e5 46322012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4633
2311d8e5
GM
4634 * emacs-lisp/smie.el: Provide smarter auto-filling.
4635 (smie-auto-fill): New function.
4636 (smie-setup): Use it.
98fb480e 4637
2311d8e5
GM
4638 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4639
46402012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4641
4642 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4643 (comment-indent): Use it.
4644
2311d8e5 46452012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4646
4647 * ses.el: The overall change is to add cell renaming, that is
4648 setting fancy names for cell symbols other than name matching
4649 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4650 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4651 (ses-create-cell-variable): New defun.
2311d8e5 4652 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4653 (ses-relocate-formula): Relocate formulas only for cells the
4654 symbols of which are not renamed, i.e. symbols whose names do not
4655 match regexp "\\`[A-Z]+[0-9]+\\'".
4656 (ses-relocate-all): Relocate values only for cells the symbols of
4657 which are not renamed.
4658 (ses-load): Create cells variables as the (ses-cell ...) are read,
4659 in order to check row col consistency with cell symbol name only
4660 for cells that are not renamed.
4661 (ses-replace-name-in-formula): New defun.
4662 (ses-rename-cell): New defun.
4bdf2ad2 4663
fc72b15c
PO
46642012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4665
4666 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4667 New option (bug#11118).
4668 (perl-calculate-indent): Respect it.
4669
12e10e61
GM
46702012-04-17 Glenn Morris <rgm@gnu.org>
4671
4672 * dired-aux.el (dired-mark-read-string): Doc fix.
4673
30009afd
DA
46742012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4675
4676 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4677 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4678
41f03f4d
GM
46792012-04-17 Glenn Morris <rgm@gnu.org>
4680
4681 * mouse.el (mouse-drag-track):
4682 * speedbar.el (speedbar-frame-mode):
4683 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4684
f45f90f3
LL
46852012-04-16 Leo Liu <sdl.web@gmail.com>
4686
4687 * progmodes/python.el: Trivial cleanup.
4688
94ee8db5
GM
46892012-04-16 Glenn Morris <rgm@gnu.org>
4690
121b8917
GM
4691 * vc/vc.el (vc-string-prefix-p):
4692 * vc/pcvs-util.el (cvs-string-prefix-p):
4693 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4694 * mpc.el (mpc-string-prefix-p):
4695 Make all of these into obsolete aliases for string-prefix-p.
4696 Update callers.
4697 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4698
1197ecfa
GM
4699 * textmodes/two-column.el: Move custom options to the start.
4700 (frame-width): Remove compat definition.
4701 (2C-associate-buffer, 2C-dissociate):
4702 Use with-current-buffer rather than save-excursion.
4703 (2C-dissociate): Force a mode-line update.
4704 (2C-autoscroll): Use ignore-errors.
4705
099e7202
GM
4706 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4707 Autoload trivia.
4708
bf350d6a
GM
4709 * emacs-lisp/cl-extra.el (*random-state*):
4710 Remove unnecessary declaration.
4711
0e829eab
GM
4712 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4713
e3ad7552
GM
4714 * play/cookie1.el (cookie-snarf):
4715 Give an explicit error if input file cannot be read.
4716
68892d27
GM
4717 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4718
20f0c46d
GM
4719 * progmodes/perl-mode.el (c-macro-expand):
4720 Remove unnecessary autoload (it is in loaddefs.el).
4721
5a0978ce
GM
4722 * textmodes/picture.el (picture-desired-column)
4723 (picture-update-desired-column): Convert comments to doc-strings.
4724 (picture-substitute): Remove function.
4725 (picture-mode-map): Initialize in the defvar.
4726
6b955486
GM
4727 * woman.el: Remove eval-after-load for tar-mode.
4728 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4729 (woman-tar-extract-file): Autoload it.
4730
94ee8db5
GM
4731 * frame.el (automatic-hscrolling): Make this alias obsolete.
4732
177eca34
AM
47332012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4734
090bd7cb 4735 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4736 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4737 (ispell-dictionary-base-alist): Revert to original XEmacs
4738 friendly version for default. [:alpha:] will be added in
090bd7cb 4739 `ispell-set-spellchecker-params' if needed.
177eca34 4740
c505aaeb
CY
47412012-04-16 Chong Yidong <cyd@gnu.org>
4742
b19dd9d1 4743 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4744 (imagemagick-register-types): Use it.
4745 (imagemagick-types-inhibit): Add :set function. Allow new value
4746 of t to inhibit all types.
4747
4748 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4749 so we can preload it.
4750
4751 * loadup.el (fboundp): Preload regexp-opt, needed by
4752 imagemagick-register-types.
4753
60efac0f
CY
47542012-04-15 Chong Yidong <cyd@gnu.org>
4755
4756 * frame.el (scrolling): Remove nearly unused customization group.
4757
4758 * scroll-all.el (scroll-all-mode): Move to windows group.
4759
5dd1713e
CY
47602012-04-15 Chong Yidong <cyd@gnu.org>
4761
4762 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4763
e6fd457e
CY
47642012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4767 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4768
e153c136
GM
47692012-04-15 Glenn Morris <rgm@gnu.org>
4770
4771 * simple.el (process-file-side-effects): Doc fix.
4772
e6fd457e 47732012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4774
4775 * international/mule-cmds.el (set-language-environment): Doc fix.
4776
3603c3b1
JB
47772012-04-14 Juanma Barranquero <lekktu@gmail.com>
4778
4779 * server.el (server-auth-key, server-generate-key): Doc fixes.
4780 (server-get-auth-key): Doc fix. Use `string-match-p'.
4781 (server-start): Reflow docstring.
4782
e6de100c
LI
47832012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4784
4785 * server.el (server-generate-key): `called-interactively-p'
4786 requires a parameter.
4787
29734c21
MN
47882012-04-14 Michal Nazarewicz <mina86@mina86.com>
4789
4790 * server.el (server-auth-key): New variable.
75f1671a 4791 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4792 (server-start): Use the new variable and functions to allow
4793 setting a permanent server key (bug#9423).
4794
d65c9521
LL
47952012-04-14 Leo Liu <sdl.web@gmail.com>
4796
4797 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4798
5ae255c7
PE
47992012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4800
4801 Spelling fixes.
4802 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4803 Emacs uses American spelling.
4804
d5e6342e
JB
48052012-04-14 Juanma Barranquero <lekktu@gmail.com>
4806
4807 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4808 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4809 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4810 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4811
ab036cd7
SM
48122012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * progmodes/which-func.el (which-func-modes): Change default.
4815
35dc09a1 48162012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4817
4818 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4819 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4820
35dc09a1 48212012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4822
4823 * custom.el (custom-theme-set-variables): Doc fix.
4824
35dc09a1 48252012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4826
4827 * international/mule.el (set-auto-coding-for-load): Doc fix.
4828
35dc09a1 48292012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4830
35dc09a1
GM
4831 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4832 imenu work again for Objective C Mode. Correct the *-index values,
4833 these having been disturbed by a previous change in 2011-08.
57f845ee 4834
0de3da9f
AM
4835 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4836 Correct two search limits.
4837
35dc09a1 48382012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4839
4840 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4841
35dc09a1 48422012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4843
4844 * international/characters.el: Fix sorting.
4845
35dc09a1 48462012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4847
4848 * international/characters.el: Add more missing Latin case pairs.
4849
35dc09a1 48502012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4851
4852 * files.el (dir-locals-set-class-variables): Doc fix.
4853
35dc09a1 48542012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4855
3f1b5bf8
EZ
4856 * international/characters.el: Add set-case-syntax-pair call for
4857 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4858 counterpart. (Bug#11209)
4859
9f847f41
EZ
4860 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4861
35dc09a1 48622012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4863
4864 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4865
35dc09a1 48662012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4867
35dc09a1
GM
4868 * textmodes/ispell.el (ispell-dictionary-base-alist):
4869 Add data for Hebrew.
e2627d21 4870
35dc09a1 48712012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4872
35dc09a1
GM
4873 * net/rcirc.el (rcirc-cmd-quit):
4874 Revert 2012-03-18 change (Bug#11192).
5c14e333 4875
35dc09a1 48762012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4877
4878 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4879
35dc09a1 48802012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4881
4517fe3a
SM
4882 * minibuffer.el (completion-in-region-mode-map):
4883 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4884
b472a594
VD
48852012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4886
4887 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4888
09b95ce3
MY
48892012-04-13 Masatake YAMATO <yamato@redhat.com>
4890
4891 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4892 to allow `C-M-f' and `C-M-b' to move to the nearest path
4893 separator (bug#9511).
4894
4b63a9ca
LI
48952012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4896
4897 * avoid.el: Require cl when compiling. And also move the
4898 `provide' to the end.
4899
7b55b8bf
TV
49002012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4901
4902 * avoid.el (mouse-avoidance-banish-position): New variable.
4903 (mouse-avoidance-banish-destination): Use it (bug#10165).
4904
adedaa1f
LL
49052012-04-13 Leo Liu <sdl.web@gmail.com>
4906
4907 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4908
70e74021
KB
49092012-04-13 Ken Brown <kbrown@cornell.edu>
4910
4911 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4912 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4913 (browse-url-filename-alist): For the same reason, don't modify
4914 file:// URLs on Cygwin.
4915
e75e89ba
SM
49162012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4919 the region on shift if the binding is already shifted (bug#11221).
4920
82f289a4
GM
49212012-04-12 Glenn Morris <rgm@gnu.org>
4922
4923 * mail/mailpost.el: Move to obsolete/.
4924
d333dc4c
DA
49252012-04-12 Drew Adams <drew.adams@oracle.com>
4926
4927 * imenu.el (imenu--generic-function): Ignore invisible definitions
4928 (bug#10123).
4929
0d15b5ba
VD
49302012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4931
4932 * hexl.el (hexl-bits): New variable.
4933 (hexl-options): Mention the variable in the doc string.
75f1671a 4934 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4935 (hexl-mode): Mention the new variable.
75f1671a
JB
4936 (hexl-mode, hexl-current-address, hexl-current-address):
4937 Use the displen.
0d15b5ba
VD
4938 (hexl-ascii-start-column): New function.
4939 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4940 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4941
64a440db
AM
49422012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4943
4944 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4945 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4946 the encoding, as expected by hunspell.
4947
6decb6c2
SM
49482012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * battery.el (battery--linux-sysfs-regexp): New const.
4951 (battery-status-function): Use it. Remove yeeloong special case.
4952 (battery-yeeloong-sysfs): Remove.
4953 (battery-echo-area-format): Remove yeeloong special case.
4954
088be6fb
SM
49552012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4956
6622e416
SM
4957 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4958 Reported by Noah Friedman.
4959
088be6fb
SM
4960 * subr.el (read-passwd): Use read-string.
4961
b49f886e
LMI
49622012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4963
4964 * vcursor.el (vcursor-move): Increase the priority of the overlay
4965 (bug#9663).
4966
a63067fc
DD
49672012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4968
4969 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4970 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4971
ac3cf14a
WS
49722012-04-11 William Stevenson <yhvh2000@gmail.com>
4973
4974 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4975 define-minor-mode (bug#10760).
4976
c4fc691b 49772012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4978
4d6769e1 4979 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4980 that directories matching `grep-find-ignored-files' won't be
4981 pruned (bug#10351).
4982
af23e2e5
CY
49832012-04-11 Chong Yidong <cyd@gnu.org>
4984
4985 * startup.el (command-line): Remove support for long-obsolete
4986 variable font-lock-face-attributes.
4987
ab7ce8c1
GM
49882012-04-11 Glenn Morris <rgm@gnu.org>
4989
4990 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4991
de8c03dc
SM
49922012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * window.el (window--state-get-1): Obey window-point-insertion-type.
4995
050cc68b
LB
49962012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4997
4998 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4999 to previous function when point is on the first character of a
75f1671a 5000 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5001
a38c310c
GM
50022012-04-11 Glenn Morris <rgm@gnu.org>
5003
effed0c2
GM
5004 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5005 not just file-errors.
5006
a38c310c
GM
5007 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5008 (vc-bzr-sha1): Use internal sha1.
5009
0221e323
SM
50102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5011
5012 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5013
43956923
SG
50142012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5015
5016 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5017 that start in the middle of the line (bug#10496).
5018
6a8c9eaf
DN
50192012-04-10 Dan Nicolaescu <dann@gnu.org>
5020
5021 * battery.el (battery-linux-proc-acpi): Only one battery is
5022 discharged at a time, but that seems to confuse battery.el when
5023 computing `rate-type' for the battery not being discharged
5024 (bug#10332).
5025
1930bf5d
SM
50262012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5027
2a718f6f
SM
5028 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5029
599430d0
SM
5030 * international/quail.el: Use dolist and simplify.
5031 (quail-define-package, quail-update-keyboard-layout)
5032 (quail-define-rules): Use dolist.
5033 (quail-insert-kbd-layout, quail-get-translation): CSE.
5034
a2754b6c
SM
5035 * tmm.el: Use dolist, remove left over hook.
5036 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5037 Use dolist.
5038 (calendar-load-hook): Don't mess with it.
5039
1930bf5d
SM
5040 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5041 Use derived-mode-p. Run the diff asynchronously.
5042
9f67961c
LMI
50432012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5044
5045 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5046
2a8ce227
JB
50472012-04-10 Juanma Barranquero <lekktu@gmail.com>
5048
5049 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5050 (list-dynamic-libraries--loaded): New function.
5051 (list-dynamic-libraries--refresh): Use it.
5052
8f33b5f8
NW
50532012-04-10 Nathan Weizenbaum <nweiz@google.com>
5054
1930bf5d
SM
5055 * progmodes/python.el (python-fill-paragraph):
5056 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5057 disabled (bug#7018).
5058
b12f0439
L
50592012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5060
1930bf5d 5061 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5062 DOS/MS Windows for the Baltic languages. There are still plenty
5063 of texts written in this encoding/codepage (bug#6519).
b12f0439 5064
57c3bd01
GM
50652012-04-10 Glenn Morris <rgm@gnu.org>
5066
5067 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5068 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5069
6c3eab30
FA
50702012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5071
1930bf5d 5072 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5073 next-line "n" and previous-line "p" in order to make recentf more
5074 consistent with ibuffer, dired or org-mode (bug#9387).
5075
24d78a88
LMI
50762012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5077
bc72b5d9
LMI
5078 * image.el (put-image): Return the overlay created instead of the
5079 optional input string (bug#7834). Note that this may break code
5080 that is (for some reason or other) depending on `put-image'
5081 returning the string.
5082
bd2dba5a
LMI
5083 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5084
74beb59f
LMI
5085 * simple.el (zap-to-char): Allow zapping using input methods
5086 (bug#1580).
5087
24d78a88
LMI
5088 * textmodes/fill.el (fill-region): Leave point and mark where they
5089 were before filling (bug#5399).
5090
263f20cd
GM
50912012-04-09 Glenn Morris <rgm@gnu.org>
5092
5093 * version.el (emacs-bzr-get-version):
5094 Handle lightweight checkouts of local branches.
5095
58d1f797
AS
50962012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5097
263f20cd 5098 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5099
b4d3bc10
CY
51002012-04-09 Chong Yidong <cyd@gnu.org>
5101
5102 * custom.el (custom-variable-p): Return nil for non-symbol
5103 arguments instead of signaling an error.
5104 (user-variable-p): Obsolete alias for custom-variable-p.
5105
5106 * apropos.el (apropos-variable):
5107 * files-x.el (read-file-local-variable):
5108 * simple.el (set-variable):
5109 * woman.el (woman-mini-help):
5110 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5111
fd06db5d
GM
51122012-04-09 Glenn Morris <rgm@gnu.org>
5113
e5fcdb5e
GM
5114 * startup.el (normal-top-level): Don't look for leim-list.el
5115 in places where it will not be found. (Bug#910)
5116
fd06db5d
GM
5117 * international/mule-cmds.el (set-default-coding-systems):
5118 * files.el (normal-mode):
5119 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5120 This function was removed with ucs-tables.el in 2008.
5121
b39bb7e1
EZ
51222012-04-08 Eli Zaretskii <eliz@gnu.org>
5123
5124 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5125 ispell-encoding8-command to "-i", without a trailing space.
5126 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5127 separate command-line arguments, to specify the encoding, since
5128 that's how hunspell expects it.
5129
5c5b8e23
GM
51302012-04-08 Glenn Morris <rgm@gnu.org>
5131
5132 * loadup.el: Load bindings before cus-start.
5133 This reduces somewhat the number of "rogue" settings in emacs -Q.
5134
a1ed8b05
GM
51352012-04-07 Glenn Morris <rgm@gnu.org>
5136
5137 * version.el (emacs-bzr-get-version): New function.
dfae128a 5138 (emacs-bzr-version): New variable.
a1ed8b05
GM
5139 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5140 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5141
b142f158
EZ
51422012-04-07 Eli Zaretskii <eliz@gnu.org>
5143
dfae128a
GM
5144 * international/uni-bidi.el, international/uni-category.el:
5145 * international/uni-combining.el, international/uni-decimal.el:
5146 * international/uni-decomposition.el, international/uni-digit.el:
5147 * international/uni-lowercase.el, international/uni-mirrored.el:
5148 * international/uni-name.el, international/uni-numeric.el:
5149 * international/uni-titlecase.el, international/uni-uppercase.el:
5150 Update for Unicode 6.1.
b142f158 5151
9078ead6
EZ
51522012-04-07 Eli Zaretskii <eliz@gnu.org>
5153
5154 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5155
f23d2c7d
LMI
51562012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5157
5158 * window.el (shrink-window): Mention the `window-min-height'
5159 variable in the doc string.
5160
0a0a3573
BG
51612012-04-05 Bastien Guerry <bzg@altern.org>
5162
5163 * color.el (color-lighten-name): Fix typo.
5164
e5248ac9
SM
51652012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * server.el (server--on-display-p): New function.
5168 (server--on-display-p): Use it.
5169
b4243e22
GV
51702012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5171
5172 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5173 (bug#11145).
5174
305d9f44
SM
51752012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * comint.el (comint--common-quoted-suffix): Check string boundary
5178 before comparing (bug#11158).
5179 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5180
3d439cd1
CY
51812012-04-04 Chong Yidong <cyd@gnu.org>
5182
321cc491
CY
5183 * minibuffer.el (completion-extra-properties): Doc fix.
5184
3d439cd1
CY
5185 * subr.el (delayed-warnings-hook): Doc fix.
5186
2d562c0f
DU
51872012-04-04 Daiki Ueno <ueno@unixuser.org>
5188
5189 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5190 selection (Bug#11159).
5191 (epa-insert-keys): Inform that the default public key will be
5192 exported if no key is selected.
5193
4443f204
RS
51942012-04-04 Richard Stallman <rms@gnu.org>
5195
5196 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5197
529c06b6
CY
51982012-04-03 Chong Yidong <cyd@gnu.org>
5199
5200 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5201 mail-insert-file, not its obsolete alias mail-attach-file.
5202
66b907dc
MA
52032012-04-03 Michael Albinus <michael.albinus@gmx.de>
5204
5205 * notifications.el (notifications-notify): Fix docstring.
5206
c0ea195d
GM
52072012-04-02 Glenn Morris <rgm@gnu.org>
5208
5209 * emacs-lisp/authors.el (authors-aliases): Another addition.
5210
5ca64e00
MA
52112012-04-02 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5214 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5215 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5216
42ee526b
CY
52172012-04-01 Chong Yidong <cyd@gnu.org>
5218
5219 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5220 Handle root directory properly.
5221 (copy-directory): Caller changed.
5222
5223 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5224 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5225
0b021094
GM
52262012-03-31 Glenn Morris <rgm@gnu.org>
5227
40f86458
GM
5228 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5229
7019c177
GM
5230 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5231
a1daddd6
GM
5232 * calendar/calendar.el (calendar-window-list)
5233 (calendar-hide-window): Restore. (Bug#11140)
5234 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5235
0b021094
GM
5236 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5237
40311efc
TV
52382012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5239
5240 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5241 Check if file is a symlink (Bug#10489).
5242
5243 * files.el (copy-directory): Likewise.
5244
5319014e
CY
52452012-03-30 Chong Yidong <cyd@gnu.org>
5246
5247 * image.el (imagemagick-types-inhibit)
5248 (imagemagick-register-types): Doc fix.
5249
935d1290
AM
52502012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5251
090bd7cb 5252 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5253 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5254 and treats ~word as ordinary words in pipe mode.
935d1290 5255
61c6e8fd
GM
52562012-03-30 Glenn Morris <rgm@gnu.org>
5257
5258 * tutorial.el (help-with-tutorial): Ensure local variables don't
5259 happen to make the buffer read-only. (Bug#11127)
5260
81fdff00
SM
52612012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5264 (perl-calculate-indent): Return `noindent' in strings.
5265
6e7a6ec0
SS
52662012-03-28 Sam Steingold <sds@gnu.org>
5267
5268 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5269 instead of the broken adhockery which does not prevent calendar
5270 buffers from being displayed at random after exit.
5271 (calendar-window-list, calendar-hide-window): Remove the broken
5272 adhockery.
5273
fee88ca0
GM
52742012-03-28 Glenn Morris <rgm@gnu.org>
5275
5276 * replace.el (query-replace-map): Doc fix.
5277
38de3354
AS
52782012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5279
5280 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5281 contents. (Bug#11109)
5282
b973155e
SM
52832012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5286 (bug#11077).
5287 (avl-tree--check, avl-tree--check-node): New funs.
5288
dcb6e7b3
MR
52892012-03-27 Martin Rudalics <rudalics@gmx.at>
5290
5291 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5292 (switch-to-prev-buffer, switch-to-next-buffer):
5293 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5294 showing a buffer already is done on the same frame.
5295
b4fa35fa
GM
52962012-03-27 Glenn Morris <rgm@gnu.org>
5297
5298 * startup.el (mail-host-address): Doc fix.
5299
f9210e18
SM
53002012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5301
5302 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5303 than 197 variables.
5304
c0bf7753
AF
53052012-03-26 Ami Fischman <ami@fischman.org>
5306
5307 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5308
33da7b16
GM
53092012-03-26 Glenn Morris <rgm@gnu.org>
5310
02243d9d
GM
5311 * files.el (save-buffers-kill-emacs): Doc fix.
5312
33da7b16
GM
5313 * startup.el (normal-top-level, command-line, command-line-1):
5314 Give them doc strings.
5315
e5a69fd0
EZ
53162012-03-25 Eli Zaretskii <eliz@gnu.org>
5317
5318 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5319 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5320
9a69676a
CY
53212012-03-25 Chong Yidong <cyd@gnu.org>
5322
4125cb8b
CY
5323 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5324 theme if it was previously enabled before (Bug#11031).
5325
dd470960
CY
5326 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5327 spec with custom-face-get-current-spec if its :shown-value is not
5328 determined yet (Bug#9337).
4125cb8b 5329 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5330
9a69676a
CY
5331 * button.el (button-at): Minor addition to docstring.
5332
6e7e90fa
SL
53332012-03-24 Simon Leinen <simon.leinen@gmail.com>
5334
5335 * vc/vc.el (vc-merge): Fix a prompt.
5336
f06e2758
CY
53372012-03-24 Chong Yidong <cyd@gnu.org>
5338
5339 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5340 point (Bug#9623).
5341
6e7e90fa
SL
5342 * button.el (button-at): Minor addition to docstring.
5343
b9d0879b
SM
53442012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5345
5346 * newcomment.el (comment-choose-indent): No space after BOL.
5347
e71cebb3
SS
53482012-03-22 Sam Steingold <sds@gnu.org>
5349
5350 * window.el (switch-to-prev-buffer): Revert last patch because the
5351 bug turned out to be an advertised feature (Elisp manual 28.14).
5352
335aff35
GM
53532012-03-22 Glenn Morris <rgm@gnu.org>
5354
5355 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5356 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5357
c676576a
LMI
53582012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5359
5360 * net/network-stream.el (network-stream-open-starttls): Make error
5361 message under Windows be less misleading.
5362
126f3d39
LW
53632012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5364
5365 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5366 understands (bug#9942).
5367
64fee311
CY
53682012-03-22 Chong Yidong <cyd@gnu.org>
5369
5370 * simple.el (end-of-visible-line): Handle return value of
5371 next-single-property-change properly (Bug#9371).
5372
a640d29a
KH
53732012-03-22 Kenichi Handa <handa@m17n.org>
5374
5375 * international/quail.el (quail-insert-kbd-layout): Fix previous
5376 change. To avoid unwanted bidi reordering, use
5377 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5378
39675016
DG
53792012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5380
5381 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5382 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5383 (ruby-beginning-of-indent): Be more careful with the difference
5384 between word-boundary and symbol boundary.
5385 (ruby-mode-syntax-table): Make : a symbol constituent.
5386
0a6934fc 53872012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5388
3d008e4f
SM
5389 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5390
0a6934fc
SM
53912012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5392
af67c9d7
SM
5393 * progmodes/etags.el (tags-completion-at-point-function):
5394 Improve last fix.
5395
1acad97c
SM
5396 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5397
e298b5da
SS
53982012-03-21 Sam Steingold <sds@gnu.org>
5399
5400 * progmodes/etags.el (tags-completion-at-point-function):
5401 Avoid the error when point is inside the pattern.
5402
91d82a70
JY
54032012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5404
5405 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5406 line (Bug#10855).
5407
69188b79
CY
54082012-03-21 Drew Adams <drew.adams@oracle.com>
5409
5410 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5411
99fc91fe
AK
54122012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5413
5414 * ido.el (ido-set-current-directory, ido-read-internal)
5415 (ido-choose-completion-string, ido-completion-help): Handle nil
5416 value of ido-completion-buffer (Bug#11008).
5417
087bbb4c
SS
54182012-03-21 Sam Steingold <sds@gnu.org>
5419
5420 * window.el (switch-to-prev-buffer): Do not switch to a visible
5421 window previous buffer, just like with the frame previous buffers.
5422
fb5b8aca
CY
54232012-03-21 Chong Yidong <cyd@gnu.org>
5424
5425 * faces.el (make-face, make-empty-face, copy-face):
5426 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5427 Doc fixes.
5428
dc9924b8
SM
54292012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5432 (widget-complete): Remove broken use of it.
5433
f0bcceb9
CY
54342012-03-20 Chong Yidong <cyd@gnu.org>
5435
dc9924b8
SM
5436 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5437 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5438 characters.
5439
ee52ebf3
TH
54402012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5441
5442 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5443 to draw rectangles, not squares. (Regression introduced by revno
5444 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5445
4c5779ab
CY
54462012-03-18 Chong Yidong <cyd@gnu.org>
5447
5448 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5449 it is not yet defined (for temacs).
5450
15360934
LL
54512012-03-18 Leo Liu <sdl.web@gmail.com>
5452
dc9924b8 5453 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5454
d9a8eb66
EZ
54552012-03-17 Eli Zaretskii <eliz@gnu.org>
5456
5457 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5458 (ispell-choices-win-default-height, ispell-silently-savep)
5459 (ispell-dictionary-alist, ispell-encoding8-command)
5460 (ispell-check-version, ispell-aspell-find-dictionary)
5461 (ispell-valid-dictionary-list, ispell-words-keyword)
5462 (ispell-get-word, ispell-internal-change-dictionary)
5463 (ispell-region, ispell-skip-region-list)
5464 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5465 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5466 (ispell-message-text-end, ispell-message)
5467 (ispell-buffer-local-parsing): Doc fix.
5468
f02ff80d
J
54692012-03-13 Jambunathan K <kjambunathan@gmail.com>
5470
5471 * htmlfontify.el: Add support for code block fontification for ODT
5472 export (Bug #9914).
5473 (hfy-optimisations): Define new option
5474 `body-text-only'
5475 (hfy-fontify-buffer): Honor above setting.
5476 (hfy-begin-span, hfy-end-span): New routines factored out form
5477 `hfy-fontify-buffer'.
5478 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5479 that permit insertion of custom tags.
5480 (hfy-fontify-buffer): Use above handlers.
5481 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5482 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5483 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5484 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5485 bind a special variable `hfy-user-sheet-assoc'.
5486 (htmlfontify-string): New defun.
5487 (hfy-compile-face-map): Make sure that the last char in the
5488 buffer is correctly fontified.
5489 (hfy-face-resolve-face): Whitespace only change.
5490
9ac7a13f
EZ
54912012-03-17 Eli Zaretskii <eliz@gnu.org>
5492
5493 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5494 message more clear.
5495
e2b5bdd7
LL
54962012-03-16 Leo Liu <sdl.web@gmail.com>
5497
5498 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5499
2e492df3
AM
55002012-03-16 Alan Mackenzie <acm@muc.de>
5501
5502 Further optimise the handling of large macros.
5503
5504 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5505 limit to a call of `c-literal-limits'.
5506 (c-determine-+ve-limit): New function.
dc9924b8
SM
5507 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5508 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5509 In CASE 5B, restrict a search limit to 500.
5510 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5511
5512 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5513 Restrict macro bounds to +-500 from after-change's BEG END.
5514
50e94f0c
LL
55152012-03-16 Leo Liu <sdl.web@gmail.com>
5516
5517 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5518
6f09f6ed
AH
55192012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5520
5521 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5522 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5523
c7e73d51
GM
55242012-03-16 Glenn Morris <rgm@gnu.org>
5525
da986230
GM
5526 * view.el (view-buffer, view-buffer-other-window)
5527 (view-buffer-other-frame): Doc fixes re special mode-class.
5528
0835f01e
GM
5529 * subr.el (eval-after-load): If named feature is provided not from
5530 a file, run after-load forms. (Bug#10946)
5531
c7e73d51
GM
5532 * calendar/calendar.el (calendar-insert-at-column):
5533 Handle non-unit-width characters a bit better. (Bug#10978)
5534
3f2eafd1
CY
55352012-03-15 Chong Yidong <cyd@gnu.org>
5536
5537 * emacs-lisp/ring.el (ring-extend): New function.
5538 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5539
5540 * comint.el (comint-read-input-ring)
5541 (comint-add-to-input-history): Grow comint-input-ring lazily.
5542
103af3fe
SM
55432012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5544
663b1677
SM
5545 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5546 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5547
103af3fe
SM
5548 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5549 (imenu-add-to-menubar): Don't add a redundant index.
5550 (imenu-update-menubar): Handle a dynamically composed keymap.
5551
899cb7cb
KY
55522012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5553
5554 * mail/sendmail.el (mail-encode-header):
5555 Bind rfc2047-encode-encoded-words to nil.
5556
3809f91d
GM
55572012-03-13 Glenn Morris <rgm@gnu.org>
5558
5559 * calendar/calendar.el (calendar-string-spread):
5560 Handle non-unit-width characters a bit better. (Bug#10978)
5561
9e345a01
LL
55622012-03-13 Leo Liu <sdl.web@gmail.com>
5563
5564 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5565 directory and file as argument (Bug#10822).
5566
4a07df36
KS
55672012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5568
5569 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5570 For dynamically generated code, follow $PC.
5571 (gdb-disassembly-handler-custom): Handle no function name case.
5572
4aaa9356
TL
55732012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5574
5575 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5576 * emulation/ws-mode.el (ws-query-replace):
5577 * sort.el (sort-regexp-fields):
5578 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5579
225979da
SM
55802012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * dabbrev.el: Fix cycle completion order (bug#10963).
5583 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5584 (dabbrev-completion): Don't use an obarray; provide
5585 a cycle-sort-function.
5586
e2f1fdab
LL
55872012-03-12 Leo Liu <sdl.web@gmail.com>
5588
dc9924b8 5589 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5590 (kill-do-not-save-duplicates): Doc fix.
5591
b19490ed
SM
55922012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5593
5594 * dabbrev.el: Fix cycle completion (bug#10963).
5595 Use lexical binding and wrap to 80 columns.
5596 (dabbrev-completion): Delay computing the list of completions.
5597
4b05d722
KH
55982012-03-12 Kenichi Handa <handa@m17n.org>
5599
5600 * international/quail.el (quail-insert-kbd-layout): Surround each
5601 row by LRO and PDF instead of inserting many LRMs. Pad the left
5602 and right of each non-spacing marks. Insert invisible space
5603 between lower and upper characters to prevent composition.
5604
dbbc2e69
SM
56052012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * minibuffer.el (minibuffer-complete): Don't get confused when the
5608 function is run twice via different commands (bug#10958).
5609 (complete-with-action): Fix docstring.
5610
292112ed
CY
56112012-03-12 Chong Yidong <cyd@gnu.org>
5612
5d1ac394
CY
5613 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5614 (nxml-completion-at-point-function): New function.
5615 (nxml-mode): Use it.
5616 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5617
292112ed
CY
5618 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5619 Load generated autoloads file before byte compiling (Bug#10970).
5620 (package--make-autoloads-and-compile): New helper fun.
5621
4098f8f7
CS
56222012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5623
5624 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5625
8f754691
MA
56262012-03-11 Michael Albinus <michael.albinus@gmx.de>
5627
5628 * autorevert.el (auto-revert-handler): Ensure, that
5629 file-readable-p is applied only for local files or in
5630 auto-revert-tail-mode.
5631
e29ab36b
AS
56322012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5633
dbbc2e69
SM
5634 * server.el (server-eval-at): Handle non-tcp connections.
5635 Decode result string.
ad0bf5b6 5636
e29ab36b
AS
5637 * server.el (server-msg-size): New constant.
5638 (server-reply-print): New function.
5639 (server-eval-and-print): Use it.
5640 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5641 Handle -print-nonl.
5642
de5939ba
CS
56432012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5644
5645 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5646 (Bug#10987).
5647
0c93eabf
CY
56482012-03-11 Chong Yidong <cyd@gnu.org>
5649
397a688f
CY
5650 * simple.el (goto-line): Doc fix (Bug#9938).
5651
2cc775f9
CY
5652 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5653
0c93eabf
CY
5654 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5655 when finished (Bug#10963).
5656
c491fa41
MR
56572012-03-11 Martin Rudalics <rudalics@gmx.at>
5658
5659 * window.el (split-window-below): Fix bug in case where
5660 split-window-keep-point is nil (Bug#10971).
5661
300e8fa5
JL
56622012-03-11 Juri Linkov <juri@jurta.org>
5663
5664 * replace.el (replace-highlight): Set isearch-word to nil
5665 unconditionally. (Bug#10887)
5666
dbf6c5a1
EZ
56672012-03-10 Eli Zaretskii <eliz@gnu.org>
5668
5669 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5670 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5671 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5672 (mairix-widget-create-query): Add usage information about mairix
5673 search forms: negating words, searching for substrings, etc.
5674
b9e501de
JP
56752012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5676
5677 * international/fontset.el (font-encoding-alist): Add an entry for
5678 ksx1001 (Bug#5667).
5679
92795c91
RS
56802012-03-10 Richard Stallman <rms@gnu.org>
5681
1694e6c1
RS
5682 * mail/sendmail.el (mail-encode-header):
5683 Set rfc2047-encode-encoded-words.
5684
607e8555
RS
5685 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5686
de3bc99a
RS
5687 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5688 view buffer means not swapped.
5689 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5690 (rmail-write-region-annotate): Error if real text has disappeared.
5691
92795c91
RS
5692 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5693
699bd04e
CY
56942012-03-10 Chong Yidong <cyd@gnu.org>
5695
5696 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5697 * emulation/cua-base.el (cua--init-keymaps):
5698 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5699
570a1714
MR
57002012-03-10 Martin Rudalics <rudalics@gmx.at>
5701
dbbc2e69
SM
5702 * speedbar.el (speedbar-unhighlight-one-tag-line):
5703 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5704
82dcf4e4
CY
57052012-03-10 Chong Yidong <cyd@gnu.org>
5706
7a2c7ca7
CY
5707 * minibuffer.el (completion-in-region, completion-help-at-point):
5708 Give the completion field overlay a high priority (Bug#6830).
5709
82dcf4e4
CY
5710 * dired.el (dired-goto-file): Recognize absolute file name
5711 listings (Bug#7126).
5712 (dired-goto-file-1): New helper function.
5713 (dired-toggle-read-only): Inhibit warnings.
5714
052e28ac
MA
57152012-03-09 Michael Albinus <michael.albinus@gmx.de>
5716
75f1671a 5717 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5718 there are no properties.
5719
95d5e396
LL
57202012-03-09 Leo Liu <sdl.web@gmail.com>
5721
5722 * savehist.el (savehist-printable): Stricter check for string
5723 value (Bug#10937).
5724
3f018d6d
EZ
57252012-03-09 Eli Zaretskii <eliz@gnu.org>
5726
dbbc2e69
SM
5727 * mail/smtpmail.el (smtpmail-send-it):
5728 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5729 valid mbox format.
5730
f7fd3d79
GM
57312012-03-09 Glenn Morris <rgm@gnu.org>
5732
5733 * files.el (dir-locals-find-file):
5734 Don't check result is regular, readable.
5735 (dir-locals-read-from-file): Demote errors.
5736
6ff6e72f
EZ
57372012-03-08 Eli Zaretskii <eliz@gnu.org>
5738
dbbc2e69
SM
5739 * international/quail.el (quail-insert-kbd-layout):
5740 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5741 layout cell, to prevent their reordering by bidi display engine.
5742 For details, see the discussion in
5743 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5744
9cec7834
AM
57452012-03-08 Alan Mackenzie <acm@muc.de>
5746
5747 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5748 the starting position; make it extend the marked region when
5749 invoked repeatedly - all under appropriate circumstances.
5750 Fixes bugs #5525, #10906.
5751
9a40b8d4
GM
57522012-03-08 Glenn Morris <rgm@gnu.org>
5753
5754 * files.el (locate-dominating-file, dir-locals-find-file):
5755 Undo 2012-03-06 change.
5756
7a08ed35
EZ
57572012-03-07 Eli Zaretskii <eliz@gnu.org>
5758
dbbc2e69
SM
5759 * international/quail.el (quail-help):
5760 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5761 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5762 for the reason.
5763
5aca4f71 57642012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5765
5766 Avoid superfluous registering of signals. (Bug#10807)
5767
5768 * notifications.el (notifications-on-action-object)
5769 (notifications-on-close-object): New defvars.
5770 (notifications-on-action-signal, notifications-on-closed-signal):
5771 Unregister the signal if not needed any longer.
5772 (notifications-notify): Register `notifications-action-signal' or
5773 `notifications-closed-signal', if :on-action or :on-close has been
5774 passed as argument.
5775
78e8b10a
CY
57762012-03-07 Chong Yidong <cyd@gnu.org>
5777
5778 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5779 non-X platforms.
5780
69481eb8
GM
57812012-03-06 Glenn Morris <rgm@gnu.org>
5782
5783 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5784 (x-disown-selection-internal, x-get-selection-internal):
5785 Doc fix (add arglist signatures). (Bug#10783)
5786
133b8e11
KS
57872012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5788
5789 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5790 Handle breakpoints with no "type".
5791
99a83064
GM
57922012-03-06 Glenn Morris <rgm@gnu.org>
5793
5794 * files.el (locate-dominating-file): Add optional predicate argument.
5795 (dir-locals-find-file): Make use of above change.
5796
17798e78
TTN
57972012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5798
5799 * info.el (Info-insert-dir): Also try "dir.gz".
5800
eb182446
GM
58012012-03-06 Glenn Morris <rgm@gnu.org>
5802
8f2114ee
GM
5803 * files.el (dir-locals-find-file):
5804 Ignore non-readable or non-regular files. (Bug#10928)
5805
eb182446
GM
5806 * files.el (locate-dominating-file): Doc fix.
5807
24679323
AS
58082012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5809
5810 * calendar/calendar.el (calendar-set-mode-line):
5811 `getenv' returns a string. (Bug#10951)
5812
01d972a9
LL
58132012-03-05 Leo Liu <sdl.web@gmail.com>
5814
109aa8a9
LL
5815 * simple.el (backward-delete-char-untabify): Constrain point to
5816 field (Bug#10939).
5817
01d972a9
LL
5818 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5819
10607bea
CY
58202012-03-05 Chong Yidong <cyd@gnu.org>
5821
5822 * simple.el (count-words): If called from Lisp, return the word
5823 count, for symmetry with `count-lines'. Arglist changed.
5824 (count-words--message): Args changed. Consolidate counting code
5825 from count-words and count-words-region.
5826 (count-words-region): Caller changed.
5827 (count-lines-region): Make it an obsolete alias.
5828
5dd11cfe
TH
58292012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5830
5831 * saveplace.el (save-place-to-alist)
5832 (save-place-ignore-files-regexp): Allow value nil to disable this
5833 feature.
5834
c349f4e6
CY
58352012-03-04 Chong Yidong <cyd@gnu.org>
5836
5837 * faces.el (face-spec-reset-face): For the default face, reset the
5838 attributes to default values (Bug#10748).
5839
e627be4c
LMI
58402012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5841
5842 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5843 previous patch: Check `message-send-mail-function', and not the
5844 default function (bug#10897).
5845
ebeabff4
MA
58462012-03-04 Michael Albinus <michael.albinus@gmx.de>
5847
a41a6cf4
MA
5848 * notifications.el (notifications-on-action-signal)
5849 (notifications-on-closed-signal): Check for unique service name of
5850 incoming event. Fix error in removing entry.
ebeabff4 5851 (top): Register for signals with wildcard service name.
a41a6cf4 5852 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5853
c1ca42b4
CY
58542012-03-04 Chong Yidong <cyd@gnu.org>
5855
dc9924b8 5856 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5857
ea16568d
GM
58582012-03-04 Glenn Morris <rgm@gnu.org>
5859
5860 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5861 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5862 (expand-abbrev, define-abbrev-table): Doc fixes.
5863
fbae4637
LMI
58642012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5865
5866 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5867 `message-default-send-mail-function' and not `send-mail-function'
5868 when doing the prompting for `sendmail-query-once' before sending
5869 in Message buffers (bug#10897).
5870
a1e7225c
LMI
5871 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5872 This is inconsistent with all the other stream functions, which leave
5873 the setting up to the higher levels (if so wanted) (bug#10931).
5874
56d093a9
AM
58752012-03-02 Alan Mackenzie <acm@muc.de>
5876
5877 Depessimize the handling of very large macros.
5878
5879 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5880 (c-macro-cache-syntactic): New variables to implement a one
5881 element macro cache.
5882 (c-invalidate-macro-cache): New function.
5883 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5884 Adapt to use the new cache.
5885 (c-state-safe-place): Use better the cache of safe positions.
5886 (c-state-semi-nonlit-pos-cache)
5887 (c-state-semi-nonlit-pos-cache-limit):
5888 New variables for...
5889 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5890 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5891 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5892 Use c-state-semi-safe-place.
56d093a9 5893
dbbc2e69
SM
5894 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5895 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5896
817e5c3d
MA
58972012-03-02 Michael Albinus <michael.albinus@gmx.de>
5898
dbbc2e69
SM
5899 * jka-compr.el (jka-compr-call-process):
5900 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5901 not remote.
5902
a032a702
MA
59032012-03-01 Michael Albinus <michael.albinus@gmx.de>
5904
5905 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5906 access of FILE2, if FILE1 does not exist.
5907
99a54f21
MA
5908 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5909 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5910
5911 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5912 Add "PAGER=" to `process-environment'.
5913
f6561e1f
MM
59142012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5915
5916 * progmodes/sql.el: Bug fix
5917 (sql-get-login-ext): Save login values in globals.
5918 (sql-get-login): Use new version of `sql-get-login-ext'.
5919 (sql-interactive-mode): Set global `sql-connection' to nil.
5920 (sql-connect): Set global values for connection.
5921 (sql-product-interactive): Save global values as buffer local.
5922
2d44d9cc
LL
59232012-02-29 Leo Liu <sdl.web@gmail.com>
5924
5925 * abbrev.el (define-abbrevs): Reset sys to nil.
5926
96b49301 59272012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5928
bf7f9bc5
JB
5929 * files.el (file-equal-p): Rename from `files-equal-p'.
5930 Return nil when one or both files don't exist.
96b49301 5931 (file-subdir-of-p): Now only top directory must exists,
5932 return nil if it doesn't.
bf7f9bc5
JB
5933 (copy-directory): No need to test with `file-subdir-of-p' after
5934 creating dir.
5935 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5936 to `file-equal-p'.
96b49301 5937
44e97401
GM
59382012-02-28 Glenn Morris <rgm@gnu.org>
5939
5940 * shell.el (shell-mode):
5941 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5942 * play/landmark.el (landmark-font-lock-face-O):
5943 * play/handwrite.el (handwrite):
5944 * play/gomoku.el (gomoku-O):
5945 * net/browse-url.el (browse-url-browser-display):
5946 * international/mule.el (define-charset):
5947 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5948 * filesets.el (filesets-find-file-delay):
5949 * eshell/em-xtra.el (eshell-xtra):
5950 * eshell/em-unix.el (eshell-grep):
5951 * emulation/viper.el (viper-mode):
5952 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5953 * emacs-lisp/easymenu.el (easy-menu-define):
5954 * calendar/timeclock.el (timeclock-use-display-time):
5955 * bs.el (bs-mode):
5956 * bookmark.el (bookmark-save-flag):
5957 Doc fix (standardize possessive apostrophe usage).
5958
c98c6276
CY
59592012-02-27 Chong Yidong <cyd@gnu.org>
5960
bf7f9bc5
JB
5961 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5962 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5963
c98c6276
CY
5964 * font-lock.el (font-lock-specified-p): Rename from
5965 font-lock-spec-present. Callers changed.
5966
9c62cd04 59672012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5968
bf7f9bc5
JB
5969 * emacs-lisp/package.el (package-compute-transaction):
5970 Handle holding a package version to t in package-load-list.
8ac9e529 5971
530739c9
MA
59722012-02-26 Michael Albinus <michael.albinus@gmx.de>
5973
5974 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5975 (tramp-get-inode, tramp-get-device): Use cached values.
5976
487915d7
AM
59772012-02-26 Alan Mackenzie <acm@muc.de>
5978
5979 Check there is a font-lock specification before doing initial
5980 fontification.
5981
5982 * font-core.el (font-lock-mode): Move the conditional from
5983 :after-hook to font-lock-initial-fontify.
5984 (font-lock-default-function): Move the check for a specification
5985 to font-lock-spec-present.
5986
dc9924b8 5987 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5988 (font-lock-spec-present): New function.
5989
4fd96557
JB
59902012-02-26 Jim Blandy <jimb@red-bean.com>
5991
5992 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5993 (gdb-send): Apply it to the operand of the '-interpreter-exec
5994 console' command, so that we can pass arguments with (say) quotes
5995 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5996
9a4888c0
CY
59972012-02-26 Chong Yidong <cyd@gnu.org>
5998
07498861
CY
5999 * help-fns.el (describe-function-1): Clarify description of
6000 remapping (Bug#10844).
6001
9a4888c0
CY
6002 * files.el (files-equal-p): Doc fix.
6003 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6004 and quit the loop once a mismatch is found.
6005
ea8fb88d
JB
60062012-02-25 Juanma Barranquero <lekktu@gmail.com>
6007
6008 * bs.el (bs--show-with-configuration): Don't throw an error
6009 if the window cannot be split; otherwise, subsequent calls to
6010 bs-show fail, restoring a stale window config. (Bug#10882)
6011
525795c1
JD
60122012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6013
6014 * term/ns-win.el (global-map): Bind ns-drag-file to
6015 ns-find-file (Bug#5855, Bug#10050).
6016
f008086f
AS
60172012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6018
6019 * calendar/parse-time.el (parse-time-string): Allow extractor to
6020 return nil.
6021
a3fcfa99
MA
60222012-02-25 Michael Albinus <michael.albinus@gmx.de>
6023
91027d08
JB
6024 * net/tramp.el (tramp-file-name-for-operation):
6025 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6026
6027 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6028 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6029 Add COPY-CONTENTS argument.
a3fcfa99 6030
67b0de11
CY
60312012-02-25 Chong Yidong <cyd@gnu.org>
6032
6033 Add custom groups for VC backends, for consistency with vc-bzr.
6034
6035 * vc/vc-arch.el (vc-arch):
6036 * vc/vc-cvs.el (vc-cvs):
6037 * vc/vc-git.el (vc-git):
6038 * vc/vc-hg.el (vc-hg):
6039 * vc/vc-mtn.el (vc-mtn):
6040 * vc/vc-rcs.el (vc-rcs):
6041 * vc/vc-sccs.el (vc-sccs):
6042 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6043 All relevant defcustoms reassigned.
6044
3c9dfce6
CY
60452012-02-25 Chong Yidong <cyd@gnu.org>
6046
1339bf43
CY
6047 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6048
3c9dfce6
CY
6049 * term/x-win.el (x-initialize-window-system): Reduce default for
6050 x-selection-timeout to 5 seconds (Bug#8869).
6051
25b2e303 60522012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6053
ec70a47d
GM
6054 * files.el (files-equal-p, file-subdir-of-p): New functions.
6055 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6056 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6057 * dired-aux.el (dired-copy-file-recursive): Same.
6058 (dired-create-files): Modify destination when source is equal to
6059 dest when copying files.
53a46cd0 6060 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6061
914260cd
MA
60622012-02-24 Michael Albinus <michael.albinus@gmx.de>
6063
6064 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6065 (Bug#10874)
6066
2cb228f7
AM
60672012-02-23 Alan Mackenzie <acm@muc.de>
6068
6069 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6070 parameter "after-hook:" to allow the expansion to run code after
6071 the execution of the mode hooks.
6072
6073 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6074 from font-lock-mode-internal.
2cb228f7 6075
91027d08 6076 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6077 :after-hook.
6078
8f0fde21
SM
60792012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6080
3e88618b
SM
6081 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6082 (completion--cache-all-sorted-completions): New function.
6083 (completion-all-sorted-completions): Use it.
6084 (completion--do-completion, minibuffer-force-complete):
6085 Use it to re-instate the flush hook.
6086
8f0fde21
SM
6087 * icomplete.el (icomplete-completions): Replace last fix with a better
6088 one (bug#10850).
6089
8e911f6f
DG
60902012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6091
6092 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6093 when it might call us back infinitely (bug#10797).
6094
49fe4321
GM
60952012-02-23 Glenn Morris <rgm@gnu.org>
6096
6097 * minibuffer.el (completion-category-overrides): Doc fix.
6098
b291b572
SM
60992012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6102 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6103
31a9ef2e
GM
61042012-02-23 Glenn Morris <rgm@gnu.org>
6105
5e6e6794 6106 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6107 (authors-obsolete-files-regexps, authors-ignored-files)
6108 (authors-ambiguous-files, authors-renamed-files-alist):
6109 Add more entries.
6110
0bd1e074
JL
61112012-02-23 Juri Linkov <juri@jurta.org>
6112
6113 * isearch.el (isearch-occur): Sync interactive spec with occur's
6114 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6115
b617673c
JL
6116 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6117
19e9789e
JL
61182012-02-22 Juri Linkov <juri@jurta.org>
6119
6120 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6121 (ucs-insert): Doc fix. Check for hex digits in the string.
6122 Don't display `nil' in the error message. (Bug#10857)
6123
f41ce09d
AM
61242012-02-22 Alan Mackenzie <acm@muc.de>
6125
7a71b18d 6126 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6127
ac2eceee
GM
61282012-02-22 Glenn Morris <rgm@gnu.org>
6129
6130 * ffap.el (ffap-c-path):
6131 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6132
abd1f678
CY
61332012-02-22 Chong Yidong <cyd@gnu.org>
6134
6135 * custom.el (load-theme): Doc fix.
6136
f25aef2e
GM
61372012-02-22 Glenn Morris <rgm@gnu.org>
6138
6139 * dired-x.el (dired-guess-shell-alist-default):
6140 Remove escape sequences from nroff output. (Bug#172)
6141
5f8dc2ca
GM
61422012-02-21 Glenn Morris <rgm@gnu.org>
6143
6ff86ec4
GM
6144 * vc/emerge.el (emerge-defvar-local):
6145 Set `permanent-local' property rather than unused `preserved'.
6146
be3223a3 6147 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6148 (picture-mode-map): Use it. (Bug#10860)
6149 (picture-mode): Doc fix.
6150
3fe58f4f
JB
61512012-02-21 Juanma Barranquero <lekktu@gmail.com>
6152
6153 * newcomment.el (uncomment-region-default): Remove unused binding.
6154
f9a998c3
GM
61552012-02-21 Glenn Morris <rgm@gnu.org>
6156
6157 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6158 (picture-self-insert, picture-tab-chars): Doc fix.
6159 (picture-mode-map): Fix C-a, C-e.
6160
c6029348
GM
61612012-02-20 Glenn Morris <rgm@gnu.org>
6162
6163 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6164
ab1ce9d7
LL
61652012-02-20 Leo Liu <sdl.web@gmail.com>
6166
6167 * icomplete.el (icomplete-completions): Check FROM arg before
6168 passing to substring (Bug#10850).
6169
0fd40f89
CY
61702012-02-19 Chong Yidong <cyd@gnu.org>
6171
6172 * comint.el: Require ansi-color.
6173 (comint-output-filter-functions): Add ansi-color-process-output.
6174
6175 * ansi-color.el: Don't set comint-output-filter-functions; it is
6176 now in the initial value defined in comint.el.
6177 (ansi-color-apply-face-function): New variable.
6178 (ansi-color-apply-on-region): Use it.
6179 (ansi-color-apply-overlay-face): New function.
6180
6181 * shell.el (shell): No need to require ansi-color.
6182 (shell-mode): Use ansi-color-apply-face-function to highlight
6183 color escapes using font-lock-face property (Bug#10835).
6184
20af2394
CY
61852012-02-19 Chong Yidong <cyd@gnu.org>
6186
6187 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6188 mode-line formats (Bug#10839).
6189
e23a3fbe
GM
61902012-02-18 Glenn Morris <rgm@gnu.org>
6191
b474519e
GM
6192 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6193
6194 * mail/undigest.el (unforward-rmail-message): Doc fix.
6195
e23a3fbe
GM
6196 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6197
57939ff4
EZ
61982012-02-18 Eli Zaretskii <eliz@gnu.org>
6199
6200 * international/characters.el (script-list): Sync with the latest
6201 Unicode Character Database.
6202
0c23686e
AS
62032012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6204
6205 * international/titdic-cnv.el: Remove duplicate coding tag.
6206 * language/cham.el: Likewise.
6207 * language/tai-viet.el: Likewise.
6208
6818b449
GM
62092012-02-18 Glenn Morris <rgm@gnu.org>
6210
6211 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6212 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6213 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6214 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6215 * calendar/holidays.el (holiday-bahai-holidays)
6216 (calendar-holidays, list-holidays):
6217 Use utf-8 Bahá'í in doc-strings, menus, etc.
6218
0311a3fc
TH
62192012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6220
6221 * saveplace.el (save-place-ignore-files-regexp): New variable
6222 allowing for excluding files from saving their location of point.
6223 The default value matches the temporary commit message editing
6224 files from Git, SVN, Bazaar, and Mercurial.
6225 (save-place-to-alist): Use it.
6226
d209e2fb 62272012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6228 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6229
6230 * newcomment.el (uncomment-region-default): Don't leave extra space
6231 when an arg is provided (bug#8150).
6232
ee0ce425
TZ
62332012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6234
eb864a71 6235 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6236
95ddf442
GM
62372012-02-17 Glenn Morris <rgm@gnu.org>
6238
6239 * net/socks.el: Require network-stream. (Bug#10599)
6240
48dd1e39 62412012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6242
6243 * international/charprop.el:
6244 * international/uni-name.el:
6245 * international/uni-old-name.el:
6246 * international/uni-comment.el: Regenerate.
6247
d68cd087
GM
62482012-02-16 Glenn Morris <rgm@gnu.org>
6249
6250 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6251 Interactively in calendar buffer, give an error if not on a date.
6252
13932042
GM
62532012-02-15 Glenn Morris <rgm@gnu.org>
6254
6255 * shell.el (shell-delimiter-argument-list):
6256 Revert 2011-02-17 change. (Bug#8027)
6257
c3a70e2b
CY
62582012-02-15 Chong Yidong <cyd@gnu.org>
6259
60236b0d
CY
6260 * minibuffer.el (completion-at-point-functions): Doc fix.
6261
c3a70e2b
CY
6262 * custom.el (defcustom): Doc fix; note use of defvar.
6263
9f26dc24
GM
62642012-02-15 Glenn Morris <rgm@gnu.org>
6265
6266 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6267 Doc fixes.
6268
6546b134
GM
62692012-02-14 Glenn Morris <rgm@gnu.org>
6270
6271 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6272
d29b2b4c
LI
62732012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6274
6275 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6276 way the ports list is computed.
835bdcba
LI
6277 (smtpmail-query-smtp-server): Prompt the user for a port number if
6278 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6279
08dcdbc9
TZ
62802012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6281
6282 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6283
2605051a
GM
62842012-02-13 Glenn Morris <rgm@gnu.org>
6285
6286 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6287
7ee99f32
TZ
62882012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6289
6290 * net/gnutls.el (gnutls-trustfiles): New variable.
6291 (gnutls-negotiate): Use it.
6292
5f0af64f
LI
62932012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6294
6295 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6296 does its stuff if Gnus is running.
6297
c14fcc95
AM
62982012-02-13 Alan Mackenzie <acm@muc.de>
6299
6300 Fix a loop in c-set-fl-decl-start.
6301
7a71b18d 6302 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6303 c-backward-syntactic-ws actually moves backwards.
6304
142b4d90
LL
63052012-02-13 Leo Liu <sdl.web@gmail.com>
6306
6307 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6308 beginning so that all \C-o chars are removed.
6309
fa9958a6
TZ
63102012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6311
dc9924b8 6312 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6313
0bc5886a
AM
63142012-02-12 Alan Mackenzie <acm@muc.de>
6315
6316 Fix infinite loop with long macros.
4d6769e1 6317 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6318
d4bd55e7
CY
63192012-02-12 Chong Yidong <cyd@gnu.org>
6320
6321 * window.el (display-buffer): Doc fix (Bug#10785).
6322
66f3fe22
GM
63232012-02-12 Glenn Morris <rgm@gnu.org>
6324
bd7da63e
GM
6325 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6326 (x-disown-selection-internal, x-get-selection-internal):
6327 Sync docs with the xselect.c versions.
6328
66f3fe22
GM
6329 * allout-widgets.el: Add missing license notice.
6330
3e0d2fa7
GM
63312012-02-11 Glenn Morris <rgm@gnu.org>
6332
cfecdf09
GM
6333 * select.el (x-get-selection-internal, x-own-selection-internal)
6334 (x-disown-selection-internal):
6335 * x-dnd.el (x-get-selection-internal): Update declarations.
6336
6d216d7f
GM
6337 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6338
2bed3f04
GM
6339 * window.el (window-sides-slots):
6340 * tool-bar.el (tool-bar-position):
6341 * term/xterm.el (xterm-extra-capabilities):
6342 * ses.el (ses-self-reference-early-detection):
6343 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6344 (verilog-auto-wire-type)
6345 (verilog-auto-delete-trailing-whitespace)
6346 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6347 (verilog-auto-tieoff-declaration):
6348 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6349 (sql-oracle-statement-starters, sql-oracle-scan-on):
6350 * progmodes/prolog.el (prolog-align-comments-flag)
6351 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6352 (prolog-left-indent-regexp, prolog-paren-indent-p)
6353 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6354 (prolog-types, prolog-mode-specificators)
6355 (prolog-determinism-specificators, prolog-directives)
6356 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6357 (prolog-electric-dot-flag)
6358 (prolog-electric-dot-full-predicate-template)
6359 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6360 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6361 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6362 (prolog-program-switches, prolog-prompt-regexp)
6363 (prolog-debug-on-string, prolog-debug-off-string)
6364 (prolog-trace-on-string, prolog-trace-off-string)
6365 (prolog-zip-on-string, prolog-zip-off-string)
6366 (prolog-use-standard-consult-compile-method-flag)
6367 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6368 (prolog-imenu-max-lines, prolog-info-predicate-index)
6369 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6370 (prolog-char-quote-workaround):
6371 * progmodes/cc-vars.el (c-defun-tactic):
6372 * net/tramp.el (tramp-encoding-command-interactive)
6373 (tramp-local-end-of-line):
6374 * net/soap-client.el (soap-client):
6375 * net/netrc.el (netrc-file):
6376 * net/gnutls.el (gnutls):
6377 * minibuffer.el (completion-category-overrides)
6378 (completion-cycle-threshold)
6379 (completion-pcm-complete-word-inserts-delimiters):
6380 * man.el (Man-name-local-regexp):
6381 * mail/feedmail.el (feedmail-display-full-frame):
6382 * international/characters.el (glyphless-char-display-control):
6383 * eshell/em-ls.el (eshell-ls-date-format):
6384 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6385 (lisp-lambda-list-keyword-parameter-indentation)
6386 (lisp-lambda-list-keyword-parameter-alignment):
6387 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6388 * dired-x.el (dired-omit-verbose):
6389 * cus-theme.el (custom-theme-allow-multiple-selections):
6390 * calc/calc.el (calc-highlight-selections-with-faces)
6391 (calc-lu-field-reference, calc-lu-power-reference)
6392 (calc-note-threshold):
6393 * battery.el (battery-mode-line-limit):
6394 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6395 (archive-7z-update):
6396 * allout.el (allout-prefixed-keybindings)
6397 (allout-unprefixed-keybindings)
6398 (allout-inhibit-auto-fill-on-headline)
6399 (allout-flattened-numbering-abbreviation):
6400 * allout-widgets.el (allout-widgets-auto-activation)
6401 (allout-widgets-icons-dark-subdir)
6402 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6403 (allout-widgets-theme-dark-background)
6404 (allout-widgets-theme-light-background)
6405 (allout-widgets-item-image-properties-emacs)
6406 (allout-widgets-item-image-properties-xemacs)
6407 (allout-widgets-run-unit-tests-on-load)
6408 (allout-widgets-time-decoration-activity)
6409 (allout-widgets-hook-error-post-time)
6410 (allout-widgets-track-decoration):
6411 Add missing :version tags to new defcustoms and defgroups.
6412
5fec1b8e
GM
6413 * progmodes/sql.el (sql-ansi-statement-starters)
6414 (sql-oracle-statement-starters): Add custom type.
6415
3e0d2fa7
GM
6416 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6417 (prolog-system-version): Give it a type.
6418
90b671e2
EZ
64192012-02-11 Eli Zaretskii <eliz@gnu.org>
6420
6421 * term/pc-win.el (x-select-text, x-selection-owner-p)
6422 (x-own-selection-internal, x-disown-selection-internal)
6423 (x-get-selection-internal): Sync doc strings and argument lists
6424 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6425
5eac0c02
LL
64262012-02-11 Leo Liu <sdl.web@gmail.com>
6427
6428 * progmodes/python.el (python-end-of-statement): Fix infinite
6429 loop. (Bug#10788)
6430
f82cb659
GM
64312012-02-10 Glenn Morris <rgm@gnu.org>
6432
6433 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6434 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6435
cc26d239
LI
64362012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6437
6438 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6439 about SMTP before checking the From header.
6440
91027d08 6441 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6442 into own function for reuse by emacsbug.el.
6443
1be3ca5a
LL
64442012-02-10 Leo Liu <sdl.web@gmail.com>
6445
6446 * subr.el (condition-case-unless-debug): Rename from
6447 condition-case-no-debug. All callers changed.
6448 (with-demoted-errors): Fix caller.
6449
6450 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6451 * nxml/rng-valid.el (rng-do-some-validation):
6452 * emacs-lisp/package.el (package-refresh-contents)
6453 (package-menu-execute):
6454 * desktop.el (desktop-create-buffer):
91027d08 6455 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6456
b011fbfe
GM
64572012-02-10 Glenn Morris <rgm@gnu.org>
6458
b2096d72
GM
6459 * textmodes/bibtex.el:
6460 Add missing :version tags for new/changed defcustoms.
6461
b011fbfe
GM
6462 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6463
4c7e65bf
LI
64642012-02-09 Lars Ingebrigtsen <larsi@rusty>
6465
6466 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6467 (smtpmail-via-smtp): Use it, or fall back on the From address.
6468 (smtpmail-send-it): Ditto.
6469
f3934f6f
SM
64702012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6473 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6474 (byte-compile-tmp-var): New const.
6475 (byte-compile-defvar): Use it to minimize .elc size.
6476 Just use `defvar' rather than simulate it (bug#10761).
6477
a075a2c5
GM
64782012-02-09 Glenn Morris <rgm@gnu.org>
6479
cf3aa21b
GM
6480 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6481
354998cd
GM
6482 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6483 Add :version tags.
6484
dc9924b8
SM
6485 * progmodes/compile.el (compilation-error-screen-columns)
6486 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6487
dab3703d
GM
6488 * vc/log-view.el (log-view-toggle-entry-display):
6489 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6490
3f88cd72
GM
6491 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6492 (report-emacs-bug-can-use-xdg-email):
6493 (report-emacs-bug-insert-to-mailer): Doc fixes.
6494 (report-emacs-bug): Message fix.
6495
d95b247d
GM
6496 * net/browse-url.el (browse-url-can-use-xdg-open)
6497 (browse-url-xdg-open): Doc fixes.
6498
a075a2c5
GM
6499 * electric.el (electric-indent-mode, electric-pair-mode)
6500 (electric-layout-rules, electric-layout-mode): Doc fixes.
6501 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6502
ffb6157e
MR
65032012-02-08 Martin Rudalics <rudalics@gmx.at>
6504
6505 * server.el (server-unselect-display): Don't inadvertently kill
6506 the current buffer. (Bug#10729)
6507
e1ac4066
GM
65082012-02-08 Glenn Morris <rgm@gnu.org>
6509
34e8a2da
GM
6510 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6511 (sql-list-table): Doc fixes.
6512
b4ac6e8c
GM
6513 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6514 Comment out (does nothing).
6515
e1ac4066
GM
6516 * completion.el (dynamic-completion-mode):
6517 * dirtrack.el (dirtrack-debug-mode):
6518 * electric.el (electric-layout-mode):
6519 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6520 * face-remap.el (text-scale-mode, buffer-face-mode):
6521 * iimage.el (iimage-mode):
6522 * image-mode.el (image-transform-mode):
6523 * minibuffer.el (completion-in-region-mode):
6524 * scroll-lock.el (scroll-lock-mode):
6525 * simple.el (next-error-follow-minor-mode):
6526 * tar-mode.el (tar-subfile-mode):
6527 * tooltip.el (tooltip-mode):
6528 * vcursor.el (vcursor-use-vcursor-map):
6529 * wid-browse.el (widget-minor-mode):
6530 * emulation/tpu-edt.el (tpu-edt-mode):
6531 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6532 * international/iso-ascii.el (iso-ascii-mode):
6533 * language/thai-util.el (thai-word-mode):
6534 * mail/supercite.el (sc-minor-mode):
6535 * net/goto-addr.el (goto-address-mode):
6536 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6537 * progmodes/cwarn.el (cwarn-mode):
6538 * progmodes/flymake.el (flymake-mode):
6539 * progmodes/glasses.el (glasses-mode):
6540 * progmodes/hideshow.el (hs-minor-mode):
6541 * progmodes/pascal.el (pascal-outline-mode):
6542 * textmodes/enriched.el (enriched-mode):
6543 * vc/smerge-mode.el (smerge-mode):
6544 Doc fixes (minor mode argument).
6545
5e0d957f
EZ
65462012-02-07 Eli Zaretskii <eliz@gnu.org>
6547
6548 * ls-lisp.el (ls-lisp-sanitize): New function.
6549 (ls-lisp-insert-directory): Use it to fix or remove any elements
6550 in file-alist with missing attributes. (Bug#4673)
6551
98d7371e
AM
65522012-02-07 Alan Mackenzie <acm@muc.de>
6553
6554 Fix spurious recognition of c-in-knr-argdecl.
6555
6556 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6557 putative K&R region.
6558
667ced3a
AM
65592012-02-07 Alan Mackenzie <acm@muc.de>
6560
eb864a71
LM
6561 * progmodes/cc-engine.el (c-forward-objc-directive):
6562 Prevent looping in "#pragma mark @implementation".
667ced3a 6563
5b77774d
MA
65642012-02-07 Michael Albinus <michael.albinus@gmx.de>
6565
6566 * notifications.el (notifications-on-closed-signal): Make `reason'
6567 optional. (Bug#10744)
6568
af008560
GM
65692012-02-07 Glenn Morris <rgm@gnu.org>
6570
60d47423
GM
6571 * emacs-lisp/easy-mmode.el (define-minor-mode):
6572 Doc fixes for the macro and the mode it defines.
6573
dd605cc4
GM
6574 * image.el (imagemagick-types-inhibit): Doc fix.
6575
af008560
GM
6576 * cus-start.el (imagemagick-render-type): Add it.
6577
5cc59a37
LI
65782012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6579
4d6769e1
JB
6580 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6581 Set the default at load time, too, so that `font-lock-fontify-buffer'
6582 can be called without setting up the entire mode first. This fixes
6583 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6584
9a6dd747
CY
65852012-02-06 Chong Yidong <cyd@gnu.org>
6586
2d16b285
CY
6587 * simple.el (list-processes--refresh): Delete exited processes
6588 (Bug#8094).
6589
171e9b6e
CY
6590 * comint.el (comint-next-prompt): next-single-char-property-change
6591 and prev-single-char-property-change never return nil (Bug#8657).
6592
9a6dd747
CY
6593 * custom.el (defcustom): Doc fix (Bug#9711).
6594
aa4589a7
CY
65952012-02-05 Chong Yidong <cyd@gnu.org>
6596
5c2a252f
CY
6597 * cus-edit.el (custom-variable-reset-backup): Quote the value
6598 before storing it in the customized-value property (Bug#6712).
4aab9006 6599 (custom-display): Add a customization type tag.
983b9602 6600 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6601
aa4589a7
CY
6602 * wid-edit.el (widget-field-value-get): New optional arg to
6603 suppress trailing whitespace truncation.
6604 (character): Use it (Bug#2689).
6605
1ff980ae
AS
66062012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6607
6608 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6609 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6610
03988c98
CY
66112012-02-05 Chong Yidong <cyd@gnu.org>
6612
eeb6cc88
CY
6613 * cus-edit.el (custom-variable-value-create): For mismatched
6614 types, show the current value (Bug#7600).
6615
03988c98
CY
6616 * custom.el (defcustom): Doc fix.
6617
f8cdeef0
GM
66182012-02-05 Glenn Morris <rgm@gnu.org>
6619
6620 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6621
0696d255
JB
66222012-02-05 Juanma Barranquero <lekktu@gmail.com>
6623
6624 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6625 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6626 (pp-last-sexp): Use `looking-at-p'.
6627
34c99998
GM
66282012-02-04 Glenn Morris <rgm@gnu.org>
6629
8f05da42
GM
6630 * files.el (revert-buffer):
6631 Doc fix (mention revert-buffer-in-progress-p).
6632
f160676e
GM
6633 * emacs-lisp/ert-x.el (ert-simulate-command):
6634 Check deferred-action-list (which is obsolete) is bound.
6635
c7291ad9
GM
6636 * subr.el (with-wrapper-hook): Doc fixes.
6637
34c99998
GM
6638 * simple.el (filter-buffer-substring-functions)
6639 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6640
6283a7d3
LL
66412012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6642
6643 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6644 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6645
e96e3013
LL
66462012-02-04 Leo Liu <sdl.web@gmail.com>
6647
6648 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6649
8ded50f2
GM
66502012-02-04 Glenn Morris <rgm@gnu.org>
6651
82ff1d13
GM
6652 * image.el (image-extension-data): Add obsolete alias.
6653
987a0a16
GM
6654 * isearch.el (isearch-update): Doc fix.
6655
ea32ef46
GM
6656 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6657
8ded50f2
GM
6658 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6659
eea14f31
GM
66602012-02-03 Glenn Morris <rgm@gnu.org>
6661
6662 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6663 (image-animate-timeout): Doc fix.
6664
6665 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6666
12f381b7
GM
66672012-02-02 Glenn Morris <rgm@gnu.org>
6668
953cebf5
GM
6669 * server.el (server-auth-dir): Doc fix.
6670 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6671
12f381b7
GM
6672 * subr.el (run-mode-hooks): Doc fix.
6673
953a8c3b
JL
66742012-02-02 Juri Linkov <juri@jurta.org>
6675
6676 * image-mode.el (image-toggle-display-image): Remove tautological
6677 `major-mode' from the `derived-mode-p' test.
6678
c5d3843c
KH
66792012-02-02 Kenichi Handa <handa@m17n.org>
6680
9f6e692e 6681 * composite.el (compose-region): Cancel previous change.
c5d3843c 6682
159462d4 66832012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6684
6685 * composite.el (compose-region, compose-string): Signal error for
6686 a null string component (Bug#6988).
6687
9f562668
CY
66882012-02-01 Chong Yidong <cyd@gnu.org>
6689
e2cef717
CY
6690 * view.el (view-buffer-other-window, view-buffer-other-frame):
6691 Handle special modes like view-buffer (Bug#10650).
6692 (view-buffer): Simplify.
6693
9f562668
CY
6694 * frame.el (set-frame-font): Tweak meaning of third argument.
6695
9f6e692e
JB
6696 * dynamic-setting.el (font-setting-change-default-font):
6697 Use set-frame-font (Bug#9982).
9f562668 6698
781acb9f
GM
66992012-02-01 Glenn Morris <rgm@gnu.org>
6700
6035be52
GM
6701 * progmodes/compile.el (compilation-internal-error-properties):
6702 Respect compilation-first-column in the "*compilation*" buffer.
6703
781acb9f
GM
6704 * emacs-lisp/easy-mmode.el (define-minor-mode):
6705 Relax :variable's test for a named function.
6706
abbceb00
AM
67072012-01-31 Alan Mackenzie <acm@muc.de>
6708
6709 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6710 off by one error.
6711
fce3fdeb
CY
67122012-01-31 Chong Yidong <cyd@gnu.org>
6713
6714 * frame.el (set-frame-font): New arg ALL-FRAMES.
6715
6716 * menu-bar.el (menu-set-font): Use set-frame-font.
6717
6718 * faces.el (face-spec-reset-face): Don't apply unspecified
6719 attribute values to the default face.
6720
47893581
JB
67212012-01-31 Juanma Barranquero <lekktu@gmail.com>
6722
6723 * progmodes/cwarn.el (cwarn): Remove dead link.
6724 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6725 Remove * from defcustom docstrings.
6726 (turn-on-cwarn-mode): Make obsolete.
6727 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6728 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6729
e58e988a
GM
67302012-01-31 Glenn Morris <rgm@gnu.org>
6731
60dc2671 6732 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6733 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6734 Allow named functions to be used as the cdr of :variable.
e58e988a 6735
7a3f511d
GM
67362012-01-30 Glenn Morris <rgm@gnu.org>
6737
6738 * emacs-lisp/authors.el (authors-fixed-entries):
6739 Remove reference to deleted file rnewspost.el.
6740
cb882333
JB
67412012-01-29 Juanma Barranquero <lekktu@gmail.com>
6742
6743 * window.el (window-with-parameter): Remove unused variable `windows'.
6744 (window--side-check): Remove unused variable `code'.
6745 (window--resize-siblings): Remove unused variable `first'.
6746 (adjust-window-trailing-edge): Remove unused variable `failed'.
6747 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6748 Use `let', not `let*'.
6749 (balance-windows-2): Remove unused variable `found'.
6750 (window--state-put-2): Remove unused variable `splits'.
6751 (window-state-put): Remove unused variable `selected'.
6752 (same-window-p): Use `string-match-p'.
6753 (display-buffer-assq-regexp): Remove unused variable `value'.
6754 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6755 Mark argument ALIST as ignored.
6756 (pop-to-buffer): Remove unused variable `old-window'.
6757
907201af
EZ
67582012-01-29 Eli Zaretskii <eliz@gnu.org>
6759
6760 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6761 and .lzma compressed files.
6762
ea162670
CY
67632012-01-29 Chong Yidong <cyd@gnu.org>
6764
5b95ee8a
CY
6765 * frame.el (window-system-default-frame-alist): Doc fix.
6766
ea162670
CY
6767 * dynamic-setting.el (font-setting-change-default-font): Don't
6768 change the default face if SET-FONT argument is non-nil (Bug#9982).
6769
d6e6f4b1
SB
67702012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6771
6772 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6773
0f29fa41 67742012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6775
6776 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6777 breakpoints in files outside current directory (Bug#6098).
6778
db174434
CY
67792012-01-29 Chong Yidong <cyd@gnu.org>
6780
6b25e4e2
SE
6781 * progmodes/python.el: Require ansi-color at top-level.
6782
6df6ae42
JB
6783 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6784 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6785 (lisp-mode-abbrev-table): Add doc.
6786 (lisp-mode-variables): Don't set local-abbrev-table.
6787 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6788
e70ee681
RW
67892012-01-28 Roland Winkler <winkler@gnu.org>
6790
6791 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6792
ace88aa2
RW
67932012-01-28 Roland Winkler <winkler@gnu.org>
6794
6795 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6796 (bibtex-set-dialect): Use it. Either set global values of
6797 dialect-dependent variables or bind these variables buffer-locally
6798 (Bug#10254).
6799 (bibtex-mode): Call bibtex-set-dialect via
6800 hack-local-variables-hook.
eb864a71
LM
6801 (bibtex-dialect): Update docstring.
6802 Add safe-local-variable predicate.
ace88aa2
RW
6803 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6804 bibtex-set-dialect.
6805 (bibtex-mode-map): Define menu for each dialect.
6806 (bibtex-entry): Fix docstring.
6807
93376c5b
CY
68082012-01-28 Chong Yidong <cyd@gnu.org>
6809
6810 * eshell/esh-arg.el (eshell-quote-argument): New function.
6811
6812 * eshell/esh-ext.el (eshell-invoke-batch-file):
6813 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6814 first arg to eshell-parse-command (Bug#10523).
6815
4372494f
DA
68162012-01-28 Drew Adams <drew.adams@oracle.com>
6817
6818 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6819 `default-directory' is non-nil.
6820
4d4ec1f8
EZ
68212012-01-28 Eli Zaretskii <eliz@gnu.org>
6822
6823 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6824 line that displays system-configuration-options. (Bug#9924)
6825
7c188927
DA
68262012-01-28 Drew Adams <drew.adams@oracle.com>
6827
6828 * descr-text.el (describe-char): Show information about POS, in
6829 addition to information about the character at POS. Improve and
6830 update the doc string. Change "code point" to "code point in
6831 charset", to avoid confusion with the character's Unicode code
6832 point shown above that. (Bug#10129)
6833
e0da685a
EZ
68342012-01-28 Eli Zaretskii <eliz@gnu.org>
6835
6836 * descr-text.el (describe-char): Show the raw character, not only
6837 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6838 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6839 for the reasons.
6840
70550acf
PH
68412012-01-28 Phil Hagelberg <phil@hagelb.org>
6842
eb864a71
LM
6843 * emacs-lisp/package.el (package-install):
6844 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6845
0ce8e868
CY
68462012-01-28 Chong Yidong <cyd@gnu.org>
6847
cb882333
JB
6848 * emacs-lisp/package.el (package-maybe-load-descriptor):
6849 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6850 (package-maybe-load-descriptor): Use it.
6851 (package-download-transaction): Fully load required packages
6852 inside the loop, so that `require' calls work (Bug#10593).
6853 (package-install): No need to call package-initialize now.
6854
2e7f3bea
CY
68552012-01-28 Chong Yidong <cyd@gnu.org>
6856
6e9bad14
CY
6857 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6858
f823b8ca
CY
6859 * tooltip.el (tooltip-mode): Doc fix.
6860 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6861
2680c309
CY
6862 * frame.el (set-cursor-color): Doc fix (Bug#352).
6863
d7a9e63b
CY
6864 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6865 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6866
2e7f3bea
CY
6867 * cus-edit.el (custom-buffer-create-internal): Fix search button
6868 action (Bug#10542).
2ae01800 6869 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6870
fc4f7a23
EW
68712012-01-27 Eduard Wiebe <usenet@pusto.de>
6872
6873 * dired.el (dired-mark-files-regexp):
6874 Include any subdirectory components. (Bug#10445)
6875
7dd37071
ML
68762012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6877
6878 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6879 Handle [host]:port syntax. (Bug#10533)
6880
a268160b
AH
68812012-01-27 Alex Harsanyi <harsanyi@mac.com>
6882
6883 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6884
e43273ef
GM
68852012-01-26 Glenn Morris <rgm@gnu.org>
6886
6887 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6888 * term.el (term-raw-escape-map): Use Control-X-prefix.
6889 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6890
1edf595d
MR
68912012-01-25 Martin Rudalics <rudalics@gmx.at>
6892
6893 * window.el (window-state-get, window--state-get-1): Don't deal
6894 with fixed-sizeness of windows. Simplify code.
6895
fa8eafef
JC
68962012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6897
6df6ae42
JB
6898 * window.el (window--state-get-1, window--state-put-2):
6899 Don't save and restore the mark.
fa8eafef 6900
0b21c100
CY
69012012-01-25 Chong Yidong <cyd@gnu.org>
6902
6903 * custom.el (custom-variable-p): Doc fix.
6904
5ae1a6c8
GM
69052012-01-25 Glenn Morris <rgm@gnu.org>
6906
40047858
GM
6907 * dired.el (dired-goto-file): Handle some of the more common
6908 characters that `ls -b' escapes. (Bug#10596)
6909
5ddce96c
GM
6910 * progmodes/compile.el (compilation-next-error-function):
6911 Respect compilation-first-column in the "*compilation*" buffer.
6912 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6913
5ae1a6c8
GM
6914 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6915
b559f1a9
GM
69162012-01-24 Glenn Morris <rgm@gnu.org>
6917
6918 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6919
6725d21a
JD
69202012-01-24 Julien Danjou <julien@danjou.info>
6921
6922 * color.el (color-rgb-to-hsl): Fix value computing.
6923 (color-hue-to-rgb): New function.
6924 (color-hsl-to-rgb): New function.
6925 (color-clamp, color-saturate-hsl, color-saturate-name)
6926 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6927 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6928
70df4bbe
GM
69292012-01-24 Glenn Morris <rgm@gnu.org>
6930
6931 * vc/vc-rcs.el (vc-rcs-create-tag):
6932 * vc/vc-sccs.el (vc-sccs-create-tag):
6933 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6934
802a2ae2
ML
69352012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6936
6937 * eshell/esh-util.el (eshell-read-hosts-file):
6938 Skip comment lines. (Bug#10549)
6939
d7128bb1
ML
6940 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6941
d1a5c3b4
JB
69422012-01-23 Juanma Barranquero <lekktu@gmail.com>
6943
2724d9c7
JB
6944 * subr.el (display-delayed-warnings): Doc fix.
6945 (collapse-delayed-warnings): New function to collapse identical
6946 adjacent warnings.
6947 (delayed-warnings-hook): Add it.
d1a5c3b4 6948
a5509865
MA
69492012-01-22 Michael Albinus <michael.albinus@gmx.de>
6950
6951 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6952
a5509865
MA
6953 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6954 (tramp-default-user-alist): Don't add "pscp".
6955 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6956 property "login-as", if set. (Bug#10530)
6957
cc6d5805
MA
69582012-01-21 Michael Albinus <michael.albinus@gmx.de>
6959
6960 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6961 "plink1" and "psftp". (Bug#10530)
6962
69632012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6964
6965 * international/mule-cmds.el (prefer-coding-system): Show a
6966 warning message if the default value of file-name-coding-system
6967 was not changed.
6968
f0960428
JC
69692012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6970
cb882333
JB
6971 * windmove.el (windmove-reference-loc):
6972 Fix windmove-reference-loc miscalculation.
f0960428 6973
dd6f2a63
JB
69742012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6975
6976 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6977 default unit.
6978
7b447e9b
GM
69792012-01-21 Glenn Morris <rgm@gnu.org>
6980
117a9ea1
GM
6981 * international/mule.el (auto-coding-alist): Add .tbz.
6982
7b447e9b
GM
6983 * files.el (local-enable-local-variables): Doc fix.
6984 (inhibit-local-variables-regexps): Rename from
6985 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6986 Doc fix. Add some extensions from auto-coding-alist.
6987 (inhibit-local-variables-suffixes):
6988 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6989 (inhibit-local-variables-p):
6990 New function, extracted from set-auto-mode-1.
6991 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6992 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6993 (hack-local-variables): Doc fix. Make the mode-only case
6994 respect enable-local-variables and friends.
6995 Respect inhibit-local-variables-regexps for file-locals, but
6996 not for directory-locals.
6997 (set-visited-file-name):
6998 Take account of inhibit-local-variables-regexps.
6999 Whether it applies may change as the file name is changed.
7000 * jka-cmpr-hook.el (jka-compr-install):
7001 * jka-compr.el (jka-compr-uninstall):
7002 Update for inhibit-first-line-modes-suffixes name change.
7003
dd6e3cdd
MR
70042012-01-20 Martin Rudalics <rudalics@gmx.at>
7005
7006 * help-macro.el (make-help-screen): Temporarily restore original
7007 binding for minor-mode-map-alist (Bug#10454).
7008
0d0deb38
JD
70092012-01-19 Julien Danjou <julien@danjou.info>
7010
7011 * color.el (color-name-to-rgb): Use the white color to find the max
7012 color component value and return correctly computed values.
7013 (color-name-to-rgb): Add missing float conversion for max value.
7014
34a02f46
MR
70152012-01-19 Martin Rudalics <rudalics@gmx.at>
7016
7017 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7018 special state value for window-persistent-parameters.
7019 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7020 (window--state-put-2): Reset all window parameters to nil before
7021 assigning values of persistent parameters.
7022
606c44c4
AM
70232012-01-18 Alan Mackenzie <acm@muc.de>
7024
7025 Eliminate sluggishness and hangs in fontification of "semicolon
7026 deserts".
7027
cb882333
JB
7028 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7029 Change value 10000 -> 3000.
606c44c4
AM
7030 (c-state-safe-place): Reformulate so it doesn't stack up an
7031 infinite number of wrong entries in c-state-nonlit-pos-cache.
7032 (c-determine-limit-get-base, c-determine-limit): New functions to
7033 determine backward search limits disregarding literals.
7034 (c-find-decl-spots): Amend commenting.
7035 (c-cheap-inside-bracelist-p): New function which detects "={".
7036
7037 * progmodes/cc-fonts.el
7038 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7039 backward search.
7040 (c-font-lock-declarations): Fix an occurrence of point being
7041 undefined. Check additionally for point being in a bracelist or
7042 near a macro invocation without a semicolon so as to avoid a
7043 fruitless time consuming search for a declarator. Give a more
7044 precise search limit for declarators using the new
7045 c-determine-limit.
7046
f3860cea
GM
70472012-01-18 Glenn Morris <rgm@gnu.org>
7048
7049 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7050 (set-auto-mode): Doc fixes.
7051
1db03b16
GM
70522012-01-17 Glenn Morris <rgm@gnu.org>
7053
0e6038be
GM
7054 * isearch.el (search-nonincremental-instead): Fix doc typo.
7055
1db03b16
GM
7056 * dired.el (dired-insert-directory): Handle newlines in directory name.
7057 (dired-build-subdir-alist): Unescape newlines in directory name.
7058
4cb0aa75
MA
70592012-01-17 Michael Albinus <michael.albinus@gmx.de>
7060
7061 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7062 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7063 (tramp-action-terminal): Use it. (Bug#10530)
7064
1d00653d
SM
70652012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7068
6a6ee00d
MR
70692012-01-16 Martin Rudalics <rudalics@gmx.at>
7070
7071 * window.el (window-state-ignored-parameters): Remove variable.
7072 (window--state-get-1): Rename argument MARKERS to IGNORE.
7073 Handle persistent window parameters. Make copy of clone-of
7074 parameter only if requested. (Bug#10348)
7075 (window--state-put-2): Install a window parameter only if it has
7076 a non-nil value or an existing parameter shall be overwritten.
7077
97912def
MA
70782012-01-15 Michael Albinus <michael.albinus@gmx.de>
7079
7080 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7081
688070a5
EZ
70822012-01-14 Eli Zaretskii <eliz@gnu.org>
7083
7084 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7085 don't pass the (nil) value of `upnode' to string-match.
7086
301afadc
CY
70872012-01-14 Chong Yidong <cyd@gnu.org>
7088
7089 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7090 Fix values recognized by the cursorBlink resource.
301afadc 7091
9e5788aa
PE
70922012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7093
7094 * epg.el (epg--make-temp-file): Avoid permission race condition
7095 when running on old Emacs versions (bug#10403).
7096
3cdb7f5a
GM
70972012-01-14 Glenn Morris <rgm@gnu.org>
7098
7099 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7100
8c82b1b4
AM
71012012-01-13 Alan Mackenzie <acm@muc.de>
7102
7103 Fix filling for when filladapt mode is enabled.
7104
7105 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7106 c-mask-paragraph, pass in `fill-paragraph' rather than
7107 `fill-region-as-paragraph'. (This is a reversion of a previous
7108 change.)
eb864a71
LM
7109 * progmodes/cc-mode.el (c-basic-common-init):
7110 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7111
e517eda4
GM
71122012-01-13 Glenn Morris <rgm@gnu.org>
7113
1498536e
GM
7114 * dired.el (dired-switches-escape-p): New function.
7115 (dired-insert-directory): Use dired-switches-escape-p.
7116 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7117
e517eda4
GM
7118 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7119
328f984d
GM
71202012-01-12 Glenn Morris <rgm@gnu.org>
7121
7122 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7123 changes in adaptive-fill-regexp. (Bug#10276)
7124
2cc769a8
AM
71252012-01-11 Alan Mackenzie <acm@muc.de>
7126
7127 Fix Emacs bug #10463 - put `widen's around the critical spots.
7128
1d00653d 7129 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7130 widen around each invocation of c-state-pp-to-literal. Remove an
7131 unused let variable.
7132
e52c37fa
GM
71332012-01-11 Glenn Morris <rgm@gnu.org>
7134
7135 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7136 Doc fix.
e52c37fa 7137
96f8741e
CY
71382012-01-10 Chong Yidong <cyd@gnu.org>
7139
1d00653d
SM
7140 * net/network-stream.el (network-stream-open-starttls):
7141 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7142 response to the capability command.
7143
b09a806e
GM
71442012-01-10 Glenn Morris <rgm@gnu.org>
7145
7146 * mail/unrmail.el (unrmail): Tweak previous change.
7147
7655cb66
CY
71482012-01-09 Chong Yidong <cyd@gnu.org>
7149
7150 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7151
9d5a8f0b
AM
71522012-01-08 Alan Mackenzie <acm@muc.de>
7153
7154 Optimise font locking in long enum definitions.
7155
7156 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7157 arm to a cond form to handle enums.
7158 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7159 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7160
9a0115ab 71612012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7162
7163 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7164 (Bug#10401)
6bb72cbd 7165
f186bb95
LMI
71662012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7167
29232a68
LMI
7168 * faces.el (set-face-attribute): Clarify the meaning of the nil
7169 frame (bug#10294).
7170
4e5d086d
LMI
7171 * subr.el (with-selected-frame): Mention that the selected frame
7172 is restored (bug#9980).
7173
8e66aebe
LMI
7174 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7175 (bug#9759).
7176
cd394be1 7177 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7178 (password-read): Don't autoload unused function.
7179
adf4e762
JB
71802012-01-07 Juanma Barranquero <lekktu@gmail.com>
7181
7182 * progmodes/which-func.el (which-func-mode): Turn into a
7183 non-interactive function and mark as obsolete (bug#10428).
7184
89bd9ccd
CY
71852012-01-06 Chong Yidong <cyd@gnu.org>
7186
7187 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7188 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7189 functions, along with 1 and -1.
7190
4afee9d5
EZ
71912012-01-06 Eli Zaretskii <eliz@gnu.org>
7192
7193 * time.el (display-time-load-average)
7194 (display-time-default-load-average): Doc fixes. See the thread
7195 starting at
7196 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7197 for the details.
7198
536aea70
GM
71992012-01-06 Glenn Morris <rgm@gnu.org>
7200
665ae865
GM
7201 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7202 has no messages. (Bug#10377)
7203
c869783d
GM
7204 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7205 than Info-edit. (Bug#10385)
7206
2bb4227e
GM
7207 * time.el (display-time-load-average, display-time-next-load-average):
7208 Doc fixes.
7209
7d5944b9
GM
7210 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7211 local setting of buffer-read-only to the input buffer. (Bug#10419)
7212
536aea70
GM
7213 * calendar/calendar.el (calendar-mode):
7214 Locally set scroll-margin to 0. (Bug#10379)
7215
7dccca16
UM
72162012-01-06 Ulrich Mueller <ulm@gentoo.org>
7217
7218 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7219
afbb7930
GM
72202012-01-05 Glenn Morris <rgm@gnu.org>
7221
7222 * eshell/em-unix.el (diff-no-select): Autoload it.
7223 (eshell/diff): Use diff-no-select. (Bug#10420)
7224
04482335
CY
72252012-01-05 Chong Yidong <cyd@gnu.org>
7226
7baca3bc
CY
7227 * shell.el (shell-dynamic-complete-functions): Revert last change.
7228 (shell-command-completion-function): New function.
7229 (shell-completion-vars): Use it to implement
7230 shell-completion-execonly (Bug#10417).
7231
04482335
CY
7232 * custom.el (enable-theme): Don't set custom-safe-themes.
7233
1d00653d
SM
7234 * cus-theme.el (custom-theme-merge-theme):
7235 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7236
bb5aa5d6
MM
72372012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7238
7239 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7240 first prompt in `sql-interacive-mode'.
7241 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7242 keywords.
6df6ae42 7243 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7244 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7245 context of original buffer. Invoke `sql-login-hook'.
7246
a7183d7c
EZ
72472012-01-04 Eli Zaretskii <eliz@gnu.org>
7248
7249 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7250 letters in cite-prefix.
7251
a1eacd1e
LMI
72522012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7253
7254 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7255
787cdb34
CY
72562012-01-03 Chong Yidong <cyd@gnu.org>
7257
1d00653d
SM
7258 * shell.el (shell-dynamic-complete-functions):
7259 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7260 comint-filename-completion first (Bug#10417).
7261
30710442
RS
72622012-01-02 Richard Stallman <rms@gnu.org>
7263
7264 * battery.el (battery-status-function):
7265 Detect when to use battery-yeeloong-sysfs.
7266 (battery-echo-area-format): Add string for Yeeloong.
7267 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7268 (battery-yeeloong-sysfs): New function.
7269
f75bfc33
CY
72702012-01-02 Chong Yidong <cyd@gnu.org>
7271
7272 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7273 (dirtrack): Merge code for handling relative filenames in prompt
7274 from shell-dir-cookie-watcher.
7275 (dirtrack-debug-message): New arg to avoid excess format calls.
7276
7277 * shell.el (shell-dir-cookie-re): Variable deleted.
7278 (shell-dir-cookie-watcher): Function deleted.
7279 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7280 with dirtrack-mode.
7281
651e947e
EZ
72822012-01-01 Eli Zaretskii <eliz@gnu.org>
7283
1d00653d
SM
7284 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7285 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7286 libgnutls-26.dll.
7287
94d4c7dc
AS
72882011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7289
7290 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7291
8d43f3cd
EZ
72922011-12-31 Eli Zaretskii <eliz@gnu.org>
7293
7294 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7295 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7296
98c8795a
MA
72972011-12-29 Michael Albinus <michael.albinus@gmx.de>
7298
7299 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7300 also for alternative shells.
7301 (tramp-open-connection-setup-interactive-shell): Check, whether
7302 the shell is a busybox.
7303 (tramp-send-command): Don't suppress multiple prompts for
7304 busyboxes, it hurts.
7305
51281b32
CY
73062011-12-28 Chong Yidong <cyd@gnu.org>
7307
7308 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7309 (gdb-get-source-file): Move mode line update to
7310 gdb-get-source-file (Bug#10087).
7311
2170cb53
CY
73122011-12-25 Chong Yidong <cyd@gnu.org>
7313
7314 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7315 gud-gdb-marker-filter without taking it as an argument.
7316 (gud-gdb-run-command-fetch-lines): Caller changed.
7317 (gud-gdb-completion-function): New variable.
7318 (gud-gdb-completion-at-point): Use it.
7319 (gud-gdb-completions-1): Split from gud-gdb-completions.
7320
7321 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7322 function as separate arguments.
7323 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7324 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7325 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7326 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7327 (gdb-stopped, def-gdb-auto-update-trigger)
7328 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7329 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7330 Callers changed.
2170cb53
CY
7331 (gud-gdbmi-completions): New function.
7332 (gdb): Use it for generating the completion table.
7333
be8b11bb
AM
73342011-12-24 Alan Mackenzie <acm@muc.de>
7335
7336 Introduce a mechanism to widen the region used in context font
1d00653d 7337 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7338
1d00653d
SM
7339 * progmodes/cc-langs.el (c-before-font-lock-functions):
7340 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7341 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7342 functions to be run just before context (etc.) font locking.
7343
7344 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7345 New, functionality extracted from
be8b11bb 7346 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7347 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7348 (c-after-change): Set c-in-after-change-fontification.
7349 (c-set-fl-decl-start): Rejig its interface, so it can be called
7350 from both after-change and context fontifying.
b81d40f0
JB
7351 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7352 New functions.
7353 (c-standard-font-lock-fontify-region-function): New variable.
7354 (c-font-lock-fontify-region): New function.
be8b11bb 7355
341cf6ac
JL
73562011-12-24 Juri Linkov <juri@jurta.org>
7357
7358 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7359 (Bug#10348)
7360
bffcee0a
MA
73612011-12-23 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7364 existence of source file. (Bug#10325)
7365
cb5e207c
AM
73662011-12-23 Alan Mackenzie <acm@muc.de>
7367
7368 Fix unstable fontification inside templates.
7369
b81d40f0
JB
7370 * progmodes/cc-langs.el (c-before-font-lock-functions):
7371 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7372 additionally has c-set-fl-decl-start. The other languages (apart
7373 from AWK) have that as a single entry.
7374
b81d40f0
JB
7375 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7376 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7377 c-set-fl-decl-start.
7378
b81d40f0
JB
7379 * progmodes/cc-mode.el (c-common-init, c-after-change):
7380 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7381 (c-set-fl-decl-start): New function, extracted from
7382 c-font-lock-enclosing-decls and enhanced.
7383
60ff536c
JB
73842011-12-23 Juanma Barranquero <lekktu@gmail.com>
7385
7386 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7387
1c4757d6
JL
73882011-12-22 Juri Linkov <juri@jurta.org>
7389
7390 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7391
d031f2c7
CY
73922011-12-22 Chong Yidong <cyd@gnu.org>
7393
7394 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7395
bace743a
DA
73962011-12-21 Drew Adams <drew.adams@oracle.com>
7397
7398 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7399
728a1f2b
JC
74002011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7401
7402 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7403
0d373f73
TZ
74042011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7405
fec0aaa4
TZ
7406 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7407 highlighting and support. Fix up comments for capitalization.
7408 (cfengine-mode-debug): New var.
7409 (cfengine3-mode): Change the modeline indicator to "CFE3".
7410 (cfengine3-font-lock-keywords): Improve defun highlighting.
7411 (cfengine2-actions): Rename from `cfengine-actions'.
7412 (cfengine2-font-lock-keywords): Rename from
7413 `cfengine-font-lock-keywords'.
7414 (cfengine2-imenu-expression): Rename from
7415 `cfengine-imenu-expression'.
7416 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7417 (cfengine2-beginning-of-defun): Rename from
7418 `cfengine-beginning-of-defun'.
7419 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7420 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7421 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7422 modeline indicator to "CFE2".
7423 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7424 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7425
bc86f573
CY
74262011-12-21 Chong Yidong <cyd@gnu.org>
7427
7428 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7429 filename argument.
7430
d45ba96b
MR
74312011-12-20 Martin Rudalics <rudalics@gmx.at>
7432
7433 * window.el (window-normalize-buffer-to-display): Remove.
7434 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7435
a6198c90
CY
74362011-12-19 Chong Yidong <cyd@gnu.org>
7437
7438 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7439 Don't signal an error in a predicate function; return non-nil.
7440 (vc-dir-mark-file): Move the error here.
7441 (vc-dir-mark-unmark): If acting on the region, keep going if one
7442 of the entries cannot be marked/unmarked.
7443 (vc-dir-mark-all-files): If current entry is a directory, mark
7444 only child files, as documented.
7445
34c5fb55
VB
74462011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7447
7448 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7449 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7450 addition.
7451
c803b2b7
JD
74522011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7453
7454 * term/ns-win.el (ns-get-selection-internal)
7455 (ns-store-selection-internal): Declare.
1154d12e
JB
7456 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7457 Declare as obsolete.
7458 (ns-get-pasteboard, ns-paste-secondary):
7459 Use ns-get-selection-internal.
7460 (ns-set-pasteboard, ns-copy-including-secondary):
7461 Use ns-store-selection-internal.
c803b2b7 7462
9cff91f8 74632011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7464
7465 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7466 (vc-deduce-fileset): Doc fix.
99a289d9 7467
f16c898a
AS
74682011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7469
7470 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7471
763237c4
SS
74722011-12-13 Sam Steingold <sds@gnu.org>
7473
7474 * man.el (Man-getpage-in-background): When running under a
7475 window-system, ignore $MANWIDTH and $COLUMNS.
7476
5fc1c122
KH
74772011-12-15 Kenichi Handa <handa@m17n.org>
7478
7479 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7480 (setup-ethiopic-environment-internal): Comment out key-binding for
7481 ethio-toggle-punctuation.
7482
13d49cbb
AM
74832011-12-13 Alan Mackenzie <acm@muc.de>
7484
898169a2
AM
7485 Add the switch statement to AWK Mode.
7486
7a71b18d 7487 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7488 "default" to the keywords regexp.
7489
7a71b18d 7490 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7491 expression as the rest.
1d00653d
SM
7492 (c-nonlabel-token-key): Allow string literals for AWK.
7493 Refactor for the other modes.
898169a2 7494
13d49cbb 7495 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7496 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7497 routines. Limit backward searching in c-font-lock-enclosing.decl.
7498
7499 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7500 pp-state and literal type in addition to the limits.
1d00653d 7501 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7502 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7503 (c-slow-in-literal, c-fast-in-literal): Remove.
7504 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7505
7506 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7507 being in a literal. Add a limit for backward searching.
7508
7509 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7510 c-slow-in-literal.
7511
15e0efc7
SM
75122011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7515
454592a6
MR
75162011-12-13 Martin Rudalics <rudalics@gmx.at>
7517
7518 * window.el (delete-other-windows): Use correct frame in call to
7519 window-with-parameter.
7520
87393f26
DP
75212011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7522
7523 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7524 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7525 (makefile-gmake-statements, makefile-makepp-statements):
7526 Use it and add new makepp keywords.
7527 (makefile-makepp-font-lock-keywords): Add new patterns.
7528 (makefile-match-function-end): Match new [...] and [[...]].
7529
11636b22
JB
75302011-12-11 Juanma Barranquero <lekktu@gmail.com>
7531
7532 * ses.el (ses-call-printer-return, ses-cell-property-get)
7533 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7534 (ses-create-cell-variable, ses-reset-header-string)
7535 (ses-cell-set-formula, ses-repair-cell-reference-all)
7536 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7537 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7538 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7539 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7540 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7541 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7542 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7543 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7544 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7545 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7546 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7547 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7548
cf018193
VB
75492011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7550
7551 * ses.el: The overall change is to add cell renaming, that is
7552 setting fancy names for cell symbols other than name matching
7553 "\\`[A-Z]+[0-9]+\\'" regexp .
7554 (ses-create-cell-variable): New defun.
7555 (ses-relocate-formula): Relocate formulas only for cells the
7556 symbols of which are not renamed, i.e. symbols whose names do not
7557 match regexp "\\`[A-Z]+[0-9]+\\'".
7558 (ses-relocate-all): Relocate values only for cells the symbols of
7559 which are not renamed.
7560 (ses-load): Create cells variables as the (ses-cell ...) are read,
7561 in order to check row col consistency with cell symbol name only
7562 for cells that are not renamed.
7563 (ses-replace-name-in-formula): New defun.
7564 (ses-rename-cell): New defun.
7565
ee957461
CY
75662011-12-11 Chong Yidong <cyd@gnu.org>
7567
7568 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7569 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7570
9a9e9ef0
MR
75712011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7572
7573 * window.el (other-window): Fix docstring.
7574
92a8eba5
EZ
75752011-12-10 Eli Zaretskii <eliz@gnu.org>
7576
7577 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7578 `from' or `to' address before taking its substring.
7579 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7580 encoded name is chopped in the middle of the encoded string, and
7581 thus displayed encoded.
7582
e152e577
JB
75832011-12-10 Juanma Barranquero <lekktu@gmail.com>
7584
7585 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7586
e5d84bfe
EZ
75872011-12-10 Eli Zaretskii <eliz@gnu.org>
7588
7589 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7590 to use texinfo-update-node and commands that call it if the
7591 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7592 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7593 (texinfo-all-menus-update, texinfo-master-menu)
7594 (texinfo-update-node, texinfo-every-node-update)
7595 (texinfo-multiple-files-update): Doc fix. Warn against updating
7596 all the @node lines.
7597 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7598 argument is numeric. Explain better in the doc string what the
7599 function really does.
7600 (texinfo-insert-master-menu-list): Improve the error message
7601 displayed if there's no menu in the Top node.
7602 (Bug#2975) See also this thread:
e5d84bfe
EZ
7603 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7604
1d84e9bb
MG
76052011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7606
7607 * speedbar.el (speedbar-supported-extension-expressions):
7608 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7609
382c953b
JB
76102011-12-09 Juanma Barranquero <lekktu@gmail.com>
7611
7612 * printing.el (pr-mode-alist):
7613 * simple.el (filter-buffer-substring-functions)
7614 (completion-list-insert-choice-function):
7615 * window.el (window-with-parameter, window-atom-root)
7616 (window-sides-slots, window-size-fixed, window-min-delta)
7617 (window-max-delta, window--resize-mini-window)
7618 (window--resize-child-windows-normal, window-tree)
7619 (delete-other-windows, quit-window, split-window)
7620 (display-buffer-record-window, special-display-buffer-names)
7621 (special-display-regexps, special-display-popup-frame)
7622 (same-window-p, split-window-sensibly)
7623 (display-buffer-overriding-action, display-buffer-alist)
7624 (display-buffer-base-action, display-buffer, switch-to-buffer)
7625 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7626 (fit-window-to-buffer, recenter-positions)
7627 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7628 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7629 and remove unneeded backslashes in docstrings.
7630
39c9faef
SM
76312011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7632
98449af8
SM
7633 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7634
39c9faef
SM
7635 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7636 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7637 end in ".mk".
7638 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7639 when reading the makefile (bug#10116).
7640
86ed9fdc
SM
76412011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7642
7643 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7644 (bug#10116).
7645
5580f89d
GM
76462011-12-06 Glenn Morris <rgm@gnu.org>
7647
7648 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7649
28d3917c
CY
76502011-12-06 Chong Yidong <cyd@gnu.org>
7651
7652 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7653
a98edce9
JB
76542011-12-06 Juanma Barranquero <lekktu@gmail.com>
7655
7656 * textmodes/table.el (table-shorten-cell): Fix typo.
7657
e65adfac
CG
76582011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7659
7660 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7661
71cc0b74
EZ
76622011-12-05 Eli Zaretskii <eliz@gnu.org>
7663
7664 * descr-text.el (describe-char): Fix display of strong
7665 right-to-left characters and directional embeddings and overrides.
7666
7667 * simple.el (what-cursor-position): Fix display of codepoints of
7668 strong right-to-left characters.
7669
315bc30d
CY
76702011-12-05 Chong Yidong <cyd@gnu.org>
7671
7672 * faces.el (read-color): Doc fix.
7673
58a70b94
GM
76742011-12-05 Glenn Morris <rgm@gnu.org>
7675
7676 * align.el (align--set-marker): Add doc-string.
7677 Don't try to move something that is not a marker. (Bug#10216)
7678
5158face
GM
76792011-12-04 Glenn Morris <rgm@gnu.org>
7680
7681 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7682 overly zealous deletion of trailing whitespace.
7683
520fca41
JB
76842011-12-04 Juanma Barranquero <lekktu@gmail.com>
7685
7686 * server.el (server-delete-client): On Windows, do not try to delete
7687 the only terminal.
7688 (server-process-filter): On Windows, treat requests for a tty frame as
7689 if they were for a GUI frame if the running server is in GUI mode.
7690
5e605a2e
GM
76912011-12-03 Glenn Morris <rgm@gnu.org>
7692
7693 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7694
5c3fe83f
SM
76952011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7696
6f5e57e7
SM
7697 * electric.el: Streamline electric-indent's hook.
7698 (electric-indent-chars): Revert to simple list.
7699 (electric-indent-functions): New var.
7700 (electric-indent-post-self-insert-function): Use it.
7701
5c3fe83f
SM
7702 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7703 there's no inferior buffer (bug#10196).
7704 (prolog-consult-compile): Don't use toggle-read-only.
7705
6bdac736
MA
77062011-12-02 Michael Albinus <michael.albinus@gmx.de>
7707
7708 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7709 interrupt. (Bug#10187)
7710
6131ba7f
SM
77112011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7712
99c79fee
SM
7713 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7714 (bug#9160).
7715
6131ba7f
SM
7716 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7717 (bug#10191).
7718
cb0a02ea
JL
77192011-12-02 Juri Linkov <juri@jurta.org>
7720
7721 * info.el (Info-search): Display "end of manual" when Isearch
7722 reaches the end of single-file Info manual. (Bug#9918)
7723
66e0570c
EZ
77242011-12-02 Eli Zaretskii <eliz@gnu.org>
7725
7726 * isearch.el (isearch-message-prefix): Run the input method part
7727 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7728
02b16839
JL
77292011-12-02 Juri Linkov <juri@jurta.org>
7730
7731 * isearch.el (isearch-occur): Use `word-search-regexp' for
7732 `isearch-word'.
7733 (isearch-search-and-update): Add condition for `isearch-word' and
7734 call `word-search-regexp'. (Bug#10145)
7735
0b950688
GM
77362011-12-01 Glenn Morris <rgm@gnu.org>
7737
7738 * eshell/em-hist.el (eshell-hist-initialize):
7739 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7740 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7741
9505c3c7
SM
77422011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7745
1bbe96b2 77462011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7747
a1beca85
SM
7748 * progmodes/verilog-mode.el (verilog-pretty-expr):
7749 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7750 verilog, such as += *= and the like.
7751 (verilog-assignment-operator-re): Regular expression to find the
7752 assigment operator in a verilog assignment.
7753 (verilog-assignment-operation-re): Regular expression to find an
7754 assignment statement for pretty-expr.
7755 (verilog-in-attribute-p): Query returns true if point is in an
7756 attribute context; used to skip these for expression line up from
7757 pretty-expr.
7758 (verilog-in-parameter-p): Query returns true if point is in an
7759 parameter definition context; used to skip these for expression
7760 line up from pretty-expr.
7761 (verilog-in-parenthesis-p): Query returns true if point is in a
7762 parenthetical expression, specifically ( ) but not [ ] or { };
7763 used by pretty-expr.
7764 (verilog-just-one-space): If there is no space, don't add one.
7765 (verilog-get-lineup-indent-2): Specifically skip just attribute
7766 contexts for expression lineup, rather than skipping all
7767 parenthetical expressions.
7768 (verilog-calculate-indent): Fix comment, and fix indent.
7769 (verilog-do-indent): Indent declarations in lists (suggested by
7770 Joachim Lechner).
7771 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7772 skeleton items.
7773 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7774 by Alain Mellan).
7775
1bbe96b2 77762011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7777
7778 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7779 parameters with embedded comments. Reported by Ray Stevens.
7780 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7781 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7782 Reported by Tim Holt.
7783 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7784 instantiated by upper module causing wrong expansion until AUTOed a
7785 second time. Reported by K C Buckenmaier.
7786 (verilog-diff-auto): Fix showing .* as a difference when
7787 `verilog-auto-star-save' off. Reported by Dan Dever.
7788 (verilog-auto-reset, verilog-read-always-signals)
7789 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7790 temporary signals in reset list if
7791 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7792 style to each signal's assignment type, bug381.
7793 Reported by Thomas Esposito.
6288f0ca
WS
7794 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7795 (verilog-uvm-statement-re): Support UVM indentation and
7796 highlighting, with old OVM keywords only.
a1beca85 7797 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7798 Support AUTOTIEOFF creating non-wire data types.
7799 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7800 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7801 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7802 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7803 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7804 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7805 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7806 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7807 non-numeric vector width. Reported by Alex Reed.
7808 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7809 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7810 (verilog-auto-delete-trailing-whitespace):
7811 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7812 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7813 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7814 Fix verilog-scan-cache corruption when running user AUTO expansion
7815 hooks that call indentation routines.
7816 (verilog-simplify-range-expression): Fix typo ignoring lower case
7817 identifiers.
7818 (verilog-delete-auto): Fix delete-autos to also remove user created
7819 automatics, as long as they start with AUTO.
7820 (verilog-batch-diff-auto, verilog-diff-auto)
7821 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7822 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7823 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7824 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7825 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7826 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7827 is disabled and its cache will get corrupt, causing AUTOS not to
7828 expand. Instead use only -quick functions.
7829 (verilog-scan-region): Fix scanning over escaped quotes.
7830 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7831 (verilog-re-search-backward-quick)
7832 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7833 related functions now ignore strings, to fix misparsing of strings
7834 with magic comments embedded in them.
a1beca85
SM
7835 (verilog-read-auto-template):
7836 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7837 Reported by Brad Dobbie.
7838 (verilog-read-auto-template):
7839 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7840 Reported by Brad Dobbie.
6288f0ca
WS
7841 (verilog-auto-inst, verilog-auto-inst-param)
7842 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7843 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7844 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7845 debugging templates without merge conflicts, bug357.
7846 Reported by Brad Dobbie.
7847 (verilog-read-auto-template):
7848 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7849 Reported by Brad Dobbie.
7850 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7851 abbrevs so user won't be asked to save.
7852 (verilog-read-auto-lisp-present): Fix to start at beginning of
7853 buffer in case called outside of verilog-auto.
7854 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7855 to "X-2". Reported by Matthew Myers.
7856 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7857 all inputs from module templates. Reported by Leith Johnson.
7858 (verilog-module-inside-filename-p): Fix locating programs as with
7859 modules.
7860 (verilog-auto-inst-port): Fix vl-width expressions when using
7861 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7862 (verilog-decls-get-regs, verilog-decls-get-signals,
7863 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7864 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7865 verilog-read-decls): Combine reg and wire structures into one var
7866 structure to represent SystemVerilog concepts.
7867 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7868 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7869 (verilog-auto-wire-type, verilog-insert-definition):
7870 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7871 SystemVerilog "logic" keyword instead of "wire"/"reg".
7872 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7873 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7874 ifdef or generate if so there's not a driver conflict).
7875 Reported by Matthew Myers.
7876 (verilog-auto-declare-nettype, verilog-insert-definition):
7877 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7878 `default_nettype none. Reported by Julian Gorfajn.
7879 (verilog-read-always-signals-recurse, verilog-read-decls)
7880 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7881 malformed end statement, bug325. Reported by Joshua Wise and
7882 Andrew Drake.
7883 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7884 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7885 when expanding .* in interfaces, bug320.
7886 Reported by Pierre-David Pfister.
6288f0ca 7887 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7888 name and open parenthesis, bug317.
7889 Reported by Pierre-David Pfister.
6288f0ca
WS
7890 (verilog-simplify-range-expression): Fix simplification of
7891 multiplications inside AUTOWIRE connections, bug303.
7892 (verilog-auto-inst-port): Support parameter expansion in
7893 multidimensional arrays.
7894 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7895 after "assert property". Reported by Julian Gorfajn.
7896 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7897 with multiplication, bug303.
7898 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7899 Reported by Jan Frode Lonnum.
7900
1bbe96b2
GM
79012011-11-30 Juanma Barranquero <lekktu@gmail.com>
7902
7903 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7904 (hfy-shell-file-name, hfy-shell):
7905 * international/fontset.el (x-decompose-font-name): Fix typos.
7906
79072011-11-29 Ken Brown <kbrown@cornell.edu>
7908
7909 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7910 (gdb-version): Remove defvar.
7911 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7912 (gdb-gud-context-command, gdb-non-stop-handler)
7913 (gdb-current-context-command, gdb-stopped): Use it.
7914 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7915 (gdb-non-stop-handler): Don't enable pretty-printing here.
7916 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7917 non-stop mode. Use the following.
7918 (gdb-check-target-async): New defun.
7919 (gud-watch, gdb-stopped): Fix whitespace.
7920 (gdb-get-source-file): Don't try to display the source file if
7921 `gdb-main-file' is nil.
7922
79232011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * align.el: Try to generate fewer markers (bug#10047).
7926 (align--set-marker): New macro.
7927 (align-region): Use it.
7928
c935221f
SM
79292011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7932
e70b5064
CY
79332011-11-29 Chong Yidong <cyd@gnu.org>
7934
7935 * indent.el (indent-for-tab-command, indent-according-to-mode):
7936 Doc fix.
7937 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7938
f3af92b7
MA
79392011-11-29 Michael Albinus <michael.albinus@gmx.de>
7940
7941 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7942 aware of remote file names. (Bug#10124)
7943
ed472be9
CY
79442011-11-29 Chong Yidong <cyd@gnu.org>
7945
7946 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7947
24510c22
SM
79482011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * files.el (find-file): Don't use force-same-window (bug#10144).
7951 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7952 use pop-to-buffer if the selected window can't be used.
7953 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7954
c60c3703
EZ
79552011-11-28 Eli Zaretskii <eliz@gnu.org>
7956
7957 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7958 special-mode-map.
7959
e95def75
CY
79602011-11-28 Chong Yidong <cyd@gnu.org>
7961
7962 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7963
c3f1c606
NR
79642011-11-27 Nick Roberts <nickrob@snap.net.nz>
7965
7966 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7967 gdb-get-source-file-list on gdb-create-source-file-list.
7968
00db469c
EZ
79692011-11-26 Eli Zaretskii <eliz@gnu.org>
7970
7971 * whitespace.el (whitespace-newline): Use a different foreground
7972 color for 16-color light-background displays.
7973
4ad3bc2a
CY
79742011-11-24 Chong Yidong <cyd@gnu.org>
7975
7976 * window.el (display-buffer--special-action): Doc fix.
7977
e9fce1ac
JB
79782011-11-25 Juanma Barranquero <lekktu@gmail.com>
7979
7980 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7981 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7982 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7983 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7984 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7985 (avl-tree-stack-first):
7986 * emacs-lisp/cconv.el (cconv--analyse-use):
7987 * net/gnutls.el (gnutls-negotiate): Fix typos.
7988
cb825e5d
GM
79892011-11-24 Glenn Morris <rgm@gnu.org>
7990
3adbe224
GM
7991 * lpr.el (lpr-windows-system, lpr-lp-system):
7992 * mail/binhex.el (binhex-begin-line):
7993 * progmodes/grep.el (grep-history, grep-find-history):
7994 * textmodes/flyspell.el:
7995 * vc/pcvs-defs.el (cvs-global-menu):
7996 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7997 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7998 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7999
321decc8
GM
8000 * net/tls.el: Fix case of "GnuTLS".
8001
420b63ad
GM
8002 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8003
cb825e5d
GM
8004 * version.el (emacs-build-system): Give it a doc-string.
8005
a0649f08
JL
80062011-11-24 Juri Linkov <juri@jurta.org>
8007
8008 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8009
c0bc0fd4
GM
80102011-11-24 Glenn Morris <rgm@gnu.org>
8011
8012 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8013 if called on a non-mime message just toggle the headers. (Bug#8006)
8014
20db1522
JB
80152011-11-24 Juanma Barranquero <lekktu@gmail.com>
8016
8017 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8018 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8019 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8020 (allout-rebullet-heading, allout-open-sibtopic)
8021 (allout-toggle-current-subtree-encryption)
8022 (allout-toggle-subtree-encryption, allout-encrypt-string)
8023 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8024 (allout-distinctive-bullets-string, allout-auto-activation):
8025 * window.el (window-normalize-buffer-to-display):
8026 * progmodes/verilog-mode.el (verilog-batch-indent):
8027 * textmodes/bibtex.el (bibtex-field-braces-opt)
8028 (bibtex-field-strings-opt):
8029 * vc/cvs-status.el (cvs-tree-merge):
8030 Fix typos.
8031
7262a87c
MA
80322011-11-23 Michael Albinus <michael.albinus@gmx.de>
8033
8034 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8035 `non-essential' to t, in order to avoid remote connections.
8036
283430a1
EZ
80372011-11-23 Eli Zaretskii <eliz@gnu.org>
8038
a1beca85
SM
8039 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8040 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8041 case-insensitively.
8042
d2992a38
ML
80432011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8044
8045 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8046
50419064
GM
80472011-11-23 Glenn Morris <rgm@gnu.org>
8048
da94eca1
GM
8049 * paths.el (rmail-file-name): Reformat the doc-string so that it
8050 is picked up.
8051
9aac4de2
GM
8052 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8053 (rmail-auto-file): Ignore case in the "special" field names,
8054 as mail-fetch-field does for all others.
8055
8038d2d2
GM
8056 * mail/rmail.el (rmail-forward):
8057 * mail/rmailkwd.el (rmail-set-label):
8058 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8059 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8060
f3fe222a
GM
8061 * mail/rmail.el (rmail-current-message): Doc fix.
8062
50419064
GM
8063 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8064
28109f49
SM
80652011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8068
394c65f1
GM
80692011-11-22 Glenn Morris <rgm@gnu.org>
8070
8071 * mail/rmailmm.el (test-rmail-mime-handler)
8072 (test-rmail-mime-bulk-handler)
8073 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8074
f2a0aa3a
JL
80752011-11-21 Juri Linkov <juri@jurta.org>
8076
1154d12e
JB
8077 * calc/calc.el (calc-read-key-sequence):
8078 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8079
9c34a344
LMI
80802011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8081
8082 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8083 Tell the caller that the next line needs recomputation, even
8084 though it doesn't start a sexp (bug#10094).
8085
f04a3be9
SM
80862011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8087
8088 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8089
7978747f
SM
80902011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8091
f04a3be9
SM
8092 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8093 Use force-same-window.
7978747f 8094
fe7a3057
JB
80952011-11-20 Juanma Barranquero <lekktu@gmail.com>
8096
8097 * descr-text.el (describe-char-unicode-data):
8098 * json.el (json-string-escape):
8099 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8100 (Footnote-unicode, Footnote-style-p):
8101 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8102
24901d61
CY
81032011-11-20 Chong Yidong <cyd@gnu.org>
8104
8105 * window.el (replace-buffer-in-windows): Restore interactive spec.
8106
bac7ff22
SM
81072011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8108
24f3d7b9
SM
8109 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8110
bac7ff22
SM
8111 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8112 (byte-compile-global-not-obsolete-vars): New var.
8113 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8114 Use it.
8115 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8116
cd1181db
JB
81172011-11-20 Juanma Barranquero <lekktu@gmail.com>
8118
8119 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8120 * progmodes/pascal.el (electric-pascal-equal):
8121 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8122 * xml.el (xml-substitute-special): Fix typos.
8123
7fb18e9e
GM
81242011-11-20 Glenn Morris <rgm@gnu.org>
8125
8126 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8127 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8128 Doc fixes.
8129 (rmail-decode-mime-charset): Mark as obsolete.
8130
8131 * mail/rmailsum.el (rmail-message-regexp-p-1):
8132 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8133 Before using mime functions, check they are set. (Bug#10077)
8134
d5a6b3ba
JL
81352011-11-19 Juri Linkov <juri@jurta.org>
8136
8137 * info.el (Info-finder-find-node): Use `package--builtins' instead
8138 of `package-alist'. Use node names formed by the pattern "Keyword "
8139 and the keyword name.
8140
e981b61f
AS
81412011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8142
1d00653d 8143 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8144
3ffbc301
JL
81452011-11-19 Juri Linkov <juri@jurta.org>
8146
8147 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8148 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8149 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8150 `old-history', `old-history-forward'. Add let-binding
8151 `window-selected'. Remove calls to `kill-buffer',
8152 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8153 before calling `Info-find-node', so `Info-find-node-2' will reread
8154 the Info file. Restore window positions only when `window-selected'
8155 is non-nil.
8156
30c62133
JL
81572011-11-19 Juri Linkov <juri@jurta.org>
8158
8159 * isearch.el (isearch-lazy-highlight-new-loop):
8160 Remove condition `(not isearch-error)'. (Bug#9918)
8161
8162 * misearch.el (multi-isearch-search-fun): Add condition
8163 `(not bound)' to ignore lazy-highlighting search.
8164 Add the search-failed message "end of multi" when the end of
8165 multi-sequence is reached. Uncapitalize the search-failed
8166 message "Repeat for next buffer".
8167
8168 * info.el (Info-search): Add the search-failed message
8169 "end of the manual" when the end of the manual is reached
8170 in Isearch mode.
8171
645ca9cf
JL
81722011-11-19 Juri Linkov <juri@jurta.org>
8173
8174 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8175 Use non-destructive `remove' instead of `delete' because
8176 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8177 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8178
df754f66
JL
81792011-11-19 Juri Linkov <juri@jurta.org>
8180
8181 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8182 to nil instead of binding `search-ring' and `regexp-search-ring'.
8183 (Bug#9185)
8184
0e23d96a
EZ
81852011-11-19 Eli Zaretskii <eliz@gnu.org>
8186
8187 * simple.el (line-move): Force movement by logical lines for any
8188 hscrolled window, not only when auto-hscroll-mode is on.
8189 (line-move-visual): Update doc string to that effect. (Bug#10076)
8190
8a6ccb66
AS
81912011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8192
8193 * language/european.el (macintosh): Define as alias for mac-roman.
8194
49ae5b39
EZ
81952011-11-19 Eli Zaretskii <eliz@gnu.org>
8196
8197 * mail/rmailmm.el (rmail-mime-display-header)
8198 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8199 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8200 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8201 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8202 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8203 of a raw aref.
8204 (rmail-mime-entity-segment): To get past the tagline, move forward
8205 2 more lines, to account for the 2 empty lines that precede and
8206 follow the line with the buttons.
8207 (rmail-mime-update-tagline): Move one more line, to get past the
8208 empty line that follows the buttons in the tagline. (Bug#9520)
8209
c56cad4a
MR
82102011-11-19 Martin Rudalics <rudalics@gmx.at>
8211
8212 * window.el (window-max-delta-1, window-min-delta-1)
8213 (window-min-size-1, window-state-get-1, window-state-put-1)
8214 (window-state-put-2): Use "window--" prefix.
8215
cbe71af3
SM
82162011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8217
2ad52c60
SM
8218 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8219 (smie-warning-count): New var.
8220 (smie-set-prec2tab): Use it.
8221 (smie-bnf->prec2): Improve warnings. Add docstring.
8222 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8223 (smie-bnf--set-class): New function.
8224 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8225 corner case.
8226
6944dbc1
SM
8227 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8228 (compilation-error-properties, compilation-move-to-column):
8229 Handle compilation-first-column while in the target buffer.
8230
c400c4d7
SM
8231 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8232 Don't hardcode point-min==1.
8233
6dbe3e96
SM
8234 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8235 (eshell-rewrite-for-command): Remove workaround.
8236 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8237 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8238 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8239
cbe71af3
SM
8240 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8241
a8e1496d
GM
82422011-11-17 Glenn Morris <rgm@gnu.org>
8243
8244 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8245 Ignore buffer-local generated-autoload-file if it is the same
8246 as the global value. (Bug#10049)
8247
df85d315
JB
82482011-11-17 Juanma Barranquero <lekktu@gmail.com>
8249
8250 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8251 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8252 (reftex-toc-previous-heading, reftex-toc-max-level)
8253 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8254 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8255 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8256 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8257 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8258 (reftex-toc-rename-label, reftex-toc-visit-location)
8259 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8260 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8261 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8262 leaving "*toc*" only for references to the buffer.
8263
a0c2d0ae
MR
82642011-11-17 Martin Rudalics <rudalics@gmx.at>
8265
8266 * window.el (window-resize, delete-window, split-window):
8267 Replace window-splits by window-combination-resize.
1d00653d 8268 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8269
35c0bac8
GM
82702011-11-17 Glenn Morris <rgm@gnu.org>
8271
8272 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8273 Make bash entry derive from sh entry, not shell entry.
8274
d0c8fc8a
MA
82752011-11-16 Michael Albinus <michael.albinus@gmx.de>
8276
7262a87c
MA
8277 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8278 local file name.
8279
7877f373
JB
82802011-11-16 Juanma Barranquero <lekktu@gmail.com>
8281
8282 * menu-bar.el (menu-bar-file-menu):
8283 * printing.el (pr-ps-utility):
8284 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8285 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8286 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8287 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8288 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8289 (icalendar--convert-cyclic-to-ical)
8290 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8291 (icalendar--convert-ical-to-diary)
8292 (icalendar--convert-recurring-to-diary)
8293 (icalendar--convert-non-recurring-all-day-to-diary)
8294 (icalendar-import-format-sample):
8295 * progmodes/idlw-shell.el (idlwave-shell-mode):
8296 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8297 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8298 (vhdl-ps-print-init): Fix typos.
8299
10649b82
KM
83002011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8301
9d0cfcd6
GM
8302 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8303 FSF and collapse date sequence, obscure author/maintainer email address
8304 better, remove extra version line, track relocation of author's webpage.
10649b82 8305
9d0cfcd6
GM
8306 * progmodes/python.el (python-pdbtrack-input-prompt)
8307 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8308 regular python pdb prompts. Adjustments shamelessly taken exactly as
8309 suggested in EmacsWiki page (tiny change):
8310 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8311
58179cce
JB
83122011-11-16 Juanma Barranquero <lekktu@gmail.com>
8313
8314 * expand.el (expand-pos, expand-index, expand-point):
8315 Remove redundant info from docstring.
8316 (expand-add-abbrevs): Doc fix.
8317 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8318 (expand-sample-perl-mode-expand-list): Fix typos.
8319
8320 * net/dbus.el (dbus-event-member-name):
8321 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8322 * term/pc-win.el (msdos-create-frame-with-faces):
8323 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8324
b6f67890
MR
83252011-11-16 Martin Rudalics <rudalics@gmx.at>
8326
8327 * window.el (split-window, window-state-get-1)
8328 (window-state-put-1, window-state-put-2): Rename occurrences of
8329 window-nest to window-combination-limit.
1d00653d 8330 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8331
ce7ddba0
CY
83322011-11-16 Chong Yidong <cyd@gnu.org>
8333
8334 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8335 regexp (Bug#10033).
8336
3ae704f4
SM
83372011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8340 `completing-read' will remove *Completions* and will preserve
8341 current-buffer for us.
8342 (tmm-add-prompt): Users of *Completions* will always (re)set its
8343 major mode.
8344 (tmm-old-comp-map): Remove.
8345
6ad1cdde
GM
83462011-11-16 Glenn Morris <rgm@gnu.org>
8347
8348 * mail/rmailedit.el: Require rmailmm when compiling.
8349 (rmail-old-mime-state): New declaration.
8350 (rmail-edit-current-message): If editing a mime message,
8351 edit the "raw" message from the mbox buffer.
8352 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8353
d20faa20
GM
83542011-11-15 Glenn Morris <rgm@gnu.org>
8355
8356 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8357 which wasn't being used. Add optional arg to force given state.
8358 (rmail-mime): Add optional arg to force given state.
8359
c7015153
JB
83602011-11-15 Juanma Barranquero <lekktu@gmail.com>
8361
8362 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8363 * frame.el (display-mm-dimensions-alist):
8364 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8365 (outline-move-subtree-down):
8366 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8367 (newsticker--treeview-do-get-node):
8368 * net/quickurl.el (quickurl-list-buffer-name):
8369 * progmodes/dcl-mode.el (dcl-mode):
8370 * progmodes/gdb-mi.el (gdb-mapcar*):
8371 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8372
45261b50
GM
83732011-11-15 Glenn Morris <rgm@gnu.org>
8374
8375 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8376 in a boolean sense, so just make it a boolean, and fix the doc.
8377 (rmail-show-mime-function, rmail-mime-feature)
8378 (rmail-require-mime-maybe): Doc fixes.
8379 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8380
8381 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8382
0d26e0b6
JB
83832011-11-15 Juanma Barranquero <lekktu@gmail.com>
8384
8385 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8386 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8387 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8388 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8389
447f30f6
GM
83902011-11-15 Glenn Morris <rgm@gnu.org>
8391
672b871d
GM
8392 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8393 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8394 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8395 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8396 (rmail-mime, rmail-show-mime): Doc fixes.
8397
f6aa5bb1
GM
8398 * term/ns-win.el (mode-line-frame-identification):
8399 Leave it alone. (Bug#10051)
8400
947cd66b
GM
8401 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8402
447f30f6
GM
8403 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8404 Handle empty buffers. (Bug#9978)
8405
0b381c7e
JB
84062011-11-14 Juanma Barranquero <lekktu@gmail.com>
8407
8408 * international/mule.el (define-charset):
8409 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8410 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8411 * progmodes/verilog-mode.el (verilog-backward-token):
8412 * textmodes/ispell.el (lookup-words):
8413 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8414
71e027ac
GM
84152011-11-14 Glenn Morris <rgm@gnu.org>
8416
56632ce4
GM
8417 * progmodes/executable.el
8418 (executable-make-buffer-file-executable-if-script-p):
8419 Handle file-modes returning nil.
8420
40500957
GM
8421 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8422 message - not necessary, and causes problems. (Bug#9831)
8423
071c2340
GM
8424 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8425
d3cfca60
GM
8426 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8427
71e027ac
GM
8428 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8429 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8430 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8431
89d61221
MR
84322011-11-12 Martin Rudalics <rudalics@gmx.at>
8433
8434 * window.el (window-resize, delete-window): Use window-splits
8435 variable instead of function.
8436 (window-state-get-1, window-state-put-2, window-state-put):
8437 Don't deal with windows' splits status.
8438
98282f6f
GM
84392011-11-12 Glenn Morris <rgm@gnu.org>
8440
8441 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8442 (apropos-documentation): Doc fixes.
8443
40a8bdf6
JB
84442011-11-11 Juanma Barranquero <lekktu@gmail.com>
8445
8446 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8447 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8448
65bd19ff
SM
84492011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * electric.el (electric-indent-post-self-insert-function): Make it
8452 possible for a char to only indent in some circumstances.
8453 (electric-indent-mode): Simplify.
8454
54f9154c
MR
84552011-11-11 Martin Rudalics <rudalics@gmx.at>
8456
8457 * window.el (windows-with-parameter): Remove unused function.
8458 (windows-at-side): Rename to window-at-side-list.
8459 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8460 (window-side-check, window-size-ignore, window-size-fixed-1)
8461 (window-in-direction-2): Prefix with "window--".
8462 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8463
68cbc58b
GM
84642011-11-11 Glenn Morris <rgm@gnu.org>
8465
8466 * subr.el (eval-after-load): If FILE is already loaded,
8467 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8468
b2621720
GM
84692011-11-10 Glenn Morris <rgm@gnu.org>
8470
9a4de110
GM
8471 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8472 Call svn via vc-svn-command rather than vc-do-command.
8473 (vc-svn-command): Add --non-interactive. (Bug#9993)
8474 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8475
b2621720
GM
8476 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8477 Add toggle-read-only. (Bug#7292)
8478 * files.el (toggle-read-only): Mention that it should only
8479 be used interactively. (Bug#10006)
8480
1dce7193
SM
84812011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8482
d9ac1a1e
SM
8483 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8484 Adjust regexp for OCaml warnings.
8485
0c325082
SM
8486 * electric.el (electric-pair-post-self-insert-function): Let user
8487 turn it off buffer-locally (bug#9932).
8488
90132c14
SM
8489 * progmodes/python.el (python-beginning-of-statement):
8490 Rewrite (bug#2703).
8491
1dce7193
SM
8492 * progmodes/compile.el: Better handle TABs (bug#9749).
8493 (compilation-internal-error-properties)
8494 (compilation-next-error-function): Obey the target buffer's
8495 compilation-error-screen-columns.
8496
c4e7c63a
JB
84972011-11-09 Juanma Barranquero <lekktu@gmail.com>
8498
8499 * progmodes/meta-mode.el: Remove obsolete comments.
8500 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8501 Fix typos in docstrings.
8502
2cffd681
MR
85032011-11-09 Martin Rudalics <rudalics@gmx.at>
8504
8505 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8506 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8507 (window--resizable): New function. Make all callers of
8508 window-resizable call window--resizable instead.
8509 (window-resizable): Rewrite in terms of window--resizable.
8510
0edcba87
GM
85112011-11-08 Glenn Morris <rgm@gnu.org>
8512
8513 * progmodes/delphi.el (delphi-mode-syntax-table):
8514 Let define-derived-mode define a proper syntax table. (Bug#9994)
8515
4b0d61e3
SM
85162011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8517
8518 * window.el: Stay away from defsubst.
8519 (window-list-no-nils): Remove.
8520 (window-state-get-1, window-state-get): Use backquote instead.
8521
cd394be1 85222011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8523
4b0d61e3 8524 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8525 Fix incorrect use of default argument in `completing-read'.
8526
e1c2c6f2
MR
85272011-11-08 Martin Rudalics <rudalics@gmx.at>
8528
8529 * window.el (display-buffer-function, special-display-function):
8530 Mention display-buffer-record-window but do not mention
8531 help-setup parameter in doc-strings.
b3f4a882 8532 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8533
105216ed
CY
85342011-11-08 Chong Yidong <cyd@gnu.org>
8535
8536 * window.el (window-total-height, window-total-width): Doc fix.
8537 (window-body-size): Move from C.
8538 (window-body-height, window-body-width): Move to C.
8539
0a9f9ab5
SM
85402011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * window.el: Make special-display like display-buffer-alist (bug#9532).
8543 (display-buffer--special-action): New function, morphed
8544 from display-buffer--special.
8545 (display-buffer): Use it to handle special-display-buffers at higher
8546 priority (just after display-buffer-alist).
8547 (display-buffer-fallback-action, display-buffer--other-frame-action)
8548 (pop-to-buffer-same-window): Remove display-buffer--special.
8549
a769dd15
GM
85502011-11-07 Glenn Morris <rgm@gnu.org>
8551
8552 * calendar/cal-menu.el (cal-menu-set-date-title):
8553 Do nothing if not in a calendar. (Bug#9976)
8554
05a61ee3
SM
85552011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8556
8557 * files.el (find-file): Always use selected-window.
8558
be7f5545
MR
85592011-11-07 Martin Rudalics <rudalics@gmx.at>
8560
8561 * window.el (window-combinations): Make WINDOW argument
8562 mandatory. Rewrite doc-string.
8563 (walk-window-subtree, window-atom-check, window-min-delta)
8564 (window-max-delta, window--resize-this-window)
8565 (window--resize-root-window-vertically, window-tree)
8566 (balance-windows, window-state-put): Rewrite doc-strings as to
8567 not mention the term "subwindow".
8568 (window--resize-subwindows-skip-p): Rename to
8569 window--resize-child-windows-skip-p.
8570 (window--resize-subwindows-normal): Rename to
8571 window--resize-child-windows-normal.
8572 (window--resize-subwindows): Rename to
8573 window--resize-child-windows.
8574 (window-or-subwindow-p): Rename to window--in-subtree-p.
8575
3c6702ef
ML
85762011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8577
8578 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8579 Ensure that mbox format messages end in two newlines (Bug#9974).
8580
49745b39
CY
85812011-11-06 Chong Yidong <cyd@gnu.org>
8582
8583 * window.el (window-combination-p): Function deleted; its
8584 side-effect is not used in any existing code.
8585 (window-combinations, window-combined-p): Call window-*-child
8586 directly.
8587
24300f5f
CY
85882011-11-05 Chong Yidong <cyd@gnu.org>
8589
8590 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8591 (window-size-ignore, window-state-get): Callers changed.
8592 (window-normalize-window): Rename from window-normalize-any-window.
8593 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8594 (window-normalize-live-window): Delete.
447f16b8
CY
8595 (window-combination-p, window-combined-p, window-combinations)
8596 (walk-window-subtree, window-atom-root, window-min-size)
8597 (window-sizable, window-sizable-p, window-size-fixed-p)
8598 (window-min-delta, window-max-delta, window-resizable)
8599 (window-resizable-p, window-full-height-p, window-full-width-p)
8600 (window-current-scroll-bars, window-point-1, set-window-point-1)
8601 (window-at-side-p, window-in-direction, window-resize)
8602 (adjust-window-trailing-edge, maximize-window, minimize-window)
8603 (window-deletable-p, delete-window, delete-other-windows)
8604 (record-window-buffer, unrecord-window-buffer)
8605 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8606 (quit-window, split-window, window-state-put)
8607 (set-window-text-height, fit-window-to-buffer)
8608 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8609
89bd5ee1
EZ
86102011-11-04 Eli Zaretskii <eliz@gnu.org>
8611
53479029
EZ
8612 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8613 rfc2047-decode-string.
8614 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8615 warnings.
8616
89bd5ee1
EZ
8617 * window.el (window-body-height, window-body-width): Mention in
8618 the doc string that the return values are in frame's canonical
8619 units. (Bug#9949)
8620
bd17fdee
AM
86212011-11-03 Alan Mackenzie <acm@muc.de>
8622
8623 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8624 change in cc-engine.el.
8625
acc825c5
SM
86262011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8629
1885e5b8
MR
86302011-11-02 Martin Rudalics <rudalics@gmx.at>
8631
8632 * window.el (quit-window): Call unrecord-window-buffer after
8633 showing another buffer in the window. (Bug#9937)
acc825c5 8634 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8635
ebe06da9
JB
86362011-11-02 Juanma Barranquero <lekktu@gmail.com>
8637
8638 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8639 Accept status with more than 9 shelves. (Bug#9935)
8640 Reported by Colin D Bennett <colin@gibibit.com>.
8641
4ee88440
MR
86422011-11-01 Martin Rudalics <rudalics@gmx.at>
8643
8644 * help.el (with-help-window): Don't reference
8645 temp-buffer-show-specifiers in doc-string.
8646
08e1d82c
AS
86472011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8648
8649 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8650 menu-item.
8651
84bd6e9e
VJL
86522011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8653
8654 * whitespace.el: New version 13.2.2.
8655 (whitespace-newline-mode): Disable properly. Reported by Sarah
8656 <EmacsWiki>.
8657
dba0634a
UJ
86582011-10-30 Ulf Jasper <ulf.jasper@web.de>
8659
8660 * net/newst-treeview.el: Remove "Time-stamp".
8661 (newsticker--group-manage-orphan-feeds): Do not call
8662 newsticker--treeview-tree-update.
db22a3c2
JB
8663 (newsticker-treeview-update, newsticker-treeview):
8664 Call newsticker--treeview-tree-update if necessary.
dba0634a 8665
3d8daefe
MR
86662011-10-30 Martin Rudalics <rudalics@gmx.at>
8667
8668 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8669 (window-iso-combinations): Remove "iso-" infix.
8670 Suggested by Chong Yidong.
3d8daefe
MR
8671 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8672 (window-max-delta-1, window-resize, window--resize-siblings)
8673 (window--resize-this-window, adjust-window-trailing-edge)
8674 (split-window, balance-windows-1)
8675 (shrink-window-if-larger-than-buffer):
8676 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8677 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8678
1bc4c3ae
SM
86792011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8680
8681 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8682 in place (bug#9907).
8683 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8684 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8685 (eshell-structure-basic-command, eshell-rewrite-while-command)
8686 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8687 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8688 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8689 (eshell-do-pipelines-synchronously, eshell-eval-command):
8690 Use backquotes and prefer setq to set.
8691 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8692 (eshell-macrop): Use functionp.
c1e2f5fa 8693 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8694
30b65d9c
CY
86952011-10-30 Chong Yidong <cyd@gnu.org>
8696
8697 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8698 instead of set-mark (Bug#9810).
8699
2d197ffb
CY
87002011-10-30 Chong Yidong <cyd@gnu.org>
8701
8702 * window.el (split-window-below, split-window-right): Rename from
8703 split-window-above-each-other and split-window-side-by-side
8704 respectively. All callers changed.
8705 (split-window-sensibly, split-window-sensibly): Use them.
8706 (split-window-keep-point): Doc fix.
8707
8708 * isearch.el: Add isearch-scroll property to split-window-below
8709 and split-window-right.
8710
8711 * follow.el (follow-mode):
8712 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8713 * progmodes/ada-xref.el (ada-gdb-application):
8714 * emulation/vip.el (vip-buffer-in-two-windows):
8715 * image-dired.el (image-dired-dired-with-window-configuration):
8716 * dired-x.el (dired-do-find-marked-files):
8717 * dired.el (dired-pop-to-buffer):
8718 * bs.el (bs--show-with-configuration):
8719 * vc/emerge.el (emerge-setup-windows):
8720 * textmodes/two-column.el (2C-two-columns):
8721 * textmodes/reftex-toc.el (reftex-toc):
8722 * progmodes/gdb-mi.el (gdb-setup-windows):
8723 * progmodes/fortran.el (fortran-window-create):
8724 * net/newst-treeview.el (newsticker--treeview-window-init):
8725 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8726 * emulation/tpu-edt.el (tpu-gold-map):
8727 * emulation/crisp.el (crisp-mode-map):
8728 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8729
38bb2ca8
CY
87302011-10-29 Chong Yidong <cyd@gnu.org>
8731
aa4de341
CY
8732 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8733
e1eb5385
CY
8734 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8735
5d2ece3c
CY
8736 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8737 forged Ispell output (Bug#7904).
8738
38bb2ca8
CY
8739 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8740
d0af9f77
SM
87412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8742
8743 * doc-view.el: Avoid ugly errors about not finding nil.
8744 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8745 (doc-view-dvipdf-program, doc-view-unoconv-program)
8746 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8747 Avoid nil or absolute file name as default value.
8748 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8749
52bedd34
AM
87502011-10-28 Alan Mackenzie <acm@muc.de>
8751
db22a3c2 8752 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8753
7e43cfa5
AM
87542011-10-28 Alan Mackenzie <acm@muc.de>
8755
8756 Amend the handling of c-beginning/end-of-defun in nested declaration
8757 scopes.
8758
52bedd34
AM
8759 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8760 cc-langs.el. Change it to a defcustom.
7e43cfa5 8761
52bedd34
AM
8762 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8763 cc-vars.el.
7e43cfa5 8764
d0af9f77
SM
8765 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8766 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8767
52bedd34 8768 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8769 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8770 (c-widen-to-enclosing-decl-scope): New function.
8771 (c-while-widening-to-decl-block): New macro.
8772 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8773 outward for defun boundaries, and correspondingly change symbol
8774 `respect-enclosure' to `go-outward'.
8775 (c-declaration-limits): Change algorithm to report only the "innermost"
8776 defun's boundaries.
8777
1a2ce9ee
DD
87782011-10-28 Deniz Dogan <deniz@dogan.se>
8779
8780 * net/rcirc.el (rcirc-mode): Use hard newlines.
8781
bc97a826
AM
87822011-10-28 Alan Mackenzie <acm@muc.de>
8783
8784 Amend to indent and fontify macros "which include their own semicolon"
8785 correctly, using the "virtual semicolon" mechanism.
8786
52bedd34 8787 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8788
d0af9f77 8789 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8790 Recode to scan one line at a time rather than having \n and \r
58179cce 8791 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8792 (c-forward-label): Amend for virtual semicolons.
58179cce 8793 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8794
52bedd34
AM
8795 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8796 of the new C macros.
bc97a826 8797
52bedd34 8798 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8799 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8800 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8801 (c-opt-cpp-macro-define): Make into a full language variable.
8802 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8803 AWK Mode (including \n, \r) removed, no longer needed.
8804
d0af9f77
SM
8805 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8806 Invoke c-make-macro-with-semi-re.
bc97a826 8807
52bedd34
AM
8808 * progmodes/cc-vars.el (c-macro-with-semi-re):
8809 (c-macro-names-with-semicolon): New variables.
58179cce 8810 (c-make-macro-with-semi-re): New function.
bc97a826 8811
7a6c0941
SM
88122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * vc/log-edit.el: Fill empty field rather than adding new one.
8815 (log-edit-add-field): New function.
8816 (log-edit-insert-changelog): Use it.
8817
b0c4cdcf
ML
88182011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8819
8820 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8821
ee1f1da9
SM
88222011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8825 (gdb--check-interpreter): New function.
8826 (gdb): Use it.
8827
51bc5f8b
GM
88282011-10-27 Glenn Morris <rgm@gnu.org>
8829
416a2c45
GM
8830 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8831 (least-positive-float, least-negative-float)
8832 (least-positive-normalized-float, least-negative-normalized-float)
8833 (float-epsilon, float-negative-epsilon):
8834 Remove unnecessary declarations.
8835
8836 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8837 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8838 (least-positive-float, least-negative-float)
8839 (least-positive-normalized-float, least-negative-normalized-float)
8840 (float-epsilon, float-negative-epsilon): Add doc-strings,
8841 based on those in cl.texi.
8842
51bc5f8b
GM
8843 * files.el (set-visited-file-name): If the major-mode changed,
8844 reload the local variables. (Bug#9796)
8845
15de15c6
CY
88462011-10-27 Chong Yidong <cyd@gnu.org>
8847
8848 * subr.el (change-major-mode-after-body-hook): New hook.
8849 (run-mode-hooks): Run it.
8850
ee1f1da9
SM
8851 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8852 Use change-major-mode-before-body-hook.
15de15c6
CY
8853
8854 * simple.el (fundamental-mode):
8855 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8856 change introducing fundamental-mode-hook.
8857
5430d399
JB
88582011-10-26 Juanma Barranquero <lekktu@gmail.com>
8859
acc825c5 8860 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8861
ad74a69e
MA
88622011-10-26 Michael Albinus <michael.albinus@gmx.de>
8863
8864 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8865 tramp.el explicitly. (Bug#7583)
ad74a69e 8866
71d4c2a5
SM
88672011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8868
8869 * progmodes/octave-mod.el:
8870 * progmodes/octave-inf.el: Update maintainer.
8871
b1f6fa26
CY
88722011-10-26 Chong Yidong <cyd@gnu.org>
8873
8874 * subr.el (with-wrapper-hook): Rewrite doc.
8875
3f04efd6
MA
88762011-10-25 Michael Albinus <michael.albinus@gmx.de>
8877
8878 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8879 filenames "/method:foo:". (Bug#9793)
3f04efd6 8880
410488d3
SM
88812011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8884 (bug#9865).
8885
c1ebb47e
GM
88862011-10-24 Glenn Morris <rgm@gnu.org>
8887
8888 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8889
7f5c46c7
MA
88902011-10-24 Michael Albinus <michael.albinus@gmx.de>
8891
8892 * notifications.el: Add the requirement of a running D-Bus session
8893 bus to the Commentary.
8894
db2440b6
JL
88952011-10-24 Juri Linkov <juri@jurta.org>
8896
8897 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8898 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8899 (Bug#9364)
8900
feecf435
JL
89012011-10-24 Juri Linkov <juri@jurta.org>
8902
8903 * info.el (Info-following-node-name-re): Add newline to the list
8904 of allowed characters for leading space. (Bug#9824)
8905
a3839de2
SM
89062011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8907
acc825c5
SM
8908 * progmodes/octave-inf.el (inferior-octave-mode-map):
8909 Fix C-c C-h binding.
a3839de2
SM
8910 * progmodes/octave-mod.el (octave-help): Remove.
8911
09388e76
MA
89122011-10-23 Michael Albinus <michael.albinus@gmx.de>
8913
8914 Sync with Tramp 2.2.3.
8915
8916 * net/tramp-cache.el (top): Pacify byte-compiler using
8917 `init-file-user' and `site-run-file'.
8918
8919 * net/trampver.el: Update release number.
8920
86c60681
CY
89212011-10-23 Chong Yidong <cyd@gnu.org>
8922
8923 * files.el (toggle-read-only): Remove obsolete comment about
8924 version control.
8925
8926 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8927 for toggle-read-only. Note that this hasn't called vc-next-action
8928 since 2008-05-02, though it wasn't documented at the time.
8929
a3839de2
SM
8930 * vc/ediff-init.el (ediff-toggle-read-only-function):
8931 Use toggle-read-only.
86c60681 8932
cd5495ff
AM
89332011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8934
8935 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8936 of c-parse-state.
8937
00b77525 8938 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8939 correct faulty logical expression.
cd5495ff
AM
8940 (c-parse-state-state, c-record-parse-state-state):
8941 (c-replay-parse-state-state): New defvar/defuns.
8942 (c-debug-parse-state): Use new functions.
8943
42ee24ed
MR
89442011-10-22 Martin Rudalics <rudalics@gmx.at>
8945
8946 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8947 last fix. Use window-in-direction correctly.
42ee24ed 8948
a7dee7e7
CY
89492011-10-21 Chong Yidong <cyd@gnu.org>
8950
8951 * progmodes/idlwave.el (idlwave-mode):
8952 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8953 require-final-newline; that's done in prog-mode.
8954 Suggested by Stefan Monnier.
a7dee7e7 8955
e07b9a6d
MR
89562011-10-21 Martin Rudalics <rudalics@gmx.at>
8957
8958 * mouse.el (mouse-drag-window-above)
8959 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8960 (mouse-drag-mode-line-1, mouse-drag-header-line)
8961 (mouse-drag-vertical-line-rightward-window): Remove.
8962 (mouse-drag-line): New function.
8963 (mouse-drag-mode-line, mouse-drag-header-line)
8964 (mouse-drag-vertical-line): Call mouse-drag-line.
8965 * window.el (window-at-side-p, windows-at-side): New functions.
8966
7e1361d9
UM
89672011-10-21 Ulrich Mueller <ulm@gentoo.org>
8968
8969 * tar-mode.el (tar-grind-file-mode):
8970 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8971
30fcaf3a
CY
89722011-10-21 Chong Yidong <cyd@gnu.org>
8973
8974 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8975 * progmodes/vera-mode.el (vera-mode):
8976 Use mode-require-final-newline.
30fcaf3a 8977
516eddb0
GM
89782011-10-20 Glenn Morris <rgm@gnu.org>
8979
db22a3c2 8980 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8981
10d5f513
CS
89822011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8983
8984 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8985
ac6c8639
CY
89862011-10-20 Chong Yidong <cyd@gnu.org>
8987
8988 * emulation/cua-base.el (cua-mode):
8989 * mail/footnote.el (footnote-mode):
8990 * mail/mailabbrev.el (mail-abbrevs-mode):
8991 * net/xesam.el (xesam-minor-mode):
8992 * progmodes/bug-reference.el (bug-reference-mode):
8993 * progmodes/cap-words.el (capitalized-words-mode):
8994 * progmodes/compile.el (compilation-minor-mode)
8995 (compilation-shell-minor-mode):
8996 * progmodes/gud.el (gud-tooltip-mode):
8997 * progmodes/hideif.el (hide-ifdef-mode):
8998 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8999 * progmodes/subword.el (subword-mode):
9000 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9001 * progmodes/which-func.el (which-function-mode):
9002 * term/tvi970.el (tvi970-set-keypad-mode):
9003 * term/vt100.el (vt100-wide-mode):
9004 * textmodes/flyspell.el (flyspell-mode):
9005 * textmodes/ispell.el (ispell-minor-mode):
9006 * textmodes/nroff-mode.el (nroff-electric-mode):
9007 * textmodes/paragraphs.el (use-hard-newlines):
9008 * textmodes/refill.el (refill-mode):
9009 * textmodes/reftex.el (reftex-mode):
9010 * textmodes/rst.el (rst-minor-mode):
9011 * textmodes/sgml-mode.el (html-autoview-mode)
9012 (sgml-electric-tag-pair-mode):
9013 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9014 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9015 * emulation/crisp.el (crisp-mode):
9016 * emacs-lisp/eldoc.el (eldoc-mode):
9017 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9018 minor mode behavior.
9019
aa42ab43
JL
90202011-10-19 Juri Linkov <juri@jurta.org>
9021
9022 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9023 the list of hard-coded chars with escape-glyph face.
9024
89400f1d
SM
90252011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9028
305c07f6
MA
90292011-10-19 Michael Albinus <michael.albinus@gmx.de>
9030
9031 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9032 running process.
9033
13754b54
GM
90342011-10-19 Glenn Morris <rgm@gnu.org>
9035
9036 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9037 Ignore ignored files. (Bug#9726)
9038
06e21633
CY
90392011-10-19 Chong Yidong <cyd@gnu.org>
9040
9041 Doc fix for minor modes, stating that an omitted argument enables
9042 the mode unconditionally when called from Lisp.
9043
9044 * abbrev.el (abbrev-mode):
9045 * allout.el (allout-mode):
9046 * autoinsert.el (auto-insert-mode):
9047 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9048 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9049 (global-auto-revert-mode):
9050 * battery.el (display-battery-mode):
9051 * composite.el (global-auto-composition-mode)
9052 (auto-composition-mode):
9053 * delsel.el (delete-selection-mode):
9054 * desktop.el (desktop-save-mode):
9055 * dired-x.el (dired-omit-mode):
9056 * dirtrack.el (dirtrack-mode):
9057 * doc-view.el (doc-view-minor-mode):
9058 * double.el (double-mode):
9059 * electric.el (electric-indent-mode, electric-pair-mode):
9060 * emacs-lock.el (emacs-lock-mode):
9061 * epa-hook.el (auto-encryption-mode):
9062 * follow.el (follow-mode):
9063 * font-core.el (font-lock-mode):
9064 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9065 * help.el (temp-buffer-resize-mode):
9066 * hilit-chg.el (highlight-changes-mode)
9067 (highlight-changes-visible-mode):
9068 * hi-lock.el (hi-lock-mode):
9069 * hl-line.el (hl-line-mode, global-hl-line-mode):
9070 * icomplete.el (icomplete-mode):
9071 * ido.el (ido-everywhere):
9072 * image-file.el (auto-image-file-mode):
9073 * image-mode.el (image-minor-mode):
9074 * iswitchb.el (iswitchb-mode):
9075 * jka-cmpr-hook.el (auto-compression-mode):
9076 * linum.el (linum-mode):
9077 * longlines.el (longlines-mode):
9078 * master.el (master-mode):
9079 * mb-depth.el (minibuffer-depth-indicate-mode):
9080 * menu-bar.el (menu-bar-mode):
9081 * minibuf-eldef.el (minibuffer-electric-default-mode):
9082 * mouse-sel.el (mouse-sel-mode):
9083 * msb.el (msb-mode):
9084 * mwheel.el (mouse-wheel-mode):
9085 * outline.el (outline-minor-mode):
9086 * paren.el (show-paren-mode):
9087 * recentf.el (recentf-mode):
9088 * reveal.el (reveal-mode, global-reveal-mode):
9089 * rfn-eshadow.el (file-name-shadow-mode):
9090 * ruler-mode.el (ruler-mode):
9091 * savehist.el (savehist-mode):
9092 * scroll-all.el (scroll-all-mode):
9093 * scroll-bar.el (scroll-bar-mode):
9094 * server.el (server-mode):
9095 * shell.el (shell-dirtrack-mode):
9096 * simple.el (auto-fill-mode, transient-mark-mode)
9097 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9098 (line-number-mode, column-number-mode, size-indication-mode)
9099 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9100 * strokes.el (strokes-mode):
9101 * time.el (display-time-mode):
9102 * t-mouse.el (gpm-mouse-mode):
9103 * tool-bar.el (tool-bar-mode):
9104 * tooltip.el (tooltip-mode):
9105 * type-break.el (type-break-mode-line-message-mode)
9106 (type-break-query-mode):
9107 * view.el (view-mode):
9108 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9109 (global-whitespace-mode, global-whitespace-newline-mode):
9110 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9111
a3839de2
SM
9112 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9113 Fix autogenerated docstring.
06e21633 9114
5214e501
JL
91152011-10-19 Juri Linkov <juri@jurta.org>
9116
9117 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9118 by checking environment variables "DESKTOP_SESSION" and
9119 "XDG_CURRENT_DESKTOP". (Bug#9779)
9120
195f8db9
JL
91212011-10-19 Juri Linkov <juri@jurta.org>
9122
9123 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9124 (browse-url-chromium-program, browse-url-chromium-arguments):
9125 New defcustoms.
9126 (browse-url-default-browser): Check for `browse-url-chromium' and
9127 call `browse-url-chromium-program'.
9128 (browse-url-chromium): New command. (Bug#9779)
9129
343a34ff
JB
91302011-10-18 Juanma Barranquero <lekktu@gmail.com>
9131
9132 * facemenu.el (list-colors-duplicates): On Windows, detect more
9133 duplicates by assuming that only colors matching "^System" are
9134 special "system colors". (Bug#9722)
9135
6978a151
SM
91362011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9139 to distinguish the author from the committer.
9140
6a80b297
MA
91412011-10-18 Michael Albinus <michael.albinus@gmx.de>
9142
9143 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9144
b31a5677
JK
91452011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9146
9147 * international/mule.el (sgml-html-meta-auto-coding-function):
9148 Add support for detecting encoding in HTML5 specified only as
9149 <meta charset="UTF-8">. Implementation just makes http-equiv and
9150 content-type parts from HTML4 encoding string optional. (Bug#9716)
9151
80c6d77f
GM
91522011-10-18 Glenn Morris <rgm@gnu.org>
9153
9154 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9155
08b0fee8
CY
91562011-10-18 Chong Yidong <cyd@gnu.org>
9157
9158 * faces.el (cursor): Doc fix.
9159
67e729a5
CY
91602011-10-17 Chong Yidong <cyd@gnu.org>
9161
9162 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9163
343a34ff 91642011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9165
9166 * dirtrack.el (dirtrack): Support shell buffers with path
9167 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9168
0bc06380
TZ
91692011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9170
9171 * json.el: Bump version to 1.3 and note change in History.
9172 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9173
8b79f3e0
SM
91742011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9175
5a7c536b
SM
9176 * comint.el (comint-insert-input, comint-send-input)
9177 (comint-get-old-input-default, comint-backward-matching-input)
9178 (comint-next-prompt): Use nil instead of `input' for field property of
9179 past user input (bug#114).
9180
96a8a0df
SM
9181 * minibuffer.el (completion--replace): Inherit surrounding properties
9182 (bug#114).
9183 (minibuffer-complete-and-exit): Use it.
9184
8b79f3e0
SM
9185 * comint.el (comint--table-subvert): Quote the all-completions output
9186 (bug#9160).
9187
b8f7ff0d
MR
91882011-10-17 Martin Rudalics <rudalics@gmx.at>
9189
8b79f3e0 9190 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9191
b8f7ff0d 9192 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9193 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9194 entries and separate them from frame entries.
9195
c235b555
GM
91962011-10-15 Glenn Morris <rgm@gnu.org>
9197
9198 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9199 Doc fixes.
9200
6bbfa6e1
CY
92012011-10-15 Chong Yidong <cyd@stupidchicken.com>
9202
8b79f3e0
SM
9203 * net/network-stream.el (network-stream-open-starttls):
9204 Improve detection of failure due to lack of TLS support.
ec5c990d 9205
6bbfa6e1
CY
9206 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9207 putting the input text in front and in bold.
9208
98488977
SM
92092011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9210
3d1337be
SM
9211 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9212
ee0b45e4
SM
9213 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9214 empty buffer.
9215
98488977
SM
9216 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9217 unread-command-events rather than pushing yet-another event.
9218
186f4720
EZ
92192011-10-14 Eli Zaretskii <eliz@gnu.org>
9220
9221 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9222 the explanation of the possible choices. Make the options passed
9223 to completing-read shorter.
9224
8b7a997c
AM
92252011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9226
9227 * textmodes/flyspell.el (flyspell-large-region): Make sure
9228 extended character mode is used if defined (Bug#1339).
9229
12587bbb
EZ
92302011-10-13 Eli Zaretskii <eliz@gnu.org>
9231
9232 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9233 character info for LRE, LRO, RLE, and RLO characters by appending
9234 an invisible PDF.
12587bbb 9235
bad41229
SM
92362011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9237
9238 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9239 even in case of error; add debug spec; simplify data flow.
9240 (with-timeout-handler): Remove.
9241
28dbc92f
MA
92422011-10-12 Michael Albinus <michael.albinus@gmx.de>
9243
9244 Fix Bug#6019, Bug#9315.
9245
9246 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9247 complete `buffer-file-name', the local file name part could look
9248 remotely (for example on VMS).
9249
9250 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9251 `tramp-run-real-handler'.
9252 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9253 already quoted by '"'.
9254
9255 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9256 Let `file-name-handler-alist' be nil, the local file name part
9257 could look remotely (for example on VMS).
9258
e1b0b23a
SM
92592011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9262 from here...
9263 (flyspell-post-command-hook): ...to here.
9264
a120bde9
SM
92652011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9266
9267 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9268 if not needed.
9269 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9270 using completion. Protect against "slow" callers.
9271 Remove the "message hack".
9272
7ce7717b
JL
92732011-10-11 Juri Linkov <juri@jurta.org>
9274
9275 * isearch.el (isearch-lazy-highlight-word): New variable.
9276 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9277 Use it. (Bug#9727)
9278
c02ee9d6
GM
92792011-10-11 Glenn Morris <rgm@gnu.org>
9280
9281 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9282 like f90-previous-statement does.
9283
93e616fd 92842011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9285
1f190e73 9286 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9287 only in interactive use, to avoid error.
9288
af7b6078
SM
92892011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * minibuffer.el (completion-file-name-table): Fix last change,
9292 i.e. ignore normal errors but not the other ones.
9293
0563dae9
MR
92942011-10-10 Martin Rudalics <rudalics@gmx.at>
9295
9296 * window.el (special-display-buffer-names)
9297 (special-display-regexps): Remove some remnants of earlier
9298 changes from doc-strings.
366ca7f3
MR
9299 (quit-windows-on): New function.
9300
9301 * vc/vc.el (vc-revert, vc-rollback):
9302 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9303 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9304 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9305
49677495
MR
93062011-10-09 Martin Rudalics <rudalics@gmx.at>
9307
9308 * window.el (frame-auto-hide-function): Add version tag.
9309 (Bug#9699)
9310
56f2d1e1
MA
93112011-10-09 Michael Albinus <michael.albinus@gmx.de>
9312
9313 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9314 condition.
9315
112a6592
LL
93162011-10-09 Leo Liu <sdl.web@gmail.com>
9317
9318 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9319 (Bug#9701)
9320
0812589b
GM
93212011-10-08 Glenn Morris <rgm@gnu.org>
9322
9323 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9324 before the first code statement zero indent. (Bug#9690)
9325
b2b0776e
CY
93262011-10-08 Chong Yidong <cyd@stupidchicken.com>
9327
9328 * simple.el (count-words-region): Always count in the region.
9329 Report the number of lines and characters too.
9330 (count-words): New command, which counts in the buffer if the
9331 region is inactive, as count-words-region used to.
9332 (count-words--message): New function. Handle plurals.
9333 (count-lines-region): Make it an alias for count-words-region.
9334
9335 * bindings.el (esc-map): Replace count-lines-region with
9336 count-words-region.
9337
c557cd6b
MR
93382011-10-08 Martin Rudalics <rudalics@gmx.at>
9339
9340 * window.el (window--delete): Delete dedicated frame
9341 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9342 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9343
61a57ef4 93442011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9345
3a7d293b 9346 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9347
c3833279
CY
93482011-10-07 Chong Yidong <cyd@stupidchicken.com>
9349
9350 * bindings.el ([M-left],[M-right]): Bind to left-word and
9351 right-word respectively.
9352
21ce8245
GM
93532011-10-07 Glenn Morris <rgm@gnu.org>
9354
9355 * cus-start.el (debug-on-quit): Fix custom type.
9356
6d823bb2
LMI
93572011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9358
0181e193
LMI
9359 * subr.el (define-key-after): Clarify that the function is not
9360 useful for non-menu keymaps.
9361
6d823bb2
LMI
9362 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9363
8e3459ce 93642011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9365
21ce8245 9366 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9367 in current minibuffer (Fix bug with recursive minibuffers).
9368
a1c2d21e
CY
93692011-10-06 Chong Yidong <cyd@stupidchicken.com>
9370
9371 * progmodes/gdb-mi.el (gdb): Doc fix.
9372
5a4cf282
MR
93732011-10-05 Martin Rudalics <rudalics@gmx.at>
9374
9375 * window.el (frame-auto-hide-function): New option replacing
9376 frame-auto-delete. Suggested by Stefan Monnier.
9377 (window--delete): Call frame-auto-hide-function instead of
9378 investigating frame-auto-delete.
c96111ea
MR
9379 (window-point-1, set-window-point-1): New functions.
9380 (window-in-direction, record-window-buffer, window-state-get-1)
9381 (display-buffer-record-window): Use window-point-1 instead of
9382 window-point.
9383 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9384
9854542e
SM
93852011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9388
8943cfb0
GM
93892011-10-05 Glenn Morris <rgm@gnu.org>
9390
9391 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9392 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9393
647ab967
LL
93942011-10-05 Leo Liu <sdl.web@gmail.com>
9395
9396 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9397 works with buffer object.
9398
3ddfbced
SM
93992011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9400
9401 * mpc.el (mpc-tool-bar-map): Add labels.
9402
bdfa5dd2
GM
94032011-10-04 Glenn Morris <rgm@gnu.org>
9404
9405 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9406
0e2070b5
MR
94072011-10-04 Martin Rudalics <rudalics@gmx.at>
9408
9409 * window.el (window--delete): New function.
9410 (frame-auto-delete): Resuscitate option.
9411 (bury-buffer, replace-buffer-in-windows)
9412 (quit-window): Rewrite using window--delete.
9413 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9414 Pass display-buffer-mark-dedicated to window--display-buffer-2
9415 (Bug#9639).
9416
3dc61a09
SM
94172011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9418
915a9b64
SM
9419 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9420 returns a list (bug#9554). Add remote file name completion.
9421 * comint.el (comint--table-subvert): Curry and get quote&unquote
9422 functions as arguments.
9423 (comint--complete-file-name-data): Adjust call accordingly.
9424 * pcomplete.el (pcomplete--table-subvert): Remove.
9425 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9426
3dc61a09
SM
9427 * minibuffer.el (completion-table-case-fold): Use currying.
9428 (completion--styles-type, completion--cycling-threshold-type):
9429 New constants.
9430 (completion-styles, completion-category-overrides)
9431 (completion-cycle-threshold): Use them.
9432 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9433 completion-table-case-fold.
9434
8ea0a993
SB
94352011-10-03 Stephen Berman <stephen.berman@gmx.net>
9436
9437 * minibuffer.el (completion-category-overrides): Fix type of styles
9438 and add more user friendly tags (bug#9660).
9439
8c24b7f6
SM
94402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9441
9442 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9443 (mule-input-method-string): New widget.
9444 (default-input-method, language-info-custom-alist): Use it.
9445
428fe61a
SM
94462011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9447
32c1fffd
SM
9448 * pcomplete.el: Require comint.
9449 (pcomplete--common-suffix): Remove.
9450 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9451 (pcomplete--table-subvert): Sync with comint--table-subvert.
9452 (pcomplete--entries): Use comint-completion-file-name-table.
9453 * comint.el (comint-unquote-filename): Simplify.
9454 (comint-completion-file-name-table): New function (bug#9616).
9455 (comint--complete-file-name-data): Use it.
9456
428fe61a
SM
9457 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9458 (pcmpl-gnu-tar-buffer): Remove.
9459 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9460 around. Make sure pcomplete-suffix-list is only changed temporarily.
9461 Don't look inside the tar's file if it's too large.
428fe61a 9462
04c52e2f
CY
94632011-10-01 Chong Yidong <cyd@stupidchicken.com>
9464
ce3cefcc
CY
9465 * cus-edit.el (custom-mode-map):
9466 * epa.el (epa-key-list-mode-map):
9467 * man.el (Man-mode-map):
9468 * startup.el (splash-screen-keymap):
9469 * simple.el (special-mode-map): Use scroll-up-command and
9470 scroll-down-command.
9471
9472 * progmodes/idlw-help.el (idlwave-help-mode-map):
9473 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9474 * net/newst-plainview.el (newsticker-mode-map):
9475 * emulation/ws-mode.el (wordstar-mode-map):
9476 * emulation/vi.el (vi-com-map):
9477 * calc/calc-graph.el (calc-graph-show-dumb):
9478 * term/sun.el (terminal-init-sun):
9479 * term/ns-win.el (global-map):
9480 * progmodes/grep.el (grep-mode-map):
9481 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9482 * mail/rmail.el (rmail-mode-map):
9483 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9484
04c52e2f
CY
9485 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9486 custom-safe-themes as special.
9487
79adf8c8
JD
94882011-10-01 Julien Danjou <julien@danjou.info>
9489
9490 * notifications.el (notifications-notify): Fix docstring.
9491
63bd50d3
PS
94922011-10-01 Per Starbäck <per@starback.se>
9493
9494 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9495
199e4c7e
MR
94962011-09-30 Martin Rudalics <rudalics@gmx.at>
9497
9498 * startup.el (command-line-1): Fix last fix by inserting
9499 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9500 (Bug#9605) and (Bug#9636)
199e4c7e 9501
fe5f08dd
EZ
95022011-09-29 Eli Zaretskii <eliz@gnu.org>
9503
9504 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9505 window is hscrolled, move by logical lines. (Bug#9607)
9506 (line-move-visual): Update the doc string to the above effect.
9507
b5516bbd
MR
95082011-09-29 Martin Rudalics <rudalics@gmx.at>
9509
ccee00c0
MR
9510 * window.el (display-buffer-record-window): When WINDOW is the
9511 selected window use `point' instead of `window-point'. (Bug#9626)
9512
b5516bbd
MR
9513 * startup.el (command-line-1): Use insert-before-markers when
9514 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9515
b5516bbd
MR
9516 * help.el (help-window): Remove variable.
9517
52aa0014
GM
95182011-09-29 Glenn Morris <rgm@gnu.org>
9519
9520 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9521
df9a7357
JB
95222011-09-29 Juanma Barranquero <lekktu@gmail.com>
9523
9524 * descr-text.el (describe-char-categories): Accept category
9525 descriptions more than one line long.
9526
a8406c20
SM
95272011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9528
88d9610c
SM
9529 * simple.el (delete-trailing-whitespace): Fix last change.
9530
a5daf810
SM
9531 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9532 Don't confuse "y => 3" as the beginning of a `y' operation.
9533
a8406c20
SM
9534 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9535 object has more than 4 slots (bug#9613).
9536
a239d4e9
JB
95372011-09-28 Juanma Barranquero <lekktu@gmail.com>
9538
9539 * subr.el (with-output-to-temp-buffer):
9540 * net/quickurl.el (quickurl, quickurl-browse-url):
9541 Fix typos in docstrings.
9542
693fbdb6
EZ
95432011-09-27 Eli Zaretskii <eliz@gnu.org>
9544
9545 * minibuffer.el (completion-styles)
9546 (completion-category-overrides): Cross reference each other in doc
9547 strings.
9548
8b457e28
GM
95492011-09-27 Glenn Morris <rgm@gnu.org>
9550
9551 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9552 to split-string. (Bug#9606)
9553
85a16208
LMI
95542011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9555
9556 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9557 (bug#9615).
9558
502f9ebd
CY
95592011-09-27 Chong Yidong <cyd@stupidchicken.com>
9560
9561 * emacs-lisp/package.el (list-packages): Fix echo area message.
9562
7690bdea
LL
95632011-09-27 Leo Liu <sdl.web@gmail.com>
9564
9565 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9566
e2ee6f30
MA
95672011-09-25 Michael Albinus <michael.albinus@gmx.de>
9568
9569 * net/dbus.el (dbus-unregister-object): Don't release services for
9570 registered signals. (Bug#9581)
9571
f3f98342
TZ
95722011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9573
9574 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9575 function that picks between cfengine 2 and 3 support
9576 automatically. Update docs accordingly.
9577
dd7aa8dd
KH
95782011-09-22 Kenichi Handa <handa@m17n.org>
9579
9580 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9581 ZERO.
9582 (indian-itrans-v5-table-for-tamil): New variable.
9583 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9584
3f2b07f8
KM
95852011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9586
9587 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9588 that's true if the current command involved collapsing of text.
9589 It's reset to false at the beginning of the next command.
9590 (allout-post-command-business): Move the cursor to the beginning
9591 of entry if the cursor is hidden and collapsing activity just
9592 happened.
9593
371d6a61
CY
95942011-09-24 Chong Yidong <cyd@stupidchicken.com>
9595
9596 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9597 tracking (Bug#9541).
9598
2ac2721a
UJ
95992011-09-24 Ulf Jasper <ulf.jasper@web.de>
9600
9601 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9602 (newsticker-show-news): Automatically load html rendering package
9603 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9604 because w3m-fill-column is let-bound" and the error "Symbol's value
9605 as variable is void: w3m-fill-column".
2ac2721a 9606
fac7ae53
MA
96072011-09-24 Michael Albinus <michael.albinus@gmx.de>
9608
9609 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9610 Release services only if they are defined. (Bug#9581)
9611
e08b633b
RS
96122011-09-23 Richard Stallman <rms@gnu.org>
9613
e488d29c
RS
9614 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9615 distinguish start of paragraph from start of its text.
9616
19c38752
RS
9617 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9618
e08b633b
RS
9619 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9620 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9621 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9622
0a39f27e
AS
96232011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9624
9625 * international/mule-diag.el (mule-diag): Insert a newline after
9626 each fontset description.
9627
db4e950d
SM
96282011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 * simple.el (delete-trailing-whitespace):
9631 Document last change; simplify.
9632
eca3f3ea
PW
96332011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9634
d68e189a
PW
9635 * simple.el (delete-trailing-whitespace): Also delete
9636 extra newlines at the end of the buffer.
9637
eca3f3ea
PW
9638 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9639 (picture-newline): Use forward-line so as to ignore fields.
9640
01c157cc
SM
96412011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9642
9643 * subr.el (with-wrapper-hook): Fix edebug spec.
9644
022de23e
LMI
96452011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9646
9647 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9648 (bug#4538).
9649
91683089
MA
96502011-09-23 Michael Albinus <michael.albinus@gmx.de>
9651
eca3f3ea
PW
9652 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9653 Fix nasty bug using wrong cached values.
91683089 9654
5bdd6fa4
AM
96552011-09-23 Alan Mackenzie <acm@muc.de>
9656
9657 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9658
97adfb97
CY
96592011-09-23 Chong Yidong <cyd@stupidchicken.com>
9660
9661 * window.el (pop-to-buffer): Ensure right window is selected if we
9662 chose another frame.
9663
d4ef2b50
EZ
96642011-09-22 Eli Zaretskii <eliz@gnu.org>
9665
9666 * simple.el (what-cursor-position): Use get-char-property-change
9667 and next-single-char-property-change, to be able to show display
9668 properties that come from overlays as well as text properties.
9669
72258fe5
CY
96702011-09-22 Chong Yidong <cyd@stupidchicken.com>
9671
9672 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9673
9674 * cmuscheme.el (run-scheme, switch-to-scheme):
9675 * cus-edit.el (customize-group, custom-buffer-create)
9676 (customize-browse):
9677 * info.el (info):
9678 * shell.el (shell):
9679 * mail/sendmail.el (mail):
9680 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9681
8f098516
RS
96822011-09-22 Richard Stallman <rms@gnu.org>
9683
9684 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9685 move back only to line beg, don't move back over blank lines.
9686
e74f1bb6
MA
96872011-09-22 Michael Albinus <michael.albinus@gmx.de>
9688
9689 * files.el (copy-directory): Set directory attributes only in case
9690 they could be retrieved from the source directory. (Bug#9565)
9691
bfeef8b6
DK
96922011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9693
9694 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9695 (hs-find-block-beginning, hs-hide-level-recursive):
9696 Ignore strings as well as comments. (Bug#9502)
9697
7e423bb8
AS
96982011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9699
9700 * progmodes/sql.el (sql-comint-postgres):
9701 Convert port number to a string. (Bug#9566)
9702
b4d72fcf
MR
97032011-09-22 Martin Rudalics <rudalics@gmx.at>
9704
9705 * window.el (quit-window): Undedicate window when switching to
9706 previous buffer. Reported by Thierry Volpiatto
9707 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9708 (special-display-popup-frame): When popping up a new frame reset
9709 its previous buffers to nil. Simplify code.
b4d72fcf 9710
a7b88dc6
MA
97112011-09-21 Michael Albinus <michael.albinus@gmx.de>
9712
9713 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9714 and process filter, as done also in `shell-command'.
9715
cf4eacfd
MR
97162011-09-21 Martin Rudalics <rudalics@gmx.at>
9717
eca3f3ea 9718 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9719 Call set-window-start with NOFORCE argument t.
9720 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9721 (quit-window): Reword doc-string. Handle new format of
9722 quit-restore parameter. Don't delete window if it has a
9723 previous buffer we can show instead of the present one.
9724 (display-buffer-record-window): Rewrite using a new format for
9725 the quit-restore window parameter
9726 (special-display-popup-frame, display-buffer-same-window)
9727 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9728 (display-buffer-pop-up-window, display-buffer-use-some-window):
9729 Adapt symbol passed to display-buffer-record-window.
9730 * help.el (help-window-setup): Handle new format of quit-restore
9731 parameter.
9732
8d28cb95
SM
97332011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9734
94ab793f
SM
9735 * faces.el (face-list): Fix docstring (bug#9564).
9736
8d28cb95
SM
9737 * window.el (display-buffer--action-function-custom-type):
9738 Don't include internal functions in the Custom interface.
9739
3820edeb
JL
97402011-09-20 Juri Linkov <juri@jurta.org>
9741
9742 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9743 (Info-forward-node, Info-backward-node, Info-next-preorder)
9744 (Info-last-preorder): Use it. (Bug#9528)
9745
5147931d
JL
97462011-09-20 Juri Linkov <juri@jurta.org>
9747
9748 * info.el (Info-last-preorder): Visit last menu item only when
9749 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9750
cf499a1a
JD
97512011-09-20 Julien Danjou <julien@danjou.info>
9752
9753 * password-cache.el (password-cache-remove): Remove entries even if the
9754 value is nil, so that password with a nil value (negative caching) is
9755 possible to invalidate.
9756
f84e2fe2
LM
97572011-09-20 Lawrence Mitchell <wence@gmx.li>
9758
9759 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9760 all whitespace around breakpoint. (Bug#9553)
9761 (f90-find-breakpoint): Only break at whitespace inside a comment.
9762
78054a46
SM
97632011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9764
9765 * minibuffer.el (completion-file-name-table): Keep track of errors.
9766 (completion-table-with-predicate): Handle the case where pred1 is nil.
9767 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9768
345083b2
SM
97692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9770
e24e27be
SM
9771 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9772 (debugger-return-value): Signal an error if the debugging context does
9773 not await any return value.
9774
345083b2
SM
9775 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9776 * image-mode.el (image-toggle-display-text)
9777 (image-toggle-display-image): Stay away from evil `intangible'.
9778
08d355e3
LL
97792011-09-19 Leo Liu <sdl.web@gmail.com>
9780
9781 * replace.el (occur-revert-arguments): Make it permanent-local.
9782 (occur-mode): Don't call font-lock-defontify.
9783
f01da43f
CY
97842011-09-19 Chong Yidong <cyd@stupidchicken.com>
9785
9786 * net/ldap.el (ldap-search-internal): Don't push empty search
9787 result (Bug#9508).
9788
b6072fa6
SM
97892011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9792
443d6696
MA
97932011-09-19 Michael Albinus <michael.albinus@gmx.de>
9794
9795 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9796 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9797
7cc6e154
JL
97982011-09-18 Juri Linkov <juri@jurta.org>
9799
9800 * buff-menu.el (Buffer-menu-mode-map):
9801 * dired.el (dired-mode-map):
9802 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9803 (lisp-interaction-mode-map):
9804 * emacs-lisp/package.el (package-menu-mode-map):
9805 * epa.el (epa-key-list-mode-map):
9806 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9807 (menu-bar-options-menu):
9808 * outline.el (outline-mode-menu-bar-map):
9809 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9810 * vc/vc-dir.el (vc-dir-menu-map):
9811 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9812 Capitalize non-function content words in menu item strings.
9813
9814 * dired.el (dired-mode-map): Add menu item for
9815 `image-dired-dired-toggle-marked-thumbs'.
9816
80302a81
JL
98172011-09-18 Juri Linkov <juri@jurta.org>
9818
9819 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9820 to `isearch-case-fold-search' and restore its original value
9821 after the `isearch-mode' call.
9822
46c5cf66
JL
98232011-09-18 Juri Linkov <juri@jurta.org>
9824
9825 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9826 because `zgrep' returns 1 for successful matches (bug#9226).
9827
d18b513b
JL
98282011-09-18 Juri Linkov <juri@jurta.org>
9829
9830 * info.el (Info-extract-menu-node-name): Check the second match
9831 for empty string (second test-case of bug#9528).
9832 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9833 intermediate nodes to the history (first test-case of bug#9528).
9834
72753f87
JL
98352011-09-18 Juri Linkov <juri@jurta.org>
9836
9837 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9838 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9839
c9384295
JL
98402011-09-18 Juri Linkov <juri@jurta.org>
9841
1154d12e
JB
9842 * info.el (Info-file-supports-index-cookies):
9843 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9844 outputs one more line for long file names (bug#4142).
c9384295 9845
d473dce8
CY
98462011-09-18 Chong Yidong <cyd@stupidchicken.com>
9847
9848 * newcomment.el (comment-normalize-vars): If prompting for
9849 comment-start, set comment-start-skip too (Bug#8424).
9850
2176854d
JB
98512011-09-18 Johan Bockgård <bojohan@gnu.org>
9852
9853 * icomplete.el: Fix previous fix of Bug#5849.
9854 (icomplete-mode): Don't set completion-show-inline-help.
9855 (icomplete-minibuffer-setup): Set completion-show-inline-help
9856 locally during icompletion.
9857
3aace4e4
CY
98582011-09-18 Chong Yidong <cyd@stupidchicken.com>
9859
c940224f
CY
9860 * woman.el (woman2-process-escapes): Don't delete unrecognized
9861 escapes (Bug#7843).
9862
3aace4e4
CY
9863 * files.el (inhibit-first-line-modes-regexps): Add image files.
9864 (hack-local-variables-prop-line): Return nil for malformed
9865 prop-lines (Bug#9044).
9866
710dec63
MA
98672011-09-18 Michael Albinus <michael.albinus@gmx.de>
9868
9869 * net/tramp.el (top): Don't require 'shell.
9870 (tramp-methods): Fix docstring.
9871 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9872 Return complete remote file name. Handle "smb" case.
9873 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9874 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9875
9876 * net/tramp-compat.el (top): Require 'shell.
9877
9878 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9879 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9880 `tramp-current-host'.
9881 (tramp-get-remote-tmpdir): Remove.
9882
9883 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9884 `tramp-tmpdir' entries.
9885 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9886 (tramp-smb-handle-file-attributes): Ignore errors.
9887 (tramp-smb-wait-for-output): Check also for process end.
9888
5d5ac8ec
LMI
98892011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9890
9891 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9892 when sending QUIT (bug#9312).
9893
8c0f49f0
CY
98942011-09-17 Chong Yidong <cyd@stupidchicken.com>
9895
9896 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9897 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9898 occur-mode-display-occurrence.
9899 (occur-edit-mode): Add usage message.
9900 (occur-cease-edit): New command.
9901 (occur-after-change-function): Use text properties to find the
9902 position of the prefix text.
9903 (occur-engine): Set stickiness of prefix text properties.
9904
8f1383f7
GM
99052011-09-17 Glenn Morris <rgm@gnu.org>
9906
9907 * progmodes/etags.el (complete-tag):
9908 Fix call to completion-in-region. (Bug#9526)
9909
744ba0e3
JL
99102011-09-17 Juri Linkov <juri@jurta.org>
9911
9912 * textmodes/ispell.el (ispell-word): Add to the error message
9913 the word, ispell program name and current dictionary (bug#9121).
9914 (ispell-tex-arg-end): Capitalize "error" in the error message.
9915
d9bbf400
AS
99162011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9917
9918 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9919 check. (Bug#4251)
9920
8da11505
JL
99212011-09-17 Juri Linkov <juri@jurta.org>
9922
9923 * window.el (window-safe-min-height, window-safe-min-width):
9924 Fix typos (followup to bug#9522).
9925
a91adc7e
SJ
99262011-09-17 Sven Joachim <svenjoac@gmx.de>
9927
9928 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9929
064f328a
EZ
99302011-09-16 Eli Zaretskii <eliz@gnu.org>
9931
9932 * simple.el (line-move): If goal-column is set, move by logical
9933 lines, not by display lines. (Bug#971)
9934 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9935 to reflect the above change.
9936
e69df516
SM
99372011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * image.el (imagemagick-register-types): Use regexp-opt.
9940
cbb0f9ab
CY
99412011-09-15 Chong Yidong <cyd@stupidchicken.com>
9942
9943 * window.el (display-buffer-base-action): Rename from
9944 display-buffer-default-action. Make default value empty.
9945 (display-buffer-overriding-action): Convert to defvar.
9946 (display-buffer-fallback-action): New var.
9947
25322144
CY
99482011-09-15 Chong Yidong <cyd@stupidchicken.com>
9949
9950 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9951 declaration.
9952 (package--add-to-archive-contents): If there is a duplicate entry
9953 with an older version, remove it.
9954 (package-menu-mark-delete, package-menu-mark-install)
9955 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9956 (package-menu-mark-obsolete-for-deletion):
9957 Use package-menu-get-status instead of a regexp search.
25322144
CY
9958 (package-menu-get-status): Use tabulated-list-entry.
9959 (package-menu-mark-upgrades): New command.
d770725a 9960 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9961 (package-menu-execute): Do installation before deletion.
9962 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9963 instead of checking major-mode.
9964 (package-menu--find-upgrades): New function.
9965
7520339c
LMI
99662011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9967
9968 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9969 passwords in the log buffer.
65a046c4
LMI
9970 (smtpmail-process-filter): Update the process marker so that the
9971 "broken by peer" status message is inserted in the right place.
7520339c 9972
d3c30954
SM
99732011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9974
3fe48822
SM
9975 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9976 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9977 bibtex-completion-at-point-function.
9978 (bibtex-completion-at-point-function): Use them.
9979
1b8b3954
SM
9980 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9981
d3c30954
SM
9982 * mpc.el (mpc-constraints-tag-lookup): New function.
9983 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9984 also to browser "album|playlist".
9985
72779976
JL
99862011-09-14 Juri Linkov <juri@jurta.org>
9987
9988 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9989 (isearch-edit-string): Use length of `isearch-string' when
9990 `isearch-fail-pos' returns nil.
9991 (isearch-message): Remove duplicate code and call
9992 `isearch-fail-pos' with arg `t'.
9993
a0bf2bcd
CY
99942011-09-14 Chong Yidong <cyd@stupidchicken.com>
9995
17bb0a2d
CY
9996 * replace.el (occur-mode-goto-occurrence): Don't force using other
9997 window (Bug#9499).
9998
a0bf2bcd
CY
9999 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10000
f678e0b6
MR
100012011-09-14 Martin Rudalics <rudalics@gmx.at>
10002
10003 * window.el (display-buffer-window): Remove.
10004 (display-buffer-record-window): Use help-setup window parameter
10005 instead of variable display-buffer-window.
10006 (display-buffer-function, special-display-buffer-names)
10007 (special-display-function): Mention help-setup parameter instead
10008 of display-buffer-window in doc-string.
d3c30954
SM
10009 * help.el (help-window-setup): New argument help-window.
10010 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10011 Reword some messages.
10012 (with-help-window): Pass window used for displaying the buffer
10013 to help-window-setup. Don't set display-buffer-window.
10014
8e39b2e8
GM
100152011-09-13 Glenn Morris <rgm@gnu.org>
10016
10017 * emacs-lisp/debug.el (debugger-make-xrefs):
10018 Preserve point. (Bug#9462)
10019
85e9c04b
CY
100202011-09-13 Chong Yidong <cyd@stupidchicken.com>
10021
10022 * window.el (window-deletable-p): Use next-frame.
10023
1b36ed6a
MR
100242011-09-13 Martin Rudalics <rudalics@gmx.at>
10025
10026 * window.el (window-auto-delete): Remove.
10027 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10028 dedication and previous buffers.
1b36ed6a
MR
10029 (switch-to-prev-buffer): Don't delete window.
10030 (delete-windows-on): Delete a window's frame if and only if the
10031 window is dedicated.
10032 (replace-buffer-in-windows): Delete buffer's window or frame if
10033 and only if window is dedicated.
10034 (quit-window): Handle quit-restore as before last change.
4d61f28d 10035 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10036
ef8ef9fb
CY
100372011-09-13 Chong Yidong <cyd@stupidchicken.com>
10038
10039 * window.el (window-deletable-p): Never delete the last frame on a
10040 given terminal.
10041
b2cba41e
GM
100422011-09-13 Glenn Morris <rgm@gnu.org>
10043
10044 * help.el (describe-key-briefly): Copy previous standard-output change.
10045
51553db6 100462011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10047
10048 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10049
b7556719
GM
100502011-09-13 Glenn Morris <rgm@gnu.org>
10051
10052 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10053 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10054
64b51947
CY
100552011-09-12 Chong Yidong <cyd@stupidchicken.com>
10056
10057 * dired-aux.el (dired-mark-read-string): Don't return default
10058 value on empty input (Bug#9361).
10059 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10060 Omit initial minibuffer contents.
10061 (dired-do-chmod): Signal an error on empty input.
10062 (dired-mark-read-string): Don't return default on empty input.
10063
10064 * files.el (file-modes-symbolic-to-number): Doc fix.
10065
393a301e
SM
100662011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * international/mule-cmds.el (ucs-completions): Remove.
10069 (read-char-by-name): Use complete-with-action instead; add metadata.
10070
fa5660f9
CY
100712011-09-11 Chong Yidong <cyd@stupidchicken.com>
10072
10073 * window.el (display-buffer--action-function-custom-type)
10074 (display-buffer--action-custom-type): New vars.
10075 (display-buffer-alist, display-buffer-default-action)
10076 (display-buffer-overriding-action): Add defcustom types.
10077
4a592f66
CY
10078 * frame.el (delete-other-frames): Doc fix (Bug#276).
10079
73d56dbd
LMI
100802011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10081
10082 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10083
37ac18a3
CY
100842011-09-11 Chong Yidong <cyd@stupidchicken.com>
10085
10086 Change modes that used same-window-* vars to use switch-to-buffer.
10087
10088 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10089 Use switch-to-buffer.
10090
10091 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10092 (customize-browse, custom-buffer-create-other-window):
10093 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10094
10095 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10096 (Info-prev, Info-up, Info-speedbar-goto-node)
10097 (info-display-manual): Use switch-to-buffer.
10098 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10099
10100 * mail/sendmail.el (mail): Use switch-to-buffer.
10101 (mail-recover): Use switch-to-buffer-other-window.
10102
10103 * cmuscheme.el (run-scheme, switch-to-scheme):
10104 * ielm.el (ielm):
10105 * shell.el (shell):
10106 * net/rlogin.el (rlogin):
10107 * net/telnet.el (telnet, rsh):
10108 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10109
10195bd6
AS
101102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10111
10112 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10113
b322f63a
LMI
101142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10115
39d7fed6
LMI
10116 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10117 so don't mention it (bug#9301).
ba5a81f1 10118 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10119
ee0e9f11
LMI
10120 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10121 match `x', `w32' and `ns', like the manual says (bug#9029).
10122
0b1c89c1 10123 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10124 (process-kill-buffer-query-function): Mention the buffer name in
10125 the query.
0b1c89c1 10126
77549ea8
LMI
10127 * image-mode.el (image-next-line): The line parameter is mandatory
10128 (bug#9258).
10129
803ef892
LMI
10130 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10131 which can be useful (bug#9301).
10132
12980837
LMI
10133 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10134
91054f8f
LMI
10135 * subr.el (match-string): Mention that the current buffer should
10136 be the same as the search was done in (bug#9282).
10137
b322f63a
LMI
10138 * facemenu.el: Disable the remove-* commands if the mark isn't
10139 active (bug#9162).
10140
3199b96f
CY
101412011-09-10 Chong Yidong <cyd@stupidchicken.com>
10142
10143 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10144 of display-buffer.
10145 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10146
10147 * replace.el (occur-mode-goto-occurrence)
10148 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10149 and display-buffer.
10150
10151 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10152 display-buffer.
10153
10154 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10155 special-display and same-window variables.
10156 (mail-other-window): Use switch-to-buffer-other-window.
10157 (mail-other-frame): USe switch-to-buffer-other-frame.
10158
393a301e
SM
10159 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10160 Use display-buffer-other-frame.
3199b96f
CY
10161 (gdb-display-gdb-buffer): Use pop-to-buffer.
10162
10163 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10164
10165 * progmodes/python.el: Don't set same-window-buffer-names.
10166
10167 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10168
10169 * window.el (display-buffer-alist): Add *Python*.
10170
8319e0bf
CY
101712011-09-10 Chong Yidong <cyd@stupidchicken.com>
10172
10173 * window.el (display-buffer-alist): Add entry for buffers
10174 previously handled same-window-*.
10175 (display-buffer-alist, display-buffer-default-action)
10176 (display-buffer-overriding-action): Mark as risky.
10177 (display-buffer-alist): Document action function changes.
10178 (display-buffer--same-window-action)
10179 (display-buffer--other-frame-action): New variables.
10180 (switch-to-buffer, display-buffer-other-frame): Use them.
10181 (display-buffer): Rename reuse-frame entry to reusable-frames.
10182 (display-buffer-reuse-selected-window): Function deleted.
10183 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10184 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10185 (display-buffer-special): New function.
10186 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10187 display-buffer-reuse-or-pop-window. Split off special-display
10188 part into display-buffer-special.
10189 (display-buffer-use-some-window): Don't perform any special
10190 pop-up-frames handling.
10191 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10192 (display-buffer--maybe-same-window): Rename from
0d3ff375 10193 display-buffer-maybe-same-window.
8319e0bf 10194
919a69aa
CY
10195 * info.el: Don't set same-window-regexps.
10196 (info-setup): New function.
10197 (info-other-window, info): Call it.
10198
10199 * cus-edit.el: Don't set same-window-regexps.
10200 (customize-group): New argument.
10201 (customize-group-other-window): Use it.
10202 (customize-face, customize-face-other-window): Likewise.
10203 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10204
8319e0bf
CY
10205 * net/rlogin.el:
10206 * net/telnet.el:
10207 * progmodes/gud.el: Don't set same-window-regexps.
10208
10209 * cmuscheme.el:
10210 * ielm.el:
10211 * shell.el:
10212 * mail/sendmail.el:
10213 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10214
25173000
JL
102152011-09-10 Juri Linkov <juri@jurta.org>
10216
10217 * isearch.el (isearch-edit-string): Remove obsolete mention of
10218 `C-w' (`isearch-yank-word-or-char') from docstring.
10219 (isearch-query-replace): Fix typo in docstring (bug#9466).
10220
056e44ef
JL
102212011-09-10 Juri Linkov <juri@jurta.org>
10222
10223 * paren.el (show-paren-function): Don't show escaped parens.
10224 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10225
c3760c17
EZ
102262011-09-10 Eli Zaretskii <eliz@gnu.org>
10227
10228 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10229 (mm-default-file-encoding): Remove autoload forms, they are
10230 replaced with autoload cookies in mml.el and mm-encode.el.
10231 (mail-add-attachment): New command.
10232 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10233 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10234 the doc string.
10235 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10236
fece895e
RT
102372011-09-10 Reuben Thomas <rrt@sc3d.org>
10238
e69df516
SM
10239 * simple.el (count-words-region): Use buffer if there's no region
10240 (bug#9429).
fece895e 10241
5e68ce4a
JL
102422011-09-09 Juri Linkov <juri@jurta.org>
10243
10244 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10245 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10246 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10247
0a6b9622
AM
102482011-09-09 Alan Mackenzie <acm@muc.de>
10249
10250 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10251 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10252
14a29deb
EZ
102532011-09-09 Eli Zaretskii <eliz@gnu.org>
10254
10255 Fix for Savannah bug#9392.
10256 * simple.el (mail-encode-mml): New defvar.
10257
10258 * mail/rmail.el (mail-encode-mml): Add a defvar.
10259 (rmail-enable-mime-composing): Default to t.
10260 (rmail-forward): Use MIME method of forwarding only if both
10261 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10262 Set mail-encode-mml non-nil if the MIME method was used.
10263
10264 * mail/sendmail.el (mml-to-mime): Add autoload form.
10265 (mail-encode-mml): Add a defvar.
10266 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10267 to nil.
10268 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10269 message through mml-to-mime, and reset mail-encode-mml to nil.
10270
28c45130
GM
102712011-09-09 Glenn Morris <rgm@gnu.org>
10272
10273 * woman.el (woman-if-body): When processing an .el block,
10274 do not delete the next .el block as well. (Bug#9447)
69f4b618 10275 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10276
9b1c252e
MR
102772011-09-08 Martin Rudalics <rudalics@gmx.at>
10278
10279 * window.el (window-deletable-p): Make sure window is live before
10280 invoking window-prev-buffers.
10281
567457e3
LL
102822011-09-08 Leo Liu <sdl.web@gmail.com>
10283
10284 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10285
97f05794
JL
102862011-09-08 Juri Linkov <juri@jurta.org>
10287
10288 * progmodes/compile.el (compilation-environment): Make it
10289 a defcustom (bug#8340).
10290
8b0874b5
MR
102912011-09-08 Martin Rudalics <rudalics@gmx.at>
10292
10293 * window.el (frame-auto-delete): Rename to window-auto-delete.
10294 Make it control auto-deletion of windows and/or frames.
10295 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10296 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10297 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10298 Rewrite handling of case when window/frame can be deleted.
10299 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10300 argument t. (Bug#9456)
8b0874b5 10301
4feb6e73
CY
103022011-09-07 Chong Yidong <cyd@stupidchicken.com>
10303
10304 * help-mode.el (help-mode): Restore autoload.
10305
91ab9c13
JL
103062011-09-07 Juri Linkov <juri@jurta.org>
10307
10308 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10309 `compilation-environment'. Set buffer-local
10310 `compilation-environment' to `thisenv' later after (funcall mode).
10311 (Bug#8340)
10312
10313 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10314 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10315 instead of replacing its value. (Bug#8340)
10316
0527e251
JL
103172011-09-07 Juri Linkov <juri@jurta.org>
10318
10319 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10320 based on text properties put by `grep-filter' instead of matching
10321 escape sequences.
10322 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10323 to the value of `grep-error-screen-columns' (bug#9438).
10324
249f792c
JL
103252011-09-07 Juri Linkov <juri@jurta.org>
10326
10327 * simple.el (next-error-highlight, next-error-highlight-no-select):
10328 Doc fix (bug#9432).
10329
ff7271b9
OT
103302011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10331
10332 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10333 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10334
183fc730
LL
103352011-09-07 Leo Liu <sdl.web@gmail.com>
10336
10337 * net/rcirc.el (rcirc-mode): Conditionally initialize
10338 rcirc-input-ring.
10339
77694924
SM
103402011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * emacs-lisp/find-func.el (find-function-C-source): Only set
10343 find-function-C-source-directory after checking that we found a source
10344 file there (bug#9440).
10345
d809b8eb
AM
103462011-09-06 Alan Mackenzie <acm@muc.de>
10347
10348 * isearch.el (isearch-other-meta-char): Wherever a key list is
10349 unread, "unread" the prefix arg, too. This fixes bug #8901.
10350
453de99f
OG
103512011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10352
10353 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10354
90439906
JL
103552011-09-05 Juri Linkov <juri@jurta.org>
10356
10357 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10358
f62bd846
JL
103592011-09-05 Juri Linkov <juri@jurta.org>
10360
10361 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10362 keeping point where processing of grep matches begins, and
10363 continue to delete remaining escape sequences from the same point.
10364 (grep-filter): Make leading zero optional in "0?1;31m" because
10365 git-grep emits "\033[1;31m" escape sequences unlike expected
10366 "\033[01;31m" as GNU Grep does (bug#9408).
10367 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10368
045820ec
JL
103692011-09-05 Juri Linkov <juri@jurta.org>
10370
10371 * subr.el (y-or-n-p): Capitalize "yes".
10372
f5e29b9b
MA
103732011-09-04 Michael Albinus <michael.albinus@gmx.de>
10374
10375 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10376 `tramp-cache-unload-hook' where appropriate.
10377 (tramp-methods): Rename `tramp-remote-sh' to
10378 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10379 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10380
10381 * net/tramp-sh.el (top): Don't require 'shell.
10382 (tramp-methods): Add `tramp-remote-shell' and
10383 `tramp-remote-shell-args' entries.
10384 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10385 (tramp-sh-handle-shell-command): Remove.
10386 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10387 Use `tramp-remote-shell'.
10388
2784c434
CY
103892011-09-03 Chong Yidong <cyd@stupidchicken.com>
10390
393a301e 10391 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10392 (sendmail-query-once): Save directly to send-mail-function.
10393 Update message-send-mail-function too.
10394
10395 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10396
464cdf56
CS
103972011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10398
10399 * progmodes/python.el (python-mode-map): Use correct function to
10400 start python interpreter from menu-bar (as reported by Geert
10401 Kloosterman).
10402 (inferior-python-mode-map): Fix typo.
393a301e 10403 (python-shell-map): Remove.
464cdf56 10404
d37e5c87
DD
104052011-09-03 Deniz Dogan <deniz@dogan.se>
10406
10407 * net/rcirc.el (rcirc-print): Simplify code for
10408 rcirc-scroll-show-maximum-output. There is no need to walk
10409 through all windows to find the right one.
10410
f3ada0ee
CS
104112011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10412
10413 * help.el (help-return-method): Doc fix.
10414
1f3c99ca
MR
104152011-09-03 Martin Rudalics <rudalics@gmx.at>
10416
10417 * window.el (window-deletable-p): Don't return a non-nil value
10418 when there's a buffer that was shown in the window before.
10419 (Bug#9419)
393a301e
SM
10420 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10421 Set window's previous buffers to nil.
1f3c99ca 10422
a3cf097f
EZ
104232011-09-03 Eli Zaretskii <eliz@gnu.org>
10424
10425 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10426 newline before and after the tag line, so it doesn't interfere
10427 with determining the paragraph direction of bidirectional text.
10428
3d03de90
LL
104292011-09-03 Leo Liu <sdl.web@gmail.com>
10430
10431 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10432
c3313451
CY
104332011-09-02 Chong Yidong <cyd@stupidchicken.com>
10434
393a301e 10435 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10436 (pop-to-buffer): Change interactive spec. Pass second argument
10437 directly to display-buffer.
10438 (display-buffer): Fix interactive spec. Use functionp to
10439 distinguish between a function and a list of functions.
10440
10441 * abbrev.el (edit-abbrevs):
10442 * arc-mode.el (archive-extract):
10443 * autoinsert.el (auto-insert):
10444 * bookmark.el (bookmark-bmenu-list):
10445 * files.el (find-file):
10446 * view.el (view-buffer):
10447 * progmodes/compile.el (compilation-goto-locus):
10448 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10449
89894cd8
CY
104502011-09-02 Chong Yidong <cyd@stupidchicken.com>
10451
10452 * window.el (display-buffer-alist): Doc fix.
10453 (display-buffer): Add docstring. Don't treat
10454 display-buffer-default specially.
10455 (display-buffer-reuse-selected-window)
10456 (display-buffer-same-window, display-buffer-maybe-same-window)
10457 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10458 (display-buffer-pop-up-window)
10459 (display-buffer-reuse-or-pop-window)
10460 (display-buffer-use-some-window): New functions.
10461 (display-buffer-default-action): Use them.
393a301e 10462 (display-buffer-default): Delete.
89894cd8
CY
10463 (pop-to-buffer-1): Fix choice of actions.
10464
ae0bc9fb
SM
104652011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * minibuffer.el (completion--insert-strings): Don't get confused by
10468 completion entries that end with an LF char.
10469
e9d90883
EZ
104702011-09-01 Eli Zaretskii <eliz@gnu.org>
10471
10472 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10473
437014c8
CY
104742011-09-01 Chong Yidong <cyd@stupidchicken.com>
10475
10476 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10477 (display-buffer-same-window, display-buffer-other-window):
10478 New functions.
437014c8
CY
10479 (pop-to-buffer-1): New function. Use the above.
10480 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10481 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10482
10483 * view.el (view-buffer-other-window, view-buffer-other-frame):
10484 Just use pop-to-buffer.
10485
a5e063d5
TV
104862011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10487
10488 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10489
793d32bb
WH
104902011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10491
10492 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10493
d65e4c15
RS
104942011-08-31 Richard Stallman <rms@gnu.org>
10495
10496 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10497 of the separation of rmail-view-buffer from rmail-buffer.
10498 If you say no to "replace original", the decrypt is in the
10499 view buffer. If you say yes, the decrypt goes into the
10500 rmail buffer also.
10501
f818cd2a
MR
105022011-08-31 Martin Rudalics <rudalics@gmx.at>
10503
10504 * window.el (display-buffer-window): Rewrite doc-string.
10505 (display-buffer-record-window): New function.
10506 (display-buffer-macro-specifiers)
10507 (display-buffer-even-window-sizes, display-buffer-set-height)
10508 (display-buffer-set-width, display-buffer-in-window)
10509 (display-buffer-reuse-window, display-buffer-split-specifiers)
10510 (display-buffer-side-specifiers, display-buffer-split-window-1)
10511 (display-buffer-split-window, display-buffer-split-atom-window)
10512 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10513 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10514 (display-buffer-other-window-means-other-frame)
10515 (display-buffer-normalize-special)
10516 (display-buffer-normalize-default)
10517 (display-buffer-normalize-argument)
10518 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10519 (display-buffer-normalize-specifiers, display-buffer-frame)
10520 (display-buffer-same-window, display-buffer-same-frame)
10521 (display-buffer-other-window)
10522 (display-buffer-same-frame-other-window)
10523 (display-buffer-other-frame, pop-to-buffer-same-window)
10524 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10525 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10526 (switch-to-buffer-same-frame)
10527 (switch-to-buffer-other-window-same-frame)
10528 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10529 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10530 (display-buffer-alist-set): Remove.
10531 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10532 (special-display-regexps, special-display-function):
10533 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10534 parameter.
10535 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10536 (special-display-frame-alist, special-display-popup-frame)
10537 (same-window-buffer-names, same-window-regexps, same-window-p)
10538 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10539 (split-window-preferred-function, split-height-threshold)
10540 (split-width-threshold, window-splittable-p)
10541 (split-window-sensibly, window--try-to-split-window)
10542 (window--frame-usable-p, even-window-heights)
10543 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10544 (window--display-buffer-2, display-buffer-other-frame):
10545 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10546 (display-buffer-default, display-buffer-assq-regexp): New functions.
10547 (display-buffer-alist): Rewrite doc-string.
10548 (display-buffer-default-action)
10549 (display-buffer-overriding-action): New variables.
10550 (display-buffer, switch-to-buffer): Rewrite.
10551 (pop-to-buffer): Restore Emacs 23 behavior but use
10552 window-normalize-buffer-to-display.
10553 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10554 Restore Emacs 23 behavior but use
10555 window-normalize-buffer-to-switch-to.
10556 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10557 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10558 Rewrite using Emacs 23 options.
f818cd2a 10559
5bc3b51d
MA
105602011-08-31 Michael Albinus <michael.albinus@gmx.de>
10561
10562 * net/tramp.el (tramp-root-regexp): Remove.
10563 (tramp-completion-file-name-regexp-unified)
10564 (tramp-completion-file-name-regexp-separate)
10565 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10566 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10567 (tramp-drop-volume-letter): Simplify definition.
10568 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10569
b1a4f8e1
SM
105702011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10573 (bug#9356).
10574
5664fa7b
RT
105752011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10576
b1a4f8e1 10577 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10578
9a45d6c3
JL
105792011-08-29 Juri Linkov <juri@jurta.org>
10580
10581 * isearch.el (isearch-done): Don't display message "Mark saved"
10582 when arg `edit' is non-nil to prevent its flicker in the echo area.
10583
fb87e0fb
CY
105842011-08-28 Chong Yidong <cyd@stupidchicken.com>
10585
10586 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10587 obsolete packages for deletion.
10588
09ac1c2a
CS
105892011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10590
10591 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10592 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10593 view-mode from help-mode.
10594 (help-xref-override-view-map): Remove.
10595 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10596 view-mode is not used anymore.
10597
7a1ff57f
CY
105982011-08-28 Chong Yidong <cyd@stupidchicken.com>
10599
10600 * server.el (server-port): Doc fix.
10601
b9696605
CY
10602 * cus-theme.el (custom-theme-choose-mode): Inherit from
10603 special-mode (Bug#9124).
10604 (custom-theme-choose-mode-map): Add special-mode to parent.
10605
ef8cdf8c
AM
106062011-08-28 Alan Mackenzie <acm@muc.de>
10607
10608 * progmodes/cc-fonts.el
10609 (c-make-font-lock-BO-decl-search-function): New function.
10610 (c-basic-matchers-after - "Fontify the clauses after various
10611 keywords"): Extract the three keyword lists for the 3 erroneous
10612 constructs from the list of four, and use the new function above
10613 in place of an old one.
10614
27de4e20
DD
106152011-08-28 Deniz Dogan <deniz@dogan.se>
10616
10617 * net/rcirc.el (rcirc-insert-prev-input)
10618 (rcirc-insert-next-input): Remove unused argument.
10619
356a3681
SM
106202011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10623
3fc9b218
AM
106242011-08-27 Alan Mackenzie <acm@muc.de>
10625
10626 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10627 handle function pointer parameters properly.
10628
538a061c
MR
106292011-08-27 Martin Rudalics <rudalics@gmx.at>
10630
10631 * window.el (display-buffer-reuse-window): Fix case where
10632 selected window was reused with non-nil OTHER-WINDOW argument.
10633 (Bug#9381)
10634
35b1c40c
DD
106352011-08-27 Deniz Dogan <deniz@dogan.se>
10636
10637 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10638 oftc's NickServ messages.
10639
2f6a3e79
GM
106402011-08-27 Glenn Morris <rgm@gnu.org>
10641
10642 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10643
7254299e
CY
106442011-08-26 Chong Yidong <cyd@stupidchicken.com>
10645
10646 * emacs-lisp/package.el (package-install): Call package-initialize
10647 if called interactively.
10648
f8ccf167
LL
106492011-08-26 Leo Liu <sdl.web@gmail.com>
10650
10651 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10652
3e8cd5ce
JL
106532011-08-25 Juri Linkov <juri@jurta.org>
10654
10655 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10656 `search-whitespace-regexp' (bug#9364).
10657
93eb7113
JL
106582011-08-25 Juri Linkov <juri@jurta.org>
10659
10660 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10661 `regexp-search-ring' to their global values to protect from
10662 updating by `read-from-minibuffer' (bug#9185).
10663
f65d1611
JL
106642011-08-25 Juri Linkov <juri@jurta.org>
10665
10666 * textmodes/ispell.el (ispell-command-loop): Add newline
10667 at the end of the "Use option `i'..." line.
10668
f1cf7a31
JL
106692011-08-25 Juri Linkov <juri@jurta.org>
10670
10671 * battery.el (display-battery-mode): If `battery-status-function'
10672 or `battery-mode-line-format' is nil, display the message and set
10673 `display-battery-mode' to nil (bug#9363).
10674
0c95fcf7
EZ
106752011-08-25 Eli Zaretskii <eliz@gnu.org>
10676
10677 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10678 bidi-string-mark-left-to-right; they are unnecessary now.
10679
a2ebe600
DD
106802011-08-25 Deniz Dogan <deniz@dogan.se>
10681
10682 * net/quickurl.el: Documentation typo fixes.
10683
e4ed06f1
CY
106842011-08-25 Chong Yidong <cyd@stupidchicken.com>
10685
10686 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10687
e5f1c99e
GM
106882011-08-25 Glenn Morris <rgm@gnu.org>
10689
b2948976
GM
10690 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10691
e5f1c99e
GM
10692 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10693 (smtpmail-via-smtp): Handle nil response from smtp.
10694
f22f4808
JL
106952011-08-24 Juri Linkov <juri@jurta.org>
10696
10697 * proced.el (proced-marked): Inherit from `error' instead of
10698 `font-lock-warning-face'.
10699
10700 * ibuffer.el (ibuffer-marked-face): Change default face from
10701 `font-lock-warning-face' to `warning'.
10702 (ibuffer-deletion-face): Change default face from
10703 `font-lock-type-face' to `error'.
10704
10705 * battery.el (battery-update): Use the face `error' instead of
10706 `font-lock-warning-face' (bug#6117).
10707
6a93965e
JL
107082011-08-24 Juri Linkov <juri@jurta.org>
10709
10710 * faces.el (success): Change face color from "Green3" to
10711 "ForestGreen" on light background (bug#9353).
10712
1ed43b09
CY
107132011-08-24 Chong Yidong <cyd@stupidchicken.com>
10714
5664fa7b
RT
10715 * window.el (quit-window): Rename from quit-restore-window.
10716 Use same arglist as old quit-window.
1ed43b09
CY
10717 (frame-auto-delete): Doc fix.
10718
10719 * view.el (view-mode-exit): Use quit-window.
10720
11dcdbb2
JL
107212011-08-24 Juri Linkov <juri@jurta.org>
10722
10723 * isearch.el (isearch-ring-adjust1): Start visiting previous
10724 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10725 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10726 for empty search string (when the last search string is reused
10727 automatically) to adjust the isearch ring to the last element and
10728 prepare the correct index for further M-p commands (bug#9185).
10729
de62b4df
KH
107302011-08-24 Kenichi Handa <handa@m17n.org>
10731
10732 * international/ucs-normalize.el: If decomposition property of
10733 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10734 nil.
10735 (nfd, nfkd): Likewise.
10736
963b492b
SM
107372011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10740 from process filters aren't reliably transmitted to the surrounding
10741 accept-process-output.
10742 (mpc-proc-check): New function.
10743 (mpc-proc-sync): Use it (bug#8293)
10744
93b6b5e1
SM
107452011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10746
10747 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10748 Add compatibility functions (bug#9313).
10749
bca633fb
EZ
107502011-08-23 Eli Zaretskii <eliz@gnu.org>
10751
b177498a
EZ
10752 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10753
6df6ae42 10754 * international/uni-bidi.el: Regenerate.
bca633fb 10755
0902a04e
KH
107562011-08-23 Kenichi Handa <handa@m17n.org>
10757
10758 * international/charprop.el:
10759 * international/uni-bidi.el:
10760 * international/uni-category.el:
10761 * international/uni-combining.el:
10762 * international/uni-comment.el:
10763 * international/uni-decimal.el:
10764 * international/uni-decomposition.el:
10765 * international/uni-digit.el:
10766 * international/uni-lowercase.el:
10767 * international/uni-mirrored.el:
10768 * international/uni-name.el:
10769 * international/uni-numeric.el:
10770 * international/uni-old-name.el:
10771 * international/uni-titlecase.el:
10772 * international/uni-uppercase.el: Regenerate.
10773
3bbf23bc
MR
107742011-08-23 Martin Rudalics <rudalics@gmx.at>
10775
10776 * help.el (help-window-setup): Fix message displayed when other
10777 window is reused. (Bug#9341)
10778
b3fd59bd
SM
107792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10780
1802e444
SM
10781 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10782 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10783
b3fd59bd
SM
10784 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10785 Mark obsolete.
10786 * shell.el (shell-parse-pcomplete-arguments): New function.
10787 (shell-completion-vars): Use it instead (bug#9160).
10788
4eb61348
SM
107892011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10790
867cab74
SM
10791 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10792 strings and comments (bug#9333).
10793
4eb61348
SM
10794 * emacs-lisp/debug.el (debug-arglist): New function.
10795 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10796 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10797
262a1439
JL
107982011-08-22 Juri Linkov <juri@jurta.org>
10799
56ee679c
JL
10800 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10801 Revert regexp that highlights output switches to its old
10802 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10803
262a1439
JL
10804 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10805 to check for empty output (bug#9226).
10806
f13f86fb
CY
108072011-08-22 Chong Yidong <cyd@stupidchicken.com>
10808
10809 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10810 symbol-constituent as the default, as that stops font-lock from
10811 working properly (Bug#8843).
10812
c65c9622
LMI
108132011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10814
10815 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10816 `coding-system-for-*' around the process open call to avoid
10817 auth-source side effects.
e7f2c178 10818 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10819 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10820 probe hangs.
c65c9622 10821
23a8a5ab
CY
108222011-08-21 Chong Yidong <cyd@stupidchicken.com>
10823
ff98b2dd
CY
10824 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10825
23a8a5ab
CY
10826 * emacs-lisp/find-func.el (find-function-noselect): New arg
10827 lisp-only.
10828
10829 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10830 signal an error for built-in functions (Bug#6664).
10831
f5e3c598
LMI
108322011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10833
10834 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10835 (smtpmail-try-auth-methods): Use it.
10836
a3f2468a
CY
108372011-08-21 Chong Yidong <cyd@stupidchicken.com>
10838
2c34e8da
CY
10839 * font-lock.el (font-lock-fontify-region)
10840 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10841 (font-lock-default-unfontify-buffer)
10842 (font-lock-default-fontify-region)
10843 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10844
b3fd59bd
SM
10845 * progmodes/compile.el (compilation-error-properties):
10846 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10847 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10848 `ant' regexp.
ee31aabc 10849
a3f2468a
CY
10850 * net/browse-url.el (browse-url-firefox): Don't call
10851 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10852
8e999f70
GM
108532011-08-20 Glenn Morris <rgm@gnu.org>
10854
c21a496a
GM
10855 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10856
59ee0542
GM
10857 * tutorial.el (tutorial--default-keys): Update some default bindings.
10858
8e999f70
GM
10859 * files.el (hack-local-variables): Fully ignore case for "mode:".
10860
e3715033
AM
108612011-08-20 Alan Mackenzie <acm@muc.de>
10862
10863 Resolve invalid use of a regexp in regexp-opt.
10864
4d61f28d
JB
10865 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10866 detection for a java annotation.
e3715033 10867
4d61f28d 10868 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10869 detection for a java annotation.
10870
4d61f28d
JB
10871 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10872 handling for java.
e3715033
AM
10873 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10874
04ed2e9c
CY
108752011-08-20 Chong Yidong <cyd@stupidchicken.com>
10876
10877 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10878 (Bug#9274).
10879
826cee64
AM
108802011-08-20 Alan Mackenzie <acm@muc.de>
10881
58179cce 10882 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10883 such a construct. Mainly for when jit-lock etc. starts a chunk
10884 here.
10885
58179cce 10886 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10887 variable.
58179cce 10888 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10889 c-make-font-lock-search-function.
10890 (c-make-font-lock-search-function): Use the above function.
10891 (c-make-font-lock-context-search-function): New function.
10892 (c-cpp-matchers): Enhance the preprocessor expression case with
10893 the above function
10894 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10895 which takes an expression.
10896
10897 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10898
13009bd8
MR
108992011-08-20 Martin Rudalics <rudalics@gmx.at>
10900
10901 * window.el (display-buffer-reuse-window)
10902 (display-buffer-pop-up-window): Don't reuse or split a side
10903 window.
10904
9234ff7f
GM
109052011-08-19 Glenn Morris <rgm@gnu.org>
10906
10907 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10908 Downcase "Mode:". (Bug#9331)
9234ff7f 10909
f635daa1
CY
109102011-08-18 Chong Yidong <cyd@stupidchicken.com>
10911
10912 * international/characters.el: Add L and R categories.
10913
10914 * subr.el (bidi-string-mark-left-to-right): Rename from
10915 string-mark-left-to-right. Use category search.
10916
10917 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10918
bc987f8b
JL
109192011-08-18 Juri Linkov <juri@jurta.org>
10920
10921 * faces.el (error, warning, success): New faces with definitions
10922 copied from old default values of `font-lock-warning-face',
10923 `compilation-warning', `compilation-info' (bug#6117).
10924
10925 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10926
10927 * progmodes/compile.el (compilation-error): Inherit from `error'.
10928 (compilation-warning): Inherit from `warning'.
10929 (compilation-info): Inherit from `success'.
10930
10931 * dired.el (dired-marked): Inherit from `warning'.
10932 (dired-flagged): Inherit from `error'.
10933
57173b96
LMI
109342011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10935
3e79eb87
LMI
10936 * mail/smtpmail.el (auth-source): Require to avoid problems with
10937 binding variables (bug#9298). Also clean up some unused
10938 autoloads.
10939
b3fd59bd
SM
10940 * net/network-stream.el (network-stream-open-starttls):
10941 Support using starttls.el without using gnutls-cli.
57173b96 10942
02b404de
JL
109432011-08-17 Juri Linkov <juri@jurta.org>
10944
10945 * progmodes/grep.el (rgrep): Handle the case when
10946 `grep-find-command' is a cons cell (bug#9278).
10947
8c9177f2
MR
109482011-08-17 Martin Rudalics <rudalics@gmx.at>
10949
10950 * window.el (display-buffer-pop-up-frame): Run frame creation
10951 function with BUFFER current (as special-display-popup-frame
10952 does). Reported by Drew Adams.
10953
3644a0ab
DU
109542011-08-17 Daiki Ueno <ueno@unixuser.org>
10955
10956 * epa-mail.el: Simplify GnuPG group expansion using
10957 epg-expand-group.
10958 (epa-mail-group-alist, epa-mail-group-modtime)
10959 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10960 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10961 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10962 Remove.
10963
5e617bc2 109642011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10965
10966 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10967
9c4aeabf
AM
109682011-08-16 Alan Mackenzie <acm@muc.de>
10969
10970 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10971 Correct, to avoid the inside of macros.
10972
3a99bf64
RS
109732011-08-16 Richard Stallman <rms@gnu.org>
10974
04963aa8
RS
10975 * epa-mail.el: Handle GnuPG group definitions.
10976 (epa-mail-group-alist, epa-mail-group-modtime)
10977 (epa-mail-gnupg-conf-file): New variables.
10978 (epa-mail-parse-groups, epa-mail-sync-groups)
10979 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10980 (epa-mail-expand-recipients): New functions.
10981 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10982
177549d0
RS
10983 * mail/rmail.el (rmail-epa-decrypt): New command.
10984
fe38beef
RS
10985 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10986 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10987 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10988 (epa-decrypt-armor-in-region): Make error message clearer.
10989
934eacb9
SM
109902011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10993 and "a2b" to "ab" for `prefix'.
10994
d024fb4e
CY
109952011-08-14 Chong Yidong <cyd@stupidchicken.com>
10996
10997 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10998 filter groups.
de148fee
CY
10999 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11000 Fourquet (Bug#8804).
d024fb4e 11001
62f1ca49
JB
110022011-08-12 Juanma Barranquero <lekktu@gmail.com>
11003
11004 * startup.el (argi): Declare as global variable (bug#9275).
11005
9ccaaa4b
CY
110062011-08-12 Chong Yidong <cyd@stupidchicken.com>
11007
11008 * subr.el (string-mark-left-to-right): Search the entire string
11009 for RTL script, not just the terminating character. Doc fix.
11010
a3dae87a
SM
110112011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11012
6cd18349
SM
11013 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11014 New function.
11015 (js--regexp-literal, js-syntax-propertize-function): Remove.
11016 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11017 (js-mode-map): Don't rebind electric keys.
11018 (js-insert-and-indent): Remove.
11019 (js-mode): Setup electric-layout and electric-indent instead.
11020
a3dae87a
SM
11021 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11022
9d5cb631
DU
110232011-08-12 Daiki Ueno <ueno@unixuser.org>
11024
11025 * epa.el (epa-progress-callback-function): Fix the logic of
11026 displaying progress.
11027 * epa-file.el (epa-file-insert-file-contents): Make progress
11028 display more user-friendly.
11029 (epa-file-write-region): Ditto.
11030
3e26a4a2
CY
110312011-08-10 Chong Yidong <cyd@stupidchicken.com>
11032
11033 * subr.el (string-mark-left-to-right): New function.
11034
11035 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11036 Use string-mark-left-to-right.
11037 (list-buffers-noselect): Caller changed.
11038
a3dae87a
SM
11039 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11040 Use string-mark-left-to-right.
3e26a4a2
CY
11041 (tabulated-list-print): Recenter after moving point.
11042
ac8cf6e6
JL
110432011-08-10 Juri Linkov <juri@jurta.org>
11044
11045 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11046 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11047 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11048
8d96c9a4
CY
110492011-08-09 Chong Yidong <cyd@stupidchicken.com>
11050
11051 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11052 (Bug#7554).
11053
7be1c708 110542011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11055
11056 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11057 character. (Bug#6594)
11058
37e11a63
CY
110592011-08-08 Chong Yidong <cyd@stupidchicken.com>
11060
839dde57
CY
11061 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11062 (image-dired--with-db-file): New macro.
11063 (image-dired-write-tags, image-dired-remove-tag)
11064 (image-dired-create-gallery-lists, image-dired-write-comments)
11065 (image-dired-get-comment, image-dired-mark-tagged-files)
11066 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11067 (image-dired-gallery-generate): Use insert-file-contents.
11068
37e11a63
CY
11069 * time.el (display-time-world-list, display-time-world-display):
11070 * time-stamp.el (time-stamp-string):
11071 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11072 set-time-zone-rule (Bug#7337).
11073
0b4946c4
DU
110742011-08-08 Daiki Ueno <ueno@unixuser.org>
11075
11076 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11077 (epg-error-to-string, epg-errors-to-string): New function.
11078 (epg-wait-for-completion): Reverse errors list.
11079 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11080 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11081 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11082 (epg-sign-keys, epg-generate-key-from-file)
11083 (epg-generate-key-from-string): Format errors by using
11084 epg-errors-to-string (bug#9255).
11085 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11086
75bfc667
JL
110872011-08-07 Juri Linkov <juri@jurta.org>
11088
11089 * faces.el (list-faces-display): Remove extra angle bracket
11090 from `help-mode-map'.
11091
11092 * info.el (Info-history-toc-nodes): Doc fix.
11093
11094 * longlines.el (longlines-mode): Doc fix.
11095
673e08bb
SM
110962011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11097
4640dd88
SM
11098 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11099 of statements and in a few more cases (bug#9183).
11100
673e08bb
SM
11101 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11102 New functions.
11103 (cl-transform-lambda): Use them (bug#9239).
11104
89b3f019
MR
111052011-08-05 Martin Rudalics <rudalics@gmx.at>
11106
11107 * window.el (display-buffer-same-window)
11108 (display-buffer-same-frame, display-buffer-other-window)
11109 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11110 (pop-to-buffer-other-window)
11111 (pop-to-buffer-same-frame-other-window)
11112 (pop-to-buffer-other-frame): Make them defuns.
11113 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11114
640c8776
SM
111152011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11116
11117 * subr.el (make-composed-keymap): Move from C. Change calling
11118 convention, and improve docstring to bring attention to a subtle point.
11119 * minibuffer.el (completing-read-default): Adjust accordingly.
11120
63648a95
MA
111212011-08-03 Michael Albinus <michael.albinus@gmx.de>
11122
11123 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11124 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11125
11126 * net/trampver.el: Update release number.
11127
b796c9b7
SM
111282011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11129
11130 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11131 "in" (bug#9190).
11132
2239d7d5
LMI
111332011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11134
e07dd7c3
LMI
11135 * mail/sendmail.el (sendmail-query-once): Restore the current
11136 buffer after querying (bug#9074).
11137
0e6a2bd7
LMI
11138 * dired.el (dired-flagged): Use different faces for marked and
11139 flagged files (bug#6117).
11140
ce887515
LMI
11141 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11142 (bug#4433).
11143
92f2affc
LMI
11144 * ido.el (ido-mode): Switch off the message if called
11145 non-interactively.
11146
57d5aff0
LMI
11147 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11148 before 587, since it appears that that's more likely to work for
11149 more people.
11150
98cd6c18 11151 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11152 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11153 exist.
11154
b96dec83
LMI
11155 * info.el: Remove the `Info-beginning-of-buffer' function
11156 (bug#8325).
11157
b796c9b7
SM
11158 * net/network-stream.el (network-stream-open-starttls):
11159 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11160
d90e2ea0
MR
111612011-08-01 Martin Rudalics <rudalics@gmx.at>
11162
11163 * window.el (display-buffer-in-window): Don't set dedicated status
11164 of window here (Bug#9215).
11165 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11166 (display-buffer-pop-up-side-window)
b796c9b7 11167 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11168
cca09170
SM
111692011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11172 before binding generated-autoload-file.
11173
027b979c
DD
111742011-08-01 Deniz Dogan <deniz@dogan.se>
11175
11176 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11177
3c7ee4f3
MA
111782011-07-30 Michael Albinus <michael.albinus@gmx.de>
11179
11180 Sync with Tramp 2.2.2.
11181
11182 * net/trampver.el: Update release number.
11183
2cc8e51a
JL
111842011-07-30 Juri Linkov <juri@jurta.org>
11185
11186 * dired-aux.el (dired-touch-initial): Remove function.
11187 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11188 current time, and `default' to the last modification time of the
11189 current marked file (bug#6887).
11190
a514d856
JM
111912011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11192
11193 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11194 numeric argument to read-number (bug#9163).
a514d856 11195
8a7eddd7
MA
111962011-07-27 Michael Albinus <michael.albinus@gmx.de>
11197
11198 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11199 connection process, it could be nil.
11200
1ddd96f5
LL
112012011-07-27 Leo Liu <sdl.web@gmail.com>
11202
11203 Simplify url handling in rcirc-mode.
11204
11205 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11206 (rcirc-browse-url-at-mouse): Remove.
11207 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11208
b248a85d
AM
112092011-07-26 Alan Mackenzie <acm@muc.de>
11210
11211 Fontify bitfield declarations properly.
11212
11213 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11214 (c-symbol-chars): Now exported as a lang variable.
11215 (c-not-primitive-type-keywords): New lang variable.
11216
11217 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11218 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11219 parsed as a bitfield declaration.
b248a85d 11220
b796c9b7
SM
11221 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11222 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11223 (c-punctuation-in): New function.
11224 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11225 declarations properly.
11226
68575ab0
UJ
112272011-07-26 Ulf Jasper <ulf.jasper@web.de>
11228
11229 * calendar/icalendar.el (icalendar--all-events): Take care of
11230 multiple vcalendars in a single file.
b796c9b7 11231 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11232
0f0a88b9
DD
112332011-07-25 Deniz Dogan <deniz@dogan.se>
11234
11235 * image.el (insert-image): Clarifying docstring.
11236
0b3f36df
MA
112372011-07-24 Michael Albinus <michael.albinus@gmx.de>
11238
11239 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11240 `tramp-send-command-and-check' if there is no error.
11241 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11242
a9901f61
AM
112432011-07-22 Alan Mackenzie <acm@muc.de>
11244
11245 Prevent cc-langs.elc being loaded at run time.
11246
11247 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11248 cc-langs.
11249
4d61f28d 11250 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11251 "(require 'cc-langs)". Quote a form so it will evaluate at
11252 (cc-mode's) compilation time.
11253
11d074b2
MA
112542011-07-22 Michael Albinus <michael.albinus@gmx.de>
11255
11256 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11257 loading. (Bug#9114)
11258
938b94c8
MR
112592011-07-21 Martin Rudalics <rudalics@gmx.at>
11260
11261 * window.el (display-buffer-pop-up-window)
11262 (display-buffer-pop-up-side-window)
11263 (display-buffer-in-side-window): Call display-buffer-set-height
11264 and display-buffer-set-width after setting the new window's
b796c9b7 11265 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11266
bfa4f190
SS
112672011-07-20 Sam Steingold <sds@gnu.org>
11268
11269 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11270 (etags-tags-included-tables): Call `convert-standard-filename' on
11271 the file names contained in TAGS so that windows Emacs can handle
11272 TAGS files created by cygwin ctags.
11273
8ca42262
LMI
112742011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11275
11276 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11277 which apparently didn't work.
11278
5db2afd2 112792011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11280
5db2afd2
RW
11281 * proced.el (proced-send-signal): For *Marked Processes* buffer
11282 put point at beginning of buffer.
11283
92e15d10
SB
112842011-07-19 Stephen Berman <stephen.berman@gmx.net>
11285
11286 * proced.el (proced-format): Make header lines align with the text
11287 (bug#1779).
11288
1bfd59e5
LMI
112892011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11290
11291 * view.el (view-buffer): Allow running in `special' modes if we're
11292 visiting a file (bug#8615).
11293
f5aae37c
MR
112942011-07-19 Martin Rudalics <rudalics@gmx.at>
11295
11296 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11297 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11298 New functions.
f5aae37c
MR
11299 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11300 more accurately.
11301
bf2c1571
AM
113022011-07-18 Alan Mackenzie <acm@muc.de>
11303
11304 Fontify declarators properly when, e.g., a jit-lock chunk begins
11305 inside a declaration.
11306
11307 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11308
b796c9b7
SM
11309 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11310 New function.
bf2c1571
AM
11311 (c-complex-decl-matchers): Insert reference to
11312 c-font-lock-enclosing-decls.
11313
11314 * progmodes/cc-engine.el (c-backward-single-comment):
11315 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11316 to nil around calls to (forward-comment -1).
11317
4e190b80
LMI
113182011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11319
12dc863d
LMI
11320 * image.el (put-image): Doc typo fix.
11321
a762e966
LMI
11322 * progmodes/etags.el (tags-search): Doc typo fix.
11323
4e190b80
LMI
11324 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11325 password if we get errors 550 to 554.
11326
f019fb21
LMI
113272011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11328
b796c9b7 11329 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11330
81746738
LMI
11331 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11332 indentation character (bug#6380).
11333
3ee3a1b5
LMI
11334 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11335
c82f64de
LMI
11336 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11337 to clarify what the problem is (bug#4291).
11338
f019fb21
LMI
11339 * simple.el (current-kill): Clarify what
11340 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11341 (auto-fill-mode): Document `auto-fill-function' in relation to
11342 `auto-fill-mode' (bug#2470).
f019fb21 11343
0794775d
LM
113442011-07-16 Lawrence Mitchell <wence@gmx.li>
11345
11346 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11347 method if slot is read-only (bug#9035).
11348
be39b8cc
MR
113492011-07-16 Martin Rudalics <rudalics@gmx.at>
11350
b796c9b7 11351 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11352 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11353 selected before, see discussion of (Bug#8615), (Bug#6954).
11354 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11355
6ccf7859
GM
113562011-07-15 Glenn Morris <rgm@gnu.org>
11357
11358 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11359 Respect help-form.
6ccf7859 11360
87e86684
LM
113612011-07-09 Lawrence Mitchell <wence@gmx.li>
11362
11363 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11364 (gnutls-negotiate): Use it.
11365
d6066239
LMI
113662011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11367
b796c9b7
SM
11368 * net/gnutls.el (gnutls-negotiate):
11369 Upcase `gnutls-algorithm-priority'.
d6066239 11370
bd23ebc0
GM
113712011-07-15 Glenn Morris <rgm@gnu.org>
11372
c65bca65
GM
11373 * jka-compr.el (jka-compr-verbose): Move from here...
11374 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11375 Add missing :version tag.
11376 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11377
478615cc
LMI
113782011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11379
7b41decb
LMI
11380 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11381 (gnutls-negotiate): Use it.
11382
dbc44fcd
LMI
11383 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11384
06789f97
LMI
11385 * info.el (Info-beginning-of-buffer): New command.
11386 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11387 announcing `b' as the key (bug#8325).
ab896c37 11388 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11389
c39da690
LMI
11390 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11391
3aa5f34b
LMI
11392 * international/mule-cmds.el
11393 (describe-specified-language-support): Make the error message
11394 clearer (bug#8905).
11395
4bf0979f
LMI
11396 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11397
478615cc
LMI
11398 * isearch.el (isearch-barrier): Add a doc string, since it's
11399 mentioned in a function doc string (bug#8678).
11400
75c68aa1
MR
114012011-07-15 Martin Rudalics <rudalics@gmx.at>
11402
11403 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11404 buffer argument (Bug#9083) and self-identifying label argument.
11405
a7c33da2
GM
114062011-07-15 Glenn Morris <rgm@gnu.org>
11407
11408 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11409
2f5c6024
LMI
114102011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11411
11412 * man.el (Man-fontify-manpage): Fix message when formatting the
11413 man page (bug#7929).
11414
0bb23927 114152011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11416
11417 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11418 argument LRM; if non-nil, append an invisible LRM character to the
11419 buffer name.
11420 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11421 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11422 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11423 paragraph direction.
cce4b0a7 11424
621ef9ab
LMI
114252011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11426
d1583c48
LMI
11427 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11428 the man page name (bug#7929).
11429
6a57fb5f
LMI
11430 * image.el (put-image): Mention the `put-image' overlay property
11431 (bug#7834).
11432
d7956b14
LMI
11433 * scroll-bar.el (set-scroll-bar-mode): Mention that
11434 `scroll-bar-mode' lists the values (bug#7772).
11435
5b2d4a66
LMI
11436 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11437 command (bug#7729).
11438
7509a874
LMI
11439 * rect.el (apply-on-rectangle): Return the point after the last
11440 operation.
11441 (string-rectangle): Go to the point after the last operation
11442 (bug#7522).
11443
4fe74b19
LMI
11444 * printing.el (pr-toggle-region): Clarify the documentation
11445 slightly (bug#7493).
11446
b796c9b7
SM
11447 * time.el (display-time-update):
11448 Allow `display-time-mail-function' to return nil (bug#7158).
11449 Fix suggested by Detlev Zundel.
ab283561 11450
fc233c9d
LMI
11451 * vc/diff.el (diff): Clarify the order the file names are read
11452 (bug#7111).
11453
43f5740b
LMI
11454 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11455 the doc string (bug#7015).
11456
f2182a76
LMI
11457 * font-lock.el (font-lock-maximum-decoration): Mention what
11458 numeric levels mean (bug#6935).
11459
621ef9ab
LMI
11460 * startup.el (initial-buffer-choice): Don't mention the `none'
11461 selection, which is against policy.
11462
adc47434
MR
114632011-07-14 Martin Rudalics <rudalics@gmx.at>
11464
b796c9b7
SM
11465 * window.el (display-buffer-normalize-special):
11466 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11467
7e5bfb8f
EZ
114682011-07-14 Eli Zaretskii <eliz@gnu.org>
11469
11470 * subr.el (version<, version<=, version=): Mention "-CVS" and
11471 "-12345" alpha version numbers.
11472
27fa387a
CY
114732011-07-14 Chong Yidong <cyd@stupidchicken.com>
11474
11475 * bindings.el: Add advertised binding for set-mark-command
11476 (Bug#5772).
11477
8bdfa064
CY
114782011-07-14 Chong Yidong <cyd@stupidchicken.com>
11479
11480 * bindings.el (mode-line-other-buffer):
11481 * bookmark.el (bookmark-bmenu-2-window):
11482 * bs.el (bs-cycle-next, bs-cycle-previous):
11483 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11484 switch-to-buffer.
11485
11486 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11487 Delete.
8bdfa064 11488
5eba16a3
JB
114892011-07-14 Juanma Barranquero <lekktu@gmail.com>
11490
11491 * follow.el (follow-debug-message, follow-redisplay):
11492 * jka-cmpr-hook.el (with-auto-compression-mode):
11493 Fix typos in docstrings.
11494
15853710
LMI
114952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11496
a28e4607
LMI
11497 * subr.el (with-silent-modifications): Clarify somewhat what the
11498 macro inhibits (bug#6525).
11499
15853710
LMI
11500 * simple.el (eval-expression): Note what it does if called
11501 interactively (bug#6495).
11502
bee0fcef
CY
115032011-07-13 Chong Yidong <cyd@stupidchicken.com>
11504
b796c9b7
SM
11505 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11506 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11507
11508 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11509 Remove switch-to-buffer.
11510
58274504
LMI
115112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11512
bd2fcc8d
LMI
11513 * files.el (make-directory): Clarify that an error will be raised
11514 if there's an error (bug#6397).
11515
0f04b32c
LMI
11516 * startup.el (initial-buffer-choice): Add `none' as a choice
11517 (bug#6234).
11518
465c5fc8
LMI
11519 * subr.el (add-hook): Clarify section about buffer-local hooks
11520 (bug#6218).
11521
58274504
LMI
11522 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11523
bead9a43
JB
115242011-07-13 Juanma Barranquero <lekktu@gmail.com>
11525
11526 * tabify.el (untabify): Preserve the current column so that point
11527 doesn't move (bug#6032).
11528
3af98a7b
LMI
115292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11530
b796c9b7
SM
11531 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11532 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11533
6240145a
GM
115342011-07-13 Glenn Morris <rgm@gnu.org>
11535
11536 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11537 (dired-insert-directory): Give a message the first time
11538 if ls is found not to support --dired.
11539
1d8c2ccc
LMI
115402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11541
11542 * simple.el (toggle-truncate-lines): Clarify what is toggled
11543 (bug#5580). Text by Drew Adams.
11544
5fc4038e
CY
115452011-07-13 Chong Yidong <cyd@stupidchicken.com>
11546
11547 * simple.el (blink-matching-open): Make the error message from the
11548 last change less verbose.
11549
bf6012e5
DN
115502011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11551
11552 * font-lock.el (font-lock-comment-face): Use the high contrast
11553 "yellow" color for font-lock-comment-face on low color terminals
11554 using a dark background color (bug#4221).
11555
343c3b5a
LMI
115562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11557
7e9505c5
LMI
11558 * dired.el (dired-insert-set-properties): Make the doc string
11559 reflect what it does now (bug#5325).
11560
c26fdcf5
LMI
11561 * simple.el (blink-matching-open): Say that we were unable to find
11562 the match within the limit, if we're limited (bug#5122).
11563
bb388cc5
LMI
11564 * international/mule-cmds.el (prefer-coding-system): Add an
11565 example (bug#4869).
11566
343c3b5a
LMI
11567 * progmodes/etags.el (tags-search): Document `file-list-form'
11568 (bug#4731).
11569
2a517d45
LM
115702011-07-13 Lawrence Mitchell <wence@gmx.li>
11571
11572 * net/browse-url.el (browse-url-default-browser)
11573 (browse-url-browser-function): Make the default browser choice a
11574 bit more logical (bug#4300). Also clean up the doc string.
11575
b6c78ef2
JB
115762011-07-13 Juanma Barranquero <lekktu@gmail.com>
11577
11578 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11579 binary endings (bug#4440).
11580
1c4dd947
LMI
115812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11582
a2014063
LMI
11583 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11584 which can be pretty annoying (bug#8971).
11585
9c9c2d88
LMI
11586 * jka-compr.el (jka-compr-verbose): New variable, and use
11587 throughout (bug#8971).
11588
1c4dd947
LMI
11589 * info.el (Info-find-file): Fall back on the installation
11590 directory if we can't find the info node anywhere else.
11591
a1c9f41b
SO
115922011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11593
11594 * vc/vc.el (vc-revert-file):
11595 Don't set file time-stamp in the past. (Bug#5181)
11596
536f3d36
LMI
115972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11598
7152b011
LMI
11599 * files.el (after-find-file): Give a better error message when
11600 trying to find a symlink that points to a file that doesn't exist
11601 (bug#4398).
11602
536f3d36
LMI
11603 * progmodes/cc-vars.el: Remove (probably) misleading comment
11604 (bug#4396).
11605
460c0fba
JB
116062011-07-12 Johan Bockgård <bojohan@gnu.org>
11607
11608 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11609
7a6bda45
CY
116102011-07-12 Chong Yidong <cyd@stupidchicken.com>
11611
11612 * mouse-sel.el: Hack restoring functionality, while keeping
11613 compatibility with 2010-07-03 changes to mouse selection.
11614 (mouse-sel-primary-overlay): New var.
11615 (mouse-sel-selection-alist): Use it.
11616 (mouse-sel-mode): Doc fix; remove points that are default features
11617 of mouse.el.
11618
c79598ef
JB
116192011-07-12 Johan Bockgård <bojohan@gnu.org>
11620
11621 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11622 Fix previous fix (bug#2490).
11623
ff8be6ef
RW
116242011-07-12 Roland Winkler <winkler@gnu.org>
11625
b796c9b7
SM
11626 * textmodes/bibtex.el (bibtex-initialize):
11627 Use pop-to-buffer-same-window.
ff8be6ef
RW
11628 (bibtex-search-entries): Fix interactive call.
11629
296ba3ee
LMI
116302011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11631
f5242a02 11632 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11633 Fontise bytecomp Error lines more correctly (bug#2490).
11634 Fix suggested by Johan Bockgård.
f5242a02 11635
296ba3ee
LMI
11636 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11637
11638 * dired-x.el (dired-guess-default): Use `delete-dups'.
11639
f69fd0d2
CY
116402011-07-12 Chong Yidong <cyd@stupidchicken.com>
11641
11642 * dired.el (dired-mark-prompt):
11643 * dired-aux.el (dired-read-shell-command): Doc fix.
11644
eab5dc07
LMI
116452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11646
b796c9b7
SM
11647 * mail/sendmail.el (sendmail-query-once):
11648 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11649 emacs -Q.
11650
11651 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11652
eab5dc07
LMI
11653 * cus-edit.el (custom-file): Take an optional no-error variable.
11654 (customize-save-variable): Set the variable, and give a warning if
11655 running under "emacs -q".
11656
a1e65d42
JB
116572011-07-11 Juanma Barranquero <lekktu@gmail.com>
11658
11659 * loadhist.el (unload-feature-special-hooks):
11660 Add `auto-coding-functions', `fill-nobreak-predicate' and
11661 `find-directory-functions' (bug#5327).
11662
1d52da10
LMI
116632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11664
be958f1d
LMI
11665 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11666
5bedb26c
LMI
11667 * cus-edit.el (custom-guess-name-alist): -alist variables should
11668 use the `alist' type (bug#3120). Suggested by Drew Adams.
11669
1d52da10
LMI
11670 * printing.el: Add documentation to all the `pr-toggle-' commands.
11671
cd394be1 116722011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11673
11674 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11675 backends where it makes sense (bug#2623).
11676
dcc88d8a
LMI
116772011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11678
c3de9feb
LMI
11679 * dired-x.el (dired-guess-default): Remove duplicate shell command
11680 entries (bug#2028).
8a93078b 11681 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11682 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11683
dcc88d8a
LMI
11684 * subr.el (remove-duplicates): New conveniency function.
11685
505e3645
LMI
116862011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11687
11688 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11689 (bug#1526).
11690
116912011-07-10 Martin Rudalics <rudalics@gmx.at>
11692
11693 * window.el (display-buffer-normalize-default): Don't invert
11694 meaning of even-window-heights. Reported by Eli Zaretskii
11695 <eliz@gnu.org>.
11696
455e4fa1
BR
116972011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11698
11699 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11700
8e0bc3e9
CY
117012011-07-10 Chong Yidong <cyd@stupidchicken.com>
11702
11703 * window.el (display-buffer): Fix arguments to
11704 display-buffer-reuse-window in last change.
11705
fa7c3228
CY
11706 * faces.el (link): Use a less saturated blue on light backgrounds.
11707
11708 * startup.el (fancy-startup-text, fancy-about-text)
11709 (fancy-startup-tail): Use font-lock faces, for background safety.
11710
c0a7f300
BN
117112011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11712
b796c9b7
SM
11713 * emulation/viper-cmd.el (viper-change-state-to-vi):
11714 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11715
4dc2a129
MR
117162011-07-09 Martin Rudalics <rudalics@gmx.at>
11717
11718 * window.el (display-buffer-default-specifiers): Remove.
11719 (display-buffer-macro-specifiers): Remove default specifiers.
11720 (display-buffer-alist): Default to nil.
b796c9b7 11721 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11722 (display-buffer-pop-up-window): Allow splitting internal
11723 windows. Check whether a live window was created.
11724 (display-buffer-other-window-means-other-frame)
11725 (display-buffer-normalize-arguments): Rename to
11726 display-buffer-normalize-argument and rewrite. Set the
11727 other-window specifier.
11728 (display-buffer-normalize-special): New function.
11729 (display-buffer-normalize-options): Rename to
11730 display-buffer-normalize-default and rewrite.
11731 (display-buffer-normalize-options-inhibit): Remove.
11732 (display-buffer-normalize-specifiers): Rewrite.
11733 (display-buffer): Process other-window specifier and call
11734 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11735 more faithfully.
b796c9b7 11736 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11737 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11738 (display-buffer-in-window, display-buffer-alist-set):
11739 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11740 <tassilo@member.fsf.org>.
11741
2d43b8c9
LL
117422011-07-09 Leo Liu <sdl.web@gmail.com>
11743
11744 * register.el (insert-register): Restore accidental change on
11745 2011-06-26. (Bug#9028)
11746
7f9b7c53
GM
117472011-07-09 Glenn Morris <rgm@gnu.org>
11748
11749 * subr.el (remq): Handle the empty list. (Bug#9024)
11750
f042cfd8
AS
117512011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11752
11753 * mail/sendmail.el (send-mail-function): No longer delay custom
11754 initialization.
11755 * custom.el (custom-initialize-delay): Doc fix.
11756
856b2f11
SM
117572011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11760
afae1d68
MA
117612011-07-08 Michael Albinus <michael.albinus@gmx.de>
11762
11763 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11764 human-friendly prompt.
11765
0757af94
SM
117662011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11767
11768 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11769 provided by a particular plugin.
11770
d760b731
LMI
117712011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11772
11773 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11774 save customizations (with "emacs -Q"), just set the variable
11775 instead of erroring out.
11776
11777 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11778
cd79ce90
JL
117792011-07-08 Juri Linkov <juri@jurta.org>
11780
11781 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11782 (archive-zip-update-case): Use 7z if found by `executable-find'.
11783 The order of searching the available programs is the same as in
11784 `archive-zip-extract' (bug#8968).
11785
14cc04aa
CY
117862011-07-07 Chong Yidong <cyd@stupidchicken.com>
11787
11788 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11789 (menu-bar-options-menu): Tweak descriptions.
11790
0a1848ec
LMI
117912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11792
11793 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11794 menu items into verb phrases (bug#1421). Also refill to fit under
11795 80 columns.
11796
f5bd0689
CY
117972011-07-07 Chong Yidong <cyd@stupidchicken.com>
11798
538e85c6
CY
11799 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11800 (Info-read-node-name): Doc fix (Bug#1084).
11801
f5bd0689
CY
11802 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11803 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11804 (end-of-sexp, beginning-of-sexp)
11805 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11806 (forward-symbol, forward-same-syntax, word-at-point)
11807 (sentence-at-point): Doc fix (Bug#1144).
11808
56ec5115
LMI
118092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11810
f3f8e37f
LMI
11811 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11812 should cover it (bug#1281).
11813
0757af94 11814 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11815
e9fce1ac 11816 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11817 negotiation fails, then possibly try again with a non-encrypted
11818 connection (bug#9017).
11819
56ec5115
LMI
11820 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11821 be used.
11822
c2f9aec8
RS
118232011-07-07 Richard Stallman <rms@gnu.org>
11824
11825 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11826 property, and handle its changed format.
11827 Look for the correct line number.
11828 Use file's line contents (but not past first =) to find
11829 correct line in message.
11830
ef7b981d 118312011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11832
11833 * international/characters.el (build-unicode-category-table):
11834 Delete it.
0757af94 11835 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11836
0757af94 11837 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11838 to src/chartab.c.
11839 (get-char-code-property): Call unicode-property-table-internal to
11840 load a file. Call get-unicode-property-internal where necessary.
11841 (put-char-code-property): Call unicode-property-table-internal to
11842 load a file. Call put-unicode-property-internal where necessary.
11843 put-unicode-property-internal where necessary.
0757af94
SM
11844 (char-code-property-description):
11845 Call unicode-property-table-internal to load a file.
c805dec0
KH
11846
11847 * international/charprop.el:
11848 * international/uni-bidi.el:
11849 * international/uni-category.el:
11850 * international/uni-combining.el:
11851 * international/uni-comment.el:
11852 * international/uni-decimal.el:
11853 * international/uni-decomposition.el:
11854 * international/uni-digit.el:
11855 * international/uni-lowercase.el:
11856 * international/uni-mirrored.el:
11857 * international/uni-name.el:
11858 * international/uni-numeric.el:
11859 * international/uni-old-name.el:
11860 * international/uni-titlecase.el:
11861 * international/uni-uppercase.el: Regenerate.
11862
11863 * loadup.el: Load international/charprop.el before
11864 international/characters.
11865
e14b388a
CY
118662011-07-07 Chong Yidong <cyd@stupidchicken.com>
11867
11868 * window.el (next-buffer, previous-buffer): Signal an error if
11869 called from a minibuffer window.
11870
11871 * bindings.el: Revert 2011-07-04 change.
11872
354cf0ba
RS
118732011-07-06 Richard Stallman <rms@gnu.org>
11874
11875 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11876 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11877 Treat markers like ints.
11878 (rmail-mime-entity): Doc fix.
11879
a48868a7
LMI
118802011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11881
4906cd3d
LMI
11882 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11883 defcustom again for backwards compatibility.
11884
e0457abe
LMI
11885 * simple.el (shell-command-on-region): Fill.
11886
d67f7e1f
LMI
11887 * dired-aux.el (dired-kill-line): Add a doc string.
11888
fe204702
LMI
11889 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11890 to "\\sw\\|\\s_" (bug#358).
11891
a48868a7
LMI
11892 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11893 (dired-unmark-backward): Ditto.
11894 (dired-flag-backup-files): Ditto.
11895
11896 * dired-x.el (dired-mark-sexp): Ditto.
11897
aa8a705c
RS
118982011-07-06 Richard Stallman <rms@gnu.org>
11899
11900 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11901 (rmail-mime-entity): New arg TRUNCATED.
11902 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11903 New functions.
11904 (rmail-mime-save): Warn if entity is truncated.
11905 (rmail-mime-toggle-hidden): Likewise, for showing.
11906 (rmail-mime-process-multipart): Record when an entity is truncated.
11907
a9a936b9
RS
11908 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11909 if ENTITY is a string.
11910
1f2b92cb
LMI
119112011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11912
f4f73198 11913 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11914 of faces when `M-C-x'-ing their definitions (bug#8378).
11915 Also clean up the code slightly.
f4f73198 11916
12b16734 11917 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11918 because that makes the colors go away.
12b16734 11919
f0691d22
LMI
11920 * mail/sendmail.el (send-mail-function): Change the default to
11921 `sendmail-query-once'.
9e87df06 11922 (sendmail-query-once): Add an autoload cookie.
f0691d22 11923
1f2b92cb
LMI
11924 * net/network-stream.el (network-stream-open-starttls): Try using
11925 a plain connection even if the server offered STARTTLS, and we
11926 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11927 capability. This should make smtpmail.el work in slightly more
11928 configurations.
11929
1cdd2a1b
MA
119302011-07-06 Michael Albinus <michael.albinus@gmx.de>
11931
11932 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11933 New defun.
11934 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11935
fbcc67e2
MM
119362011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11937
11938 * progmodes/sql.el: Version 3.0
0757af94 11939 (sql-product-alist): Add product :completion-object,
fbcc67e2 11940 :completion-column, and :statement attributes.
0757af94 11941 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11942 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11943 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11944 ansi keywords.
11945 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11946 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11947 (sql-oracle-show-reserved-words): New function for development.
11948 (sql-product-font-lock): Simplify for source code buffers.
11949 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11950 New functions.
11951 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11952 (sql-mode-map): Add statement movement functions.
11953 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11954 New variable.
fbcc67e2
MM
11955 (sql-statement-regexp, sql-beginning-of-statement)
11956 (sql-end-of-statement, sql-signum): New functions.
0757af94 11957 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11958 (sql-show-sqli-buffer): Bug fix.
11959 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11960 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11961 with sql-interactive-mode.
11962 (sql-save-connection): Save buffer local settings.
0757af94 11963 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11964 (sql-product-interactive): Bug fix.
11965 (sql-preoutput-hold): New variable.
11966 (sql-interactive-remove-continuation-prompt): Bug fixes.
11967 (sql-debug-redirect): New variable.
11968 (sql-str-literal): New function.
11969 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11970 Redesign.
fbcc67e2
MM
11971 (sql-oracle-save-settings, sql-oracle-restore-settings)
11972 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11973 (sql-completion-object, sql-completion-column)
11974 (sql-completion-sqlbuf): New variables.
11975 (sql-build-completions-1, sql-build-completions)
11976 (sql-try-completion): New functions.
11977 (sql-read-table-name): Use them.
11978 (sql-contains-names): New buffer local variable.
11979 (sql-list-all, sql-list-table): Use it.
11980 (sql-oracle-completion-types): New variable.
11981 (sql-oracle-completion-object, sql-sqlite-completion-object)
11982 (sql-postgres-completion-object): New functions.
11983
d4eaeab1
GM
119842011-07-06 Glenn Morris <rgm@gnu.org>
11985
11986 * window.el (pop-to-buffer): Doc fix.
11987
322b7dab 119882011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11989
11990 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11991
322b7dab 119922011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11993
322b7dab 11994 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11995
322b7dab 11996 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11997
605dd5bf
CY
119982011-07-05 Chong Yidong <cyd@stupidchicken.com>
11999
12000 * button.el (button): Inherit from link face. Suggested by Dan
12001 Nicolaescu.
12002
7dbfa719
SM
120032011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12004
3db614b0
SM
12005 * progmodes/gdb-mi.el: Fit in 80 columns.
12006 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12007 switch-to-buffer.
12008
7dbfa719
SM
12009 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12010 if imenu is simply not configured (bug#8941).
12011
919d884a
KM
120122011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12013
12014 * allout.el (allout-post-undo-hook): New allout outline-change
12015 event hook to signal undo activity.
12016 (allout-post-command-business): Run allout-post-undo-hook if an
12017 undo just occurred.
7dbfa719
SM
12018 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12019 * allout-widgets.el (allout-widgets-after-undo-function):
12020 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12021 in the vicinity of an undo.
12022 (allout-widgets-mode): Include allout-widgets-after-undo-function
12023 on the new allout-post-undo-hook.
12024
450a0f09
SM
120252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12026
12027 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12028 Let define-derived-mode define it.
12029 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12030 cycles of abbrev-table inheritance (bug#8998).
12031
2de69e00
RW
120322011-07-05 Roland Winkler <winkler@gnu.org>
12033
12034 * textmodes/bibtex.el: Add support for biblatex.
12035 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12036 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12037 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12038 (bibtex-entry-alist, bibtex-field-alist): New variables.
12039 (bibtex-entry-field-alist): Obsolete alias for
12040 bibtex-BibTeX-entry-alist.
12041 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12042 (bibtex-set-dialect): New command.
12043 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12044 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12045 Bind via bibtex-set-dialect.
2de69e00
RW
12046 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12047 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12048 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12049 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12050 Define via bibtex-set-dialect.
450a0f09
SM
12051 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12052 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12053 (bibtex-vec-push, bibtex-vec-incr): New functions.
12054 (bibtex-format-entry, bibtex-field-list)
12055 (bibtex-print-help-message, bibtex-validate)
12056 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12057
2dcdbdd9
SM
120582011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12059
12060 * progmodes/compile.el (compilation-goto-locus):
12061 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12062 * bs.el (bs-cycle-next, bs-cycle-previous):
12063 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12064 * bindings.el (mode-line-other-buffer):
12065 * autoinsert.el (auto-insert):
12066 * arc-mode.el (archive-extract):
12067 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12068
b27640fe
JB
120692011-07-05 Juanma Barranquero <lekktu@gmail.com>
12070
12071 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12072 Fix check of `emacs-lock-unlockable-modes'.
12073 Coerce true values of `emacs-lock--try-unlocking' to t.
12074
53bbe3ad
JB
120752011-07-05 Juanma Barranquero <lekktu@gmail.com>
12076
12077 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12078 * emacs-lock.el: New file.
12079
1d3cdbc7
JD
120802011-07-05 Julien Danjou <julien@danjou.info>
12081
12082 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12083 than `boundp' to check if face is set.
12084
9173deec
JB
120852011-07-05 Juanma Barranquero <lekktu@gmail.com>
12086
12087 * register.el (registerv-make):
12088 * window.el (window-min-height): Fix typos in docstrings.
12089
869795d6
JD
120902011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12091
9173deec 12092 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12093 Update doc string.
12094
b768cdcd
JB
120952011-07-04 Juanma Barranquero <lekktu@gmail.com>
12096
12097 * server.el (server-execute): Catch quit and call
12098 `server-return-error' to pass the error back to emacsclient and
12099 close the connection (bug#8942).
12100
13aa217b
KM
121012011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12102
12103 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12104 insecure exception for current topic. Also note that auto-saves
12105 are handled differently.
12106
5d3385a0 12107 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12108 State variables for tracking auto-save inhibition situation.
12109
12110 (allout-write-contents-hook-handler): Rename from
12111 'allout-write-file-hook-handler', and describe how it depends on
12112 write-contents-functions sensitivity to non-nil value to prevent
12113 file write.
12114
12115 (allout-auto-save-hook-handler): Remove. auto-save does not check
12116 this in individual buffers, only in the starting buffer, so this
12117 is not the right way for us to inhibit auto-save in a buffer
12118 according to its condition.
12119
12120 (allout-mode): Use new allout-write-contents-hook-handler, and
12121 only with write-contents-functions. Remove auto-save provisions -
12122 they're implemented elsewhere.
12123
12124 (allout-before-change-handler): If undo is in progress, note that
12125 for attention of allout-post-command-business.
12126
12127 (allout-post-command-business): If the command we're following was
12128 an undo, check for change in the status of encrypted items and
12129 adjust auto-save inhibitions accordingly.
12130
12131 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12132 according to whether there are or aren't any plain-text topics
12133 pending encryption.
12134
2dcdbdd9 12135 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12136 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12137 if there are plain-text topics pending encryption.
13aa217b
KM
12138
12139 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12140 buffer-saved-size and some allout state to not inhibit auto-saves
12141 if there are no longer any plain-text topics pending encryption.
12142
0757af94
SM
12143 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12144 No longer provide for exemption of the current topic.
13aa217b 12145
ac89b32c
JL
121462011-07-04 Juri Linkov <juri@jurta.org>
12147
12148 Add 7z operations to delete and save changed members (bug#8968).
12149 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12150 New defcustoms.
12151 (archive-7z-write-file-member): New function.
12152 (archive-7z-summarize): Fix the number of dashes in the
12153 listing output.
12154
8fa39615
SM
121552011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12156
12157 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12158 (bug#8958).
12159
2f11b3f1
CY
121602011-07-04 Chong Yidong <cyd@stupidchicken.com>
12161
d66fef2b
CY
12162 * bindings.el: Ignore next-buffer and previous-buffer in
12163 minibuffer-local-map.
12164
2f11b3f1
CY
12165 * font-lock.el (font-lock-builtin-face): Change light background
12166 color to dark slate blue (Bug#6693).
12167
f932a347
WD
121682011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12169
12170 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12171
c8af70e1
SM
121722011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12173
12174 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12175 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12176 Add switch-to-buffer.
12177
f158badc
LMI
121782011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12179
12180 * isearch.el (isearch-search-fun-function): Clarify further the
12181 meaning of the function returned.
12182
6d95bd46
MA
121832011-07-04 Michael Albinus <michael.albinus@gmx.de>
12184
12185 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12186
12187 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12188 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12189 Use it.
12190 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12191 `tramp-default-remote-path' does not exist.
12192 (tramp-send-command-and-read): New optional argument NOERROR.
12193 (tramp-open-connection-setup-interactive-shell)
12194 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12195 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12196 (tramp-process-sentinel): Flush also process' connection property.
12197 (tramp-sh-handle-start-file-process): Do not set process
12198 sentinel. It is done now ...
12199 (tramp-maybe-open-connection): ... here. (Bug#8929)
12200
909e6b67
MK
122012011-07-04 MON KEY <monkey@sandpframing.com>
12202
12203 * play/animate.el (animate-string): Doc fixes and allow changing
12204 the buffer name (bug#5417).
12205
122062011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12207
c8af70e1 12208 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12209
f34755dc
PE
122102011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12211
396cec72
PE
12212 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12213 This is simpler and helps future-proof the code.
12214 (timer-until): Use time-subtract and float-time.
08235028 12215 (timer--time-less-p): Use time-less-p.
f34755dc 12216
56e6cc31
JB
122172011-07-04 Juanma Barranquero <lekktu@gmail.com>
12218
3abb79e5
JB
12219 * type-break.el (timep): Use the value of `float-time' to avoid a
12220 byte-compiler warning.
12221
56e6cc31
JB
12222 * server.el (server-eval-and-print): Return any result, even nil.
12223
7b9430b4
PE
122242011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12225
12226 * type-break.el: Accept time formats that the builtins accept.
12227 (timep, type-break-time-difference): Accept any format that
12228 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12229 This is simpler and helps future-proof the code.
12230 (type-break-time-difference): Round rather than ignoring
12231 subseconds components.
12232
3034e9e7
LMI
122332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12234
12235 * info.el (Info-apropos-matches): Make non-interactive, since it
12236 doesn't seem to do anything useful as a command (bug#8829).
12237
1485f4c0
CY
122382011-07-03 Chong Yidong <cyd@stupidchicken.com>
12239
12240 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12241 Move from faces.el.
1485f4c0
CY
12242 (frame-default-terminal-background): New function.
12243
12244 * custom.el (custom-push-theme): Don't record faces in `changed'
12245 theme; this doesn't work correctly for per-frame face settings.
12246 (disable-theme): Use face-set-after-frame-default to reset faces.
12247 (custom--frame-color-default): New function.
12248
9fa3dd45
LMI
122492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12250
c8af70e1 12251 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12252 (bug#8769).
12253
6cbbc20c
KR
122542011-03-29 Kevin Ryde <user42@zip.com.au>
12255
12256 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12257 `perl-Test2' extend to match possible "fail #N" rep count
12258 (bug#8377).
12259
c7f98048
LMI
122602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12261
65676592
LMI
12262 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12263 `smtpmail-via-smtp' now returns the error instead of nil.
12264
c7f98048
LMI
12265 * isearch.el (isearch-search-fun-function): Clarify the doc string
12266 (bug#8101).
12267
56e6cc31 122682011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12269
12270 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12271 unnecessary spaces (bug#8987).
12272
2b216704
LMI
122732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12274
12275 * net/network-stream.el (open-network-stream): Use the
12276 :end-of-capability command thoughout.
12277
122782011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12279
12280 * net/network-stream.el (open-network-stream): Add the
12281 :end-of-capability command parameter, used by pop3.el.
12282
36adf6ce
LMI
122832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12284
1ca0da0e
LMI
12285 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12286
fc00f69c
LMI
12287 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12288 for list)" (bug#6475).
12289
28fd8759 12290 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12291 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12292 an error (bug#6297).
12293
0dd8b6da
LMI
12294 * man.el (Man-reference-regexp): Allow matching possible
12295 word-wrapped references (bug#6289).
12296
ce1438d6
LMI
12297 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12298 for consistency with the other vc buffers (bug#6197).
12299 (vc-checkin): Ditto.
12300
12301 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12302
36adf6ce
LMI
12303 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12304
e83cc1f7
LMI
123052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12306
8a20ca4c
LMI
12307 * custom.el (defcustom): Clarify that :set is only used in the
12308 Customize user interface (bug#6089).
12309
83319045
LMI
12310 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12311 associated with a file, refuse to run instead of erroring out
12312 (bug#6084).
12313
a8392169
LMI
12314 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12315 the doc string, since it appears that using `fill-column' always
12316 controls the width (bug#7845).
12317
e83cc1f7
LMI
12318 * simple.el (shell-command-on-region): Say where the error output
12319 went if `shell-command-default-error-buffer' is set (bug#6857).
12320
e47ca23b
KM
123212011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12322
12323 * allout.el (allout-yank-processing): Adjust cursor position for
12324 backwards-deleted space.
12325
12326 (allout-rebullet-heading): Register changes with
12327 allout-exposure-changed-hook, so the modified topic is properly
12328 decorated.
12329
5cf56143
LMI
123302011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12331
08549772
LMI
12332 * minibuffer.el (completion-in-region): Document PREDICATE
12333 (bug#7136).
12334
48e96771
LMI
12335 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12336 of keyword/argument pairs (bug#6904).
12337
c8af70e1
SM
12338 * replace.el (multi-occur):
12339 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12340
e17d05e2
LMI
123412011-07-02 Drew Adams <drew.adams@oracle.com>
12342
12343 * dired.el (dired-mark-if): Make the message about whether it's
12344 marking or unmarking clearer (bug#8523).
12345
063b0e45
LMI
123462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12347
12348 * disp-table.el (display-table-print-array): New function.
12349 (describe-display-table): Use it to print the vectors more pretty
12350 (Bug#8859).
12351
28545e04
MR
123522011-07-02 Martin Rudalics <rudalics@gmx.at>
12353
12354 * window.el (window-state-get-1): Don't assign clone numbers.
12355 Add clone-of item to list of window parameters.
12356 (window-state-put-2): Don't process clone numbers.
12357 (display-buffer-alist): Fix doc-string.
12358
3349e122
SM
123592011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12360
12361 * subr.el (remq): Don't allocate if it's not needed.
12362 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12363 (keymap--merge-bindings): New functions.
12364 (keymap-canonicalize): Use them to refine the canonicalization.
12365 * minibuffer.el (minibuffer-local-completion-map)
12366 (minibuffer-local-must-match-map): Move initialization from C.
12367 (minibuffer-local-filename-completion-map): Move initialization from C;
12368 don't inherit from anything here.
12369 (minibuffer-local-filename-must-match-map): Make obsolete.
12370 (completing-read-default): Use make-composed-keymap to combine
12371 minibuffer-local-filename-completion-map with either
12372 minibuffer-local-must-match-map or
12373 minibuffer-local-filename-completion-map.
12374
d224ac83
GM
123752011-07-01 Glenn Morris <rgm@gnu.org>
12376
3de63bf8
GM
12377 * type-break.el (type-break-time-sum): Use dolist.
12378
d224ac83
GM
12379 * textmodes/flyspell.el (flyspell-word-search-backward):
12380 Replace CL function.
12381
1a1e3f32
SM
123822011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12383
fe3f64d5
SM
12384 * mouse.el (mouse--strip-first-event): New function.
12385 (function-key-map): Use it to map fringe clicks to normal clicks
12386 by default.
12387
eb604e34
SM
12388 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12389 (vc-bzr-revision-completion-table): Add support for annotate and date.
12390
1a1e3f32
SM
12391 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12392 inherit from parent.
12393
5bd35902
LMI
123942011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12395
ace6c69c 12396 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12397 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12398
191e2bed
LMI
12399 * dired.el (dired-mode): Fix up the doc string as suggested by
12400 Drew Adams (bug#8817).
12401
5bd35902
LMI
12402 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12403 cookie, since the manual says that it should be possible to add
12404 this function to `find-file-hook' (bug#8709).
12405
eee8207a
TZ
124062011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12407
12408 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12409 here. Noted Ted Zlatanov as the maintainer.
12410 (cfengine-common-settings, cfengine-common-syntax): New functions
12411 to set up common things between `cfengine-mode' and
12412 `cfengine3-mode'.
12413 (cfengine3-mode): New mode.
12414 (cfengine3-defuns cfengine3-defuns-regex
12415 (cfengine3-class-selector-regex cfengine3-category-regex)
12416 (cfengine3-vartypes cfengine3-font-lock-keywords)
12417 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12418 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12419
36b148cf
MA
124202011-07-01 Michael Albinus <michael.albinus@gmx.de>
12421
12422 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12423
12424 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12425
0bf4ba9a
MR
124262011-07-01 Martin Rudalics <rudalics@gmx.at>
12427
12428 * window.el (same-window-buffer-names, same-window-regexps)
12429 (same-window-p, special-display-frame-alist)
12430 (special-display-popup-frame, special-display-function)
12431 (special-display-buffer-names, special-display-regexps)
12432 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12433 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12434 (split-window-preferred-function, split-height-threshold)
12435 (split-width-threshold, even-window-heights)
12436 (display-buffer-mark-dedicated, window-splittable-p)
12437 (split-window-sensibly, window-safely-shrinkable-p):
12438 Un-obsolete.
12439 (display-buffer): Don't spread args with function specifier
12440 because special-display-popup-frame won't like it.
12441
35837f51
PE
124422011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12443
d0672f86
PE
12444 Time-stamp simplifications and fixes.
12445 These improve accuracy slightly, and future-proof the code
12446 against some potential changes to current-time format.
12447
b9444d97
PE
12448 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12449 by using time-since and float-time.
12450
0ef923dc
PE
12451 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12452 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12453 + NNN microseconds".
12454
2f81380d
PE
12455 * type-break.el (type-break-time-sum): Rewrite using time-add.
12456
845b5c3e
PE
12457 * play/hanoi.el (hanoi-current-time-float): Remove.
12458 All uses replaced by float-time.
12459
ee6f1be0
PE
12460 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12461 This yields a more-accurate answer.
12462 (rng-time-to-float): Remove; no longer needed.
12463
fe955043
PE
12464 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12465
5777162a
PE
12466 * calendar/timeclock.el (timeclock-seconds-to-time):
12467 Defalias to seconds-to-time, since they're the same thing.
12468
3103f8b6 12469 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12470 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12471 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12472
0e61a35f
SM
124732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12474
12475 * window.el (bury-buffer): Don't iconify the only frame.
12476 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12477 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12478
ddd63a1e
CY
124792011-07-01 Chong Yidong <cyd@stupidchicken.com>
12480
0e61a35f
SM
12481 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12482 Add mouse-yank-primary.
ddd63a1e 12483
055f4923
TZ
124842011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12485
12486 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12487
6a2fb145
SM
124882011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12489
12490 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12491 (find-library-name): Use it to find relative load names when provided
12492 absolute file name (bug#8803).
12493
fd4983f2
LMI
124942011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12495
887d14ad
LMI
12496 * textmodes/flyspell.el (flyspell-word): Consider words that
12497 differ only in case as potential doublons (bug#5687).
12498
c53dc7fc
LMI
12499 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12500 Remove two rather uninteresting debugging-like messages to make
12501 debbugs.el more silent.
12502
fd4983f2
LMI
12503 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12504 a password-like phrase.
12505
7a71b18d 125062011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12507
12508 * progmodes/cc-guess.el: New file.
12509
6a2fb145 12510 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12511
12512 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12513 derived from `c-basic-common-init'.
12514
12515 * progmodes/cc-mode.el (top-level): Require cc-guess.
12516 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12517
1fa280a3
LM
125182011-06-30 Lawrence Mitchell <wence@gmx.li>
12519
12520 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12521
e6597158
AM
125222011-06-30 Alan Mackenzie <acm@muc.de>
12523
1fa280a3
LM
12524 * progmodes/cc-engine.el (c-guess-continued-construct):
12525 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12526 lock is disabled. Name this case as "CASE G".
12527
68ba37fb
KM
125282011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12529
12530 * allout.el (allout-yank-processing): Fix injection of extra space
12531 between bullet and non-whitespace character in first topic when
12532 pasting, ensuring that the actual spacing in the pasted topic
12533 following the bullet char is preserved. This extra space was
12534 causing pasted encrypted topics to get a decrypted status even
12535 when the content was actually still encrypted. Now the decryption
12536 status from before the paste is preserved.
12537
12538 (allout-flag-region): Set all allout overlays so they evaporate
12539 when reduced to zero length (evanescent), to prevent overlay
12540 leakage.
12541
887a0b34
GM
125422011-06-30 Glenn Morris <rgm@gnu.org>
12543
94b9acce
GM
12544 * w32-fns.el (w32-charset-info-alist): Declare.
12545
1d9b46d4
GM
12546 * find-dired.el (find-grep-options): Simplify.
12547
cc232200
GM
12548 * term/ns-win.el (ns-set-resource): Declare.
12549
28e77c46
GM
12550 * ses.el (row, col): Declare dynamic variables honestly.
12551
887a0b34
GM
12552 * textmodes/reftex-parse.el (index-tags): Declare.
12553
658d8eb8
CY
125542011-06-30 Chong Yidong <cyd@stupidchicken.com>
12555
12556 * cus-edit.el (customize-push-and-save): New function.
12557
12558 * files.el (hack-local-variables-confirm): Use it.
12559
1fa280a3
LM
12560 * custom.el (load-theme): New arg NO-CONFIRM.
12561 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12562 (custom-enabled-themes): Doc fix.
12563
12564 * cus-theme.el (customize-create-theme)
12565 (custom-theme-merge-theme): Callers to load-theme changed.
12566
bb617717
LMI
125672011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12568
d61bdd5d
LMI
12569 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12570 short URLs have at least one dot in them (bug #7614).
12571
bb617717
LMI
12572 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12573 nil, because using a pty is apparently too slow (bug #895).
12574
2f31f37a
LMI
125752011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12576
12577 * mail/sendmail.el (sendmail-query-once): New function.
12578 (sendmail-query-once-function): New variable.
12579
3076b24e
GM
125802011-06-29 Glenn Morris <rgm@gnu.org>
12581
faf2a174
GM
12582 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12583
3076b24e
GM
12584 * ses.el (top-level): Require cl when compiling.
12585 (ses-set-localvars): Fix error statement.
12586 Call it at compile time to silence a storm of warnings.
12587
5386012d
MR
125882011-06-29 Martin Rudalics <rudalics@gmx.at>
12589
12590 * window.el (normalize-live-buffer): Rename to
12591 window-normalize-buffer.
12592 (normalize-live-frame): Rename to window-normalize-frame.
12593 (normalize-any-window): Rename to window-normalize-any-window.
12594 (normalize-live-window): Rename to window-normalize-live-window.
12595 (make-window-atom): Rename to window-make-atom.
12596 (window-resize-reset): Rename to window--resize-reset.
12597 (window-resize-reset-1): Rename to window--resize-reset-1.
12598 (resize-mini-window): Rename to window--resize-mini-window.
12599 (resize-subwindows-skip-p): Rename to
12600 window--resize-subwindows-skip-p.
12601 (resize-subwindows-normal): Rename to
12602 window--resize-subwindows-normal.
12603 (resize-subwindows): Rename to window--resize-subwindows.
12604 (resize-other-windows): Rename to window--resize-siblings.
12605 (resize-this-window): Rename to window--resize-this-window.
12606 (resize-root-window): Rename to window--resize-root-window.
12607 (resize-root-window-vertically): Rename to
12608 window--resize-root-window-vertically.
12609 (normalize-buffer-to-display): Rename to
12610 window-normalize-buffer-to-display.
12611 (normalize-buffer-to-switch-to): Rename to
12612 window-normalize-buffer-to-switch-to.
12613 Correspondingly update all callers of the functions listed
12614 above.
12615 (display-buffer-alist, display-buffer-normalize-arguments)
12616 (display-buffer-normalize-options, display-buffer)
12617 (display-buffer-alist-set): Use "function" instead of
12618 "fun-with-args".
12619
1176868d
CY
126202011-06-28 Chong Yidong <cyd@stupidchicken.com>
12621
12622 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12623 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12624 debbugs.gnu.org. Mention acknowledgment email.
12625
20a7a65f
LMI
126262011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12627
12628 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12629 buffer multibyteness, since it shouldn't matter.
12630
5f45cca5
MR
126312011-06-28 Martin Rudalics <rudalics@gmx.at>
12632
12633 * window.el (display-buffer-in-side-window): Handle dedicated
12634 windows as in display-buffer-reuse-window.
12635 (display-buffer-normalize-alist): Use value of override
12636 specifier.
12637 (display-buffer-normalize-specifiers): Use value of
12638 other-window-means-other-frame specifier.
12639 (display-buffer-alist): Rewrite some texts in widgets.
12640 (display-buffer): Spread arguments when calling function
12641 specified by fun-with-args.
12642
ad85fe1f
DD
126432011-06-28 Deniz Dogan <deniz@dogan.se>
12644
1fa280a3
LM
12645 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12646 Unnest `let'.
da68c4c8 12647
ad85fe1f
DD
12648 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12649 selectors (Bug#5732).
ec49bd31 12650 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12651
a08cc025
JA
126522011-06-27 Jari Aalto <jari.aalto@cante.net>
12653
12654 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12655 (eshell-ls-date-format): New defcustom.
12656 (eshell-ls-file): Use it.
12657
e2b551c5
SM
126582011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12659
12660 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12661
8982b231
KY
126622011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12663
12664 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12665 (ange-ftp-make-tmp-name): New arg.
12666 (ange-ftp-file-local-copy): Use it.
12667
36c9fa27
J
126682011-06-27 Jambunathan K <kjambunathan@gmail.com>
12669
12670 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12671 no-conversion (Bug#8870).
12672
d68443dc
MR
126732011-06-27 Martin Rudalics <rudalics@gmx.at>
12674
12675 * window.el (window-right, window-left, window-child)
12676 (window-child-count, window-last-child)
12677 (window-iso-combination-p, walk-window-tree-1)
12678 (window-atom-check-1, window-tree-1, delete-window)
12679 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12680 new naming conventions - window-vchild, window-hchild,
12681 window-next and window-prev are now called window-top-child,
12682 window-left-child, window-next-sibling and window-prev-sibling
12683 respectively.
d615d6d2
MR
12684 (resize-window-reset): Rename to window-resize-reset.
12685 (resize-window-reset-1): Rename to window-resize-reset-1.
12686 (resize-window): Rename to window-resize.
12687 (window-min-height, window-min-width)
12688 (resize-mini-window, resize-this-window, resize-root-window)
12689 (resize-root-window-vertically, adjust-window-trailing-edge)
12690 (enlarge-window, shrink-window, maximize-window)
12691 (minimize-window, delete-window, quit-restore-window)
12692 (split-window, balance-windows, balance-windows-area-adjust)
12693 (balance-windows-area, window-state-put-2)
12694 (display-buffer-even-window-sizes, display-buffer-set-height)
12695 (display-buffer-set-width, set-window-text-height)
12696 (fit-window-to-buffer): Rename all "resize-window" prefixed
12697 calls to use the "window-resize" prefix convention.
12698 (display-buffer-alist): Fix symbol for label specifier.
12699 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12700 corresponding specifier.
12701 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12702
b6458526
VB
127032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12704
12705 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12706 convention.
12707 (ses-call-printer): Does not pass an empty string to formatter when the
12708 cell is empty to keep from barking printer Calc math-format-value.
12709
d31fd9ac
RS
127102011-06-27 Richard Stallman <rms@gnu.org>
12711
43d5bf84
RS
12712 * battery.el (battery-mode-line-limit): New variable.
12713 (battery-update): Handle it.
12714
d31fd9ac
RS
12715 * mail/rmailmm.el (rmail-mime-process-multipart):
12716 Handle truncated messages.
12717
819a6054
GM
127182011-06-27 Glenn Morris <rgm@gnu.org>
12719
12720 * progmodes/flymake.el (flymake-err-line-patterns):
12721 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12722
cedc73f2
VB
127232011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12724
819a6054 12725 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12726 (ses--clean-!, ses--clean-_): New functions.
12727 (ses-range): Add configurability of readout order, and conversion
12728 to Calc vector.
12729
5e5d49b6
VB
12730 * ses.el (ses-repair-cell-reference-all): New function.
12731 (ses-cell-symbol): Set macro as safe, so that it can be used in
12732 formulas.
12733
56e6cc31 12734 * ses.el: Update cycle detection algorithm.
90ca8b49 12735 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12736 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12737 (ses-set-localvars): New function.
12738 (ses-make-cell): Add property-list as a cell element.
12739 (ses-cell-property-get-fun, ses-cell-property-get)
12740 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12741 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12742 New functions.
90ca8b49
VB
12743 (ses-cell-property-set, ses-cell-property-pop)
12744 (ses-cell-property-get-handle): New macro.
12745 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12746 New aliases, used for code readability.
12747 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12748 cycle detection.
12749 (ses-self-reference-early-detection): New defcustom.
fac916bf 12750 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12751 (ses-mode): Use ses-set-localvars.
12752 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12753 before lauching the update processing.
12754 (ses-initialize-Dijkstra-attempt): New function.
12755 (ses-recalculate-cell): Update for cycle detection based on
12756 Dijkstra algorithm.
12757
2bb63e81
VB
12758 * ses.el: Fix commenting and indenting convention.
12759
c9d29fb8
SM
127602011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12761
12762 * bs.el (bs-cycle-next): Complete last change.
12763
d8e4b68b
JB
127642011-06-27 Drew Adams <drew.adams@oracle.com>
12765
12766 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12767
40098786
LMI
127682011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12769
c9d29fb8
SM
12770 * net/network-stream.el (network-stream-open-starttls):
12771 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12772 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12773
40098786
LMI
12774 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12775 to binary to possibly avoid line encoding issues on Windows (among
12776 other things).
12777
468d09d4
LMI
127782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12779
12780 * net/network-stream.el (open-network-stream): Return an :error
12781 saying what the problem was, if possible.
12782
12783 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12784 server.
12785
12786 * net/network-stream.el (network-stream-open-starttls): If we
12787 wanted to use STARTTLS, and the server offered it, but we weren't
12788 able to because we had no STARTTLS support, then close the connection.
12789 (open-network-stream): Return an :error element, if present.
12790
16f07dd7
CY
127912011-06-26 Chong Yidong <cyd@stupidchicken.com>
12792
88821ca0
CY
12793 * hl-line.el (hl-line-sticky-flag): Doc fix.
12794 (global-hl-line-sticky-flag): New option (Bug#8323).
12795 (global-hl-line-highlight): Obey it.
12796
16f07dd7
CY
12797 * vc/vc.el (vc-revert-show-diff): Default to t.
12798
6b5ccddf
KM
127992011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12800
c9d29fb8
SM
12801 * allout-widgets.el (allout-widgets-post-command-business):
12802 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12803 undecorated when an isearch is continued past, and isearch
12804 automatically collapses them. This leads to "widget leaks", where
12805 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12806 hidden widgets can slow down cursor travel, substantially.
12807 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12808 so we're doing without this nicety.
12809
12810 (allout-widgets-tally-string): Don't try to do a hash-table-count
12811 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12812 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12813 *Messages* when allout-widgets-maintain-tally is t.
12814
355f2e07
MR
128152011-06-26 Martin Rudalics <rudalics@gmx.at>
12816
12817 * window.el (display-buffer-normalize-argument): Rename to
12818 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12819 LABEL argument. Respect special-display-function when popping up
12820 a new frame. Fix code searching for a window showing the buffer
12821 on another frame.
c9d29fb8
SM
12822 (display-buffer-normalize-specifiers):
12823 Call display-buffer-normalize-arguments.
355f2e07
MR
12824 (display-buffer-in-window): Don't undedicate the window if its
12825 buffer remains the same.
12826 Reported by Drew Adams <drew.adams@oracle.com>.
12827 (display-buffer-alist): Add choice for same-window macro
12828 specfier.
12829 (display-buffer): Mention special meaning of LABEL argument in
12830 doc-string. Fix quoting. Don't pop up a new frame even as
12831 fallback.
12832
7ca8fc42
JB
128332011-06-26 Juanma Barranquero <lekktu@gmail.com>
12834
12835 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12836 avoid deleting the current window in some cases (bug#8911).
12837
bc312254
AS
128382011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12839
12840 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12841 (Bug#8934)
12842
2db18f3f
LMI
128432011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12844
c9d29fb8
SM
12845 * net/network-stream.el (network-stream-open-starttls):
12846 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12847 (network-stream-open-tls): Ditto.
12848
6302e0d3
LL
128492011-06-26 Leo Liu <sdl.web@gmail.com>
12850
12851 * register.el (registerv): New struct.
12852 (registerv-make): New function.
c9d29fb8
SM
12853 (jump-to-register, describe-register-1, insert-register):
12854 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12855 struct. (Bug#8415)
12856
5fdd4046
CY
128572011-06-26 Chong Yidong <cyd@stupidchicken.com>
12858
2afef60a
CY
12859 * vc/vc.el (vc-revert-show-diff): New defcustom.
12860 (vc-diff-internal): New arg specifying diff buffer.
12861 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12862 reuse an existing *vc-diff* buffer (Bug#8927).
12863
5fdd4046
CY
12864 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12865
e93db24a
GM
128662011-06-26 Glenn Morris <rgm@gnu.org>
12867
12868 * progmodes/f90.el (f90-critical-indent): New option.
12869 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12870 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12871 (f90-mode): Doc fix.
12872 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12873 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12874 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12875 (f90-match-end): Handle block, critical.
12876
eefff499
GM
128772011-06-25 Glenn Morris <rgm@gnu.org>
12878
f6ba4cc9
GM
12879 * calendar/diary-lib.el (diary-included-files): Doc fix.
12880 (diary-include-files): New function, extracted from
12881 diary-include-other-diary-files and diary-mark-included-diary-files.
12882 (diary-include-other-diary-files, diary-mark-included-diary-files):
12883 Just call diary-include-files.
12884 (diary-mark-entries): Reset diary-included-files on first call.
12885
16712304
GM
12886 * calendar/diary-lib.el (diary-mark-entries)
12887 (diary-mark-included-diary-files):
12888 Visit included diary-files in temp buffers.
12889
5d8e0d43
GM
12890 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12891 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12892 (f90-start-block-re, f90-imenu-generic-expression)
12893 (f90-looking-at-program-block-start, f90-no-block-limit):
12894 Add support for submodules.
12895
ccf7a5d5
GM
12896 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12897 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12898
11fdef7d 128992011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12900
12901 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12902 buffer-file-type before setting its value, to avoid disastrous
eefff499 12903 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12904
74f53697
JB
129052011-06-25 Juanma Barranquero <lekktu@gmail.com>
12906
12907 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12908
12909 * ses.el (ses-unload-function):
12910 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12911
12912 * proced.el (proced-unload-function):
12913 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12914
18a4ce5e
AR
129152011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12916
12917 * server.el (server-create-window-system-frame): Add parameters arg.
12918 (server-process-filter): Doc fix. Handle frame-parameters.
12919
519d22cc
JB
129202011-06-25 Juanma Barranquero <lekktu@gmail.com>
12921
12922 Fix bug#8730, bug#8781.
12923
12924 * loadhist.el (unload--set-major-mode): New function.
12925 (unload-feature): Use it.
12926
12927 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12928 (python-unload-function): New function.
12929
c206f5b0
SM
129302011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12931
12932 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12933
f9ad64f3
GS
129342011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12935
12936 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12937 the candidates list.
12938
7d0da90e
JB
129392011-06-24 Juanma Barranquero <lekktu@gmail.com>
12940
12941 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12942
14b4e83d
RS
129432011-06-23 Richard Stallman <rms@gnu.org>
12944
12945 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12946 (rmail-variables): Set next-error-move-function.
12947 (rmail-what-message): Take argument POS.
12948 (rmail-next-error-move): New function.
12949
273d2baf
SM
129502011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12951
12952 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12953 messages for adjacent non-terminals.
12954
56c2cc9a
RS
129552011-06-23 Richard Stallman <rms@gnu.org>
12956
12957 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12958 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12959 (rmail-start-mail): Don't specify use of rmail-mail-return;
12960 that's done by mail-bury now.
12961 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12962
d59eb518
MA
129632011-06-23 Michael Albinus <michael.albinus@gmx.de>
12964
12965 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12966 SIZE is a number.
12967
02cfc6d6
MR
129682011-06-23 Martin Rudalics <rudalics@gmx.at>
12969
12970 * window.el (get-lru-window, get-mru-window)
12971 (get-largest-window): Never return a minibuffer window.
12972 (display-buffer-pop-up-window): Fix a bug that could lead to
12973 reusing the minibuffer window.
12974 (display-buffer): Pass original specifier argument to
12975 display-buffer-function instead of the normalized one.
12976 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12977
4e323265
LL
129782011-06-22 Leo Liu <sdl.web@gmail.com>
12979
12980 * minibuffer.el (completing-read-function)
12981 (completing-read-default): Move from minibuf.c
12982
7a70468f
RS
129832011-06-22 Richard Stallman <rms@gnu.org>
12984
50718fc2
RS
12985 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12986 to Rmail even if not started by a special Rmail command.
12987
7a70468f
RS
12988 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12989 Copy the buffer currently showing just one message.
12990
297dde5a
RW
129912011-06-22 Roland Winkler <winkler@gnu.org>
12992
12993 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12994 (bibtex-clean-entry): First delete the old key so that a
12995 customized algorithm for generating the new key does not get
12996 confused by the old key.
12997 (bibtex-url): Obey regexp of first step.
12998 (bibtex-search-entries): Do not use add-to-list with local
12999 list-var.
13000
97bb1093
LMI
130012011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13002
13003 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13004 stored a user name, then query for the password first, instead of
13005 waiting for SMTP to give an error message and the trying again.
13006
1c0f1a19
JD
130072011-06-22 Lawrence Mitchell <wence@gmx.li>
13008
13009 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13010 BUFFER in call-process.
13011
396f7c9d
LMI
130122011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13013
13014 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13015 QUIT twice.
ddb7ffee
LMI
13016 (smtpmail-try-auth-methods): Require user name and password from
13017 auth-source.
396f7c9d 13018
8998d1b3
MR
130192011-06-22 Martin Rudalics <rudalics@gmx.at>
13020
13021 * window.el (display-buffer-default-specifiers)
13022 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13023 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13024 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13025
13026 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13027 (special-display-frame-alist, special-display-popup-frame):
13028 Remove duplicate declarations. These are now in window.el.
13029
4ea31e07
LMI
130302011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13031
c9d29fb8
SM
13032 * mail/smtpmail.el (smtpmail-via-smtp):
13033 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13034 server supports it. SMTP servers that support STARTTLS commonly
13035 require it.
13036
13037 * net/network-stream.el (network-stream-open-starttls): Support
13038 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13039 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13040
95f41d9a
LMI
13041 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13042 upgrades with `open-network-stream', and rely solely on
13043 auth-source for all credentials. Big changes throughout the file,
13044 but in particular:
c9d29fb8
SM
13045 (smtpmail-auth-credentials): Remove.
13046 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13047 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13048 MAIL FROM, too.
95f41d9a 13049
c9d29fb8
SM
13050 * net/network-stream.el (network-stream-open-starttls):
13051 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13052 STARTTLS.
13053 (auth-source): Require.
13054 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13055 (network-stream-certificate): Change cert-cert to cert and
13056 cert-key to key.
4ea31e07 13057
065ec2c7
MA
130582011-06-21 Michael Albinus <michael.albinus@gmx.de>
13059
13060 * net/tramp-cache.el (top): Don't load the persistency file when
13061 "emacs -Q" has been called.
13062
cd93b359
DR
130632011-06-21 Tim Harper <timcharper@gmail.com>
13064
d8e4b68b
JB
13065 * term/ns-win.el (ns-initialize-window-system):
13066 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13067 resource to NO as it is not yet supported by the NS port.
13068
ae9c0411
JB
130692011-06-21 Juanma Barranquero <lekktu@gmail.com>
13070
13071 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13072 (list-dynamic-libraries): ...not here.
13073
7f3f739f
LL
130742011-06-21 Leo Liu <sdl.web@gmail.com>
13075
13076 * subr.el (sha1): Implement sha1 using secure-hash.
13077
327c8fb1
MR
130782011-06-21 Martin Rudalics <rudalics@gmx.at>
13079
13080 * window.el (display-buffer-alist): In default value do not
13081 enforce searching a window on any but the selected frame.
13082 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13083 (display-buffer-select-window): Remove function.
13084 (display-buffer-in-window): When a window on another frame gets
13085 reused, do not select it any more but just raise its frame if
13086 necessary (Bug#8851) and (Bug#8856).
13087 (display-buffer-normalize-options): Handle pop-up-frames related
13088 options more faithfully.
13089 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13090 window if it is on another frame.
c9d29fb8
SM
13091 (display-buffer-alist, display-buffer-default-specifiers):
13092 Don't make new frame unsplittable by default.
9e9de014
MR
13093 (display-buffer-normalize-argument): Fix doc-string typo and use
13094 'same-frame-other-window instead of 'other-window when associating
13095 with display-buffer-macro-specifiers.
327c8fb1 13096
7cf3f556
VB
130972011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13098
13099 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13100 New functions.
13101 (5x5-mode-map, 5x5-mode-menu): Bind them.
13102 (5x5-draw-grid): Tweak the solver's rendering.
13103
60a406cf
SM
131042011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13105
13106 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13107 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13108
d8e4b68b 131092011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13110
13111 * menu-bar.el: Use function variable instead of switch-to-buffer.
13112 (menu-bar-select-buffer-function): New variable.
60a406cf 13113 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13114
478d6f95
SM
131152011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13116
13117 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13118 variable's status.
13119
ca530739
JD
131202011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13121
13122 * x-dnd.el (x-dnd-version-from-flags)
13123 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13124 and long as number (Bug#8899).
13125 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13126
bcd70d97
SM
131272011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13128
60a406cf 13129 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13130 (completion-try-completion, completion-all-completions): Compute the
13131 metadata argument if it's missing; make it optional (bug#8795).
13132
60a406cf 13133 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13134 (widget-complete): Use new :completion-function property.
13135 (widget-completions-at-point): New function.
13136 (default): Use :completion-function instead of :complete.
60a406cf
SM
13137 (widget-default-completions): Rename from widget-default-complete;
13138 Rewrite.
bcd70d97
SM
13139 (widget-string-complete, widget-file-complete, widget-color-complete):
13140 Remove functions.
13141 (file, symbol, function, variable, coding-system, color):
13142 * international/mule-cmds.el (default-input-method, charset)
13143 (language-info-custom-alist):
13144 * cus-edit.el (face): Use new property :completions.
13145
13146 * progmodes/pascal.el (pascal-completions-at-point): New function.
13147 (pascal-mode): Use it.
13148 (pascal-mode-map): Use completion-at-point.
13149 (pascal-toggle-completions): Make obsolete.
13150 (pascal-complete-word, pascal-show-completions):
13151 * progmodes/octave-mod.el (octave-complete-symbol):
13152 Redefine as obsolete alias.
13153 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13154 Signal absence of completion info for old Octave,
13155 (inferior-octave-complete): Redefine as obsolete alias.
13156 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13157 (meta-completions-at-point): Rename from meta-complete-symbol and
13158 adapt it for use on completion-at-point-functions.
13159 (meta-common-mode): Use it.
13160 (meta-looking-at-backward, meta-match-buffer): Remove.
13161 (meta-complete-symbol): Redefine as obsolete alias.
13162 (meta-common-mode-map): Use completion-at-point.
13163 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13164 (makefile-mode-map): Use completion-at-point.
13165 (makefile-completions-at-point): Rename from makefile-complete and
13166 adapt it for use on completion-at-point-functions.
13167 (makefile-mode): Use it.
13168 (makefile-complete): Redefine as obsolete alias.
13169
aebf69c8
DD
131702011-06-20 Deniz Dogan <deniz@dogan.se>
13171
13172 * net/rcirc.el: Delete trailing whitespaces once and for all.
13173
bfbbb27d
DC
131742011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13175
13176 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13177
d264a46b
CY
131782011-06-19 Chong Yidong <cyd@stupidchicken.com>
13179
4ca009e5
CY
13180 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13181
d264a46b
CY
13182 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13183
fbf5b3ce
MR
131842011-06-19 Martin Rudalics <rudalics@gmx.at>
13185
13186 * window.el (display-buffer-other-window-means-other-frame):
13187 Call display-buffer-normalize-alist.
13188 (display-buffer-normalize-specifiers-1): Rename to
13189 display-buffer-normalize-argument. New argument other-frame.
13190 Rewrite.
13191 (display-buffer-normalize-specifiers-2): Rename to
13192 display-buffer-normalize-options.
13193 (display-buffer-normalize-alist-1): New function.
13194 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13195 display-buffer-normalize-alist.
13196 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13197 (display-buffer-normalize-options-inhibit): New variable.
13198 (display-buffer-normalize-specifiers): Rewrite calling
13199 display-buffer-normalize-alist,
13200 display-buffer-normalize-argument, and
13201 display-buffer-normalize-options. Don't call the latter if
13202 display-buffer-normalize-options-inhibit is non-nil.
13203 (frame-auto-delete): New option.
13204 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13205 (window-list-no-nils, window-state-ignored-parameters)
13206 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13207 (window-state-put-1, window-state-put-2, window-state-put):
13208 New functions.
9a028c23
MR
13209 (display-buffer-normalize-options): Move special-display-p group
13210 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13211
6d10d800
CY
132122011-06-18 Chong Yidong <cyd@stupidchicken.com>
13213
6420d28b
CY
13214 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13215 groups (Bug#8776).
13216 (rx-submatch-n): New function.
13217 (rx): Document it.
13218
ddb8b596
CY
13219 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13220 (Bug#8768).
13221
13222 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13223
77080289
CY
13224 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13225
61dfb316
CY
13226 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13227 anytime existing face settings are present (Bug#8889).
13228
6d10d800
CY
13229 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13230 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13231 Remove unused argument.
13232
be3fb2b8
MR
132332011-06-18 Martin Rudalics <rudalics@gmx.at>
13234
bcd70d97
SM
13235 * window.el (display-buffer-default-specifiers):
13236 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13237 pop-up-window-min-width, and another reuse-window specifier
13238 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13239 (display-buffer-normalize-specifiers-2):
13240 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13241 pop-up-windows is unset. Add a reuse-window specifier for the
13242 case popping up a new window fails.
13243 (special-display-popup-frame): Remove double quoting.
28dec25a 13244 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13245
1c6d8c76
SM
132462011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13247
13248 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13249 according to comint-completion-addsuffix.
13250
13251 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13252 (pcomplete-suffix-list): Mark as obsolete.
13253 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13254 pcomplete-seen in the closure.
13255 (pcomplete-comint-setup): Setup completion-at-point as well.
13256 (pcomplete--entries): New function.
13257 (pcomplete--env-regexp): New var.
13258 (pcomplete-entries): Rewrite to work with partial-completion and
13259 without relying on pcomplete-suffix-list.
13260 (pcomplete-pare-list): Remove, unused.
13261
25aef8b8
MR
132622011-06-17 Martin Rudalics <rudalics@gmx.at>
13263
13264 * window.el (display-buffer-alist): Set pop-up-window-min-height
13265 and pop-up-window-min-width in default value. Reported by
13266 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13267 other-window-means-other-frame.
13268 (display-buffer-macro-specifiers): Comment out entry for
13269 other-window specifier.
13270 (display-buffer-other-window-means-other-frame): New function.
13271 (display-buffer-normalize-specifiers-1): New arguments
13272 buffer-name and label. Treat other-window case specially.
13273 (display-buffer-normalize-specifiers-2): Treat other-window case
13274 specially.
13275 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13276 (display-buffer-normalize-specifiers):
13277 Call display-buffer-normalize-specifiers-3.
25aef8b8 13278
dbad4f69
MR
132792011-06-17 Martin Rudalics <rudalics@gmx.at>
13280
13281 * window.el (same-window-p): Fix two typos introduced when
13282 adding with-no-warnings.
d1067961
MR
13283 (display-buffer-normalize-specifiers-1): Don't check
13284 pop-up-frames for 'unset initialization.
13285 (display-buffer-normalize-specifiers-2): Major rewrite using
13286 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13287 (pop-up-frames, display-buffer-reuse-frames)
13288 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13289 Suggested by David Engster <deng@randomsample.de>.
13290 (even-window-heights): Initialize to 'unset.
13291 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13292 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13293 other window case.
dbad4f69 13294
9b9c9e3a
MR
132952011-06-16 Martin Rudalics <rudalics@gmx.at>
13296
bcd70d97
SM
13297 * window.el (display-buffer-normalize-specifiers-1):
13298 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13299 second argument of display-buffer (Bug#8865).
981d5c09
MR
13300 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13301 (switch-to-buffer-other-window-same-frame)
13302 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13303 Adams (Bug#8875).
9c2755e9
MR
13304 (display-buffer): Don't check noninteractive when calling
13305 display-buffer-pop-up-frame.
13306 (display-buffer-pop-up-frame): Never pop up a frame in
13307 noninteractive mode (Bug#8857).
67222e1d
MR
13308 (enlarge-window, shrink-window): Don't report an error when the
13309 window can't be resized as requested (Bug#8862).
9b9c9e3a 13310
2b75be67
SM
133112011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13312
9ffdd3ba
SM
13313 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13314
cb581a67
SM
13315 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13316
2b75be67
SM
13317 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13318
8c0e3589
AM
133192011-06-15 Alan Mackenzie <acm@muc.de>
13320
cb581a67
SM
13321 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13322 for declarators, disable knr checking to speed up for normal files.
13323 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13324
b96e6cde
LMI
133252011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13326
4bba86e6
LMI
13327 * net/network-stream.el (open-network-stream): Add the keyword
13328 :always-query-capabilities for the case where you want to force a
13329 `plain' network connection, but the protocol still requires the
13330 capabilitiy command (i.e., SMTP and EHLO).
13331
2b75be67 13332 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13333 consistency with other `-live-p' functions.
13334
efdcdbf8
SM
133352011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13336
13337 * window.el (same-window-buffer-names, same-window-regexps)
13338 (special-display-frame-alist, special-display-popup-frame)
13339 (special-display-function, special-display-buffer-names)
13340 (special-display-regexps, pop-up-frame-alist)
13341 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13342 (pop-up-windows, split-window-preferred-function)
13343 (split-height-threshold, split-width-threshold, even-window-heights)
13344 (display-buffer-mark-dedicated): Don't encourage the use of
13345 display-buffer-alist from Elisp code.
13346
c5cde042
DN
133472011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13348
13349 * progmodes/python.el (python-mode): Derive from prog-mode.
13350 * progmodes/ps-mode.el (ps-mode):
13351 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13352 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13353 * progmodes/ld-script.el (ld-script-mode): Likewise.
13354
baa1c9ab
MR
133552011-06-15 Martin Rudalics <rudalics@gmx.at>
13356
13357 * window.el (display-buffer-alist): Trim default value to avoid
13358 popping up a new frame (Bug#8857) or reusing an arbitrary window
13359 on another frame.
13360 (display-buffer): Do not fall back on popping up a new frame in
13361 batch mode (Bug#8857).
13362
c5dd5a51
CY
133632011-06-14 Chong Yidong <cyd@stupidchicken.com>
13364
13365 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13366 (custom-theme-summary): New function.
13367 (customize-themes): Use it.
13368
d647b7c4
GM
133692011-06-13 Glenn Morris <rgm@gnu.org>
13370
13371 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13372
9481c002
MR
133732011-06-13 Martin Rudalics <rudalics@gmx.at>
13374
357f93d2
MR
13375 * help.el (help-window): Remove variable.
13376 (help-window-point-marker, temp-buffer-max-height)
13377 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13378 (help-print-return-message): Don't set help-window.
13379 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13380 (help-window-setup-finish): Remove.
13381 (help-window-display-message, help-window-setup)
13382 (with-help-window): Major rewrite based on new
13383 display-buffer-window variable.
13384
13385 * help-mode.el (help-mode-finish): Remove help-window related
13386 code.
13387
13388 * view.el (view-exits-all-viewing-windows): Remove reference to
13389 view-return-to-alist in doc-string.
13390 (view-return-to-alist): Make obsolete.
13391 (view-buffer): Call pop-to-buffer-same-window and remove
13392 undo-window code.
13393 (view-buffer-other-window): Call pop-to-buffer-other-window and
13394 simplify code. Ignore second argument.
13395 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13396 simplify code. Ignore second argument.
13397 (view-return-to-alist-update): Make obsolete.
13398 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13399 Rewrite using quit-restore window parameters.
2b75be67
SM
13400 (view-mode-exit): Rename second argument to EXIT-ONLY.
13401 Rewrite using quit-restore-window.
357f93d2
MR
13402 (View-exit, View-exit-and-edit, View-leave, View-quit)
13403 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13404 appropriate arguments.
13405 (view-end-message): Use quit-restore window parameter.
13406
9481c002
MR
13407 * window.el (display-buffer-function): Rewrite doc-string.
13408 (display-buffer-window, display-buffer-alist): New variables.
13409 (display-buffer-split-specifiers)
13410 (display-buffer-side-specifiers)
13411 (display-buffer-macro-specifiers): New constants.
13412 (display-buffer-even-window-sizes, display-buffer-set-height)
13413 (display-buffer-set-width, display-buffer-select-window)
13414 (display-buffer-in-window, display-buffer-reuse-window)
13415 (display-buffer-split-window-1, display-buffer-split-window)
13416 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13417 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13418 (display-buffer-in-side-window, normalize-buffer-to-display)
13419 (display-buffer-normalize-specifiers-1)
13420 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13421 (display-buffer-normalize-specifiers, display-buffer-frame):
13422 New functions.
9481c002
MR
13423 (display-buffer): Major rewrite.
13424 (display-buffer-other-window, display-buffer-other-frame)
13425 (pop-to-buffer, switch-to-buffer-other-window)
13426 (switch-to-buffer-other-frame): Rewrite.
13427 (display-buffer-same-window, display-buffer-same-frame)
13428 (display-buffer-same-frame-other-window)
13429 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13430 (pop-to-buffer-other-window)
13431 (pop-to-buffer-same-frame-other-window)
13432 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13433 (switch-to-buffer-other-window-same-frame): New functions.
13434 (same-window-p, special-display-p): Rewrite disabling warnings.
13435 Make obsolete.
13436 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13437 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13438 Make obsolete
13439 (same-window-buffer-names, same-window-regexps)
13440 (special-display-frame-alist, special-display-popup-frame)
13441 (special-display-function, special-display-buffer-names)
13442 (special-display-regexps, pop-up-frame-alist)
13443 (pop-up-frame-function, split-window-preferred-function)
13444 (split-height-threshold, split-width-threshold)
13445 (even-window-heights): Make obsolete.
13446
9db51aca
GM
134472011-06-12 Glenn Morris <rgm@gnu.org>
13448
13449 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13450 Misc simplifications.
9db51aca 13451
39cffb44
MR
134522011-06-12 Martin Rudalics <rudalics@gmx.at>
13453
13454 * window.el (window-safely-shrinkable-p): Restore function which
13455 was inadvertently removed in change from 2011-06-11. Declare as
13456 obsolete.
13457
2b75be67
SM
13458 * calendar/calendar.el (calendar-generate-window):
13459 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13460 window-safely-shrinkable-p.
13461
a8955be7
GM
134622011-06-12 Glenn Morris <rgm@gnu.org>
13463
13464 * progmodes/fortran.el (fortran-mode-syntax-table):
13465 * progmodes/f90.el (f90-mode-syntax-table):
13466 Set % to punctuation. (Bug#8820)
13467 (f90-find-tag-default): Remove, no longer needed.
13468
f0d4059d
DC
134692011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13470
13471 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13472
1100a63c
CY
134732011-06-11 Chong Yidong <cyd@stupidchicken.com>
13474
13475 * image.el (image-animated-p): Return animation delay in seconds.
13476 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13477 (image-animate-timeout): Remove DELAY argument. Don't assume
13478 every subimage has the same delay; get it from image-animated-p.
13479 (image-animate): Caller changed.
13480
def722bf
MA
134812011-06-11 Michael Albinus <michael.albinus@gmx.de>
13482
13483 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13484 to ignored backtrace functions.
13485
0a2bb1a9
GM
134862011-06-11 Glenn Morris <rgm@gnu.org>
13487
13488 * calendar/appt.el (appt-disp-window-function): Doc fix.
13489 (appt-check): Handle overlapping appointments. (Bug#8337)
13490
6198ccd0
MR
134912011-06-11 Martin Rudalics <rudalics@gmx.at>
13492
13493 * window.el (window-tree-1, window-tree): New functions, moving
13494 the latter to window.el.
13495 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13496 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13497 (bw-refresh-edges): Remove.
13498 (balance-windows-1, balance-windows-2): New functions.
13499 (balance-windows): Rewrite in terms of window tree functions,
13500 balance-windows-1 and balance-windows-2.
13501 (bw-adjust-window): Remove.
13502 (balance-windows-area-adjust): New function with functionality of
13503 bw-adjust-window but using resize-window.
2b75be67
SM
13504 (set-window-text-height): Rewrite doc-string.
13505 Use normalize-live-window and resize-window.
13506 (enlarge-window-horizontally, shrink-window-horizontally):
13507 Rename argument to DELTA.
6198ccd0
MR
13508 (window-buffer-height): New function.
13509 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13510 Rewrite using new window resize routines.
2b75be67
SM
13511 (kill-buffer-and-window, mouse-autoselect-window-select):
13512 Use ignore-errors instead of condition-case.
6198ccd0
MR
13513 (quit-window): Call delete-frame instead of delete-windows-on
13514 for the only buffer on frame.
13515
9397e56f
MR
135162011-06-10 Martin Rudalics <rudalics@gmx.at>
13517
13518 * loadup.el (top-level): Load window before files for the sake
13519 of replace-buffer-in-windows.
13520
13521 * files.el (read-buffer-to-switch)
13522 (switch-to-buffer-other-window)
2b75be67
SM
13523 (switch-to-buffer-other-frame, display-buffer-other-frame):
13524 Move to window.el.
9397e56f
MR
13525
13526 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13527 (previous-buffer): Move to window.el.
13528
13529 * bindings.el (unbury-buffer): Move to window.el.
13530
13531 * window.el (delete-other-windows-vertically): Move after
13532 definition of delete-other-windows.
13533 (other-window, delete-windows-on, replace-buffer-in-windows):
13534 Move here from window.c.
13535 (record-window-buffer, unrecord-window-buffer)
13536 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13537 (switch-to-next-buffer): New functions.
13538 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13539 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13540 (previous-buffer): Move here from simple.el.
13541 Call switch-to-prev-buffer.
9397e56f
MR
13542 (bury-buffer): Move here from buffer.c. Switch to previous
13543 buffer when window cannot be deleted.
13544 (unbury-buffer): Move here from bindings.el.
13545 (ctl-x-map): Move binding for other-window from window.c to
13546 here.
13547 (read-buffer-to-switch, switch-to-buffer-other-window)
13548 (switch-to-buffer-other-frame): Move here from files.el.
13549 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13550 (switch-to-buffer): Move here from buffer.c.
13551 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13552
562dd5e9
MR
135532011-06-10 Martin Rudalics <rudalics@gmx.at>
13554
13555 * window.el (window-min-height, window-min-width): Move here
13556 from window.c. Add defcustoms and rewrite doc-strings.
13557 (resize-mini-window, resize-window): New functions.
13558 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13559 Move here from window.c.
13560 (maximize-window, minimize-window): New functions.
13561 (delete-window, delete-other-windows, split-window): Move here
13562 from window.c.
13563 (window-split-min-size): New function.
13564 (split-window-keep-point): Mention split-window-above-each-other
13565 instead of split-window-vertically.
2b75be67 13566 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13567 Rename split-window-vertically to split-window-above-each-other
13568 and provide defalias for old definition.
13569 (split-window-side-by-side, split-window-horizontally):
13570 Rename split-window-horizontally to split-window-side-by-side
13571 and provide defalias for the old definition.
562dd5e9
MR
13572 (ctl-x-map): Move bindings for delete-window,
13573 delete-other-windows and enlarge-window here from window.c.
13574 Replace bindings for split-window-vertically and
13575 split-window-horizontally by bindings for
13576 split-window-above-each-other and split-window-side-by-side.
13577
13578 * cus-start.el (all): Remove entries for window-min-height and
13579 window-min-width. Add entries for window-splits and
13580 window-nest.
13581
f0da764a
GM
135822011-06-09 Glenn Morris <rgm@gnu.org>
13583
80675c21
GM
13584 * calendar/appt.el (appt-mode-line): New function.
13585 (appt-check, appt-disp-window): Use it.
13586
f0da764a
GM
13587 * files.el (hack-one-local-variable-eval-safep):
13588 Allow minor-modes with explicit +/-1 arguments.
13589
59f623b7
TZ
135902011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13591
13592 * term/xterm.el (xterm): Add defgroup.
13593 (xterm-extra-capabilities): Add defcustom to supply known xterm
13594 capabilities, skip querying them, or query them (default).
13595 (terminal-init-xterm): Use it.
13596 (terminal-init-xterm-modify-other-keys): New function to set up
13597 modifyOtherKeys support to simplify `terminal-init-xterm'.
13598
9aab8e0d
MR
135992011-06-09 Martin Rudalics <rudalics@gmx.at>
13600
13601 * window.el (resize-window-reset, resize-window-reset-1)
13602 (resize-subwindows-skip-p, resize-subwindows-normal)
13603 (resize-subwindows, resize-other-windows, resize-this-window)
13604 (resize-root-window, resize-root-window-vertically)
13605 (window-deletable-p, window-or-subwindow-p)
13606 (frame-root-window-p): New functions.
13607
e8b08aee
GM
136082011-06-09 Glenn Morris <rgm@gnu.org>
13609
13610 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13611 (ange-ftp-get-files): Use it.
13612
254c37a5
AK
136132011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13614
13615 * mail/sendmail.el (mail-recover-1, mail-recover):
13616 * files.el (recover-file, recover-session):
13617 Handle dired-listing-switches not being just a single short option.
13618
35d7dbd3
GM
136192011-06-09 Glenn Morris <rgm@gnu.org>
13620
13621 * calendar/appt.el (appt-display-message, appt-disp-window):
13622 Handle lists of appointments.
13623
387522b2
MR
136242011-06-08 Martin Rudalics <rudalics@gmx.at>
13625
2b75be67
SM
13626 * window.el (one-window-p): Move down in code.
13627 Rewrite doc-string.
13628 (window-current-scroll-bars): Rewrite doc-string.
13629 Normalize live window argument.
387522b2
MR
13630 (walk-windows, get-window-with-predicate, count-windows):
13631 Rewrite doc-string. Use window-list-1.
13632 (window-in-direction-2, window-in-direction, get-mru-window):
13633 New functions.
13634
d8e4b68b 136352011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13636
13637 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13638 Doc fix (Bug#8713).
13639
136402011-06-08 Chong Yidong <cyd@stupidchicken.com>
13641
13642 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13643
136442011-06-08 Juanma Barranquero <lekktu@gmail.com>
13645
13646 * loadhist.el (unload-feature-special-hooks):
13647 Add `comint-output-filter-functions'.
13648
0de12c52
IK
136492011-06-08 Ivan Kanis <gnu@kanis.fr>
13650
13651 * calendar/appt.el (appt-check): Move some initializations into the let.
13652
f3d1777e
MR
136532011-06-08 Martin Rudalics <rudalics@gmx.at>
13654
13655 * window.el (window-height): Defalias to window-total-height.
13656 (window-width): Defalias to window-body-width.
13657
18af70d0
CY
136582011-06-07 Chong Yidong <cyd@stupidchicken.com>
13659
13660 * image-mode.el (image-toggle-animation): New command.
13661 (image-mode-map): Bind it to RET.
13662 (image-mode): Update message.
13663 (image-toggle-display-image): Avoid a spurious cache flush.
13664 (image-transform-rotation): Doc fix.
13665 (image-transform-properties): Return quickly in the normal case.
13666 (image-animate-loop): Rename from image-animate-max-time.
13667
2b75be67 13668 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13669 (create-animated-image): Remove unnecessary function.
13670 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13671 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13672 (image-animate-timer): Use car-safe.
13673 (image-animate-timeout): Rename argument.
13674
190b47e6
MR
136752011-06-07 Martin Rudalics <rudalics@gmx.at>
13676
13677 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13678 window.c. Rename first argument to ALL-FRAMES.
13679 Rephrase doc-strings.
13680 (get-buffer-window-list): Rewrite using window-list-1.
13681 Rephrase doc-string.
a1511caf
MR
13682 (window-safe-min-height, window-safe-min-width): New constants.
13683 (window-size-ignore, window-min-size, window-min-size-1)
13684 (window-sizable, window-sizable-p, window-size-fixed-1)
13685 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13686 (window-max-delta-1, window-max-delta, window-resizable)
13687 (window-resizable-p, window-total-height, window-total-width)
13688 (window-body-width): New functions.
13689 (window-full-height-p, window-full-width-p): Rewrite using
13690 window-total-size.
13691 (window-body-height): Rewrite using window-body-size.
190b47e6 13692
85cc1f11
MR
136932011-06-06 Martin Rudalics <rudalics@gmx.at>
13694
13695 * window.el (window-right, window-left, window-child)
13696 (window-child-count, window-last-child, window-any-p)
13697 (normalize-live-buffer, normalize-live-frame)
13698 (normalize-any-window, normalize-live-window)
13699 (window-iso-combination-p, window-iso-combined-p)
13700 (window-iso-combinations)
13701 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13702 (windows-with-parameter, window-with-parameter)
13703 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13704 (window-atom-check, window-side-check, window-check):
13705 New functions.
85cc1f11
MR
13706 (ignore-window-parameters, window-sides, window-sides-vertical)
13707 (window-sides-slots): New variables.
13708 (window-size-fixed): Move down in code. Minor doc-string fix.
13709
e7156492
AS
137102011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13711
13712 * comint.el (comint-dynamic-complete-as-filename)
13713 (comint-dynamic-complete-filename): Correctly call
13714 completion-in-region.
13715
7e821d0d
DD
137162011-06-05 Deniz Dogan <deniz@dogan.se>
13717
13718 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13719 in last change.
13720
ac09b8a1
DD
137212011-06-05 Deniz Dogan <deniz@dogan.se>
13722
13723 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13724 (rcirc): Use it to prompt for encryption.
13725
34699b85
RW
137262011-06-05 Roland Winkler <winkler@gnu.org>
13727
13728 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13729 (bibtex-search-entries): New command bound to C-c C-a.
13730 (bibtex-display-entries): New function.
13731
004dedd3
RW
137322011-06-05 Roland Winkler <winkler@gnu.org>
13733
13734 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13735 (bibtex-insert-kill): After yanking insert newline if necessary.
13736 (bibtex-initialize): Call bibtex-string-files-init only once.
13737 (bibtex-mode): Do not call easy-menu-add.
13738 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13739 (bibtex-yank): Set arg properly if nil.
13740
022fe7ce
RW
137412011-06-05 Roland Winkler <winkler@gnu.org>
13742
2b75be67
SM
13743 * textmodes/bibtex.el (bibtex-search-entry-globally):
13744 New variable.
022fe7ce
RW
13745 (bibtex-search-entry): Use it.
13746
b7c3692a
RW
137472011-06-05 Roland Winkler <winkler@gnu.org>
13748
13749 * textmodes/bibtex.el (bibtex-entry-format): New option
13750 sort-fields.
13751 (bibtex-format-entry, bibtex-reformat): Honor this option.
13752 (bibtex-parse-entry): Return fields in proper order.
13753
8eda563d
JB
137542011-06-05 Juanma Barranquero <lekktu@gmail.com>
13755
13756 * doc-view.el (doc-view-remove-if): Move computation of result out
13757 of `dolist' to silence misleading lexical-binding warning.
13758
7dbe3dbc
CY
137592011-06-04 Chong Yidong <cyd@stupidchicken.com>
13760
13761 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13762 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13763
0c33dd17
MA
137642011-06-04 Michael Albinus <michael.albinus@gmx.de>
13765
13766 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13767 "SunOS 5.10".
13768
f8f91c2b
MA
137692011-06-04 Michael Albinus <michael.albinus@gmx.de>
13770
13771 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13772 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13773 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13774 (tramp-parse-putty):
13775 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13776 (tramp-completion-function-alist-ssh)
13777 (tramp-completion-function-alist-telnet)
13778 (tramp-completion-function-alist-su)
13779 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13780 cookie.
13781
13782 * net/tramp-ftp.el:
13783 * net/tramp-sh.el:
13784 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13785 load "tramp.el" `tramp-set-completion-function'.
13786
e17d9003
SM
137872011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * shell.el: Require and use pcomplete.
13790 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13791 (shell-completion-vars): Set pcomplete-default-completion-function.
13792
6c4cab03
DD
137932011-06-04 Deniz Dogan <deniz@dogan.se>
13794
13795 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13796 `memq' (Bug#8799).
13797
ea9fafe0
SM
137982011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13799
13800 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13801
b3e945d3
JB
138022011-06-02 Juanma Barranquero <lekktu@gmail.com>
13803
13804 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13805 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13806 * vc/log-view.el (log-view-beginning-of-defun):
13807 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13808 (smerge-refine-forward, smerge-refine-chopup-region):
13809 Silence warning for unused `dotimes' counter variables.
13810
7d520089
SM
138112011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13812
13813 * net/tramp.el (tramp-with-progress-reporter): Rename from
13814 with-progress-reporter. Use `declare'.
13815 * net/tramp-smb.el:
13816 * net/tramp-sh.el:
13817 * net/tramp-gvfs.el: Update all uses.
13818
a1c2400f
JB
138192011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13820
13821 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13822 buffer isn't killed before making it current.
13823
2403c841
SM
138242011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13825
13826 Silence various byte-compiler warnings.
13827 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13828 `access-type' and new obsolescence format.
13829 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13830 new format.
13831 (byte-compile-check-variable): New `access-type' argument.
13832 Only warn if the access-type is obsolete.
13833 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13834 (byte-compile-variable-set): Adjust callers.
13835 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13836 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13837 setting it as obsolete.
13838 * simple.el (minibuffer-completing-symbol):
13839 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13840 access as obsolete.
13841 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13842 obsolete yet.
13843 * international/quail.el (quail-mouse-choose-completion): Remove unused
13844 code referring to obsolete var.
13845 (quail-choose-completion-string): Remove.
13846 * server.el (server-clients-with, server-kill-buffer-query-function)
13847 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13848 * proced.el (proced-send-signal):
13849 * emacs-lisp/lisp.el (lisp-complete-symbol):
13850 Replace completion-annotate-function with completion-extra-properties.
13851
2462470b
SM
138522011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13853
fb5b2591
SM
13854 * simple.el (goto-line): Use read-number.
13855 (overriding-map-is-bound): Remove.
13856 (saved-overriding-map): Change default.
13857 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13858 Take the map as argument.
13859 (universal-argument, negative-argument, digit-argument): Use it.
13860 (restore-overriding-map): Adjust.
13861 (do-auto-fill): Use fill-forward-paragraph.
13862 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13863
fd6fa53f
SM
13864 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13865 (minibuffer-inactive-mode): New major mode.
13866 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13867 the *Messages* buffer" hack.
13868 (mouse-popup-menubar): Don't burp if the event is a normal key.
13869
2462470b
SM
13870 Miscellaneous tweaks.
13871 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13872 lexical scoping as in subr.el's dolist and dotimes.
13873 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13874 Silence compiler warning.
13875 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13876 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13877 * international/ccl.el (ccl-compile): Trivial simplification.
13878 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13879 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13880 `printflag' argument.
13881 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13882 Purecopy the whole obsolescence data.
13883
108bf785
LL
138842011-06-01 Leo Liu <sdl.web@gmail.com>
13885
13886 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13887 improve doc-string as suggested by Marco Pessotto
13888 <melmothx@gmail.com>.
13889 (rcirc-print): Fix last change.
13890
30a23501
SM
138912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13892
13893 * minibuffer.el (complete-with-action): Return nil for the metadata and
13894 boundaries of non-functional tables.
13895 (completion-table-dynamic): Return nil for the metadata.
13896 (completion-table-with-terminator): Add default case, using
13897 complete-with-action.
13898 (completion--metadata): New function.
13899 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13900 to try and avoid pathological performance problems.
13901 (completion--embedded-envvar-table): Return `category' metadata.
13902
bcd54f83
LMI
139032011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13904
13905 * subr.el (process-alive-p): New tiny convenience function.
13906
e227544d
SM
139072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13908
13909 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13910 content but also its previous major mode.
13911
e8296fdc
HE
139122011-05-31 Helmut Eller <eller.helmut@gmail.com>
13913
4d61f28d 13914 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13915 *Backtrace* buffer when we exit with C-M-c.
13916
620c53a6
SM
139172011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13918
13919 * minibuffer.el: Add metadata method to completion tables.
13920 (completion-category-overrides): New defcustom.
13921 (completion-metadata, completion--field-metadata)
13922 (completion-metadata-get, completion--styles)
13923 (completion--cycle-threshold): New functions.
13924 (completion-try-completion, completion-all-completions):
13925 Add `metadata' argument to choose completion-styles.
13926 (completion--do-completion): Use metadata to choose cycling.
13927 (completion-all-sorted-completions): Use metadata for sorting.
13928 Remove :completion-cycle-penalty which is not needed any more.
13929 (completion--try-word-completion): Add `metadata' argument.
13930 (minibuffer-completion-help): Check metadata for annotation function
13931 and sorting.
13932 (completion-file-name-table): Return `category' metadata.
13933 (minibuffer-completing-file-name): Make obsolete.
13934 * simple.el (minibuffer-completing-symbol): Make obsolete.
13935 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13936 completion-try-completion.
13937
1257e755
SM
139382011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13939
13940 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13941
3767e706
LL
139422011-05-30 Leo Liu <sdl.web@gmail.com>
13943
13944 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13945 (rcirc-print): Decode all incoming messages (bug#8744).
13946 (rcirc-decode-coding-system): Allow value nil for automatic coding
13947 system detection.
3767e706 13948
d1a5d56a
GM
139492011-06-01 Glenn Morris <rgm@gnu.org>
13950
13951 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13952
e8cbec34
CY
139532011-05-29 Chong Yidong <cyd@stupidchicken.com>
13954
13955 * image.el (image-animate-max-time): Allow nil and t values.
13956 Default to nil.
13957 (create-animated-image): Doc fix.
13958 (image-animate-start): Remove second arg; just use
13959 image-animate-max-time.
13960 (image-animate-timeout): Doc fix. Args changed.
13961
13962 * image-mode.el (image-toggle-display-image): Ensure that the
13963 image spec passed to the animate timer is the same object as in
58179cce 13964 the buffer's display property (Bug#6981).
e8cbec34
CY
13965 (image-transform-properties): Doc fix.
13966
13967 * image.el (image-animate-max-time): Default to nil.
13968
159daf87
MR
139692011-05-29 Martin Rudalics <rudalics@gmx.at>
13970
13971 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13972 entire buffer list (Bug#8184).
13973
d66c4c7c
CY
139742011-05-29 Chong Yidong <cyd@stupidchicken.com>
13975
13976 * image.el (imagemagick-types-inhibit)
13977 (imagemagick-register-types): Doc fix.
13978
80aec780
DD
139792011-05-29 Deniz Dogan <deniz@dogan.se>
13980
13981 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13982 default.
13983
1dd3c2d9
CY
139842011-05-29 Chong Yidong <cyd@stupidchicken.com>
13985
13986 * select.el: Don't perform clipboard-manager saving in hooks;
13987 leave the hooks empty.
13988
60e56523
LL
139892011-05-28 Leo Liu <sdl.web@gmail.com>
13990
13991 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13992 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13993 (occur-edit-mode): New major mode (Bug#8463).
13994 (occur-after-change-function): New function.
13995 (occur-engine): Give Occur tags a read-only property.
13996
2b1e1a22
KR
139972011-05-28 Kevin Ryde <user42@zip.com.au>
13998
13999 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14000
5d344e88
CY
140012011-05-28 Chong Yidong <cyd@stupidchicken.com>
14002
8e6ca83d
CY
14003 * bindings.el (help-echo): Make the initial non-indicator dash
14004 empty on graphical terminals (Bug#7295).
14005
5d344e88
CY
14006 * files.el (auto-mode-alist): Move config rule after the
14007 in-stripping one (Bug#8547).
14008
bfbbace7
CY
14009 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14010
fbeba6e2
CY
14011 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14012 setting (Bug#8740).
14013
60ed8c72
AA
140142011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14015
4ac619f0
AA
14016 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14017 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14018 (Bug#8539).
60ed8c72 14019
23db196e
CY
140202011-05-28 Chong Yidong <cyd@stupidchicken.com>
14021
14022 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14023
5012f24c
DK
140242011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14025
14026 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14027 (hs-hide-block-at-point, hs-find-block-beginning)
14028 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14029 (Bug#8279).
14030
6a639b16
GM
140312011-05-28 Glenn Morris <rgm@gnu.org>
14032
14033 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14034
d43eaf2c
CY
140352011-05-28 Chong Yidong <cyd@stupidchicken.com>
14036
5199bde1
CY
14037 * help-fns.el (describe-function-1): If the function is a derived
14038 major mode, print the parent mode.
14039
d43eaf2c
CY
14040 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14041 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14042
423428a8
SM
140432011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14044
0ff8e1ba 14045 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14046 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14047 * progmodes/etags.el (tags-completion-at-point-function):
14048 * info-look.el (info-lookup-completions-at-point): Mark as
14049 non-exclusive.
14050 (info-complete): Adjust accordingly.
14051
423428a8
SM
14052 * info-look.el: Convert to lexical-binding and completion-at-point.
14053 (info-lookup-completions-at-point): New function.
14054 (info-complete): Use it and completion-in-region.
14055
b74aa22b
DA
140562011-05-28 Drew Adams <drew.adams@oracle.com>
14057
14058 * isearch.el: Let M-e start with point at the first mismatched char.
14059 (isearch-fail-pos): New function.
14060 (isearch-edit-string): Use it.
14061
66e2e71d
DK
140622011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14063
14064 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14065
b1890b0f 140662011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14067
14068 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14069 traversal functions for avl-trees.
14070 (avl-tree--stack): New struct.
14071 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14072 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14073 (avl-tree--do-enter): Add optional `updatefun' arg.
14074 Change return value.
eb95d01d 14075 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14076 (avl-tree--do-delete): Add `test' and `nilflag' args.
14077 Change return value.
eb95d01d
TC
14078 (avl-tree-member): Add optional `nilflag'
14079 (avl-tree-member-p): New function.
14080 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14081 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14082 (avl-tree-stack-empty-p): New functions.
14083
3769ddcf
TC
14084 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14085 avl-tree--del-balance1 and make it work both ways.
14086 (avl-tree--del-balance2): Remove.
14087 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14088 make it work both ways.
14089 (avl-tree--enter-balance2): Remove.
14090 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14091 New macros.
14092 (avl-tree--mapc, avl-tree-map): Add direction argument.
14093
eb95d01d 140942011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14095
14096 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14097
a9f737ee
CY
140982011-05-27 Chong Yidong <cyd@stupidchicken.com>
14099
14100 * select.el: Support clipboard managers with built-in function
14101 x-clipboard-manager-save, via delete-frame-functions and
14102 kill-emacs-hook.
14103 (xselect-convert-to-targets): Add MULTIPLE target to list.
14104 (xselect-convert-to-save-targets): New function.
14105
c92a1e54
KH
141062011-05-27 Kenichi Handa <handa@m17n.org>
14107
14108 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14109 let-binding rfc2047-encode-encoded-words to nil.
14110
e145f188
GM
141112011-05-27 Glenn Morris <rgm@gnu.org>
14112
5ec8a862
GM
14113 * mail/emacsbug.el: Don't require url-util.
14114
4b29d9fb
GM
14115 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14116
e145f188
GM
14117 * files.el (set-auto-mode):
14118 Also respect mode: entries at the end of the file. (Bug#8586)
14119
7d15102b
GM
141202011-05-26 Glenn Morris <rgm@gnu.org>
14121
98f593b8
GM
14122 * files.el (hack-local-variables-prop-line, hack-local-variables):
14123 Downcase mode names, as seems to be traditional.
27b48e63 14124 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14125
7d15102b
GM
14126 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14127 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14128
51d5b4ec
JD
141292011-05-25 Julien Danjou <julien@danjou.info>
14130
14131 * textmodes/rst.el (rst-define-level-faces): Do not define face
14132 symbol if it is already defined.
14133
91513f63
VB
141342011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14135
14136 * play/5x5.el (5x5-new-game, 5x5-randomize):
14137 Reset 5x5-solver-output to nil when a new grid is cast.
14138 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14139 these debugging traces, as defmacro breaks the compiled code.
14140
4d90d6d0
DK
141412011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14142
14143 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14144
e1b90ef6
LL
141452011-05-24 Leo Liu <sdl.web@gmail.com>
14146
14147 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14148 (vc-bzr-sha1): Adapt.
14149
d8e4b68b 14150 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14151
14152 * bindings.el: Provide sha1 feature.
14153
db0406bb 141542011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14155
14156 * mail/sendmail.el: Require `rfc2047'.
14157 (mail-insert-from-field): Do not perform RFC2047 encoding.
14158 (mail-encode-header): New function.
14159 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14160 buffer to the return value of select-message-coding-system.
14161 Call mail-encode-header.
b8d747b9
KH
14162
14163 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14164
db0406bb 141652011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14166
4d90d6d0
DK
14167 * mail/supercite.el (sc-default-cite-frame):
14168 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14169
eb8a5e9b
GM
141702011-05-24 Glenn Morris <rgm@gnu.org>
14171
f8630703
GM
14172 * progmodes/python.el (brm-menu): Declare.
14173
8831bbed
GM
14174 * emulation/viper.el (viper-set-hooks): Declare.
14175
eb8a5e9b
GM
14176 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14177 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14178 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14179 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14180 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14181 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14182
a2a25d24
SM
141832011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14184
14185 Add an :exit-function for completion-at-point.
14186
14187 * minibuffer.el (completion--done): New fun.
14188 (completion--do-completion): Use it. New arg `expect-exact'.
14189 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14190 since completion--do-completion does it for us now.
14191 (minibuffer-force-complete): Use completion--done and
14192 completion--replace. Handle sole-completion case with more care.
14193 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14194 (completion-extra-properties): New var.
14195 (completion-annotate-function): Make obsolete.
14196 (minibuffer-completion-help): Adjust accordingly.
14197 Use completion-list-insert-choice-function.
14198 (completion-at-point, completion-help-at-point):
14199 Bind completion-extra-properties.
14200 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14201 * simple.el (completion-list-insert-choice-function): New var.
14202 (completion-setup-function): Preserve it.
14203 (choose-completion): Pay attention to it, shuffle the code a bit.
14204 (choose-completion-string): New arg `insert-function'.
14205
14206 * textmodes/bibtex.el: Convert to lexical binding.
14207 (bibtex-mode-map): Use completion-at-point.
14208 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14209 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14210 (bibtex-complete): Define as obsolete alias.
14211 (bibtex-complete-internal): Remove.
14212 (bibtex-format-entry): Remove unused sub-group in regexp.
14213 * shell.el (shell--command-completion-data)
14214 (shell-environment-variable-completion):
14215 * pcomplete.el (pcomplete-completions-at-point):
14216 * comint.el (comint--complete-file-name-data): Use :exit-function
14217 instead of completion-table-with-terminator so it also works for
14218 choose-completion.
14219
e44e373d
SM
142202011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14221
4f91a816
SM
14222 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14223
782fc819
SM
14224 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14225 (bug#8710).
14226
e44e373d
SM
14227 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14228
381987c3
KM
142292011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14230
14231 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14232 customization variable and implement: If non-nil, auto-fill will
14233 be inhibited while on topic's header line.
14234
b776bc70
VB
142352011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14236
14237 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14238 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14239 always have a solution in grid size = 5 cases.
14240 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14241 (5x5-solver-output, 5x5-log-buffer): New vars.
14242 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14243 Make these variables buffer local to achieve 5x5 multi-session-ness.
14244 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14245 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14246 (5x5-solve-suggest): New funs.
14247 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14248 randomize a grid so that we ensure that there is always a solution.
14249 (5x5-make-random-grid): Allow other movement than flipping.
14250
7de88b6e
KR
142512011-05-23 Kevin Ryde <user42@zip.com.au>
14252
14253 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14254 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14255 advice and passes PREDICATE.
14256
b1ef1257
SM
142572011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14258
bbca48fe
SM
14259 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14260 byte-compile-lambda if it's actually a lambda.
14261
b1ef1257
SM
14262 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14263 Fix function quoting. Use backquote better.
14264
92a9cc65
YS
142652011-05-22 Yuanle Song <sylecn@gmail.com>
14266
14267 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14268 matching (Bug#8516).
14269
f0fb8059
JA
142702011-01-22 Jari Aalto <jari.aalto@cante.net>
14271
14272 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14273 different face (Bug#8178).
14274
d5b44c93
CY
142752011-05-22 Chong Yidong <cyd@stupidchicken.com>
14276
14277 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14278 defface (Bug#8144).
14279
79106a44
SM
142802011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14281
9c848d8a
SM
14282 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14283 funcall as well (bug#8712). Warn when performing those conversions.
14284 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14285
79106a44
SM
14286 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14287
88dfa756
GM
142882011-05-22 Glenn Morris <rgm@gnu.org>
14289
14290 * files.el (hack-local-variables-prop-line): Small simplifications.
14291 (hack-local-variables, hack-local-variables-prop-line):
14292 If MODE-ONLY, return the mode, rather than just `t'.
14293
b7cf2c79
SM
142942011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14297
3f1a8558
GM
142982011-05-21 Glenn Morris <rgm@gnu.org>
14299
7e4ccca3
GM
14300 * files.el (hack-local-variables-prop-line, hack-local-variables):
14301 If only interested in the mode, don't bother doing the other stuff.
14302
637d46ca
GM
14303 * image-mode.el (image-after-revert-hook):
14304 Redraw all frames on which the image is visible. (Bug#8567)
14305
973d955b
GM
14306 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14307
3f1a8558
GM
14308 * wid-edit.el (widget-checklist-match-inline):
14309 Fix 2011-04-19 change. (Bug#8649)
14310
96479927
SM
143112011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14312
1dcf791f
SM
14313 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14314 Also allow singlespace after single-letter capitals followed by a dot.
14315
96479927
SM
14316 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14317 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14318
35fd0881
N
143192011-05-20 Nix <nix@esperi.org.uk>
14320
14321 * files.el (basic-save-buffer-2):
14322 Fix handling of break-hardlink-on-save with non-existent files.
14323
82745640
DD
143242011-05-19 Deniz Dogan <deniz@dogan.se>
14325
14326 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14327 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14328
4a720484
GM
143292011-05-19 Glenn Morris <rgm@gnu.org>
14330
d1f21341
GM
14331 * progmodes/f90.el (f90-type-def-re):
14332 Handle "type, bind(c)". (Bug#8691)
14333
4a720484
GM
14334 * emacs-lisp/autoload.el (batch-update-autoloads):
14335 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14336
2fb0a219
MA
143372011-05-18 Michael Albinus <michael.albinus@gmx.de>
14338
14339 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14340 property for the correct connection in case of multihops.
14341
e565dd37
GM
143422011-05-18 Glenn Morris <rgm@gnu.org>
14343
c2571358 14344 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14345 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14346
e565dd37
GM
14347 Rationalize calendar handling of day and month abbrev-arrays.
14348 * calendar/calendar.el (calendar-customized-p): New function.
14349 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14350 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14351 Add :set function.
14352 (calendar-abbrev-length, calendar-day-abbrev-array)
14353 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14354 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14355 Elements may no longer be nil.
14356 (calendar-day-name, calendar-month-name):
14357 Update for changed nature of abbrev arrays.
14358 * calendar/diary-lib.el (diary-name-pattern):
14359 Update for changed nature of abbrev arrays.
14360 (diary-mark-entries-1): Update calendar-make-alist calls.
14361 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14362 * calendar/cal-html.el (cal-html-day-abbrev-array):
14363 Simply inherit from calendar-day-abbrev-array.
14364
1d99a745
SM
143652011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14366
14367 * progmodes/grep.el (grep-mode): Disable default
14368 compilation-directory-matcher setting (bug#8684).
14369
7c1d9aa0
MA
143702011-05-17 Michael Albinus <michael.albinus@gmx.de>
14371
14372 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14373 instead of "head" and "tail". There were problems with SunOS 5.9,
14374 and it performs better.
14375
3952e9d8
GM
143762011-05-17 Glenn Morris <rgm@gnu.org>
14377
2dd12e7f
GM
14378 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14379
e4157b9c
GM
14380 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14381 Replace obsolete function.
14382
8e249bbd
GM
14383 * shell.el (pcomplete-parse-arguments-function): Declare.
14384
3952e9d8
GM
14385 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14386 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14387 (appt-check): Doc fixes.
14388 (appt-disp-window-function, appt-delete-window-function):
14389 Remove needless special case in custom :type.
14390 (appt-display-count): Default to 0, not nil.
14391 (appt-check): Reset appt-display-count to 0, not nil.
14392
c71a0d48 143932011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14394
c71a0d48
GM
14395 * progmodes/python.el (python-font-lock-keywords):
14396 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14397
31d55be9
SM
143982011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14399
14400 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14401
3bfacb2f
KR
144022011-05-16 Kevin Ryde <user42@zip.com.au>
14403
14404 * info-look.el (makefile-automake-mode): New setups, looking in
14405 automake manual, then makefile-mode.
14406 (makefile-mode): Remove automake manual, have it just in
14407 makefile-automake-mode since there's various things different or
14408 not relevant to plain make.
14409 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14410 believe a hypothetical automake-mode would go to makefile-mode,
14411 not the other way around.
14412
c8e83751
CY
144132011-05-15 Chong Yidong <cyd@stupidchicken.com>
14414
5e9e35cd
CY
14415 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14416 hunk-end tags (Bug#8672).
14417
c8e83751
CY
14418 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14419 vc-annotate-show-diff-revision-at-line (Bug#8671).
14420
50b23e5a
GM
144212011-05-14 Glenn Morris <rgm@gnu.org>
14422
7210a739
GM
14423 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14424 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14425 (change-log-font-lock-keywords): Also handle multiple author lines
14426 with leading tabs. (Bug#8644)
7210a739 14427
4691905a
GM
14428 * calendar/appt.el (appt-check): Rename some local variables.
14429 Some simplification/reordering.
14430
50b23e5a
GM
14431 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14432 (feedmail-sendmail-f-doesnt-sell-me-out)
14433 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14434 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14435 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14436 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14437 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14438 (feedmail-binmail-gnulinuxish-template):
14439 Rename from feedmail-binmail-linuxish-template.
14440 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14441 Use insert-buffer-substring.
14442
215cda7c
BC
144432011-05-14 Bill Carpenter <bill@carpenter.org>
14444
14445 * mail/feedmail.el (feedmail-patch-level): Increase.
14446 (feedmail-debug): New custom group.
14447 (feedmail-confirm-outgoing-timeout)
14448 (feedmail-sendmail-f-doesnt-sell-me-out)
14449 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14450 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14451 (feedmail-sender-line, feedmail-from-line)
14452 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14453 (feedmail-spray-this-address)
215cda7c
BC
14454 (feedmail-spray-address-fiddle-plex-list)
14455 (feedmail-queue-use-send-time-for-date)
14456 (feedmail-queue-use-send-time-for-message-id)
14457 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14458 (feedmail-buffer-eating-function):
14459 Doc fixes.
14460 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14461 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14462 (feedmail-message-action-scroll-down): New functions.
14463 (feedmail-queue-directory, feedmail-queue-draft-directory):
14464 Use expand-file-name.
14465 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14466 Remove C-v help entry.
14467 (feedmail-queue-buffer-file-name): New variable.
14468 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14469 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14470 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14471 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14472 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14473 (feedmail-message-action-toggle-spray)
14474 (feedmail-run-the-queue-no-prompts)
14475 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14476 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14477 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14478 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14479 (feedmail-envelope-deducer, feedmail-fiddle-from)
14480 (feedmail-fiddle-sender, feedmail-default-date-generator)
14481 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14482 (feedmail-fiddle-spray-address)
14483 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14484 (feedmail-fiddle-list-of-fiddle-plexes)
14485 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14486 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14487 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14488 Change default. Doc fix.
14489 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14490 (feedmail-binmail-linuxish-template): New constant.
14491 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14492 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14493 (feedmail-send-it): Add debug call.
14494 Use feedmail-queue-buffer-file-name, and
14495 feedmail-send-it-immediately-wrapper.
14496 (feedmail-message-action-send): Add debug call.
14497 Use feedmail-send-it-immediately-wrapper.
14498 (feedmail-queue-express-to-queue): Add debug call.
14499 Run feedmail-queue-express-hook.
14500 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14501 (feedmail-message-action-help-blat):
14502 Rename from feedmail-queue-send-edit-prompt-help-first.
14503 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14504 Check line-endings. Handle errors better.
14505 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14506 Doc fix. Add debug call.
14507 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14508 Use feedmail-queue-send-edit-prompt-inner.
14509 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14510 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14511 from feedmail-queue-send-edit-prompt.
14512 (feedmail-queue-send-edit-prompt-help)
14513 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14514 (feedmail-tidy-up-slug): Add debug call.
14515 Respect feedmail-queue-slug-suspect-regexp.
14516 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14517 (feedmail-dump-message-to-queue): Add debug call.
14518 Expand queue-directory.
14519 (feedmail-dump-message-to-queue): Change message slightly.
14520 Use feedmail-say-chatter.
14521 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14522 (feedmail-send-it-immediately-wrapper): New function.
14523 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14524 Insert empty string rather than newline. Handle full-frame case.
14525 Use catch/throw. Use feedmail-say-chatter.
14526 (feedmail-fiddle-from): Try mail-host-address.
14527 (feedmail-default-message-id-generator): Doc fix.
14528 Bind system-time-locale. Handle missing end.
14529 (feedmail-fiddle-x-mailer): Add debug call.
14530 Handle feedmail-x-mailer-line being nil.
14531 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14532 Add debug call. Use buffer-substring-no-properties.
14533 (feedmail-say-debug, feedmail-say-chatter): New functions.
14534 (feedmail-find-eoh): Give an explicit error.
14535
42c7e61e
UJ
145362011-05-13 Ulf Jasper <ulf.jasper@web.de>
14537
c2571358 14538 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14539 family from helvetica to sans.
c2571358 14540 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14541 etc/images/newsticker.
14542
c2571358 14543 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14544 family from helvetica to sans.
14545
14546 * net/newst-plainview.el (newsticker-new-item-face)
14547 (newsticker-old-item-face, newsticker-immortal-item-face)
14548 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14549 (newsticker-statistics-face): Change default family from
42c7e61e 14550 helvetica to sans.
c2571358 14551 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14552 etc/images/newsticker.
14553
5d3385a0
JB
14554 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14555 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14556 auto-marking.
14557
8497a297
DV
145582011-05-13 Didier Verna <didier@xemacs.org>
14559
14560 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14561 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14562 TODO entries.
8497a297
DV
14563 (lisp-lambda-list-keyword-parameter-indentation)
14564 (lisp-lambda-list-keyword-parameter-alignment)
14565 (lisp-lambda-list-keyword-alignment): New customizable user options.
14566 (lisp-indent-defun-method): Improve docstring.
14567 (extended-loop-p): Fix comment.
14568 (lisp-indent-lambda-list-keywords-regexp): New variable.
14569 (lisp-indent-lambda-list): New function.
14570 (lisp-indent-259): Use it.
14571 (lisp-indent-defmethod): Support for more than one
14572 method qualifier and properly indent methods lambda-lists.
14573 (defgeneric): Provide a missing common-lisp-indent-function property.
14574
f278f87f
SM
145752011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14576
14577 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14578 bounds for the empty string (bug#8667).
14579
5233edd7
GM
145802011-05-13 Glenn Morris <rgm@gnu.org>
14581
5237a44f
GM
14582 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14583
8340026c 14584 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14585 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14586
5233edd7 14587 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14588 (appt-time-msg-list): Doc fix.
a5464014 14589 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14590
92d10796
AS
145912011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14592
14593 * progmodes/ld-script.el (ld-script-keywords)
14594 (ld-script-builtins): Update keywords list.
14595
914a0ae1
SM
145962011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14597
c89be45f
SM
14598 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14599
914a0ae1
SM
14600 * shell.el (shell-completion-vars): New function.
14601 (shell-mode):
14602 * simple.el (read-shell-command): Use it.
14603 (blink-matching-open): No need for " [...]" in minibuffer-message.
14604
98dc3df3
GM
146052011-05-12 Glenn Morris <rgm@gnu.org>
14606
14607 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14608 (appt-check): Simplify.
14609
d2fc7e3d 146102011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14611
4d61f28d 14612 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14613 literal "/dev/null".
14614
d2fc7e3d 146152011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14616
14617 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14618 Fix typo.
14619
d2fc7e3d 146202011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14621
3f254caa
SM
14622 * progmodes/which-func.el (which-function):
14623 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14624 which might not be defined (Bug#8260).
14625
d45885f7
GM
146262011-05-12 Glenn Morris <rgm@gnu.org>
14627
14628 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14629 Let byte-compile-initial-macro-environment always take precedence.
14630
488086f4
SM
146312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14632
14633 * net/rcirc.el: Add support for SSL/TLS connections.
14634 (rcirc-server-alist): New field `encryption'.
14635 (rcirc): Check `encryption' settings.
14636 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14637 Merge make-local-variable into `set'.
14638 (rcirc--connection-open-p): New function.
14639 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14640 the process is not a network process (e.g. running gnutls-cli).
14641 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14642 Make rcirc-(en|de)code-coding-system local here.
14643 (rcirc-mode): Merge make-local-variable into `set'.
14644 (rcirc-parent-buffer): Make permanent buffer-local.
14645 (rcirc-multiline-minor-mode): Don't do it here.
14646 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14647 there's no server buffer.
14648
7d3b9d44
GM
146492011-05-11 Glenn Morris <rgm@gnu.org>
14650
f64049c6
GM
14651 * newcomment.el (comment-kill): Prefix "unused" local.
14652
93c9df73
GM
14653 * term/w32console.el (get-screen-color): Declare.
14654
7d3b9d44
GM
14655 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14656 Handle symbol elements of byte-compile-initial-macro-environment.
14657
9e2dd53f
LL
146582011-05-10 Leo Liu <sdl.web@gmail.com>
14659
488086f4
SM
14660 * bookmark.el (bookmark-bmenu-mode-map):
14661 Bind bookmark-bmenu-search to `/'.
8b340240 14662
9e2dd53f 14663 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14664 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14665 (Footnote-unicode): New function.
14666 (footnote-style-alist): Add unicode style to the list.
14667 (footnote-style): Doc fix.
9e2dd53f 14668
79b70037
GM
146692011-05-10 Jim Meyering <meyering@redhat.com>
14670
14671 Fix doubled-word typos.
14672 * international/quail.el (quail-insert-kbd-layout): and and -> and
14673 * kermit.el: and and -> and
14674 * net/ldap.el (ldap-search-internal): to to -> to
14675 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14676 * progmodes/js.el (js-mode): and and -> and
14677 * textmodes/artist.el (artist-move-to-xy): at at -> at
14678 (artist-draw-region-trim-line-endings): if if -> if
14679 And Safetyc -> Safety.
14680 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14681
b8f82dc1 146822011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14683 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14684
14685 * files.el (hack-one-local-variable-eval-safep):
14686 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14687
4f99f44b
GM
146882011-05-10 Glenn Morris <rgm@gnu.org>
14689
14690 * calendar/diary-lib.el (diary-list-entries-hook)
14691 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14692 (diary-nongregorian-marking-hook, diary-list-entries)
14693 (diary-include-other-diary-files, diary-mark-entries)
14694 (diary-mark-included-diary-files): Doc fixes.
14695
84f29e6b
JB
146962011-05-09 Juanma Barranquero <lekktu@gmail.com>
14697
14698 * misc.el: Require tabulated-list.el during compilation.
14699
9bedd73a
CY
147002011-05-09 Chong Yidong <cyd@stupidchicken.com>
14701
488086f4
SM
14702 * progmodes/compile.el (compilation-start):
14703 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14704 (compilation-filter-hook): Doc fix.
14705
797c735c
DD
147062011-05-09 Deniz Dogan <deniz@dogan.se>
14707
14708 * wdired.el: Remove outdated installation comment. Fix usage
14709 comment.
14710
5f4b1dfe
JB
147112011-05-09 Juanma Barranquero <lekktu@gmail.com>
14712
14713 * misc.el: Implement new command `list-dynamic-libraries'.
14714 (list-dynamic-libraries--loaded-only-p): New variable.
14715 (list-dynamic-libraries--refresh): New function.
14716 (list-dynamic-libraries): New command.
14717
4c44026c
CY
147182011-05-09 Chong Yidong <cyd@stupidchicken.com>
14719
488086f4
SM
14720 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14721 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14722 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14723 higher priority to avoid clobbering by gnu.
14724
027f966d
CY
147252011-05-08 Chong Yidong <cyd@stupidchicken.com>
14726
14727 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14728 if the face has existing theme settings (Bug#8454).
14729
085f5d7d
CY
147302011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14731
488086f4
SM
14732 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14733 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14734
2a86a00c
RS
14735 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14736 special file names `.' and `..' (Bug#8259).
14737
d9c54a06
CY
147382011-05-08 Chong Yidong <cyd@stupidchicken.com>
14739
488086f4
SM
14740 * progmodes/grep.el (grep-mode-font-lock-keywords):
14741 Remove buffer-changing entries.
d9c54a06
CY
14742 (grep-filter): New function.
14743 (grep-mode): Add it to compilation-filter-hook.
14744
14745 * progmodes/compile.el (compilation-filter-hook)
14746 (compilation-filter-start): New defvars.
14747 (compilation-filter): Call compilation-filter-hook prior to
14748 updating the process mark.
14749
c4662635
SM
147502011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14751
14752 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14753
b0512a1d
EZ
147542011-05-07 Eli Zaretskii <eliz@gnu.org>
14755
605c9376
EZ
14756 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14757 mailclient-send-it even if window-system is nil. (Bug#8595)
14758
c4662635
SM
14759 * term/w32console.el (terminal-init-w32console):
14760 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14761 background-mode. (Bug#8597)
14762
d1dc2cc2
SM
147632011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14764
14765 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14766 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14767 New functions.
14768 (defgeneric, eieio--defmethod): Use them.
14769 (eieio-defgeneric): Remove.
14770 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14771
915d1300
GM
147722011-05-07 Glenn Morris <rgm@gnu.org>
14773
a3961c3e
GM
14774 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14775 Use let rather than let*.
14776 (timeclock-find-discrep): Remove unused local.
14777
314347b9
GM
14778 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14779
915d1300
GM
14780 * calendar/appt.el (appt-time-msg-list): Doc fix.
14781
275b59b0
NF
147822011-05-06 Noah Friedman <friedman@splode.com>
14783
14784 * apropos.el (apropos-print-doc): Only use
14785 emacs-lisp-docstring-fill-column when it is bound to an integer,
14786 per that variable's documentation.
14787
6c19f744
SM
147882011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14789
14790 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14791 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14792
60f884b2
GM
147932011-05-06 Glenn Morris <rgm@gnu.org>
14794
5006e634
GM
14795 * calendar/appt.el (appt-message-warning-time): Doc fix.
14796 (appt-warning-time-regexp): New option.
14797 (appt-make-list): Respect appt-message-warning-time.
14798
548d0a63
GM
14799 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14800 New options.
14801 (diary-add-to-list): Strip comments from the displayed string.
14802 (diary-mode): Set comment-start and comment-end.
14803
60f884b2
GM
14804 * vc/diff-mode.el (smerge-refine-subst): Declare.
14805 (diff-refine-hunk): Don't require smerge-mode when compiling.
14806
989681bb
JB
148072011-05-06 Juanma Barranquero <lekktu@gmail.com>
14808
14809 * simple.el (list-processes): Return nil as the docstring says.
14810
a6bc05e1
MA
148112011-05-05 Michael Albinus <michael.albinus@gmx.de>
14812
14813 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14814 to "".
14815 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14816 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14817 determining of binary transfer. (Bug#7383)
14818
23c22e9a
MA
148192011-05-05 Michael Albinus <michael.albinus@gmx.de>
14820
c4662635
SM
14821 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14822 Fix port computation bug. (Bug#8618)
23c22e9a 14823
0bff894f
GM
148242011-05-05 Glenn Morris <rgm@gnu.org>
14825
b8296902
GM
14826 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14827
1f522ce8
GM
14828 * simple.el (shell-dynamic-complete-functions)
14829 (comint-dynamic-complete-functions): Declare.
14830
cf5bee67
GM
14831 * net/network-stream.el (gnutls-negotiate):
14832 * simple.el (tabulated-list-print): Fix declarations.
14833
14834 * progmodes/gud.el (syntax-symbol, syntax-point):
14835 Remove unnecessary and incorrect declarations.
14836
0bff894f
GM
14837 * emacs-lisp/check-declare.el (check-declare-scan):
14838 Handle byte-compile-initial-macro-environment in bytecomp.el
14839
9869b3ae
SM
148402011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14841
14842 Fix earlier half-done eieio-defmethod change (bug#8338).
14843 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14844 Streamline and change calling convention.
14845 (defmethod): Adjust accordingly and simplify.
14846 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14847 new eieio--defmethod.
14848 (slot-boundp): Minor CSE simplification.
14849
9c1d5ac5
MZ
148502011-05-05 Milan Zamazal <pdm@zamazal.org>
14851
14852 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14853 (glasses-make-readable): Use glasses-separate-capital-groups.
14854
455c834e
JB
148552011-05-05 Juanma Barranquero <lekktu@gmail.com>
14856
14857 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14858 (warning-series): Doc fix.
14859 (display-warning): Don't try to create the buffer if we just found it.
14860
9ed7c8cb
CY
148612011-05-04 Chong Yidong <cyd@stupidchicken.com>
14862
14863 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14864 (autoload-find-generated-file): New function.
14865 (generate-file-autoloads): Bind generated-autoload-file to
14866 buffer-file-name.
9869b3ae
SM
14867 (update-file-autoloads, update-directory-autoloads):
14868 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14869 output file (Bug#7989).
14870 (batch-update-autoloads): Doc fix.
14871
0898ca10
JB
148722011-05-04 Juanma Barranquero <lekktu@gmail.com>
14873
14874 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14875
31dfb76c
GM
148762011-05-04 Glenn Morris <rgm@gnu.org>
14877
f330b642
GM
14878 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14879 function, so it follows changes in calendar-date-style.
14880 (diary-fancy-date-matcher): New function.
14881 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14882 (diary-fancy-font-lock-fontify-region-function):
14883 Use diary-fancy-date-pattern as a function.
14884
31dfb76c
GM
14885 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14886 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14887
48e79d6a
TZ
148882011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14889
14890 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14891 instead of positional arguments. Allow :keylist and :crlfiles
14892 arguments.
14893 (open-gnutls-stream): Call it.
14894
14895 * net/network-stream.el (network-stream-open-starttls): Adjust to
14896 call `gnutls-negotiate' with :process and :hostname arguments.
14897
dd5a5ee0
SM
148982011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14899
ef80fc09
SM
14900 * minibuffer.el (completion--message): New function.
14901 (completion--do-completion, minibuffer-complete)
14902 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14903 (completion--do-completion): Don't ignore completion-auto-help when in
14904 icomplete-mode.
14905
dd5a5ee0
SM
14906 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14907 internal encoding (e.g. tibetan zero is not whitespace).
14908 (global-whitespace-mode): Prefer save-current-buffer.
14909 (whitespace-trailing-regexp): Remove useless save-match-data.
14910 (whitespace-empty-at-bob-regexp): Minor simplification.
14911
b7d22a83
CY
149122011-05-03 Chong Yidong <cyd@stupidchicken.com>
14913
14914 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14915
5192af46
AM
149162011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14917
14918 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14919 Use `concat' to create string for insertion.
5192af46 14920
5767d190
SM
149212011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14924 Avoid open-line which runs post-self-insert-hook.
14925 (bibtex-fill-entry): Remove unused `end' var.
14926
bf242939
AM
149272011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14928
5767d190
SM
14929 * textmodes/ispell.el (ispell-add-per-file-word-list):
14930 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14931
25666126
LL
149322011-05-03 Leo Liu <sdl.web@gmail.com>
14933
14934 * isearch.el (isearch-yank-pop): New command.
5767d190 14935 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14936 (isearch-forward): Mention it.
14937
52d3c2d0
SM
149382011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14939
1bcace58
SM
14940 * simple.el (minibuffer-complete-shell-command): Remove.
14941 (minibuffer-local-shell-command-map): Use completion-at-point.
14942 (read-shell-command): Setup completion vars here instead.
14943 (read-expression-map): Bind TAB to symbol completion.
14944
52d3c2d0
SM
14945 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14946 error directly rather via storing it into `results'.
14947
35813471
LL
149482011-05-02 Leo Liu <sdl.web@gmail.com>
14949
14950 * vc/diff.el: Fix description.
14951
e793a940
LMI
149522011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14953
14954 * server.el (server-eval-at): New function.
14955
8de66e05
LMI
149562011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14957
14958 * net/network-stream.el (open-network-stream): Take a :nowait
14959 parameter and pass it on to `make-network-process'.
14960 (network-stream-open-plain): Ditto.
14961
dcb79f20
AS
149622011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14963
14964 * faces.el (face-spec-set-match-display): Don't match toolkit
14965 options on terminal frames.
14966
14a7fbd8
SM
149672011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14968
7eabc1be
SM
14969 * progmodes/pascal.el: Use lexical binding.
14970 (pascal-mode-map): Remove author preferences.
14971
14a7fbd8
SM
14972 * pcomplete.el (pcomplete-std-complete): Don't abuse
14973 completion-at-point.
14974
50f84510
JB
149752011-04-28 Juanma Barranquero <lekktu@gmail.com>
14976
6e087a44
JB
14977 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14978 removing code that has been dead since 1991 or so.
14979
50f84510
JB
14980 * startup.el (command-line): When warning about "_emacs", use a
14981 delayed warning to allow the user to filter it out.
14982
0ba690bd
DD
149832011-04-28 Deniz Dogan <deniz@dogan.se>
14984
14985 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14986 user has not joined.
14987
08abfaad
SM
149882011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14989
14990 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14991 aren't any completions at point.
14992
638f053a
JB
149932011-04-28 Juanma Barranquero <lekktu@gmail.com>
14994
14995 * subr.el (display-delayed-warnings): New function.
14996 (delayed-warnings-hook): New variable.
14997
8fff8daa
SM
149982011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14999
08abfaad
SM
15000 * minibuffer.el (completion-at-point, completion-help-at-point):
15001 Don't presume that a given completion-at-point-function will always
15002 use the same calling convention.
15003
8fff8daa
SM
15004 * pcomplete.el (pcomplete-completions-at-point):
15005 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15006 pcomplete-seen is non-nil.
15007 (pcomplete-comint-setup): Also recognize the new comint/shell
15008 completion functions.
15009 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15010 pcomplete-seen is non-nil.
15011
841a1577 150122011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15013
841a1577 15014 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15015 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15016 the first character in the entry. This allows for code to add its
211ec907
UJ
15017 own uid to the entry.
15018 (icalendar--convert-float-to-ical): Add export of
15019 `diary-float'-entries save for those with the optional DAY
15020 argument.
15021
2a782793
DC
150222011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15023
15024 * subr.el (shell-quote-argument): Use alternate escaping strategy
15025 when we spot a variable reference in a string.
15026
0438ce91
DC
150272011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15028
15029 * cus-start.el (all): Define customization for debug-on-event.
15030
841a1577 150312011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15032
15033 * subr.el (shell-quote-argument): Escape correctly under Windows.
15034
d090ed6c
SM
150352011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15036
15037 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15038
bfd31217
MA
150392011-04-25 Michael Albinus <michael.albinus@gmx.de>
15040
d090ed6c
SM
15041 * net/tramp.el (tramp-process-actions): Add POS argument.
15042 Delete region between POS and (pos).
bfd31217 15043
d090ed6c
SM
15044 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15045 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15046 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15047
15048 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15049 position in `tramp-process-actions' call.
15050
15051 * net/trampver.el: Update release number.
15052
e92f3bd3
SM
150532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15054
850256b5
SM
15055 * custom.el (defcustom): Obey lexical-binding.
15056
e92f3bd3
SM
15057 Fix octave-inf completion problems reported by Alexander Klimov.
15058 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15059 Inherit from octave-mode-syntax-table.
15060 (inferior-octave-mode): Set info-lookup-mode.
15061 (inferior-octave-completion-at-point): New function.
15062 (inferior-octave-complete): Use it and completion-in-region.
15063 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15064 comint-filename-completion.
15065 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15066 symbol elements which shouldn't be word elements.
15067 (octave-font-lock-keywords, octave-beginning-of-defun)
15068 (octave-function-header-regexp): Adjust regexps accordingly.
15069 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15070
cd22b309
JB
150712011-04-25 Juanma Barranquero <lekktu@gmail.com>
15072
15073 * net/gnutls.el (gnutls-errorp): Declare before first use.
15074
8b492194
TZ
150752011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15076
15077 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15078 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15079 default trustfile exists before going to use it. Add missing
5a5fa834 15080 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15081 Reported by Claudio Bley <claudio.bley@gmail.com>.
15082 (open-gnutls-stream): Add usage example.
15083
15084 * net/network-stream.el (network-stream-open-starttls): Give host
15085 parameter to `gnutls-negotiate'.
15086 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15087 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15088
841a1577 150892011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15090
cd22b309
JB
15091 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15092 Use correct match group (bug#8438).
05842630 15093
3ba7869c
CY
150942011-04-24 Chong Yidong <cyd@stupidchicken.com>
15095
512e3ae1
CY
15096 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15097 (package-menu--generate): New arg specifying packages to show.
15098 (package-menu-refresh, package-menu-execute, list-packages):
15099 Callers changed.
15100 (package-show-package-list): New function, replacing deleted
15101 package--list-packages (renamed because it is non-internal).
15102
15103 * finder.el (finder-list-matches): Use package-show-package-list
15104 instead of deleted package--list-packages.
15105
e92f3bd3
SM
15106 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15107 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15108 (vc-annotate-mode-map): Bind it to RET.
15109
7031be6d
UR
151102011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15111
15112 * progmodes/etags.el (next-file): Don't use set-buffer to change
15113 buffers (Bug#8478).
15114
4ef177aa
CY
151152011-04-24 Chong Yidong <cyd@stupidchicken.com>
15116
c8d173eb
CY
15117 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15118
4ef177aa
CY
15119 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15120 (apropos-accumulator): Doc fix.
15121 (apropos-function, apropos-macro, apropos-command)
15122 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15123 (apropos-plist): Add face property.
15124 (apropos-symbols-internal): Fix indentation.
15125 (apropos-print): Simplify help, and recognize apropos-multi-type.
15126 (apropos-print-doc): Use button-type-get to extract the button's
15127 face property. Fill docstring (Bug#8352).
15128
4ffd0d6b 151292011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15130
15131 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15132
c6c32125 15133 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15134 (mpuz-mode-map): Use mapc.
c6c32125
JB
15135 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15136 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15137 Fix typos in docstrings.
15138
58d468b4
JB
15139 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15140 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15141
6470c3c6
JB
15142 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15143
4ffd0d6b 151442011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15145
15146 * minibuffer.el (completion--do-completion): Avoid the "Next char
15147 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15148
3ad8bad0
CY
15149 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15150 mouse-2 into unread-command-events, it is interpreted correctly.
15151
71d73c9c 15152 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15153 (image-toggle-display): Doc fix.
71d73c9c 15154
841a1577 151552011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15156
4ffd0d6b
GM
15157 * textmodes/page.el (what-page): Use line-number-at-pos to
15158 calculate line number (Bug#6825).
6e1dbaa9 15159
c2fb1b60
JB
151602011-04-22 Juanma Barranquero <lekktu@gmail.com>
15161
15162 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15163 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15164 Pass argument NO-DEFAULT to `find-tag-interactive'.
15165
e02f48d7
JB
151662011-04-22 Juanma Barranquero <lekktu@gmail.com>
15167
15168 Lexical-binding cleanup.
15169
15170 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15171 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15172 * progmodes/ada-prj.el (ada-prj-initialize-values)
15173 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15174 (ada-prj-show-value):
15175 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15176 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15177 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15178 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15179 * progmodes/bug-reference.el (bug-reference-push-button):
15180 * progmodes/fortran.el (fortran-line-length):
15181 * progmodes/glasses.el (glasses-change):
15182 * progmodes/octave-mod.el (octave-fill-paragraph):
15183 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15184 (python-pdbtrack-grub-for-buffer, python-sentinel):
15185 * progmodes/sql.el (sql-save-connection):
15186 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15187 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15188 Mark unused parameters.
15189
15190 * progmodes/compile.el (compilation--flush-directory-cache)
15191 (compilation--flush-parse, compile-internal): Mark unused parameters.
15192 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15193 (compilation-next-error-function): Remove unused variable `timestamp'.
15194
15195 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15196 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15197
15198 * progmodes/dcl-mode.el (dcl-end-of-command):
15199 Remove unused variable `start'.
15200 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15201 (dcl-option-value-basic, dcl-option-value-offset)
15202 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15203 Mark unused parameters.
15204 (dcl-save-local-variable): Remove unused variable `val'.
15205 (mode): Declare.
15206
15207 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15208 Mark unused parameters.
15209 (delphi-ignore-changes): Move before first use.
15210 (delphi-charset-token-at): Remove unused variable `start'.
15211 (delphi-else-start): Remove unused variable `if-count'.
15212 (delphi-comment-block-start, delphi-comment-block-end):
15213 Remove unused variable `kind'.
15214 (delphi-indent-line): Remove unused variable `new-point'.
15215
15216 * progmodes/ebrowse.el (ebrowse-files-list)
15217 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15218 Mark unused parameters. Don't quote `lambda'.
15219 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15220 Don't quote `lambda'.
15221 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15222 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15223 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15224 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15225 Use `ignore-errors'.
15226 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15227 (ebrowse-view/find-file-and-search-pattern)
15228 (ebrowse-view/find-member-declaration/definition):
15229 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15230 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15231 Rename parameter PREFIX-ARG to PREFIX.
15232 (ebrowse-tags-read-name): Remove unused variables `start' and
15233 `member-info'.
15234 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15235 to `tags-file'.
15236
15237 * progmodes/etags.el (local-find-tag-hook): Declare.
15238 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15239 Mark unused parameters.
15240
15241 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15242 (executable-interpret): Mark unused parameter.
15243
15244 * progmodes/flymake.el (flymake-process-sentinel)
15245 (flymake-after-change-function)
15246 (flymake-create-temp-with-folder-structure)
15247 (flymake-get-include-dirs-dot): Mark unused parameters.
15248 (flymake-safe-delete-directory): Remove unused variable `err'.
15249
15250 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15251 (speedbar-timer-fn, speedbar-line-text)
15252 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15253 (speedbar-center-buffer-smartly): Declare functions.
15254 (gdb-find-watch-expression): Remove unused variable `array'.
15255 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15256 (gdb-starting): Mark unused parameters.
15257 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15258 (gdb-table-string): Remove unused variable `res'.
15259 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15260 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15261 (gdb-display-buffer): Remove unused variable `cur-size'.
15262
15263 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15264 allow lexical-binding compilation.
15265 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15266 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15267 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15268 Mark unused parameters.
15269 (gud-gdb-marker-filter): Remove unused variable `match'.
15270 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15271 lambda expressions and funcall them, instead of using `fset'.
15272
15273 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15274 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15275
15276 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15277 variable `header-beg'; use `let'.
15278
15279 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15280 `restart', `last-sexp' and `at-do'.
15281
15282 * progmodes/js.el (js--debug): Mark unused parameter.
15283 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15284 (js--splice-into-items): Remove unused variable `item'.
15285 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15286
15287 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15288 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15289 (makefile-complete): Remove unused variable `try'.
15290 (makefile-fill-paragraph, makefile-match-function-end):
15291 Mark unused parameters.
15292
15293 * progmodes/octave-inf.el (inferior-octave-complete):
15294 Remove unused variable `proc'.
15295 (inferior-octave-output-digest): Mark unused parameter.
15296
15297 * progmodes/perl-mode.el (perl-calculate-indent):
15298 Remove unused variable `err'.
15299
15300 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15301 (prolog-indent-line): Mark unused parameters.
15302 (prolog-indent-line): Remove unused variable `beg'.
15303
15304 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15305 (reporter-dont-compact-list): Declare.
15306
15307 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15308 Remove unused variable `char'.
15309 (sh-debug): Mark unused parameter.
15310 (sh-get-indent-info): Remove unused variable `start'.
15311 (sh-calculate-indent): Remove unused variable `var'.
15312
15313 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15314 (simula-electric-keyword): Remove unused variable `null'.
15315 (simula-search-backward, simula-search-forward): Remove unused
15316 variables `begin' and `end'.
15317
15318 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15319 Remove unused variable `pos'.
15320 (vera-electric-tab, vera-comment-uncomment-region):
15321 Mark unused parameters.
15322 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15323
7ede3b65
CY
153242011-04-22 Chong Yidong <cyd@stupidchicken.com>
15325
15326 * emacs-lisp/package.el (package--builtins, package-alist)
15327 (package-load-descriptor, package-built-in-p, package-activate)
15328 (define-package, package-installed-p)
15329 (package-compute-transaction, package-buffer-info)
15330 (package--push): Doc fix. Distinguish more clearly between
15331 version strings and version lists.
15332
121656e9
JB
153332011-04-21 Juanma Barranquero <lekktu@gmail.com>
15334
15335 Lexical-binding cleanup.
15336
15337 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15338 (5x5-make-mutate-best):
15339 * play/fortune.el (fortune-in-buffer):
15340 * play/gomoku.el (gomoku-init-display):
15341 * play/solitaire.el (solitaire, solitaire-do-check):
15342 * play/tetris.el (tetris-default-update-speed-function):
15343 Mark unused parameters.
15344
15345 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15346 (bubbles--shift): Remove unused variable `char-org'.
15347 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15348 (bubbles--show-images): Remove unused variable `char'.
15349
15350 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15351 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15352 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15353 (decipher-analyze-buffer): Use ?\s.
15354 (decipher-make-checkpoint): Remove unused variable `mapping'.
15355
15356 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15357
15358 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15359 Remove unused variable `result'; use `let'.
15360
15361 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15362 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15363 (gametree-children-shown-p, gametree-compute-reduced-score):
15364 Use `ignore-errors'.
15365
15366 * play/handwrite.el (ps-lpr-switches): Declare.
15367 (handwrite): Remove unused variables `pmin' and `lastp'.
15368
15369 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15370
15371 * play/landmark.el (landmark-init-display)
15372 (landmark-update-naught-weights): Mark unused parameters.
15373 (landmark-y): Remove unused variable `noise'. Simplify.
15374 (landmark-human-plays): Remove unused variable `score'.
15375
15376 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15377 (mpuz-try-proposal): Remove unused variable `game'.
15378
15379 * play/zone.el (life-patterns): Declare.
15380
80f499c7
JB
153812011-04-20 Juanma Barranquero <lekktu@gmail.com>
15382
15383 * vc/vc.el (ediff-vc-internal): Declare function.
15384
024ff170
SM
153852011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15386
c0a193ea
SM
15387 * shell.el: Use lexical-binding and std completion UI.
15388 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15389 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15390 comint-preoutput-filter-functions rather than on
15391 comint-output-filter-functions.
15392 (shell-command-completion, shell--command-completion-data)
15393 (shell-filename-completion, shell-environment-variable-completion)
15394 (shell-c-a-p-replace-by-expanded-directory): New functions.
15395 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15396 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15397 (shell-dynamic-complete-environment-variable): Use them.
15398 (shell-dynamic-complete-as-environment-variable)
15399 (shell-dynamic-complete-as-command): Remove.
15400 (shell-match-partial-variable): Match past point.
15401 * comint.el: Clean up use of completion-at-point-functions.
15402 (comint-completion-at-point): New function.
15403 (comint-mode): Use it completion-at-point-functions.
15404 (comint-dynamic-complete): Make it obsolete.
15405 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15406 (comint-c-a-p-replace-by-expanded-history): New function.
15407 (comint-dynamic-complete-functions)
15408 (comint-replace-by-expanded-history): Use it.
15409 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15410 termination strings. Try harder to avoid second try-completion.
15411 (completion-in-region-mode-map): Disable bindings that don't work yet.
15412
2dbaa080
SM
15413 * comint.el: Use lexical-binding. Require CL.
15414 (comint-dynamic-complete-functions): Use comint-filename-completion.
15415 (comint-completion-addsuffix): Tweak custom type.
15416 (comint-filename-completion, comint--common-suffix)
15417 (comint--common-quoted-suffix, comint--table-subvert)
15418 (comint--complete-file-name-data): New functions.
15419 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15420 (comint-dynamic-list-filename-completions): Use them.
15421 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15422
2dbaa080
SM
15423 * minibuffer.el (completion-in-region-mode):
15424 Keep completion-in-region-mode--predicate global.
15425 (completion-in-region--postch):
15426 Assume completion-in-region-mode--predicate is not null.
15427
c79a6f38
SM
15428 * progmodes/flymake.el (flymake-start-syntax-check-process):
15429 Obey `dir'. Simplify.
15430
024ff170
SM
15431 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15432 we're in VC after all.
15433
1c6c854e
CS
154342011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15435
15436 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15437 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15438 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15439
bed7f140
SM
154402011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15441
332e62ab
SM
15442 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15443 add sanity check.
15444
bed7f140
SM
15445 * obsolete/erc-hecomplete.el: Make obsolete.
15446 * obsolete/: Standardize obsolescence info in the header.
15447
f195c582
GM
154482011-04-20 Glenn Morris <rgm@gnu.org>
15449
15450 * calendar/solar.el (solar-horizontal-coordinates):
15451 Use the longitude argument rather than `calendar-longitude'.
15452 (solar-date-next-longitude): Remove unused locals.
15453
cb79b8c0
VJL
154542011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15455
15456 * whitespace.el: New version 13.2.1.
15457
154582011-04-20 felix <EmacsWiki> (tiny change)
15459
d8e4b68b 15460 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15461 switching between major modes on a file.
15462
602ea69d
SM
154632011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15464
15465 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15466 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15467 multi-line comments as well.
15468
06b60517
JB
154692011-04-19 Juanma Barranquero <lekktu@gmail.com>
15470
15471 Lexical-binding cleanup.
15472
15473 * arc-mode.el (archive-mode-revert):
15474 * cmuscheme.el (scheme-interactively-start-process):
15475 * custom.el (custom-initialize-delay):
15476 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15477 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15478 * emacs-lock.el (emacs-lock-clear-sentinel):
15479 * ezimage.el (defezimage):
15480 * follow.el (follow-avoid-tail-recenter):
15481 * fringe.el (set-fringe-mode-1):
15482 * generic-x.el (bat-generic-mode-compile):
15483 * help-mode.el (help-info-variable, help-do-xref)
15484 (help-mode-revert-buffer):
15485 * help.el (view-emacs-todo):
15486 * iswitchb.el (iswitchb-completion-help):
15487 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15488 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15489 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15490 * locate.el (locate-update):
15491 * longlines.el (longlines-encode-region)
15492 (longlines-after-change-function):
15493 * outline.el (outline-isearch-open-invisible):
15494 * ps-def.el (declare-function, charset-dimension, char-width)
15495 (encode-char):
15496 * ps-mule.el (ps-mule-plot-string):
15497 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15498 (recentf-edit-list-select, recentf-edit-list-validate)
15499 (recentf-open-files-action):
15500 * rect.el (delete-whitespace-rectangle-line)
15501 (rectangle-number-line-callback):
15502 * register.el (window-configuration-to-register)
15503 (frame-configuration-to-register):
15504 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15505 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15506 (xselect-convert-to-targets, xselect-convert-to-delete)
15507 (xselect-convert-to-filename, xselect-convert-to-charpos)
15508 (xselect-convert-to-lineno, xselect-convert-to-colno)
15509 (xselect-convert-to-os, xselect-convert-to-host)
15510 (xselect-convert-to-user, xselect-convert-to-class)
15511 (xselect-convert-to-name, xselect-convert-to-integer)
15512 (xselect-convert-to-atom, xselect-convert-to-identity):
15513 * subr.el (declare, ignore, process-kill-without-query)
15514 (text-clone-maintain):
15515 * terminal.el (te-get-char, te-tic-sentinel):
15516 * tool-bar.el (tool-bar-make-keymap):
15517 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15518 * type-break.el (type-break-mode, type-break-noninteractive-query):
15519 * view.el (View-back-to-mark):
15520 * wid-browse.el (widget-browse-action, widget-browse-widget)
15521 (widget-browse-widgets, widget-browse-sexp):
15522 * widget.el (define-widget-keywords):
15523 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15524 Mark unused parameters.
15525
15526 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15527 (align-areas): Remove unused variable `look'.
15528 (align-region): Remove unused variables `real-end' and `pos-list'.
15529
15530 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15531
15532 * bindings.el (mode-line-modified, mode-line-remote):
15533 Mark unused parameters.
15534 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15535
15536 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15537 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15538
15539 * comint.el (comint-history-isearch-pop-state)
15540 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15541 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15542 (comint-substitute-in-file-name): Doc fix.
15543
15544 * completion.el (cmpl-statistics-block): Mark unused parameter.
15545 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15546 (save-completions-to-file, load-completions-from-file):
15547 Remove unused local variable `e'.
15548
15549 * composite.el (compose-chars): Remove unused variable `len'.
15550 (lgstring-insert-glyph): Remove unused variable `g'.
15551 (compose-glyph-string): Remove unused variables `ascent',
15552 `descent', `lbearing' and `rbearing'.
15553 (compose-glyph-string-relative): Remove unused variables
15554 `lbearing', `rbearing' and `wadjust'.
15555 (compose-gstring-for-graphic): Remove unused variables `header',
15556 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15557 (compose-gstring-for-terminal): Remove unused variables `header'
15558 and `nchars'. Use `let', not `let*'.
15559
15560 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15561 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15562 (Custom-buffer-done, custom-buffer-create-internal)
15563 (custom-browse-visibility-action, custom-browse-group-tag-action)
15564 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15565 (widget-magic-mouse-down-action, custom-toggle-parent)
15566 (custom-add-parent-links, custom-toggle-hide-variable)
15567 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15568 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15569 (custom-face-menu-create, custom-variable-menu-create, get)
15570 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15571 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15572 (customize-apropos): Remove unused variable `tests'.
15573 (custom-group-value-create): Remove unused variable `hidden-p'.
15574 (sort-fold-case): Declare.
15575
15576 * cus-theme.el (custom-reset-standard-faces-list)
15577 (custom-reset-standard-variables-list): Declare.
15578 (customize-create-theme, custom-theme-revert, custom-theme-write)
15579 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15580 Mark unused parameters.
15581
15582 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15583
15584 * delim-col.el (delimit-columns-max): Move defvar before first use.
15585
15586 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15587 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15588
15589 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15590 (auto-insert): Declare.
15591 (desktop-restore-file-buffer): Rename desktop-* parameters;
15592 mark unused ones.
15593 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15594 (desktop-buffer): Rename desktop-* parameters.
15595
15596 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15597 (dframe-reposition-frame-xemacs, dframe-help-echo)
15598 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15599 Mark unused parameters.
15600
15601 * dired-aux.el (backup-extract-version-start, overwrite-query)
15602 (overwrite-backup-query, rename-regexp-query)
15603 (rename-non-directory-query): Declare.
15604 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15605 (dired-add-entry): Remove unused variable `orig-file-name'.
15606 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15607 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15608 `dired-copy-preserve-time' directly.
15609 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15610 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15611
15612 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15613 (dired-virtual-revert, dired-make-relative-symlink):
15614 Mark unused parameters.
15615 (manual-program): Declare.
15616 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15617 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15618 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15619
15620 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15621
15622 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15623
15624 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15625 Declare.
15626
15627 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15628
15629 * electric.el (Electric-command-loop): Rename parameter
15630 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15631
15632 * expand.el (expand-in-literal): Remove unused variable `here'.
15633
15634 * facemenu.el (facemenu-add-new-color):
15635 Remove unused variable `docstring'.
15636
15637 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15638 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15639 (face-attr-construct): Mark unused parameter. Doc fix.
15640 (read-color): Remove unused variable `hex-string'.
15641
15642 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15643 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15644 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15645 (display-buffer-other-frame): Remove unused variable `old-window'.
15646 (kill-buffer-hook): Declare.
15647 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15648 Mark unused parameters.
15649 (after-find-file): Pass 1 to `auto-save-mode', not t.
15650
15651 * files-x.el (auto-insert): Declare.
15652 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15653
15654 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15655 variable `buf'. Mark unused parameter.
06b60517
JB
15656 (find-lisp-insert-directory): Mark unused parameter.
15657
15658 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15659 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15660 (format-common-tail): Remove, unused.
15661 (format-deannotate-region): Remove unused variable `loc'.
15662 (format-annotate-region): Remove unused variable `p'.
15663 (format-annotate-single-property-change): Remove unused variables
15664 `default' and `tail'.
15665
15666 * forms.el (read-file-filter): Declare.
15667 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15668
15669 * frame.el (frame-creation-function-alist): Mark unused parameter.
15670 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15671
15672 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15673 Remove unused parameters.
15674 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15675 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15676
15677 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15678 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15679 (hfy-prepare-tag-map): Mark unused parameters.
15680 (htmlfontify-buffer): Use `called-interactively-p'.
15681
15682 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15683 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15684 (ibuffer-do-occur): Mark unused parameters.
15685 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15686 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15687
15688 * ibuffer.el: Don't quote `lambda'.
15689 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15690 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15691 Mark unused parameters.
15692
15693 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15694 (ido-completing-read): Mark unused parameters.
15695 (ido-copy-current-word): Mark unused parameters;
15696 remove unused variable `name'.
15697 (ido-sort-merged-list): Remove unused parameter `dirs'.
15698
15699 * ielm.el (ielm-input-sender): Mark unused parameter.
15700 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15701 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15702 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15703 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15704 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15705
15706 * image-dired.el (image-dired-display-thumbs): Remove unused
15707 variables `curr-file' and `count'.
15708 (image-dired-remove-tag): Remove unused variable `start'.
15709 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15710 variable `curr-file'
15711 (image-dired-rotate-original): Remove unused variable `temp-file'.
15712 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15713 Remove unused variable `file'.
15714 (image-dired-gallery-generate): Remove unused variable `curr'.
15715 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15716
15717 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15718
15719 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15720
15721 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15722
15723 * isearch.el (minibuffer-history-symbol): Declare.
15724 (isearch-edit-string): Remove unused variable `err'.
15725 (isearch-message-prefix, isearch-message-suffix):
15726 Mark unused parameters.
15727
15728 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15729
15730 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15731
15732 * makesum.el (double-column): Remove unused variable `cnt'.
15733
15734 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15735 (ido-ignore-item-temp-list): Declare.
15736
15737 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15738 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15739 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15740 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15741 `mouse-col-delta'.
15742
15743 * mouse-sel.el (mouse-extend-internal):
15744 Remove unused variable `orig-window-frame'.
15745
15746 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15747 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15748 Move declarations before first use.
15749 (pcomplete-opt): Mark unused parameters; doc fix.
15750
15751 * proced.el (proced-revert): Mark unused parameter.
15752 (proced-send-signal): Remove unused variable `err'.
15753
15754 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15755 Rename parameter PREFIX-ARG to ARG.
15756 (ps-basic-plot-string, ps-basic-plot-whitespace):
15757 Mark unused parameters.
15758
15759 * replace.el (replace-count): Define.
15760 (occur-revert-function): Mark unused parameters.
15761 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15762 (isearch-case-fold-search, isearch-string): Declare.
15763 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15764 bind `case-fold-search'. Remove unused variables `beg' and `end',
15765 and simplify.
15766 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15767 COUNT and bind `replace-count'.
15768 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15769 to COUNT.
15770
15771 * savehist.el (print-readably, print-string-length): Declare.
15772
15773 * shadowfile.el (shadow-expand-cluster-in-file-name):
15774 Remove unused variable `cluster'.
15775 (shadow-copy-file): Remove unused variable `i'.
15776 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15777 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15778 (shadow-define-literal-group, shadow-define-regexp-group)
15779 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15780
15781 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15782 (shell): Use `called-interactively-p'.
15783 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15784
15785 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15786 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15787 (delete-backward-char): Remove unused variable `ocol'.
15788 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15789 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15790 (event-apply-hyper-modifier, event-apply-shift-modifier)
15791 (event-apply-control-modifier, event-apply-meta-modifier):
15792 Mark unused parameters.
15793 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15794 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15795
15796 * speedbar.el (speedbar-ignored-directory-expressions)
15797 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15798 (speedbar-find-file, speedbar-dir-follow)
15799 (speedbar-directory-buttons-follow, speedbar-tag-find)
15800 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15801 (speedbar-buffers-line-directory, speedbar-buffer-click):
15802 Mark unused parameters.
15803 (speedbar-tag-file): Remove unused variable `mode'.
15804 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15805
15806 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15807
15808 * talk.el (talk): Remove unused variable `display'.
15809
15810 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15811 (tar-write-region-annotate): Mark unused parameter.
15812
15813 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15814 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15815 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15816 warning by another.
15817
15818 * time-stamp.el (time-stamp-string-preprocess):
15819 Remove unused variable `require-padding'.
15820
15821 * tree-widget.el (widget-glyph-enable): Declare.
15822 (tree-widget-action): Mark unused parameter.
15823
15824 * w32-fns.el (x-get-selection): Mark unused parameter.
15825 (autoload-make-program, generated-autoload-file): Declare.
15826
15827 * wdired.el (wdired-revert): Mark unused parameters.
15828 (wdired-xcase-word): Remove unused variable `err'.
15829
15830 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15831 (whitespace-help-scroll): Remove unused variable `data-help'.
15832
15833 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15834 (widget-image-insert, widget-after-change, default)
15835 (widget-default-format-handler, widget-default-notify)
15836 (widget-default-prompt-value, widget-info-link-action)
15837 (widget-url-link-action, widget-function-link-action)
15838 (widget-variable-link-action, widget-file-link-action)
15839 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15840 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15841 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15842 (widget-insert-button-action, widget-delete-button-action, visibility)
15843 (widget-documentation-link-action, widget-documentation-string-action)
15844 (widget-const-prompt-value, widget-regexp-match, symbol)
15845 (widget-coding-system-prompt-value)
15846 (widget-key-sequence-value-to-external, sexp)
15847 (widget-sexp-value-to-internal, character, vector, cons)
15848 (widget-choice-prompt-value, widget-boolean-prompt-value)
15849 (widget-color--choose-action): Mark unused parameters.
15850 (widget-item-match-inline, widget-choice-match-inline)
15851 (widget-checklist-match, widget-checklist-match-inline)
15852 (widget-group-match): Rename parameter VALUES to VALS.
15853 (widget-field-value-set): Remove unused variable `size'.
15854 (widget-color-action): Remove unused variables `value' and `start'.
15855
15856 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15857 variable `dir'. Doc fix.
06b60517
JB
15858 (windmove-find-other-window): Don't pass it.
15859
15860 * window.el (count-windows): Mark unused parameter.
15861 (bw-adjust-window): Remove unused variable `err'.
15862
15863 * woman.el (woman-file-name): Remove unused variable `default'.
15864 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15865 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15866 (global-font-lock-mode): Declare.
15867 (woman-decode-region): Mark unused parameter.
15868 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15869
15870 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15871 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15872 (x-dnd-handle-moz-url): Remove unused variable `title'.
15873 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15874
15875 * xml.el (xml-parse-tag, xml-parse-attlist):
15876 Remove unused variable `pos'.
15877
bc4f7f3d
GM
158782011-04-19 Glenn Morris <rgm@gnu.org>
15879
15880 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15881 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15882 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15883 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15884 * calendar/cal-html.el (cal-html-insert-minical):
15885 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15886 (calendar-mark-date-pattern):
15887 Prefix "unused" locals.
15888
15889 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15890 optional argument `style'.
15891
15892 * calendar/appt.el (appt-make-list):
15893 * calendar/cal-china.el (calendar-chinese-date-string):
15894 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15895 (diary-hebrew-yahrzeit):
15896 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15897 * calendar/calendar.el (calendar-generate-window):
15898 * calendar/time-date.el (time-to-days):
15899 Remove unused local variables.
15900
16a43933
CY
159012011-04-18 Chong Yidong <cyd@stupidchicken.com>
15902
15903 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15904 glyphless-char-display table.
15905 (tabulated-list-glyphless-char-display): New var.
15906
7eed1860
SS
159072011-04-18 Sam Steingold <sds@gnu.org>
15908
15909 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15910 to acknowledgments.
15911
4d2d1ccd
GM
159122011-04-17 Glenn Morris <rgm@gnu.org>
15913
15914 * calendar/diary-lib.el (diary-sexp-entry):
15915 * calendar/holidays.el (holiday-sexp):
15916 Set debug-on-error rather than the removed stack-trace-on-error.
15917
239da61d
GM
159182011-04-16 Glenn Morris <rgm@gnu.org>
15919
15920 * progmodes/f90.el: Use lexical-binding.
15921 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15922
8b05752a
SM
159232011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15924
daca8ba5
SM
15925 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15926 (mail-mode): Setup mailalias completion here instead.
15927 * mail/mailalias.el: Use lexical-binding.
15928 (pattern, mailalias-done): Declare dynamic.
15929 (mail-completion-at-point-function): New function, from mail-complete.
15930 (mail-complete): Use it.
15931 (mail-completion-expand): New function.
15932 (mail-get-names): Use it.
15933 (mail-directory, mail-directory-process, mail-directory-stream):
15934 Don't use `pattern' for lexically bound arg.
15935
6f542485
SM
15936 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15937
037e7c3f
SM
15938 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15939 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15940 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15941
8b05752a
SM
15942 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15943 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15944 (byte-interactive-p): Define them again, for use when inlining
15945 old code.
15946
49093f60
JB
159472011-04-15 Juanma Barranquero <lekktu@gmail.com>
15948
15949 * loadup.el: Use `string-to-number', not `string-to-int'.
15950
b5b8e7de
SM
159512011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15952
15953 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15954 gud-gdb-complete-command.
15955 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15956 (gud-gdb-completion-at-point): New function.
15957 (gud-gdb-completions): Remove.
15958
f42efeb5
MA
159592011-04-14 Michael Albinus <michael.albinus@gmx.de>
15960
49093f60
JB
15961 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15962 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15963 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15964 whether `executable-find' is bound.
f42efeb5
MA
15965
15966 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15967
e240cc21
SM
159682011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15969
15970 * minibuffer.el (completion-in-region-mode-predicate)
15971 (completion-in-region-mode--predicate): New vars.
15972 (completion-in-region, completion-in-region--postch)
15973 (completion-in-region-mode): Use them.
15974 (completion--capf-wrapper): Also return the hook function.
15975 (completion-at-point, completion-help-at-point):
15976 Adjust and provide a predicate.
c2bd2ab0
SM
15977
15978 Preserve arg names for advice of subr and lexical functions (bug#8457).
15979 * help-fns.el (help-function-arglist): Consolidate the subr and
15980 new-byte-code cases. Add argument `preserve-names' to extract names
15981 from the docstring when needed.
15982 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15983 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15984 (ad-arglist): Use help-function-arglist's new arg.
15985 (ad-definition-type): Use cond.
15986
c183f693
JB
159872011-04-13 Juanma Barranquero <lekktu@gmail.com>
15988
06641a47
JB
15989 * autorevert.el (auto-revert-handler):
15990 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15991 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15992 Don't quote lambda.
15993
c183f693
JB
15994 * image-mode.el (image-transform-set-scale):
15995 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15996
1e3b6001
G
159972011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15998
15999 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16000 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16001 Upgrades via gnutls-cli are too slow to be done opportunistically.
16002
2d6af8dd
JB
160032011-04-12 Juanma Barranquero <lekktu@gmail.com>
16004
16005 * dframe.el (dframe-current-frame): Remove spurious quote.
16006
c0749a51
GM
160072011-04-12 Glenn Morris <rgm@gnu.org>
16008
088d0d61
GM
16009 * calendar/cal-tex.el (cal-tex-end-document):
16010 Try to automatically use latin1 input if needed.
16011
c0749a51
GM
16012 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16013 Don't try to cons a mark onto an empty element.
16014
5c90fde0
LL
160152011-04-11 Leo Liu <sdl.web@gmail.com>
16016
16017 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16018 buffers.
16019 (ido-kill-buffer-at-head): Support killing virtual buffers.
16020
369e974d
CY
160212011-04-10 Chong Yidong <cyd@stupidchicken.com>
16022
16023 * minibuffer.el (completion-show-inline-help): New var.
16024 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16025 (minibuffer-force-complete, minibuffer-complete-word):
16026 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16027
16028 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16029 to avoid interference from inline help (Bug#5849).
16030
37f1c930
LL
160312011-04-10 Leo Liu <sdl.web@gmail.com>
16032
099c39a4
JB
16033 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16034 Fix typo.
37f1c930 16035
a32d4040
CY
160362011-04-09 Chong Yidong <cyd@stupidchicken.com>
16037
16038 * image-mode.el (image-toggle-display-image): Signal an error if
16039 not in Image mode.
16040 (image-transform-mode, image-transform-resize)
16041 (image-transform-set-rotation): Doc fix.
daca8ba5 16042 (image-transform-set-resize): Delete.
a32d4040
CY
16043 (image-transform-set-scale, image-transform-fit-to-height)
16044 (image-transform-fit-to-width): Handle image-toggle-display-image
16045 and image-transform-resize directly.
16046
099c39a4 160472011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16048
16049 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16050 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16051 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16052 (doc-view-mode-map): Add bindings for the new functions.
16053
099c39a4 160542011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16055
4d61f28d 16056 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16057 Fix typo in docstring.
16058
3726838a
EZ
160592011-04-08 Eli Zaretskii <eliz@gnu.org>
16060
04f33f1e
EZ
16061 * files.el (file-size-human-readable): Produce one digit after
16062 decimal, like "ls -lh" does.
16063
16064 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16065 the file size representation.
16066
3726838a
EZ
16067 * simple.el (list-processes): If async subprocesses are not
16068 available, error out with a clear error message.
16069
cbb59342
CY
160702011-04-08 Chong Yidong <cyd@stupidchicken.com>
16071
16072 * help.el (help-form-show): New function, to be called from C.
16073 Put help-form output in a buffer named differently than *Help*.
16074
e3971c44
EZ
160752011-04-08 Eli Zaretskii <eliz@gnu.org>
16076
16077 * files.el (file-size-human-readable): New function.
16078
16079 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16080 computing the representation inline. Don't require `cl'.
16081
12544bbe
GM
160822011-04-08 Glenn Morris <rgm@gnu.org>
16083
a1de6c6a
GM
16084 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16085
3c4671f4
GM
16086 * net/browse-url.el (browse-url-firefox):
16087 Test system-type, not system-configuration.
16088
b605679c
GM
16089 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16090 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16091 Use log-edit-empty-buffer-p. (Bug#7598)
16092
56442f0c
GM
16093 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16094 (rlogin-mode-map): Initialize in the defvar.
16095 (rlogin): Use ignore-errors.
16096
12544bbe
GM
16097 * replace.el (occur-mode-map): Some fixes for menu items.
16098
eb237b0f
AH
160992011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16100
16101 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16102
7d668f2c
CY
161032011-04-06 Chong Yidong <cyd@stupidchicken.com>
16104
e67a13ab
CY
16105 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16106 issuing unused warnings.
16107
16108 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16109 macro directly.
16110
7d668f2c
CY
16111 * simple.el: Lisp reimplement of list-processes. Based on an
16112 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16113 (process-menu-mode): New major mode.
16114 (list-processes--refresh, list-processes):
16115 (process-menu-visit-buffer): New functions.
16116
16117 * files.el (save-buffers-kill-emacs): Don't assume any return
16118 value of list-processes, which is undocumented anyway.
16119
a83ec3c9
CY
161202011-04-06 Chong Yidong <cyd@stupidchicken.com>
16121
16122 * emacs-lisp/tabulated-list.el: New file.
16123
e91a96fe
CY
16124 * emacs-lisp/package.el: Use Tabulated List mode.
16125 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16126 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16127 table format using Tabulated List mode variables.
16128 (package--push): New macro, replacing package-list-maybe-add.
16129 (package-menu--generate): Use package--push. Renamed from
16130 package--generate-package-list.
16131 (package-menu-refresh, list-packages): Use it.
daca8ba5 16132 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16133 Return insertion data instead of inserting it directly.
099c39a4
JB
16134 (package-menu-describe-package, package-menu-execute):
16135 Use tabulated-list-get-id.
e91a96fe
CY
16136 (package-menu-mark-delete, package-menu-mark-install)
16137 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16138 (package-menu-mark-obsolete-for-deletion):
16139 Use tabulated-list-put-tag.
e91a96fe
CY
16140 (package--list-packages, package-menu-revert)
16141 (package-menu-get-package, package-menu-get-version)
16142 (package-menu-sort-by-column): Functions deleted.
16143 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16144 (package-menu--status-predicate, package-menu--version-predicate)
16145 (package-menu--name-predicate)
16146 (package-menu--description-predicate): Handle arguments in the
16147 Tabulated List format.
16148 (package-list-packages-no-fetch): Call list-packages.
16149
3e214b50
JB
161502011-04-06 Juanma Barranquero <lekktu@gmail.com>
16151
16152 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16153 (after-find-file): Don't bind it.
3e214b50
JB
16154 (revert-buffer-in-progress-p): New variable.
16155 (revert-buffer): Bind it.
16156 Pass nil for `after-find-file-from-revert-buffer'.
16157
16158 * saveplace.el (save-place-find-file-hook): Use new variable
16159 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16160
3f0f1700
GM
161612011-04-06 Glenn Morris <rgm@gnu.org>
16162
c0274801
GM
16163 * Makefile.in (AUTOGEN_VCS): New variable.
16164 (autoloads): Use $AUTOGEN_VCS.
16165
3f0f1700
GM
16166 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16167 * calendar/calendar.el (calendar-mode-map):
16168 Check for toolkit scroll bars. (Bug#8305)
16169
41ea9e48
CY
161702011-04-05 Chong Yidong <cyd@stupidchicken.com>
16171
16172 * minibuffer.el (completion-in-region--postch)
16173 (completion-in-region-mode): Remove unnecessary messages.
16174
6194c800
JB
161752011-04-05 Juanma Barranquero <lekktu@gmail.com>
16176
33256f14
JB
16177 * font-lock.el (font-lock-refresh-defaults):
16178 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16179 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16180
6194c800
JB
16181 * info.el (Info-directory-list, Info-read-node-name-2)
16182 (Info-split-parameter-string): Doc fixes.
16183 (Info-virtual-nodes): Reflow docstring.
16184 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16185 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16186 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16187 Fix typos in docstrings.
16188 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16189 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16190 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16191 (Info-restore-desktop-buffer): Mark unused parameters.
16192 (Info-directory-find-file, Info-directory-find-node)
16193 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16194 (Info-virtual-index-find-node, Info-apropos-find-file)
16195 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16196 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16197 (Info-virtual-index): Remove unused local variable `nodename'.
16198
b87a8200 161992011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16200
b87a8200
DD
16201 * net/rcirc.el: Update my e-mail address.
16202 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16203
3b2ff876
CY
162042011-04-05 Chong Yidong <cyd@stupidchicken.com>
16205
16206 * startup.el (command-line): Save the cursor's theme-face
16207 directly, instead of using face-override-spec.
16208
16209 * custom.el (load-theme): Minor optimization in assigning faces.
16210
8d17e7ca
JB
162112011-04-04 Juanma Barranquero <lekktu@gmail.com>
16212
16213 * help-fns.el (describe-variable): Complete all variables having
16214 documentation, including keywords.
16215 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16216
2fbc1934
JB
162172011-04-04 Juanma Barranquero <lekktu@gmail.com>
16218
16219 Convert to lexical-binding.
16220
16221 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16222 (bs--get-marked-string, bs--get-modified-string)
16223 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16224 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16225 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16226
16227 * ehelp.el (electric-help-execute-extended)
16228 (electric-help-ctrl-x-prefix):
16229 * hexl.el (hexl-revert-buffer-function):
16230 * linum.el (linum-after-change, linum-after-scroll):
16231 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16232
16233 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16234
74f50695
DU
162352011-04-04 Daiki Ueno <ueno@unixuser.org>
16236
16237 * epa-dired.el:
16238 * epa-mail.el:
16239 * epa-hook.el:
16240 * epa-file.el:
16241 * epa.el:
16242 * epg.el: Use lexical binding.
16243
c11325f7
CY
162442011-04-03 Chong Yidong <cyd@stupidchicken.com>
16245
0d9e9a12
CY
16246 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16247
c11325f7 16248 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16249 dictionary case for flyspell-mark-duplications-exceptions.
16250 Use regexp matching for languages.
c11325f7
CY
16251 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16252 default dictionary (Bug#7926).
16253
da91b5f2
CY
162542011-04-02 Chong Yidong <cyd@stupidchicken.com>
16255
099c39a4
JB
16256 * emacs-lisp/package.el (package--with-work-buffer):
16257 Recognize https URLs.
da91b5f2 16258
099c39a4
JB
16259 * net/network-stream.el: Move from gnus/proto-stream.el.
16260 Change prefix to network-stream throughout.
da91b5f2
CY
16261 (open-protocol-stream): Merge into open-network-stream, leaving
16262 open-protocol-stream as an alias. Handle nil BUFFER args.
16263
16264 * subr.el (open-network-stream): Move to net/network-stream.el.
16265
afa8e9f6
GM
162662011-04-02 Glenn Morris <rgm@gnu.org>
16267
1d2e369d
GM
16268 * find-dired.el (find-exec-terminator): New option.
16269 (find-ls-option): Test for -ls support.
16270 (find-ls-subdir-switches): Test for -b in find-ls-option.
16271 (find-dired, find-grep-dired): Doc fixes.
16272 (find-dired): Use find-exec-terminator.
16273
8abb7da8 16274 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16275 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16276 (find-name-arg): Remove purecopy.
8abb7da8 16277
f3ca7378
GM
16278 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16279 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16280 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16281 accordingly. Don't add the null-device if not needed.
16282
afa8e9f6
GM
16283 * files.el (save-some-buffers): Doc fix.
16284
35eae264
EZ
162852011-04-02 Eli Zaretskii <eliz@gnu.org>
16286
16287 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16288
26b51db5
JB
162892011-04-01 Juanma Barranquero <lekktu@gmail.com>
16290
16291 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16292 Use `dolist' rather than `mapcar'.
16293
7200d79c
SM
162942011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16295
03408648 16296 Add lexical binding.
7200d79c 16297
03408648
SM
16298 * subr.el (apply-partially): Use new closures rather than CL.
16299 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16300 (dolist, dotimes): Use slightly different expansion for lexical code.
16301 (functionp): Move to C.
16302 (letrec): New macro.
16303 (with-wrapper-hook): Use it and apply-partially instead of CL.
16304 (eval-after-load): Preserve lexical-binding.
16305 (save-window-excursion, with-output-to-temp-buffer): Turn them
16306 into macros.
7200d79c 16307
03408648
SM
16308 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16309
16310 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16311 than the arglist.
16312 (help-add-fundoc-usage): Don't add `Not documented'.
16313 (help-function-arglist): Handle closures, subroutines, and new
16314 byte-code-functions.
16315 (help-make-usage): Remove leading underscores.
16316 (describe-function-1): Handle closures.
16317 (describe-variable): Use special-variable-p for completion.
16318
16319 * files.el (lexical-binding): Declare safe.
f488fb65 16320
03408648
SM
16321 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16322 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16323 (pcase): Add `let' pattern.
16324 Change memoization so it actually works.
16325 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16326 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16327 <let>: New case.
f488fb65 16328
03408648
SM
16329 * emacs-lisp/macroexp.el: Use lexical binding.
16330 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16331 Don't convert ' to #' without checking that it's indeed quoting
16332 a lambda.
16333
16334 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16335 Use eval-sexp-add-defvars.
03408648
SM
16336 (eval-sexp-add-defvars): New fun.
16337
16338 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16339
16340 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16341 Don't autoload.
16342 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16343 than the internal `byte-compile-lambda'.
16344 (defmethod): Don't hide code under quotes.
16345 (eieio-defmethod): New `code' argument.
16346
16347 * emacs-lisp/eieio-comp.el: Remove.
16348
16349 * emacs-lisp/edebug.el (edebug-eval-defun)
16350 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16351 (edebug-toggle): Avoid `eval'.
16352
16353 * emacs-lisp/disass.el (disassemble-internal): Handle new
16354 `closure' objects.
16355 (disassemble-1): Handle new byte codes.
16356
16357 * emacs-lisp/cl.el (pushnew): Silence warning.
16358
16359 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16360 (cl-byte-compile-throw): Remove.
16361 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16362
16363 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16364 closures.
16365
16366 * emacs-lisp/cconv.el: New file.
16367
16368 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16369 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16370 (byte-compile-initial-macro-environment):
16371 Handle declare-function here.
16372 (byte-compile--lexical-environment): New var.
16373 (byte-stack-ref, byte-stack-set, byte-discardN)
16374 (byte-discardN-preserve-tos): New lap codes.
16375 (byte-interactive-p): Don't use any more.
16376 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16377 New macros.
16378 (byte-compile-lapcode): Use them and handle new lap codes.
16379 (byte-compile-obsolete): Remove.
16380 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16381 (byte-compile-arglist-warn): Check late def of inlinable funs.
16382 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16383 since they should have been expanded by now.
16384 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16385 (byte-compile-from-buffer): Remove unused second arg.
16386 (byte-compile-preprocess): New function.
16387 (byte-compile-toplevel-file-form): New function to distinguish
16388 file-form calls from outside from file-form calls from hunk-handlers.
16389 (byte-compile-file-form): Simplify.
16390 (byte-compile-file-form-defsubst): Remove.
16391 (byte-compile-file-form-defmumble): Simplify now that
16392 byte-compile-lambda always returns a byte-code-function.
16393 (byte-compile): Preprocess.
16394 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16395 Remove, not used any more.
16396 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16397 (byte-compile-make-args-desc): New funs.
16398 (byte-compile-lambda): Handle lexical functions. Always return
16399 a byte-code-function.
16400 (byte-compile-reserved-constants): New var, to make up room for
16401 closed-over variables.
16402 (byte-compile-constants-vector): Obey it.
16403 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16404 (byte-compile-macroexpand-declare-function): New function.
16405 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16406 byte-code-functions.
16407 (byte-compile-form): Check obsolescence here.
16408 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16409 (byte-compile-variable-ref): Remove.
16410 (byte-compile-dynamic-variable-op): New fun.
16411 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16412 (byte-compile-variable-set): New funs.
16413 (byte-compile-discard): Add 2 args.
16414 (byte-compile-stack-ref, byte-compile-stack-set)
16415 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16416 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16417 macroexpand-all instead.
16418 (byte-compile-quote-form): Remove.
16419 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16420 (byte-compile-bind, byte-compile-unbind): New funs.
16421 (byte-compile-let): Handle let* and lexical binding.
16422 (byte-compile-let*): Remove.
16423 (byte-compile-catch, byte-compile-unwind-protect)
16424 (byte-compile-track-mouse, byte-compile-condition-case):
16425 Handle a new :fun-body form, used for lexical scoping.
16426 (byte-compile-save-window-excursion)
16427 (byte-compile-with-output-to-temp-buffer): Remove.
16428 (byte-compile-defun): Simplify.
16429 (byte-compile-stack-adjustment): New fun.
16430 (byte-compile-out): Use it.
16431 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16432
16433 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16434 handler any more.
16435
16436 * emacs-lisp/byte-opt.el: Use lexical binding.
16437 (byte-inline-lapcode): Remove (to bytecomp).
16438 (byte-compile-inline-expand): Pay attention to inlining to/from
16439 lexically bound code.
16440 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16441 any more.
16442 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16443 any more and don't call compiler-macros.
16444 (byte-compile-splice-in-already-compiled-code): Remove.
16445 (byte-code): Don't inline any more.
16446 (disassemble-offset): Receive `bytes' as argument rather than via
16447 dynamic scoping.
16448 (byte-compile-tag-number): Declare before first use.
16449 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16450 `return' even if make-spliceable.
16451 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16452 obsolete interactive-p.
16453 (byte-optimize-lapcode): Optimize new lap-codes.
16454 Don't trip up on new form of `byte-constant' lap code.
16455
16456 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16457
16458 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16459
16460 * custom.el (custom-initialize-default, custom-declare-variable):
16461 Use `defvar'.
16462
16463 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16464 New variables.
16465 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16466 (COMPILE_FIRST): Add macroexp and cconv.
16467 * makefile.w32-in: Mirror changes in Makefile.in.
16468
16469 * vc/cvs-status.el:
16470 * vc/diff-mode.el:
16471 * vc/log-edit.el:
16472 * vc/log-view.el:
16473 * vc/smerge-mode.el:
16474 * textmodes/bibtex-style.el:
090bd7cb 16475 * textmodes/css-mode.el:
03408648
SM
16476 * startup.el:
16477 * uniquify.el:
da91b5f2
CY
16478 * minibuffer.el:
16479 * newcomment.el:
16480 * reveal.el:
16481 * server.el:
16482 * mpc.el:
16483 * emacs-lisp/smie.el:
16484 * doc-view.el:
16485 * dired.el:
03408648
SM
16486 * abbrev.el: Use lexical binding.
16487
0f0c1f27
EZ
164882011-04-01 Eli Zaretskii <eliz@gnu.org>
16489
16490 * info.el (info-display-manual): New function.
16491
c82b2579
SM
164922011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16493
16494 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16495
221ddf68
TH
164962011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16497
16498 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16499 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16500
cba6e77e
GM
165012011-03-31 Glenn Morris <rgm@gnu.org>
16502
e040639f
GM
16503 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16504
cba6e77e
GM
16505 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16506
6d0f1c9e
CS
165072011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16508
16509 * progmodes/python.el (python-default-interpreter)
16510 (python-python-command-args, python-jython-command-args)
16511 (python-which-shell, python-which-args, python-which-bufname)
16512 (python-file-queue, python-comint-output-filter-function)
16513 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16514 variables and functions.
16515
3e2d70fd
SM
165162011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16517
16518 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16519 (completion-in-region-mode): New minor mode.
16520 (completion-in-region): Use it.
16521 (completion-in-region--data, completion-in-region-mode-map): New vars.
16522 (completion-in-region--postch): New function.
16523 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16524 New vars.
16525 (completion--capf-wrapper): New function.
16526 (completion-at-point): Use it to track well-behavedness of
16527 hook functions.
16528 (completion-help-at-point): New command.
16529
f3e4086c
JM
165302011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16531
16532 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16533 syntax class to search for whitespace on a single line
16534 (Message-ID: <4D938140.4030905@redhat.com>).
16535
eb7ffc14
LL
165362011-03-30 Leo Liu <sdl.web@gmail.com>
16537
16538 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16539 New commands.
16540 (edit-abbrevs-map): Bind them here.
16541 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16542
d806ab68
KM
165432011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16544
16545 * allout.el (allout-hide-by-annotation, allout-flag-region):
16546 Reduce possibility of overlay leakage by making them volatile.
16547
16548 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16549 hash is not shared between buffers. Mode initialization is
16550 responsible for giving it a useful starting value.
16551 (allout-item-span): Reduce possibility of overlay leakage by
16552 making them volatile.
16553 (allout-widgets-count-buttons-in-region): Add diagnostic function
16554 for tracking down button overlay leaks.
16555
ea622834
LL
165562011-03-29 Leo Liu <sdl.web@gmail.com>
16557
16558 * ido.el (ido-read-internal): Use the default history var
16559 minibuffer-history if no HISTORY is specified.
16560
b62f8267
G
165612011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16562
03408648
SM
16563 * net/imap.el (imap-shell-open, imap-process-connection-type):
16564 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16565 Kerberos, SSL, other subprocesses.
16566
947b6566
LL
165672011-03-28 Leo Liu <sdl.web@gmail.com>
16568
16569 * abbrev.el (abbrev-table-empty-p): New function.
16570 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16571 nonempty ones. (Bug#5937)
16572
5ffb62aa
JD
165732011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16574
16575 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16576
7a097943
LL
165772011-03-27 Leo Liu <sdl.web@gmail.com>
16578
16579 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16580 for foreground and background colors.
16581 (ansi-color-make-color-map): Adapt.
16582
c5b40130
LL
165832011-03-25 Leo Liu <sdl.web@gmail.com>
16584
1f48f7d2
LL
16585 * midnight.el (midnight-time-float): Remove. Note it calculates
16586 the microsecond component incorrectly and seconds-to-time does the
16587 same job.
625897ec 16588 Remove redundant (require 'timer).
1f48f7d2 16589
c5b40130
LL
16590 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16591 (ido-completions): Remove unused arguments. (Bug#8329)
16592
d86d2721
SM
165932011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16594
16595 * minibuffer.el (completion--flush-all-sorted-completions):
16596 Remove itself from hook.
16597 (completion-at-point): Let the functions perform the completion
16598 immediately and return nil or t.
16599 * comint.el (comint-dynamic-complete-functions): Now identical to
16600 completion-at-point-functions.
16601 (comint-dynamic-list-input-ring): Remove unused var `index'.
16602 (comint--match-partial-filename, comint--unquote&expand-filename):
16603 New funs, split from comint-match-partial-filename.
16604 (comint-dynamic-complete): Use completion-at-point.
16605 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16606
e8974c48
DA
166072011-03-24 Drew Adams <drew.adams@oracle.com>
16608
16609 * thingatpt.el: Support `defun'.
16610
def71b5e
LL
166112011-03-23 Leo Liu <sdl.web@gmail.com>
16612
cb5af48e
LL
16613 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16614
def71b5e
LL
16615 * help-mode.el (help-mode-finish): Tweak regexp.
16616
927c53e7
GM
166172011-03-23 Glenn Morris <rgm@gnu.org>
16618
18d05bed
GM
16619 * eshell/esh-opt.el (eshell-eval-using-options):
16620 Do not bind unused local variable `eshell-option-stub'.
16621
927c53e7
GM
16622 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16623
9d0da923
JB
166242011-03-22 Juanma Barranquero <lekktu@gmail.com>
16625
16626 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16627 keymap variable in `with-no-warnings' to avoid a warning when the
16628 keymap has been already `defconst'ed.
16629
4b978a67
LL
166302011-03-22 Leo Liu <sdl.web@gmail.com>
16631
16632 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16633 encode all chars in abbrevs; otherwise use emacs-mule or
16634 utf-8-emacs. (Bug#8308)
16635
5fd62452
JB
166362011-03-22 Juanma Barranquero <lekktu@gmail.com>
16637
0b1596c6
JB
16638 * simple.el (backward-delete-char-untabify):
16639 Avoid warning about using `delete-backward-char'.
16640
5fd62452
JB
16641 * image.el (image-type-file-name-regexps): Make it variable.
16642 `imagemagick-register-types' modifies it, and the user may want
16643 to add new extensions for known image types.
16644 (imagemagick-register-types): Throw error if not using ImageMagick.
16645
0b4e93f1
LL
166462011-03-22 Leo Liu <sdl.web@gmail.com>
16647
16648 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16649 located before rcirc-prompt-end-marker.
16650 (rcirc-complete): Error if point is not after rcirc prompt.
16651 Handle the case when table is nil.
9882e214 16652 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16653
fccee4ab
CY
166542011-03-22 Chong Yidong <cyd@stupidchicken.com>
16655
16656 * custom.el (custom--inhibit-theme-enable): Make it affect only
16657 custom-theme-set-variables and custom-theme-set-faces.
16658 (provide-theme): Ignore custom--inhibit-theme-enable.
16659 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16660 (custom-enabling-themes): Delete variable.
d86d2721
SM
16661 (enable-theme): Accept only loaded themes as arguments.
16662 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16663 (custom-enabled-themes): Forbid themes from setting this.
16664 Eliminate use of custom-enabling-themes.
16665 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16666
af896da6
LL
166672011-03-21 Leo Liu <sdl.web@gmail.com>
16668
16669 * ido.el (ido-read-internal): Add ido-selected to history instead
16670 of user input.
16671
78f64af0
SM
166722011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16673
16674 * subr.el (deferred-action-list, deferred-action-function):
16675 Mark obsolete.
16676
b16ac1ec
LL
166772011-03-21 Leo Liu <sdl.web@gmail.com>
16678
810f7698
LL
16679 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16680 change on 2011-02-13 (bug#8309).
16681
b16ac1ec
LL
16682 * minibuffer.el (read-file-name-function): Change default value.
16683 (read-file-name--defaults): Rename from read-file-name-defaults.
16684 (read-file-name-default): Rename from read-file-name.
16685 (read-file-name): Call read-file-name-function.
16686
4e05e67e
GM
166872011-03-21 Glenn Morris <rgm@gnu.org>
16688
16689 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16690 Doc fixes.
16691
4359915b
CY
166922011-03-21 Chong Yidong <cyd@stupidchicken.com>
16693
16694 * cus-theme.el: Add missing provide statement.
16695 (customize-create-theme): Extract theme value correctly.
16696 (custom-theme-visit-theme): Autoload.
16697 (customize-create-theme): Prompt before inserting default faces.
16698
1fe275ee
JB
166992011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16700
16701 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16702 units and musical notes.
16703
cd394be1 167042011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16705
16706 * ido.el (ido-read-internal): Use completing-read-default.
16707 (ido-completing-read): Fix compatibility with completing-read.
16708
7d476bde
CO
167092011-03-20 Christian Ohler <ohler@gnu.org>
16710
16711 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16712 (ert-delete-all-tests): Use `called-interactively-p' rather than
16713 `interactive-p'.
16714 (ert--make-xrefs-region): Respect END.
16715
fe0fb33e
CY
167162011-03-19 Chong Yidong <cyd@stupidchicken.com>
16717
ff854b0b
CY
16718 * dired-aux.el (dired-create-directory): Signal an error if the
16719 directory already exists (Bug#8246).
16720
fe0fb33e
CY
16721 * facemenu.el (list-colors-display): Call list-faces-display
16722 inside with-help-window.
16723 (list-colors-print): Use display property to align the final
16724 column, instead of checking window-width.
16725
576bce32
EZ
167262011-03-19 Eli Zaretskii <eliz@gnu.org>
16727
4d61f28d 16728 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16729 windows-nt systems.
16730 (emerge-protect-metachars): Quote correctly for ms-dos and
16731 windows-nt systems.
16732
89c41d68 167332011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16734
16735 * info.el (info-initialize): Replace all uses of `:' with
16736 path-separator for compatibility with non-Unix systems.
16737 Cache quoting of path-separator. (Bug#8258)
16738
b14e3e21 167392011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16740
16741 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16742 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16743 (mouse-avoidance-mode): Fix typos in docstrings.
16744
4525ce3e
CY
167452011-03-19 Chong Yidong <cyd@stupidchicken.com>
16746
16747 * startup.el (package-subdirectory-regexp): Move from package.el.
16748 Omit \\` and \\', and let callers add them.
16749
16750 * emacs-lisp/package.el (package-strip-version)
16751 (package-load-all-descriptors): Add \\` and \\' to
16752 package-subdirectory-regexp before using it.
16753 (package-untar-buffer): New arg DIR; ensure that file untars only
16754 into this expected directory. Remove superfluous delete-region.
16755 (package-unpack): Caller changed.
16756 (package-tar-file-info): Use package-subdirectory-regexp.
16757
a904a09a 167582011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16759
a904a09a
SM
16760 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16761 diff-mode-shared-map (bug#8284).
16762 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16763
167642011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16765
16766 * calendar/time-date.el (format-seconds): Use assoc instead of
16767 assoc-string, since assoc-string doesn't exist in XEmacs.
16768
171fc304
JB
167692011-03-17 Juanma Barranquero <lekktu@gmail.com>
16770
16771 * custom.el (custom-known-themes): Reflow docstring.
16772 (custom-theme-load-path): Fix typo in docstring.
16773 (load-theme): Fix typo in error message.
16774 (custom-available-themes, custom-variable-theme-value):
16775 Use `let', not `let*'.
16776
d71990a1
JB
167772011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16778
16779 * calc/README: Mention inclusion of musical notes.
16780
16781 * calc/calc-units.el (calc-lu-quant): Rename from
16782 `calc-logunits-quantity'.
16783 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16784 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16785 (calc-db): Rename from `calc-dblevel'.
16786 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16787 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16788 (calc-np): Rename from `calc-nplevel'.
16789 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16790 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16791 (calc-lu-plus): Rename from `calc-logunits-add'.
16792 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16793 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16794 (calc-lu-minus): Rename from `calc-logunits-sub'.
16795 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16796 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16797 (calc-lu-times): Rename from `calc-logunits-mul'.
16798 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16799 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16800 (calc-lu-divide): Rename from `calc-logunits-div'.
16801 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16802 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16803
16804 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16805 functions being autoloaded.
16806
16807 * calc/calc.el (calc-lu-power-reference): Rename from
16808 `calc-logunits-power-reference'.
16809 (calc-lu-field-reference): Rename from
16810 `calc-logunits-field-reference'.
16811
7a71b18d
GM
16812 * calc/calc-help.el (calc-l-prefix-help):
16813 Mention musical note functions.
d71990a1 16814
40c2934b
SM
168152011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16816
16817 * minibuffer.el (completion-all-sorted-completions):
16818 Use :completion-cycle-penalty text property if present.
16819
b0911414
KM
168202011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16821
16822 * allout.el (allout-yank-processing): Adjust for new rebulleting
16823 regime so bullet being yanked is used without prompting the user
16824 for a choice.
16825
8a05b668
JB
168262011-03-16 Juanma Barranquero <lekktu@gmail.com>
16827
16828 * startup.el (command-line): Warn the user that _emacs is deprecated.
16829
5ba5fb81
JB
168302011-03-16 Juanma Barranquero <lekktu@gmail.com>
16831
16832 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16833 (delphi-verbose, delphi-comment-face, delphi-string-face)
16834 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16835 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16836 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16837 (delphi-new-comment-line, delphi-font-lock-defaults)
16838 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16839 Fix typos in docstrings.
16840
2dab465b
KM
168412011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16842
5ba5fb81 16843 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16844 Invert the roles of character and string values for INSTEAD, so a
16845 string is used for the more common case of a defaulting prompt.
16846
0adf5618
SM
168472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16848
16849 * progmodes/ruby-mode.el (ruby-backward-sexp):
16850 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16851 * play/gamegrid.el (gamegrid-make-face):
16852 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16853 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16854 * notifications.el (notifications-notify):
16855 * net/xesam.el (xesam-search-engines):
16856 * net/quickurl.el (quickurl-list-insert):
16857 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16858
d72700e5
CY
168592011-03-15 Chong Yidong <cyd@stupidchicken.com>
16860
16861 * startup.el (command-line): Update package subdirectory regexp.
16862
49c5410a
SM
168632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16864
c6eee9aa
SM
16865 * allout.el (allout-abbreviate-flattened-numbering)
16866 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16867
49c5410a
SM
16868 * subr.el (read-char-choice): Only show the cursor after the prompt,
16869 not after the answer.
16870
047b2bb9
KR
168712011-03-15 Kevin Ryde <user42@zip.com.au>
16872
16873 * help-fns.el (variable-at-point): Skip leading quotes, if any
16874 (bug#8253).
16875
0a57d256
SM
168762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16877
16878 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16879 warning message.
16880
77c992bc
MA
168812011-03-14 Michael Albinus <michael.albinus@gmx.de>
16882
16883 * shell.el (shell): When called interactively, offer to change the
16884 shell file name on remote hosts.
16885
eebc475d
TZ
168862011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16887
16888 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16889 integration for LDAP parameters. The host, base, user or binddn,
16890 and secret tokens can be specified in a netrc file, for instance.
16891 This is optional because an `auth-source' parameter must be
16892 specified in the search attributes.
16893
9d05d1ba
JB
168942011-03-13 Juanma Barranquero <lekktu@gmail.com>
16895
16896 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16897
09d9db2c
GM
168982011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16899
16900 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16901 into declaration. Remove redundant and harmful binding.
16902
169032011-03-12 Eli Zaretskii <eliz@gnu.org>
16904
16905 * files.el (file-ownership-preserved-p): Pass `integer' as an
16906 explicit 2nd argument to `file-attributes'. If the file's owner
16907 is the Administrators group on Windows, and the current user is
16908 Administrator, consider that a match.
16909
16910 * server.el (server-ensure-safe-dir): Consider server directory
16911 safe on MS-Windows if its owner is the Administrators group while
16912 the current Emacs user is Administrator. Use `=' to compare
16913 numerical UIDs, since they could be integers or floats.
16914
219bd536
JB
169152011-03-12 Juanma Barranquero <lekktu@gmail.com>
16916
16917 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16918
f3afd36b
MA
169192011-03-12 Michael Albinus <michael.albinus@gmx.de>
16920
16921 Sync with Tramp 2.2.1.
16922
16923 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16924
16925 * net/trampver.el: Update release number.
16926
3aaaa6f1
SM
169272011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16928
94642599
SM
16929 * progmodes/compile.el (compilation--previous-directory): Fix up
16930 various nil/dead-marker mismatches (bug#8014).
16931 (compilation-directory-properties, compilation-error-properties):
16932 Don't call it at a position past the one we're about to change.
16933
3aaaa6f1
SM
16934 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16935 Disable obsolescence warnings in the file that declares it.
16936
14239447
KM
169372011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16938
099c39a4
JB
16939 * allout-widgets.el (allout-widgets-tally):
16940 Initialize allout-widgets-tally as a hash table rather than nil to
16941 prevent mode-line redisplay warnings. Also, clarify the module
16942 description and fix a comment typo.
14239447 16943
135e287c
JB
169442011-03-11 Juanma Barranquero <lekktu@gmail.com>
16945
16946 * help-fns.el (describe-variable): Don't complete keywords.
16947 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16948
ffbf300e
CY
169492011-03-10 Chong Yidong <cyd@stupidchicken.com>
16950
ba08b241
CY
16951 * emacs-lisp/package.el (package-version-join): Impose a standard
16952 string representation for pre/alpha/beta version lists.
16953 (package-unpack-single): Standardize the directory name by passing
16954 it through package-version-join.
16955 (package-strip-rcs-id): Accept any version string that does not
16956 signal an error in version-to-list.
ffbf300e 16957
f346fd6b
MA
169582011-03-10 Michael Albinus <michael.albinus@gmx.de>
16959
16960 * simple.el (delete-trailing-whitespace): Return nil for the
16961 benefit of `write-file-functions'.
16962
ccb55d27
GM
169632011-03-10 Glenn Morris <rgm@gnu.org>
16964
5ceaac0c
GM
16965 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16966
02da65ff
GM
16967 * vc/vc-git.el (vc-git-program): New option.
16968 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16969 (vc-git--call): Use it.
16970
b2f603cc
GM
16971 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16972
5772caab
GM
16973 * cus-edit.el (Custom-newline): If no button at point, look
16974 for a subgroup button at start-of-line. (Bug#2298)
16975
ccb55d27
GM
16976 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16977
ec6ecaed
JD
169782011-03-10 Julien Danjou <julien@danjou.info>
16979
16980 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16981 `cursor-type' is nil.
16982
9d5aa01d
JB
169832011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16984
16985 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16986
b6a5875b
KM
169872011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16988
7a71b18d 16989 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16990 preserves the existing header prefix, rebulleting it if necessary,
16991 rather than replacing it. This is necessary for proper operation
16992 of cooperative addons like allout-widgets.
1154d12e
JB
16993 (allout-make-topic-prefix, allout-rebullet-heading):
16994 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16995 value as alternate bullet to be used, instead of prompting the user
16996 for a bullet character.
b6a5875b 16997
ee545c35
MA
169982011-03-09 Michael Albinus <michael.albinus@gmx.de>
16999
d86d2721
SM
17000 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17001 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17002 `tramp-default-port'.
17003
c47971d7
DD
170042011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17005
17006 * net/rcirc.el (rcirc-handler-001): Remove useless
17007 with-rcirc-process-buffer.
17008 (rcirc-check-auth-status): Swap arguments to string-match.
17009
13522cb4
GM
170102011-03-09 Glenn Morris <rgm@gnu.org>
17011
0be6f4f1
GM
17012 * shell.el (shell-mode):
17013 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17014
13522cb4
GM
17015 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17016 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17017
515de2e3
CY
170182011-03-08 Chong Yidong <cyd@stupidchicken.com>
17019
17020 * emacs-lisp/package.el (package-refresh-contents)
17021 (package-menu-execute): Use condition-case-no-debug.
17022
b511b994
MA
170232011-03-08 Michael Albinus <michael.albinus@gmx.de>
17024
17025 * simple.el (shell-command-to-string): Use `process-file'.
17026
17027 * emacs-lisp/package.el (package-tar-file-info): Handle also
17028 remote files.
17029
d86d2721
SM
17030 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17031 Use `equal' for upload base check.
b511b994 17032
25bbfb31
AM
170332011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17034
17035 * textmodes/texinfo.el (texinfo-environments):
17036 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17037
be996521
GM
170382011-03-08 Glenn Morris <rgm@gnu.org>
17039
e9c8529f
GM
17040 * cus-start.el (cursor-in-non-selected-windows):
17041 Fix :set quoting oddness. (Bug#8192)
17042
be996521
GM
17043 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17044 in some setf expressions. (Bug#2159)
17045
2bb5649e
CY
170462011-03-08 Chong Yidong <cyd@stupidchicken.com>
17047
17048 * custom.el (custom-available-themes): Return themes in
17049 alphabetical order.
17050
33383987 17051See ChangeLog.15 for earlier changes.
e3d51b27
MR
17052
17053;; Local Variables:
17054;; coding: utf-8
e3d51b27
MR
17055;; End:
17056
acaf905b 17057 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17058
17059 This file is part of GNU Emacs.
17060
17061 GNU Emacs is free software: you can redistribute it and/or modify
17062 it under the terms of the GNU General Public License as published by
17063 the Free Software Foundation, either version 3 of the License, or
17064 (at your option) any later version.
17065
17066 GNU Emacs is distributed in the hope that it will be useful,
17067 but WITHOUT ANY WARRANTY; without even the implied warranty of
17068 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17069 GNU General Public License for more details.
17070
17071 You should have received a copy of the GNU General Public License
17072 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.