Remove files that no longer exist
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e098de97
PE
12012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2
3 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4 * international/mule-cmds.el: Create
5 inactivate-current-input-method-function as an obsolete alias for
6 deactivate-current-input-method-function. See Katsumi Yamaoka in
7 <http://bugs.gnu.org/10150#46>.
8
a0f95636
JB
92012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10
11 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
12 of nested `if's.
13
0d26d7c4
GM
142012-08-01 Glenn Morris <rgm@gnu.org>
15
16 * progmodes/autoconf.el (autoconf-definition-regexp):
17 Add AH_TEMPLATE, adjust submatch numbering.
18 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
19 (autoconf-current-defun-function): Update for above change.
20 (autoconf-current-defun-function): First skip to end of current word.
21
b686ba06
RS
222012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
23
24 * calendar/cal-html.el (cal-html-insert-agenda-days):
25 Fix typo. (Bug#12018)
26
0d49da68
FEG
272012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
28
29 Shell processes: enhancements to startup and CEDET compatibility.
30 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
31 (python-shell-make-comint): accept-process-output at startup.
32 (run-python-internal): Set inferior-python-mode-hook to nil.
33 (python-shell-internal-get-or-create-process): call sit-for.
34 (python-preoutput-result): Add obsolete alias.
35 (python-shell-internal-send-string): Use it.
36 (python-shell-send-setup-code): Remove call to
37 accept-process-output.
38
f1a71c6e
AS
392012-07-31 Andreas Schwab <schwab@linux-m68k.org>
40
41 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
42 (Bug#12108)
43
d2605269
JB
442012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
45
46 * calc-mode.el (calc-basic-simplification-mode): Rename from
47 `calc-limited-simplification-mode'.
48 (calc-alg-simplification-mode): New function.
d66060f8 49 (calc-set-simplify-mode): Adjust message.
f1a71c6e 50
d2605269
JB
51 * calc.el (calc-set-mode-line): Adjust mode line display for
52 basic simplification mode.
53
54 * calc-help.el (calc-m-prefix-help): Update help message.
55
56 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
57 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
58
a3827a43
BG
592012-07-31 Bastien Guerry <bzg@gnu.org>
60
61 * man.el (man): Fix comment. (bug#12101)
62
502e3f89
MR
632012-07-31 Martin Rudalics <rudalics@gmx.at>
64
65 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
66 Don't return a non-nil value when no suitable buffer was found.
67
d7714961
FEG
682012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
69
70 * progmodes/python.el (run-python-internal): Disable font lock for
71 internal shells.
72
1f45e27e
SM
732012-07-30 Stefan Merten <smerten@oekonux.de>
74
75 * rst.el: Silence `checkdoc-ispell'.
76 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
77 (rst-official-version, rst-official-cvs-rev)
78 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
79 (rst-mode-map): New key binding.
80
0aee6912
PE
812012-07-30 Paul Eggert <eggert@cs.ucla.edu>
82
83 Update .PHONY listings in makefiles.
84 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
85 autoloads, update-subdirs, updates, bzr-update, update-authors,
86 compile-onefile, compile-calc, backup-compiled-files,
87 compile-after-backup, compile-one-process, mh-autoloads,
88 bootstrap-clean, distclean, maintainer-clean.
89
9052f9f0
JB
902012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
91
1823ac5a
JB
92 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
93 (calc-set-mode-line): Don't display "AlgSimp ".
94
95 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
96 (calc-lim-simplify-mode): New function.
97 (calc-set-simplify-mode): Default to 'alg.
98 (calc-default-simplify-mode): Make algebraic simplifications
99 the default.
100
101 * calc/calc-ext.el (calc-init-extensions): Remove binding for
102 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
103
8d7c7eed 104 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
105 indicate new simplification modes.
106
1823ac5a
JB
107 * calc/README: Mention new default simplification mode.
108
9052f9f0
JB
109 * calc/calc.el (math-normalize-error): New variable.
110 (math-normalize): Set `math-normalize-error' to t
111 when there's an error.
112
113 * calc/calc-alg.el (math-simplify): Don't simplify when
114 `math-normalize' returns an error.
115
20ba0cb4
EZ
1162012-07-29 Eli Zaretskii <eliz@gnu.org>
117
118 * international/mule-cmds.el (set-locale-environment): Revert last
119 change, since display-graphic-p returns nil when this function is
120 called during startup. Instead...
121
122 * term/w32console.el (terminal-init-w32console): ...setup the
123 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
124
a5dcc929
JL
1252012-07-29 Juri Linkov <juri@jurta.org>
126
127 * simple.el (goto-line): Don't display default line number in the
128 prompt because it should be displayed by `read-number' (bug#9952).
129 Add the current line number to the defaults of `goto-line' to
130 allow its easier modification by users with `M-n' (bug#9201).
131
132 * subr.el (read-number): Support multiple default values like in
133 other minibuffer reading functions. Replace `read' with
134 `string-to-number' for consistency with `number-to-string'.
135
72b255c7
PE
1362012-07-29 Paul Eggert <eggert@cs.ucla.edu>
137
138 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
139 * emulation/viper-init.el (viper-deactivate-input-method-action):
140 Rename from viper-inactivate-input-method-action.
141 (viper-deactivate-input-method):
142 Rename from viper-inactivate-input-method.
143 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
144 * international/mule-cmds.el (deactivate-input-method):
145 Rename from inactivate-input-method.
146 Also run input-method-deactivate-hook.
147 (deactivate-current-input-method-function):
148 Rename from inactivate-current-input-method-function.
149 (input-method-deactivate-hook): New hook.
150 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
151 (inactivate-input-method): Mark obsolete.
152
72b255c7
PE
153 * international/quail.el (quail-activate):
154 Also run quail-deactivate-hook.
155 (quail-deactivate): Rename from quail-inactivate.
156 * international/robin.el (robin-activate):
157 Also run robin-deactivate-hook.
158 (robin-deactivate): Rename from robin-inactivate.
159
2549c068
CY
1602012-07-29 Chong Yidong <cyd@gnu.org>
161
162 * simple.el (indicate-copied-region): New function.
163 (kill-ring-save): Split off from here.
164
165 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
166 (kill-rectangle): Set deactivate-mark to t on read-only error.
167
168 * register.el (copy-to-register, copy-rectangle-to-register):
169 Deactivate the mark, and use indicate-copied-region (Bug#10056).
170 (append-to-register, prepend-to-register): Call
171
17711ed9
JL
1722012-07-29 Juri Linkov <juri@jurta.org>
173
174 * simple.el (async-shell-command-buffer): New defcustom.
175 (shell-command): Use it. (Bug#4719)
176
01bd1b0d
EZ
1772012-07-28 Eli Zaretskii <eliz@gnu.org>
178
179 * international/mule-cmds.el (set-locale-environment): In a
180 console session on MS-Windows, set up keyboard and terminal
181 encoding from the OEM codepage, not the ANSI codepage.
182 (Bug#12055)
183
a55739d3
CY
1842012-07-28 Chong Yidong <cyd@gnu.org>
185
186 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
187 gdb-get-location.
188
9a0f8f2e
LL
1892012-07-25 Leo Liu <sdl.web@gmail.com>
190
191 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
192 the alist (bug#12029).
193
20329d73
EZ
1942012-07-28 Eli Zaretskii <eliz@gnu.org>
195
196 * makefile.w32-in (custom-deps, finder-data, updates, compile)
197 (compile-always, compile-first)
198 ($(lisp)/calendar/cal-loaddefs.el)
199 ($(lisp)/calendar/diary-loaddefs.el)
200 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
201 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
202 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
203 instead of on update-subdirs.
204 (bootstrap-clean): Delete $(lisp)/subdirs.el.
205
345a2258
CY
2062012-07-28 Chong Yidong <cyd@gnu.org>
207
1eee6341
CY
208 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
209 directory if vc-deduce-backend returns nil (Bug#7350).
210
345a2258
CY
211 * simple.el (delete-trailing-lines): New option.
212 (delete-trailing-whitespace): Obey it (Bug#11879).
213
049a0936
DE
2142012-07-28 David Engster <deng@randomsample.de>
215
216 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
217 Explanation of new 'symbol-qnames feature in doc-strings.
218 (xml-maybe-do-ns): Return expanded names as plain symbols if
219 'symbol-qnames was provided in XML-NS argument (Bug#11916).
220 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
221
aa81af71
FEG
2222012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
223
224 Consistent completion in inferior python with emacs -nw.
225 * progmodes/python.el (inferior-python-mode): replace "<tab>"
226 binding in inferior-python-mode-map with "\t".
227 (python-shell-completion-complete-at-point)
228 (python-completion-complete-at-point): Remove interactive spec.
229
e827b1eb
JB
2302012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
231
232 * calc/calccomp.el (math-compose-expr): Undo previous change.
233
a90dfb95
FEG
2342012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
235
236 * progmodes/python.el (python-mode-map): Added keybinding for
237 run-python.
238 (python-shell-make-comint): Fix pop-to-buffer call.
239 (run-python): Autoload. New arg SHOW.
240 (python-shell-get-or-create-process): Do not pop python process
241 buffer.
242
32770973 2432012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
244
245 * notifications.el (notifications-on-action-signal)
246 (notifications-on-closed-signal): Use also the bus address for the map.
247 (notifications-notify, notifications-close-notification)
248 (notifications-get-capabilities): Add optional argument BUS.
249
86332df2
TH
2502012-07-27 Tassilo Horn <tsdh@gnu.org>
251
252 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
253 support for the lstlisting and minted environments, and for the
254 ctable macro.
255 * textmodes/reftex.el (reftex-compile-variables): Also recognize
256 labels written in keyvals syntax.
257
ca1302a4
JB
2582012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
259
260 * calc/calccomp.el (math-compose-expr): Use parentheses when
261 there is a product in the denominator of a fraction.
262
f8b91036
EZ
2632012-07-26 Eli Zaretskii <eliz@gnu.org>
264
265 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
266 ($(lisp)/calendar/diary-loaddefs.el)
267 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
268 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
269 failures in parallel bootstrap because subdirs.el is being
270 rewritten while the autoload files are built at the same time,
271 which needs to load subdirs.el.
272
c8e5a42c
MR
2732012-07-26 Martin Rudalics <rudalics@gmx.at>
274
275 * mouse.el (popup-menu): Fix doc-string and re-indent code.
276 (mouse-drag-line): Don't exit tracking when a switch-frame or
277 switch-window event occurs (Bug#12006).
278
670d85ea
SM
2792012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * mouse.el (popup-menu): Fix last change.
282
7abaf5cc
SM
2832012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 Autoload from Lisp with more care. Follow aliases when looking for
286 function properties.
287 * subr.el (autoloadp): New function.
288 (symbol-file): Use it.
289 (function-get): New function.
290 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
291 autoload-do-load.
292 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
293 (lisp-indent-function):
294 * emacs-lisp/gv.el (gv-get):
295 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
296 * emacs-lisp/byte-opt.el (byte-optimize-form):
297 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
298 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
299 Use function-get.
300 * emacs-lisp/cl.el: Don't propagate function properties any more.
301
302 * speedbar.el (speedbar-add-localized-speedbar-support):
303 * emacs-lisp/disass.el (disassemble-internal):
304 * desktop.el (desktop-load-file):
305 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
306 (describe-function-1):
307 * emacs-lisp/find-func.el (find-function-noselect):
308 * emacs-lisp/elp.el (elp-instrument-function):
309 * emacs-lisp/advice.el (ad-has-proper-definition):
310 * apropos.el (apropos-safe-documentation, apropos-macrop):
311 * emacs-lisp/debug.el (debug-on-entry):
312 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
313 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
314 * calc/calc.el (name): Use autoloadp & autoload-do-load.
315
b1364986
AA
3162012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
317
318 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
319 function, not an obsolete variable (Bug#12046).
320
67ada220
AS
3212012-07-25 Andreas Schwab <schwab@linux-m68k.org>
322
323 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
324
f08088e3
CS
3252012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
326
327 * emacs-lisp/pp.el (pp-display-expression): Select old selected
328 window only if it is still live (Bug#12034).
329
8137e7b3
MR
3302012-07-25 Martin Rudalics <rudalics@gmx.at>
331
332 * subr.el (redirect-frame-focus): Add advertised calling
333 convention (Bug#12030).
334
09ae5da1
PE
3352012-07-25 Paul Eggert <eggert@cs.ucla.edu>
336
337 Prefer typical American spelling for "acknowledgment".
338 * vc/add-log.el (change-log-acknowledgment): Rename from
339 change-log-acknowledgement, with an alias for the old name.
340
3cc5a3a8
JB
3412012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
342
343 * calc-alg.el (math-simplify-divide): Don't cross multiply
344 in an equation when the lhs is a variable.
345
b7af7f62
JD
3462012-07-24 Julien Danjou <julien@danjou.info>
347
348 * net/netrc.el (netrc-find-service-number, netrc-store-data):
349 Remove, unused.
350
ec1b09b1
EZ
3512012-07-23 Eli Zaretskii <eliz@gnu.org>
352
353 * startup.el (command-line): Don't display an empty user name in
354 the error message about non-existent home directory, when
355 init-file-user was set to an empty string. See
356 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
357 for the details and context.
358
b525fd8a
VB
3592012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
360
361 * ses.el (ses-cell-formula-aset): New macro.
362 (ses-cell-references-aset): New macro.
363 (ses-cell-p): New function.
364 (ses-rename-cell): Do no longer rely on complex operations like
365 ses-cell-set-formula or ses-set-cell to change the cell and handle
366 the undo at the same time, but rather use lower level new macros
367 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
368 the undo directly. Refresh the mode line.
369
2c73e345
LL
3702012-07-21 Leo Liu <sdl.web@gmail.com>
371
670d85ea
SM
372 * progmodes/cc-cmds.el (c-defun-name):
373 Use match-string-no-properties instead for consistency.
2c73e345 374
542dfbde
LL
3752012-07-20 Leo Liu <sdl.web@gmail.com>
376
3646bcd6
LL
377 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
378 (Bug#7879)
379
542dfbde
LL
380 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
381
25721031
CY
3822012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
385 * progmodes/bug-reference.el, misearch.el: Provide themselves
386 (bug#11915).
387
388 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
389 of narrowed buffer (bug#11966).
390
316e68a7
VB
3912012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
392
393 * ses.el (ses-rename-cell): Set new name also in reference list of
394 cells of which the renamed cell depends.
395
bbf0e7d9
MY
3962012-07-20 Masatake YAMATO <yamato@redhat.com>
397
398 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
399 to check whether menu-bar is shown or not. If not shown,
400 show the menu-bar as a popup menu instead of using tmm.
401 * mouse.el (popup-menu): Accept `point' as `position' argument.
402
c28662a8
DG
4032012-07-20 Dmitry Gutov <dgutov@yandex.ru>
404
405 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
406 up inside string symbol literal (bug#11923).
407
87ab808f
EZ
4082012-07-20 Eli Zaretskii <eliz@gnu.org>
409
410 * startup.el (fancy-startup-text): Read the whole tutorial, not
411 just its first 256 bytes. Prevents gibberish in display of the
412 tutorial title.
413
89dea803
DA
4142012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
415
416 Drop idle buffer compaction due to an absence of the
417 proved efficiency.
418 * compact.el: Remove.
419
8a4e6db8
SS
4202012-07-19 Sam Steingold <sds@gnu.org>
421
422 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
423 vc-bzr-pull & vc-bzr-merge-branch.
424 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
425 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
426 for consistency with compilation-error-regexp-alist.
427 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
428 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
429 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
430 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
431
5db81e33
SM
4322012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
433
434 * emacs-lisp/chart.el: Use lexical-binding.
435 (chart-emacs-storage): Don't hardcode the list of entries.
436
5b835e1d
DA
4372012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
438
439 Next round of tweaks caused by Fgarbage_collect changes.
440 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
441
9cd47b72
DA
4422012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
443
444 Compact buffers when idle.
445 * compact.el: New file.
446
1d6fc0df
SM
4472012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * subr.el (eventp): Presume that if it looks vaguely like an event,
450 it's an event (bug#10190).
451
1d29cc7d
FEG
4522012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
453
454 Enhancements to ppss related code (thanks Stefan).
455 * progmodes/python.el (python-indent-context)
456 (python-indent-calculate-indentation, python-indent-dedent-line)
457 (python-indent-electric-colon, python-nav-forward-block)
458 (python-mode-abbrev-table)
1d6fc0df 459 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
460 for ppss context.
461 (python-info-continuation-line-p): Cleanup.
462 (python-info-ppss-context): Do not catch 'quote.
463 (python-info-ppss-context-type)
464 (python-info-ppss-comment-or-string-p): Simplify.
465
d583cbe6
FEG
4662012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
467
468 * progmodes/python.el: Enhancements to eldoc support.
469 (python-info-current-symbol): New function.
470 (python-eldoc-at-point): Use python-info-current-symbol.
471 (python-info-current-defun): Fix cornercase on first defun scan.
472 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
473 and signal error when no inferior python process is available.
474
eceb6feb
DG
4752012-07-18 Dmitry Gutov <dgutov@yandex.ru>
476
477 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
478 assume it's always t.
479 (vc-git-registered): Remove caching, the function is only called
480 once.
481 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
482
4c8ff0fe
CY
4832012-07-18 Chong Yidong <cyd@gnu.org>
484
19fb7186
CY
485 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
486
9587c688
CY
487 * simple.el (count-words): Report on narrowing (Bug#9959).
488
0fe776a1
CY
489 * bindings.el: Bind M-= to count-words.
490
4c8ff0fe
CY
491 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
492
7f5331cc
MY
4932012-07-18 Masatake YAMATO <yamato@redhat.com>
494
495 * progmodes/sh-script.el (sh-imenu-generic-expression):
496 Capture a function with `function' keyword and without parentheses
497 like "function FOO" (bug#11856).
498
2dc2a609
TH
4992012-07-18 Tassilo Horn <tassilo@member.fsf.org>
500
501 * window.el (split-window-sensibly): Make WINDOW argument
502 optional.
503
439f7677
CY
5042012-07-18 Chong Yidong <cyd@gnu.org>
505
9aeb25a6
CY
506 * subr.el (keyboard-translate): Doc fix (Bug#7261).
507
439f7677
CY
508 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
509 and make C-x 8 RET exit isearch (Bug#11439).
510
511 * international/iso-transl.el: Move isearch-mode-map key
512 definitions to isearch.el.
513
12999ea8
SM
5142012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
517 (eieio-defclass): Use gv-define-setter when possible.
518
3ab6e069
DA
5192012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
520
521 Reflect recent changes in Fgarbage_collect.
522 * emacs-lisp/chart.el (chart-emacs-storage): Change to
523 reflect new format of data returned by Fgarbage_collect.
524
0a60bc10
FEG
5252012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
526
527 New utility functions + python-info-ppss-context fix (Bug#11910).
528 * progmodes/python.el (python-info-beginning-of-block-statement-p)
529 (python-info-ppss-comment-or-string-p): New functions.
530 (python-info-ppss-context): Small fix for string check.
531
6dafa0d5
JL
5322012-07-17 Juri Linkov <juri@jurta.org>
533
534 * dired-aux.el (dired-do-async-shell-command): Doc fix.
535 (dired-do-async-shell-command): Don't add `*' at the end of the
536 command (Bug#11815).
537 (dired-do-shell-command): Doc fix.
538 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
539 Join the individual commands using either "&" or ";" as the
540 separator depending on the values of these trailing characters.
541 At the end re-add the trailing "&". (Bug#10598)
542
543 * simple.el (async-shell-command): Sync the interactive spec with
544 `shell-command'. Doc fix.
545 (shell-command): Doc fix.
546
b19dd9d1
JL
5472012-07-17 Juri Linkov <juri@jurta.org>
548
549 * descr-text.el (describe-char): Fix format args. (Bug#10129)
550
bcdc27d7 5512012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 552
bcdc27d7 553 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
554 * progmodes/python.el (python-nav-beginning-of-statement):
555 Rename from python-nav-statement-start.
bcdc27d7
FEG
556 (python-nav-end-of-statement): Rename from
557 python-nav-statement-end.
558 (python-nav-beginning-of-block): Rename from
559 python-nav-block-start.
560 (python-nav-end-of-block): Rename from python-nav-block-end.
561
191da00e
FEG
5622012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
563
7f5331cc
MY
564 * progmodes/python.el (python-shell-send-string-no-output):
565 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
566 future interactions (Bug#11868).
567
4dc7c8d5 5682012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 569
88ecaf8f
SM
570 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
571
ef501ef0
SM
572 * emacs-lisp/elint.el (elint-find-args-in-code):
573 Use help-function-arglist, so as to handle lexical byte-code.
574
aa7aaf8f
SM
575 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
576 change (bug#11826).
577
45fd731c
SM
5782012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
579
2143fa32
SM
580 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
581 Avoid spuriously marking the buffer as modified because of c-is-sws.
582
efc26dbe
SM
583 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
584 as not-a-comment (bug#11946).
585
f5695c9a
SM
586 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
587 for uninterned vars.
588
589 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
590 Use read-event since we don't really want to read chars but bytes.
591
45fd731c
SM
592 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
593 $$..$$ but also $..$ using regexps (bug#11953).
594 Use tex-verbatim for \url and \path.
595 (tex-font-lock-keywords): Define as defconst like the others.
596 (tex-common-initialization): Don't use font-lock-syntax-table any more.
597
ddfc8813
RK
5982012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
599
600 * international/mule-cmds.el (ucs-insert): Make it an obsolete
601 alias for insert-char.
602
758e556a
FEG
6032012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
604
605 * progmodes/python.el: Simplified imenu implementation.
606 (python-nav-jump-to-defun): Remove command.
607 (python-mode-map): Use `imenu' instead.
608 (python-nav-list-defun-positions-cache)
609 (python-imenu-include-defun-type, python-imenu-make-tree)
610 (python-imenu-subtree-root-label, python-imenu-index-alist):
611 Remove vars.
612 (python-nav-list-defun-positions, python-nav-read-defun)
613 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
614 (python-imenu-make-tree, python-imenu-create-index):
615 Remove functions.
758e556a
FEG
616 (python-mode): Update to interact with imenu by setting
617 `imenu-extract-index-name-function' only.
618
032d23ab
FEG
6192012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
620
621 * progmodes/python.el: Enhancements to navigation commands.
622 (python-nav-backward-sentence)
623 (python-nav-forward-sentence): Remove.
624 (python-nav-backward-statement, python-nav-forward-statement)
625 (python-nav-statement-start, python-nav-statement-end)
626 (python-nav-backward-block, python-nav-forward-block)
627 (python-nav-block-start, python-nav-block-end)
628 (python-nav-forward-sexp-function)
629 (python-info-current-line-comment-p)
630 (python-info-current-line-empty-p): New functions.
631 (python-indent-context): Use `python-nav-statement-start'.
632
01795a1b
MA
6332012-07-16 Michael Albinus <michael.albinus@gmx.de>
634
9328d9aa
MA
635 * eshell/em-ls.el (eshell/ls): Use `apply'.
636
637 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
638 multi-hops, instead of Tramp internals.
639
01795a1b
MA
640 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
641
642 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
643 when F1 and F2 are located on different hosts.
644
63408057
CY
6452012-07-14 Chong Yidong <cyd@gnu.org>
646
647 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
648 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
649 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
650 (xterm-mouse--read-event-sequence-1000)
651 (xterm-mouse--read-event-sequence-1006): New functions. For old
652 mouse protocol, handle M-mouse-X events correctly.
653 (xterm-mouse-event): New arg specifying mouse protocol.
654 (turn-on-xterm-mouse-tracking-on-terminal)
655 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
656 sequence to toggle extended coordinates on newer XTerms.
657 This appears to be harmless on terminals which do not support this.
63408057 658
cd276f6e
LL
6592012-07-14 Leo Liu <sdl.web@gmail.com>
660
28ca98ac
LL
661 Add fringe bitmap indicators for flymake. (Bug#11253)
662 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
663 (flymake-make-overlay): New arg BITMAP.
664 (flymake-error-bitmap, flymake-warning-bitmap)
665 (flymake-fringe-indicator-position): New user variables.
666
cd276f6e
LL
667 * fringe.el: New bitmap exclamation-mark.
668
04408072
JD
6692012-07-14 Jan Djärv <jan.h.d@swipnet.se>
670
671 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
672 also (Bug#7879).
673
b5cf7fc4
CY
6742012-07-14 Chong Yidong <cyd@gnu.org>
675
676 * electric.el (electric-pair-post-self-insert-function): Fix pair
677 insertion in empty-region case (Bug#11520).
678
be755c79
RT
6792012-07-14 Chong Yidong <cyd@gnu.org>
680
45fd731c
SM
681 * bindings.el: Consolidate ctl-x-r-map bindings.
682 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
683
684 * rect.el, register.el: Move bindings to bindings.el.
685
6862012-07-14 Reuben Thomas <rrt@sc3d.org>
687
688 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
689
7f5b3198
AS
6902012-07-13 Andreas Schwab <schwab@linux-m68k.org>
691
692 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
693
97662200
JB
6942012-07-13 Juanma Barranquero <lekktu@gmail.com>
695
80185fed
JB
696 * bindings.el (top): Use `mapc' instead of `mapcar'.
697
97662200
JB
698 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
699
2bb1ae55
MA
7002012-07-13 Michael Albinus <michael.albinus@gmx.de>
701
702 * progmodes/sql.el (sql-comint): Suppress the check for program on
703 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
704 (Bug#11908)
705
dea31bd3
CY
7062012-07-13 Chong Yidong <cyd@gnu.org>
707
708 * bindings.el: Assign a non-nil permanent-local property to
709 per-buffer variables which lack a default value (Bug#11930).
710
711 * help-fns.el (describe-variable): In the "automatically becomes
712 local" notice, take note of permanent-local variables.
713
b68b3337
CY
7142012-07-13 Chong Yidong <cyd@gnu.org>
715
716 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
717 to allow printing the message when called from Lisp.
718
719 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
720 Remove toggle-read-only.
721
722 * bs.el (bs-toggle-readonly):
45fd731c
SM
723 * buff-menu.el (Buffer-menu-toggle-read-only):
724 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
725
726 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
727 Remove with-no-warnings around toggle-read-only.
728 (ffap-read-only, ffap-read-only-other-window)
729 (ffap-read-only-other-frame): Callers changed.
730
731 * help-mode.el: Don't require view package.
732 (help-mode-finish): Set buffer-read-only instead of calling
733 toggle-read-only.
734
735 * bindings.el (mode-line-toggle-read-only):
736 * dired.el (dired-toggle-read-only):
737 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
738 with non-nil second arg.
739
740 * emacs-lisp/eieio-custom.el (eieio-customize-object):
741 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
742 directly.
743
56bc1586
EZ
7442012-07-12 Eli Zaretskii <eliz@gnu.org>
745
746 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
747 not incf.
748
a464a6c7
SM
7492012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 More CL cleanups and reduction of use of cl.el.
752 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
753 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
754 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
755 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
756 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
757 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
758 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
759 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
760 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
761 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
762 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
763 * eshell/em-cmpl.el, eshell/em-banner.el:
764 * calendar/parse-time.el: Use cl-lib.
765 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
766 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
767 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
768 * term/ns-win.el, term.el, shell.el, ps-samp.el:
769 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
770 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
771 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
772 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
773 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
774 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
775 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
776 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
777 `lambda' rather than with `quote'.
778 (eshell-do-opt): Adjust accordingly.
779 (eshell-process-option): Simplify.
780 * eshell/esh-var.el:
781 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
782 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
783 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
784 to `pcase--dontcare'.
785 * emacs-lisp/cl.el (labels): Mark obsolete.
786 (cl--letf, letf): Move to cl-lib.
787 (cl--letf*, letf*): Remove.
788 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
789 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
790 (cl-progv): Rewrite.
791 (cl--letf, cl-letf): Move from cl.el.
792 (cl-letf*): New macro.
793 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
794
7ad4afe1
MA
7952012-07-11 Michael Albinus <michael.albinus@gmx.de>
796
797 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
798
9af57756
CY
7992012-07-11 Chong Yidong <cyd@gnu.org>
800
801 * vc/log-edit.el (log-edit-vc-backend): New variable.
802 (log-edit): Doc fix.
803
804 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
805 argument of log-edit to set up all local variables.
806 (vc-start-logentry): New optional arg specifying VC backend.
807
808 * vc/vc.el (vc-checkin): Use it.
809 (vc-deduce-fileset): Handle Log Edit buffers.
810 (vc-diff): Make first argument optional too.
811
812 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
813
8477cc7a
MA
8142012-07-10 Michael Albinus <michael.albinus@gmx.de>
815
816 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
817 command, just in case. The function is not needed anymore.
818 (eshell-external-command): Do not call `eshell-remote-command'.
819
19faa8e8
SM
8202012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
821
f58e0fd5
SM
822 Reduce use of (require 'cl).
823 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
824 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
825 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
826 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
827 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
828 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
829 * battery.el, avoid.el, abbrev.el: Use cl-lib.
830 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
831 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
832 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
833 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
834 * calculator.el, autorevert.el, apropos.el: Don't require CL.
835 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
836 (byte-compile-unfold-bcf, byte-compile-check-variable):
837 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
838 (byte-compile-nilconstp):
839 * emacs-lisp/autoload.el (make-autoload): Use pcase.
840 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
841
2519d43a
SM
842 * emacs-lisp/gv.el (cond): Make it a valid place.
843 (if): Simplify slightly.
844
19faa8e8
SM
845 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
846 (pcase--self-quoting-p): New function.
847 (pcase--u1): Use it.
848
c4907a5e
GM
8492012-07-10 Glenn Morris <rgm@gnu.org>
850
851 * emacs-lisp/authors.el (authors-fixed-entries):
852 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
853
c4444d16
PE
8542012-07-09 Paul Eggert <eggert@cs.ucla.edu>
855
856 Rename configure.in to configure.ac (Bug#11603).
857 * emacs-lisp/authors.el (authors-canonical-file-name):
858 * progmodes/autoconf.el (autoconf-mode):
859 Prefer configure.ac to configure.in.
860
d75be97d
CY
8612012-07-08 Chong Yidong <cyd@gnu.org>
862
01ac65bd
CY
863 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
864 Implement the mouse-1-click-follows-link handling properly.
865
866 * info.el (Info-link-keymap): Use follow-link mechanism for
867 header-line links (Bug#374).
868
d75be97d
CY
869 * simple.el (deactivate-mark): Do not set the primary selection
870 if another program has acquired it (Bug#11772).
871
87a92845 8722012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
873
874 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
875 (woman-decode-region): Replace escaped-escapes without destroying
876 bold or underline (Bug#11552).
87a92845 877 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 878
621b9d6c
CY
8792012-07-07 Chong Yidong <cyd@gnu.org>
880
881 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
882 (interprogram-cut-function, interprogram-paste-function):
883 Mention that we typically mean the clipboard.
621b9d6c 884
133a11fc
GM
8852012-07-06 Glenn Morris <rgm@gnu.org>
886
0d27a45e
GM
887 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
888
133a11fc
GM
889 * files.el (toggle-read-only): Restrict message to interactive use.
890
07b151f1
MA
8912012-07-06 Michael Albinus <michael.albinus@gmx.de>
892
893 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
894
895 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
896
211b896b
GM
8972012-07-06 Glenn Morris <rgm@gnu.org>
898
50394322
GM
899 * Makefile.in (compile-one-process): Rename from "recompile".
900
211b896b
GM
901 * Makefile.in (bzr-update): "compile" is the same as "recompile
902 autoloads", but parallelizable, so use that instead.
903
4737eec9
DG
9042012-07-06 Dmitry Gutov <dgutov@yandex.ru>
905
906 * window.el (quit-window): Always restore window height when
8137e7b3 907 it's saved in quit-restore parameter (Bug#11810).
4737eec9 908
226c3633 9092012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
910
911 * simple.el (kill-whole-line): Doc tweak.
912
226c3633 9132012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
914
915 * files.el (file-relative-name): Compare file names
916 case-insensitively if on MS-Windows or MS-DOS, or if
917 read-file-name-completion-ignore-case is non-nil. Don't use
918 case-fold-search for this purpose. (Bug#11827)
919
4dc7c8d5
SM
9202012-07-17 Andreas Schwab <schwab@linux-m68k.org>
921
922 * calendar/cal-dst.el (calendar-current-time-zone):
923 Return calendar-current-time-zone-cache if non-nil.
924
9252012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 9262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 927
19faa8e8
SM
928 * calendar/cal-dst.el (calendar-current-time-zone):
929 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 930
60198fc9
GM
9312012-07-06 Glenn Morris <rgm@gnu.org>
932
933 * Makefile.in (cvs-update): Remove old alias.
934
957b3189
MA
9352012-07-05 Michael Albinus <michael.albinus@gmx.de>
936
937 Sync with Tramp 2.2.6-pre.
938
939 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
940 compatible declaration.
941
19faa8e8
SM
942 * net/tramp-cmds.el (tramp-append-tramp-buffers):
943 Protect `list-load-path-shadows' call.
957b3189
MA
944
945 * net/tramp-compat.el (top): Require packages, which aren't
946 autoloaded anymore for XEmacs. Protect call of
947 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
948 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
949 it hurts at least for SXEmacs.
950 (tramp-compat-temporary-file-directory): In XEmacs, there is no
951 standard-value for `temporary-file-directory'.
952
953 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
954 Redirect stderr to /dev/null.
955 (tramp-sh-handle-write-region): uid and gid can be floats.
956 Reported by Russell Sim <russell.sim@gmail.com>.
957 (tramp-sh-handle-vc-registered): Hide errors.
958 (tramp-vc-file-name-handler): Use dummy results for `process-file'
959 and `start-file-process'.
960 (tramp-maybe-open-connection): Check also whether `non-essential'
961 is bound.
962
566df3fc
CY
9632012-07-04 Chong Yidong <cyd@gnu.org>
964
965 * xml.el (xml--parse-buffer): Use xml-syntax-table.
966 (xml-parse-tag): Likewise, and avoid changing entity tables.
967 (xml-syntax-table): Define from scratch, making sure not to give
968 x2000 and other Unicode spaces whitespace syntax, since those are
969 not spaces in XML.
970 (xml-parse-fragment): Delete unused function.
971 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
972 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
973 (xml-entity-ref, xml-pe-reference-re)
974 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
975 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
976 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
977 (xml-entity-value-re): Use syntax references in regexps where
978 possible; no need to define inside a let-binding.
979 (xml-parse-dtd): Use xml-pe-reference-re.
980 (xml-entity-or-char-ref-re): New defconst.
981 (xml-parse-string, xml-substitute-special): Use it.
982
30eabd7a
SM
9832012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
984
0781098a
SM
985 * files.el (locate-dominating-file): Allow `name' to be a predicate.
986 (find-file--read-only): New function.
987 (find-file-read-only, find-file-read-only-other-window)
988 (find-file-read-only-other-frame): Use it.
989 (insert-file-contents-literally): Don't `fset'.
990 (get-free-disk-space): Use locate-dominating-file.
991
b5771c0d
SM
992 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
993 function is already compiled.
994
30eabd7a
SM
995 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
996
b4886f6e
MA
9972012-07-03 Michael Albinus <michael.albinus@gmx.de>
998
999 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1000 files on the same host.
1001
b9d82339
AS
10022012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1003
1004 * help-fns.el (describe-function-1): Only call
1005 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1006
a76e6535
CY
10072012-07-03 Chong Yidong <cyd@gnu.org>
1008
1009 * xml.el: Protect parser against XML bombs.
1010 (xml-entity-expansion-limit): New variable.
1011 (xml-parse-string, xml-substitute-special): Use it.
1012 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1013
b544fef2
GM
10142012-07-03 Glenn Morris <rgm@gnu.org>
1015
1016 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1017 Allow linking to specific messages in debbugs reports (eg 123#5).
1018
a7aef6f5
CY
10192012-07-02 Chong Yidong <cyd@gnu.org>
1020
1021 * xml.el: Fix entity and character reference expansion, allowing
1022 them to expand into markup as per XML spec.
1023 (xml-default-ns): New variable.
1024 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1025 (xml-parse-region): Make first two arguments optional.
1026 Discard text properties.
1027 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1028 All callers changed.
a7aef6f5
CY
1029 (xml-parse-tag): Call xml-parse-tag-1. For backward
1030 compatibility, this function should not modify buffer contents.
1031 (xml-parse-tag-1): Fix opening-tag regexp.
1032 (xml-parse-string): Rewrite, handling entity and character
1033 references properly.
1034 (xml--entity-replacement-text): Signal an error if a parameter
1035 entity is undefined.
1036
3df31c9f
SM
10372012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1038
2b5208f1
SM
1039 * comint.el (comint-output-filter): Filter out repeated prompts.
1040
3df31c9f
SM
1041 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1042 and file-name-absolute-p.
1043 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1044 internal calls.
1045
e3ac1281
PE
10462012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1047
1048 Spelling fixes.
1049 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1050 Rename from byte-compile--refiy-function. All uses changed.
1051
fbf2e7ad
CY
10522012-07-01 Chong Yidong <cyd@gnu.org>
1053
1054 * xml.el (xml--parse-buffer): New function. Move most of
1055 xml-parse-region here.
1056 (xml-parse-region): Copy region into a temporary buffer, since
1057 parameter entity substitution requires changing buffer contents.
1058 Use xml--parse-buffer.
1059 (xml-parse-file): Use xml--parse-buffer.
1060 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1061 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1062
9bf0aa15
GM
10632012-06-30 Glenn Morris <rgm@gnu.org>
1064
bbce2853
GM
1065 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1066
9bf0aa15
GM
1067 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1068 Remove outdated and unnecessary dbus declarations.
1069
0d23c240
EZ
10702012-06-30 Eli Zaretskii <eliz@gnu.org>
1071
1072 * emacs-lisp/timer.el (timer-until): Subtract results of
1073 float-time, instead of taking float-time of the result of
1074 time-subtract, since float-time signals an error for negative time
1075 arguments.
1076
b3218de1
CY
10772012-06-30 Chong Yidong <cyd@gnu.org>
1078
1079 * xml.el (xml-*-re): Convert defvars into defconsts, and
1080 eval-and-compile them so eval-and-compile works on derivatives.
1081 (xml--entity-replacement-text): Use eval-and-comple.
1082
a40c87a0
MA
10832012-06-30 Michael Albinus <michael.albinus@gmx.de>
1084
1085 * vc/vc-git.el (vc-git-registered): Use cache property
1086 `git-registered'.
1087 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1088 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1089 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1090
ac87de97
DG
10912012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1092
1093 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1094 removed (likely outside Emacs). (Bug#11757)
ac87de97 1095
ac10fe06
SM
10962012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1097
3df31c9f 1098 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1099
7f3fbd5d
CY
11002012-06-30 Chong Yidong <cyd@gnu.org>
1101
1102 * xml.el: Implement XML parameter entities.
1103 (xml-parameter-entity-alist): New variable.
1104 (xml-parse-region, xml-parse-fragment): Preserve previous values
1105 of xml-entity-alist and xml-parameter-entity-alist, so that
1106 repeated calls on different documents do not change them.
1107 (xml-parse-tag): Fix doctype regexp.
1108 (xml--entity-replacement-text): New function.
1109 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1110 properly requires url retrieval which is unimplemented.
1111 (xml-escape-string): Doc fix.
1112
3cfbebba
SM
11132012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1116
2af3565e
DA
11172012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1118
1119 * fringe.el (fringe-mode): Doc fix.
1120
929df0e7
MA
11212012-06-29 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1124 is non-nil.
1125 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1126 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1127
c8d3a25c 11282012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1129
c8d3a25c
GM
1130 * calendar/cal-dst.el (calendar-current-time-zone):
1131 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1132
c8d3a25c 11332012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1134
1135 * progmodes/which-func.el (which-func-format):
1136 Add mouse-face. (Bug#11698)
1137
c8d3a25c
GM
11382012-06-29 Leo Liu <sdl.web@gmail.com>
1139
1140 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1141
11422012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1143
1144 * minibuffer.el (minibuffer-confirm-exit-commands):
1145 Add completion-at-point (bug#11725).
1146
11472012-06-29 Glenn Morris <rgm@gnu.org>
1148
1149 * progmodes/f90.el (f90-font-lock-keywords-2):
1150 Add some preprocessor elements. (Bug#10499)
1151
11522012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1155 Use syntax-propertize (bug#11739).
1156
2badeec4
JB
11572012-06-28 Juanma Barranquero <lekktu@gmail.com>
1158
1159 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1160
ae4969c2
JD
11612012-06-28 Julien Danjou <julien@danjou.info>
1162
1163 * term.el (term-handle-colors-array): Use a set of new faces to
1164 color the terminal. Also uses :inverse-video property.
1165 (term-default-fg-color): Set to nil by default, deprecate in favor
1166 of `term-face'.
1167 (term-default-bg-color): Set to nil by default, deprecate in favor
1168 of `term-face'.
1169 (term-current-face): Use `term-face' by default.
1170 (term-bold-attribute): Variable deleted.
1171
1c9bd870
GM
11722012-06-28 Glenn Morris <rgm@gnu.org>
1173
1174 * simple.el (completion-list-mode-finish):
1175 Don't use toggle-read-only. (Since completion-list-mode has
1176 a special mode-class, it wasn't doing anything extra anyway.)
1177
c207708c
SM
11782012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 Make inlining of other-mode interpreted functions work (bug#11799).
1181 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1182 (byte-compile): Use it to fix compilation of lexical-binding closures.
1183 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1184 function, if needed.
1185
3fd56834
SM
11862012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1187
04901786
SM
1188 * help-mode.el (help-make-xrefs): Don't just withstand
1189 cyclic-variable-indirection but any error in documentation-property.
1190
1ec4b7b2
SM
1191 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1192 memory use.
1193 * bindings.el (bindings--define-key): New function.
1194 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1195 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1196 * bindings.el: Use it to purecopy define-key bindings.
1197
e309e2a5
SM
1198 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1199
d5c6faf9
SM
1200 * emacs-lisp/cl.el (flet): Mark obsolete.
1201 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1202 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1203 * progmodes/js.el (js-c-fill-paragraph):
1204 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1205 (ebrowse-switch-member-buffer-to-derived-class):
1206 * play/5x5.el (5x5-solver): Use cl-flet.
1207
6e9590e2
SM
1208 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1209 (cl--symbol-function): New macro.
1210 (cl--letf, cl--letf*): Use it.
1211
3fd56834
SM
1212 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1213 Strip "toggle-" if any.
1214
35ff222c
GM
12152012-06-27 Glenn Morris <rgm@gnu.org>
1216
1ba6038a
GM
1217 * info.el (Info-default-directory-list): Move here from paths.el.
1218 * paths.el: Remove file, which is now empty.
1219 * loadup.el: No longer load "paths".
1220
0ea0e51b
GM
1221 * custom.el (custom-initialize-delay): Doc fix.
1222
35ff222c
GM
1223 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1224 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1225 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1226 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1227 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1228 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1229 * eshell/eshell.el (eshell-defgroup): Remove alias.
1230
c89926a5
CY
12312012-06-27 Chong Yidong <cyd@gnu.org>
1232
1233 * help.el (help-enable-auto-load): New variable.
1234
1235 * help-fns.el (help-fns--autoloaded-p): New function.
1236 (describe-function-1): Refer to a function as "autoloaded" if it
1237 was autoloaded at any time in the past. Perform autoloading if
1238 help-enable-auto-load is non-nil.
1239
cc06e7e7
EZ
12402012-06-26 Eli Zaretskii <eliz@gnu.org>
1241
1242 * makefile.w32-in (compile, compile-always): Depend on
1243 update-subdirs, not on subdirs.el. Otherwise, several different
1244 sub-targets of 'bootstrap' running in parallel could
1245 simultaneously write to subdirs.el, producing a garbled file.
1246
d2c32364
SS
12472012-06-26 Sam Steingold <sds@gnu.org>
1248
1249 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1250 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1251 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1252 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1253 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1254 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1255 * textmodes/tex-mode.el: Use it.
1256 Did not touch cedet and org because they are maintained elsewhere.
1257
5cf983b2
MR
12582012-06-26 Martin Rudalics <rudalics@gmx.at>
1259
1260 * calendar/calendar.el (calendar-exit): Don't try to delete or
1261 iconify last frame. See:
1262 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1263
8c4f2952
JD
12642012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1265
1266 * server.el (server-process-filter): Remember dir in the
1267 process's `server-client-directory' properties.
1268
772b2e2c
CY
12692012-06-24 Chong Yidong <cyd@gnu.org>
1270
1271 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1272 non-tag text.
1273
711b11e1
JB
12742012-06-23 Juanma Barranquero <lekktu@gmail.com>
1275
1276 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1277
dc5d230c
SM
12782012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * help-fns.el (describe-variable): Don't croak when doc is not found.
1281 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1282 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1283 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1284 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1285 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1286 ((lambda ..) ..).
1287 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1288
136e1c1d
CY
12892012-06-23 Chong Yidong <cyd@gnu.org>
1290
e8c1cabf
CY
1291 * info.el (Info-mouse-follow-link): Accept symbol values of
1292 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1293 (Info-fontify-node): Use Info-link-keymap for all navigation
1294 buttons, with link-args property to perform the desired action.
1295 (Info-link-keymap): Doc fix.
1296 (Info-next-link-keymap, Info-prev-link-keymap)
1297 (Info-up-link-keymap): Delete now-unused keymaps.
1298
0e9e6c6a
CY
12992012-06-23 Chong Yidong <cyd@gnu.org>
1300
05e89fea
CY
1301 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1302
0e9e6c6a
CY
1303 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1304 system abbrevs.
1305
1306 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1307
e33c6771
SM
13082012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1309
b68581e2
SM
1310 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1311 (bug#11719).
1312
e33c6771
SM
1313 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1314 the requote function doesn't work properly (bug#11714).
1315
7117e105
GM
13162012-06-23 Glenn Morris <rgm@gnu.org>
1317
1318 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1319
36cec983
SM
13202012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 Further GV/CL cleanups.
1323 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1324 gv-expander.
1325 (gv--defun-declaration): New function.
1326 (defun-declarations-alist): Use it.
1327 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1328 (gv-place): Autoload.
1329 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1330 original definition of dotimes and dolist.
1331 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1332 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1333 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1334 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1335 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1336 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1337 to the function's definition.
1338 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1339 * window.el:
1340 * files.el:
1341 * faces.el:
1342 * env.el: Don't use CL.
1343
d35af63c
PE
13442012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1345
1346 Support higher-resolution time stamps (Bug#9000).
1347
1348 * calendar/time-date.el (with-decoded-time-value): New arg
1349 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1350 (encode-time-value): New optional arg PICO. New type 3.
1351 (time-to-seconds) [!float-time]: Support the new picoseconds
1352 component if it's used.
1353 (seconds-to-time, time-subtract, time-add):
1354 Support ps-resolution time stamps as well.
1355
1356 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1357 (timerp): Timer vectors now have length 9, not 8.
1358 (timer--time): Support new-style (4-part) time stamps.
1359 (timer-next-integral-multiple-of-time): Time stamps now have
1360 picosecond resolution, so take a bit more care about rounding.
1361 (timer-relative-time, timer-inc-time): New optional arg psecs.
1362 (timer-set-time-with-usecs): Set psecs to 0.
1363 (timer--activate): Check psecs component, too.
1364
1365 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1366
ac77b21a
SM
13672012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1368
f143bfe3
SM
1369 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1370 Move the non-essential binding to the post/pre-command-hook where it is
1371 more obviously correct.
1372
ac77b21a
SM
1373 * subr.el (read-passwd): Don't use a history at all.
1374 * savehist.el (savehist-save): Remove password saved accidentally
1375 because of the above bug.
1376
76386c5a
BG
13772012-06-22 Bastien Guerry <bzg@gnu.org>
1378
1379 * files.el (toggle-read-only): Display a message telling whether
1380 the buffer is read-only or not (bug#11726).
1381
2ee3d7f0
SM
13822012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * emacs-lisp/gv.el: New file.
1385 * subr.el (push, pop): Extend to generalized variables.
1386 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1387 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1388 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1389 gv-define-simple-setter, and gv-define-expander.
1390 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1391 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1392 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1393 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1394 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1395 gv-letplace.
1396 (cl-defstruct): Don't define setf-method any more.
1397 * emacs-lisp/cl.el (flet): Don't autoload.
1398 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1399 (define-setf-expander, defsetf, define-modify-macro)
1400 (cl-struct-setf-expander): Move from cl-lib.el.
1401 * emacs-lisp/syntax.el:
1402 * emacs-lisp/ewoc.el:
1403 * emacs-lisp/smie.el:
1404 * emacs-lisp/cconv.el:
1405 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1406 (timer--time): Use gv-define-simple-setter.
1407 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1408 to avoid coding-system problems in subr.el. Adjust all users.
1409 (macroexp--maxsize, macroexp-small-p): New functions.
1410 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1411 * scroll-bar.el (scroll-bar-mode):
1412 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1413 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1414 * winner.el (winner-configuration, winner-make-point-alist)
1415 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1416 * files.el (locate-file-completion-table): Avoid list*.
1417
c5695d1d
CY
14182012-06-22 Chong Yidong <cyd@gnu.org>
1419
1420 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1421 (dired-create-files): Doc fix (Bug#11329).
1422 (dired-do-copy): Doc fix (Bug#11334).
1423 (dired-mark-read-string): Doc fix (Bug#11553).
1424
2ee3d7f0
SM
1425 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1426 Doc fix (Bug#11326).
c5695d1d
CY
1427 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1428 (dired-dwim-target): Doc fix.
1429
1430 * wdired.el (wdired-mode): Doc fix.
1431
89b5595a
GM
14322012-06-22 Glenn Morris <rgm@gnu.org>
1433
575db3f1
GM
1434 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1435 (pcmpl-rpm-cache-stamp-file): New constant.
1436 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1437 (pcmpl-rpm-packages): Optionally cache list of packages.
1438
a4c8dd51
GM
1439 * pcmpl-rpm.el (pcmpl-rpm): New group.
1440 (pcmpl-rpm-query-options): New option.
1441 (pcmpl-rpm-packages): No need to inline it.
1442 Use pcmpl-rpm-query-options.
1443
89b5595a
GM
1444 * calendar/calendar.el (calendar-in-read-only-buffer):
1445 Avoid some needless mode changes.
1446
e76f0800
CY
14472012-06-21 Chong Yidong <cyd@gnu.org>
1448
1449 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1450 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1451 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1452
297a8f1d
CY
14532012-06-20 Chong Yidong <cyd@gnu.org>
1454
1455 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1456
d34c18b1
DR
14572012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1458
1459 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1460 (bug#11201).
1461
32f7f28e
CY
14622012-06-20 Chong Yidong <cyd@gnu.org>
1463
1464 * term.el (term-window-width): Handle the case of a missing right
1465 fringe (Bug#8837).
1466 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1467 (term-mode): Use define-derived-mode. Minor cleanups.
1468 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1469 (term-move-columns, term-insert-char, term-emulate-terminal)
1470 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1471
493c6688
MA
14722012-06-20 Michael Albinus <michael.albinus@gmx.de>
1473
d34c18b1
DR
1474 * net/ange-ftp.el (ange-ftp-get-passwd):
1475 Bind `enable-recursive-minibuffers'.
493c6688
MA
1476 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1477
3f06ecf4
DR
14782012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1479
1480 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1481
68f12411
GM
14822012-06-19 Glenn Morris <rgm@gnu.org>
1483
1484 * progmodes/python.el (python-mode): Derive from prog-mode.
1485
b3820318
KG
14862012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1487
1488 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1489 (edt-user-menu-bar-update-buffers): New functions.
1490 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1491
c6bf3022
CY
14922012-06-19 Chong Yidong <cyd@gnu.org>
1493
1494 * subr.el (with-selected-window): Preserve the selected window's
1495 terminal's top-frame (Bug#4702).
1496
1497 * window.el (save-selected-window): Likewise.
1498
25f09295
SM
14992012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * progmodes/python.el (python-rx-constituents): Move backquote.
1502 (python-skeleton-define, python-define-auxiliary-skeleton):
1503 Use `declare'.
1504
6b11952a
MA
15052012-06-18 Michael Albinus <michael.albinus@gmx.de>
1506
1507 * minibuffer.el (read-file-name-default): Revert the patch from
1508 2012-06-17.
1509
ee4b1330
SM
15102012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1513 (pcase--u1, pcase--q1): Don't use apply-partially.
1514
35647f79
GM
15152012-06-18 Glenn Morris <rgm@gnu.org>
1516
1517 * progmodes/python.el (python-proc, python-buffer)
1518 (python-send-receive, python-send-string): Fix obsolete versions.
1519
24b0cff0
MR
15202012-06-18 Martin Rudalics <rudalics@gmx.at>
1521
1522 * window.el (special-display-p): Completely remove stringp
1523 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1524
29855149
MA
15252012-06-17 Michael Albinus <michael.albinus@gmx.de>
1526
1527 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1528
1529 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1530
1531 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1532 * net/tramp-sh.el (tramp-maybe-open-connection):
1533 Throw if `non-essential' is non-nil.
1534
07463363
MR
15352012-06-17 Martin Rudalics <rudalics@gmx.at>
1536
1537 * window.el (special-display-p): Signal an error if BUFFER-NAME
1538 is not a string (Bug#11713).
1539
48d1354e
PE
15402012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1541
1542 * progmodes/python.el (python-info-beginning-of-backslash):
1543 Rename from python-info-beginning-of-backlash, as a spelling fix.
1544
eb4a8a9a
CY
15452012-06-17 Chong Yidong <cyd@gnu.org>
1546
1547 * term.el (term-emulate-terminal): If term-check-size is called,
1548 move point to the process mark without resetting point (Bug#4635).
1549
ddfbf826 15502012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1551
1552 * international/mule-cmds.el (mule-menu-keymap)
1553 (set-language-environment, set-locale-environment): Doc tweaks.
1554
9b0e3eba
AA
15552012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1556
1557 * cus-face.el (custom-face-attributes): Add wave-style underline
1558 attribute.
1559 * faces.el (set-face-attribute): Update docstring to describe
1560 wave-style underline attribute.
1561
771e3eae
CY
15622012-06-16 Chong Yidong <cyd@gnu.org>
1563
1564 * term/xterm.el (terminal-init-xterm): Discard input before
1565 querying background mode (Bug#10959).
1566
7ae2ea10
SM
15672012-06-16 Stefan Merten <smerten@oekonux.de>
1568
1569 * textmodes/rst.el: Added and corrected some comments.
1570 (rst-re-alist-def): Improve symbol syntax.
1571 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1572 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1573 (rst-official-version, rst-official-cvs-rev): Update version
1574 information.
7ae2ea10 1575
b6974efa
JB
15762012-06-15 Juanma Barranquero <lekktu@gmail.com>
1577
1578 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1579 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1580
8826d473
GM
15812012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1582
1583 * progmodes/python.el: New python.el merge.
1584 (python-guess-indent): Obsolete var.
1585 (python-indent-guess-indent-offset): New defcustom.
1586 (python-indent): Obsolete var.
1587 (python-indent-offset): New defcustom.
1588 (python-python-command, python-jython-command): Delete var.
1589 (python-shell-interpreter): New defcustom.
1590 (python-pdbtrack-do-tracking-p): Delete var.
1591 (python-pdbtrack-activate): New defcustom.
1592 (python-use-skeletons): Obsolete var.
1593 (python-skeleton-autoinsert): New defcustom.
1594 (inferior-python-filter-regexp, python-continuation-offset)
1595 (python-honour-comment-indentation, python-indent-string-contents)
1596 (python-jython-packages, python-mode-hook)
1597 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1598 (python-shell-prompt-alist)
1599 (python-source-modes): Delete defcustoms.
1600 (python-check-buffer-name, python-eldoc-setup-code)
1601 (python-eldoc-string-code, python-ffap-setup-code)
1602 (python-ffap-string-code, python-fill-comment-function)
1603 (python-fill-decorator-function, python-fill-paren-function)
1604 (python-fill-string-function, python-imenu-include-defun-type)
1605 (python-imenu-make-tree, python-imenu-subtree-root-label)
1606 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1607 (python-shell-compilation-regexp-alist)
1608 (python-shell-completion-module-string-code)
1609 (python-shell-completion-pdb-string-code)
1610 (python-shell-completion-setup-code)
1611 (python-shell-completion-string-code)
1612 (python-shell-enable-font-lock, python-shell-exec-path)
1613 (python-shell-extra-pythonpaths)
1614 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1615 (python-shell-process-environment)
1616 (python-shell-prompt-block-regexp)
1617 (python-shell-prompt-output-regexp)
1618 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1619 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1620 (python-shell-virtualenv-path): New defcustoms.
1621 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1622 (inferior-python-mode-syntax-table, python--prompt-regexp)
1623 (python-buffer, python-command python-python-command)
1624 (python-default-template, python-imports, python-indent-index)
1625 (python-indent-list, python-indent-list-length)
1626 (python-mode-running, python-pdbtrack-is-tracking-p)
1627 (python-preoutput-continuation, python-preoutput-leftover)
1628 (python-preoutput-result, python-preoutput-skip-next-prompt)
1629 (python-prev-dir/file, python-recursing)
1630 (python-saved-check-command, python-version-checked)
1631 (python-which-func-length-limit)
1632 (view-return-to-alist): Delete vars.
1633 (python-check-custom-command, python-dotty-syntax-table)
1634 (python-imenu-index-alist, python-indent-current-level)
1635 (python-indent-dedenters, python-indent-levels)
1636 (python-nav-beginning-of-defun-regexp)
1637 (python-nav-list-defun-positions-cache)
1638 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1639 (python-shell-internal-buffer)
1640 (python-skeleton-available): New vars.
1641 (def-python-skeleton): Delete macro.
1642 (python-skeleton-define): New macro.
1643 (python-define-auxiliary-skeleton, python-rx): New macros.
1644 (python-insert-class): Delete command.
1645 (python-skeleton-class): New command.
1646 (python-insert-def): Delete command.
1647 (python-skeleton-def): New command.
1648 (python-insert-for): Delete command.
1649 (python-skeleton-for): New command.
1650 (python-insert-if): Delete command.
1651 (python-skeleton-if): New command.
1652 (python-insert-try/except, python-insert-try/finally): Delete commands.
1653 (python-skeleton-try): New command.
1654 (python-insert-while): Delete command.
1655 (python-skeleton-while): New command.
1656 (python-backspace): Delete command.
1657 (python-indent-dedent-line-backspace): New command.
1658 (python-electric-colon): Delete command.
1659 (python-indent-electric-colon): New command.
1660 (python-guess-indent): Delete command.
1661 (python-indent-guess-indent-offset): New command.
1662 (python-shift-left): Delete command.
1663 (python-indent-shift-left): New command.
1664 (python-shift-right): Delete command.
1665 (python-indent-shift-right): New command.
1666 (python-find-function): Delete command.
1667 (python-nav-jump-to-defun): New command.
1668 (python-next-statement): Delete command.
1669 (python-nav-forward-sentence): New command.
1670 (python-previous-statement): Delete command.
1671 (python-nav-backward-sentence): New command.
1672 (python-fill-paragraph): Delete command.
1673 (python-fill-paragraph-function): New command.
1674 (python-send-buffer): Delete command.
1675 (python-shell-send-buffer): New command.
1676 (python-send-defun): Delete command.
1677 (python-shell-send-defun): New command.
1678 (python-send-region, python-send-region-and-go): Delete commands.
1679 (python-shell-send-region)
1680 (python-shell-switch-to-shell): New commands.
1681 (python-send-string): Delete command.
1682 (python-shell-send-string): New command.
1683 (python-switch-to-python): Delete command.
1684 (python-shell-switch-to-shell): New command.
1685 (python-describe-symbol): Delete command.
1686 (python-eldoc-at-point): New command.
1687 (python--set-prompt-regexp, python-args-to-list)
1688 (python-after-info-look, python-check-version)
1689 (python-check-comint-prompt, python-find-imports)
1690 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1691 (python-unload-function, python-expand-template)
1692 (python-maybe-jython, python-preoutput-filter)
1693 (python-pdbtrack-get-source-buffer)
1694 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1695 (python-pdbtrack-toggle-stack-tracking)
1696 (python-pdbtrack-track-stack-file, python-initial-text)
1697 (python-first-word, python-comment-line-p, python-send-command)
1698 (python-setup-brm, python-sentinel, python-set-proc)
1699 (python-skip-out, python-input-filter, python-outdent-p)
1700 (python-outline-level, python-backslash-continuation-line-p)
1701 (python-end-of-block, python-end-of-statement, python-mark-block)
1702 (python-beginning-of-block, python-beginning-of-statement)
1703 (python-blank-line-p, python-beginning-of-string)
1704 (python-open-block-statement-p): Delete functions.
1705 (python-indent-line, python-indent-line-1): Delete functions.
1706 (python-indent-line): New function.
1707 (python-indentation-levels): Delete function.
1708 (python-indent-calculate-levels): New function.
1709 (python-proc): Delete function.
1710 (python-shell-get-process): New function.
1711 (python-send-receive): Delete function.
1712 (python-shell-send-string-no-output): New function.
1713 (python-module-path): Delete function.
1714 (python-ffap-module-path): New function.
1715 (python-completion-at-point)
1716 (python-symbol-completions): Delete functions.
1717 (python-completion-complete-at-point): New function.
1718 (python-load-file): Delete function.
1719 (python-shell-send-file): New function.
1720 (python-calculate-indentation): Delete function.
1721 (python-indent-calculate-indentation): New function.
1722 (python-skip-comments/blanks): Delete function.
1723 (python-util-forward-comment): New function.
1724 (python-continuation-line-p): Delete function.
1725 (python-info-continuation-line-p): New function.
1726 (python-which-func, python-current-defun): Delete function.
1727 (python-info-current-defun): New function.
1728 (python-beginning-of-defun): Delete function.
1729 (python-nav-beginning-of-defun): New function.
1730 (python-close-block-statement-p)
1731 (python-block-end-p): Delete function.
1732 (python-info-closing-block): New function.
1733 (python-comint-output-filter-function)
1734 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1735 (python-fill-comment, python-fill-decorator, python-fill-paren)
1736 (python-fill-string, python-imenu-make-element-tree)
1737 (python-imenu-make-tree, python-imenu-tree-assoc)
1738 (python-indent-context, python-indent-dedent-line)
1739 (python-indent-line-function)
1740 (python-indent-post-self-insert-function)
1741 (python-indent-toggle-levels)
1742 (python-info-assignment-continuation-line-p)
1743 (python-info-beginning-of-backlash)
1744 (python-info-block-continuation-line-p)
1745 (python-info-closing-block-message)
1746 (python-info-line-ends-backslash-p)
1747 (python-info-looking-at-beginning-of-defun)
1748 (python-info-ppss-context, python-info-ppss-context-type)
1749 (python-nav-list-defun-positions, python-nav-read-defun)
1750 (python-nav-sentence-end, python-nav-sentence-start)
1751 (python-pdbtrack-comint-output-filter-function)
1752 (python-pdbtrack-set-tracked-buffer)
1753 (python-shell-calculate-exec-path)
1754 (python-shell-calculate-process-environment)
1755 (python-shell-completion--do-completion-at-point)
1756 (python-shell-completion--get-completions)
1757 (python-shell-completion-complete-at-point)
1758 (python-shell-completion-complete-or-indent)
1759 (python-shell-get-or-create-process)
1760 (python-shell-get-process-name)
1761 (python-shell-internal-get-or-create-process)
1762 (python-shell-internal-get-process-name)
1763 (python-shell-internal-send-string, python-shell-make-comint)
1764 (python-shell-parse-command, python-shell-send-setup-code)
1765 (python-skeleton-add-menu-items)
1766 (python-util-clone-local-variables, python-util-position)
1767 (run-python-internal, python-indentation-levels)
1768 (python-nav-beginning-of-defun)
1769 (python-completion-complete-at-point): New functions.
1770 (run-python): Change arguments. New API requirements.
1771
4302f5ba
SM
17722012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1773
f38ea36d
SM
1774 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1775 (bug#11649).
1776
1777 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1778 (macroexp--expand-all): Use it.
1779
4302f5ba
SM
1780 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1781 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1782 Use `cl-function' instead.
1783
33377562
JB
17842012-06-14 Juanma Barranquero <lekktu@gmail.com>
1785
1786 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1787 Suggested by Stefan Monnier while discussing bug#11657.
1788
54c5ba1a
SS
17892012-06-14 Sam Steingold <sds@gnu.org>
1790
1791 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1792
f9f1b1fe
AS
17932012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1794
1795 * play/doctor.el (doctor-doc): Remove parameter and use
1796 doctor-sent instead of sent.
1797 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1798
a81068ba
SM
17992012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1800
5a315f9c
SM
1801 * files.el: Require cl-lib.
1802 (file-name-non-special): Replace case -> cl-case.
1803
1804 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1805
a81068ba
SM
1806 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1807 mapping from #' to function*.
1808
8cca9703
CY
18092012-06-13 Chong Yidong <cyd@gnu.org>
1810
1811 * mouse.el (mouse-drag-track): Do not set the mark if the user
1812 releases the mouse without selecting anything (Bug#11588).
1813
a12ac9d7
SM
18142012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1815
ccf1dc18
SM
1816 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1817 as well (bug#11646).
1818
ef62b23d
SM
1819 * loadup.el: Count byte-code functions as well.
1820
c4c8444a
SM
1821 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1822 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1823
a12ac9d7
SM
1824 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1825 (bug#11649). Add cl-defun and cl-defmacro.
1826
87e6e64f
DA
18272012-06-13 Drew Adams <drew.adams@oracle.com>
1828
1829 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1830 Fix last change.
1831
682cefaf
MA
18322012-06-13 Michael Albinus <michael.albinus@gmx.de>
1833
1834 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1835 Otherwise, it blocks in batch mode.
1836
773e1f08
JB
18372012-06-13 Juanma Barranquero <lekktu@gmail.com>
1838
1839 * help-mode.el (bookmark-make-record-default): Declare.
1840
60057926
CY
18412012-06-13 Chong Yidong <cyd@gnu.org>
1842
1843 * emacs-lisp/package.el (list-packages): Compute a list of
1844 packages that are newly-available since the last list-packages
1845 invocation.
1846 (package-menu--new-package-list): New var.
1847 (package-menu--generate, package-menu--print-info)
1848 (package-menu--status-predicate, package-menu-mark-install):
1849 Handle new status label "new".
1850
ad4d226c
SM
18512012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1854 conversion to backquotes.
1855
f1a4e679
CY
18562012-06-12 Chong Yidong <cyd@gnu.org>
1857
1858 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1859 Rename from gud-inhibit-global-bindings.
1860
1861 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1862
1863 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1864 hook from nxml-glyph-set-hook.
1865
1866 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1867 declaration.
1868
1869 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1870
1871 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1872 Convert to defcustom.
1873
0c9e42b5
DA
18742012-06-12 Drew Adams <drew.adams@oracle.com>
1875
1876 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1877 New functions.
1878 (help-mode): Use them.
1879
09e06855
GM
18802012-06-11 Glenn Morris <rgm@gnu.org>
1881
1882 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1883 Use preprocessor face for directives.
1884 (fortran-directive-re): Doc fix.
1885
71adb94b
SM
18862012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1887
2eb87922
SM
1888 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1889 conversion to backquotes (bug#11652).
1890
71adb94b
SM
1891 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1892 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1893 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1894 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1895 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1896 (cl-ninth, cl-tenth): Mark them as inlinable.
1897 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1898 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1899 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1900 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1901 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1902 (cl-list*, cl-adjoin): Don't put an autoload manually.
1903 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1904 (cl--compiler-macro-list*): Add autoload cookie.
1905 (cl--compiler-macro-cXXr): New function.
2eb87922 1906
71adb94b
SM
1907 * help-fns.el (help-fns--compiler-macro): New function extracted from
1908 describe-function-1; follow aliases and use `compiler-macro' property.
1909 (describe-function-1): Use it.
1910
a6674402
CY
19112012-06-11 Chong Yidong <cyd@gnu.org>
1912
1913 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1914 is uninstalled, if imagemagick is installed.
1915
bb3faf5b
SM
19162012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * emacs-lisp/cl-lib.el: Use lexical-binding.
1919 (cl-map-extents, cl-maclisp-member): Remove.
1920 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1921 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1922 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1923 * emacs-lisp/cl-extra.el: Use lexical-binding.
1924 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1925 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1926 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1927 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1928 * emacs-lisp/cl-seq.el: Use lexical-binding.
1929 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1930 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1931 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1932 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1933 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1934 CL's internals.
1935
2fe4b125
MA
19362012-06-11 Michael Albinus <michael.albinus@gmx.de>
1937
1938 Sync with Tramp 2.2.6-pre.
1939
1940 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1941 `print-length' and `print-level' to nil, in order to avoid
1942 truncation. Reported by Christopher Schmidt
1943 <christopher@ristopher.com>.
1944
1945 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1946
1947 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1948 New defmacro.
1949 (tramp-compat-copy-directory): Add optional argument
1950 COPY-CONTENTS. It is not handled yet.
1951
1952 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1953 (tramp-ftp-file-name-p): Simplify.
1954
1955 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1956 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1957 connection vector.
1958
1959 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1960 (tramp-methods): Do not use `tramp-password-end-of-line'.
1961 (tramp-completion-function-alist-putty): Handle UNIX case.
1962 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1963 (tramp-do-file-attributes-with-stat)
1964 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1965 gid as real numbers. They could run out of integer range on cygwin.
1966 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1967 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1968 (tramp-open-connection-setup-interactive-shell):
1969 Use `tramp-cleanup'. Move check for busyboxes ...
1970 (tramp-find-shell): ... here. Simplify implementation.
1971 Set "remote-shell" property also for alternative shells.
1972 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1973 If failing, a regular file would be written otherwise.
1974 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1975 (tramp-find-inline-encoding): Cache the coding commands in the
1976 process cache. Apply test command on the remote side, if defined.
1977 (tramp-find-inline-compress): Cache the compress commands in the
1978 process cache.
1979 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1980 when requested. Handle hops.
1981 (tramp-current-connection): New defvar.
87e6e64f
DA
1982 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1983 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1984 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1985 (tramp-get-inline-compress, tramp-get-inline-coding):
1986 Read connection properties from the process cache.
2fe4b125
MA
1987
1988 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1989 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1990 New defconsts.
2fe4b125
MA
1991 (tramp-smb-prompt): Extend for powershell prompt.
1992 (tramp-smb-file-name-handler-alist): Add handlers for
1993 `process-file', `shell-command' and `start-file-process'.
1994 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1995 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1996 (tramp-smb-file-name-p): Simplify.
1997 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1998 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1999 (tramp-smb-shell-quote-argument): New defuns.
2000 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2001 Implement using "tar". By this, time-stamps are preserved.
2002 (tramp-smb-handle-copy-file): Handle also the case of directories.
2003 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2004 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2005 Use `tramp-get-connection-buffer').
2fe4b125
MA
2006 (tramp-smb-handle-rename-file): Use "rename", when source and
2007 target are on the same share.
87e6e64f
DA
2008 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2009 Use `tramp-smb-server-version'.
2fe4b125
MA
2010 (tramp-smb-wait-for-output): Remove prompt.
2011
2012 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2013 (tramp-methods, tramp-rsh-end-of-line):
2014 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2015 (tramp-save-ad-hoc-proxies): New defcustom.
2016 (tramp-completion-function-alist): Adapt docstring.
2017 (tramp-default-password-end-of-line): Remove defcustom.
2018 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2019 (tramp-user-regexp, tramp-file-name-regexp-unified)
2020 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2021 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2022 (tramp-remote-file-name-spec-regexp): New defconst.
2023 (tramp-file-name-structure): Extend structure for hops.
2024 (tramp-get-method-parameter): Move up.
2025 (tramp-file-name-p, tramp-dissect-file-name)
2026 (with-parsed-tramp-file-name): Handle hops.
2027 (tramp-file-name-hop): New defun.
2028 (tramp-make-tramp-file-name): New optional arg HOP.
2029 (tramp-message-show-progress-reporter-message): New defvar.
2030 (tramp-with-progress-reporter): Use it. We cannot use
2031 `tramp-message-show-message' here, because this suppresses also
2032 error buffers.
2033 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2034 `tramp-message-show-message' is nil.
2035 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2036 (tramp-cleanup): New defun.
2037 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2038 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2039 an error unchanged.
2040 (tramp-completion-handle-file-name-all-completions): Handle hops.
2041 Fix an error when called from ido.
2042 (tramp-completion-dissect-file-name): Use better local variable
2043 name. Add hop to the vector.
2044 (tramp-handle-insert-file-contents): Use progress-reporter for the
2045 whole scenario.
2046 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2047 to `t'.
2048 (tramp-check-for-regexp): Simplify search.
2049 (tramp-enter-password): Remove it. Move implementation ...
2050 (tramp-action-password): ... here.
2051 (tramp-mode-string-to-int, tramp-local-host-p)
2052 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2053 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2054 Set tramp-autoload cookie.
2fe4b125
MA
2055
2056 * net/trampver.el: Update release number.
2057
20582012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2059 Michael Albinus <michael.albinus@gmx.de>
2060
2061 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2062 (tramp-parse-group, tramp-parse-file)
2063 (tramp-parse-shostkeys-sknownhosts): New defuns.
2064 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2065 (tramp-parse-shosts-group, tramp-parse-sconfig)
2066 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2067 (tramp-parse-sknownhosts, tramp-parse-hosts)
2068 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2069 Use them.
2070 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2071 (tramp-parse-putty-group): Don't narrow.
2072 (tramp-parse-putty): Make a loop.
2073 (tramp-file-name-handler): Catch the `suppress' signal.
2074
72834e10
CY
20752012-06-11 Chong Yidong <cyd@gnu.org>
2076
2077 * image.el (imagemagick-register-types): Put the ImageMagick entry
2078 at the end of image-type-file-name-regexps.
2079
a4712e11
JB
20802012-06-11 Johan Bockgård <bojohan@gnu.org>
2081
2082 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2083 (pcase, pcase-let*, pcase-dolist): Use them.
2084
82ad98e3
SM
20852012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * emacs-lisp/pcase.el (pcase--let*): New function.
2088 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2089 (pcase--expand): Use macroexp-let².
2090
f80efb86
SM
20912012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2094 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2095 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2096 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2097 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2098 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2099
31ca4639 21002012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2101
31ca4639
CY
2102 * mail/rmail.el (rmail-yank-current-message): Leave point at
2103 correct position. (Bug#11660)
94f0aa34 2104
31ca4639 21052012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2106
31ca4639 2107 * allout-widgets.el: Fix code header.
9e1b8ec4 2108
31ca4639 21092012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2110
f80efb86
SM
2111 * cus-edit.el (customize-changed-options-previous-release):
2112 Bump to 24.1.
31ca4639 2113
642b6d30
AS
21142012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2115
2116 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2117
4f5d2ba1
CY
21182012-06-09 Chong Yidong <cyd@gnu.org>
2119
2120 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2121
e75852fd
MR
21222012-06-09 Martin Rudalics <rudalics@gmx.at>
2123
2124 * window.el (special-display-popup-frame): Don't use
2125 window--display-buffer (Bug#11651).
2126
1e48e282
EZ
21272012-06-09 Eli Zaretskii <eliz@gnu.org>
2128
8a26b487
EZ
2129 Fix parallel builds: make sure loaddefs.el is not being written
2130 while Lisp files are compiled.
2131 (compile): Don't depend on 'mh-autoloads'.
2132 (compile-CMD, compile-SH): Depend on 'autoloads'.
2133 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2134
1e48e282
EZ
2135 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2136
6175e34b
CY
21372012-06-09 Chong Yidong <cyd@gnu.org>
2138
2139 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2140 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2141 Doc fixes (Bug#11225).
2142
d9857e53
SM
21432012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2146 a function if there's a clear indication that it has a compiler-macro.
2147 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2148 (macro-declarations-alist): Add arglist to declaration functions.
2149 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2150 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2151 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2152 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2153 Also add autoload to find the compiler macro.
2154 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2155 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2156 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2157 (cl--compiler-macro-get): New functions, replacing calls to
2158 cl-define-compiler-macro.
2159 (cl-typep) [compiler-macro]: Use macroexp-let².
2160
f81298f8 21612012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2162
2163 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2164 string properly, fixes Bug#11473.
2165
4b56d0fe
CY
21662012-06-08 Chong Yidong <cyd@gnu.org>
2167
2168 * faces.el (set-face-attribute): Doc fix.
2169 (modify-face): Don't use :bold and :italic.
2170 (error, warning, success): Tweak definitions.
2171
2172 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2173 (custom-modified, custom-set, custom-changed, custom-themed)
2174 (custom-saved, custom-button, custom-button-mouse)
2175 (custom-button-pressed, custom-state, custom-comment-tag)
2176 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2177 (custom-group-subtitle): Use new-style face specs.
2178 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2179 (custom-set-face, custom-changed-face, custom-saved-face)
2180 (custom-button-face, custom-button-pressed-face)
2181 (custom-documentation-face, custom-state-face)
2182 (custom-comment-face, custom-comment-tag-face)
2183 (custom-variable-tag-face, custom-variable-button-face)
2184 (custom-face-tag-face, custom-group-tag-face-1)
2185 (custom-group-tag-face): Remove obsolete face alias.
2186
2187 * epa.el (epa-validity-high, epa-validity-medium)
2188 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2189 (epa-field-name, epa-field-body):
2190 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2191 (font-lock-keyword-face, font-lock-builtin-face)
2192 (font-lock-function-name-face, font-lock-variable-name-face)
2193 (font-lock-type-face, font-lock-constant-face):
2194 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2195 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2196 * speedbar.el (speedbar-button-face, speedbar-file-face)
2197 (speedbar-directory-face, speedbar-tag-face)
2198 (speedbar-selected-face, speedbar-highlight-face)
2199 (speedbar-separator-face):
2200 * whitespace.el (whitespace-newline, whitespace-space)
2201 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2202 (whitespace-line, whitespace-space-before-tab)
2203 (whitespace-space-after-tab, whitespace-indentation)
2204 (whitespace-empty):
2205 * emulation/cua-base.el (cua-global-mark):
2206 * eshell/em-prompt.el (eshell-prompt):
2207 * net/newst-plainview.el (newsticker-new-item-face)
2208 (newsticker-old-item-face, newsticker-immortal-item-face)
2209 (newsticker-obsolete-item-face, newsticker-date-face)
2210 (newsticker-statistics-face, newsticker-default-face):
2211 * net/newst-reader.el (newsticker-feed-face)
2212 (newsticker-extra-face, newsticker-enclosure-face):
2213 * net/newst-treeview.el (newsticker-treeview-face)
2214 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2215 (newsticker-treeview-immortal-face)
2216 (newsticker-treeview-obsolete-face)
2217 (newsticker-treeview-selection-face):
2218 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2219 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2220 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2221 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2222 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2223 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2224 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2225 (mpuz-text):
2226 * progmodes/vera-mode.el (vera-font-lock-number)
2227 (vera-font-lock-function, vera-font-lock-interface):
2228 * textmodes/table.el (table-cell): Use new-style face specs, and
2229 don't use the old :bold and :italic attributes.
2230
2231 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2232 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2233 (ebrowse-member-class, ebrowse-progress): Likewise.
2234 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2235 (ebrowse-file-name-face, ebrowse-default-face)
2236 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2237 (ebrowse-progress-face): Remove obsolete faces.
2238
2239 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2240 Inherit from error and warning faces respectively.
2241
2242 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2243 Likewise.
f80efb86
SM
2244 (flyspell-incorrect-face, flyspell-duplicate-face):
2245 Remove obsolete aliases.
4b56d0fe 2246
03310646
MA
22472012-06-08 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2250 Avoid infloop.
2251
513749ee
SM
22522012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * startup.el (argv, argi): Make lexically scoped.
2255 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2256 * emacs-lisp/cl-macs.el: Use lexical-binding.
2257 Rename cl-bind-* to cl--bind-*.
2258 * files.el: Don't require `cl' since it doesn't use it.
2259 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2260
595ef4ad
JB
22612012-06-08 Juanma Barranquero <lekktu@gmail.com>
2262
2263 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2264 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2265 instead of calling external sort utility.
2266 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2267
e9f66fcb
EZ
22682012-06-08 Eli Zaretskii <eliz@gnu.org>
2269
2270 * descr-text.el (describe-char): Mention how to insert the
2271 character, if the current input method doesn't support it.
2272 See the discussion in this thread for the details:
2273 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2274
3d10db47
SS
22752012-06-08 Sam Steingold <sds@gnu.org>
2276
2277 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2278 XF86Back to previous-buffer.
2279 (minibuffer-local-map): Bind them to next-history-element and
2280 previous-history-element respectively.
2281 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2282 help-go-back respectively.
2283 * info.el (Info-mode-map): Bind them to Info-history-forward and
2284 Info-history-back respectively.
2285 These are the keys next to Up on the ThinkPad keyboard.
2286
de7e2b36
SM
22872012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2290 * emacs-lisp/cl-macs.el: Provide itself.
2291 (cl--labels-convert-cache): New var.
2292 (cl--labels-convert): New function.
2293 (cl-flet, cl-labels): New implementation with new semantics, relying on
2294 lexical-binding.
2295 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2296 (cl-closure-vars, cl--function-convert-cache)
2297 (cl--function-convert): Move from cl-macs.el.
2298 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2299 rename by removing the "cl-" prefix.
2300 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2301
6fa6c4ae
SM
23022012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2305 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2306 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2307 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2308 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2309 (cl-hash-table-count): Add old compatibility aliases.
2310
2311 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2312 Use macroexpand-all-environment instead.
2313 (cl--old-macroexpand): New var.
2314 (cl--sm-macroexpand): New function.
2315 (cl-symbol-macrolet): Use it during macro expansion.
2316 (cl--function-convert-cache): New var.
2317 (cl--function-convert): New function, extracted from
2318 cl-macroexpand-all.
2319 (cl-lexical-let): Use it.
2320
2321 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2322 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2323 (cl-member): Remove old alias.
2324
2325 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2326 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2327 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2328 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2329 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2330 (cl-macroexpand-cmacs): Remove var.
2331 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2332 Use macroexpand-all instead.
2333
4dd1c416
SM
23342012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2335
2336 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2337 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2338 (macroexp-copyable-p): New functions and macros.
2339 * emacs-lisp/edebug.el (edebug-unwrap):
2340 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2341 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2342 (pcase--let*): Remove.
2343 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2344 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2345 macroexp-const-p instead.
2346 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2347
2348 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2349 instead of "cl-" for internal definitions. Use macroexp-const-p.
2350 (cl-old-bc-file-form): Remove var.
2351 (cl-const-exprs-p): Remove fun.
2352 (cl-labels, cl-macrolet): Use backquote.
2353 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2354 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2355 (cl-define-setf-expander): Rename from cl-define-setf-method.
2356 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2357
2358 * international/mule-cmds.el: Don't require CL.
2359 (view-hello-file): Don't use `letf'.
2360
ed8bd4d7
SM
23612012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2362
7287f2f3
SM
2363 * tmm.el (tmm-prompt): Use string-prefix-p.
2364 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2365 (tmm-add-prompt): Use minibuffer-completion-help.
2366 (tmm-delete-map): Remove.
2367
ed8bd4d7
SM
2368 * subr.el (kbd): Make it its own function.
2369
7b4cdbf4
SM
23702012-06-07 Stefan Merten <smerten@oekonux.de>
2371
2372 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2373 Silence compiler warnings. Fix versions.
ed8bd4d7 2374 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2375 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2376 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2377 (rst-package-emacs-version-alist): Correct Emacs version to
2378 represent major merge with upstream.
ed8bd4d7 2379 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2380
2b48d721
GM
23812012-06-06 Glenn Morris <rgm@gnu.org>
2382
2383 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2384 Only print environment variables if set.
2385
fa779ab0
SM
23862012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2389 (macroexp--cons): Rename from maybe-cons.
2390 (macroexp--accumulate): Rename from macroexp-accumulate.
2391 (macroexp--all-forms): Rename from macroexpand-all-forms.
2392 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2393 (macroexp--expand-all): Rename from macroexpand-all-1.
2394
628299e0
SS
23952012-06-06 Sam Steingold <sds@gnu.org>
2396
2397 * calendar/calendar.el (calendar-in-read-only-buffer):
2398 Call `special-mode' to enable the standard read-only keybindings.
2399
b7bb5838
SM
24002012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2401
2402 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2403 with "loading" messages (bug#11635).
2404
dfb308ba
MA
24052012-06-06 Michael Albinus <michael.albinus@gmx.de>
2406
2407 * files.el (enable-remote-dir-locals): New option.
2408 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2409
0372ee92
MA
2410 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2411 Ensure, that the temp directory is local.
2412
2413 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2414 `temporary-file-directory'.
2415
eed0bb91
MA
2416 * progmodes/python.el (python-send-region): Ensure, that the
2417 temporary file is created also in the remote case.
2418
7a58f64d
GM
24192012-06-06 Glenn Morris <rgm@gnu.org>
2420
f7dd4e98
GM
2421 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2422 (vc-rcs-update-changelog): Use it.
2423
090bd7cb 2424 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2425
7a58f64d
GM
2426 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2427 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2428 (vc-sccs-diff): Replace use of the external vcdiff script.
2429
daed4003
GM
24302012-06-05 Glenn Morris <rgm@gnu.org>
2431
2432 * ledit.el: Move to obsolete/.
2433
48c455c7
SS
24342012-06-05 Sam Steingold <sds@gnu.org>
2435
ed9265fc 2436 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2437 patch (Bug#11140).
2438
57a7d507
SM
24392012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2440
090bd7cb 2441 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2442
53aacf21
SM
2443 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2444 compiler-macro expansion.
2445
57a7d507
SM
2446 Add native compiler-macro support.
2447 * emacs-lisp/macroexp.el (macroexpand-all-1):
2448 Support compiler-macros directly. Properly follow aliases and apply
2449 the compiler macros more thoroughly.
2450 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2451 macroexpand now properly follows aliases.
2452 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2453 (cl-compiler-macroexpand): Use new prop.
2454 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2455
2456 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2457
51a5f9d8
MR
24582012-06-05 Martin Rudalics <rudalics@gmx.at>
2459
2460 * window.el (get-lru-window, get-mru-window, get-largest-window):
2461 New argument NOT-SELECTED to avoid picking the selected window.
2462 (window--display-buffer-1, window--display-buffer-2): Replace by
2463 new function window--display-buffer
2464 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2465 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2466 Use window--display-buffer.
51a5f9d8
MR
2467 (display-buffer-use-some-window): Remove temporary dedication
2468 hack by calling get-lru-window and get-largest-window with
2469 NOT-SELECTED argument non-nil. Call window--display-buffer.
2470
08f9f738
GM
24712012-06-05 Glenn Morris <rgm@gnu.org>
2472
2473 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2474 Replace external vcdiff script.
2475
e364a2b7
SM
24762012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2479
041df390
CY
24802012-06-04 Chong Yidong <cyd@gnu.org>
2481
e364a2b7
SM
2482 * image.el (imagemagick-types-inhibit): Revert last change.
2483 Add INFO and M.
47b36b94 2484 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2485
7c1898a7
SM
24862012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 * emacs-lisp/cl-lib.el: Rename from cl.el.
2489 * emacs-lisp/cl.el: New compatibility file.
2490 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2491 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2492 to obey the "cl-" prefix.
2493 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2494
0c3461de
GM
24952012-06-03 Glenn Morris <rgm@gnu.org>
2496
1e266c88
GM
2497 * emacs-lisp/authors.el (authors-aliases): Addition.
2498
0c3461de
GM
2499 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2500 Fix :version.
2501
d8a52e15
SM
25022012-06-03 Stefan Merten <smerten@oekonux.de>
2503
2504 * textmodes/rst.el: Add comments.
2505 (rst-transition, rst-adornment): New faces.
2506 (rst-adornment-faces-alist): Make default safe to reevaluate.
2507 Fixes
2508 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2509 Improve customization tags.
2510 (rst-define-level-faces): Clarify meaning.
2511
5205d6f6
CY
25122012-06-03 Chong Yidong <cyd@gnu.org>
2513
2514 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2515 (compilation-mode-line-run, compilation-mode-line-exit):
2516 New faces.
5205d6f6
CY
2517 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2518
757ee657
JD
25192012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2520
7c1898a7
SM
2521 * progmodes/which-func.el (which-func-update-ediff-windows):
2522 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2523
5f2c76c6
CY
25242012-06-03 Chong Yidong <cyd@gnu.org>
2525
2526 * bindings.el: Remove explicit help text from format-mode-line.
2527 It is now supplied by mode-line-default-help-echo.
2528 (mode-line-front-space, mode-line-end-spaces)
2529 (mode-line-misc-info): New variables.
2530 (mode-line-modes, mode-line-position): Move the default value to
2531 the variable definition.
2532 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2533 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2534 (mode-line-modified-help-echo): New functions.
2535 (mode-line-mule-info, mode-line-modified): Use them.
2536 (mode-line-eol-desc, propertized-buffer-identification):
2537 Consistency fixes for help text.
cbe46e5f
CY
2538 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2539 set-buffer-file-coding-system (Bug#289).
2540 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2541
f2d6a3df
SM
25422012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 * simple.el (execute-extended-command): Set real-this-command
2545 (bug#11506).
2546
37269466
CY
25472012-06-02 Chong Yidong <cyd@gnu.org>
2548
2549 Remove incorrect uses of "modeline" in comments, docstrings, and
2550 function/variable names (Bug#10329).
2551
2552 * cus-edit.el (mode-line):
2553 * dframe.el (dframe-mouse-hscroll):
2554 * emacs-lisp/re-builder.el:
2555 * emacs-lisp/easy-mmode.el (define-minor-mode):
2556 * frame.el (set-frame-name):
2557 * help.el (lookup-minor-mode-from-indicator):
2558 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2559 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2560 (c-toggle-hungry-state):
2561 * progmodes/antlr-mode.el (antlr-language-alist):
2562 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2563 * progmodes/vhdl-mode.el (vhdl-mode):
2564 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2565 * term/ns-win.el (ns-face-at-pos):
2566 * term/sup-mouse.el (sup-mouse-report):
2567 * textmodes/flyspell.el (flyspell-mode-line-string):
2568 * textmodes/ispell.el (ispell-highlight-face):
2569 * textmodes/reftex-global.el:
2570 * vc/vc-arch.el (vc-arch-mode-line-string):
2571 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2572 * vc/vc-git.el (vc-git-mode-line-string):
2573 * vc/vc-hooks.el (vc-display-status)
2574 (vc-default-mode-line-string):
2575 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2576
2577 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2578
2579 * dired.el (dired-sort-set-mode-line): Rename from
2580 dired-sort-set-modeline. All callers changed.
2581
2582 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2583 eshell-status-in-modeline.
2584
2585 * foldout.el (foldout-mode-line-string): Rename from
2586 foldout-modeline-string. All callers changed.
2587 (foldout-update-mode-line): Rename from foldout-update-modeline.
2588
2589 * subr.el (redraw-modeline): Make into obsolete alias.
2590
2591 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2592 timeclock-modeline-display. Make old name an alias.
2593 (timeclock-update-mode-line): Likewise. All callers changed.
2594 (timeclock-mode-line-display): No need to check before using
2595 add-hook.
2596 (timeclock-relative, timeclock-day-over-hook)
2597 (timeclock-use-elapsed, timeclock-mode-string)
2598 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2599
2600 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2601 crisp-mode-modeline-string.
2602
2603 * play/solitaire.el (solitaire-build-mode-line): Rename from
2604 solitaire-build-modeline. All callers changed.
2605
2606 * play/zone.el (zone-hiding-mode-line): Rename from
2607 zone-hiding-modeline. All callers changed.
2608 (zone): Remove unusued `modeline-hidden-level' property.
2609
2610 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2611 xscheme-modeline-initialize. All callers changed.
2612
2613 * strokes.el (strokes-lighter): Rename from
2614 strokes-modeline-string.
2615
2616 * textmodes/sgml-mode.el (html-face-tag-alist)
2617 (html-tag-face-alist): Use mode-line face instead of obsolete
2618 alias modeline.
2619
42152ee4
SM
26202012-06-02 Stefan Merten <smerten@oekonux.de>
2621
2622 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2623 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2624
95f520b5
CY
26252012-06-02 Chong Yidong <cyd@gnu.org>
2626
2627 * image.el (imagemagick-enabled-types): Rename from
2628 imagemagick-types-enable. Add many more types.
2629 (imagemagick-types-inhibit): Change default to nil.
2630 (imagemagick-filter-types): Caller changed.
2631
4a5f187a
SM
26322012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2633
03fef3e6
SM
2634 * emacs-lisp/cl-macs.el: Use backquotes.
2635 (cl-transform-function-property): Use eval-and-compile rather than
2636 abusing `require'.
2637 (defstruct): Use declare-function instead of with-no-warnings.
2638
4a5f187a
SM
2639 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2640 (byte-compile-output-docform): Re-add the print-circle bindings.
2641 (byte-compile-fix-header): Use #$ just because it's shorter.
2642 (byte-compile-output-file-form): Remove defun/defmacro.
2643
bd56924f
MR
26442012-06-01 Martin Rudalics <rudalics@gmx.at>
2645
2646 * simple.el (choose-completion): Remove now obsolete binding for
2647 owindow.
2648
046e38ce
MA
26492012-06-01 Michael Albinus <michael.albinus@gmx.de>
2650
2651 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2652 in order to avoid "Stack overflow in regexp matcher".
2653
32d72c2f
GM
26542012-05-31 Glenn Morris <rgm@gnu.org>
2655
2656 * image.el: For clarity, call imagemagick-register-types at
2657 top-level, rather than relying on a custom :initialize.
2658 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2659 (imagemagick-filter-types): New function. (Bug#7406)
2660 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2661 If disabling support, remove elements altogether rather
2662 than using an impossible regexp.
2663 (imagemagick-types-inhibit): Give it the default init function.
2664
dd41169b
SM
26652012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2666
4a5f187a
SM
2667 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2668 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2669
efc00ab1 26702012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2671
2672 * desktop.el (desktop-read): Clear previous and next buffers for
2673 all windows and bury *Messages* buffer (bug#11556).
2674
500fcedc
SM
26752012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 Add `declare' for `defun'. Align `defmacro's with it.
2678 * emacs-lisp/easy-mmode.el (define-minor-mode)
2679 (define-globalized-minor-mode): Don't autoload the var definitions.
2680 * emacs-lisp/byte-run.el: Use lexical-binding.
2681 (defun-declarations-alist, macro-declarations-alist): New vars.
2682 (defmacro, defun): Use them.
2683 (make-obsolete, define-obsolete-function-alias)
2684 (make-obsolete-variable, define-obsolete-variable-alias):
2685 Use `declare'.
2686 (macro-declaration-function): Mark obsolete.
2687 * emacs-lisp/autoload.el: Use lexical-binding.
2688 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2689
6e8a1786
AM
26902012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2691
2692 * textmodes/ispell.el (ispell-with-no-warnings):
2693 Define as a macro.
500fcedc
SM
2694 (ispell-kill-ispell, ispell-change-dictionary):
2695 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2696 `interactive-p'.
2697
61b108cc
SM
26982012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2701 (macro-declaration-function): Move var from C code.
2702 (macro-declaration-function): Define function with defalias.
2703 * emacs-lisp/macroexp.el (macroexpand-all-1):
2704 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2705 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2706 defun/defmacro any more.
2707 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2708 Provide fallback for unknown arglist.
2709 (byte-compile-arglist-warn): Change calling convention.
2710 (byte-compile-output-file-form): Move print-vars binding.
2711 (byte-compile-output-docform): Simplify accordingly.
2712 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2713 (byte-compile-defmacro-declaration): Remove.
2714 (byte-compile-file-form-defmumble): Generalize to defalias.
2715 (byte-compile-output-as-comment): Return byte-positions.
2716 Simplify callers accordingly.
2717 (byte-compile-lambda): Use `assert'.
2718 (byte-compile-defun, byte-compile-defmacro): Remove.
2719 (byte-compile-file-form-defalias):
2720 Use byte-compile-file-form-defmumble.
2721 (byte-compile-defalias-warn): Remove.
2722
6d3f7c2f
SM
27232012-05-29 Stefan Merten <smerten@oekonux.de>
2724
2725 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2726 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2727
2728 (rst-mode-abbrev-table): Merge definition.
2729 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2730 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2731
6dbaa1c7
UJ
27322012-05-29 Ulf Jasper <ulf.jasper@web.de>
2733
2734 * calendar/icalendar.el
2735 (icalendar-export-region): Export UID properly.
2736
d209e2fb 27372012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2738 * calendar/icalendar.el (icalendar-import-format):
2739 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2740 (icalendar-import-format-uid): New.
2741 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2742 Export UID.
2743
6876a58d
SM
27442012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2745
2746 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2747 different alternative patterns.
2748 (pcase-codegen): Be more careful to preserve identity.
2749 (pcase--u1): Don't forget to mark vars as used.
2750
2751 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2752 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2753 (byte-compile-from-buffer): ...rather than here.
2754
2755 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2756 functions from byte-compile-function-environment.
2757
46b7967e
TN
27582012-05-29 Troels Nielsen <bn.troels@gmail.com>
2759
2760 * window.el (window-deletable-p): Avoid deleting the root window
2761 of a frame with an active minibuffer.
2762
69d565e2
MR
27632012-05-29 Martin Rudalics <rudalics@gmx.at>
2764
2765 * simple.el (choose-completion): Use quit-window (Bug#11567).
2766
a149fa51
CY
27672012-05-29 Chong Yidong <cyd@gnu.org>
2768
2769 * whitespace.el (whitespace-cleanup): Fix usage of
2770 whitespace-empty-at-bob-regexp (Bug#11492).
2771
2b311310
AH
27722012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2773
2774 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2775 revert (Bug#11488).
2776
b9cb2387
JL
27772012-05-29 Juri Linkov <juri@jurta.org>
2778
2779 * isearch.el (isearch-mode-map): Bind `M-s _' to
2780 `isearch-toggle-symbol'. Bind `M-s c' to
2781 `isearch-toggle-case-fold'.
2782 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2783 (isearch-forward): Add `M-s _' to the docstring.
2784 (isearch-forward-symbol, isearch-toggle-case-fold)
2785 (isearch-symbol-regexp): New functions. (Bug#11381)
2786
d5e61c1c
JL
27872012-05-29 Juri Linkov <juri@jurta.org>
2788
2789 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2790 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2791 a function, call it to get the regexp.
2792 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2793 property `isearch-message-prefix' instead of the string "word ".
2794 (isearch-search-fun-default): For the case of `isearch-word',
2795 return a lambda that calls re-search-forward/re-search-backward
2796 with a regexp returned by `word-search-regexp' or by the function
2797 in `isearch-word'.
2798
8cbd80f7
JL
27992012-05-29 Juri Linkov <juri@jurta.org>
2800
2801 * isearch.el (isearch-search-fun-default): New function.
2802 (isearch-search-fun): Move default part to the new function
2803 `isearch-search-fun-default'.
2804 (isearch-search-fun-function): Set the default value to
2805 `isearch-search-fun-default'. (Bug#11381)
2806
2807 * comint.el (comint-history-isearch-end):
2808 Use `isearch-search-fun-default'.
2809 (comint-history-isearch-search): Use `isearch-search-fun-default'
2810 and remove spacial case for `isearch-word'.
2811 (comint-history-isearch-wrap): Remove spacial case for
2812 `isearch-word'.
2813
2814 * hexl.el (hexl-isearch-search-function):
2815 Use `isearch-search-fun-default'.
2816
2817 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2818 Use `word-search-regexp' for `isearch-word'.
2819
2820 * misearch.el (multi-isearch-search-fun):
2821 Use `isearch-search-fun-default'.
2822
2823 * simple.el (minibuffer-history-isearch-search):
2824 Use `isearch-search-fun-default' and remove spacial case for
2825 `isearch-word'.
2826 (minibuffer-history-isearch-wrap): Remove spacial case for
2827 `isearch-word'.
2828
2829 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2830 Remove spacial case for `isearch-word'.
2831 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2832
85c8c5b6
AM
28332012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2834
2835 Decrease XEmacs incompatibilities.
2836 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2837 Use `string-match'.
2838 (flyspell-delete-region-overlays): Use alternative definition for
2839 XEmacs.
2840 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2841 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2842 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2843 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2844 `define-obsolete-face-alias' under XEmacs, but old method.
2845
2846 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2847 `with-no-warnings' definition or Emacs alias.
2848 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2849 (ispell-word): Do not use `region-p' if XEmacs.
2850
8cab9efc
AM
28512012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2852
2853 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2854 Check for `ispell-dictionary-base-alist' instead of full
2855 `ispell-dictionary-alist'.
2856 (ispell-init-process): Show spellchecker when starting new Ispell
2857 process.
2858
fda91268
RZ
28592012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2862 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2863
694ea8e3
JB
28642012-05-27 Juanma Barranquero <lekktu@gmail.com>
2865
2866 * version.el (motif-version-string, gtk-version-string)
2867 (ns-version-string): Declare.
2868
e4d4f539
JL
28692012-05-27 Juri Linkov <juri@jurta.org>
2870
2871 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2872 after the `eval-defun-1' specialcaseing
2873 like in `edebug-eval-defun' (bug#10181).
2874
2875 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2876 like in `eval-defun-1'.
2877
33017faf 28782012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2879
fda91268
RZ
2880 * mail/sendmail.el (mail-yank-region):
2881 Recognize rmail-yank-current-message in addition to insert-buffer.
2882 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2883 a *mail* buffer created through rmail-start-mail with sendmail as
2884 mail-user-agent.
2885
33017faf
GM
28862012-05-27 Chong Yidong <cyd@gnu.org>
2887
2888 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2889 Default to 256 (Bug#11267).
2890
2891 * help.el (describe-mode): Doc fix.
2892
04188bb9
GM
28932012-05-26 Glenn Morris <rgm@gnu.org>
2894
38264cc9
GM
2895 * w32-fns.el (w32-init-info): Remove.
2896 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2897
eb7afdad
GM
2898 * info.el (info-initialize): For self-contained NS builds, put the
2899 included info/ directory at the front. (Bug#2791)
2900
04188bb9
GM
2901 * paths.el (Info-default-directory-list): Make it a defcustom,
2902 mainly so that we can use custom-initialize-delay.
2903
a179e3f7
SM
29042012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2905
43416392
SM
2906 * subr.el (buffer-has-markers-at): Mark obsolete.
2907
a179e3f7 2908 * subr.el (lambda): Use declare.
43416392 2909
a179e3f7
SM
2910 * emacs-lisp/lisp-mode.el (lambda):
2911 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2912
34a008d9
AH
29132012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2914
2915 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2916
0a3b289f
GM
29172012-05-26 Glenn Morris <rgm@gnu.org>
2918
2919 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2920
758c81e8
GM
29212012-05-25 Glenn Morris <rgm@gnu.org>
2922
f9f334f0
GM
2923 * paths.el: Remove no-byte-compile.
2924 * loadup.el: No need to load paths.el uncompiled.
2925
87eb79c2
GM
2926 * image.el (imagemagick-types-inhibit): Doc fix.
2927
758c81e8
GM
2928 * version.el: Remove no-byte-compile and associated formatting.
2929 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2930 is ancient code from when there was an "inc-vers.el".
2931
e7e85dc0
SM
29322012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * progmodes/gdb-mi.el: Minor style changes.
2935 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2936 Turn into minor modes.
2937 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2938 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2939 (gdb-shell): Remove unneeded let-binding.
2940 (gdb-get-many-fields): Eliminate O(n²) behavior.
2941
f31237a4
EZ
29422012-05-25 Eli Zaretskii <eliz@gnu.org>
2943
2944 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2945 platforms that don't link in fontset.c.
2946
bc1b21bb
JL
29472012-05-25 Juri Linkov <juri@jurta.org>
2948
2949 Use the same diff color scheme as in modern VCSes (bug#10181).
2950
2951 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2952 to avoid confusion with `diff-added' that now uses green colors.
2953 (diff-removed): Use shades of red.
2954 (diff-added): Use shades of green.
2955 (diff-changed): Leave just the yellow color.
2956 (diff-use-changed-face): New variable.
2957 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2958 how to highlight context diff changes.
2959 (diff-refine-change): Use shades of yellow.
2960 (diff-refine-removed): New face that uses shades of red.
2961 (diff-refine-added): New face that uses shades of green.
2962 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2963 `diff-refine-removed' in the call to `smerge-refine-subst'
2964 depending on the value of `diff-use-changed-face'.
2965
2966 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2967 (smerge-other): Use shades of green.
2968 (smerge-base): Use shades of yellow.
2969 (smerge-refined-change): Empty face.
2970 (smerge-refined-removed): New face that uses shades of red.
2971 (smerge-refined-added): New face that uses shades of green.
2972 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2973 args `props-r' and `props-a', and use them. Doc fix.
2974 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2975 on its value use different faces `smerge-refined-change',
2976 `smerge-refined-removed', `smerge-refined-added' in the call to
2977 `smerge-refine-subst'.
2978
2979 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2980 Add face condition `min-colors 88' with shades of red.
2981 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2982 `min-colors 88' with shades of green.
2983 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2984 `min-colors 88' with shades of yellow.
2985
6df9112c
GM
29862012-05-24 Glenn Morris <rgm@gnu.org>
2987
ead5edc0
GM
2988 * paths.el (prune-directory-list, remote-shell-program): Move to...
2989 * files.el (prune-directory-list, remote-shell-program): ...here.
2990 For the latter, delay initialization, prefer ssh, just search PATH.
2991
f18b81e6
GM
2992 * paths.el (term-file-prefix): Move to faces.el (the only user).
2993 * faces.el (term-file-prefix): Move here, make it a defcustom.
2994
ee2f89a6
GM
2995 * paths.el (news-directory, news-path, news-inews-program):
2996 Move to gnus/nnspool.el.
61a583ca 2997
f8815e4c
GM
2998 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2999
c8f3b42c
GM
3000 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3001 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3002 Make the latter a defcustom, with a delayed initialization.
3003
6df9112c
GM
3004 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3005 These were deleted from Gnus itself late 2010.
3006
5dadff36
JB
30072012-05-22 Juanma Barranquero <lekktu@gmail.com>
3008
9e1701c6
JB
3009 * progmodes/which-func.el (which-func-ff-hook):
3010 Check against user-error, not error.
3011
bd7239f5 3012 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3013 cl-specs.el, which no longer exists.
3014
3290526d
GM
30152012-05-22 Glenn Morris <rgm@gnu.org>
3016
3017 * info.el (info-emacs-bug): New command.
3018 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3019 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3020
ff0c3cfb
GM
30212012-05-21 Glenn Morris <rgm@gnu.org>
3022
3023 * makefile.w32-in (update-subdirs-SH):
3024 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3025
5814f126
SM
30262012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3027
a52c0aa0
SM
3028 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3029
5814f126
SM
3030 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3031 Simplify Maven regexp, and make sure the file can't start with a space
3032 (bug#11517).
3033
b847032c
GM
30342012-05-21 Glenn Morris <rgm@gnu.org>
3035
3036 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3037 Scrap superfluous subshells.
3038
3858bfe7
SM
30392012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3040
3041 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3042 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3043
d14b0029
JB
30442012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3045
3046 * calc/calc.el (calc-ensure-consistent-units): New variable.
3047
a52c0aa0
SM
3048 * calc/calc-units.el (math-consistent-units-p)
3049 (math-check-unit-consistency): New functions.
3050 (calc-quick-units, calc-convert-units):
3051 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3052 is non-nil.
d14b0029
JB
3053 (calc-extract-units): Fix typo.
3054
60c4db3a
SM
30552012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3056
77f3b62e
SM
3057 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3058
60c4db3a
SM
3059 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3060 (flyspell-default-deplacement-commands): Don't spell check after
3061 repeated window/frame switches (e.g. triggered by mouse-movement).
3062 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3063 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3064 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3065 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3066 Remove unused vars.
3067 (flyspell-get-casechars, flyspell-get-not-casechars):
3068 Simplify; Don't bother removing a ] just to add it back.
3069 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3070
d209e2fb 30712012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3072
3073 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3074 New functions.
bd7239f5 3075 (math-function-table): Add support for more C functions.
b1a10716 3076
3f1b25b5
AM
30772012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3078
090bd7cb
JB
3079 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3080 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3081 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3082
b581bb5c
SM
30832012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3086 their respective macro declarations.
3087 * skeleton.el (define-skeleton):
3088 * progmodes/compile.el (define-compilation-mode):
3089 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3090 (define-ibuffer-filter):
3091 * emacs-lisp/generic.el (define-generic-mode):
3092 * emacs-lisp/easy-mmode.el (define-minor-mode)
3093 (define-globalized-minor-mode):
3094 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3095 * emacs-lisp/byte-run.el (defsubst):
3096 * custom.el (deftheme): Add doc-string metadata.
3097
70b8ef8f
SM
30982012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3101
b1198e17
SM
31022012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3103
9abdc45d
SM
3104 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3105
b1198e17
SM
3106 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3107 * emacs-lisp/cl-macs.el: Idem.
3108 * emacs-lisp/cl-specs.el: Remove.
3109
4735906a
SM
31102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3111
3112 Minor renaming of internal CL functions and variables.
3113 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3114 (cl--position): Rename from cl-position.
3115 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3116 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3117 (cl--random-state): Rename from *random-state*.
3118
ac348012
SM
31192012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3120
3121 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3122 parens around the arg list (bug#11499).
3123
a0a79cde
JL
31242012-05-17 Juri Linkov <juri@jurta.org>
3125
3126 * isearch.el (word-search-regexp, word-search-backward)
3127 (word-search-forward, word-search-backward-lax)
3128 (word-search-forward-lax): Move functions from search.c
3129 (bug#10145, bug#11381).
3130
65034a51
AM
31312012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3132
090bd7cb
JB
3133 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3134 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3135 Delay for otherchars as for normal word components.
65034a51 3136
1a72a195
SM
31372012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 * minibuffer.el (completion--sifn-requote): Fix last change.
3140 (minibuffer-local-must-match-filename-map):
3141 Move define-obsolete-variable-alias before its var.
3142
fdb058c2
SM
31432012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3144
c41045e6
SM
3145 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3146
036dfb8b
SM
3147 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3148 behavior.
3149 (completion--string-equal-p): New function.
3150 (completion--twq-all): Use it to get better assertion failure data.
3151
2473256d
SM
3152 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3153 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3154 (shell--requote-argument): New functions.
3155 (shell-completion-vars): Use them.
3156 (shell--parse-pcomplete-arguments): Rename from
3157 shell-parse-pcomplete-arguments.
3158 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3159 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3160 Obey comint-file-name-quote-list.
3161
fdb058c2
SM
3162 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3163 (smie-indent-keyword): Use it.
3164
51fa99f1
SM
31652012-05-14 Stefan Merten <smerten@oekonux.de>
3166
3167 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3168
e18afed7 31692012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3170
3171 * net/rlogin.el (rlogin-mode-map): Fix last change.
3172
e18afed7 31732012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3174
3175 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3176 the following \r\n using a single `process-send-string', since the
3177 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3178 with two `process-send-string's (Bug#11444).
8633b1f4 3179
e18afed7 31802012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3181
fdb058c2
SM
3182 * shell.el (shell-parse-pcomplete-arguments):
3183 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3184
2d21d7f6
WJ
31852012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3186
e18afed7 3187 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3188 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3189 (image-transform-width, image-transform-fit-width): New functions.
3190 (image-transform-properties): Use them.
3191 (image-transform-check-size): New function.
3192 (image-toggle-display-image): Use it (for testing).
3193 (image-transform-set-rotation): Reduce angle mod 360.
3194 Delete obsolete comment.
3195
7102e6d0
WJ
31962012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3197
3198 * image-mode.el: Fix scaling (bug#11399).
3199 (image-transform-resize): Doc fix.
3200 (image-transform-properties): Default scale is 1 and height should
3201 be an integer.
3202
06bc5e6e
SM
32032012-05-13 Johan Bockgård <bojohan@gnu.org>
3204
3205 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3206 than hard-coding `car', to fix misbehavior when moving forward.
3207
0ae03b6a
CY
32082012-05-13 Chong Yidong <cyd@gnu.org>
3209
3210 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3211 (tabulated-list-entries, tabulated-list-padding)
3212 (tabulated-list-sort-key): Make permanent-local.
3213
3214 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3215 (electric-buffer-list): Put electric buffer menu
3216 command descriptions in this docstring, instead of the docstring
3217 of electric-buffer-menu-mode. Code cleanups.
3218 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3219 Electric-buffer-menu-mode.
3220 (electric-buffer-update-highlight): Minor code cleanup.
3221
205a7391
MA
32222012-05-13 Michael Albinus <michael.albinus@gmx.de>
3223
3224 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3225 (Bug#11447)
3226
e5bd0a28
SM
32272012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 Move define-obsolete-variable-alias before the var's definition.
3230 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3231 * tooltip.el (tooltip-hook):
3232 * textmodes/reftex-toc.el (reftex-toc-map):
3233 * textmodes/reftex-sel.el (reftex-select-label-map)
3234 (reftex-select-bib-map):
3235 * textmodes/reftex-index.el (reftex-index-map)
3236 (reftex-index-phrases-map):
3237 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3238 * progmodes/meta-mode.el (meta-mode-map):
3239 * novice.el (disabled-command-hook):
3240 * loadhist.el (unload-hook-features-list):
3241 * frame.el (blink-cursor):
3242 * files.el (find-file-not-found-hooks, write-file-hooks)
3243 (write-contents-hooks):
3244 * emulation/tpu-edt.el (GOLD-map):
3245 * emacs-lock.el (emacs-lock-from-exiting):
3246 * emacs-lisp/generic.el (generic-font-lock-defaults):
3247 * emacs-lisp/chart.el (chart-map):
3248 * dos-fns.el (register-name-alist):
3249 * dired-x.el (dired-omit-files-p):
3250 * desktop.el (desktop-enable):
3251 * cus-edit.el (custom-mode-hook):
3252 * buff-menu.el (buffer-menu-mode-hook):
3253 * bookmark.el (bookmark-read-annotation-text-func)
3254 (bookmark-exit-hooks):
3255 * allout.el (allout-mode-deactivate-hook)
3256 (allout-exposure-change-hook, allout-structure-added-hook)
3257 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3258 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3259 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3260 comes before the corresponding variable's definition.
3261
ac59c2f6
CY
32622012-05-12 Chong Yidong <cyd@gnu.org>
3263
3264 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3265 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3266 (Buffer-menu-mode-map): Bind it.
3267 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3268
dee6c9a3
SM
32692012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3270
2171cea5
SM
3271 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3272 (prolog-upper-case-string, prolog-lower-case-string)
3273 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3274 (prolog-use-smie, prolog-smie-grammar): New vars.
3275 (prolog-smie-forward-token, prolog-smie-backward-token)
3276 (prolog-smie-rules): New funs.
3277 (prolog-comment-indent): Remove.
3278 (prolog-mode-variables): Use default comment indentation instead.
3279 Setup SMIE.
3280 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3281 (prolog-mode): Don't call them any more.
3282 (prolog-electric-colon, prolog-electric-dash)
3283 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3284
aa0382bd
SM
3285 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3286
dbacb4bd
SM
3287 * minibuffer.el (completion--twq-all): Again, allow case differences.
3288
13bdd94c
SM
3289 * term.el: Move keymap initialization code to be more idiomatic.
3290 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3291 (term-terminal-menu): Move initialization into declaration.
3292 (term-escape-char): Let the user set it in her .emacs.
3293
ff46c759
SM
3294 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3295 Provide SMIE-based indentation (not enabled by default yet).
3296 (sh-mode-map): Don't bind electric keys.
3297 Use electric-pair-mode instead of skeleton-pair.
3298 (sh-assignment-regexp): Fit within 80 columns.
3299 (sh-indent-supported): Specify actual shell name instead of boolean.
3300 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3301 (sh-maybe-here-document): Use it. Make obsolete.
3302 (sh-electric-here-document-mode) New minor mode.
3303 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3304 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3305 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3306 (sh-smie-rc-grammar, sh-use-smie): New vars.
3307 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3308 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3309 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3310 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3311 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3312 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3313 (sh-set-shell): Use smie-setup if requested.
3314
dee6c9a3
SM
3315 * term.el (term-set-escape-char): Properly set term-escape-char.
3316 See http://stackoverflow.com/questions/10524656.
3317
9f9aa044
CY
33182012-05-10 Chong Yidong <cyd@gnu.org>
3319
3320 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3321 Use url-generic-parse-url, and handle host names and Windows
3322 filenames properly.
3323 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3324 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3325 URL schemes to work on.
3326 (ffap--toggle-read-only): New function.
3327 (ffap-read-only, ffap-read-only-other-window)
3328 (ffap-read-only-other-frame): Use it.
3329 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3330 necessary for ffap-url-unwrap-remote.
3331
836d29b3
DA
33322012-05-10 Dave Abrahams <dave@boostpro.com>
3333
3334 * cus-start.el (create-lockfiles): Add it.
3335
00fd78ed
CY
33362012-05-09 Chong Yidong <cyd@gnu.org>
3337
3338 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3339 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3340
666b903b 33412012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3342
3343 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3344
666b903b 33452012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3346
3347 * ansi-color.el (ansi-color-process-output): Check for validity of
3348 comint-last-output-start before using it. This avoids a bad
3349 interaction with gdb-mi's input/output buffer.
3350
666b903b 33512012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3352
3353 * files.el (dir-locals-read-from-file):
3354 Mention dir-locals in any error message.
3355
666b903b 33562012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3357
3358 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3359 package (Bug#11410).
3360
f677562b
CY
3361 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3362 variables into description.
3363
666b903b 33642012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3365
3366 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3367 shell-delimiter-argument-list (bug#11348).
3368 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3369
b499d8d0
JB
33702012-05-09 Juanma Barranquero <lekktu@gmail.com>
3371
8f6b6da8
JB
3372 * textmodes/rst.el: Silence byte-compiler warnings.
3373 (rst-re-alist, rst-reset-section-caches): Move around.
3374 (rst-re): Use `characterp', not `char-valid-p'.
3375 (font-lock-beg, font-lock-end): Declare.
3376
4824146a
JB
3377 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3378 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3379
b499d8d0
JB
3380 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3381
ad89bb83
GM
33822012-05-08 Glenn Morris <rgm@gnu.org>
3383
3384 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3385
8bba5a75
SM
33862012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3387
49ed9c8e
SM
3388 * vc/log-edit.el: Add GNU coding standards highlighting.
3389 (log-edit-font-lock-gnu-style)
3390 (log-edit-font-lock-gnu-keywords): New vars.
3391 (log-edit-font-lock-keywords): New fun.
3392 (log-edit-mode): Don't fold case in font-lock.
3393 (log-edit-font-lock-keywords): Do not assume case-folding.
3394
07d00b56
SM
3395 * imenu.el: Misc cleanup. Make docstrings out of comments.
3396 Use lexical-binding.
3397 (imenu--index-alist, imenu--last-menubar-index-alist)
3398 (imenu-menubar-modified-tick): Use defvar-local.
3399 (imenu--split-menu): Remove unused var.
3400 (imenu--cleanup-seen): Declare as global.
3401 (imenu--cleanup): Use dolist.
3402
8bba5a75
SM
3403 * subr.el (defvar-local): Add debug spec and doc-string position.
3404
5075bdb5
GM
34052012-05-08 Glenn Morris <rgm@gnu.org>
3406
090bd7cb 3407 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3408 * language/english.el, language/georgian.el, language/greek.el:
3409 * language/japanese.el, language/khmer.el, language/korean.el:
3410 * language/lao.el, language/misc-lang.el, language/romanian.el:
3411 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3412 * language/thai.el, language/utf-8-lang.el:
3413 Remove no-byte-compile setting.
3414
5075bdb5
GM
3415 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3416
06f679a7
AH
34172012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3418
3419 * progmodes/make-mode.el (makefile-browse):
3420 Remove unnecessary interactive. (Bug#11324)
3421
03794570
GM
34222012-05-07 Glenn Morris <rgm@gnu.org>
3423
af8630f4
GM
3424 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3425
03794570
GM
3426 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3427
f0809a9d
SM
34282012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3429
28be5ce7
SM
3430 * loadup.el: Preload newcomment.el.
3431 * newcomment.el: Move autoload-only code to toplevel.
3432
f0809a9d
SM
3433 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3434 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3435 Handle new :right-align column property.
3436 (tabulated-list-print-col): Idem, plus use `display' text-property to
3437 try and preserve alignment for variable pitch fonts.
3438
1241b724
CY
34392012-05-07 Chong Yidong <cyd@gnu.org>
3440
3441 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3442 (tabulated-list-use-header-line): New var.
3443 (tabulated-list-init-header): Use it.
3444 (tabulated-list-print-fake-header): New function.
3445 (tabulated-list-print): Use it.
3446 (tabulated-list-sort-button-map): Add non-header-line commands.
3447 (tabulated-list-init-header): Add column name property to basic
3448 labels as well.
3449 (tabulated-list-col-sort): Handle non-header-line button case.
3450 (tabulated-list--sort-by-column-name): Fix a corner case.
3451
f0809a9d
SM
3452 * buff-menu.el (list-buffers--refresh):
3453 Handle Buffer-menu-use-header-line.
1241b724 3454
e5f9458f
CY
34552012-05-06 Chong Yidong <cyd@gnu.org>
3456
3457 * buff-menu.el: Convert to Tabulated List mode.
3458 (Buffer-menu-buffer+size-width): Make obsolete.
3459 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3460 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3461 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3462 documentation into docstring of buffer-menu.
3463 (Buffer-menu-toggle-files-only): Add an informative message.
3464 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3465 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3466 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3467 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3468 (Buffer-menu-execute, Buffer-menu-select)
3469 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3470 (Buffer-menu-bury): Use Tabulated List machinery.
3471 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3472 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3473 Delete.
e5f9458f
CY
3474 (list-buffers--refresh): New function.
3475 (list-buffers-noselect): Use it.
3476 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3477 (Buffer-menu--pretty-file-name): New helper functions.
3478
3479 * loadup.el: Preload tabulated-list.
3480
3481 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3482 tabulated-list-sort-column.
3483 (tabulated-list-init-header): Add the initial aligning space even
3484 if tabulated-list-padding is zero.
3485
e129292c
CS
34862012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3487
3488 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3489 whose cdr is not a cons cell correctly (bug#11038).
3490
6632d361
CY
34912012-05-06 Chong Yidong <cyd@gnu.org>
3492
e129292c
CS
3493 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3494 Accept additional plist in column descriptors.
6632d361
CY
3495 (tabulated-list-init-header): Obey it.
3496 (tabulated-list-get-entry): New function.
3497 (tabulated-list-put-tag): Use it. Use string-width instead of
3498 length.
3499 (tabulated-list--column-number): New function.
3500 (tabulated-list-print): Use it.
e129292c
CS
3501 (tabulated-list-print-col): New function.
3502 Set `tabulated-list-column-name' property on each column's text.
6632d361 3503 (tabulated-list-print-entry): Use it.
e129292c
CS
3504 (tabulated-list-delete-entry, tabulated-list-set-col):
3505 New functions.
6632d361
CY
3506 (tabulated-list-sort-column): New command (Bug#11337).
3507
3cc99f68
CY
3508 * buff-menu.el (list-buffers): Move C-x C-b binding from
3509 buff-menu.el to bindings.el.
3510
3511 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3512 :advertised-binding feature.
3513
52b61776
TN
35142012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3515
3516 * progmodes/compile.el (compilation-internal-error-properties):
3517 Calculate start position correctly when end-col is set but
3518 end-line is not (Bug#11382).
3519
ebfe2597
WJ
35202012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3521
3522 * man.el (Man-unindent): Use text-property-default-nonsticky to
3523 prevent untabify from inheriting face properties (Bug#11408).
3524
6d3f7c2f
SM
35252012-05-05 Stefan Merten <smerten@oekonux.de>
3526
3527 * textmodes/rst.el: Major merge with upstream development up to
3528 Docutils SVN r7399 / rst.el V1.2.1.
3529
3530 Clarify maintainership and authors.
3531
3532 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3533 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3534 (rst-official-version, rst-official-cvs-rev, rst-version)
3535 (rst-package-emacs-version-alist): New functions and variables
3536 for version information.
3537
3538 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3539 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3540 (rst-mode-syntax-table, rst-mode): New and corrected functions
3541 and variables representing reStructuredText features.
3542
3543 (rst-re): New function for reStructuredText regexes. Use in
3544 many places.
3545
3546 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3547 (rst-mode-map): Rebind keys.
3548
3549 (rst-mode-lazy, rst-font-lock-keywords)
3550 (rst-font-lock-extend-region)
3551 (rst-font-lock-extend-region-internal)
3552 (rst-font-lock-extend-region-extend)
3553 (rst-font-lock-find-unindented-line-limit)
3554 (rst-font-lock-find-unindented-line-match)
3555 (rst-adornment-level, rst-font-lock-adornment-level)
3556 (rst-font-lock-adornment-match)
3557 (rst-font-lock-handle-adornment-pre-match-form)
3558 (rst-font-lock-handle-adornment-matcher): Major revision of
3559 font-locking. Integrate with other code. Use `jit-lock-mode'.
3560
3561 (rst-preferred-adornments, rst-adjust-hook)
3562 (rst-new-adornment-down, rst-preferred-bullets)
3563 (rst-preferred-bullets, rst-indent, rst-indent-width)
3564 (rst-indent-field, rst-indent-literal-normal)
3565 (rst-indent-literal-minimized, rst-indent-comment): Change,
3566 extend and improve customization.
3567
3568 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3569 (rst-normalize-cursor-position, rst-get-decoration)
3570 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3571 (rst-rstrip, rst-toc-insert-find-delete-contents)
3572 (rst-shift-fill-region, rst-compute-bullet-tabs)
3573 (rst-debug-print-tabs, rst-debug-mark-found)
3574 (rst-shift-region-guts, rst-shift-region-right)
3575 (rst-shift-region-left, rst-use-char-classes)
3576 (rst-font-lock-keywords-function)
3577 (rst-font-lock-indentation-point)
3578 (rst-font-lock-find-unindented-line-begin)
3579 (rst-font-lock-find-unindented-line-end)
3580 (rst-font-lock-find-unindented-line)
3581 (rst-font-lock-adornment-point, rst-font-lock-level)
3582 (rst-adornment-level-alist): Remove functions and variables.
3583
3584 (rst-compare-adornments, rst-get-adornment-match)
3585 (rst-suggest-new-adornment, rst-get-adornments-around)
3586 (rst-adornment-complete-p, rst-get-next-adornment)
3587 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3588 (rst-straighten-adornments): Standardize function names to
3589 use "adornment" instead of "decoration". Correct callers.
3590 Similar standardizing in many places.
3591
3592 (rst-update-section, rst-adjust, rst-promote-region)
3593 (rst-enumerate-region, rst-bullet-list-region)
3594 (rst-repeat-last-character): Correct use of `interactive'.
3595
3596 (rst-classify-adornment, rst-find-all-adornments)
3597 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3598 (rst-find-leftmost-column, rst-repeat-last-character):
3599 Refactor functions.
3600
3601 (rst-find-title-line, rst-reset-section-caches)
3602 (rst-get-adornments-around, rst-adjust-adornment-work)
3603 (rst-arabic-to-roman, rst-roman-to-arabic)
3604 (rst-insert-list-pos, rst-insert-list-new-item)
3605 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3606 New functions.
3607
3608 (rst-all-sections, rst-section-hierarchy)
3609 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3610 New variables.
3611
3612 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3613 configuration instead of only buffer. Change where necessary.
3614
3615 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3616 (rst-shift-region, rst-adaptive-fill): New functions for
3617 indentation and filling.
3618
3619 (rst-comment-line-break, rst-comment-indent)
3620 (rst-comment-insert-comment, rst-comment-region)
3621 (rst-uncomment-region): New functions for handling comments.
3622
3623 (rst-compile): Quote shell arguments.
3624
3625 (rst-compile-pdf-preview, rst-compile-slides-preview):
3626 Delete temporary files after use.
3627
a43f98b3
GM
36282012-05-05 Glenn Morris <rgm@gnu.org>
3629
48176e8b
GM
3630 * calendar/cal-html.el: Optionally include holidays in the output.
3631 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3632 (cal-html-holidays): New option.
3633 (cal-html-css-default): Add holiday entry.
3634 (holiday-in-range): Autoload it.
3635 (cal-html-htmlify-entry): Add optional class argument.
3636 (cal-html-htmlify-list): Add optional holidays argument.
3637 (cal-html-insert-agenda-days): Include holidays in the output.
3638 (cal-html-one-month): Maybe include holidays.
3639
a43f98b3
GM
3640 * calendar/holidays.el (holiday-in-range):
3641 Move here from cal-tex-list-holidays.
3642 * calendar/cal-tex.el (cal-tex-list-holidays):
3643 Make it an obsolete alias for holiday-in-range. Update all callers.
3644
fef9d149 36452012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3646
3647 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3648 Nextstep.
3649
248da2f4
RW
36502012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3651
3652 * files.el (file-auto-mode-skip): New var.
3653 (set-auto-mode-1): Use it.
3654
f95e9344
SM
36552012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3656
df96ab1e
SM
3657 * repeat.el: Use lexical-binding.
3658 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3659 (repeat-undo-count): Remove.
3660 (repeat):
3661 * progmodes/octave-mod.el (octave-abbrev-start):
3662 * progmodes/f90.el (f90-abbrev-start):
3663 * face-remap.el (text-scale-adjust):
3664 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3665
5342bb06
SM
3666 * emacs-lisp/pcase.el (pcase--let*): New function.
3667 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3668 a bit more.
3669 (pcase--split-pred): Be more clever about ruling out overlap between
3670 a predicate and some constant pattern.
3671 (pcase--q1): Use `null' instead of (eq foo nil).
3672
f95e9344
SM
3673 * subr.el (setq-local, defvar-local): New macros.
3674 (kbd): Redefine as an alias.
3675 (with-selected-window): Leave unrelated frames alone.
3676 (set-temporary-overlay-map): New function.
3677
71873e2b
SM
36782012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * subr.el (user-error): New function.
3681 * window.el (switch-to-buffer):
3682 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3683 (smerge-match-conflict):
3684 * simple.el (previous-matching-history-element)
3685 (next-matching-history-element, goto-history-element, undo-more)
3686 (undo-start):
3687 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3688 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3689 (next-file, tags-loop-scan, list-tags, complete-tag):
3690 * progmodes/compile.el (compilation-loop):
3691 * mouse.el (mouse-minibuffer-check):
3692 * man.el (Man-bgproc-sentinel, Man-goto-page):
3693 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3694 (Info-history-forward, Info-follow-reference, Info-menu)
3695 (Info-extract-menu-item, Info-extract-menu-counting)
3696 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3697 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3698 (Info-next-reference, Info-prev-reference, Info-index)
3699 (Info-index-next, Info-follow-nearest-node)
3700 (Info-copy-current-node-name):
3701 * imenu.el (imenu--make-index-alist)
3702 (imenu-default-create-index-function, imenu-add-to-menubar):
3703 * files.el (basic-save-buffer, recover-file):
3704 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3705 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3706 (checkdoc-message-text, checkdoc-defun):
3707 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3708 * cus-edit.el (customize-changed-options, customize-rogue)
3709 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3710 (custom-variable-mark-to-reset-standard)
3711 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3712 (custom-file):
3713 * completion.el (check-completion-length):
3714 * comint.el (comint-search-arg)
3715 (comint-previous-matching-input-string-position)
3716 (comint-previous-matching-input)
3717 (comint-replace-by-expanded-history-before-point, comint-send-input)
3718 (comint-copy-old-input, comint-backward-matching-input)
3719 (comint-goto-process-mark, comint-set-process-mark):
3720 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3721 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3722
8a61ee22
SM
37232012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3724
66408d1e
SM
3725 * dabbrev.el (dabbrev--ignore-case-p): New function.
3726 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3727 Use it.
3728
8a61ee22
SM
3729 * files.el (automount-dir-prefix): Mark as obsolete.
3730
3c74813a
GM
37312012-05-04 Glenn Morris <rgm@gnu.org>
3732
3733 * patcomp.el, play/bruce.el: Move to obsolete/.
3734
0bfcf5c5
PE
37352012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3736
3737 Fix minor Y10k bugs.
3738 * arc-mode.el (archive-unixdate):
3739 * autoinsert.el (auto-insert-alist):
3740 * calc/calc-forms.el (math-this-year):
3741 * emacs-lisp/copyright.el (copyright-current-year)
3742 (copyright-update-year, copyright):
3743 * tar-mode.el (tar-clip-time-string):
3744 * time.el (display-time-update):
3745 Don't assume years have 4 digits.
3746
78f3273a
CY
37472012-05-04 Chong Yidong <cyd@gnu.org>
3748
3749 * dos-w32.el (file-name-buffer-file-type-alist)
3750 (direct-print-region-use-command-dot-com):
3751 * ffap.el (ffap-menu-regexp):
3752 * find-file.el (ff-special-constructs):
3753 * follow.el (follow-debug):
3754 * forms.el (forms--debug):
3755 * iswitchb.el (iswitchb-all-frames):
3756 * ido.el (ido-all-frames):
3757 * emacs-lisp/timer.el (timer-max-repeats):
3758 * mail/feedmail.el (feedmail-mail-send-hook)
3759 (feedmail-mail-send-hook-queued):
3760 * mail/footnote.el (footnote-signature-separator):
3761 * mail/mailabbrev.el (mail-alias-separator-string)
3762 (mail-abbrev-mode-regexp):
3763 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3764 * progmodes/idlwave.el (idlwave-libinfo-file)
3765 (idlwave-default-completion-case-is-down)
3766 (idlwave-library-routines): Convert defvars to defcustoms.
3767
3768 * mail/rmail.el (rmail-decode-mime-charset):
3769 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3770 (idlwave-shell-fix-inserted-breaks)
3771 (idlwave-shell-activate-alt-keybindings)
3772 (idlwave-shell-use-breakpoint-glyph):
3773 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3774
f7ae6719
SM
37752012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3776
3777 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3778
47086495
WS
37792012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3780
3781 * progmodes/verilog-mode.el (font-lock-keywords):
3782 Fix mis-highligting auto. Reported by Craig Barner.
3783 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3784 defines from global name space. Reported by Dan Dever.
3785 (verilog-auto-reset, verilog-auto-reset-widths)
3786 (verilog-auto-tieoff): Support using unbased numbers for
3787 AUTORESET and AUTOTIEOFF.
3788 (verilog-submit-bug-report): Update variable list.
3789 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3790 parenthesis from not matching. Reported by Michael Rytting.
3791 (verilog-auto-template-lint): Fix hash error when linting modules
3792 with no used templates.
3793 (verilog-warn, verilog-warn-error)
3794 (verilog-warn-fatal): When non-interactive report multiple
3795 warnings before exiting. Suggested by Brad Dobbie.
3796 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3797 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3798 to report unused template errors. Reported by Brad Dobbie.
3799 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3800 nets, bug438. Reported by Vns Blore.
3801 (verilog-auto-inout-module, verilog-auto-reg)
3802 (verilog-read-decls, verilog-read-sub-decls-sig)
3803 (verilog-signals-edit-wire-reg, verilog-signals-with):
3804 Fix passing of Verilog data types in ANSI input/output ports
3805 such as "output logic" into the AUTOs. Special case "wire" and
3806 "reg" for backwards compatibility presuming Verilog 2001.
3807 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3808 (verilog-preprocess): Fix replication of preprocess output.
3809 Reported by Brad Dobbie.
3810 (verilog-auto-inst-interfaced-ports):
3811 Create verilog-auto-inst-interfaced-ports, bug429.
3812 Reported by Julian Gorfajn.
3813 (verilog-after-save-font-hook)
3814 (verilog-before-save-font-hook): New variable.
3815 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3816 (verilog-save-font-mods): Wrap disabling fontification, reported
3817 by David Rogoff.
3818 (verilog-do-indent, verilog-pretty-declarations-auto)
3819 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3820 Reported by Pierre-David Pfister.
3821 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3822 of class declarations, bug292. Reported by Kevin Heilman.
3823 (verilog-read-decls): Fix 'parameter type' not appearing in
3824 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3825 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3826 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3827 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3828 Reported by David Kravitz.
3829
38302012-05-03 Michael McNamara <mac@mail.brushroad.com>
3831
3832 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3833 assignment with tests in ifs and for loops.
3834 (verilog-extended-complete-re, verilog-complete-reg): Change so
3835 that DPI inport functions don't look like fuction declarations.
3836 (verilog-pretty-expr): Don't line up assignment
3837 operations to the test and increment in if and for loops
3838 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3839 that DPI inport functions don't look like fuction declarations.
47086495 3840
2e51d4b5
KH
38412012-05-03 Kenichi Handa <handa@m17n.org>
3842
3843 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3844 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3845 (Bug#11282).
3846
2bd785a2
SM
38472012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * emacs-lisp/bytecomp.el
3850 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3851 since cconv.el might have introduced :fun-body, internal-make-closure,
3852 and friends for bytecomp to handle (bug#11391).
3853 * custom.el (defcustom): Avoid ((λ ..) ..).
3854
99d27583
SM
38552012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3858
55a71479
JB
38592012-05-02 Juanma Barranquero <lekktu@gmail.com>
3860
3861 * notifications.el (dbus-debug):
3862 * term/linux.el (gpm-mouse-enable):
3863 * term/screen.el (xterm-register-default-colors): Declare.
3864
7b97c764
CY
38652012-05-02 Chong Yidong <cyd@gnu.org>
3866
2bc356d7
CY
3867 * cus-start.el (gc-cons-percentage, exec-suffixes)
3868 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3869 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3870 (make-cursor-line-fully-visible, void-text-area-pointer)
3871 (font-list-limit): Add customization data.
3872
7b97c764
CY
3873 * allout.el (allout-exposure-change-functions)
3874 (allout-structure-added-functions)
3875 (allout-structure-deleted-functions)
3876 (allout-structure-shifted-functions): Rename abnormal hooks from
3877 *-hook, and convert to defcustoms.
5d3385a0
JB
3878 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3879 Convert to defcustoms.
7b97c764
CY
3880 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3881
3882 * allout-widgets.el: Hook callers changed.
3883
90207a15 38842012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3885
3886 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3887 the yanked message in preference to the default value of
3888 buffer-file-coding-system.
3889
90207a15 38902012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3891
5d3385a0
JB
3892 * window.el (display-buffer--action-function-custom-type):
3893 Fix entry.
d9558cad 3894
90207a15 38952012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3896
3897 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3898
d80ac57b
GM
38992012-05-01 Glenn Morris <rgm@gnu.org>
3900
976f7668
GM
3901 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3902
beb83b5a
GM
3903 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3904
d80ac57b
GM
3905 * cus-edit.el (custom-variable-documentation): Simplify with format.
3906
b593d6a9 39072012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 3908 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
3909
3910 * simple.el (suggest-key-bindings, execute-extended-command):
3911 Move from keyboard.c.
3912
782fbf2a
CY
39132012-05-01 Chong Yidong <cyd@gnu.org>
3914
3915 * follow.el: Eliminate advice.
3916 (set-process-filter, process-filter, sit-for): Advice deleted.
3917 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3918 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3919 Vars deleted.
782fbf2a
CY
3920 (follow-auto): Use a :set function.
3921 (follow-mode): Rewritten. Don't advise process filters.
3922 (follow-switch-to-current-buffer-all, follow-scroll-up)
3923 (follow-scroll-down): Assume follow-mode is bound.
3924 (follow-comint-scroll-to-bottom)
3925 (follow-align-compilation-windows): New functions.
3926 (follow--window-sorter): New function.
3927 (follow-all-followers): Use it to explicitly sort windows by their
3928 positions; don't make assumptions about next-window order.
3929 (follow-windows-start-end, follow-delete-other-windows-and-split)
3930 (follow-calc-win-start): Doc fix.
3931 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3932 vertical-motion unnecessarily.
3933 (follow-adjust-window): New function.
3934 (follow-post-command-hook): Use it.
3935 (follow-call-set-process-filter, follow-call-process-filter)
3936 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3937 (follow-stop-intercept-process-output, follow-generic-filter):
3938 Functions deleted.
3939 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3940 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3941 New functions, replacing advice on scroll-bar-* commands.
87233a14 3942 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3943
3944 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3945 (comint-postoutput-scroll-to-bottom): Use it.
3946 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3947
290af740
GM
39482012-05-01 Glenn Morris <rgm@gnu.org>
3949
3950 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3951 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3952 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3953 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3954 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3955 Remove no-byte-compile setting.
3956
6eac8dc9
SM
39572012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3960 all-completions code to not return a number in the last cdr.
3961
9cc7819c
LL
39622012-04-30 Leo Liu <sdl.web@gmail.com>
3963
3964 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3965 read-only error.
3966
c93b886f
CY
39672012-04-29 Chong Yidong <cyd@gnu.org>
3968
3969 * follow.el (follow-calc-win-end): Rewrite to handle partial
3970 screen lines correctly (Bug#8390).
3971 (follow-avoid-tail-recenter): Minor cleanup.
3972
8b6c19f4
SM
39732012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 Avoid the obsolete `assoc' package.
3976 * speedbar.el (speedbar-refresh): Avoid adelete.
3977 (speedbar-file-lists): Simplify and avoid aput.
3978 * man.el (Man--sections, Man--refpages): New vars, replacing
3979 Man-sections-alist and Man-refpages-alist.
3980 (Man-build-section-alist, Man-build-references-alist):
3981 Use them; avoid aput.
3982 (Man--last-section, Man--last-refpage): New vars.
3983 (Man-follow-manual-reference): Use them.
3984 Use the `default' arg of completing-read.
3985 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3986
c5bb7569
CY
39872012-04-27 Chong Yidong <cyd@gnu.org>
3988
d1d2e2e8
CY
3989 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3990
15cd8efd
CY
3991 * startup.el (x-apply-session-resources): New function.
3992
3993 * term/ns-win.el (ns-initialize-window-system):
3994 * term/w32-win.el (w32-initialize-window-system):
3995 * term/x-win.el (x-initialize-window-system): Use it to properly
3996 set menu-bar-mode and other vars from X resources, even if the
3997 initial frame is not a window-system frame (Bug#2299).
3998
c5bb7569
CY
3999 * subr.el (read-key): Avoid running filter function when setting
4000 up temporary tool bar entries (Bug#9922).
4001
a8e7d6d7 40022012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4003
4004 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4005 (Bug#11344)
4006
a8e7d6d7 40072012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4008
4009 * select.el (xselect--encode-string): New function, split from
4010 xselect-convert-to-string.
4011 (xselect-convert-to-string): Use it.
4012 (xselect-convert-to-filename, xselect-convert-to-os)
4013 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4014 returned strings are properly encoded (Bug#11315).
4015
a8e7d6d7 40162012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4017
4018 * simple.el (delete-active-region): Move to killing custom group.
4019
a8e7d6d7 40202012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4021
4022 * progmodes/which-func.el (which-func-current): Quote %
4023 characters for mode-line processing.
4024
578c1d4b 40252012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4026
4027 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4028 reaching eob (Bug#11286).
4029
a8e7d6d7 40302012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4031
4032 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4033 (gdb): Make it buffer-local and init to zero.
4034 (gdb-control-commands-regexp): New variable.
4035 (gdb-send): Don't wrap in "-interpreter-exec console" if
4036 gdb-control-level is positive. Increment gdb-control-level
4037 whenever the command matches gdb-control-commands-regexp, and
4038 decrement it each time the command is "end". (Bug#11279)
4039
a8e7d6d7 40402012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4041
4042 * window.el (adjust-window-trailing-edge, enlarge-window)
4043 (shrink-window, window-resize):
4044 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4045 windows (Bug#11276).
4046
b3608390
CY
40472012-04-27 Chong Yidong <cyd@gnu.org>
4048
4049 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4050 fix "missing prefix" warning. All callers changed.
b3608390 4051
797e6e88
SM
40522012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * emacs-lisp/assoc.el: Move to obsolete/.
4055
e95a67dc
SM
40562012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4057
657c21e4 4058 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4059
4060 * term/ns-win.el (ns-define-service):
4061 * progmodes/pascal.el (pascal-goto-defun):
4062 * progmodes/js.el (js--read-tab):
4063 * progmodes/etags.el (tags-lazy-completion-table):
4064 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4065 * emacs-lisp/ewoc.el (ewoc--wrap):
4066 * emacs-lisp/assoc.el (aput, adelete, amake):
4067 * doc-view.el (doc-view-convert-current-doc):
4068 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4069
cb3e7ae0
CY
40702012-04-26 Chong Yidong <cyd@gnu.org>
4071
dce04f7f
CY
4072 * image.el (image-type-from-buffer): Only return supported image
4073 type (Bug#9045).
4074
cb3e7ae0
CY
4075 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4076 value, for symmetry with diff-end-of-hunk.
4077 (diff-split-hunk, diff-find-source-location)
4078 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4079 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4080 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4081 compute the relevant hunk or file properly (Bug#6005).
4082 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4083
0d42eb3e
SM
40842012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4085
4086 * vc/vc-mtn.el:
4087 * vc/vc-hg.el:
4088 * vc/vc-git.el:
4089 * vc/vc-dir.el:
4090 * vc/vc-cvs.el:
4091 * vc/vc-bzr.el:
4092 * vc/vc-arch.el:
4093 * vc/vc.el: Replace lexical-let by lexical-binding.
4094 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4095 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4096 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4097
f08ae1c9
CY
40982012-04-26 Chong Yidong <cyd@gnu.org>
4099
8b71081d
CY
4100 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4101 (diff-mode-shared-map): Bind it to / and [remap undo].
4102
f08ae1c9
CY
4103 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4104 (ediff-window-setup-function): Use it as the default, to set up
4105 windows based on whether the current frame is graphical (Bug#2138).
4106 (ediff-choose-window-setup-function-automatically): Make obsolete.
4107
4108 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4109
ef24141c
SM
41102012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4111
cc356a5d
SM
4112 * ffap.el: Remove old code for obsolete package.
4113 (ffap-complete-as-file-p): Remove.
4114
b4ff4f1f
SM
4115 Use completion-table-with-quoting for comint and pcomplete.
4116 * comint.el (comint--unquote&requote-argument)
4117 (comint--unquote-argument, comint--requote-argument): New functions.
4118 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4119 (comint-quote-filename): Use regexp-opt-charset.
4120 (comint--common-suffix, comint--common-quoted-suffix)
4121 (comint--table-subvert): Remove.
4122 (comint-unquote-function, comint-requote-function): New vars.
4123 (comint--complete-file-name-data): Use them with
4124 completion-table-with-quoting.
4125 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4126 * pcomplete.el (pcomplete-arg-quote-list)
4127 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4128 (pcomplete-unquote-argument-function): Default to non-nil.
4129 (pcomplete-unquote-argument): Simplify.
4130 (pcomplete--common-quoted-suffix): Remove.
4131 (pcomplete-requote-argument-function): New var.
4132 (pcomplete--common-suffix): New function.
4133 (pcomplete-completions-at-point): Use completion-table-with-quoting
4134 and completion-table-subvert.
4135
79c4eeb4
SM
4136 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4137 (minibuffer--double-dollars): Preserve properties.
4138 (completion--sifn-requote): New function.
4139 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4140
ef24141c
SM
4141 * minibuffer.el: Add support for completion of quoted/escaped data.
4142 (completion-table-with-quoting, completion-table-subvert): New funs.
4143 (completion--twq-try, completion--twq-all): New functions.
4144 (completion--nth-completion): New function.
4145 (completion-try-completion, completion-all-completions): Use it.
4146
784e7d6e
LL
41472012-04-25 Leo Liu <sdl.web@gmail.com>
4148
dd2ac746
SM
4149 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4150 Use compilation-message if available to find real filename.
784e7d6e 4151
07875ee7
CY
41522012-04-25 Chong Yidong <cyd@gnu.org>
4153
4154 * vc/diff-mode.el (diff-setup-whitespace): New function.
4155 (diff-mode): Use it.
4156
4157 * vc/diff.el (diff-sentinel):
4158 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4159 Whitespace mode variables based on diff style (Bug#8612).
4160
5055880d
LL
41612012-04-25 Leo Liu <sdl.web@gmail.com>
4162
daf75653
LL
4163 * progmodes/python.el (python-send-region): Add suffix .py to the
4164 temp file.
4165
5055880d
LL
4166 * files.el (auto-mode-alist): Use javascript-mode instead.
4167
db9b177b
AH
41682012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4169
ef24141c 4170 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4171
090bd7cb 4172 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4173 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4174 references, see Bug#9.
ef24141c 4175 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4176 when receiving a fault reply.
ef24141c 4177 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4178
090bd7cb 4179 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4180 (soap-inspect-simple-type): New function.
db9b177b 4181
090bd7cb 4182 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4183 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4184 (soap-decode-basic-type, soap-encode-basic-type):
4185 support unsignedInt and double basic types.
db9b177b 4186 (soap-resolve-references-for-simple-type)
ef24141c
SM
4187 (soap-parse-simple-type, soap-encode-simple-type): New function.
4188 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4189
090bd7cb 4190 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4191 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4192 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4193 the local name of "soapenc:Array".
4194 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4195 decoding integer, byte and anyURI xsd types.
4196
1fc6097b
CY
41972012-04-25 Chong Yidong <cyd@gnu.org>
4198
4199 * cus-edit.el (custom-buffer-create-internal): Update header text.
4200
afc6df87
EZ
42012012-04-25 Eli Zaretskii <eliz@gnu.org>
4202
4203 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4204 settings on 'system-type', not on 'window-system'. On MS-Windows,
4205 set interactive-mode on in GDB.
4206
dfbd787f
SM
42072012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4208
4209 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4210 (ruby-syntax-propertize-regexp): Remove.
4211 (ruby-syntax-propertize-function): Split regexp into chunks.
4212 Match following code directly.
4213
85222d44
DG
42142012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4215
51a8ea2a
DG
4216 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4217 (ruby-syntax-propertize-regexp): New function.
4218 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4219 by a special keyword.
4220
85222d44
DG
4221 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4222 (ruby-syntax-general-delimiters-goto-beg)
4223 (ruby-syntax-propertize-general-delimiters): New functions.
4224 (ruby-syntax-propertize-function): Use them to handle GDL.
4225 (ruby-font-lock-keywords): Move old handling of GDL...
4226 (ruby-font-lock-syntactic-keywords): .. to here.
4227 (ruby-calculate-indent): Adjust indentation for GDL.
4228
b613912b
MA
42292012-04-24 Michael Albinus <michael.albinus@gmx.de>
4230
b5380639
MA
4231 * notifications.el (top): Remove unneeded declarations.
4232 (notifications-specification-version): Change to "1.2".
e43042fe 4233 (notifications-interface, notifications-notify-method)
b613912b
MA
4234 (notifications-close-notification-method): Fix docstring.
4235 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4236 (notifications-notify): Add :action-items, :resident and
4237 :transient hints. Change "image_data" to "image-data" and
4238 "image_path" to "image-path".
b613912b
MA
4239 (notifications-get-capabilities): New defun.
4240
257440aa
LL
42412012-04-24 Leo Liu <sdl.web@gmail.com>
4242
4243 * progmodes/python.el: Move hideshow setup to the end.
4244
b1bac16e
MR
42452012-04-24 Martin Rudalics <rudalics@gmx.at>
4246
4247 * window.el (handle-select-window): Clear echo area since this is
4248 no more done by read_char (Bug#11304).
4249
d81bd059
SM
42502012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4253 and `/ M' to filter-derived-mode.
4254 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4255 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4256 (ibuffer-mark-by-mode): Use default rather than initial-input.
4257 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4258
c4cf6d91
IA
42592012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4260
4261 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4262 (ibuffer-filter-by-derived-mode): New filter.
4263 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4264
7511ded8
CY
42652012-04-23 Andreas Politz <politza@fh-trier.de>
4266
4267 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4268
775c916b
CY
42692012-04-23 Chong Yidong <cyd@gnu.org>
4270
4271 * cus-edit.el (customize-apropos, customize-apropos-options):
4272 Disable matching of non-option variables (Bug#11176).
4273 (customize-option, customize-option-other-window)
4274 (customize-changed-options): Doc fix.
4275 (customize-apropos-options, customize-apropos-faces)
4276 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4277
4278 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4279 Fix word list splitting (Bug#11132).
46c71e23
CY
4280 (apropos-symbol, apropos-keybinding, apropos-label)
4281 (apropos-property, apropos-function-button)
4282 (apropos-variable-button, apropos-misc-button): New faces.
4283 (apropos-symbol-face, apropos-keybinding-face)
4284 (apropos-label-face, apropos-property-face, apropos-match-face):
4285 Variables removed (Bug#8396).
4286 (apropos-library-button, apropos-format-plist, apropos-print)
4287 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4288
2df41f9c
MA
42892012-04-23 Michael Albinus <michael.albinus@gmx.de>
4290
4291 * net/xesam.el (xesam-mode-map): Use let-bound map in
4292 initialization. (Bug#11292)
4293
da00640a
AM
42942012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4295
4296 Preserve ispell session localwords when switching back to
4297 original buffer.
4298
090bd7cb
JB
4299 * textmodes/ispell.el (ispell-buffer-session-localwords):
4300 New buffer-local variable to hold buffer session localwords.
ed9265fc 4301 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4302 localwords.
4303 (ispell-command-loop, ispell-change-dictionary)
4304 (ispell-buffer-local-words): Preserve session localwords when
4305 needed.
4306
090bd7cb
JB
4307 * textmodes/flyspell.el (flyspell-process-localwords)
4308 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4309
f621ccf5
AM
43102012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4311
090bd7cb
JB
4312 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4313 using obsolete `translation-table-for-input'.
ef24141c
SM
4314 (ispell-word, ispell-process-line, ispell-complete-word):
4315 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4316
c2d1019e
CY
43172012-04-22 Chong Yidong <cyd@gnu.org>
4318
4319 * cus-edit.el (custom-variable-menu)
4320 (custom-variable-reset-saved, custom-face-menu)
4321 (custom-face-reset-saved): If there is no saved value, make the
4322 "reset-saved" operation bring back the default (Bug#9509).
4323 (custom-face-state): Properly detect themed faces.
4324
eeddc531
CY
4325 * faces.el (face-spec-set): Stop supporting deprecated form of
4326 third arg.
4327
dcbf5805
MA
43282012-04-22 Michael Albinus <michael.albinus@gmx.de>
4329
4330 Move functions from C to Lisp. Make non-blocking method calls
4331 the default. Implement further D-Bus standard interfaces.
4332
ef24141c
SM
4333 * net/dbus.el (dbus-message-internal): Declare function.
4334 Remove unneeded function declarations.
dcbf5805
MA
4335 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4336 (dbus-message-type-method-return, dbus-message-type-error)
4337 (dbus-message-type-signal): Declare variables. Remove local
4338 definitions.
4339 (dbus-interface-dbus, dbus-interface-peer)
4340 (dbus-interface-introspectable, dbus-interface-properties)
4341 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4342 Adapt docstring.
4343 (dbus-interface-objectmanager): New defconst.
4344 (dbus-call-method, dbus-call-method-asynchronously)
4345 (dbus-send-signal, dbus-method-return-internal)
4346 (dbus-method-error-internal, dbus-register-service)
4347 (dbus-register-signal, dbus-register-method): New defuns, moved
4348 from dbusbind.c
4349 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4350 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4351 New defuns.
dcbf5805
MA
4352 (dbus-call-method-non-blocking): Make it an obsolete function.
4353 (dbus-unregister-object, dbus-unregister-service)
4354 (dbus-handle-event, dbus-register-property)
4355 (dbus-property-handler): Obey the new structure of
4356 `bus-registered-objects'.
4357 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4358 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4359 Use `dbus-call-method'.
4360
cf20dee0
CY
43612012-04-22 Chong Yidong <cyd@gnu.org>
4362
4363 * cus-edit.el (custom-commands, custom-reset-menu)
4364 (Custom-reset-standard): Tweak labels.
4365 (custom-reset-button-menu): Change default to t.
4366 (custom-buffer-create-internal): For the custom-reset-button-menu
4367 case, put the revert button first.
4368 (custom-group-subtitle): New face.
4369 (custom-group-value-create): Align docstring to a specific column.
4370
4371 * wid-edit.el (widget-documentation-link-add): Don't handle
4372 indentation in this function.
4373 (widget-documentation-string-indent-to): New function.
4374 (widget-documentation-string-value-create): Use it.
4375
4376 * autorevert.el (auto-revert):
4377 * epg-config.el (epg):
4378 * ibuffer.el (ibuffer):
4379 * mpc.el (mpc):
4380 * ses.el (ses):
4381 * eshell/eshell.el (eshell):
4382 * net/ange-ftp.el (ange-ftp):
4383 * progmodes/ebnf2ps.el (postscript):
4384 * progmodes/flymake.el (flymake):
4385 * progmodes/prolog.el (prolog):
4386 * progmodes/verilog-mode.el (verilog-mode):
4387 * progmodes/which-func.el (which-func):
4388 * term/xterm.el (xterm):
4389 * textmodes/picture.el (picture):
4390 * textmodes/tildify.el (tildify):
4391 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4392 customization buffers.
4393
583e23bd
AM
43942012-04-22 Alan Mackenzie <acm@muc.de>
4395
4396 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4397 Adding a ) can hide the resulting (..) from searches. Fix it.
4398 Bound the backward search to the position of the existing (.
4399
7dd51bf1
JB
44002012-04-21 Juanma Barranquero <lekktu@gmail.com>
4401
4402 * progmodes/verilog-mode.el (verilog-mode): Check whether
4403 which-func-modes is t before adding verilog-mode.
4404 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4405
d64a438f
LL
44062012-04-21 Leo Liu <sdl.web@gmail.com>
4407
7dd51bf1 4408 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4409
081e8d65
MV
44102012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4411
4412 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4413 filling of the last column of a table (Bug#5635).
4414 (woman-find-next-control-line): New arg, specifying an additional
4415 regexp component for the control line.
4416 (woman2-roff-buffer): Use it.
4417 (woman-break-table): New function.
4418 (woman2-TS): Use it.
4419
44202012-04-21 Chong Yidong <cyd@gnu.org>
4421
4422 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4423 (woman-horizontal-escapes, woman-negative-vertical-space)
4424 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4425 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4426
ed571ccb
SM
44272012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4428
4429 * minibuffer.el (completion-file-name-table): Complete user names.
4430
39773899
LL
44312012-04-20 Leo Liu <sdl.web@gmail.com>
4432
4433 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4434 and pcase-let*.
4435
de6ff46d
CY
44362012-04-20 Chong Yidong <cyd@gnu.org>
4437
4438 * server.el (server-execute): Respect initial-buffer-choice if it
4439 is a string and there are no files to open (Bug#2825).
4440 (server-create-window-system-frame, server-create-tty-frame):
4441 Don't switch buffers here.
2d0e8e61
CY
4442 (server-process-filter): Only try to open a window system frame if
4443 compiled with graphical support (Bug#8314).
de6ff46d 4444
54071013
DN
44452012-04-20 Dan Nicolaescu <dann@gnu.org>
4446
4447 * battery.el (battery-echo-area-format): Display remaining time
4448 for sysfs backend too (Bug#11269).
4449 (battery-linux-sysfs): Fix conditional for the charge.
4450
f30d612a
CY
44512012-04-20 Chong Yidong <cyd@gnu.org>
4452
c07a4c0b 4453 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4454 (gdb-inferior-io--init-proc): New function.
4455 (gdb-init-1): Use it.
4456 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4457 responsible for allocating a new pty and hooking it to gdb when
4458 the old pty gets an EIO due to process exit.
4459 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4460 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4461 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4462
2116e93c
EZ
44632012-04-20 Eli Zaretskii <eliz@gnu.org>
4464
4465 * window.el (window-min-size, window-sizable, window-min-delta)
4466 (window-max-delta, window--resizable, window-resizable)
4467 (window-total-size, window-full-height-p, window-full-width-p)
4468 (window-in-direction, window--resize-mini-window, window-resize)
4469 (window--resize-child-windows-normal)
4470 (window--resize-child-windows, window--resize-siblings)
4471 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4472 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4473
c07a4c0b 44742012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4475
ef24141c
SM
4476 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4477 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4478 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4479 pty process (Bug#11273).
4480 (gdb-update): New arg to suppress talking to the gdb process.
4481 (gdb-done-or-error): Use it.
4482 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4483 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4484 sentinel not being called.
4485
4486 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4487
d02766ab
CY
4488 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4489
c07a4c0b 44902012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4491
4492 * net/network-stream.el (open-network-stream): Doc fix.
4493
c07a4c0b 44942012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4495
4496 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4497
c07a4c0b 44982012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4499
4500 Ensure searching for keywords is case sensitive.
4501
4502 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4503 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4504 (c-defun-name, c-mark-function, c-cpp-define-name)
4505 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4506 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4507
ef24141c
SM
4508 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4509 Bind case-fold-search to nil.
f0f6bc35 4510
c07a4c0b 45112012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4512
4513 * mail/sendmail.el (mail-bury): Call return action with the right
4514 Rmail buffer (Bug#11242).
4515
9a864fa2
CY
4516 * server.el (server-process-filter): Handle corner case where both
4517 tty and nowait options are present (Bug#11102).
4518
539aa513
EZ
45192012-04-20 Eli Zaretskii <eliz@gnu.org>
4520
4521 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4522 (top level): Put into the executable the ident-style '$Id:' tag on
4523 windows-nt as well.
539aa513 4524
cfc7d5da
SM
45252012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * electric.el (electric-indent-post-self-insert-function): Check that
4528 electric-indent-mode is enabled in current buffer.
4529
5b01685c
JB
45302012-04-19 Juanma Barranquero <lekktu@gmail.com>
4531
4532 * imenu.el (imenu-progress-message): Restore; it is "used" in
4533 erc/erc-imenu.el and net/snmp-mode.el.
4534
4d6769e1
JB
45352012-04-19 Juanma Barranquero <lekktu@gmail.com>
4536
4537 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4538 (mouse-avoidance-nudge-mouse): Remove unused binding.
4539
4540 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4541
4542 * descr-text.el (describe-char):
4543 * progmodes/python.el (python-describe-symbol):
4544 Don't call `toggle-read-only', set `buffer-read-only'.
4545
4546 * imenu.el (imenu-default-goto-function): Mark unused args.
4547 (imenu-progress-message): Remove obsolete macro; all callers changed.
4548
4549 * subr.el (keymap-canonicalize): Remove unused binding.
4550 (read-passwd): Mark unused arg.
4551
4552 * tutorial.el (tutorial--display-changes): Remove unused binding.
4553 (tutorial--save-tutorial-to): Remove unused variable.
4554
4555 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4556 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4557 (package-generate-autoloads, package-menu--generate)
4558 (package-menu--find-upgrades): Remove unused bindings.
4559
4560 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4561 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4562 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4563 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4564 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4565 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4566 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4567 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4568 (cua-delete-char-rectangle): Mark unused args.
4569 (cua-align-rectangle): Remove unused binding.
4570
4571 * mail/rmail.el (compilation--message->loc)
4572 (epa--find-coding-system-for-mime-charset): Declare.
4573
4574 * net/dbus.el (dbus-register-service): Declare.
4575 (dbus-name-owner-changed-handler): Remove unused binding.
4576
4577 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4578 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4579 (nxml-scan-backward-within): Mark unused arg.
4580 (nxml-dynamic-markup-word): Remove unused binding.
4581
4582 * mouse.el (mouse-menu-major-mode-map):
4583 * emacs-lisp/authors.el (authors-scan-change-log)
4584 (authors-add-to-author-list):
4585 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4586 * emacs-lisp/smie.el (smie-auto-fill):
4587 * mail/sendmail.el (mail-bury):
4588 * mail/unrmail.el (unrmail):
4589 * net/tls.el (open-tls-stream):
4590 * textmodes/picture.el (picture-mouse-set-point):
4591 Remove unused bindings.
4592
8c8fc5df
MA
45932012-04-19 Michael Albinus <michael.albinus@gmx.de>
4594
4595 * net/tramp.el (tramp-action-password): Let-bind
4596 `enable-recursive-minibuffers' to t.
4597
a77b0ac9
SS
45982012-04-18 Sam Steingold <sds@gnu.org>
4599
4600 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4601 instead of 'string to accommodate values like [f11].
4602 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4603 * progmodes/gdb-mi.el: Likewise.
4604
12a106a9
LL
46052012-04-18 Leo Liu <sdl.web@gmail.com>
4606
4607 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4608 current buffer.
4609 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4610 LOCAL is nil.
4611
bc6494ef
CY
46122012-04-18 Chong Yidong <cyd@gnu.org>
4613
4614 * simple.el (line-move): Use forward-line if in batch mode
4615 (Bug#11053).
4616
c09c46b2
CS
46172012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4618
4619 * files.el (after-find-file): Do not try to add a final newline if
4620 the buffer is read-only (Bug#11156).
4621
5f6530ea
RS
46222012-04-17 Richard Stallman <rms@gnu.org>
4623
4624 * mail/rmail.el (rmail-start-mail):
4625 Pass (rmail-mail-return...) for the return-action.
4626 Pass (rmail-yank-current-message...) for the yank-action.
4627 (rmail-yank-current-message): New function.
4628 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4629 (rmail-reply): Likewise.
4630 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4631
4632 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4633 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4634 buffer, not newbuf.
4635
197b6f3c
JB
46362012-04-17 Juanma Barranquero <lekktu@gmail.com>
4637
4638 * server.el (server-ensure-safe-dir): Simplify.
4639
2311d8e5 46402012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4641
2311d8e5
GM
4642 * emacs-lisp/smie.el: Provide smarter auto-filling.
4643 (smie-auto-fill): New function.
4644 (smie-setup): Use it.
98fb480e 4645
2311d8e5
GM
4646 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4647
46482012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4649
4650 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4651 (comment-indent): Use it.
4652
2311d8e5 46532012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4654
4655 * ses.el: The overall change is to add cell renaming, that is
4656 setting fancy names for cell symbols other than name matching
4657 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4658 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4659 (ses-create-cell-variable): New defun.
2311d8e5 4660 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4661 (ses-relocate-formula): Relocate formulas only for cells the
4662 symbols of which are not renamed, i.e. symbols whose names do not
4663 match regexp "\\`[A-Z]+[0-9]+\\'".
4664 (ses-relocate-all): Relocate values only for cells the symbols of
4665 which are not renamed.
4666 (ses-load): Create cells variables as the (ses-cell ...) are read,
4667 in order to check row col consistency with cell symbol name only
4668 for cells that are not renamed.
4669 (ses-replace-name-in-formula): New defun.
4670 (ses-rename-cell): New defun.
4bdf2ad2 4671
fc72b15c
PO
46722012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4673
4674 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4675 New option (bug#11118).
4676 (perl-calculate-indent): Respect it.
4677
12e10e61
GM
46782012-04-17 Glenn Morris <rgm@gnu.org>
4679
4680 * dired-aux.el (dired-mark-read-string): Doc fix.
4681
30009afd
DA
46822012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4683
4684 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4685 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4686
41f03f4d
GM
46872012-04-17 Glenn Morris <rgm@gnu.org>
4688
4689 * mouse.el (mouse-drag-track):
4690 * speedbar.el (speedbar-frame-mode):
4691 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4692
f45f90f3
LL
46932012-04-16 Leo Liu <sdl.web@gmail.com>
4694
4695 * progmodes/python.el: Trivial cleanup.
4696
94ee8db5
GM
46972012-04-16 Glenn Morris <rgm@gnu.org>
4698
121b8917
GM
4699 * vc/vc.el (vc-string-prefix-p):
4700 * vc/pcvs-util.el (cvs-string-prefix-p):
4701 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4702 * mpc.el (mpc-string-prefix-p):
4703 Make all of these into obsolete aliases for string-prefix-p.
4704 Update callers.
4705 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4706
1197ecfa
GM
4707 * textmodes/two-column.el: Move custom options to the start.
4708 (frame-width): Remove compat definition.
4709 (2C-associate-buffer, 2C-dissociate):
4710 Use with-current-buffer rather than save-excursion.
4711 (2C-dissociate): Force a mode-line update.
4712 (2C-autoscroll): Use ignore-errors.
4713
099e7202
GM
4714 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4715 Autoload trivia.
4716
bf350d6a
GM
4717 * emacs-lisp/cl-extra.el (*random-state*):
4718 Remove unnecessary declaration.
4719
0e829eab
GM
4720 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4721
e3ad7552
GM
4722 * play/cookie1.el (cookie-snarf):
4723 Give an explicit error if input file cannot be read.
4724
68892d27
GM
4725 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4726
20f0c46d
GM
4727 * progmodes/perl-mode.el (c-macro-expand):
4728 Remove unnecessary autoload (it is in loaddefs.el).
4729
5a0978ce
GM
4730 * textmodes/picture.el (picture-desired-column)
4731 (picture-update-desired-column): Convert comments to doc-strings.
4732 (picture-substitute): Remove function.
4733 (picture-mode-map): Initialize in the defvar.
4734
6b955486
GM
4735 * woman.el: Remove eval-after-load for tar-mode.
4736 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4737 (woman-tar-extract-file): Autoload it.
4738
94ee8db5
GM
4739 * frame.el (automatic-hscrolling): Make this alias obsolete.
4740
177eca34
AM
47412012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4742
090bd7cb 4743 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4744 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4745 (ispell-dictionary-base-alist): Revert to original XEmacs
4746 friendly version for default. [:alpha:] will be added in
090bd7cb 4747 `ispell-set-spellchecker-params' if needed.
177eca34 4748
c505aaeb
CY
47492012-04-16 Chong Yidong <cyd@gnu.org>
4750
b19dd9d1 4751 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4752 (imagemagick-register-types): Use it.
4753 (imagemagick-types-inhibit): Add :set function. Allow new value
4754 of t to inhibit all types.
4755
4756 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4757 so we can preload it.
4758
4759 * loadup.el (fboundp): Preload regexp-opt, needed by
4760 imagemagick-register-types.
4761
60efac0f
CY
47622012-04-15 Chong Yidong <cyd@gnu.org>
4763
4764 * frame.el (scrolling): Remove nearly unused customization group.
4765
4766 * scroll-all.el (scroll-all-mode): Move to windows group.
4767
5dd1713e
CY
47682012-04-15 Chong Yidong <cyd@gnu.org>
4769
4770 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4771
e6fd457e
CY
47722012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4775 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4776
e153c136
GM
47772012-04-15 Glenn Morris <rgm@gnu.org>
4778
4779 * simple.el (process-file-side-effects): Doc fix.
4780
e6fd457e 47812012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4782
4783 * international/mule-cmds.el (set-language-environment): Doc fix.
4784
3603c3b1
JB
47852012-04-14 Juanma Barranquero <lekktu@gmail.com>
4786
4787 * server.el (server-auth-key, server-generate-key): Doc fixes.
4788 (server-get-auth-key): Doc fix. Use `string-match-p'.
4789 (server-start): Reflow docstring.
4790
e6de100c
LI
47912012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4792
4793 * server.el (server-generate-key): `called-interactively-p'
4794 requires a parameter.
4795
29734c21
MN
47962012-04-14 Michal Nazarewicz <mina86@mina86.com>
4797
4798 * server.el (server-auth-key): New variable.
75f1671a 4799 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4800 (server-start): Use the new variable and functions to allow
4801 setting a permanent server key (bug#9423).
4802
d65c9521
LL
48032012-04-14 Leo Liu <sdl.web@gmail.com>
4804
4805 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4806
5ae255c7
PE
48072012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4808
4809 Spelling fixes.
4810 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4811 Emacs uses American spelling.
4812
d5e6342e
JB
48132012-04-14 Juanma Barranquero <lekktu@gmail.com>
4814
4815 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4816 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4817 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4818 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4819
ab036cd7
SM
48202012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * progmodes/which-func.el (which-func-modes): Change default.
4823
35dc09a1 48242012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4825
4826 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4827 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4828
35dc09a1 48292012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4830
4831 * custom.el (custom-theme-set-variables): Doc fix.
4832
35dc09a1 48332012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4834
4835 * international/mule.el (set-auto-coding-for-load): Doc fix.
4836
35dc09a1 48372012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4838
35dc09a1
GM
4839 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4840 imenu work again for Objective C Mode. Correct the *-index values,
4841 these having been disturbed by a previous change in 2011-08.
57f845ee 4842
0de3da9f
AM
4843 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4844 Correct two search limits.
4845
35dc09a1 48462012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4847
4848 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4849
35dc09a1 48502012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4851
4852 * international/characters.el: Fix sorting.
4853
35dc09a1 48542012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4855
4856 * international/characters.el: Add more missing Latin case pairs.
4857
35dc09a1 48582012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4859
4860 * files.el (dir-locals-set-class-variables): Doc fix.
4861
35dc09a1 48622012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4863
3f1b5bf8
EZ
4864 * international/characters.el: Add set-case-syntax-pair call for
4865 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4866 counterpart. (Bug#11209)
4867
9f847f41
EZ
4868 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4869
35dc09a1 48702012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4871
4872 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4873
35dc09a1 48742012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4875
35dc09a1
GM
4876 * textmodes/ispell.el (ispell-dictionary-base-alist):
4877 Add data for Hebrew.
e2627d21 4878
35dc09a1 48792012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4880
35dc09a1
GM
4881 * net/rcirc.el (rcirc-cmd-quit):
4882 Revert 2012-03-18 change (Bug#11192).
5c14e333 4883
35dc09a1 48842012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4885
4886 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4887
35dc09a1 48882012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4889
4517fe3a
SM
4890 * minibuffer.el (completion-in-region-mode-map):
4891 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4892
b472a594
VD
48932012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4894
4895 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4896
09b95ce3
MY
48972012-04-13 Masatake YAMATO <yamato@redhat.com>
4898
4899 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4900 to allow `C-M-f' and `C-M-b' to move to the nearest path
4901 separator (bug#9511).
4902
4b63a9ca
LI
49032012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4904
4905 * avoid.el: Require cl when compiling. And also move the
4906 `provide' to the end.
4907
7b55b8bf
TV
49082012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4909
4910 * avoid.el (mouse-avoidance-banish-position): New variable.
4911 (mouse-avoidance-banish-destination): Use it (bug#10165).
4912
adedaa1f
LL
49132012-04-13 Leo Liu <sdl.web@gmail.com>
4914
4915 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4916
70e74021
KB
49172012-04-13 Ken Brown <kbrown@cornell.edu>
4918
4919 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4920 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4921 (browse-url-filename-alist): For the same reason, don't modify
4922 file:// URLs on Cygwin.
4923
e75e89ba
SM
49242012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4927 the region on shift if the binding is already shifted (bug#11221).
4928
82f289a4
GM
49292012-04-12 Glenn Morris <rgm@gnu.org>
4930
4931 * mail/mailpost.el: Move to obsolete/.
4932
d333dc4c
DA
49332012-04-12 Drew Adams <drew.adams@oracle.com>
4934
4935 * imenu.el (imenu--generic-function): Ignore invisible definitions
4936 (bug#10123).
4937
0d15b5ba
VD
49382012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4939
4940 * hexl.el (hexl-bits): New variable.
4941 (hexl-options): Mention the variable in the doc string.
75f1671a 4942 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4943 (hexl-mode): Mention the new variable.
75f1671a
JB
4944 (hexl-mode, hexl-current-address, hexl-current-address):
4945 Use the displen.
0d15b5ba
VD
4946 (hexl-ascii-start-column): New function.
4947 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4948 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4949
64a440db
AM
49502012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4951
4952 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4953 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4954 the encoding, as expected by hunspell.
4955
6decb6c2
SM
49562012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * battery.el (battery--linux-sysfs-regexp): New const.
4959 (battery-status-function): Use it. Remove yeeloong special case.
4960 (battery-yeeloong-sysfs): Remove.
4961 (battery-echo-area-format): Remove yeeloong special case.
4962
088be6fb
SM
49632012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4964
6622e416
SM
4965 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4966 Reported by Noah Friedman.
4967
088be6fb
SM
4968 * subr.el (read-passwd): Use read-string.
4969
b49f886e
LMI
49702012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4971
4972 * vcursor.el (vcursor-move): Increase the priority of the overlay
4973 (bug#9663).
4974
a63067fc
DD
49752012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4976
4977 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4978 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4979
ac3cf14a
WS
49802012-04-11 William Stevenson <yhvh2000@gmail.com>
4981
4982 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4983 define-minor-mode (bug#10760).
4984
c4fc691b 49852012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4986
4d6769e1 4987 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4988 that directories matching `grep-find-ignored-files' won't be
4989 pruned (bug#10351).
4990
af23e2e5
CY
49912012-04-11 Chong Yidong <cyd@gnu.org>
4992
4993 * startup.el (command-line): Remove support for long-obsolete
4994 variable font-lock-face-attributes.
4995
ab7ce8c1
GM
49962012-04-11 Glenn Morris <rgm@gnu.org>
4997
4998 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4999
de8c03dc
SM
50002012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5001
5002 * window.el (window--state-get-1): Obey window-point-insertion-type.
5003
050cc68b
LB
50042012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5005
5006 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5007 to previous function when point is on the first character of a
75f1671a 5008 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5009
a38c310c
GM
50102012-04-11 Glenn Morris <rgm@gnu.org>
5011
effed0c2
GM
5012 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5013 not just file-errors.
5014
a38c310c
GM
5015 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5016 (vc-bzr-sha1): Use internal sha1.
5017
0221e323
SM
50182012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5019
5020 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5021
43956923
SG
50222012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5023
5024 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5025 that start in the middle of the line (bug#10496).
5026
6a8c9eaf
DN
50272012-04-10 Dan Nicolaescu <dann@gnu.org>
5028
5029 * battery.el (battery-linux-proc-acpi): Only one battery is
5030 discharged at a time, but that seems to confuse battery.el when
5031 computing `rate-type' for the battery not being discharged
5032 (bug#10332).
5033
1930bf5d
SM
50342012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5035
2a718f6f
SM
5036 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5037
599430d0
SM
5038 * international/quail.el: Use dolist and simplify.
5039 (quail-define-package, quail-update-keyboard-layout)
5040 (quail-define-rules): Use dolist.
5041 (quail-insert-kbd-layout, quail-get-translation): CSE.
5042
a2754b6c
SM
5043 * tmm.el: Use dolist, remove left over hook.
5044 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5045 Use dolist.
5046 (calendar-load-hook): Don't mess with it.
5047
1930bf5d
SM
5048 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5049 Use derived-mode-p. Run the diff asynchronously.
5050
9f67961c
LMI
50512012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5052
5053 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5054
2a8ce227
JB
50552012-04-10 Juanma Barranquero <lekktu@gmail.com>
5056
5057 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5058 (list-dynamic-libraries--loaded): New function.
5059 (list-dynamic-libraries--refresh): Use it.
5060
8f33b5f8
NW
50612012-04-10 Nathan Weizenbaum <nweiz@google.com>
5062
1930bf5d
SM
5063 * progmodes/python.el (python-fill-paragraph):
5064 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5065 disabled (bug#7018).
5066
b12f0439
L
50672012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5068
1930bf5d 5069 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5070 DOS/MS Windows for the Baltic languages. There are still plenty
5071 of texts written in this encoding/codepage (bug#6519).
b12f0439 5072
57c3bd01
GM
50732012-04-10 Glenn Morris <rgm@gnu.org>
5074
5075 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5076 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5077
6c3eab30
FA
50782012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5079
1930bf5d 5080 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5081 next-line "n" and previous-line "p" in order to make recentf more
5082 consistent with ibuffer, dired or org-mode (bug#9387).
5083
24d78a88
LMI
50842012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5085
bc72b5d9
LMI
5086 * image.el (put-image): Return the overlay created instead of the
5087 optional input string (bug#7834). Note that this may break code
5088 that is (for some reason or other) depending on `put-image'
5089 returning the string.
5090
bd2dba5a
LMI
5091 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5092
74beb59f
LMI
5093 * simple.el (zap-to-char): Allow zapping using input methods
5094 (bug#1580).
5095
24d78a88
LMI
5096 * textmodes/fill.el (fill-region): Leave point and mark where they
5097 were before filling (bug#5399).
5098
263f20cd
GM
50992012-04-09 Glenn Morris <rgm@gnu.org>
5100
5101 * version.el (emacs-bzr-get-version):
5102 Handle lightweight checkouts of local branches.
5103
58d1f797
AS
51042012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5105
263f20cd 5106 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5107
b4d3bc10
CY
51082012-04-09 Chong Yidong <cyd@gnu.org>
5109
5110 * custom.el (custom-variable-p): Return nil for non-symbol
5111 arguments instead of signaling an error.
5112 (user-variable-p): Obsolete alias for custom-variable-p.
5113
5114 * apropos.el (apropos-variable):
5115 * files-x.el (read-file-local-variable):
5116 * simple.el (set-variable):
5117 * woman.el (woman-mini-help):
5118 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5119
fd06db5d
GM
51202012-04-09 Glenn Morris <rgm@gnu.org>
5121
e5fcdb5e
GM
5122 * startup.el (normal-top-level): Don't look for leim-list.el
5123 in places where it will not be found. (Bug#910)
5124
fd06db5d
GM
5125 * international/mule-cmds.el (set-default-coding-systems):
5126 * files.el (normal-mode):
5127 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5128 This function was removed with ucs-tables.el in 2008.
5129
b39bb7e1
EZ
51302012-04-08 Eli Zaretskii <eliz@gnu.org>
5131
5132 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5133 ispell-encoding8-command to "-i", without a trailing space.
5134 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5135 separate command-line arguments, to specify the encoding, since
5136 that's how hunspell expects it.
5137
5c5b8e23
GM
51382012-04-08 Glenn Morris <rgm@gnu.org>
5139
5140 * loadup.el: Load bindings before cus-start.
5141 This reduces somewhat the number of "rogue" settings in emacs -Q.
5142
a1ed8b05
GM
51432012-04-07 Glenn Morris <rgm@gnu.org>
5144
5145 * version.el (emacs-bzr-get-version): New function.
dfae128a 5146 (emacs-bzr-version): New variable.
a1ed8b05
GM
5147 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5148 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5149
b142f158
EZ
51502012-04-07 Eli Zaretskii <eliz@gnu.org>
5151
dfae128a
GM
5152 * international/uni-bidi.el, international/uni-category.el:
5153 * international/uni-combining.el, international/uni-decimal.el:
5154 * international/uni-decomposition.el, international/uni-digit.el:
5155 * international/uni-lowercase.el, international/uni-mirrored.el:
5156 * international/uni-name.el, international/uni-numeric.el:
5157 * international/uni-titlecase.el, international/uni-uppercase.el:
5158 Update for Unicode 6.1.
b142f158 5159
9078ead6
EZ
51602012-04-07 Eli Zaretskii <eliz@gnu.org>
5161
5162 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5163
f23d2c7d
LMI
51642012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5165
5166 * window.el (shrink-window): Mention the `window-min-height'
5167 variable in the doc string.
5168
0a0a3573
BG
51692012-04-05 Bastien Guerry <bzg@altern.org>
5170
5171 * color.el (color-lighten-name): Fix typo.
5172
e5248ac9
SM
51732012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 * server.el (server--on-display-p): New function.
5176 (server--on-display-p): Use it.
5177
b4243e22
GV
51782012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5179
5180 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5181 (bug#11145).
5182
305d9f44
SM
51832012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5184
5185 * comint.el (comint--common-quoted-suffix): Check string boundary
5186 before comparing (bug#11158).
5187 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5188
3d439cd1
CY
51892012-04-04 Chong Yidong <cyd@gnu.org>
5190
321cc491
CY
5191 * minibuffer.el (completion-extra-properties): Doc fix.
5192
3d439cd1
CY
5193 * subr.el (delayed-warnings-hook): Doc fix.
5194
2d562c0f
DU
51952012-04-04 Daiki Ueno <ueno@unixuser.org>
5196
5197 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5198 selection (Bug#11159).
5199 (epa-insert-keys): Inform that the default public key will be
5200 exported if no key is selected.
5201
4443f204
RS
52022012-04-04 Richard Stallman <rms@gnu.org>
5203
5204 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5205
529c06b6
CY
52062012-04-03 Chong Yidong <cyd@gnu.org>
5207
5208 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5209 mail-insert-file, not its obsolete alias mail-attach-file.
5210
66b907dc
MA
52112012-04-03 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * notifications.el (notifications-notify): Fix docstring.
5214
c0ea195d
GM
52152012-04-02 Glenn Morris <rgm@gnu.org>
5216
5217 * emacs-lisp/authors.el (authors-aliases): Another addition.
5218
5ca64e00
MA
52192012-04-02 Michael Albinus <michael.albinus@gmx.de>
5220
5221 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5222 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5223 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5224
42ee526b
CY
52252012-04-01 Chong Yidong <cyd@gnu.org>
5226
5227 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5228 Handle root directory properly.
5229 (copy-directory): Caller changed.
5230
5231 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5232 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5233
0b021094
GM
52342012-03-31 Glenn Morris <rgm@gnu.org>
5235
40f86458
GM
5236 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5237
7019c177
GM
5238 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5239
a1daddd6
GM
5240 * calendar/calendar.el (calendar-window-list)
5241 (calendar-hide-window): Restore. (Bug#11140)
5242 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5243
0b021094
GM
5244 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5245
40311efc
TV
52462012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5247
5248 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5249 Check if file is a symlink (Bug#10489).
5250
5251 * files.el (copy-directory): Likewise.
5252
5319014e
CY
52532012-03-30 Chong Yidong <cyd@gnu.org>
5254
5255 * image.el (imagemagick-types-inhibit)
5256 (imagemagick-register-types): Doc fix.
5257
935d1290
AM
52582012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5259
090bd7cb 5260 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5261 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5262 and treats ~word as ordinary words in pipe mode.
935d1290 5263
61c6e8fd
GM
52642012-03-30 Glenn Morris <rgm@gnu.org>
5265
5266 * tutorial.el (help-with-tutorial): Ensure local variables don't
5267 happen to make the buffer read-only. (Bug#11127)
5268
81fdff00
SM
52692012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5272 (perl-calculate-indent): Return `noindent' in strings.
5273
6e7a6ec0
SS
52742012-03-28 Sam Steingold <sds@gnu.org>
5275
5276 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5277 instead of the broken adhockery which does not prevent calendar
5278 buffers from being displayed at random after exit.
5279 (calendar-window-list, calendar-hide-window): Remove the broken
5280 adhockery.
5281
fee88ca0
GM
52822012-03-28 Glenn Morris <rgm@gnu.org>
5283
5284 * replace.el (query-replace-map): Doc fix.
5285
38de3354
AS
52862012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5287
5288 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5289 contents. (Bug#11109)
5290
b973155e
SM
52912012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5294 (bug#11077).
5295 (avl-tree--check, avl-tree--check-node): New funs.
5296
dcb6e7b3
MR
52972012-03-27 Martin Rudalics <rudalics@gmx.at>
5298
5299 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5300 (switch-to-prev-buffer, switch-to-next-buffer):
5301 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5302 showing a buffer already is done on the same frame.
5303
b4fa35fa
GM
53042012-03-27 Glenn Morris <rgm@gnu.org>
5305
5306 * startup.el (mail-host-address): Doc fix.
5307
f9210e18
SM
53082012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5309
5310 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5311 than 197 variables.
5312
c0bf7753
AF
53132012-03-26 Ami Fischman <ami@fischman.org>
5314
5315 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5316
33da7b16
GM
53172012-03-26 Glenn Morris <rgm@gnu.org>
5318
02243d9d
GM
5319 * files.el (save-buffers-kill-emacs): Doc fix.
5320
33da7b16
GM
5321 * startup.el (normal-top-level, command-line, command-line-1):
5322 Give them doc strings.
5323
e5a69fd0
EZ
53242012-03-25 Eli Zaretskii <eliz@gnu.org>
5325
5326 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5327 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5328
9a69676a
CY
53292012-03-25 Chong Yidong <cyd@gnu.org>
5330
4125cb8b
CY
5331 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5332 theme if it was previously enabled before (Bug#11031).
5333
dd470960
CY
5334 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5335 spec with custom-face-get-current-spec if its :shown-value is not
5336 determined yet (Bug#9337).
4125cb8b 5337 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5338
9a69676a
CY
5339 * button.el (button-at): Minor addition to docstring.
5340
6e7e90fa
SL
53412012-03-24 Simon Leinen <simon.leinen@gmail.com>
5342
5343 * vc/vc.el (vc-merge): Fix a prompt.
5344
f06e2758
CY
53452012-03-24 Chong Yidong <cyd@gnu.org>
5346
5347 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5348 point (Bug#9623).
5349
6e7e90fa
SL
5350 * button.el (button-at): Minor addition to docstring.
5351
b9d0879b
SM
53522012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * newcomment.el (comment-choose-indent): No space after BOL.
5355
e71cebb3
SS
53562012-03-22 Sam Steingold <sds@gnu.org>
5357
5358 * window.el (switch-to-prev-buffer): Revert last patch because the
5359 bug turned out to be an advertised feature (Elisp manual 28.14).
5360
335aff35
GM
53612012-03-22 Glenn Morris <rgm@gnu.org>
5362
5363 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5364 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5365
c676576a
LMI
53662012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5367
5368 * net/network-stream.el (network-stream-open-starttls): Make error
5369 message under Windows be less misleading.
5370
126f3d39
LW
53712012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5372
5373 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5374 understands (bug#9942).
5375
64fee311
CY
53762012-03-22 Chong Yidong <cyd@gnu.org>
5377
5378 * simple.el (end-of-visible-line): Handle return value of
5379 next-single-property-change properly (Bug#9371).
5380
a640d29a
KH
53812012-03-22 Kenichi Handa <handa@m17n.org>
5382
5383 * international/quail.el (quail-insert-kbd-layout): Fix previous
5384 change. To avoid unwanted bidi reordering, use
5385 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5386
39675016
DG
53872012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5388
5389 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5390 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5391 (ruby-beginning-of-indent): Be more careful with the difference
5392 between word-boundary and symbol boundary.
5393 (ruby-mode-syntax-table): Make : a symbol constituent.
5394
0a6934fc 53952012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5396
3d008e4f
SM
5397 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5398
0a6934fc
SM
53992012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5400
af67c9d7
SM
5401 * progmodes/etags.el (tags-completion-at-point-function):
5402 Improve last fix.
5403
1acad97c
SM
5404 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5405
e298b5da
SS
54062012-03-21 Sam Steingold <sds@gnu.org>
5407
5408 * progmodes/etags.el (tags-completion-at-point-function):
5409 Avoid the error when point is inside the pattern.
5410
91d82a70
JY
54112012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5412
5413 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5414 line (Bug#10855).
5415
69188b79
CY
54162012-03-21 Drew Adams <drew.adams@oracle.com>
5417
5418 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5419
99fc91fe
AK
54202012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5421
5422 * ido.el (ido-set-current-directory, ido-read-internal)
5423 (ido-choose-completion-string, ido-completion-help): Handle nil
5424 value of ido-completion-buffer (Bug#11008).
5425
087bbb4c
SS
54262012-03-21 Sam Steingold <sds@gnu.org>
5427
5428 * window.el (switch-to-prev-buffer): Do not switch to a visible
5429 window previous buffer, just like with the frame previous buffers.
5430
fb5b8aca
CY
54312012-03-21 Chong Yidong <cyd@gnu.org>
5432
5433 * faces.el (make-face, make-empty-face, copy-face):
5434 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5435 Doc fixes.
5436
dc9924b8
SM
54372012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5438
5439 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5440 (widget-complete): Remove broken use of it.
5441
f0bcceb9
CY
54422012-03-20 Chong Yidong <cyd@gnu.org>
5443
dc9924b8
SM
5444 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5445 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5446 characters.
5447
ee52ebf3
TH
54482012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5449
5450 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5451 to draw rectangles, not squares. (Regression introduced by revno
5452 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5453
4c5779ab
CY
54542012-03-18 Chong Yidong <cyd@gnu.org>
5455
5456 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5457 it is not yet defined (for temacs).
5458
15360934
LL
54592012-03-18 Leo Liu <sdl.web@gmail.com>
5460
dc9924b8 5461 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5462
d9a8eb66
EZ
54632012-03-17 Eli Zaretskii <eliz@gnu.org>
5464
5465 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5466 (ispell-choices-win-default-height, ispell-silently-savep)
5467 (ispell-dictionary-alist, ispell-encoding8-command)
5468 (ispell-check-version, ispell-aspell-find-dictionary)
5469 (ispell-valid-dictionary-list, ispell-words-keyword)
5470 (ispell-get-word, ispell-internal-change-dictionary)
5471 (ispell-region, ispell-skip-region-list)
5472 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5473 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5474 (ispell-message-text-end, ispell-message)
5475 (ispell-buffer-local-parsing): Doc fix.
5476
f02ff80d
J
54772012-03-13 Jambunathan K <kjambunathan@gmail.com>
5478
5479 * htmlfontify.el: Add support for code block fontification for ODT
5480 export (Bug #9914).
5481 (hfy-optimisations): Define new option
5482 `body-text-only'
5483 (hfy-fontify-buffer): Honor above setting.
5484 (hfy-begin-span, hfy-end-span): New routines factored out form
5485 `hfy-fontify-buffer'.
5486 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5487 that permit insertion of custom tags.
5488 (hfy-fontify-buffer): Use above handlers.
5489 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5490 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5491 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5492 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5493 bind a special variable `hfy-user-sheet-assoc'.
5494 (htmlfontify-string): New defun.
5495 (hfy-compile-face-map): Make sure that the last char in the
5496 buffer is correctly fontified.
5497 (hfy-face-resolve-face): Whitespace only change.
5498
9ac7a13f
EZ
54992012-03-17 Eli Zaretskii <eliz@gnu.org>
5500
5501 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5502 message more clear.
5503
e2b5bdd7
LL
55042012-03-16 Leo Liu <sdl.web@gmail.com>
5505
5506 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5507
2e492df3
AM
55082012-03-16 Alan Mackenzie <acm@muc.de>
5509
5510 Further optimise the handling of large macros.
5511
5512 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5513 limit to a call of `c-literal-limits'.
5514 (c-determine-+ve-limit): New function.
dc9924b8
SM
5515 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5516 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5517 In CASE 5B, restrict a search limit to 500.
5518 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5519
5520 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5521 Restrict macro bounds to +-500 from after-change's BEG END.
5522
50e94f0c
LL
55232012-03-16 Leo Liu <sdl.web@gmail.com>
5524
5525 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5526
6f09f6ed
AH
55272012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5528
5529 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5530 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5531
c7e73d51
GM
55322012-03-16 Glenn Morris <rgm@gnu.org>
5533
da986230
GM
5534 * view.el (view-buffer, view-buffer-other-window)
5535 (view-buffer-other-frame): Doc fixes re special mode-class.
5536
0835f01e
GM
5537 * subr.el (eval-after-load): If named feature is provided not from
5538 a file, run after-load forms. (Bug#10946)
5539
c7e73d51
GM
5540 * calendar/calendar.el (calendar-insert-at-column):
5541 Handle non-unit-width characters a bit better. (Bug#10978)
5542
3f2eafd1
CY
55432012-03-15 Chong Yidong <cyd@gnu.org>
5544
5545 * emacs-lisp/ring.el (ring-extend): New function.
5546 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5547
5548 * comint.el (comint-read-input-ring)
5549 (comint-add-to-input-history): Grow comint-input-ring lazily.
5550
103af3fe
SM
55512012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5552
663b1677
SM
5553 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5554 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5555
103af3fe
SM
5556 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5557 (imenu-add-to-menubar): Don't add a redundant index.
5558 (imenu-update-menubar): Handle a dynamically composed keymap.
5559
899cb7cb
KY
55602012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5561
5562 * mail/sendmail.el (mail-encode-header):
5563 Bind rfc2047-encode-encoded-words to nil.
5564
3809f91d
GM
55652012-03-13 Glenn Morris <rgm@gnu.org>
5566
5567 * calendar/calendar.el (calendar-string-spread):
5568 Handle non-unit-width characters a bit better. (Bug#10978)
5569
9e345a01
LL
55702012-03-13 Leo Liu <sdl.web@gmail.com>
5571
5572 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5573 directory and file as argument (Bug#10822).
5574
4a07df36
KS
55752012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5576
5577 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5578 For dynamically generated code, follow $PC.
5579 (gdb-disassembly-handler-custom): Handle no function name case.
5580
4aaa9356
TL
55812012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5582
5583 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5584 * emulation/ws-mode.el (ws-query-replace):
5585 * sort.el (sort-regexp-fields):
5586 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5587
225979da
SM
55882012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5589
5590 * dabbrev.el: Fix cycle completion order (bug#10963).
5591 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5592 (dabbrev-completion): Don't use an obarray; provide
5593 a cycle-sort-function.
5594
e2f1fdab
LL
55952012-03-12 Leo Liu <sdl.web@gmail.com>
5596
dc9924b8 5597 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5598 (kill-do-not-save-duplicates): Doc fix.
5599
b19490ed
SM
56002012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * dabbrev.el: Fix cycle completion (bug#10963).
5603 Use lexical binding and wrap to 80 columns.
5604 (dabbrev-completion): Delay computing the list of completions.
5605
4b05d722
KH
56062012-03-12 Kenichi Handa <handa@m17n.org>
5607
5608 * international/quail.el (quail-insert-kbd-layout): Surround each
5609 row by LRO and PDF instead of inserting many LRMs. Pad the left
5610 and right of each non-spacing marks. Insert invisible space
5611 between lower and upper characters to prevent composition.
5612
dbbc2e69
SM
56132012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * minibuffer.el (minibuffer-complete): Don't get confused when the
5616 function is run twice via different commands (bug#10958).
5617 (complete-with-action): Fix docstring.
5618
292112ed
CY
56192012-03-12 Chong Yidong <cyd@gnu.org>
5620
5d1ac394
CY
5621 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5622 (nxml-completion-at-point-function): New function.
5623 (nxml-mode): Use it.
5624 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5625
292112ed
CY
5626 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5627 Load generated autoloads file before byte compiling (Bug#10970).
5628 (package--make-autoloads-and-compile): New helper fun.
5629
4098f8f7
CS
56302012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5631
5632 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5633
8f754691
MA
56342012-03-11 Michael Albinus <michael.albinus@gmx.de>
5635
5636 * autorevert.el (auto-revert-handler): Ensure, that
5637 file-readable-p is applied only for local files or in
5638 auto-revert-tail-mode.
5639
e29ab36b
AS
56402012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5641
dbbc2e69
SM
5642 * server.el (server-eval-at): Handle non-tcp connections.
5643 Decode result string.
ad0bf5b6 5644
e29ab36b
AS
5645 * server.el (server-msg-size): New constant.
5646 (server-reply-print): New function.
5647 (server-eval-and-print): Use it.
5648 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5649 Handle -print-nonl.
5650
de5939ba
CS
56512012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5652
5653 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5654 (Bug#10987).
5655
0c93eabf
CY
56562012-03-11 Chong Yidong <cyd@gnu.org>
5657
397a688f
CY
5658 * simple.el (goto-line): Doc fix (Bug#9938).
5659
2cc775f9
CY
5660 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5661
0c93eabf
CY
5662 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5663 when finished (Bug#10963).
5664
c491fa41
MR
56652012-03-11 Martin Rudalics <rudalics@gmx.at>
5666
5667 * window.el (split-window-below): Fix bug in case where
5668 split-window-keep-point is nil (Bug#10971).
5669
300e8fa5
JL
56702012-03-11 Juri Linkov <juri@jurta.org>
5671
5672 * replace.el (replace-highlight): Set isearch-word to nil
5673 unconditionally. (Bug#10887)
5674
dbf6c5a1
EZ
56752012-03-10 Eli Zaretskii <eliz@gnu.org>
5676
5677 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5678 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5679 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5680 (mairix-widget-create-query): Add usage information about mairix
5681 search forms: negating words, searching for substrings, etc.
5682
b9e501de
JP
56832012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5684
5685 * international/fontset.el (font-encoding-alist): Add an entry for
5686 ksx1001 (Bug#5667).
5687
92795c91
RS
56882012-03-10 Richard Stallman <rms@gnu.org>
5689
1694e6c1
RS
5690 * mail/sendmail.el (mail-encode-header):
5691 Set rfc2047-encode-encoded-words.
5692
607e8555
RS
5693 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5694
de3bc99a
RS
5695 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5696 view buffer means not swapped.
5697 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5698 (rmail-write-region-annotate): Error if real text has disappeared.
5699
92795c91
RS
5700 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5701
699bd04e
CY
57022012-03-10 Chong Yidong <cyd@gnu.org>
5703
5704 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5705 * emulation/cua-base.el (cua--init-keymaps):
5706 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5707
570a1714
MR
57082012-03-10 Martin Rudalics <rudalics@gmx.at>
5709
dbbc2e69
SM
5710 * speedbar.el (speedbar-unhighlight-one-tag-line):
5711 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5712
82dcf4e4
CY
57132012-03-10 Chong Yidong <cyd@gnu.org>
5714
7a2c7ca7
CY
5715 * minibuffer.el (completion-in-region, completion-help-at-point):
5716 Give the completion field overlay a high priority (Bug#6830).
5717
82dcf4e4
CY
5718 * dired.el (dired-goto-file): Recognize absolute file name
5719 listings (Bug#7126).
5720 (dired-goto-file-1): New helper function.
5721 (dired-toggle-read-only): Inhibit warnings.
5722
052e28ac
MA
57232012-03-09 Michael Albinus <michael.albinus@gmx.de>
5724
75f1671a 5725 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5726 there are no properties.
5727
95d5e396
LL
57282012-03-09 Leo Liu <sdl.web@gmail.com>
5729
5730 * savehist.el (savehist-printable): Stricter check for string
5731 value (Bug#10937).
5732
3f018d6d
EZ
57332012-03-09 Eli Zaretskii <eliz@gnu.org>
5734
dbbc2e69
SM
5735 * mail/smtpmail.el (smtpmail-send-it):
5736 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5737 valid mbox format.
5738
f7fd3d79
GM
57392012-03-09 Glenn Morris <rgm@gnu.org>
5740
5741 * files.el (dir-locals-find-file):
5742 Don't check result is regular, readable.
5743 (dir-locals-read-from-file): Demote errors.
5744
6ff6e72f
EZ
57452012-03-08 Eli Zaretskii <eliz@gnu.org>
5746
dbbc2e69
SM
5747 * international/quail.el (quail-insert-kbd-layout):
5748 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5749 layout cell, to prevent their reordering by bidi display engine.
5750 For details, see the discussion in
5751 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5752
9cec7834
AM
57532012-03-08 Alan Mackenzie <acm@muc.de>
5754
5755 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5756 the starting position; make it extend the marked region when
5757 invoked repeatedly - all under appropriate circumstances.
5758 Fixes bugs #5525, #10906.
5759
9a40b8d4
GM
57602012-03-08 Glenn Morris <rgm@gnu.org>
5761
5762 * files.el (locate-dominating-file, dir-locals-find-file):
5763 Undo 2012-03-06 change.
5764
7a08ed35
EZ
57652012-03-07 Eli Zaretskii <eliz@gnu.org>
5766
dbbc2e69
SM
5767 * international/quail.el (quail-help):
5768 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5769 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5770 for the reason.
5771
5aca4f71 57722012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5773
5774 Avoid superfluous registering of signals. (Bug#10807)
5775
5776 * notifications.el (notifications-on-action-object)
5777 (notifications-on-close-object): New defvars.
5778 (notifications-on-action-signal, notifications-on-closed-signal):
5779 Unregister the signal if not needed any longer.
5780 (notifications-notify): Register `notifications-action-signal' or
5781 `notifications-closed-signal', if :on-action or :on-close has been
5782 passed as argument.
5783
78e8b10a
CY
57842012-03-07 Chong Yidong <cyd@gnu.org>
5785
5786 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5787 non-X platforms.
5788
69481eb8
GM
57892012-03-06 Glenn Morris <rgm@gnu.org>
5790
5791 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5792 (x-disown-selection-internal, x-get-selection-internal):
5793 Doc fix (add arglist signatures). (Bug#10783)
5794
133b8e11
KS
57952012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5796
5797 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5798 Handle breakpoints with no "type".
5799
99a83064
GM
58002012-03-06 Glenn Morris <rgm@gnu.org>
5801
5802 * files.el (locate-dominating-file): Add optional predicate argument.
5803 (dir-locals-find-file): Make use of above change.
5804
17798e78
TTN
58052012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5806
5807 * info.el (Info-insert-dir): Also try "dir.gz".
5808
eb182446
GM
58092012-03-06 Glenn Morris <rgm@gnu.org>
5810
8f2114ee
GM
5811 * files.el (dir-locals-find-file):
5812 Ignore non-readable or non-regular files. (Bug#10928)
5813
eb182446
GM
5814 * files.el (locate-dominating-file): Doc fix.
5815
24679323
AS
58162012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5817
5818 * calendar/calendar.el (calendar-set-mode-line):
5819 `getenv' returns a string. (Bug#10951)
5820
01d972a9
LL
58212012-03-05 Leo Liu <sdl.web@gmail.com>
5822
109aa8a9
LL
5823 * simple.el (backward-delete-char-untabify): Constrain point to
5824 field (Bug#10939).
5825
01d972a9
LL
5826 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5827
10607bea
CY
58282012-03-05 Chong Yidong <cyd@gnu.org>
5829
5830 * simple.el (count-words): If called from Lisp, return the word
5831 count, for symmetry with `count-lines'. Arglist changed.
5832 (count-words--message): Args changed. Consolidate counting code
5833 from count-words and count-words-region.
5834 (count-words-region): Caller changed.
5835 (count-lines-region): Make it an obsolete alias.
5836
5dd11cfe
TH
58372012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5838
5839 * saveplace.el (save-place-to-alist)
5840 (save-place-ignore-files-regexp): Allow value nil to disable this
5841 feature.
5842
c349f4e6
CY
58432012-03-04 Chong Yidong <cyd@gnu.org>
5844
5845 * faces.el (face-spec-reset-face): For the default face, reset the
5846 attributes to default values (Bug#10748).
5847
e627be4c
LMI
58482012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5849
5850 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5851 previous patch: Check `message-send-mail-function', and not the
5852 default function (bug#10897).
5853
ebeabff4
MA
58542012-03-04 Michael Albinus <michael.albinus@gmx.de>
5855
a41a6cf4
MA
5856 * notifications.el (notifications-on-action-signal)
5857 (notifications-on-closed-signal): Check for unique service name of
5858 incoming event. Fix error in removing entry.
ebeabff4 5859 (top): Register for signals with wildcard service name.
a41a6cf4 5860 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5861
c1ca42b4
CY
58622012-03-04 Chong Yidong <cyd@gnu.org>
5863
dc9924b8 5864 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5865
ea16568d
GM
58662012-03-04 Glenn Morris <rgm@gnu.org>
5867
5868 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5869 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5870 (expand-abbrev, define-abbrev-table): Doc fixes.
5871
fbae4637
LMI
58722012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5873
5874 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5875 `message-default-send-mail-function' and not `send-mail-function'
5876 when doing the prompting for `sendmail-query-once' before sending
5877 in Message buffers (bug#10897).
5878
a1e7225c
LMI
5879 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5880 This is inconsistent with all the other stream functions, which leave
5881 the setting up to the higher levels (if so wanted) (bug#10931).
5882
56d093a9
AM
58832012-03-02 Alan Mackenzie <acm@muc.de>
5884
5885 Depessimize the handling of very large macros.
5886
5887 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5888 (c-macro-cache-syntactic): New variables to implement a one
5889 element macro cache.
5890 (c-invalidate-macro-cache): New function.
5891 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5892 Adapt to use the new cache.
5893 (c-state-safe-place): Use better the cache of safe positions.
5894 (c-state-semi-nonlit-pos-cache)
5895 (c-state-semi-nonlit-pos-cache-limit):
5896 New variables for...
5897 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5898 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5899 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5900 Use c-state-semi-safe-place.
56d093a9 5901
dbbc2e69
SM
5902 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5903 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5904
817e5c3d
MA
59052012-03-02 Michael Albinus <michael.albinus@gmx.de>
5906
dbbc2e69
SM
5907 * jka-compr.el (jka-compr-call-process):
5908 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5909 not remote.
5910
a032a702
MA
59112012-03-01 Michael Albinus <michael.albinus@gmx.de>
5912
5913 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5914 access of FILE2, if FILE1 does not exist.
5915
99a54f21
MA
5916 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5917 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5918
5919 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5920 Add "PAGER=" to `process-environment'.
5921
f6561e1f
MM
59222012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5923
5924 * progmodes/sql.el: Bug fix
5925 (sql-get-login-ext): Save login values in globals.
5926 (sql-get-login): Use new version of `sql-get-login-ext'.
5927 (sql-interactive-mode): Set global `sql-connection' to nil.
5928 (sql-connect): Set global values for connection.
5929 (sql-product-interactive): Save global values as buffer local.
5930
2d44d9cc
LL
59312012-02-29 Leo Liu <sdl.web@gmail.com>
5932
5933 * abbrev.el (define-abbrevs): Reset sys to nil.
5934
96b49301 59352012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5936
bf7f9bc5
JB
5937 * files.el (file-equal-p): Rename from `files-equal-p'.
5938 Return nil when one or both files don't exist.
96b49301 5939 (file-subdir-of-p): Now only top directory must exists,
5940 return nil if it doesn't.
bf7f9bc5
JB
5941 (copy-directory): No need to test with `file-subdir-of-p' after
5942 creating dir.
5943 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5944 to `file-equal-p'.
96b49301 5945
44e97401
GM
59462012-02-28 Glenn Morris <rgm@gnu.org>
5947
5948 * shell.el (shell-mode):
5949 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5950 * play/landmark.el (landmark-font-lock-face-O):
5951 * play/handwrite.el (handwrite):
5952 * play/gomoku.el (gomoku-O):
5953 * net/browse-url.el (browse-url-browser-display):
5954 * international/mule.el (define-charset):
5955 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5956 * filesets.el (filesets-find-file-delay):
5957 * eshell/em-xtra.el (eshell-xtra):
5958 * eshell/em-unix.el (eshell-grep):
5959 * emulation/viper.el (viper-mode):
5960 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5961 * emacs-lisp/easymenu.el (easy-menu-define):
5962 * calendar/timeclock.el (timeclock-use-display-time):
5963 * bs.el (bs-mode):
5964 * bookmark.el (bookmark-save-flag):
5965 Doc fix (standardize possessive apostrophe usage).
5966
c98c6276
CY
59672012-02-27 Chong Yidong <cyd@gnu.org>
5968
bf7f9bc5
JB
5969 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5970 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5971
c98c6276
CY
5972 * font-lock.el (font-lock-specified-p): Rename from
5973 font-lock-spec-present. Callers changed.
5974
9c62cd04 59752012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5976
bf7f9bc5
JB
5977 * emacs-lisp/package.el (package-compute-transaction):
5978 Handle holding a package version to t in package-load-list.
8ac9e529 5979
530739c9
MA
59802012-02-26 Michael Albinus <michael.albinus@gmx.de>
5981
5982 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5983 (tramp-get-inode, tramp-get-device): Use cached values.
5984
487915d7
AM
59852012-02-26 Alan Mackenzie <acm@muc.de>
5986
5987 Check there is a font-lock specification before doing initial
5988 fontification.
5989
5990 * font-core.el (font-lock-mode): Move the conditional from
5991 :after-hook to font-lock-initial-fontify.
5992 (font-lock-default-function): Move the check for a specification
5993 to font-lock-spec-present.
5994
dc9924b8 5995 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5996 (font-lock-spec-present): New function.
5997
4fd96557
JB
59982012-02-26 Jim Blandy <jimb@red-bean.com>
5999
6000 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6001 (gdb-send): Apply it to the operand of the '-interpreter-exec
6002 console' command, so that we can pass arguments with (say) quotes
6003 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6004
9a4888c0
CY
60052012-02-26 Chong Yidong <cyd@gnu.org>
6006
07498861
CY
6007 * help-fns.el (describe-function-1): Clarify description of
6008 remapping (Bug#10844).
6009
9a4888c0
CY
6010 * files.el (files-equal-p): Doc fix.
6011 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6012 and quit the loop once a mismatch is found.
6013
ea8fb88d
JB
60142012-02-25 Juanma Barranquero <lekktu@gmail.com>
6015
6016 * bs.el (bs--show-with-configuration): Don't throw an error
6017 if the window cannot be split; otherwise, subsequent calls to
6018 bs-show fail, restoring a stale window config. (Bug#10882)
6019
525795c1
JD
60202012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6021
6022 * term/ns-win.el (global-map): Bind ns-drag-file to
6023 ns-find-file (Bug#5855, Bug#10050).
6024
f008086f
AS
60252012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6026
6027 * calendar/parse-time.el (parse-time-string): Allow extractor to
6028 return nil.
6029
a3fcfa99
MA
60302012-02-25 Michael Albinus <michael.albinus@gmx.de>
6031
91027d08
JB
6032 * net/tramp.el (tramp-file-name-for-operation):
6033 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6034
6035 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6036 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6037 Add COPY-CONTENTS argument.
a3fcfa99 6038
67b0de11
CY
60392012-02-25 Chong Yidong <cyd@gnu.org>
6040
6041 Add custom groups for VC backends, for consistency with vc-bzr.
6042
6043 * vc/vc-arch.el (vc-arch):
6044 * vc/vc-cvs.el (vc-cvs):
6045 * vc/vc-git.el (vc-git):
6046 * vc/vc-hg.el (vc-hg):
6047 * vc/vc-mtn.el (vc-mtn):
6048 * vc/vc-rcs.el (vc-rcs):
6049 * vc/vc-sccs.el (vc-sccs):
6050 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6051 All relevant defcustoms reassigned.
6052
3c9dfce6
CY
60532012-02-25 Chong Yidong <cyd@gnu.org>
6054
1339bf43
CY
6055 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6056
3c9dfce6
CY
6057 * term/x-win.el (x-initialize-window-system): Reduce default for
6058 x-selection-timeout to 5 seconds (Bug#8869).
6059
25b2e303 60602012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6061
ec70a47d
GM
6062 * files.el (files-equal-p, file-subdir-of-p): New functions.
6063 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6064 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6065 * dired-aux.el (dired-copy-file-recursive): Same.
6066 (dired-create-files): Modify destination when source is equal to
6067 dest when copying files.
53a46cd0 6068 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6069
914260cd
MA
60702012-02-24 Michael Albinus <michael.albinus@gmx.de>
6071
6072 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6073 (Bug#10874)
6074
2cb228f7
AM
60752012-02-23 Alan Mackenzie <acm@muc.de>
6076
6077 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6078 parameter "after-hook:" to allow the expansion to run code after
6079 the execution of the mode hooks.
6080
6081 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6082 from font-lock-mode-internal.
2cb228f7 6083
91027d08 6084 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6085 :after-hook.
6086
8f0fde21
SM
60872012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6088
3e88618b
SM
6089 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6090 (completion--cache-all-sorted-completions): New function.
6091 (completion-all-sorted-completions): Use it.
6092 (completion--do-completion, minibuffer-force-complete):
6093 Use it to re-instate the flush hook.
6094
8f0fde21
SM
6095 * icomplete.el (icomplete-completions): Replace last fix with a better
6096 one (bug#10850).
6097
8e911f6f
DG
60982012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6099
6100 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6101 when it might call us back infinitely (bug#10797).
6102
49fe4321
GM
61032012-02-23 Glenn Morris <rgm@gnu.org>
6104
6105 * minibuffer.el (completion-category-overrides): Doc fix.
6106
b291b572
SM
61072012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6110 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6111
31a9ef2e
GM
61122012-02-23 Glenn Morris <rgm@gnu.org>
6113
5e6e6794 6114 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6115 (authors-obsolete-files-regexps, authors-ignored-files)
6116 (authors-ambiguous-files, authors-renamed-files-alist):
6117 Add more entries.
6118
0bd1e074
JL
61192012-02-23 Juri Linkov <juri@jurta.org>
6120
6121 * isearch.el (isearch-occur): Sync interactive spec with occur's
6122 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6123
b617673c
JL
6124 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6125
19e9789e
JL
61262012-02-22 Juri Linkov <juri@jurta.org>
6127
6128 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6129 (ucs-insert): Doc fix. Check for hex digits in the string.
6130 Don't display `nil' in the error message. (Bug#10857)
6131
f41ce09d
AM
61322012-02-22 Alan Mackenzie <acm@muc.de>
6133
7a71b18d 6134 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6135
ac2eceee
GM
61362012-02-22 Glenn Morris <rgm@gnu.org>
6137
6138 * ffap.el (ffap-c-path):
6139 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6140
abd1f678
CY
61412012-02-22 Chong Yidong <cyd@gnu.org>
6142
6143 * custom.el (load-theme): Doc fix.
6144
f25aef2e
GM
61452012-02-22 Glenn Morris <rgm@gnu.org>
6146
6147 * dired-x.el (dired-guess-shell-alist-default):
6148 Remove escape sequences from nroff output. (Bug#172)
6149
5f8dc2ca
GM
61502012-02-21 Glenn Morris <rgm@gnu.org>
6151
6ff86ec4
GM
6152 * vc/emerge.el (emerge-defvar-local):
6153 Set `permanent-local' property rather than unused `preserved'.
6154
be3223a3 6155 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6156 (picture-mode-map): Use it. (Bug#10860)
6157 (picture-mode): Doc fix.
6158
3fe58f4f
JB
61592012-02-21 Juanma Barranquero <lekktu@gmail.com>
6160
6161 * newcomment.el (uncomment-region-default): Remove unused binding.
6162
f9a998c3
GM
61632012-02-21 Glenn Morris <rgm@gnu.org>
6164
6165 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6166 (picture-self-insert, picture-tab-chars): Doc fix.
6167 (picture-mode-map): Fix C-a, C-e.
6168
c6029348
GM
61692012-02-20 Glenn Morris <rgm@gnu.org>
6170
6171 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6172
ab1ce9d7
LL
61732012-02-20 Leo Liu <sdl.web@gmail.com>
6174
6175 * icomplete.el (icomplete-completions): Check FROM arg before
6176 passing to substring (Bug#10850).
6177
0fd40f89
CY
61782012-02-19 Chong Yidong <cyd@gnu.org>
6179
6180 * comint.el: Require ansi-color.
6181 (comint-output-filter-functions): Add ansi-color-process-output.
6182
6183 * ansi-color.el: Don't set comint-output-filter-functions; it is
6184 now in the initial value defined in comint.el.
6185 (ansi-color-apply-face-function): New variable.
6186 (ansi-color-apply-on-region): Use it.
6187 (ansi-color-apply-overlay-face): New function.
6188
6189 * shell.el (shell): No need to require ansi-color.
6190 (shell-mode): Use ansi-color-apply-face-function to highlight
6191 color escapes using font-lock-face property (Bug#10835).
6192
20af2394
CY
61932012-02-19 Chong Yidong <cyd@gnu.org>
6194
6195 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6196 mode-line formats (Bug#10839).
6197
e23a3fbe
GM
61982012-02-18 Glenn Morris <rgm@gnu.org>
6199
b474519e
GM
6200 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6201
6202 * mail/undigest.el (unforward-rmail-message): Doc fix.
6203
e23a3fbe
GM
6204 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6205
57939ff4
EZ
62062012-02-18 Eli Zaretskii <eliz@gnu.org>
6207
6208 * international/characters.el (script-list): Sync with the latest
6209 Unicode Character Database.
6210
0c23686e
AS
62112012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6212
6213 * international/titdic-cnv.el: Remove duplicate coding tag.
6214 * language/cham.el: Likewise.
6215 * language/tai-viet.el: Likewise.
6216
6818b449
GM
62172012-02-18 Glenn Morris <rgm@gnu.org>
6218
6219 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6220 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6221 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6222 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6223 * calendar/holidays.el (holiday-bahai-holidays)
6224 (calendar-holidays, list-holidays):
6225 Use utf-8 Bahá'í in doc-strings, menus, etc.
6226
0311a3fc
TH
62272012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6228
6229 * saveplace.el (save-place-ignore-files-regexp): New variable
6230 allowing for excluding files from saving their location of point.
6231 The default value matches the temporary commit message editing
6232 files from Git, SVN, Bazaar, and Mercurial.
6233 (save-place-to-alist): Use it.
6234
d209e2fb 62352012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6236 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6237
6238 * newcomment.el (uncomment-region-default): Don't leave extra space
6239 when an arg is provided (bug#8150).
6240
ee0ce425
TZ
62412012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6242
eb864a71 6243 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6244
95ddf442
GM
62452012-02-17 Glenn Morris <rgm@gnu.org>
6246
6247 * net/socks.el: Require network-stream. (Bug#10599)
6248
48dd1e39 62492012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6250
6251 * international/charprop.el:
6252 * international/uni-name.el:
6253 * international/uni-old-name.el:
6254 * international/uni-comment.el: Regenerate.
6255
d68cd087
GM
62562012-02-16 Glenn Morris <rgm@gnu.org>
6257
6258 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6259 Interactively in calendar buffer, give an error if not on a date.
6260
13932042
GM
62612012-02-15 Glenn Morris <rgm@gnu.org>
6262
6263 * shell.el (shell-delimiter-argument-list):
6264 Revert 2011-02-17 change. (Bug#8027)
6265
c3a70e2b
CY
62662012-02-15 Chong Yidong <cyd@gnu.org>
6267
60236b0d
CY
6268 * minibuffer.el (completion-at-point-functions): Doc fix.
6269
c3a70e2b
CY
6270 * custom.el (defcustom): Doc fix; note use of defvar.
6271
9f26dc24
GM
62722012-02-15 Glenn Morris <rgm@gnu.org>
6273
6274 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6275 Doc fixes.
6276
6546b134
GM
62772012-02-14 Glenn Morris <rgm@gnu.org>
6278
6279 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6280
d29b2b4c
LI
62812012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6282
6283 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6284 way the ports list is computed.
835bdcba
LI
6285 (smtpmail-query-smtp-server): Prompt the user for a port number if
6286 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6287
08dcdbc9
TZ
62882012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6289
6290 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6291
2605051a
GM
62922012-02-13 Glenn Morris <rgm@gnu.org>
6293
6294 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6295
7ee99f32
TZ
62962012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6297
6298 * net/gnutls.el (gnutls-trustfiles): New variable.
6299 (gnutls-negotiate): Use it.
6300
5f0af64f
LI
63012012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6302
6303 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6304 does its stuff if Gnus is running.
6305
c14fcc95
AM
63062012-02-13 Alan Mackenzie <acm@muc.de>
6307
6308 Fix a loop in c-set-fl-decl-start.
6309
7a71b18d 6310 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6311 c-backward-syntactic-ws actually moves backwards.
6312
142b4d90
LL
63132012-02-13 Leo Liu <sdl.web@gmail.com>
6314
6315 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6316 beginning so that all \C-o chars are removed.
6317
fa9958a6
TZ
63182012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6319
dc9924b8 6320 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6321
0bc5886a
AM
63222012-02-12 Alan Mackenzie <acm@muc.de>
6323
6324 Fix infinite loop with long macros.
4d6769e1 6325 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6326
d4bd55e7
CY
63272012-02-12 Chong Yidong <cyd@gnu.org>
6328
6329 * window.el (display-buffer): Doc fix (Bug#10785).
6330
66f3fe22
GM
63312012-02-12 Glenn Morris <rgm@gnu.org>
6332
bd7da63e
GM
6333 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6334 (x-disown-selection-internal, x-get-selection-internal):
6335 Sync docs with the xselect.c versions.
6336
66f3fe22
GM
6337 * allout-widgets.el: Add missing license notice.
6338
3e0d2fa7
GM
63392012-02-11 Glenn Morris <rgm@gnu.org>
6340
cfecdf09
GM
6341 * select.el (x-get-selection-internal, x-own-selection-internal)
6342 (x-disown-selection-internal):
6343 * x-dnd.el (x-get-selection-internal): Update declarations.
6344
6d216d7f
GM
6345 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6346
2bed3f04
GM
6347 * window.el (window-sides-slots):
6348 * tool-bar.el (tool-bar-position):
6349 * term/xterm.el (xterm-extra-capabilities):
6350 * ses.el (ses-self-reference-early-detection):
6351 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6352 (verilog-auto-wire-type)
6353 (verilog-auto-delete-trailing-whitespace)
6354 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6355 (verilog-auto-tieoff-declaration):
6356 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6357 (sql-oracle-statement-starters, sql-oracle-scan-on):
6358 * progmodes/prolog.el (prolog-align-comments-flag)
6359 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6360 (prolog-left-indent-regexp, prolog-paren-indent-p)
6361 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6362 (prolog-types, prolog-mode-specificators)
6363 (prolog-determinism-specificators, prolog-directives)
6364 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6365 (prolog-electric-dot-flag)
6366 (prolog-electric-dot-full-predicate-template)
6367 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6368 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6369 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6370 (prolog-program-switches, prolog-prompt-regexp)
6371 (prolog-debug-on-string, prolog-debug-off-string)
6372 (prolog-trace-on-string, prolog-trace-off-string)
6373 (prolog-zip-on-string, prolog-zip-off-string)
6374 (prolog-use-standard-consult-compile-method-flag)
6375 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6376 (prolog-imenu-max-lines, prolog-info-predicate-index)
6377 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6378 (prolog-char-quote-workaround):
6379 * progmodes/cc-vars.el (c-defun-tactic):
6380 * net/tramp.el (tramp-encoding-command-interactive)
6381 (tramp-local-end-of-line):
6382 * net/soap-client.el (soap-client):
6383 * net/netrc.el (netrc-file):
6384 * net/gnutls.el (gnutls):
6385 * minibuffer.el (completion-category-overrides)
6386 (completion-cycle-threshold)
6387 (completion-pcm-complete-word-inserts-delimiters):
6388 * man.el (Man-name-local-regexp):
6389 * mail/feedmail.el (feedmail-display-full-frame):
6390 * international/characters.el (glyphless-char-display-control):
6391 * eshell/em-ls.el (eshell-ls-date-format):
6392 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6393 (lisp-lambda-list-keyword-parameter-indentation)
6394 (lisp-lambda-list-keyword-parameter-alignment):
6395 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6396 * dired-x.el (dired-omit-verbose):
6397 * cus-theme.el (custom-theme-allow-multiple-selections):
6398 * calc/calc.el (calc-highlight-selections-with-faces)
6399 (calc-lu-field-reference, calc-lu-power-reference)
6400 (calc-note-threshold):
6401 * battery.el (battery-mode-line-limit):
6402 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6403 (archive-7z-update):
6404 * allout.el (allout-prefixed-keybindings)
6405 (allout-unprefixed-keybindings)
6406 (allout-inhibit-auto-fill-on-headline)
6407 (allout-flattened-numbering-abbreviation):
6408 * allout-widgets.el (allout-widgets-auto-activation)
6409 (allout-widgets-icons-dark-subdir)
6410 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6411 (allout-widgets-theme-dark-background)
6412 (allout-widgets-theme-light-background)
6413 (allout-widgets-item-image-properties-emacs)
6414 (allout-widgets-item-image-properties-xemacs)
6415 (allout-widgets-run-unit-tests-on-load)
6416 (allout-widgets-time-decoration-activity)
6417 (allout-widgets-hook-error-post-time)
6418 (allout-widgets-track-decoration):
6419 Add missing :version tags to new defcustoms and defgroups.
6420
5fec1b8e
GM
6421 * progmodes/sql.el (sql-ansi-statement-starters)
6422 (sql-oracle-statement-starters): Add custom type.
6423
3e0d2fa7
GM
6424 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6425 (prolog-system-version): Give it a type.
6426
90b671e2
EZ
64272012-02-11 Eli Zaretskii <eliz@gnu.org>
6428
6429 * term/pc-win.el (x-select-text, x-selection-owner-p)
6430 (x-own-selection-internal, x-disown-selection-internal)
6431 (x-get-selection-internal): Sync doc strings and argument lists
6432 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6433
5eac0c02
LL
64342012-02-11 Leo Liu <sdl.web@gmail.com>
6435
6436 * progmodes/python.el (python-end-of-statement): Fix infinite
6437 loop. (Bug#10788)
6438
f82cb659
GM
64392012-02-10 Glenn Morris <rgm@gnu.org>
6440
6441 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6442 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6443
cc26d239
LI
64442012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6445
6446 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6447 about SMTP before checking the From header.
6448
91027d08 6449 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6450 into own function for reuse by emacsbug.el.
6451
1be3ca5a
LL
64522012-02-10 Leo Liu <sdl.web@gmail.com>
6453
6454 * subr.el (condition-case-unless-debug): Rename from
6455 condition-case-no-debug. All callers changed.
6456 (with-demoted-errors): Fix caller.
6457
6458 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6459 * nxml/rng-valid.el (rng-do-some-validation):
6460 * emacs-lisp/package.el (package-refresh-contents)
6461 (package-menu-execute):
6462 * desktop.el (desktop-create-buffer):
91027d08 6463 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6464
b011fbfe
GM
64652012-02-10 Glenn Morris <rgm@gnu.org>
6466
b2096d72
GM
6467 * textmodes/bibtex.el:
6468 Add missing :version tags for new/changed defcustoms.
6469
b011fbfe
GM
6470 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6471
4c7e65bf
LI
64722012-02-09 Lars Ingebrigtsen <larsi@rusty>
6473
6474 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6475 (smtpmail-via-smtp): Use it, or fall back on the From address.
6476 (smtpmail-send-it): Ditto.
6477
f3934f6f
SM
64782012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6481 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6482 (byte-compile-tmp-var): New const.
6483 (byte-compile-defvar): Use it to minimize .elc size.
6484 Just use `defvar' rather than simulate it (bug#10761).
6485
a075a2c5
GM
64862012-02-09 Glenn Morris <rgm@gnu.org>
6487
cf3aa21b
GM
6488 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6489
354998cd
GM
6490 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6491 Add :version tags.
6492
dc9924b8
SM
6493 * progmodes/compile.el (compilation-error-screen-columns)
6494 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6495
dab3703d
GM
6496 * vc/log-view.el (log-view-toggle-entry-display):
6497 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6498
3f88cd72
GM
6499 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6500 (report-emacs-bug-can-use-xdg-email):
6501 (report-emacs-bug-insert-to-mailer): Doc fixes.
6502 (report-emacs-bug): Message fix.
6503
d95b247d
GM
6504 * net/browse-url.el (browse-url-can-use-xdg-open)
6505 (browse-url-xdg-open): Doc fixes.
6506
a075a2c5
GM
6507 * electric.el (electric-indent-mode, electric-pair-mode)
6508 (electric-layout-rules, electric-layout-mode): Doc fixes.
6509 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6510
ffb6157e
MR
65112012-02-08 Martin Rudalics <rudalics@gmx.at>
6512
6513 * server.el (server-unselect-display): Don't inadvertently kill
6514 the current buffer. (Bug#10729)
6515
e1ac4066
GM
65162012-02-08 Glenn Morris <rgm@gnu.org>
6517
34e8a2da
GM
6518 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6519 (sql-list-table): Doc fixes.
6520
b4ac6e8c
GM
6521 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6522 Comment out (does nothing).
6523
e1ac4066
GM
6524 * completion.el (dynamic-completion-mode):
6525 * dirtrack.el (dirtrack-debug-mode):
6526 * electric.el (electric-layout-mode):
6527 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6528 * face-remap.el (text-scale-mode, buffer-face-mode):
6529 * iimage.el (iimage-mode):
6530 * image-mode.el (image-transform-mode):
6531 * minibuffer.el (completion-in-region-mode):
6532 * scroll-lock.el (scroll-lock-mode):
6533 * simple.el (next-error-follow-minor-mode):
6534 * tar-mode.el (tar-subfile-mode):
6535 * tooltip.el (tooltip-mode):
6536 * vcursor.el (vcursor-use-vcursor-map):
6537 * wid-browse.el (widget-minor-mode):
6538 * emulation/tpu-edt.el (tpu-edt-mode):
6539 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6540 * international/iso-ascii.el (iso-ascii-mode):
6541 * language/thai-util.el (thai-word-mode):
6542 * mail/supercite.el (sc-minor-mode):
6543 * net/goto-addr.el (goto-address-mode):
6544 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6545 * progmodes/cwarn.el (cwarn-mode):
6546 * progmodes/flymake.el (flymake-mode):
6547 * progmodes/glasses.el (glasses-mode):
6548 * progmodes/hideshow.el (hs-minor-mode):
6549 * progmodes/pascal.el (pascal-outline-mode):
6550 * textmodes/enriched.el (enriched-mode):
6551 * vc/smerge-mode.el (smerge-mode):
6552 Doc fixes (minor mode argument).
6553
5e0d957f
EZ
65542012-02-07 Eli Zaretskii <eliz@gnu.org>
6555
6556 * ls-lisp.el (ls-lisp-sanitize): New function.
6557 (ls-lisp-insert-directory): Use it to fix or remove any elements
6558 in file-alist with missing attributes. (Bug#4673)
6559
98d7371e
AM
65602012-02-07 Alan Mackenzie <acm@muc.de>
6561
6562 Fix spurious recognition of c-in-knr-argdecl.
6563
6564 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6565 putative K&R region.
6566
667ced3a
AM
65672012-02-07 Alan Mackenzie <acm@muc.de>
6568
eb864a71
LM
6569 * progmodes/cc-engine.el (c-forward-objc-directive):
6570 Prevent looping in "#pragma mark @implementation".
667ced3a 6571
5b77774d
MA
65722012-02-07 Michael Albinus <michael.albinus@gmx.de>
6573
6574 * notifications.el (notifications-on-closed-signal): Make `reason'
6575 optional. (Bug#10744)
6576
af008560
GM
65772012-02-07 Glenn Morris <rgm@gnu.org>
6578
60d47423
GM
6579 * emacs-lisp/easy-mmode.el (define-minor-mode):
6580 Doc fixes for the macro and the mode it defines.
6581
dd605cc4
GM
6582 * image.el (imagemagick-types-inhibit): Doc fix.
6583
af008560
GM
6584 * cus-start.el (imagemagick-render-type): Add it.
6585
5cc59a37
LI
65862012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6587
4d6769e1
JB
6588 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6589 Set the default at load time, too, so that `font-lock-fontify-buffer'
6590 can be called without setting up the entire mode first. This fixes
6591 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6592
9a6dd747
CY
65932012-02-06 Chong Yidong <cyd@gnu.org>
6594
2d16b285
CY
6595 * simple.el (list-processes--refresh): Delete exited processes
6596 (Bug#8094).
6597
171e9b6e
CY
6598 * comint.el (comint-next-prompt): next-single-char-property-change
6599 and prev-single-char-property-change never return nil (Bug#8657).
6600
9a6dd747
CY
6601 * custom.el (defcustom): Doc fix (Bug#9711).
6602
aa4589a7
CY
66032012-02-05 Chong Yidong <cyd@gnu.org>
6604
5c2a252f
CY
6605 * cus-edit.el (custom-variable-reset-backup): Quote the value
6606 before storing it in the customized-value property (Bug#6712).
4aab9006 6607 (custom-display): Add a customization type tag.
983b9602 6608 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6609
aa4589a7
CY
6610 * wid-edit.el (widget-field-value-get): New optional arg to
6611 suppress trailing whitespace truncation.
6612 (character): Use it (Bug#2689).
6613
1ff980ae
AS
66142012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6615
6616 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6617 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6618
03988c98
CY
66192012-02-05 Chong Yidong <cyd@gnu.org>
6620
eeb6cc88
CY
6621 * cus-edit.el (custom-variable-value-create): For mismatched
6622 types, show the current value (Bug#7600).
6623
03988c98
CY
6624 * custom.el (defcustom): Doc fix.
6625
f8cdeef0
GM
66262012-02-05 Glenn Morris <rgm@gnu.org>
6627
6628 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6629
0696d255
JB
66302012-02-05 Juanma Barranquero <lekktu@gmail.com>
6631
6632 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6633 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6634 (pp-last-sexp): Use `looking-at-p'.
6635
34c99998
GM
66362012-02-04 Glenn Morris <rgm@gnu.org>
6637
8f05da42
GM
6638 * files.el (revert-buffer):
6639 Doc fix (mention revert-buffer-in-progress-p).
6640
f160676e
GM
6641 * emacs-lisp/ert-x.el (ert-simulate-command):
6642 Check deferred-action-list (which is obsolete) is bound.
6643
c7291ad9
GM
6644 * subr.el (with-wrapper-hook): Doc fixes.
6645
34c99998
GM
6646 * simple.el (filter-buffer-substring-functions)
6647 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6648
6283a7d3
LL
66492012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6650
6651 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6652 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6653
e96e3013
LL
66542012-02-04 Leo Liu <sdl.web@gmail.com>
6655
6656 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6657
8ded50f2
GM
66582012-02-04 Glenn Morris <rgm@gnu.org>
6659
82ff1d13
GM
6660 * image.el (image-extension-data): Add obsolete alias.
6661
987a0a16
GM
6662 * isearch.el (isearch-update): Doc fix.
6663
ea32ef46
GM
6664 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6665
8ded50f2
GM
6666 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6667
eea14f31
GM
66682012-02-03 Glenn Morris <rgm@gnu.org>
6669
6670 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6671 (image-animate-timeout): Doc fix.
6672
6673 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6674
12f381b7
GM
66752012-02-02 Glenn Morris <rgm@gnu.org>
6676
953cebf5
GM
6677 * server.el (server-auth-dir): Doc fix.
6678 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6679
12f381b7
GM
6680 * subr.el (run-mode-hooks): Doc fix.
6681
953a8c3b
JL
66822012-02-02 Juri Linkov <juri@jurta.org>
6683
6684 * image-mode.el (image-toggle-display-image): Remove tautological
6685 `major-mode' from the `derived-mode-p' test.
6686
c5d3843c
KH
66872012-02-02 Kenichi Handa <handa@m17n.org>
6688
9f6e692e 6689 * composite.el (compose-region): Cancel previous change.
c5d3843c 6690
159462d4 66912012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6692
6693 * composite.el (compose-region, compose-string): Signal error for
6694 a null string component (Bug#6988).
6695
9f562668
CY
66962012-02-01 Chong Yidong <cyd@gnu.org>
6697
e2cef717
CY
6698 * view.el (view-buffer-other-window, view-buffer-other-frame):
6699 Handle special modes like view-buffer (Bug#10650).
6700 (view-buffer): Simplify.
6701
9f562668
CY
6702 * frame.el (set-frame-font): Tweak meaning of third argument.
6703
9f6e692e
JB
6704 * dynamic-setting.el (font-setting-change-default-font):
6705 Use set-frame-font (Bug#9982).
9f562668 6706
781acb9f
GM
67072012-02-01 Glenn Morris <rgm@gnu.org>
6708
6035be52
GM
6709 * progmodes/compile.el (compilation-internal-error-properties):
6710 Respect compilation-first-column in the "*compilation*" buffer.
6711
781acb9f
GM
6712 * emacs-lisp/easy-mmode.el (define-minor-mode):
6713 Relax :variable's test for a named function.
6714
abbceb00
AM
67152012-01-31 Alan Mackenzie <acm@muc.de>
6716
6717 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6718 off by one error.
6719
fce3fdeb
CY
67202012-01-31 Chong Yidong <cyd@gnu.org>
6721
6722 * frame.el (set-frame-font): New arg ALL-FRAMES.
6723
6724 * menu-bar.el (menu-set-font): Use set-frame-font.
6725
6726 * faces.el (face-spec-reset-face): Don't apply unspecified
6727 attribute values to the default face.
6728
47893581
JB
67292012-01-31 Juanma Barranquero <lekktu@gmail.com>
6730
6731 * progmodes/cwarn.el (cwarn): Remove dead link.
6732 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6733 Remove * from defcustom docstrings.
6734 (turn-on-cwarn-mode): Make obsolete.
6735 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6736 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6737
e58e988a
GM
67382012-01-31 Glenn Morris <rgm@gnu.org>
6739
60dc2671 6740 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6741 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6742 Allow named functions to be used as the cdr of :variable.
e58e988a 6743
7a3f511d
GM
67442012-01-30 Glenn Morris <rgm@gnu.org>
6745
6746 * emacs-lisp/authors.el (authors-fixed-entries):
6747 Remove reference to deleted file rnewspost.el.
6748
cb882333
JB
67492012-01-29 Juanma Barranquero <lekktu@gmail.com>
6750
6751 * window.el (window-with-parameter): Remove unused variable `windows'.
6752 (window--side-check): Remove unused variable `code'.
6753 (window--resize-siblings): Remove unused variable `first'.
6754 (adjust-window-trailing-edge): Remove unused variable `failed'.
6755 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6756 Use `let', not `let*'.
6757 (balance-windows-2): Remove unused variable `found'.
6758 (window--state-put-2): Remove unused variable `splits'.
6759 (window-state-put): Remove unused variable `selected'.
6760 (same-window-p): Use `string-match-p'.
6761 (display-buffer-assq-regexp): Remove unused variable `value'.
6762 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6763 Mark argument ALIST as ignored.
6764 (pop-to-buffer): Remove unused variable `old-window'.
6765
907201af
EZ
67662012-01-29 Eli Zaretskii <eliz@gnu.org>
6767
6768 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6769 and .lzma compressed files.
6770
ea162670
CY
67712012-01-29 Chong Yidong <cyd@gnu.org>
6772
5b95ee8a
CY
6773 * frame.el (window-system-default-frame-alist): Doc fix.
6774
ea162670
CY
6775 * dynamic-setting.el (font-setting-change-default-font): Don't
6776 change the default face if SET-FONT argument is non-nil (Bug#9982).
6777
d6e6f4b1
SB
67782012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6779
6780 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6781
0f29fa41 67822012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6783
6784 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6785 breakpoints in files outside current directory (Bug#6098).
6786
db174434
CY
67872012-01-29 Chong Yidong <cyd@gnu.org>
6788
6b25e4e2
SE
6789 * progmodes/python.el: Require ansi-color at top-level.
6790
6df6ae42
JB
6791 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6792 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6793 (lisp-mode-abbrev-table): Add doc.
6794 (lisp-mode-variables): Don't set local-abbrev-table.
6795 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6796
e70ee681
RW
67972012-01-28 Roland Winkler <winkler@gnu.org>
6798
6799 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6800
ace88aa2
RW
68012012-01-28 Roland Winkler <winkler@gnu.org>
6802
6803 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6804 (bibtex-set-dialect): Use it. Either set global values of
6805 dialect-dependent variables or bind these variables buffer-locally
6806 (Bug#10254).
6807 (bibtex-mode): Call bibtex-set-dialect via
6808 hack-local-variables-hook.
eb864a71
LM
6809 (bibtex-dialect): Update docstring.
6810 Add safe-local-variable predicate.
ace88aa2
RW
6811 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6812 bibtex-set-dialect.
6813 (bibtex-mode-map): Define menu for each dialect.
6814 (bibtex-entry): Fix docstring.
6815
93376c5b
CY
68162012-01-28 Chong Yidong <cyd@gnu.org>
6817
6818 * eshell/esh-arg.el (eshell-quote-argument): New function.
6819
6820 * eshell/esh-ext.el (eshell-invoke-batch-file):
6821 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6822 first arg to eshell-parse-command (Bug#10523).
6823
4372494f
DA
68242012-01-28 Drew Adams <drew.adams@oracle.com>
6825
6826 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6827 `default-directory' is non-nil.
6828
4d4ec1f8
EZ
68292012-01-28 Eli Zaretskii <eliz@gnu.org>
6830
6831 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6832 line that displays system-configuration-options. (Bug#9924)
6833
7c188927
DA
68342012-01-28 Drew Adams <drew.adams@oracle.com>
6835
6836 * descr-text.el (describe-char): Show information about POS, in
6837 addition to information about the character at POS. Improve and
6838 update the doc string. Change "code point" to "code point in
6839 charset", to avoid confusion with the character's Unicode code
6840 point shown above that. (Bug#10129)
6841
e0da685a
EZ
68422012-01-28 Eli Zaretskii <eliz@gnu.org>
6843
6844 * descr-text.el (describe-char): Show the raw character, not only
6845 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6846 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6847 for the reasons.
6848
70550acf
PH
68492012-01-28 Phil Hagelberg <phil@hagelb.org>
6850
eb864a71
LM
6851 * emacs-lisp/package.el (package-install):
6852 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6853
0ce8e868
CY
68542012-01-28 Chong Yidong <cyd@gnu.org>
6855
cb882333
JB
6856 * emacs-lisp/package.el (package-maybe-load-descriptor):
6857 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6858 (package-maybe-load-descriptor): Use it.
6859 (package-download-transaction): Fully load required packages
6860 inside the loop, so that `require' calls work (Bug#10593).
6861 (package-install): No need to call package-initialize now.
6862
2e7f3bea
CY
68632012-01-28 Chong Yidong <cyd@gnu.org>
6864
6e9bad14
CY
6865 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6866
f823b8ca
CY
6867 * tooltip.el (tooltip-mode): Doc fix.
6868 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6869
2680c309
CY
6870 * frame.el (set-cursor-color): Doc fix (Bug#352).
6871
d7a9e63b
CY
6872 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6873 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6874
2e7f3bea
CY
6875 * cus-edit.el (custom-buffer-create-internal): Fix search button
6876 action (Bug#10542).
2ae01800 6877 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6878
fc4f7a23
EW
68792012-01-27 Eduard Wiebe <usenet@pusto.de>
6880
6881 * dired.el (dired-mark-files-regexp):
6882 Include any subdirectory components. (Bug#10445)
6883
7dd37071
ML
68842012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6885
6886 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6887 Handle [host]:port syntax. (Bug#10533)
6888
a268160b
AH
68892012-01-27 Alex Harsanyi <harsanyi@mac.com>
6890
6891 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6892
e43273ef
GM
68932012-01-26 Glenn Morris <rgm@gnu.org>
6894
6895 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6896 * term.el (term-raw-escape-map): Use Control-X-prefix.
6897 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6898
1edf595d
MR
68992012-01-25 Martin Rudalics <rudalics@gmx.at>
6900
6901 * window.el (window-state-get, window--state-get-1): Don't deal
6902 with fixed-sizeness of windows. Simplify code.
6903
fa8eafef
JC
69042012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6905
6df6ae42
JB
6906 * window.el (window--state-get-1, window--state-put-2):
6907 Don't save and restore the mark.
fa8eafef 6908
0b21c100
CY
69092012-01-25 Chong Yidong <cyd@gnu.org>
6910
6911 * custom.el (custom-variable-p): Doc fix.
6912
5ae1a6c8
GM
69132012-01-25 Glenn Morris <rgm@gnu.org>
6914
40047858
GM
6915 * dired.el (dired-goto-file): Handle some of the more common
6916 characters that `ls -b' escapes. (Bug#10596)
6917
5ddce96c
GM
6918 * progmodes/compile.el (compilation-next-error-function):
6919 Respect compilation-first-column in the "*compilation*" buffer.
6920 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6921
5ae1a6c8
GM
6922 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6923
b559f1a9
GM
69242012-01-24 Glenn Morris <rgm@gnu.org>
6925
6926 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6927
6725d21a
JD
69282012-01-24 Julien Danjou <julien@danjou.info>
6929
6930 * color.el (color-rgb-to-hsl): Fix value computing.
6931 (color-hue-to-rgb): New function.
6932 (color-hsl-to-rgb): New function.
6933 (color-clamp, color-saturate-hsl, color-saturate-name)
6934 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6935 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6936
70df4bbe
GM
69372012-01-24 Glenn Morris <rgm@gnu.org>
6938
6939 * vc/vc-rcs.el (vc-rcs-create-tag):
6940 * vc/vc-sccs.el (vc-sccs-create-tag):
6941 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6942
802a2ae2
ML
69432012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6944
6945 * eshell/esh-util.el (eshell-read-hosts-file):
6946 Skip comment lines. (Bug#10549)
6947
d7128bb1
ML
6948 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6949
d1a5c3b4
JB
69502012-01-23 Juanma Barranquero <lekktu@gmail.com>
6951
2724d9c7
JB
6952 * subr.el (display-delayed-warnings): Doc fix.
6953 (collapse-delayed-warnings): New function to collapse identical
6954 adjacent warnings.
6955 (delayed-warnings-hook): Add it.
d1a5c3b4 6956
a5509865
MA
69572012-01-22 Michael Albinus <michael.albinus@gmx.de>
6958
6959 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6960
a5509865
MA
6961 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6962 (tramp-default-user-alist): Don't add "pscp".
6963 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6964 property "login-as", if set. (Bug#10530)
6965
cc6d5805
MA
69662012-01-21 Michael Albinus <michael.albinus@gmx.de>
6967
6968 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6969 "plink1" and "psftp". (Bug#10530)
6970
69712012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6972
6973 * international/mule-cmds.el (prefer-coding-system): Show a
6974 warning message if the default value of file-name-coding-system
6975 was not changed.
6976
f0960428
JC
69772012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6978
cb882333
JB
6979 * windmove.el (windmove-reference-loc):
6980 Fix windmove-reference-loc miscalculation.
f0960428 6981
dd6f2a63
JB
69822012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6983
6984 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6985 default unit.
6986
7b447e9b
GM
69872012-01-21 Glenn Morris <rgm@gnu.org>
6988
117a9ea1
GM
6989 * international/mule.el (auto-coding-alist): Add .tbz.
6990
7b447e9b
GM
6991 * files.el (local-enable-local-variables): Doc fix.
6992 (inhibit-local-variables-regexps): Rename from
6993 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6994 Doc fix. Add some extensions from auto-coding-alist.
6995 (inhibit-local-variables-suffixes):
6996 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6997 (inhibit-local-variables-p):
6998 New function, extracted from set-auto-mode-1.
6999 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7000 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7001 (hack-local-variables): Doc fix. Make the mode-only case
7002 respect enable-local-variables and friends.
7003 Respect inhibit-local-variables-regexps for file-locals, but
7004 not for directory-locals.
7005 (set-visited-file-name):
7006 Take account of inhibit-local-variables-regexps.
7007 Whether it applies may change as the file name is changed.
7008 * jka-cmpr-hook.el (jka-compr-install):
7009 * jka-compr.el (jka-compr-uninstall):
7010 Update for inhibit-first-line-modes-suffixes name change.
7011
dd6e3cdd
MR
70122012-01-20 Martin Rudalics <rudalics@gmx.at>
7013
7014 * help-macro.el (make-help-screen): Temporarily restore original
7015 binding for minor-mode-map-alist (Bug#10454).
7016
0d0deb38
JD
70172012-01-19 Julien Danjou <julien@danjou.info>
7018
7019 * color.el (color-name-to-rgb): Use the white color to find the max
7020 color component value and return correctly computed values.
7021 (color-name-to-rgb): Add missing float conversion for max value.
7022
34a02f46
MR
70232012-01-19 Martin Rudalics <rudalics@gmx.at>
7024
7025 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7026 special state value for window-persistent-parameters.
7027 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7028 (window--state-put-2): Reset all window parameters to nil before
7029 assigning values of persistent parameters.
7030
606c44c4
AM
70312012-01-18 Alan Mackenzie <acm@muc.de>
7032
7033 Eliminate sluggishness and hangs in fontification of "semicolon
7034 deserts".
7035
cb882333
JB
7036 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7037 Change value 10000 -> 3000.
606c44c4
AM
7038 (c-state-safe-place): Reformulate so it doesn't stack up an
7039 infinite number of wrong entries in c-state-nonlit-pos-cache.
7040 (c-determine-limit-get-base, c-determine-limit): New functions to
7041 determine backward search limits disregarding literals.
7042 (c-find-decl-spots): Amend commenting.
7043 (c-cheap-inside-bracelist-p): New function which detects "={".
7044
7045 * progmodes/cc-fonts.el
7046 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7047 backward search.
7048 (c-font-lock-declarations): Fix an occurrence of point being
7049 undefined. Check additionally for point being in a bracelist or
7050 near a macro invocation without a semicolon so as to avoid a
7051 fruitless time consuming search for a declarator. Give a more
7052 precise search limit for declarators using the new
7053 c-determine-limit.
7054
f3860cea
GM
70552012-01-18 Glenn Morris <rgm@gnu.org>
7056
7057 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7058 (set-auto-mode): Doc fixes.
7059
1db03b16
GM
70602012-01-17 Glenn Morris <rgm@gnu.org>
7061
0e6038be
GM
7062 * isearch.el (search-nonincremental-instead): Fix doc typo.
7063
1db03b16
GM
7064 * dired.el (dired-insert-directory): Handle newlines in directory name.
7065 (dired-build-subdir-alist): Unescape newlines in directory name.
7066
4cb0aa75
MA
70672012-01-17 Michael Albinus <michael.albinus@gmx.de>
7068
7069 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7070 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7071 (tramp-action-terminal): Use it. (Bug#10530)
7072
1d00653d
SM
70732012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7076
6a6ee00d
MR
70772012-01-16 Martin Rudalics <rudalics@gmx.at>
7078
7079 * window.el (window-state-ignored-parameters): Remove variable.
7080 (window--state-get-1): Rename argument MARKERS to IGNORE.
7081 Handle persistent window parameters. Make copy of clone-of
7082 parameter only if requested. (Bug#10348)
7083 (window--state-put-2): Install a window parameter only if it has
7084 a non-nil value or an existing parameter shall be overwritten.
7085
97912def
MA
70862012-01-15 Michael Albinus <michael.albinus@gmx.de>
7087
7088 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7089
688070a5
EZ
70902012-01-14 Eli Zaretskii <eliz@gnu.org>
7091
7092 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7093 don't pass the (nil) value of `upnode' to string-match.
7094
301afadc
CY
70952012-01-14 Chong Yidong <cyd@gnu.org>
7096
7097 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7098 Fix values recognized by the cursorBlink resource.
301afadc 7099
9e5788aa
PE
71002012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7101
7102 * epg.el (epg--make-temp-file): Avoid permission race condition
7103 when running on old Emacs versions (bug#10403).
7104
3cdb7f5a
GM
71052012-01-14 Glenn Morris <rgm@gnu.org>
7106
7107 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7108
8c82b1b4
AM
71092012-01-13 Alan Mackenzie <acm@muc.de>
7110
7111 Fix filling for when filladapt mode is enabled.
7112
7113 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7114 c-mask-paragraph, pass in `fill-paragraph' rather than
7115 `fill-region-as-paragraph'. (This is a reversion of a previous
7116 change.)
eb864a71
LM
7117 * progmodes/cc-mode.el (c-basic-common-init):
7118 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7119
e517eda4
GM
71202012-01-13 Glenn Morris <rgm@gnu.org>
7121
1498536e
GM
7122 * dired.el (dired-switches-escape-p): New function.
7123 (dired-insert-directory): Use dired-switches-escape-p.
7124 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7125
e517eda4
GM
7126 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7127
328f984d
GM
71282012-01-12 Glenn Morris <rgm@gnu.org>
7129
7130 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7131 changes in adaptive-fill-regexp. (Bug#10276)
7132
2cc769a8
AM
71332012-01-11 Alan Mackenzie <acm@muc.de>
7134
7135 Fix Emacs bug #10463 - put `widen's around the critical spots.
7136
1d00653d 7137 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7138 widen around each invocation of c-state-pp-to-literal. Remove an
7139 unused let variable.
7140
e52c37fa
GM
71412012-01-11 Glenn Morris <rgm@gnu.org>
7142
7143 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7144 Doc fix.
e52c37fa 7145
96f8741e
CY
71462012-01-10 Chong Yidong <cyd@gnu.org>
7147
1d00653d
SM
7148 * net/network-stream.el (network-stream-open-starttls):
7149 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7150 response to the capability command.
7151
b09a806e
GM
71522012-01-10 Glenn Morris <rgm@gnu.org>
7153
7154 * mail/unrmail.el (unrmail): Tweak previous change.
7155
7655cb66
CY
71562012-01-09 Chong Yidong <cyd@gnu.org>
7157
7158 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7159
9d5a8f0b
AM
71602012-01-08 Alan Mackenzie <acm@muc.de>
7161
7162 Optimise font locking in long enum definitions.
7163
7164 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7165 arm to a cond form to handle enums.
7166 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7167 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7168
9a0115ab 71692012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7170
7171 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7172 (Bug#10401)
6bb72cbd 7173
f186bb95
LMI
71742012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7175
29232a68
LMI
7176 * faces.el (set-face-attribute): Clarify the meaning of the nil
7177 frame (bug#10294).
7178
4e5d086d
LMI
7179 * subr.el (with-selected-frame): Mention that the selected frame
7180 is restored (bug#9980).
7181
8e66aebe
LMI
7182 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7183 (bug#9759).
7184
cd394be1 7185 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7186 (password-read): Don't autoload unused function.
7187
adf4e762
JB
71882012-01-07 Juanma Barranquero <lekktu@gmail.com>
7189
7190 * progmodes/which-func.el (which-func-mode): Turn into a
7191 non-interactive function and mark as obsolete (bug#10428).
7192
89bd9ccd
CY
71932012-01-06 Chong Yidong <cyd@gnu.org>
7194
7195 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7196 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7197 functions, along with 1 and -1.
7198
4afee9d5
EZ
71992012-01-06 Eli Zaretskii <eliz@gnu.org>
7200
7201 * time.el (display-time-load-average)
7202 (display-time-default-load-average): Doc fixes. See the thread
7203 starting at
7204 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7205 for the details.
7206
536aea70
GM
72072012-01-06 Glenn Morris <rgm@gnu.org>
7208
665ae865
GM
7209 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7210 has no messages. (Bug#10377)
7211
c869783d
GM
7212 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7213 than Info-edit. (Bug#10385)
7214
2bb4227e
GM
7215 * time.el (display-time-load-average, display-time-next-load-average):
7216 Doc fixes.
7217
7d5944b9
GM
7218 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7219 local setting of buffer-read-only to the input buffer. (Bug#10419)
7220
536aea70
GM
7221 * calendar/calendar.el (calendar-mode):
7222 Locally set scroll-margin to 0. (Bug#10379)
7223
7dccca16
UM
72242012-01-06 Ulrich Mueller <ulm@gentoo.org>
7225
7226 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7227
afbb7930
GM
72282012-01-05 Glenn Morris <rgm@gnu.org>
7229
7230 * eshell/em-unix.el (diff-no-select): Autoload it.
7231 (eshell/diff): Use diff-no-select. (Bug#10420)
7232
04482335
CY
72332012-01-05 Chong Yidong <cyd@gnu.org>
7234
7baca3bc
CY
7235 * shell.el (shell-dynamic-complete-functions): Revert last change.
7236 (shell-command-completion-function): New function.
7237 (shell-completion-vars): Use it to implement
7238 shell-completion-execonly (Bug#10417).
7239
04482335
CY
7240 * custom.el (enable-theme): Don't set custom-safe-themes.
7241
1d00653d
SM
7242 * cus-theme.el (custom-theme-merge-theme):
7243 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7244
bb5aa5d6
MM
72452012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7246
7247 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7248 first prompt in `sql-interacive-mode'.
7249 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7250 keywords.
6df6ae42 7251 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7252 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7253 context of original buffer. Invoke `sql-login-hook'.
7254
a7183d7c
EZ
72552012-01-04 Eli Zaretskii <eliz@gnu.org>
7256
7257 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7258 letters in cite-prefix.
7259
a1eacd1e
LMI
72602012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7261
7262 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7263
787cdb34
CY
72642012-01-03 Chong Yidong <cyd@gnu.org>
7265
1d00653d
SM
7266 * shell.el (shell-dynamic-complete-functions):
7267 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7268 comint-filename-completion first (Bug#10417).
7269
30710442
RS
72702012-01-02 Richard Stallman <rms@gnu.org>
7271
7272 * battery.el (battery-status-function):
7273 Detect when to use battery-yeeloong-sysfs.
7274 (battery-echo-area-format): Add string for Yeeloong.
7275 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7276 (battery-yeeloong-sysfs): New function.
7277
f75bfc33
CY
72782012-01-02 Chong Yidong <cyd@gnu.org>
7279
7280 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7281 (dirtrack): Merge code for handling relative filenames in prompt
7282 from shell-dir-cookie-watcher.
7283 (dirtrack-debug-message): New arg to avoid excess format calls.
7284
7285 * shell.el (shell-dir-cookie-re): Variable deleted.
7286 (shell-dir-cookie-watcher): Function deleted.
7287 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7288 with dirtrack-mode.
7289
651e947e
EZ
72902012-01-01 Eli Zaretskii <eliz@gnu.org>
7291
1d00653d
SM
7292 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7293 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7294 libgnutls-26.dll.
7295
94d4c7dc
AS
72962011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7297
7298 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7299
8d43f3cd
EZ
73002011-12-31 Eli Zaretskii <eliz@gnu.org>
7301
7302 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7303 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7304
98c8795a
MA
73052011-12-29 Michael Albinus <michael.albinus@gmx.de>
7306
7307 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7308 also for alternative shells.
7309 (tramp-open-connection-setup-interactive-shell): Check, whether
7310 the shell is a busybox.
7311 (tramp-send-command): Don't suppress multiple prompts for
7312 busyboxes, it hurts.
7313
51281b32
CY
73142011-12-28 Chong Yidong <cyd@gnu.org>
7315
7316 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7317 (gdb-get-source-file): Move mode line update to
7318 gdb-get-source-file (Bug#10087).
7319
2170cb53
CY
73202011-12-25 Chong Yidong <cyd@gnu.org>
7321
7322 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7323 gud-gdb-marker-filter without taking it as an argument.
7324 (gud-gdb-run-command-fetch-lines): Caller changed.
7325 (gud-gdb-completion-function): New variable.
7326 (gud-gdb-completion-at-point): Use it.
7327 (gud-gdb-completions-1): Split from gud-gdb-completions.
7328
7329 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7330 function as separate arguments.
7331 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7332 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7333 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7334 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7335 (gdb-stopped, def-gdb-auto-update-trigger)
7336 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7337 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7338 Callers changed.
2170cb53
CY
7339 (gud-gdbmi-completions): New function.
7340 (gdb): Use it for generating the completion table.
7341
be8b11bb
AM
73422011-12-24 Alan Mackenzie <acm@muc.de>
7343
7344 Introduce a mechanism to widen the region used in context font
1d00653d 7345 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7346
1d00653d
SM
7347 * progmodes/cc-langs.el (c-before-font-lock-functions):
7348 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7349 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7350 functions to be run just before context (etc.) font locking.
7351
7352 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7353 New, functionality extracted from
be8b11bb 7354 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7355 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7356 (c-after-change): Set c-in-after-change-fontification.
7357 (c-set-fl-decl-start): Rejig its interface, so it can be called
7358 from both after-change and context fontifying.
b81d40f0
JB
7359 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7360 New functions.
7361 (c-standard-font-lock-fontify-region-function): New variable.
7362 (c-font-lock-fontify-region): New function.
be8b11bb 7363
341cf6ac
JL
73642011-12-24 Juri Linkov <juri@jurta.org>
7365
7366 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7367 (Bug#10348)
7368
bffcee0a
MA
73692011-12-23 Michael Albinus <michael.albinus@gmx.de>
7370
7371 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7372 existence of source file. (Bug#10325)
7373
cb5e207c
AM
73742011-12-23 Alan Mackenzie <acm@muc.de>
7375
7376 Fix unstable fontification inside templates.
7377
b81d40f0
JB
7378 * progmodes/cc-langs.el (c-before-font-lock-functions):
7379 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7380 additionally has c-set-fl-decl-start. The other languages (apart
7381 from AWK) have that as a single entry.
7382
b81d40f0
JB
7383 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7384 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7385 c-set-fl-decl-start.
7386
b81d40f0
JB
7387 * progmodes/cc-mode.el (c-common-init, c-after-change):
7388 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7389 (c-set-fl-decl-start): New function, extracted from
7390 c-font-lock-enclosing-decls and enhanced.
7391
60ff536c
JB
73922011-12-23 Juanma Barranquero <lekktu@gmail.com>
7393
7394 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7395
1c4757d6
JL
73962011-12-22 Juri Linkov <juri@jurta.org>
7397
7398 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7399
d031f2c7
CY
74002011-12-22 Chong Yidong <cyd@gnu.org>
7401
7402 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7403
bace743a
DA
74042011-12-21 Drew Adams <drew.adams@oracle.com>
7405
7406 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7407
728a1f2b
JC
74082011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7409
7410 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7411
0d373f73
TZ
74122011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7413
fec0aaa4
TZ
7414 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7415 highlighting and support. Fix up comments for capitalization.
7416 (cfengine-mode-debug): New var.
7417 (cfengine3-mode): Change the modeline indicator to "CFE3".
7418 (cfengine3-font-lock-keywords): Improve defun highlighting.
7419 (cfengine2-actions): Rename from `cfengine-actions'.
7420 (cfengine2-font-lock-keywords): Rename from
7421 `cfengine-font-lock-keywords'.
7422 (cfengine2-imenu-expression): Rename from
7423 `cfengine-imenu-expression'.
7424 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7425 (cfengine2-beginning-of-defun): Rename from
7426 `cfengine-beginning-of-defun'.
7427 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7428 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7429 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7430 modeline indicator to "CFE2".
7431 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7432 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7433
bc86f573
CY
74342011-12-21 Chong Yidong <cyd@gnu.org>
7435
7436 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7437 filename argument.
7438
d45ba96b
MR
74392011-12-20 Martin Rudalics <rudalics@gmx.at>
7440
7441 * window.el (window-normalize-buffer-to-display): Remove.
7442 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7443
a6198c90
CY
74442011-12-19 Chong Yidong <cyd@gnu.org>
7445
7446 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7447 Don't signal an error in a predicate function; return non-nil.
7448 (vc-dir-mark-file): Move the error here.
7449 (vc-dir-mark-unmark): If acting on the region, keep going if one
7450 of the entries cannot be marked/unmarked.
7451 (vc-dir-mark-all-files): If current entry is a directory, mark
7452 only child files, as documented.
7453
34c5fb55
VB
74542011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7455
7456 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7457 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7458 addition.
7459
c803b2b7
JD
74602011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7461
7462 * term/ns-win.el (ns-get-selection-internal)
7463 (ns-store-selection-internal): Declare.
1154d12e
JB
7464 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7465 Declare as obsolete.
7466 (ns-get-pasteboard, ns-paste-secondary):
7467 Use ns-get-selection-internal.
7468 (ns-set-pasteboard, ns-copy-including-secondary):
7469 Use ns-store-selection-internal.
c803b2b7 7470
9cff91f8 74712011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7472
7473 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7474 (vc-deduce-fileset): Doc fix.
99a289d9 7475
f16c898a
AS
74762011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7477
7478 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7479
763237c4
SS
74802011-12-13 Sam Steingold <sds@gnu.org>
7481
7482 * man.el (Man-getpage-in-background): When running under a
7483 window-system, ignore $MANWIDTH and $COLUMNS.
7484
5fc1c122
KH
74852011-12-15 Kenichi Handa <handa@m17n.org>
7486
7487 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7488 (setup-ethiopic-environment-internal): Comment out key-binding for
7489 ethio-toggle-punctuation.
7490
13d49cbb
AM
74912011-12-13 Alan Mackenzie <acm@muc.de>
7492
898169a2
AM
7493 Add the switch statement to AWK Mode.
7494
7a71b18d 7495 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7496 "default" to the keywords regexp.
7497
7a71b18d 7498 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7499 expression as the rest.
1d00653d
SM
7500 (c-nonlabel-token-key): Allow string literals for AWK.
7501 Refactor for the other modes.
898169a2 7502
13d49cbb 7503 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7504 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7505 routines. Limit backward searching in c-font-lock-enclosing.decl.
7506
7507 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7508 pp-state and literal type in addition to the limits.
1d00653d 7509 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7510 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7511 (c-slow-in-literal, c-fast-in-literal): Remove.
7512 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7513
7514 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7515 being in a literal. Add a limit for backward searching.
7516
7517 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7518 c-slow-in-literal.
7519
15e0efc7
SM
75202011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7523
454592a6
MR
75242011-12-13 Martin Rudalics <rudalics@gmx.at>
7525
7526 * window.el (delete-other-windows): Use correct frame in call to
7527 window-with-parameter.
7528
87393f26
DP
75292011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7530
7531 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7532 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7533 (makefile-gmake-statements, makefile-makepp-statements):
7534 Use it and add new makepp keywords.
7535 (makefile-makepp-font-lock-keywords): Add new patterns.
7536 (makefile-match-function-end): Match new [...] and [[...]].
7537
11636b22
JB
75382011-12-11 Juanma Barranquero <lekktu@gmail.com>
7539
7540 * ses.el (ses-call-printer-return, ses-cell-property-get)
7541 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7542 (ses-create-cell-variable, ses-reset-header-string)
7543 (ses-cell-set-formula, ses-repair-cell-reference-all)
7544 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7545 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7546 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7547 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7548 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7549 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7550 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7551 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7552 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7553 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7554 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7555 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7556
cf018193
VB
75572011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7558
7559 * ses.el: The overall change is to add cell renaming, that is
7560 setting fancy names for cell symbols other than name matching
7561 "\\`[A-Z]+[0-9]+\\'" regexp .
7562 (ses-create-cell-variable): New defun.
7563 (ses-relocate-formula): Relocate formulas only for cells the
7564 symbols of which are not renamed, i.e. symbols whose names do not
7565 match regexp "\\`[A-Z]+[0-9]+\\'".
7566 (ses-relocate-all): Relocate values only for cells the symbols of
7567 which are not renamed.
7568 (ses-load): Create cells variables as the (ses-cell ...) are read,
7569 in order to check row col consistency with cell symbol name only
7570 for cells that are not renamed.
7571 (ses-replace-name-in-formula): New defun.
7572 (ses-rename-cell): New defun.
7573
ee957461
CY
75742011-12-11 Chong Yidong <cyd@gnu.org>
7575
7576 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7577 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7578
9a9e9ef0
MR
75792011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7580
7581 * window.el (other-window): Fix docstring.
7582
92a8eba5
EZ
75832011-12-10 Eli Zaretskii <eliz@gnu.org>
7584
7585 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7586 `from' or `to' address before taking its substring.
7587 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7588 encoded name is chopped in the middle of the encoded string, and
7589 thus displayed encoded.
7590
e152e577
JB
75912011-12-10 Juanma Barranquero <lekktu@gmail.com>
7592
7593 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7594
e5d84bfe
EZ
75952011-12-10 Eli Zaretskii <eliz@gnu.org>
7596
7597 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7598 to use texinfo-update-node and commands that call it if the
7599 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7600 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7601 (texinfo-all-menus-update, texinfo-master-menu)
7602 (texinfo-update-node, texinfo-every-node-update)
7603 (texinfo-multiple-files-update): Doc fix. Warn against updating
7604 all the @node lines.
7605 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7606 argument is numeric. Explain better in the doc string what the
7607 function really does.
7608 (texinfo-insert-master-menu-list): Improve the error message
7609 displayed if there's no menu in the Top node.
7610 (Bug#2975) See also this thread:
e5d84bfe
EZ
7611 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7612
1d84e9bb
MG
76132011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7614
7615 * speedbar.el (speedbar-supported-extension-expressions):
7616 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7617
382c953b
JB
76182011-12-09 Juanma Barranquero <lekktu@gmail.com>
7619
7620 * printing.el (pr-mode-alist):
7621 * simple.el (filter-buffer-substring-functions)
7622 (completion-list-insert-choice-function):
7623 * window.el (window-with-parameter, window-atom-root)
7624 (window-sides-slots, window-size-fixed, window-min-delta)
7625 (window-max-delta, window--resize-mini-window)
7626 (window--resize-child-windows-normal, window-tree)
7627 (delete-other-windows, quit-window, split-window)
7628 (display-buffer-record-window, special-display-buffer-names)
7629 (special-display-regexps, special-display-popup-frame)
7630 (same-window-p, split-window-sensibly)
7631 (display-buffer-overriding-action, display-buffer-alist)
7632 (display-buffer-base-action, display-buffer, switch-to-buffer)
7633 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7634 (fit-window-to-buffer, recenter-positions)
7635 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7636 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7637 and remove unneeded backslashes in docstrings.
7638
39c9faef
SM
76392011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7640
98449af8
SM
7641 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7642
39c9faef
SM
7643 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7644 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7645 end in ".mk".
7646 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7647 when reading the makefile (bug#10116).
7648
86ed9fdc
SM
76492011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7652 (bug#10116).
7653
5580f89d
GM
76542011-12-06 Glenn Morris <rgm@gnu.org>
7655
7656 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7657
28d3917c
CY
76582011-12-06 Chong Yidong <cyd@gnu.org>
7659
7660 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7661
a98edce9
JB
76622011-12-06 Juanma Barranquero <lekktu@gmail.com>
7663
7664 * textmodes/table.el (table-shorten-cell): Fix typo.
7665
e65adfac
CG
76662011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7667
7668 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7669
71cc0b74
EZ
76702011-12-05 Eli Zaretskii <eliz@gnu.org>
7671
7672 * descr-text.el (describe-char): Fix display of strong
7673 right-to-left characters and directional embeddings and overrides.
7674
7675 * simple.el (what-cursor-position): Fix display of codepoints of
7676 strong right-to-left characters.
7677
315bc30d
CY
76782011-12-05 Chong Yidong <cyd@gnu.org>
7679
7680 * faces.el (read-color): Doc fix.
7681
58a70b94
GM
76822011-12-05 Glenn Morris <rgm@gnu.org>
7683
7684 * align.el (align--set-marker): Add doc-string.
7685 Don't try to move something that is not a marker. (Bug#10216)
7686
5158face
GM
76872011-12-04 Glenn Morris <rgm@gnu.org>
7688
7689 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7690 overly zealous deletion of trailing whitespace.
7691
520fca41
JB
76922011-12-04 Juanma Barranquero <lekktu@gmail.com>
7693
7694 * server.el (server-delete-client): On Windows, do not try to delete
7695 the only terminal.
7696 (server-process-filter): On Windows, treat requests for a tty frame as
7697 if they were for a GUI frame if the running server is in GUI mode.
7698
5e605a2e
GM
76992011-12-03 Glenn Morris <rgm@gnu.org>
7700
7701 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7702
5c3fe83f
SM
77032011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7704
6f5e57e7
SM
7705 * electric.el: Streamline electric-indent's hook.
7706 (electric-indent-chars): Revert to simple list.
7707 (electric-indent-functions): New var.
7708 (electric-indent-post-self-insert-function): Use it.
7709
5c3fe83f
SM
7710 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7711 there's no inferior buffer (bug#10196).
7712 (prolog-consult-compile): Don't use toggle-read-only.
7713
6bdac736
MA
77142011-12-02 Michael Albinus <michael.albinus@gmx.de>
7715
7716 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7717 interrupt. (Bug#10187)
7718
6131ba7f
SM
77192011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7720
99c79fee
SM
7721 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7722 (bug#9160).
7723
6131ba7f
SM
7724 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7725 (bug#10191).
7726
cb0a02ea
JL
77272011-12-02 Juri Linkov <juri@jurta.org>
7728
7729 * info.el (Info-search): Display "end of manual" when Isearch
7730 reaches the end of single-file Info manual. (Bug#9918)
7731
66e0570c
EZ
77322011-12-02 Eli Zaretskii <eliz@gnu.org>
7733
7734 * isearch.el (isearch-message-prefix): Run the input method part
7735 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7736
02b16839
JL
77372011-12-02 Juri Linkov <juri@jurta.org>
7738
7739 * isearch.el (isearch-occur): Use `word-search-regexp' for
7740 `isearch-word'.
7741 (isearch-search-and-update): Add condition for `isearch-word' and
7742 call `word-search-regexp'. (Bug#10145)
7743
0b950688
GM
77442011-12-01 Glenn Morris <rgm@gnu.org>
7745
7746 * eshell/em-hist.el (eshell-hist-initialize):
7747 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7748 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7749
9505c3c7
SM
77502011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7753
1bbe96b2 77542011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7755
a1beca85
SM
7756 * progmodes/verilog-mode.el (verilog-pretty-expr):
7757 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7758 verilog, such as += *= and the like.
7759 (verilog-assignment-operator-re): Regular expression to find the
7760 assigment operator in a verilog assignment.
7761 (verilog-assignment-operation-re): Regular expression to find an
7762 assignment statement for pretty-expr.
7763 (verilog-in-attribute-p): Query returns true if point is in an
7764 attribute context; used to skip these for expression line up from
7765 pretty-expr.
7766 (verilog-in-parameter-p): Query returns true if point is in an
7767 parameter definition context; used to skip these for expression
7768 line up from pretty-expr.
7769 (verilog-in-parenthesis-p): Query returns true if point is in a
7770 parenthetical expression, specifically ( ) but not [ ] or { };
7771 used by pretty-expr.
7772 (verilog-just-one-space): If there is no space, don't add one.
7773 (verilog-get-lineup-indent-2): Specifically skip just attribute
7774 contexts for expression lineup, rather than skipping all
7775 parenthetical expressions.
7776 (verilog-calculate-indent): Fix comment, and fix indent.
7777 (verilog-do-indent): Indent declarations in lists (suggested by
7778 Joachim Lechner).
7779 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7780 skeleton items.
7781 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7782 by Alain Mellan).
7783
1bbe96b2 77842011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7785
7786 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7787 parameters with embedded comments. Reported by Ray Stevens.
7788 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7789 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7790 Reported by Tim Holt.
7791 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7792 instantiated by upper module causing wrong expansion until AUTOed a
7793 second time. Reported by K C Buckenmaier.
7794 (verilog-diff-auto): Fix showing .* as a difference when
7795 `verilog-auto-star-save' off. Reported by Dan Dever.
7796 (verilog-auto-reset, verilog-read-always-signals)
7797 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7798 temporary signals in reset list if
7799 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7800 style to each signal's assignment type, bug381.
7801 Reported by Thomas Esposito.
6288f0ca
WS
7802 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7803 (verilog-uvm-statement-re): Support UVM indentation and
7804 highlighting, with old OVM keywords only.
a1beca85 7805 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7806 Support AUTOTIEOFF creating non-wire data types.
7807 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7808 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7809 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7810 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7811 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7812 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7813 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7814 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7815 non-numeric vector width. Reported by Alex Reed.
7816 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7817 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7818 (verilog-auto-delete-trailing-whitespace):
7819 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7820 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7821 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7822 Fix verilog-scan-cache corruption when running user AUTO expansion
7823 hooks that call indentation routines.
7824 (verilog-simplify-range-expression): Fix typo ignoring lower case
7825 identifiers.
7826 (verilog-delete-auto): Fix delete-autos to also remove user created
7827 automatics, as long as they start with AUTO.
7828 (verilog-batch-diff-auto, verilog-diff-auto)
7829 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7830 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7831 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7832 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7833 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7834 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7835 is disabled and its cache will get corrupt, causing AUTOS not to
7836 expand. Instead use only -quick functions.
7837 (verilog-scan-region): Fix scanning over escaped quotes.
7838 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7839 (verilog-re-search-backward-quick)
7840 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7841 related functions now ignore strings, to fix misparsing of strings
7842 with magic comments embedded in them.
a1beca85
SM
7843 (verilog-read-auto-template):
7844 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7845 Reported by Brad Dobbie.
7846 (verilog-read-auto-template):
7847 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7848 Reported by Brad Dobbie.
6288f0ca
WS
7849 (verilog-auto-inst, verilog-auto-inst-param)
7850 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7851 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7852 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7853 debugging templates without merge conflicts, bug357.
7854 Reported by Brad Dobbie.
7855 (verilog-read-auto-template):
7856 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7857 Reported by Brad Dobbie.
7858 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7859 abbrevs so user won't be asked to save.
7860 (verilog-read-auto-lisp-present): Fix to start at beginning of
7861 buffer in case called outside of verilog-auto.
7862 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7863 to "X-2". Reported by Matthew Myers.
7864 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7865 all inputs from module templates. Reported by Leith Johnson.
7866 (verilog-module-inside-filename-p): Fix locating programs as with
7867 modules.
7868 (verilog-auto-inst-port): Fix vl-width expressions when using
7869 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7870 (verilog-decls-get-regs, verilog-decls-get-signals,
7871 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7872 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7873 verilog-read-decls): Combine reg and wire structures into one var
7874 structure to represent SystemVerilog concepts.
7875 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7876 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7877 (verilog-auto-wire-type, verilog-insert-definition):
7878 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7879 SystemVerilog "logic" keyword instead of "wire"/"reg".
7880 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7881 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7882 ifdef or generate if so there's not a driver conflict).
7883 Reported by Matthew Myers.
7884 (verilog-auto-declare-nettype, verilog-insert-definition):
7885 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7886 `default_nettype none. Reported by Julian Gorfajn.
7887 (verilog-read-always-signals-recurse, verilog-read-decls)
7888 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7889 malformed end statement, bug325. Reported by Joshua Wise and
7890 Andrew Drake.
7891 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7892 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7893 when expanding .* in interfaces, bug320.
7894 Reported by Pierre-David Pfister.
6288f0ca 7895 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7896 name and open parenthesis, bug317.
7897 Reported by Pierre-David Pfister.
6288f0ca
WS
7898 (verilog-simplify-range-expression): Fix simplification of
7899 multiplications inside AUTOWIRE connections, bug303.
7900 (verilog-auto-inst-port): Support parameter expansion in
7901 multidimensional arrays.
7902 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7903 after "assert property". Reported by Julian Gorfajn.
7904 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7905 with multiplication, bug303.
7906 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7907 Reported by Jan Frode Lonnum.
7908
1bbe96b2
GM
79092011-11-30 Juanma Barranquero <lekktu@gmail.com>
7910
7911 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7912 (hfy-shell-file-name, hfy-shell):
7913 * international/fontset.el (x-decompose-font-name): Fix typos.
7914
79152011-11-29 Ken Brown <kbrown@cornell.edu>
7916
7917 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7918 (gdb-version): Remove defvar.
7919 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7920 (gdb-gud-context-command, gdb-non-stop-handler)
7921 (gdb-current-context-command, gdb-stopped): Use it.
7922 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7923 (gdb-non-stop-handler): Don't enable pretty-printing here.
7924 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7925 non-stop mode. Use the following.
7926 (gdb-check-target-async): New defun.
7927 (gud-watch, gdb-stopped): Fix whitespace.
7928 (gdb-get-source-file): Don't try to display the source file if
7929 `gdb-main-file' is nil.
7930
79312011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7932
7933 * align.el: Try to generate fewer markers (bug#10047).
7934 (align--set-marker): New macro.
7935 (align-region): Use it.
7936
c935221f
SM
79372011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7940
e70b5064
CY
79412011-11-29 Chong Yidong <cyd@gnu.org>
7942
7943 * indent.el (indent-for-tab-command, indent-according-to-mode):
7944 Doc fix.
7945 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7946
f3af92b7
MA
79472011-11-29 Michael Albinus <michael.albinus@gmx.de>
7948
7949 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7950 aware of remote file names. (Bug#10124)
7951
ed472be9
CY
79522011-11-29 Chong Yidong <cyd@gnu.org>
7953
7954 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7955
24510c22
SM
79562011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * files.el (find-file): Don't use force-same-window (bug#10144).
7959 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7960 use pop-to-buffer if the selected window can't be used.
7961 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7962
c60c3703
EZ
79632011-11-28 Eli Zaretskii <eliz@gnu.org>
7964
7965 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7966 special-mode-map.
7967
e95def75
CY
79682011-11-28 Chong Yidong <cyd@gnu.org>
7969
7970 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7971
c3f1c606
NR
79722011-11-27 Nick Roberts <nickrob@snap.net.nz>
7973
7974 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7975 gdb-get-source-file-list on gdb-create-source-file-list.
7976
00db469c
EZ
79772011-11-26 Eli Zaretskii <eliz@gnu.org>
7978
7979 * whitespace.el (whitespace-newline): Use a different foreground
7980 color for 16-color light-background displays.
7981
4ad3bc2a
CY
79822011-11-24 Chong Yidong <cyd@gnu.org>
7983
7984 * window.el (display-buffer--special-action): Doc fix.
7985
e9fce1ac
JB
79862011-11-25 Juanma Barranquero <lekktu@gmail.com>
7987
7988 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7989 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7990 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7991 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7992 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7993 (avl-tree-stack-first):
7994 * emacs-lisp/cconv.el (cconv--analyse-use):
7995 * net/gnutls.el (gnutls-negotiate): Fix typos.
7996
cb825e5d
GM
79972011-11-24 Glenn Morris <rgm@gnu.org>
7998
3adbe224
GM
7999 * lpr.el (lpr-windows-system, lpr-lp-system):
8000 * mail/binhex.el (binhex-begin-line):
8001 * progmodes/grep.el (grep-history, grep-find-history):
8002 * textmodes/flyspell.el:
8003 * vc/pcvs-defs.el (cvs-global-menu):
8004 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8005 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8006 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8007
321decc8
GM
8008 * net/tls.el: Fix case of "GnuTLS".
8009
420b63ad
GM
8010 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8011
cb825e5d
GM
8012 * version.el (emacs-build-system): Give it a doc-string.
8013
a0649f08
JL
80142011-11-24 Juri Linkov <juri@jurta.org>
8015
8016 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8017
c0bc0fd4
GM
80182011-11-24 Glenn Morris <rgm@gnu.org>
8019
8020 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8021 if called on a non-mime message just toggle the headers. (Bug#8006)
8022
20db1522
JB
80232011-11-24 Juanma Barranquero <lekktu@gmail.com>
8024
8025 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8026 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8027 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8028 (allout-rebullet-heading, allout-open-sibtopic)
8029 (allout-toggle-current-subtree-encryption)
8030 (allout-toggle-subtree-encryption, allout-encrypt-string)
8031 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8032 (allout-distinctive-bullets-string, allout-auto-activation):
8033 * window.el (window-normalize-buffer-to-display):
8034 * progmodes/verilog-mode.el (verilog-batch-indent):
8035 * textmodes/bibtex.el (bibtex-field-braces-opt)
8036 (bibtex-field-strings-opt):
8037 * vc/cvs-status.el (cvs-tree-merge):
8038 Fix typos.
8039
7262a87c
MA
80402011-11-23 Michael Albinus <michael.albinus@gmx.de>
8041
8042 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8043 `non-essential' to t, in order to avoid remote connections.
8044
283430a1
EZ
80452011-11-23 Eli Zaretskii <eliz@gnu.org>
8046
a1beca85
SM
8047 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8048 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8049 case-insensitively.
8050
d2992a38
ML
80512011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8052
8053 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8054
50419064
GM
80552011-11-23 Glenn Morris <rgm@gnu.org>
8056
da94eca1
GM
8057 * paths.el (rmail-file-name): Reformat the doc-string so that it
8058 is picked up.
8059
9aac4de2
GM
8060 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8061 (rmail-auto-file): Ignore case in the "special" field names,
8062 as mail-fetch-field does for all others.
8063
8038d2d2
GM
8064 * mail/rmail.el (rmail-forward):
8065 * mail/rmailkwd.el (rmail-set-label):
8066 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8067 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8068
f3fe222a
GM
8069 * mail/rmail.el (rmail-current-message): Doc fix.
8070
50419064
GM
8071 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8072
28109f49
SM
80732011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8076
394c65f1
GM
80772011-11-22 Glenn Morris <rgm@gnu.org>
8078
8079 * mail/rmailmm.el (test-rmail-mime-handler)
8080 (test-rmail-mime-bulk-handler)
8081 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8082
f2a0aa3a
JL
80832011-11-21 Juri Linkov <juri@jurta.org>
8084
1154d12e
JB
8085 * calc/calc.el (calc-read-key-sequence):
8086 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8087
9c34a344
LMI
80882011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8089
8090 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8091 Tell the caller that the next line needs recomputation, even
8092 though it doesn't start a sexp (bug#10094).
8093
f04a3be9
SM
80942011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8097
7978747f
SM
80982011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8099
f04a3be9
SM
8100 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8101 Use force-same-window.
7978747f 8102
fe7a3057
JB
81032011-11-20 Juanma Barranquero <lekktu@gmail.com>
8104
8105 * descr-text.el (describe-char-unicode-data):
8106 * json.el (json-string-escape):
8107 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8108 (Footnote-unicode, Footnote-style-p):
8109 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8110
24901d61
CY
81112011-11-20 Chong Yidong <cyd@gnu.org>
8112
8113 * window.el (replace-buffer-in-windows): Restore interactive spec.
8114
bac7ff22
SM
81152011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8116
24f3d7b9
SM
8117 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8118
bac7ff22
SM
8119 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8120 (byte-compile-global-not-obsolete-vars): New var.
8121 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8122 Use it.
8123 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8124
cd1181db
JB
81252011-11-20 Juanma Barranquero <lekktu@gmail.com>
8126
8127 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8128 * progmodes/pascal.el (electric-pascal-equal):
8129 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8130 * xml.el (xml-substitute-special): Fix typos.
8131
7fb18e9e
GM
81322011-11-20 Glenn Morris <rgm@gnu.org>
8133
8134 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8135 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8136 Doc fixes.
8137 (rmail-decode-mime-charset): Mark as obsolete.
8138
8139 * mail/rmailsum.el (rmail-message-regexp-p-1):
8140 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8141 Before using mime functions, check they are set. (Bug#10077)
8142
d5a6b3ba
JL
81432011-11-19 Juri Linkov <juri@jurta.org>
8144
8145 * info.el (Info-finder-find-node): Use `package--builtins' instead
8146 of `package-alist'. Use node names formed by the pattern "Keyword "
8147 and the keyword name.
8148
e981b61f
AS
81492011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8150
1d00653d 8151 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8152
3ffbc301
JL
81532011-11-19 Juri Linkov <juri@jurta.org>
8154
8155 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8156 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8157 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8158 `old-history', `old-history-forward'. Add let-binding
8159 `window-selected'. Remove calls to `kill-buffer',
8160 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8161 before calling `Info-find-node', so `Info-find-node-2' will reread
8162 the Info file. Restore window positions only when `window-selected'
8163 is non-nil.
8164
30c62133
JL
81652011-11-19 Juri Linkov <juri@jurta.org>
8166
8167 * isearch.el (isearch-lazy-highlight-new-loop):
8168 Remove condition `(not isearch-error)'. (Bug#9918)
8169
8170 * misearch.el (multi-isearch-search-fun): Add condition
8171 `(not bound)' to ignore lazy-highlighting search.
8172 Add the search-failed message "end of multi" when the end of
8173 multi-sequence is reached. Uncapitalize the search-failed
8174 message "Repeat for next buffer".
8175
8176 * info.el (Info-search): Add the search-failed message
8177 "end of the manual" when the end of the manual is reached
8178 in Isearch mode.
8179
645ca9cf
JL
81802011-11-19 Juri Linkov <juri@jurta.org>
8181
8182 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8183 Use non-destructive `remove' instead of `delete' because
8184 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8185 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8186
df754f66
JL
81872011-11-19 Juri Linkov <juri@jurta.org>
8188
8189 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8190 to nil instead of binding `search-ring' and `regexp-search-ring'.
8191 (Bug#9185)
8192
0e23d96a
EZ
81932011-11-19 Eli Zaretskii <eliz@gnu.org>
8194
8195 * simple.el (line-move): Force movement by logical lines for any
8196 hscrolled window, not only when auto-hscroll-mode is on.
8197 (line-move-visual): Update doc string to that effect. (Bug#10076)
8198
8a6ccb66
AS
81992011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8200
8201 * language/european.el (macintosh): Define as alias for mac-roman.
8202
49ae5b39
EZ
82032011-11-19 Eli Zaretskii <eliz@gnu.org>
8204
8205 * mail/rmailmm.el (rmail-mime-display-header)
8206 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8207 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8208 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8209 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8210 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8211 of a raw aref.
8212 (rmail-mime-entity-segment): To get past the tagline, move forward
8213 2 more lines, to account for the 2 empty lines that precede and
8214 follow the line with the buttons.
8215 (rmail-mime-update-tagline): Move one more line, to get past the
8216 empty line that follows the buttons in the tagline. (Bug#9520)
8217
c56cad4a
MR
82182011-11-19 Martin Rudalics <rudalics@gmx.at>
8219
8220 * window.el (window-max-delta-1, window-min-delta-1)
8221 (window-min-size-1, window-state-get-1, window-state-put-1)
8222 (window-state-put-2): Use "window--" prefix.
8223
cbe71af3
SM
82242011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8225
2ad52c60
SM
8226 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8227 (smie-warning-count): New var.
8228 (smie-set-prec2tab): Use it.
8229 (smie-bnf->prec2): Improve warnings. Add docstring.
8230 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8231 (smie-bnf--set-class): New function.
8232 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8233 corner case.
8234
6944dbc1
SM
8235 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8236 (compilation-error-properties, compilation-move-to-column):
8237 Handle compilation-first-column while in the target buffer.
8238
c400c4d7
SM
8239 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8240 Don't hardcode point-min==1.
8241
6dbe3e96
SM
8242 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8243 (eshell-rewrite-for-command): Remove workaround.
8244 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8245 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8246 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8247
cbe71af3
SM
8248 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8249
a8e1496d
GM
82502011-11-17 Glenn Morris <rgm@gnu.org>
8251
8252 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8253 Ignore buffer-local generated-autoload-file if it is the same
8254 as the global value. (Bug#10049)
8255
df85d315
JB
82562011-11-17 Juanma Barranquero <lekktu@gmail.com>
8257
8258 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8259 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8260 (reftex-toc-previous-heading, reftex-toc-max-level)
8261 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8262 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8263 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8264 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8265 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8266 (reftex-toc-rename-label, reftex-toc-visit-location)
8267 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8268 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8269 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8270 leaving "*toc*" only for references to the buffer.
8271
a0c2d0ae
MR
82722011-11-17 Martin Rudalics <rudalics@gmx.at>
8273
8274 * window.el (window-resize, delete-window, split-window):
8275 Replace window-splits by window-combination-resize.
1d00653d 8276 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8277
35c0bac8
GM
82782011-11-17 Glenn Morris <rgm@gnu.org>
8279
8280 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8281 Make bash entry derive from sh entry, not shell entry.
8282
d0c8fc8a
MA
82832011-11-16 Michael Albinus <michael.albinus@gmx.de>
8284
7262a87c
MA
8285 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8286 local file name.
8287
7877f373
JB
82882011-11-16 Juanma Barranquero <lekktu@gmail.com>
8289
8290 * menu-bar.el (menu-bar-file-menu):
8291 * printing.el (pr-ps-utility):
8292 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8293 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8294 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8295 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8296 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8297 (icalendar--convert-cyclic-to-ical)
8298 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8299 (icalendar--convert-ical-to-diary)
8300 (icalendar--convert-recurring-to-diary)
8301 (icalendar--convert-non-recurring-all-day-to-diary)
8302 (icalendar-import-format-sample):
8303 * progmodes/idlw-shell.el (idlwave-shell-mode):
8304 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8305 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8306 (vhdl-ps-print-init): Fix typos.
8307
10649b82
KM
83082011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8309
9d0cfcd6
GM
8310 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8311 FSF and collapse date sequence, obscure author/maintainer email address
8312 better, remove extra version line, track relocation of author's webpage.
10649b82 8313
9d0cfcd6
GM
8314 * progmodes/python.el (python-pdbtrack-input-prompt)
8315 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8316 regular python pdb prompts. Adjustments shamelessly taken exactly as
8317 suggested in EmacsWiki page (tiny change):
8318 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8319
58179cce
JB
83202011-11-16 Juanma Barranquero <lekktu@gmail.com>
8321
8322 * expand.el (expand-pos, expand-index, expand-point):
8323 Remove redundant info from docstring.
8324 (expand-add-abbrevs): Doc fix.
8325 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8326 (expand-sample-perl-mode-expand-list): Fix typos.
8327
8328 * net/dbus.el (dbus-event-member-name):
8329 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8330 * term/pc-win.el (msdos-create-frame-with-faces):
8331 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8332
b6f67890
MR
83332011-11-16 Martin Rudalics <rudalics@gmx.at>
8334
8335 * window.el (split-window, window-state-get-1)
8336 (window-state-put-1, window-state-put-2): Rename occurrences of
8337 window-nest to window-combination-limit.
1d00653d 8338 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8339
ce7ddba0
CY
83402011-11-16 Chong Yidong <cyd@gnu.org>
8341
8342 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8343 regexp (Bug#10033).
8344
3ae704f4
SM
83452011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8348 `completing-read' will remove *Completions* and will preserve
8349 current-buffer for us.
8350 (tmm-add-prompt): Users of *Completions* will always (re)set its
8351 major mode.
8352 (tmm-old-comp-map): Remove.
8353
6ad1cdde
GM
83542011-11-16 Glenn Morris <rgm@gnu.org>
8355
8356 * mail/rmailedit.el: Require rmailmm when compiling.
8357 (rmail-old-mime-state): New declaration.
8358 (rmail-edit-current-message): If editing a mime message,
8359 edit the "raw" message from the mbox buffer.
8360 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8361
d20faa20
GM
83622011-11-15 Glenn Morris <rgm@gnu.org>
8363
8364 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8365 which wasn't being used. Add optional arg to force given state.
8366 (rmail-mime): Add optional arg to force given state.
8367
c7015153
JB
83682011-11-15 Juanma Barranquero <lekktu@gmail.com>
8369
8370 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8371 * frame.el (display-mm-dimensions-alist):
8372 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8373 (outline-move-subtree-down):
8374 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8375 (newsticker--treeview-do-get-node):
8376 * net/quickurl.el (quickurl-list-buffer-name):
8377 * progmodes/dcl-mode.el (dcl-mode):
8378 * progmodes/gdb-mi.el (gdb-mapcar*):
8379 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8380
45261b50
GM
83812011-11-15 Glenn Morris <rgm@gnu.org>
8382
8383 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8384 in a boolean sense, so just make it a boolean, and fix the doc.
8385 (rmail-show-mime-function, rmail-mime-feature)
8386 (rmail-require-mime-maybe): Doc fixes.
8387 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8388
8389 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8390
0d26e0b6
JB
83912011-11-15 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8394 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8395 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8396 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8397
447f30f6
GM
83982011-11-15 Glenn Morris <rgm@gnu.org>
8399
672b871d
GM
8400 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8401 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8402 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8403 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8404 (rmail-mime, rmail-show-mime): Doc fixes.
8405
f6aa5bb1
GM
8406 * term/ns-win.el (mode-line-frame-identification):
8407 Leave it alone. (Bug#10051)
8408
947cd66b
GM
8409 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8410
447f30f6
GM
8411 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8412 Handle empty buffers. (Bug#9978)
8413
0b381c7e
JB
84142011-11-14 Juanma Barranquero <lekktu@gmail.com>
8415
8416 * international/mule.el (define-charset):
8417 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8418 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8419 * progmodes/verilog-mode.el (verilog-backward-token):
8420 * textmodes/ispell.el (lookup-words):
8421 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8422
71e027ac
GM
84232011-11-14 Glenn Morris <rgm@gnu.org>
8424
56632ce4
GM
8425 * progmodes/executable.el
8426 (executable-make-buffer-file-executable-if-script-p):
8427 Handle file-modes returning nil.
8428
40500957
GM
8429 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8430 message - not necessary, and causes problems. (Bug#9831)
8431
071c2340
GM
8432 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8433
d3cfca60
GM
8434 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8435
71e027ac
GM
8436 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8437 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8438 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8439
89d61221
MR
84402011-11-12 Martin Rudalics <rudalics@gmx.at>
8441
8442 * window.el (window-resize, delete-window): Use window-splits
8443 variable instead of function.
8444 (window-state-get-1, window-state-put-2, window-state-put):
8445 Don't deal with windows' splits status.
8446
98282f6f
GM
84472011-11-12 Glenn Morris <rgm@gnu.org>
8448
8449 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8450 (apropos-documentation): Doc fixes.
8451
40a8bdf6
JB
84522011-11-11 Juanma Barranquero <lekktu@gmail.com>
8453
8454 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8455 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8456
65bd19ff
SM
84572011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * electric.el (electric-indent-post-self-insert-function): Make it
8460 possible for a char to only indent in some circumstances.
8461 (electric-indent-mode): Simplify.
8462
54f9154c
MR
84632011-11-11 Martin Rudalics <rudalics@gmx.at>
8464
8465 * window.el (windows-with-parameter): Remove unused function.
8466 (windows-at-side): Rename to window-at-side-list.
8467 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8468 (window-side-check, window-size-ignore, window-size-fixed-1)
8469 (window-in-direction-2): Prefix with "window--".
8470 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8471
68cbc58b
GM
84722011-11-11 Glenn Morris <rgm@gnu.org>
8473
8474 * subr.el (eval-after-load): If FILE is already loaded,
8475 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8476
b2621720
GM
84772011-11-10 Glenn Morris <rgm@gnu.org>
8478
9a4de110
GM
8479 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8480 Call svn via vc-svn-command rather than vc-do-command.
8481 (vc-svn-command): Add --non-interactive. (Bug#9993)
8482 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8483
b2621720
GM
8484 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8485 Add toggle-read-only. (Bug#7292)
8486 * files.el (toggle-read-only): Mention that it should only
8487 be used interactively. (Bug#10006)
8488
1dce7193
SM
84892011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8490
d9ac1a1e
SM
8491 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8492 Adjust regexp for OCaml warnings.
8493
0c325082
SM
8494 * electric.el (electric-pair-post-self-insert-function): Let user
8495 turn it off buffer-locally (bug#9932).
8496
90132c14
SM
8497 * progmodes/python.el (python-beginning-of-statement):
8498 Rewrite (bug#2703).
8499
1dce7193
SM
8500 * progmodes/compile.el: Better handle TABs (bug#9749).
8501 (compilation-internal-error-properties)
8502 (compilation-next-error-function): Obey the target buffer's
8503 compilation-error-screen-columns.
8504
c4e7c63a
JB
85052011-11-09 Juanma Barranquero <lekktu@gmail.com>
8506
8507 * progmodes/meta-mode.el: Remove obsolete comments.
8508 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8509 Fix typos in docstrings.
8510
2cffd681
MR
85112011-11-09 Martin Rudalics <rudalics@gmx.at>
8512
8513 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8514 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8515 (window--resizable): New function. Make all callers of
8516 window-resizable call window--resizable instead.
8517 (window-resizable): Rewrite in terms of window--resizable.
8518
0edcba87
GM
85192011-11-08 Glenn Morris <rgm@gnu.org>
8520
8521 * progmodes/delphi.el (delphi-mode-syntax-table):
8522 Let define-derived-mode define a proper syntax table. (Bug#9994)
8523
4b0d61e3
SM
85242011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8525
8526 * window.el: Stay away from defsubst.
8527 (window-list-no-nils): Remove.
8528 (window-state-get-1, window-state-get): Use backquote instead.
8529
cd394be1 85302011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8531
4b0d61e3 8532 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8533 Fix incorrect use of default argument in `completing-read'.
8534
e1c2c6f2
MR
85352011-11-08 Martin Rudalics <rudalics@gmx.at>
8536
8537 * window.el (display-buffer-function, special-display-function):
8538 Mention display-buffer-record-window but do not mention
8539 help-setup parameter in doc-strings.
b3f4a882 8540 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8541
105216ed
CY
85422011-11-08 Chong Yidong <cyd@gnu.org>
8543
8544 * window.el (window-total-height, window-total-width): Doc fix.
8545 (window-body-size): Move from C.
8546 (window-body-height, window-body-width): Move to C.
8547
0a9f9ab5
SM
85482011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * window.el: Make special-display like display-buffer-alist (bug#9532).
8551 (display-buffer--special-action): New function, morphed
8552 from display-buffer--special.
8553 (display-buffer): Use it to handle special-display-buffers at higher
8554 priority (just after display-buffer-alist).
8555 (display-buffer-fallback-action, display-buffer--other-frame-action)
8556 (pop-to-buffer-same-window): Remove display-buffer--special.
8557
a769dd15
GM
85582011-11-07 Glenn Morris <rgm@gnu.org>
8559
8560 * calendar/cal-menu.el (cal-menu-set-date-title):
8561 Do nothing if not in a calendar. (Bug#9976)
8562
05a61ee3
SM
85632011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8564
8565 * files.el (find-file): Always use selected-window.
8566
be7f5545
MR
85672011-11-07 Martin Rudalics <rudalics@gmx.at>
8568
8569 * window.el (window-combinations): Make WINDOW argument
8570 mandatory. Rewrite doc-string.
8571 (walk-window-subtree, window-atom-check, window-min-delta)
8572 (window-max-delta, window--resize-this-window)
8573 (window--resize-root-window-vertically, window-tree)
8574 (balance-windows, window-state-put): Rewrite doc-strings as to
8575 not mention the term "subwindow".
8576 (window--resize-subwindows-skip-p): Rename to
8577 window--resize-child-windows-skip-p.
8578 (window--resize-subwindows-normal): Rename to
8579 window--resize-child-windows-normal.
8580 (window--resize-subwindows): Rename to
8581 window--resize-child-windows.
8582 (window-or-subwindow-p): Rename to window--in-subtree-p.
8583
3c6702ef
ML
85842011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8585
8586 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8587 Ensure that mbox format messages end in two newlines (Bug#9974).
8588
49745b39
CY
85892011-11-06 Chong Yidong <cyd@gnu.org>
8590
8591 * window.el (window-combination-p): Function deleted; its
8592 side-effect is not used in any existing code.
8593 (window-combinations, window-combined-p): Call window-*-child
8594 directly.
8595
24300f5f
CY
85962011-11-05 Chong Yidong <cyd@gnu.org>
8597
8598 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8599 (window-size-ignore, window-state-get): Callers changed.
8600 (window-normalize-window): Rename from window-normalize-any-window.
8601 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8602 (window-normalize-live-window): Delete.
447f16b8
CY
8603 (window-combination-p, window-combined-p, window-combinations)
8604 (walk-window-subtree, window-atom-root, window-min-size)
8605 (window-sizable, window-sizable-p, window-size-fixed-p)
8606 (window-min-delta, window-max-delta, window-resizable)
8607 (window-resizable-p, window-full-height-p, window-full-width-p)
8608 (window-current-scroll-bars, window-point-1, set-window-point-1)
8609 (window-at-side-p, window-in-direction, window-resize)
8610 (adjust-window-trailing-edge, maximize-window, minimize-window)
8611 (window-deletable-p, delete-window, delete-other-windows)
8612 (record-window-buffer, unrecord-window-buffer)
8613 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8614 (quit-window, split-window, window-state-put)
8615 (set-window-text-height, fit-window-to-buffer)
8616 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8617
89bd5ee1
EZ
86182011-11-04 Eli Zaretskii <eliz@gnu.org>
8619
53479029
EZ
8620 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8621 rfc2047-decode-string.
8622 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8623 warnings.
8624
89bd5ee1
EZ
8625 * window.el (window-body-height, window-body-width): Mention in
8626 the doc string that the return values are in frame's canonical
8627 units. (Bug#9949)
8628
bd17fdee
AM
86292011-11-03 Alan Mackenzie <acm@muc.de>
8630
8631 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8632 change in cc-engine.el.
8633
acc825c5
SM
86342011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8635
8636 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8637
1885e5b8
MR
86382011-11-02 Martin Rudalics <rudalics@gmx.at>
8639
8640 * window.el (quit-window): Call unrecord-window-buffer after
8641 showing another buffer in the window. (Bug#9937)
acc825c5 8642 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8643
ebe06da9
JB
86442011-11-02 Juanma Barranquero <lekktu@gmail.com>
8645
8646 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8647 Accept status with more than 9 shelves. (Bug#9935)
8648 Reported by Colin D Bennett <colin@gibibit.com>.
8649
4ee88440
MR
86502011-11-01 Martin Rudalics <rudalics@gmx.at>
8651
8652 * help.el (with-help-window): Don't reference
8653 temp-buffer-show-specifiers in doc-string.
8654
08e1d82c
AS
86552011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8656
8657 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8658 menu-item.
8659
84bd6e9e
VJL
86602011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8661
8662 * whitespace.el: New version 13.2.2.
8663 (whitespace-newline-mode): Disable properly. Reported by Sarah
8664 <EmacsWiki>.
8665
dba0634a
UJ
86662011-10-30 Ulf Jasper <ulf.jasper@web.de>
8667
8668 * net/newst-treeview.el: Remove "Time-stamp".
8669 (newsticker--group-manage-orphan-feeds): Do not call
8670 newsticker--treeview-tree-update.
db22a3c2
JB
8671 (newsticker-treeview-update, newsticker-treeview):
8672 Call newsticker--treeview-tree-update if necessary.
dba0634a 8673
3d8daefe
MR
86742011-10-30 Martin Rudalics <rudalics@gmx.at>
8675
8676 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8677 (window-iso-combinations): Remove "iso-" infix.
8678 Suggested by Chong Yidong.
3d8daefe
MR
8679 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8680 (window-max-delta-1, window-resize, window--resize-siblings)
8681 (window--resize-this-window, adjust-window-trailing-edge)
8682 (split-window, balance-windows-1)
8683 (shrink-window-if-larger-than-buffer):
8684 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8685 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8686
1bc4c3ae
SM
86872011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8688
8689 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8690 in place (bug#9907).
8691 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8692 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8693 (eshell-structure-basic-command, eshell-rewrite-while-command)
8694 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8695 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8696 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8697 (eshell-do-pipelines-synchronously, eshell-eval-command):
8698 Use backquotes and prefer setq to set.
8699 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8700 (eshell-macrop): Use functionp.
c1e2f5fa 8701 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8702
30b65d9c
CY
87032011-10-30 Chong Yidong <cyd@gnu.org>
8704
8705 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8706 instead of set-mark (Bug#9810).
8707
2d197ffb
CY
87082011-10-30 Chong Yidong <cyd@gnu.org>
8709
8710 * window.el (split-window-below, split-window-right): Rename from
8711 split-window-above-each-other and split-window-side-by-side
8712 respectively. All callers changed.
8713 (split-window-sensibly, split-window-sensibly): Use them.
8714 (split-window-keep-point): Doc fix.
8715
8716 * isearch.el: Add isearch-scroll property to split-window-below
8717 and split-window-right.
8718
8719 * follow.el (follow-mode):
8720 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8721 * progmodes/ada-xref.el (ada-gdb-application):
8722 * emulation/vip.el (vip-buffer-in-two-windows):
8723 * image-dired.el (image-dired-dired-with-window-configuration):
8724 * dired-x.el (dired-do-find-marked-files):
8725 * dired.el (dired-pop-to-buffer):
8726 * bs.el (bs--show-with-configuration):
8727 * vc/emerge.el (emerge-setup-windows):
8728 * textmodes/two-column.el (2C-two-columns):
8729 * textmodes/reftex-toc.el (reftex-toc):
8730 * progmodes/gdb-mi.el (gdb-setup-windows):
8731 * progmodes/fortran.el (fortran-window-create):
8732 * net/newst-treeview.el (newsticker--treeview-window-init):
8733 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8734 * emulation/tpu-edt.el (tpu-gold-map):
8735 * emulation/crisp.el (crisp-mode-map):
8736 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8737
38bb2ca8
CY
87382011-10-29 Chong Yidong <cyd@gnu.org>
8739
aa4de341
CY
8740 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8741
e1eb5385
CY
8742 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8743
5d2ece3c
CY
8744 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8745 forged Ispell output (Bug#7904).
8746
38bb2ca8
CY
8747 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8748
d0af9f77
SM
87492011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8750
8751 * doc-view.el: Avoid ugly errors about not finding nil.
8752 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8753 (doc-view-dvipdf-program, doc-view-unoconv-program)
8754 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8755 Avoid nil or absolute file name as default value.
8756 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8757
52bedd34
AM
87582011-10-28 Alan Mackenzie <acm@muc.de>
8759
db22a3c2 8760 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8761
7e43cfa5
AM
87622011-10-28 Alan Mackenzie <acm@muc.de>
8763
8764 Amend the handling of c-beginning/end-of-defun in nested declaration
8765 scopes.
8766
52bedd34
AM
8767 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8768 cc-langs.el. Change it to a defcustom.
7e43cfa5 8769
52bedd34
AM
8770 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8771 cc-vars.el.
7e43cfa5 8772
d0af9f77
SM
8773 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8774 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8775
52bedd34 8776 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8777 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8778 (c-widen-to-enclosing-decl-scope): New function.
8779 (c-while-widening-to-decl-block): New macro.
8780 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8781 outward for defun boundaries, and correspondingly change symbol
8782 `respect-enclosure' to `go-outward'.
8783 (c-declaration-limits): Change algorithm to report only the "innermost"
8784 defun's boundaries.
8785
1a2ce9ee
DD
87862011-10-28 Deniz Dogan <deniz@dogan.se>
8787
8788 * net/rcirc.el (rcirc-mode): Use hard newlines.
8789
bc97a826
AM
87902011-10-28 Alan Mackenzie <acm@muc.de>
8791
8792 Amend to indent and fontify macros "which include their own semicolon"
8793 correctly, using the "virtual semicolon" mechanism.
8794
52bedd34 8795 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8796
d0af9f77 8797 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8798 Recode to scan one line at a time rather than having \n and \r
58179cce 8799 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8800 (c-forward-label): Amend for virtual semicolons.
58179cce 8801 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8802
52bedd34
AM
8803 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8804 of the new C macros.
bc97a826 8805
52bedd34 8806 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8807 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8808 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8809 (c-opt-cpp-macro-define): Make into a full language variable.
8810 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8811 AWK Mode (including \n, \r) removed, no longer needed.
8812
d0af9f77
SM
8813 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8814 Invoke c-make-macro-with-semi-re.
bc97a826 8815
52bedd34
AM
8816 * progmodes/cc-vars.el (c-macro-with-semi-re):
8817 (c-macro-names-with-semicolon): New variables.
58179cce 8818 (c-make-macro-with-semi-re): New function.
bc97a826 8819
7a6c0941
SM
88202011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8821
8822 * vc/log-edit.el: Fill empty field rather than adding new one.
8823 (log-edit-add-field): New function.
8824 (log-edit-insert-changelog): Use it.
8825
b0c4cdcf
ML
88262011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8827
8828 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8829
ee1f1da9
SM
88302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8833 (gdb--check-interpreter): New function.
8834 (gdb): Use it.
8835
51bc5f8b
GM
88362011-10-27 Glenn Morris <rgm@gnu.org>
8837
416a2c45
GM
8838 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8839 (least-positive-float, least-negative-float)
8840 (least-positive-normalized-float, least-negative-normalized-float)
8841 (float-epsilon, float-negative-epsilon):
8842 Remove unnecessary declarations.
8843
8844 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8845 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8846 (least-positive-float, least-negative-float)
8847 (least-positive-normalized-float, least-negative-normalized-float)
8848 (float-epsilon, float-negative-epsilon): Add doc-strings,
8849 based on those in cl.texi.
8850
51bc5f8b
GM
8851 * files.el (set-visited-file-name): If the major-mode changed,
8852 reload the local variables. (Bug#9796)
8853
15de15c6
CY
88542011-10-27 Chong Yidong <cyd@gnu.org>
8855
8856 * subr.el (change-major-mode-after-body-hook): New hook.
8857 (run-mode-hooks): Run it.
8858
ee1f1da9
SM
8859 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8860 Use change-major-mode-before-body-hook.
15de15c6
CY
8861
8862 * simple.el (fundamental-mode):
8863 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8864 change introducing fundamental-mode-hook.
8865
5430d399
JB
88662011-10-26 Juanma Barranquero <lekktu@gmail.com>
8867
acc825c5 8868 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8869
ad74a69e
MA
88702011-10-26 Michael Albinus <michael.albinus@gmx.de>
8871
8872 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8873 tramp.el explicitly. (Bug#7583)
ad74a69e 8874
71d4c2a5
SM
88752011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * progmodes/octave-mod.el:
8878 * progmodes/octave-inf.el: Update maintainer.
8879
b1f6fa26
CY
88802011-10-26 Chong Yidong <cyd@gnu.org>
8881
8882 * subr.el (with-wrapper-hook): Rewrite doc.
8883
3f04efd6
MA
88842011-10-25 Michael Albinus <michael.albinus@gmx.de>
8885
8886 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8887 filenames "/method:foo:". (Bug#9793)
3f04efd6 8888
410488d3
SM
88892011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8890
8891 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8892 (bug#9865).
8893
c1ebb47e
GM
88942011-10-24 Glenn Morris <rgm@gnu.org>
8895
8896 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8897
7f5c46c7
MA
88982011-10-24 Michael Albinus <michael.albinus@gmx.de>
8899
8900 * notifications.el: Add the requirement of a running D-Bus session
8901 bus to the Commentary.
8902
db2440b6
JL
89032011-10-24 Juri Linkov <juri@jurta.org>
8904
8905 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8906 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8907 (Bug#9364)
8908
feecf435
JL
89092011-10-24 Juri Linkov <juri@jurta.org>
8910
8911 * info.el (Info-following-node-name-re): Add newline to the list
8912 of allowed characters for leading space. (Bug#9824)
8913
a3839de2
SM
89142011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8915
acc825c5
SM
8916 * progmodes/octave-inf.el (inferior-octave-mode-map):
8917 Fix C-c C-h binding.
a3839de2
SM
8918 * progmodes/octave-mod.el (octave-help): Remove.
8919
09388e76
MA
89202011-10-23 Michael Albinus <michael.albinus@gmx.de>
8921
8922 Sync with Tramp 2.2.3.
8923
8924 * net/tramp-cache.el (top): Pacify byte-compiler using
8925 `init-file-user' and `site-run-file'.
8926
8927 * net/trampver.el: Update release number.
8928
86c60681
CY
89292011-10-23 Chong Yidong <cyd@gnu.org>
8930
8931 * files.el (toggle-read-only): Remove obsolete comment about
8932 version control.
8933
8934 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8935 for toggle-read-only. Note that this hasn't called vc-next-action
8936 since 2008-05-02, though it wasn't documented at the time.
8937
a3839de2
SM
8938 * vc/ediff-init.el (ediff-toggle-read-only-function):
8939 Use toggle-read-only.
86c60681 8940
cd5495ff
AM
89412011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8942
8943 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8944 of c-parse-state.
8945
00b77525 8946 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8947 correct faulty logical expression.
cd5495ff
AM
8948 (c-parse-state-state, c-record-parse-state-state):
8949 (c-replay-parse-state-state): New defvar/defuns.
8950 (c-debug-parse-state): Use new functions.
8951
42ee24ed
MR
89522011-10-22 Martin Rudalics <rudalics@gmx.at>
8953
8954 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8955 last fix. Use window-in-direction correctly.
42ee24ed 8956
a7dee7e7
CY
89572011-10-21 Chong Yidong <cyd@gnu.org>
8958
8959 * progmodes/idlwave.el (idlwave-mode):
8960 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8961 require-final-newline; that's done in prog-mode.
8962 Suggested by Stefan Monnier.
a7dee7e7 8963
e07b9a6d
MR
89642011-10-21 Martin Rudalics <rudalics@gmx.at>
8965
8966 * mouse.el (mouse-drag-window-above)
8967 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8968 (mouse-drag-mode-line-1, mouse-drag-header-line)
8969 (mouse-drag-vertical-line-rightward-window): Remove.
8970 (mouse-drag-line): New function.
8971 (mouse-drag-mode-line, mouse-drag-header-line)
8972 (mouse-drag-vertical-line): Call mouse-drag-line.
8973 * window.el (window-at-side-p, windows-at-side): New functions.
8974
7e1361d9
UM
89752011-10-21 Ulrich Mueller <ulm@gentoo.org>
8976
8977 * tar-mode.el (tar-grind-file-mode):
8978 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8979
30fcaf3a
CY
89802011-10-21 Chong Yidong <cyd@gnu.org>
8981
8982 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8983 * progmodes/vera-mode.el (vera-mode):
8984 Use mode-require-final-newline.
30fcaf3a 8985
516eddb0
GM
89862011-10-20 Glenn Morris <rgm@gnu.org>
8987
db22a3c2 8988 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8989
10d5f513
CS
89902011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8991
8992 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8993
ac6c8639
CY
89942011-10-20 Chong Yidong <cyd@gnu.org>
8995
8996 * emulation/cua-base.el (cua-mode):
8997 * mail/footnote.el (footnote-mode):
8998 * mail/mailabbrev.el (mail-abbrevs-mode):
8999 * net/xesam.el (xesam-minor-mode):
9000 * progmodes/bug-reference.el (bug-reference-mode):
9001 * progmodes/cap-words.el (capitalized-words-mode):
9002 * progmodes/compile.el (compilation-minor-mode)
9003 (compilation-shell-minor-mode):
9004 * progmodes/gud.el (gud-tooltip-mode):
9005 * progmodes/hideif.el (hide-ifdef-mode):
9006 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9007 * progmodes/subword.el (subword-mode):
9008 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9009 * progmodes/which-func.el (which-function-mode):
9010 * term/tvi970.el (tvi970-set-keypad-mode):
9011 * term/vt100.el (vt100-wide-mode):
9012 * textmodes/flyspell.el (flyspell-mode):
9013 * textmodes/ispell.el (ispell-minor-mode):
9014 * textmodes/nroff-mode.el (nroff-electric-mode):
9015 * textmodes/paragraphs.el (use-hard-newlines):
9016 * textmodes/refill.el (refill-mode):
9017 * textmodes/reftex.el (reftex-mode):
9018 * textmodes/rst.el (rst-minor-mode):
9019 * textmodes/sgml-mode.el (html-autoview-mode)
9020 (sgml-electric-tag-pair-mode):
9021 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9022 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9023 * emulation/crisp.el (crisp-mode):
9024 * emacs-lisp/eldoc.el (eldoc-mode):
9025 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9026 minor mode behavior.
9027
aa42ab43
JL
90282011-10-19 Juri Linkov <juri@jurta.org>
9029
9030 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9031 the list of hard-coded chars with escape-glyph face.
9032
89400f1d
SM
90332011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9034
9035 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9036
305c07f6
MA
90372011-10-19 Michael Albinus <michael.albinus@gmx.de>
9038
9039 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9040 running process.
9041
13754b54
GM
90422011-10-19 Glenn Morris <rgm@gnu.org>
9043
9044 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9045 Ignore ignored files. (Bug#9726)
9046
06e21633
CY
90472011-10-19 Chong Yidong <cyd@gnu.org>
9048
9049 Doc fix for minor modes, stating that an omitted argument enables
9050 the mode unconditionally when called from Lisp.
9051
9052 * abbrev.el (abbrev-mode):
9053 * allout.el (allout-mode):
9054 * autoinsert.el (auto-insert-mode):
9055 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9056 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9057 (global-auto-revert-mode):
9058 * battery.el (display-battery-mode):
9059 * composite.el (global-auto-composition-mode)
9060 (auto-composition-mode):
9061 * delsel.el (delete-selection-mode):
9062 * desktop.el (desktop-save-mode):
9063 * dired-x.el (dired-omit-mode):
9064 * dirtrack.el (dirtrack-mode):
9065 * doc-view.el (doc-view-minor-mode):
9066 * double.el (double-mode):
9067 * electric.el (electric-indent-mode, electric-pair-mode):
9068 * emacs-lock.el (emacs-lock-mode):
9069 * epa-hook.el (auto-encryption-mode):
9070 * follow.el (follow-mode):
9071 * font-core.el (font-lock-mode):
9072 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9073 * help.el (temp-buffer-resize-mode):
9074 * hilit-chg.el (highlight-changes-mode)
9075 (highlight-changes-visible-mode):
9076 * hi-lock.el (hi-lock-mode):
9077 * hl-line.el (hl-line-mode, global-hl-line-mode):
9078 * icomplete.el (icomplete-mode):
9079 * ido.el (ido-everywhere):
9080 * image-file.el (auto-image-file-mode):
9081 * image-mode.el (image-minor-mode):
9082 * iswitchb.el (iswitchb-mode):
9083 * jka-cmpr-hook.el (auto-compression-mode):
9084 * linum.el (linum-mode):
9085 * longlines.el (longlines-mode):
9086 * master.el (master-mode):
9087 * mb-depth.el (minibuffer-depth-indicate-mode):
9088 * menu-bar.el (menu-bar-mode):
9089 * minibuf-eldef.el (minibuffer-electric-default-mode):
9090 * mouse-sel.el (mouse-sel-mode):
9091 * msb.el (msb-mode):
9092 * mwheel.el (mouse-wheel-mode):
9093 * outline.el (outline-minor-mode):
9094 * paren.el (show-paren-mode):
9095 * recentf.el (recentf-mode):
9096 * reveal.el (reveal-mode, global-reveal-mode):
9097 * rfn-eshadow.el (file-name-shadow-mode):
9098 * ruler-mode.el (ruler-mode):
9099 * savehist.el (savehist-mode):
9100 * scroll-all.el (scroll-all-mode):
9101 * scroll-bar.el (scroll-bar-mode):
9102 * server.el (server-mode):
9103 * shell.el (shell-dirtrack-mode):
9104 * simple.el (auto-fill-mode, transient-mark-mode)
9105 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9106 (line-number-mode, column-number-mode, size-indication-mode)
9107 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9108 * strokes.el (strokes-mode):
9109 * time.el (display-time-mode):
9110 * t-mouse.el (gpm-mouse-mode):
9111 * tool-bar.el (tool-bar-mode):
9112 * tooltip.el (tooltip-mode):
9113 * type-break.el (type-break-mode-line-message-mode)
9114 (type-break-query-mode):
9115 * view.el (view-mode):
9116 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9117 (global-whitespace-mode, global-whitespace-newline-mode):
9118 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9119
a3839de2
SM
9120 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9121 Fix autogenerated docstring.
06e21633 9122
5214e501
JL
91232011-10-19 Juri Linkov <juri@jurta.org>
9124
9125 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9126 by checking environment variables "DESKTOP_SESSION" and
9127 "XDG_CURRENT_DESKTOP". (Bug#9779)
9128
195f8db9
JL
91292011-10-19 Juri Linkov <juri@jurta.org>
9130
9131 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9132 (browse-url-chromium-program, browse-url-chromium-arguments):
9133 New defcustoms.
9134 (browse-url-default-browser): Check for `browse-url-chromium' and
9135 call `browse-url-chromium-program'.
9136 (browse-url-chromium): New command. (Bug#9779)
9137
343a34ff
JB
91382011-10-18 Juanma Barranquero <lekktu@gmail.com>
9139
9140 * facemenu.el (list-colors-duplicates): On Windows, detect more
9141 duplicates by assuming that only colors matching "^System" are
9142 special "system colors". (Bug#9722)
9143
6978a151
SM
91442011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9145
9146 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9147 to distinguish the author from the committer.
9148
6a80b297
MA
91492011-10-18 Michael Albinus <michael.albinus@gmx.de>
9150
9151 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9152
b31a5677
JK
91532011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9154
9155 * international/mule.el (sgml-html-meta-auto-coding-function):
9156 Add support for detecting encoding in HTML5 specified only as
9157 <meta charset="UTF-8">. Implementation just makes http-equiv and
9158 content-type parts from HTML4 encoding string optional. (Bug#9716)
9159
80c6d77f
GM
91602011-10-18 Glenn Morris <rgm@gnu.org>
9161
9162 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9163
08b0fee8
CY
91642011-10-18 Chong Yidong <cyd@gnu.org>
9165
9166 * faces.el (cursor): Doc fix.
9167
67e729a5
CY
91682011-10-17 Chong Yidong <cyd@gnu.org>
9169
9170 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9171
343a34ff 91722011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9173
9174 * dirtrack.el (dirtrack): Support shell buffers with path
9175 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9176
0bc06380
TZ
91772011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9178
9179 * json.el: Bump version to 1.3 and note change in History.
9180 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9181
8b79f3e0
SM
91822011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9183
5a7c536b
SM
9184 * comint.el (comint-insert-input, comint-send-input)
9185 (comint-get-old-input-default, comint-backward-matching-input)
9186 (comint-next-prompt): Use nil instead of `input' for field property of
9187 past user input (bug#114).
9188
96a8a0df
SM
9189 * minibuffer.el (completion--replace): Inherit surrounding properties
9190 (bug#114).
9191 (minibuffer-complete-and-exit): Use it.
9192
8b79f3e0
SM
9193 * comint.el (comint--table-subvert): Quote the all-completions output
9194 (bug#9160).
9195
b8f7ff0d
MR
91962011-10-17 Martin Rudalics <rudalics@gmx.at>
9197
8b79f3e0 9198 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9199
b8f7ff0d 9200 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9201 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9202 entries and separate them from frame entries.
9203
c235b555
GM
92042011-10-15 Glenn Morris <rgm@gnu.org>
9205
9206 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9207 Doc fixes.
9208
6bbfa6e1
CY
92092011-10-15 Chong Yidong <cyd@stupidchicken.com>
9210
8b79f3e0
SM
9211 * net/network-stream.el (network-stream-open-starttls):
9212 Improve detection of failure due to lack of TLS support.
ec5c990d 9213
6bbfa6e1
CY
9214 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9215 putting the input text in front and in bold.
9216
98488977
SM
92172011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9218
3d1337be
SM
9219 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9220
ee0b45e4
SM
9221 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9222 empty buffer.
9223
98488977
SM
9224 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9225 unread-command-events rather than pushing yet-another event.
9226
186f4720
EZ
92272011-10-14 Eli Zaretskii <eliz@gnu.org>
9228
9229 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9230 the explanation of the possible choices. Make the options passed
9231 to completing-read shorter.
9232
8b7a997c
AM
92332011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9234
9235 * textmodes/flyspell.el (flyspell-large-region): Make sure
9236 extended character mode is used if defined (Bug#1339).
9237
12587bbb
EZ
92382011-10-13 Eli Zaretskii <eliz@gnu.org>
9239
9240 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9241 character info for LRE, LRO, RLE, and RLO characters by appending
9242 an invisible PDF.
12587bbb 9243
bad41229
SM
92442011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9245
9246 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9247 even in case of error; add debug spec; simplify data flow.
9248 (with-timeout-handler): Remove.
9249
28dbc92f
MA
92502011-10-12 Michael Albinus <michael.albinus@gmx.de>
9251
9252 Fix Bug#6019, Bug#9315.
9253
9254 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9255 complete `buffer-file-name', the local file name part could look
9256 remotely (for example on VMS).
9257
9258 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9259 `tramp-run-real-handler'.
9260 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9261 already quoted by '"'.
9262
9263 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9264 Let `file-name-handler-alist' be nil, the local file name part
9265 could look remotely (for example on VMS).
9266
e1b0b23a
SM
92672011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9268
9269 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9270 from here...
9271 (flyspell-post-command-hook): ...to here.
9272
a120bde9
SM
92732011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9274
9275 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9276 if not needed.
9277 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9278 using completion. Protect against "slow" callers.
9279 Remove the "message hack".
9280
7ce7717b
JL
92812011-10-11 Juri Linkov <juri@jurta.org>
9282
9283 * isearch.el (isearch-lazy-highlight-word): New variable.
9284 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9285 Use it. (Bug#9727)
9286
c02ee9d6
GM
92872011-10-11 Glenn Morris <rgm@gnu.org>
9288
9289 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9290 like f90-previous-statement does.
9291
93e616fd 92922011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9293
1f190e73 9294 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9295 only in interactive use, to avoid error.
9296
af7b6078
SM
92972011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * minibuffer.el (completion-file-name-table): Fix last change,
9300 i.e. ignore normal errors but not the other ones.
9301
0563dae9
MR
93022011-10-10 Martin Rudalics <rudalics@gmx.at>
9303
9304 * window.el (special-display-buffer-names)
9305 (special-display-regexps): Remove some remnants of earlier
9306 changes from doc-strings.
366ca7f3
MR
9307 (quit-windows-on): New function.
9308
9309 * vc/vc.el (vc-revert, vc-rollback):
9310 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9311 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9312 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9313
49677495
MR
93142011-10-09 Martin Rudalics <rudalics@gmx.at>
9315
9316 * window.el (frame-auto-hide-function): Add version tag.
9317 (Bug#9699)
9318
56f2d1e1
MA
93192011-10-09 Michael Albinus <michael.albinus@gmx.de>
9320
9321 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9322 condition.
9323
112a6592
LL
93242011-10-09 Leo Liu <sdl.web@gmail.com>
9325
9326 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9327 (Bug#9701)
9328
0812589b
GM
93292011-10-08 Glenn Morris <rgm@gnu.org>
9330
9331 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9332 before the first code statement zero indent. (Bug#9690)
9333
b2b0776e
CY
93342011-10-08 Chong Yidong <cyd@stupidchicken.com>
9335
9336 * simple.el (count-words-region): Always count in the region.
9337 Report the number of lines and characters too.
9338 (count-words): New command, which counts in the buffer if the
9339 region is inactive, as count-words-region used to.
9340 (count-words--message): New function. Handle plurals.
9341 (count-lines-region): Make it an alias for count-words-region.
9342
9343 * bindings.el (esc-map): Replace count-lines-region with
9344 count-words-region.
9345
c557cd6b
MR
93462011-10-08 Martin Rudalics <rudalics@gmx.at>
9347
9348 * window.el (window--delete): Delete dedicated frame
9349 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9350 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9351
61a57ef4 93522011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9353
3a7d293b 9354 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9355
c3833279
CY
93562011-10-07 Chong Yidong <cyd@stupidchicken.com>
9357
9358 * bindings.el ([M-left],[M-right]): Bind to left-word and
9359 right-word respectively.
9360
21ce8245
GM
93612011-10-07 Glenn Morris <rgm@gnu.org>
9362
9363 * cus-start.el (debug-on-quit): Fix custom type.
9364
6d823bb2
LMI
93652011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9366
0181e193
LMI
9367 * subr.el (define-key-after): Clarify that the function is not
9368 useful for non-menu keymaps.
9369
6d823bb2
LMI
9370 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9371
8e3459ce 93722011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9373
21ce8245 9374 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9375 in current minibuffer (Fix bug with recursive minibuffers).
9376
a1c2d21e
CY
93772011-10-06 Chong Yidong <cyd@stupidchicken.com>
9378
9379 * progmodes/gdb-mi.el (gdb): Doc fix.
9380
5a4cf282
MR
93812011-10-05 Martin Rudalics <rudalics@gmx.at>
9382
9383 * window.el (frame-auto-hide-function): New option replacing
9384 frame-auto-delete. Suggested by Stefan Monnier.
9385 (window--delete): Call frame-auto-hide-function instead of
9386 investigating frame-auto-delete.
c96111ea
MR
9387 (window-point-1, set-window-point-1): New functions.
9388 (window-in-direction, record-window-buffer, window-state-get-1)
9389 (display-buffer-record-window): Use window-point-1 instead of
9390 window-point.
9391 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9392
9854542e
SM
93932011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9394
9395 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9396
8943cfb0
GM
93972011-10-05 Glenn Morris <rgm@gnu.org>
9398
9399 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9400 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9401
647ab967
LL
94022011-10-05 Leo Liu <sdl.web@gmail.com>
9403
9404 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9405 works with buffer object.
9406
3ddfbced
SM
94072011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9408
9409 * mpc.el (mpc-tool-bar-map): Add labels.
9410
bdfa5dd2
GM
94112011-10-04 Glenn Morris <rgm@gnu.org>
9412
9413 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9414
0e2070b5
MR
94152011-10-04 Martin Rudalics <rudalics@gmx.at>
9416
9417 * window.el (window--delete): New function.
9418 (frame-auto-delete): Resuscitate option.
9419 (bury-buffer, replace-buffer-in-windows)
9420 (quit-window): Rewrite using window--delete.
9421 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9422 Pass display-buffer-mark-dedicated to window--display-buffer-2
9423 (Bug#9639).
9424
3dc61a09
SM
94252011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9426
915a9b64
SM
9427 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9428 returns a list (bug#9554). Add remote file name completion.
9429 * comint.el (comint--table-subvert): Curry and get quote&unquote
9430 functions as arguments.
9431 (comint--complete-file-name-data): Adjust call accordingly.
9432 * pcomplete.el (pcomplete--table-subvert): Remove.
9433 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9434
3dc61a09
SM
9435 * minibuffer.el (completion-table-case-fold): Use currying.
9436 (completion--styles-type, completion--cycling-threshold-type):
9437 New constants.
9438 (completion-styles, completion-category-overrides)
9439 (completion-cycle-threshold): Use them.
9440 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9441 completion-table-case-fold.
9442
8ea0a993
SB
94432011-10-03 Stephen Berman <stephen.berman@gmx.net>
9444
9445 * minibuffer.el (completion-category-overrides): Fix type of styles
9446 and add more user friendly tags (bug#9660).
9447
8c24b7f6
SM
94482011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9449
9450 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9451 (mule-input-method-string): New widget.
9452 (default-input-method, language-info-custom-alist): Use it.
9453
428fe61a
SM
94542011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9455
32c1fffd
SM
9456 * pcomplete.el: Require comint.
9457 (pcomplete--common-suffix): Remove.
9458 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9459 (pcomplete--table-subvert): Sync with comint--table-subvert.
9460 (pcomplete--entries): Use comint-completion-file-name-table.
9461 * comint.el (comint-unquote-filename): Simplify.
9462 (comint-completion-file-name-table): New function (bug#9616).
9463 (comint--complete-file-name-data): Use it.
9464
428fe61a
SM
9465 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9466 (pcmpl-gnu-tar-buffer): Remove.
9467 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9468 around. Make sure pcomplete-suffix-list is only changed temporarily.
9469 Don't look inside the tar's file if it's too large.
428fe61a 9470
04c52e2f
CY
94712011-10-01 Chong Yidong <cyd@stupidchicken.com>
9472
ce3cefcc
CY
9473 * cus-edit.el (custom-mode-map):
9474 * epa.el (epa-key-list-mode-map):
9475 * man.el (Man-mode-map):
9476 * startup.el (splash-screen-keymap):
9477 * simple.el (special-mode-map): Use scroll-up-command and
9478 scroll-down-command.
9479
9480 * progmodes/idlw-help.el (idlwave-help-mode-map):
9481 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9482 * net/newst-plainview.el (newsticker-mode-map):
9483 * emulation/ws-mode.el (wordstar-mode-map):
9484 * emulation/vi.el (vi-com-map):
9485 * calc/calc-graph.el (calc-graph-show-dumb):
9486 * term/sun.el (terminal-init-sun):
9487 * term/ns-win.el (global-map):
9488 * progmodes/grep.el (grep-mode-map):
9489 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9490 * mail/rmail.el (rmail-mode-map):
9491 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9492
04c52e2f
CY
9493 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9494 custom-safe-themes as special.
9495
79adf8c8
JD
94962011-10-01 Julien Danjou <julien@danjou.info>
9497
9498 * notifications.el (notifications-notify): Fix docstring.
9499
63bd50d3
PS
95002011-10-01 Per Starbäck <per@starback.se>
9501
9502 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9503
199e4c7e
MR
95042011-09-30 Martin Rudalics <rudalics@gmx.at>
9505
9506 * startup.el (command-line-1): Fix last fix by inserting
9507 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9508 (Bug#9605) and (Bug#9636)
199e4c7e 9509
fe5f08dd
EZ
95102011-09-29 Eli Zaretskii <eliz@gnu.org>
9511
9512 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9513 window is hscrolled, move by logical lines. (Bug#9607)
9514 (line-move-visual): Update the doc string to the above effect.
9515
b5516bbd
MR
95162011-09-29 Martin Rudalics <rudalics@gmx.at>
9517
ccee00c0
MR
9518 * window.el (display-buffer-record-window): When WINDOW is the
9519 selected window use `point' instead of `window-point'. (Bug#9626)
9520
b5516bbd
MR
9521 * startup.el (command-line-1): Use insert-before-markers when
9522 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9523
b5516bbd
MR
9524 * help.el (help-window): Remove variable.
9525
52aa0014
GM
95262011-09-29 Glenn Morris <rgm@gnu.org>
9527
9528 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9529
df9a7357
JB
95302011-09-29 Juanma Barranquero <lekktu@gmail.com>
9531
9532 * descr-text.el (describe-char-categories): Accept category
9533 descriptions more than one line long.
9534
a8406c20
SM
95352011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9536
88d9610c
SM
9537 * simple.el (delete-trailing-whitespace): Fix last change.
9538
a5daf810
SM
9539 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9540 Don't confuse "y => 3" as the beginning of a `y' operation.
9541
a8406c20
SM
9542 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9543 object has more than 4 slots (bug#9613).
9544
a239d4e9
JB
95452011-09-28 Juanma Barranquero <lekktu@gmail.com>
9546
9547 * subr.el (with-output-to-temp-buffer):
9548 * net/quickurl.el (quickurl, quickurl-browse-url):
9549 Fix typos in docstrings.
9550
693fbdb6
EZ
95512011-09-27 Eli Zaretskii <eliz@gnu.org>
9552
9553 * minibuffer.el (completion-styles)
9554 (completion-category-overrides): Cross reference each other in doc
9555 strings.
9556
8b457e28
GM
95572011-09-27 Glenn Morris <rgm@gnu.org>
9558
9559 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9560 to split-string. (Bug#9606)
9561
85a16208
LMI
95622011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9563
9564 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9565 (bug#9615).
9566
502f9ebd
CY
95672011-09-27 Chong Yidong <cyd@stupidchicken.com>
9568
9569 * emacs-lisp/package.el (list-packages): Fix echo area message.
9570
7690bdea
LL
95712011-09-27 Leo Liu <sdl.web@gmail.com>
9572
9573 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9574
e2ee6f30
MA
95752011-09-25 Michael Albinus <michael.albinus@gmx.de>
9576
9577 * net/dbus.el (dbus-unregister-object): Don't release services for
9578 registered signals. (Bug#9581)
9579
f3f98342
TZ
95802011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9581
9582 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9583 function that picks between cfengine 2 and 3 support
9584 automatically. Update docs accordingly.
9585
dd7aa8dd
KH
95862011-09-22 Kenichi Handa <handa@m17n.org>
9587
9588 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9589 ZERO.
9590 (indian-itrans-v5-table-for-tamil): New variable.
9591 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9592
3f2b07f8
KM
95932011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9594
9595 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9596 that's true if the current command involved collapsing of text.
9597 It's reset to false at the beginning of the next command.
9598 (allout-post-command-business): Move the cursor to the beginning
9599 of entry if the cursor is hidden and collapsing activity just
9600 happened.
9601
371d6a61
CY
96022011-09-24 Chong Yidong <cyd@stupidchicken.com>
9603
9604 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9605 tracking (Bug#9541).
9606
2ac2721a
UJ
96072011-09-24 Ulf Jasper <ulf.jasper@web.de>
9608
9609 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9610 (newsticker-show-news): Automatically load html rendering package
9611 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9612 because w3m-fill-column is let-bound" and the error "Symbol's value
9613 as variable is void: w3m-fill-column".
2ac2721a 9614
fac7ae53
MA
96152011-09-24 Michael Albinus <michael.albinus@gmx.de>
9616
9617 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9618 Release services only if they are defined. (Bug#9581)
9619
e08b633b
RS
96202011-09-23 Richard Stallman <rms@gnu.org>
9621
e488d29c
RS
9622 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9623 distinguish start of paragraph from start of its text.
9624
19c38752
RS
9625 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9626
e08b633b
RS
9627 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9628 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9629 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9630
0a39f27e
AS
96312011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9632
9633 * international/mule-diag.el (mule-diag): Insert a newline after
9634 each fontset description.
9635
db4e950d
SM
96362011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9637
9638 * simple.el (delete-trailing-whitespace):
9639 Document last change; simplify.
9640
eca3f3ea
PW
96412011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9642
d68e189a
PW
9643 * simple.el (delete-trailing-whitespace): Also delete
9644 extra newlines at the end of the buffer.
9645
eca3f3ea
PW
9646 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9647 (picture-newline): Use forward-line so as to ignore fields.
9648
01c157cc
SM
96492011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * subr.el (with-wrapper-hook): Fix edebug spec.
9652
022de23e
LMI
96532011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9654
9655 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9656 (bug#4538).
9657
91683089
MA
96582011-09-23 Michael Albinus <michael.albinus@gmx.de>
9659
eca3f3ea
PW
9660 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9661 Fix nasty bug using wrong cached values.
91683089 9662
5bdd6fa4
AM
96632011-09-23 Alan Mackenzie <acm@muc.de>
9664
9665 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9666
97adfb97
CY
96672011-09-23 Chong Yidong <cyd@stupidchicken.com>
9668
9669 * window.el (pop-to-buffer): Ensure right window is selected if we
9670 chose another frame.
9671
d4ef2b50
EZ
96722011-09-22 Eli Zaretskii <eliz@gnu.org>
9673
9674 * simple.el (what-cursor-position): Use get-char-property-change
9675 and next-single-char-property-change, to be able to show display
9676 properties that come from overlays as well as text properties.
9677
72258fe5
CY
96782011-09-22 Chong Yidong <cyd@stupidchicken.com>
9679
9680 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9681
9682 * cmuscheme.el (run-scheme, switch-to-scheme):
9683 * cus-edit.el (customize-group, custom-buffer-create)
9684 (customize-browse):
9685 * info.el (info):
9686 * shell.el (shell):
9687 * mail/sendmail.el (mail):
9688 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9689
8f098516
RS
96902011-09-22 Richard Stallman <rms@gnu.org>
9691
9692 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9693 move back only to line beg, don't move back over blank lines.
9694
e74f1bb6
MA
96952011-09-22 Michael Albinus <michael.albinus@gmx.de>
9696
9697 * files.el (copy-directory): Set directory attributes only in case
9698 they could be retrieved from the source directory. (Bug#9565)
9699
bfeef8b6
DK
97002011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9701
9702 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9703 (hs-find-block-beginning, hs-hide-level-recursive):
9704 Ignore strings as well as comments. (Bug#9502)
9705
7e423bb8
AS
97062011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9707
9708 * progmodes/sql.el (sql-comint-postgres):
9709 Convert port number to a string. (Bug#9566)
9710
b4d72fcf
MR
97112011-09-22 Martin Rudalics <rudalics@gmx.at>
9712
9713 * window.el (quit-window): Undedicate window when switching to
9714 previous buffer. Reported by Thierry Volpiatto
9715 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9716 (special-display-popup-frame): When popping up a new frame reset
9717 its previous buffers to nil. Simplify code.
b4d72fcf 9718
a7b88dc6
MA
97192011-09-21 Michael Albinus <michael.albinus@gmx.de>
9720
9721 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9722 and process filter, as done also in `shell-command'.
9723
cf4eacfd
MR
97242011-09-21 Martin Rudalics <rudalics@gmx.at>
9725
eca3f3ea 9726 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9727 Call set-window-start with NOFORCE argument t.
9728 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9729 (quit-window): Reword doc-string. Handle new format of
9730 quit-restore parameter. Don't delete window if it has a
9731 previous buffer we can show instead of the present one.
9732 (display-buffer-record-window): Rewrite using a new format for
9733 the quit-restore window parameter
9734 (special-display-popup-frame, display-buffer-same-window)
9735 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9736 (display-buffer-pop-up-window, display-buffer-use-some-window):
9737 Adapt symbol passed to display-buffer-record-window.
9738 * help.el (help-window-setup): Handle new format of quit-restore
9739 parameter.
9740
8d28cb95
SM
97412011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9742
94ab793f
SM
9743 * faces.el (face-list): Fix docstring (bug#9564).
9744
8d28cb95
SM
9745 * window.el (display-buffer--action-function-custom-type):
9746 Don't include internal functions in the Custom interface.
9747
3820edeb
JL
97482011-09-20 Juri Linkov <juri@jurta.org>
9749
9750 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9751 (Info-forward-node, Info-backward-node, Info-next-preorder)
9752 (Info-last-preorder): Use it. (Bug#9528)
9753
5147931d
JL
97542011-09-20 Juri Linkov <juri@jurta.org>
9755
9756 * info.el (Info-last-preorder): Visit last menu item only when
9757 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9758
cf499a1a
JD
97592011-09-20 Julien Danjou <julien@danjou.info>
9760
9761 * password-cache.el (password-cache-remove): Remove entries even if the
9762 value is nil, so that password with a nil value (negative caching) is
9763 possible to invalidate.
9764
f84e2fe2
LM
97652011-09-20 Lawrence Mitchell <wence@gmx.li>
9766
9767 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9768 all whitespace around breakpoint. (Bug#9553)
9769 (f90-find-breakpoint): Only break at whitespace inside a comment.
9770
78054a46
SM
97712011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9772
9773 * minibuffer.el (completion-file-name-table): Keep track of errors.
9774 (completion-table-with-predicate): Handle the case where pred1 is nil.
9775 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9776
345083b2
SM
97772011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9778
e24e27be
SM
9779 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9780 (debugger-return-value): Signal an error if the debugging context does
9781 not await any return value.
9782
345083b2
SM
9783 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9784 * image-mode.el (image-toggle-display-text)
9785 (image-toggle-display-image): Stay away from evil `intangible'.
9786
08d355e3
LL
97872011-09-19 Leo Liu <sdl.web@gmail.com>
9788
9789 * replace.el (occur-revert-arguments): Make it permanent-local.
9790 (occur-mode): Don't call font-lock-defontify.
9791
f01da43f
CY
97922011-09-19 Chong Yidong <cyd@stupidchicken.com>
9793
9794 * net/ldap.el (ldap-search-internal): Don't push empty search
9795 result (Bug#9508).
9796
b6072fa6
SM
97972011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9798
9799 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9800
443d6696
MA
98012011-09-19 Michael Albinus <michael.albinus@gmx.de>
9802
9803 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9804 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9805
7cc6e154
JL
98062011-09-18 Juri Linkov <juri@jurta.org>
9807
9808 * buff-menu.el (Buffer-menu-mode-map):
9809 * dired.el (dired-mode-map):
9810 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9811 (lisp-interaction-mode-map):
9812 * emacs-lisp/package.el (package-menu-mode-map):
9813 * epa.el (epa-key-list-mode-map):
9814 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9815 (menu-bar-options-menu):
9816 * outline.el (outline-mode-menu-bar-map):
9817 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9818 * vc/vc-dir.el (vc-dir-menu-map):
9819 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9820 Capitalize non-function content words in menu item strings.
9821
9822 * dired.el (dired-mode-map): Add menu item for
9823 `image-dired-dired-toggle-marked-thumbs'.
9824
80302a81
JL
98252011-09-18 Juri Linkov <juri@jurta.org>
9826
9827 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9828 to `isearch-case-fold-search' and restore its original value
9829 after the `isearch-mode' call.
9830
46c5cf66
JL
98312011-09-18 Juri Linkov <juri@jurta.org>
9832
9833 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9834 because `zgrep' returns 1 for successful matches (bug#9226).
9835
d18b513b
JL
98362011-09-18 Juri Linkov <juri@jurta.org>
9837
9838 * info.el (Info-extract-menu-node-name): Check the second match
9839 for empty string (second test-case of bug#9528).
9840 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9841 intermediate nodes to the history (first test-case of bug#9528).
9842
72753f87
JL
98432011-09-18 Juri Linkov <juri@jurta.org>
9844
9845 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9846 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9847
c9384295
JL
98482011-09-18 Juri Linkov <juri@jurta.org>
9849
1154d12e
JB
9850 * info.el (Info-file-supports-index-cookies):
9851 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9852 outputs one more line for long file names (bug#4142).
c9384295 9853
d473dce8
CY
98542011-09-18 Chong Yidong <cyd@stupidchicken.com>
9855
9856 * newcomment.el (comment-normalize-vars): If prompting for
9857 comment-start, set comment-start-skip too (Bug#8424).
9858
2176854d
JB
98592011-09-18 Johan Bockgård <bojohan@gnu.org>
9860
9861 * icomplete.el: Fix previous fix of Bug#5849.
9862 (icomplete-mode): Don't set completion-show-inline-help.
9863 (icomplete-minibuffer-setup): Set completion-show-inline-help
9864 locally during icompletion.
9865
3aace4e4
CY
98662011-09-18 Chong Yidong <cyd@stupidchicken.com>
9867
c940224f
CY
9868 * woman.el (woman2-process-escapes): Don't delete unrecognized
9869 escapes (Bug#7843).
9870
3aace4e4
CY
9871 * files.el (inhibit-first-line-modes-regexps): Add image files.
9872 (hack-local-variables-prop-line): Return nil for malformed
9873 prop-lines (Bug#9044).
9874
710dec63
MA
98752011-09-18 Michael Albinus <michael.albinus@gmx.de>
9876
9877 * net/tramp.el (top): Don't require 'shell.
9878 (tramp-methods): Fix docstring.
9879 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9880 Return complete remote file name. Handle "smb" case.
9881 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9882 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9883
9884 * net/tramp-compat.el (top): Require 'shell.
9885
9886 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9887 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9888 `tramp-current-host'.
9889 (tramp-get-remote-tmpdir): Remove.
9890
9891 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9892 `tramp-tmpdir' entries.
9893 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9894 (tramp-smb-handle-file-attributes): Ignore errors.
9895 (tramp-smb-wait-for-output): Check also for process end.
9896
5d5ac8ec
LMI
98972011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9898
9899 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9900 when sending QUIT (bug#9312).
9901
8c0f49f0
CY
99022011-09-17 Chong Yidong <cyd@stupidchicken.com>
9903
9904 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9905 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9906 occur-mode-display-occurrence.
9907 (occur-edit-mode): Add usage message.
9908 (occur-cease-edit): New command.
9909 (occur-after-change-function): Use text properties to find the
9910 position of the prefix text.
9911 (occur-engine): Set stickiness of prefix text properties.
9912
8f1383f7
GM
99132011-09-17 Glenn Morris <rgm@gnu.org>
9914
9915 * progmodes/etags.el (complete-tag):
9916 Fix call to completion-in-region. (Bug#9526)
9917
744ba0e3
JL
99182011-09-17 Juri Linkov <juri@jurta.org>
9919
9920 * textmodes/ispell.el (ispell-word): Add to the error message
9921 the word, ispell program name and current dictionary (bug#9121).
9922 (ispell-tex-arg-end): Capitalize "error" in the error message.
9923
d9bbf400
AS
99242011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9925
9926 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9927 check. (Bug#4251)
9928
8da11505
JL
99292011-09-17 Juri Linkov <juri@jurta.org>
9930
9931 * window.el (window-safe-min-height, window-safe-min-width):
9932 Fix typos (followup to bug#9522).
9933
a91adc7e
SJ
99342011-09-17 Sven Joachim <svenjoac@gmx.de>
9935
9936 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9937
064f328a
EZ
99382011-09-16 Eli Zaretskii <eliz@gnu.org>
9939
9940 * simple.el (line-move): If goal-column is set, move by logical
9941 lines, not by display lines. (Bug#971)
9942 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9943 to reflect the above change.
9944
e69df516
SM
99452011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * image.el (imagemagick-register-types): Use regexp-opt.
9948
cbb0f9ab
CY
99492011-09-15 Chong Yidong <cyd@stupidchicken.com>
9950
9951 * window.el (display-buffer-base-action): Rename from
9952 display-buffer-default-action. Make default value empty.
9953 (display-buffer-overriding-action): Convert to defvar.
9954 (display-buffer-fallback-action): New var.
9955
25322144
CY
99562011-09-15 Chong Yidong <cyd@stupidchicken.com>
9957
9958 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9959 declaration.
9960 (package--add-to-archive-contents): If there is a duplicate entry
9961 with an older version, remove it.
9962 (package-menu-mark-delete, package-menu-mark-install)
9963 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9964 (package-menu-mark-obsolete-for-deletion):
9965 Use package-menu-get-status instead of a regexp search.
25322144
CY
9966 (package-menu-get-status): Use tabulated-list-entry.
9967 (package-menu-mark-upgrades): New command.
d770725a 9968 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9969 (package-menu-execute): Do installation before deletion.
9970 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9971 instead of checking major-mode.
9972 (package-menu--find-upgrades): New function.
9973
7520339c
LMI
99742011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9975
9976 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9977 passwords in the log buffer.
65a046c4
LMI
9978 (smtpmail-process-filter): Update the process marker so that the
9979 "broken by peer" status message is inserted in the right place.
7520339c 9980
d3c30954
SM
99812011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9982
3fe48822
SM
9983 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9984 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9985 bibtex-completion-at-point-function.
9986 (bibtex-completion-at-point-function): Use them.
9987
1b8b3954
SM
9988 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9989
d3c30954
SM
9990 * mpc.el (mpc-constraints-tag-lookup): New function.
9991 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9992 also to browser "album|playlist".
9993
72779976
JL
99942011-09-14 Juri Linkov <juri@jurta.org>
9995
9996 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9997 (isearch-edit-string): Use length of `isearch-string' when
9998 `isearch-fail-pos' returns nil.
9999 (isearch-message): Remove duplicate code and call
10000 `isearch-fail-pos' with arg `t'.
10001
a0bf2bcd
CY
100022011-09-14 Chong Yidong <cyd@stupidchicken.com>
10003
17bb0a2d
CY
10004 * replace.el (occur-mode-goto-occurrence): Don't force using other
10005 window (Bug#9499).
10006
a0bf2bcd
CY
10007 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10008
f678e0b6
MR
100092011-09-14 Martin Rudalics <rudalics@gmx.at>
10010
10011 * window.el (display-buffer-window): Remove.
10012 (display-buffer-record-window): Use help-setup window parameter
10013 instead of variable display-buffer-window.
10014 (display-buffer-function, special-display-buffer-names)
10015 (special-display-function): Mention help-setup parameter instead
10016 of display-buffer-window in doc-string.
d3c30954
SM
10017 * help.el (help-window-setup): New argument help-window.
10018 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10019 Reword some messages.
10020 (with-help-window): Pass window used for displaying the buffer
10021 to help-window-setup. Don't set display-buffer-window.
10022
8e39b2e8
GM
100232011-09-13 Glenn Morris <rgm@gnu.org>
10024
10025 * emacs-lisp/debug.el (debugger-make-xrefs):
10026 Preserve point. (Bug#9462)
10027
85e9c04b
CY
100282011-09-13 Chong Yidong <cyd@stupidchicken.com>
10029
10030 * window.el (window-deletable-p): Use next-frame.
10031
1b36ed6a
MR
100322011-09-13 Martin Rudalics <rudalics@gmx.at>
10033
10034 * window.el (window-auto-delete): Remove.
10035 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10036 dedication and previous buffers.
1b36ed6a
MR
10037 (switch-to-prev-buffer): Don't delete window.
10038 (delete-windows-on): Delete a window's frame if and only if the
10039 window is dedicated.
10040 (replace-buffer-in-windows): Delete buffer's window or frame if
10041 and only if window is dedicated.
10042 (quit-window): Handle quit-restore as before last change.
4d61f28d 10043 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10044
ef8ef9fb
CY
100452011-09-13 Chong Yidong <cyd@stupidchicken.com>
10046
10047 * window.el (window-deletable-p): Never delete the last frame on a
10048 given terminal.
10049
b2cba41e
GM
100502011-09-13 Glenn Morris <rgm@gnu.org>
10051
10052 * help.el (describe-key-briefly): Copy previous standard-output change.
10053
51553db6 100542011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10055
10056 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10057
b7556719
GM
100582011-09-13 Glenn Morris <rgm@gnu.org>
10059
10060 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10061 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10062
64b51947
CY
100632011-09-12 Chong Yidong <cyd@stupidchicken.com>
10064
10065 * dired-aux.el (dired-mark-read-string): Don't return default
10066 value on empty input (Bug#9361).
10067 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10068 Omit initial minibuffer contents.
10069 (dired-do-chmod): Signal an error on empty input.
10070 (dired-mark-read-string): Don't return default on empty input.
10071
10072 * files.el (file-modes-symbolic-to-number): Doc fix.
10073
393a301e
SM
100742011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10075
10076 * international/mule-cmds.el (ucs-completions): Remove.
10077 (read-char-by-name): Use complete-with-action instead; add metadata.
10078
fa5660f9
CY
100792011-09-11 Chong Yidong <cyd@stupidchicken.com>
10080
10081 * window.el (display-buffer--action-function-custom-type)
10082 (display-buffer--action-custom-type): New vars.
10083 (display-buffer-alist, display-buffer-default-action)
10084 (display-buffer-overriding-action): Add defcustom types.
10085
4a592f66
CY
10086 * frame.el (delete-other-frames): Doc fix (Bug#276).
10087
73d56dbd
LMI
100882011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10089
10090 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10091
37ac18a3
CY
100922011-09-11 Chong Yidong <cyd@stupidchicken.com>
10093
10094 Change modes that used same-window-* vars to use switch-to-buffer.
10095
10096 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10097 Use switch-to-buffer.
10098
10099 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10100 (customize-browse, custom-buffer-create-other-window):
10101 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10102
10103 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10104 (Info-prev, Info-up, Info-speedbar-goto-node)
10105 (info-display-manual): Use switch-to-buffer.
10106 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10107
10108 * mail/sendmail.el (mail): Use switch-to-buffer.
10109 (mail-recover): Use switch-to-buffer-other-window.
10110
10111 * cmuscheme.el (run-scheme, switch-to-scheme):
10112 * ielm.el (ielm):
10113 * shell.el (shell):
10114 * net/rlogin.el (rlogin):
10115 * net/telnet.el (telnet, rsh):
10116 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10117
10195bd6
AS
101182011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10119
10120 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10121
b322f63a
LMI
101222011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10123
39d7fed6
LMI
10124 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10125 so don't mention it (bug#9301).
ba5a81f1 10126 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10127
ee0e9f11
LMI
10128 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10129 match `x', `w32' and `ns', like the manual says (bug#9029).
10130
0b1c89c1 10131 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10132 (process-kill-buffer-query-function): Mention the buffer name in
10133 the query.
0b1c89c1 10134
77549ea8
LMI
10135 * image-mode.el (image-next-line): The line parameter is mandatory
10136 (bug#9258).
10137
803ef892
LMI
10138 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10139 which can be useful (bug#9301).
10140
12980837
LMI
10141 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10142
91054f8f
LMI
10143 * subr.el (match-string): Mention that the current buffer should
10144 be the same as the search was done in (bug#9282).
10145
b322f63a
LMI
10146 * facemenu.el: Disable the remove-* commands if the mark isn't
10147 active (bug#9162).
10148
3199b96f
CY
101492011-09-10 Chong Yidong <cyd@stupidchicken.com>
10150
10151 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10152 of display-buffer.
10153 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10154
10155 * replace.el (occur-mode-goto-occurrence)
10156 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10157 and display-buffer.
10158
10159 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10160 display-buffer.
10161
10162 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10163 special-display and same-window variables.
10164 (mail-other-window): Use switch-to-buffer-other-window.
10165 (mail-other-frame): USe switch-to-buffer-other-frame.
10166
393a301e
SM
10167 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10168 Use display-buffer-other-frame.
3199b96f
CY
10169 (gdb-display-gdb-buffer): Use pop-to-buffer.
10170
10171 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10172
10173 * progmodes/python.el: Don't set same-window-buffer-names.
10174
10175 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10176
10177 * window.el (display-buffer-alist): Add *Python*.
10178
8319e0bf
CY
101792011-09-10 Chong Yidong <cyd@stupidchicken.com>
10180
10181 * window.el (display-buffer-alist): Add entry for buffers
10182 previously handled same-window-*.
10183 (display-buffer-alist, display-buffer-default-action)
10184 (display-buffer-overriding-action): Mark as risky.
10185 (display-buffer-alist): Document action function changes.
10186 (display-buffer--same-window-action)
10187 (display-buffer--other-frame-action): New variables.
10188 (switch-to-buffer, display-buffer-other-frame): Use them.
10189 (display-buffer): Rename reuse-frame entry to reusable-frames.
10190 (display-buffer-reuse-selected-window): Function deleted.
10191 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10192 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10193 (display-buffer-special): New function.
10194 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10195 display-buffer-reuse-or-pop-window. Split off special-display
10196 part into display-buffer-special.
10197 (display-buffer-use-some-window): Don't perform any special
10198 pop-up-frames handling.
10199 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10200 (display-buffer--maybe-same-window): Rename from
0d3ff375 10201 display-buffer-maybe-same-window.
8319e0bf 10202
919a69aa
CY
10203 * info.el: Don't set same-window-regexps.
10204 (info-setup): New function.
10205 (info-other-window, info): Call it.
10206
10207 * cus-edit.el: Don't set same-window-regexps.
10208 (customize-group): New argument.
10209 (customize-group-other-window): Use it.
10210 (customize-face, customize-face-other-window): Likewise.
10211 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10212
8319e0bf
CY
10213 * net/rlogin.el:
10214 * net/telnet.el:
10215 * progmodes/gud.el: Don't set same-window-regexps.
10216
10217 * cmuscheme.el:
10218 * ielm.el:
10219 * shell.el:
10220 * mail/sendmail.el:
10221 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10222
25173000
JL
102232011-09-10 Juri Linkov <juri@jurta.org>
10224
10225 * isearch.el (isearch-edit-string): Remove obsolete mention of
10226 `C-w' (`isearch-yank-word-or-char') from docstring.
10227 (isearch-query-replace): Fix typo in docstring (bug#9466).
10228
056e44ef
JL
102292011-09-10 Juri Linkov <juri@jurta.org>
10230
10231 * paren.el (show-paren-function): Don't show escaped parens.
10232 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10233
c3760c17
EZ
102342011-09-10 Eli Zaretskii <eliz@gnu.org>
10235
10236 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10237 (mm-default-file-encoding): Remove autoload forms, they are
10238 replaced with autoload cookies in mml.el and mm-encode.el.
10239 (mail-add-attachment): New command.
10240 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10241 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10242 the doc string.
10243 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10244
fece895e
RT
102452011-09-10 Reuben Thomas <rrt@sc3d.org>
10246
e69df516
SM
10247 * simple.el (count-words-region): Use buffer if there's no region
10248 (bug#9429).
fece895e 10249
5e68ce4a
JL
102502011-09-09 Juri Linkov <juri@jurta.org>
10251
10252 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10253 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10254 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10255
0a6b9622
AM
102562011-09-09 Alan Mackenzie <acm@muc.de>
10257
10258 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10259 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10260
14a29deb
EZ
102612011-09-09 Eli Zaretskii <eliz@gnu.org>
10262
10263 Fix for Savannah bug#9392.
10264 * simple.el (mail-encode-mml): New defvar.
10265
10266 * mail/rmail.el (mail-encode-mml): Add a defvar.
10267 (rmail-enable-mime-composing): Default to t.
10268 (rmail-forward): Use MIME method of forwarding only if both
10269 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10270 Set mail-encode-mml non-nil if the MIME method was used.
10271
10272 * mail/sendmail.el (mml-to-mime): Add autoload form.
10273 (mail-encode-mml): Add a defvar.
10274 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10275 to nil.
10276 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10277 message through mml-to-mime, and reset mail-encode-mml to nil.
10278
28c45130
GM
102792011-09-09 Glenn Morris <rgm@gnu.org>
10280
10281 * woman.el (woman-if-body): When processing an .el block,
10282 do not delete the next .el block as well. (Bug#9447)
69f4b618 10283 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10284
9b1c252e
MR
102852011-09-08 Martin Rudalics <rudalics@gmx.at>
10286
10287 * window.el (window-deletable-p): Make sure window is live before
10288 invoking window-prev-buffers.
10289
567457e3
LL
102902011-09-08 Leo Liu <sdl.web@gmail.com>
10291
10292 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10293
97f05794
JL
102942011-09-08 Juri Linkov <juri@jurta.org>
10295
10296 * progmodes/compile.el (compilation-environment): Make it
10297 a defcustom (bug#8340).
10298
8b0874b5
MR
102992011-09-08 Martin Rudalics <rudalics@gmx.at>
10300
10301 * window.el (frame-auto-delete): Rename to window-auto-delete.
10302 Make it control auto-deletion of windows and/or frames.
10303 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10304 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10305 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10306 Rewrite handling of case when window/frame can be deleted.
10307 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10308 argument t. (Bug#9456)
8b0874b5 10309
4feb6e73
CY
103102011-09-07 Chong Yidong <cyd@stupidchicken.com>
10311
10312 * help-mode.el (help-mode): Restore autoload.
10313
91ab9c13
JL
103142011-09-07 Juri Linkov <juri@jurta.org>
10315
10316 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10317 `compilation-environment'. Set buffer-local
10318 `compilation-environment' to `thisenv' later after (funcall mode).
10319 (Bug#8340)
10320
10321 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10322 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10323 instead of replacing its value. (Bug#8340)
10324
0527e251
JL
103252011-09-07 Juri Linkov <juri@jurta.org>
10326
10327 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10328 based on text properties put by `grep-filter' instead of matching
10329 escape sequences.
10330 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10331 to the value of `grep-error-screen-columns' (bug#9438).
10332
249f792c
JL
103332011-09-07 Juri Linkov <juri@jurta.org>
10334
10335 * simple.el (next-error-highlight, next-error-highlight-no-select):
10336 Doc fix (bug#9432).
10337
ff7271b9
OT
103382011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10339
10340 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10341 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10342
183fc730
LL
103432011-09-07 Leo Liu <sdl.web@gmail.com>
10344
10345 * net/rcirc.el (rcirc-mode): Conditionally initialize
10346 rcirc-input-ring.
10347
77694924
SM
103482011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10349
10350 * emacs-lisp/find-func.el (find-function-C-source): Only set
10351 find-function-C-source-directory after checking that we found a source
10352 file there (bug#9440).
10353
d809b8eb
AM
103542011-09-06 Alan Mackenzie <acm@muc.de>
10355
10356 * isearch.el (isearch-other-meta-char): Wherever a key list is
10357 unread, "unread" the prefix arg, too. This fixes bug #8901.
10358
453de99f
OG
103592011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10360
10361 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10362
90439906
JL
103632011-09-05 Juri Linkov <juri@jurta.org>
10364
10365 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10366
f62bd846
JL
103672011-09-05 Juri Linkov <juri@jurta.org>
10368
10369 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10370 keeping point where processing of grep matches begins, and
10371 continue to delete remaining escape sequences from the same point.
10372 (grep-filter): Make leading zero optional in "0?1;31m" because
10373 git-grep emits "\033[1;31m" escape sequences unlike expected
10374 "\033[01;31m" as GNU Grep does (bug#9408).
10375 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10376
045820ec
JL
103772011-09-05 Juri Linkov <juri@jurta.org>
10378
10379 * subr.el (y-or-n-p): Capitalize "yes".
10380
f5e29b9b
MA
103812011-09-04 Michael Albinus <michael.albinus@gmx.de>
10382
10383 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10384 `tramp-cache-unload-hook' where appropriate.
10385 (tramp-methods): Rename `tramp-remote-sh' to
10386 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10387 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10388
10389 * net/tramp-sh.el (top): Don't require 'shell.
10390 (tramp-methods): Add `tramp-remote-shell' and
10391 `tramp-remote-shell-args' entries.
10392 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10393 (tramp-sh-handle-shell-command): Remove.
10394 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10395 Use `tramp-remote-shell'.
10396
2784c434
CY
103972011-09-03 Chong Yidong <cyd@stupidchicken.com>
10398
393a301e 10399 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10400 (sendmail-query-once): Save directly to send-mail-function.
10401 Update message-send-mail-function too.
10402
10403 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10404
464cdf56
CS
104052011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10406
10407 * progmodes/python.el (python-mode-map): Use correct function to
10408 start python interpreter from menu-bar (as reported by Geert
10409 Kloosterman).
10410 (inferior-python-mode-map): Fix typo.
393a301e 10411 (python-shell-map): Remove.
464cdf56 10412
d37e5c87
DD
104132011-09-03 Deniz Dogan <deniz@dogan.se>
10414
10415 * net/rcirc.el (rcirc-print): Simplify code for
10416 rcirc-scroll-show-maximum-output. There is no need to walk
10417 through all windows to find the right one.
10418
f3ada0ee
CS
104192011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10420
10421 * help.el (help-return-method): Doc fix.
10422
1f3c99ca
MR
104232011-09-03 Martin Rudalics <rudalics@gmx.at>
10424
10425 * window.el (window-deletable-p): Don't return a non-nil value
10426 when there's a buffer that was shown in the window before.
10427 (Bug#9419)
393a301e
SM
10428 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10429 Set window's previous buffers to nil.
1f3c99ca 10430
a3cf097f
EZ
104312011-09-03 Eli Zaretskii <eliz@gnu.org>
10432
10433 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10434 newline before and after the tag line, so it doesn't interfere
10435 with determining the paragraph direction of bidirectional text.
10436
3d03de90
LL
104372011-09-03 Leo Liu <sdl.web@gmail.com>
10438
10439 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10440
c3313451
CY
104412011-09-02 Chong Yidong <cyd@stupidchicken.com>
10442
393a301e 10443 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10444 (pop-to-buffer): Change interactive spec. Pass second argument
10445 directly to display-buffer.
10446 (display-buffer): Fix interactive spec. Use functionp to
10447 distinguish between a function and a list of functions.
10448
10449 * abbrev.el (edit-abbrevs):
10450 * arc-mode.el (archive-extract):
10451 * autoinsert.el (auto-insert):
10452 * bookmark.el (bookmark-bmenu-list):
10453 * files.el (find-file):
10454 * view.el (view-buffer):
10455 * progmodes/compile.el (compilation-goto-locus):
10456 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10457
89894cd8
CY
104582011-09-02 Chong Yidong <cyd@stupidchicken.com>
10459
10460 * window.el (display-buffer-alist): Doc fix.
10461 (display-buffer): Add docstring. Don't treat
10462 display-buffer-default specially.
10463 (display-buffer-reuse-selected-window)
10464 (display-buffer-same-window, display-buffer-maybe-same-window)
10465 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10466 (display-buffer-pop-up-window)
10467 (display-buffer-reuse-or-pop-window)
10468 (display-buffer-use-some-window): New functions.
10469 (display-buffer-default-action): Use them.
393a301e 10470 (display-buffer-default): Delete.
89894cd8
CY
10471 (pop-to-buffer-1): Fix choice of actions.
10472
ae0bc9fb
SM
104732011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10474
10475 * minibuffer.el (completion--insert-strings): Don't get confused by
10476 completion entries that end with an LF char.
10477
e9d90883
EZ
104782011-09-01 Eli Zaretskii <eliz@gnu.org>
10479
10480 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10481
437014c8
CY
104822011-09-01 Chong Yidong <cyd@stupidchicken.com>
10483
10484 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10485 (display-buffer-same-window, display-buffer-other-window):
10486 New functions.
437014c8
CY
10487 (pop-to-buffer-1): New function. Use the above.
10488 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10489 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10490
10491 * view.el (view-buffer-other-window, view-buffer-other-frame):
10492 Just use pop-to-buffer.
10493
a5e063d5
TV
104942011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10495
10496 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10497
793d32bb
WH
104982011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10499
10500 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10501
d65e4c15
RS
105022011-08-31 Richard Stallman <rms@gnu.org>
10503
10504 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10505 of the separation of rmail-view-buffer from rmail-buffer.
10506 If you say no to "replace original", the decrypt is in the
10507 view buffer. If you say yes, the decrypt goes into the
10508 rmail buffer also.
10509
f818cd2a
MR
105102011-08-31 Martin Rudalics <rudalics@gmx.at>
10511
10512 * window.el (display-buffer-window): Rewrite doc-string.
10513 (display-buffer-record-window): New function.
10514 (display-buffer-macro-specifiers)
10515 (display-buffer-even-window-sizes, display-buffer-set-height)
10516 (display-buffer-set-width, display-buffer-in-window)
10517 (display-buffer-reuse-window, display-buffer-split-specifiers)
10518 (display-buffer-side-specifiers, display-buffer-split-window-1)
10519 (display-buffer-split-window, display-buffer-split-atom-window)
10520 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10521 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10522 (display-buffer-other-window-means-other-frame)
10523 (display-buffer-normalize-special)
10524 (display-buffer-normalize-default)
10525 (display-buffer-normalize-argument)
10526 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10527 (display-buffer-normalize-specifiers, display-buffer-frame)
10528 (display-buffer-same-window, display-buffer-same-frame)
10529 (display-buffer-other-window)
10530 (display-buffer-same-frame-other-window)
10531 (display-buffer-other-frame, pop-to-buffer-same-window)
10532 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10533 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10534 (switch-to-buffer-same-frame)
10535 (switch-to-buffer-other-window-same-frame)
10536 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10537 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10538 (display-buffer-alist-set): Remove.
10539 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10540 (special-display-regexps, special-display-function):
10541 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10542 parameter.
10543 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10544 (special-display-frame-alist, special-display-popup-frame)
10545 (same-window-buffer-names, same-window-regexps, same-window-p)
10546 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10547 (split-window-preferred-function, split-height-threshold)
10548 (split-width-threshold, window-splittable-p)
10549 (split-window-sensibly, window--try-to-split-window)
10550 (window--frame-usable-p, even-window-heights)
10551 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10552 (window--display-buffer-2, display-buffer-other-frame):
10553 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10554 (display-buffer-default, display-buffer-assq-regexp): New functions.
10555 (display-buffer-alist): Rewrite doc-string.
10556 (display-buffer-default-action)
10557 (display-buffer-overriding-action): New variables.
10558 (display-buffer, switch-to-buffer): Rewrite.
10559 (pop-to-buffer): Restore Emacs 23 behavior but use
10560 window-normalize-buffer-to-display.
10561 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10562 Restore Emacs 23 behavior but use
10563 window-normalize-buffer-to-switch-to.
10564 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10565 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10566 Rewrite using Emacs 23 options.
f818cd2a 10567
5bc3b51d
MA
105682011-08-31 Michael Albinus <michael.albinus@gmx.de>
10569
10570 * net/tramp.el (tramp-root-regexp): Remove.
10571 (tramp-completion-file-name-regexp-unified)
10572 (tramp-completion-file-name-regexp-separate)
10573 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10574 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10575 (tramp-drop-volume-letter): Simplify definition.
10576 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10577
b1a4f8e1
SM
105782011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10581 (bug#9356).
10582
5664fa7b
RT
105832011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10584
b1a4f8e1 10585 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10586
9a45d6c3
JL
105872011-08-29 Juri Linkov <juri@jurta.org>
10588
10589 * isearch.el (isearch-done): Don't display message "Mark saved"
10590 when arg `edit' is non-nil to prevent its flicker in the echo area.
10591
fb87e0fb
CY
105922011-08-28 Chong Yidong <cyd@stupidchicken.com>
10593
10594 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10595 obsolete packages for deletion.
10596
09ac1c2a
CS
105972011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10598
10599 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10600 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10601 view-mode from help-mode.
10602 (help-xref-override-view-map): Remove.
10603 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10604 view-mode is not used anymore.
10605
7a1ff57f
CY
106062011-08-28 Chong Yidong <cyd@stupidchicken.com>
10607
10608 * server.el (server-port): Doc fix.
10609
b9696605
CY
10610 * cus-theme.el (custom-theme-choose-mode): Inherit from
10611 special-mode (Bug#9124).
10612 (custom-theme-choose-mode-map): Add special-mode to parent.
10613
ef8cdf8c
AM
106142011-08-28 Alan Mackenzie <acm@muc.de>
10615
10616 * progmodes/cc-fonts.el
10617 (c-make-font-lock-BO-decl-search-function): New function.
10618 (c-basic-matchers-after - "Fontify the clauses after various
10619 keywords"): Extract the three keyword lists for the 3 erroneous
10620 constructs from the list of four, and use the new function above
10621 in place of an old one.
10622
27de4e20
DD
106232011-08-28 Deniz Dogan <deniz@dogan.se>
10624
10625 * net/rcirc.el (rcirc-insert-prev-input)
10626 (rcirc-insert-next-input): Remove unused argument.
10627
356a3681
SM
106282011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10631
3fc9b218
AM
106322011-08-27 Alan Mackenzie <acm@muc.de>
10633
10634 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10635 handle function pointer parameters properly.
10636
538a061c
MR
106372011-08-27 Martin Rudalics <rudalics@gmx.at>
10638
10639 * window.el (display-buffer-reuse-window): Fix case where
10640 selected window was reused with non-nil OTHER-WINDOW argument.
10641 (Bug#9381)
10642
35b1c40c
DD
106432011-08-27 Deniz Dogan <deniz@dogan.se>
10644
10645 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10646 oftc's NickServ messages.
10647
2f6a3e79
GM
106482011-08-27 Glenn Morris <rgm@gnu.org>
10649
10650 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10651
7254299e
CY
106522011-08-26 Chong Yidong <cyd@stupidchicken.com>
10653
10654 * emacs-lisp/package.el (package-install): Call package-initialize
10655 if called interactively.
10656
f8ccf167
LL
106572011-08-26 Leo Liu <sdl.web@gmail.com>
10658
10659 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10660
3e8cd5ce
JL
106612011-08-25 Juri Linkov <juri@jurta.org>
10662
10663 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10664 `search-whitespace-regexp' (bug#9364).
10665
93eb7113
JL
106662011-08-25 Juri Linkov <juri@jurta.org>
10667
10668 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10669 `regexp-search-ring' to their global values to protect from
10670 updating by `read-from-minibuffer' (bug#9185).
10671
f65d1611
JL
106722011-08-25 Juri Linkov <juri@jurta.org>
10673
10674 * textmodes/ispell.el (ispell-command-loop): Add newline
10675 at the end of the "Use option `i'..." line.
10676
f1cf7a31
JL
106772011-08-25 Juri Linkov <juri@jurta.org>
10678
10679 * battery.el (display-battery-mode): If `battery-status-function'
10680 or `battery-mode-line-format' is nil, display the message and set
10681 `display-battery-mode' to nil (bug#9363).
10682
0c95fcf7
EZ
106832011-08-25 Eli Zaretskii <eliz@gnu.org>
10684
10685 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10686 bidi-string-mark-left-to-right; they are unnecessary now.
10687
a2ebe600
DD
106882011-08-25 Deniz Dogan <deniz@dogan.se>
10689
10690 * net/quickurl.el: Documentation typo fixes.
10691
e4ed06f1
CY
106922011-08-25 Chong Yidong <cyd@stupidchicken.com>
10693
10694 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10695
e5f1c99e
GM
106962011-08-25 Glenn Morris <rgm@gnu.org>
10697
b2948976
GM
10698 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10699
e5f1c99e
GM
10700 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10701 (smtpmail-via-smtp): Handle nil response from smtp.
10702
f22f4808
JL
107032011-08-24 Juri Linkov <juri@jurta.org>
10704
10705 * proced.el (proced-marked): Inherit from `error' instead of
10706 `font-lock-warning-face'.
10707
10708 * ibuffer.el (ibuffer-marked-face): Change default face from
10709 `font-lock-warning-face' to `warning'.
10710 (ibuffer-deletion-face): Change default face from
10711 `font-lock-type-face' to `error'.
10712
10713 * battery.el (battery-update): Use the face `error' instead of
10714 `font-lock-warning-face' (bug#6117).
10715
6a93965e
JL
107162011-08-24 Juri Linkov <juri@jurta.org>
10717
10718 * faces.el (success): Change face color from "Green3" to
10719 "ForestGreen" on light background (bug#9353).
10720
1ed43b09
CY
107212011-08-24 Chong Yidong <cyd@stupidchicken.com>
10722
5664fa7b
RT
10723 * window.el (quit-window): Rename from quit-restore-window.
10724 Use same arglist as old quit-window.
1ed43b09
CY
10725 (frame-auto-delete): Doc fix.
10726
10727 * view.el (view-mode-exit): Use quit-window.
10728
11dcdbb2
JL
107292011-08-24 Juri Linkov <juri@jurta.org>
10730
10731 * isearch.el (isearch-ring-adjust1): Start visiting previous
10732 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10733 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10734 for empty search string (when the last search string is reused
10735 automatically) to adjust the isearch ring to the last element and
10736 prepare the correct index for further M-p commands (bug#9185).
10737
de62b4df
KH
107382011-08-24 Kenichi Handa <handa@m17n.org>
10739
10740 * international/ucs-normalize.el: If decomposition property of
10741 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10742 nil.
10743 (nfd, nfkd): Likewise.
10744
963b492b
SM
107452011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10746
10747 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10748 from process filters aren't reliably transmitted to the surrounding
10749 accept-process-output.
10750 (mpc-proc-check): New function.
10751 (mpc-proc-sync): Use it (bug#8293)
10752
93b6b5e1
SM
107532011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10754
10755 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10756 Add compatibility functions (bug#9313).
10757
bca633fb
EZ
107582011-08-23 Eli Zaretskii <eliz@gnu.org>
10759
b177498a
EZ
10760 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10761
6df6ae42 10762 * international/uni-bidi.el: Regenerate.
bca633fb 10763
0902a04e
KH
107642011-08-23 Kenichi Handa <handa@m17n.org>
10765
10766 * international/charprop.el:
10767 * international/uni-bidi.el:
10768 * international/uni-category.el:
10769 * international/uni-combining.el:
10770 * international/uni-comment.el:
10771 * international/uni-decimal.el:
10772 * international/uni-decomposition.el:
10773 * international/uni-digit.el:
10774 * international/uni-lowercase.el:
10775 * international/uni-mirrored.el:
10776 * international/uni-name.el:
10777 * international/uni-numeric.el:
10778 * international/uni-old-name.el:
10779 * international/uni-titlecase.el:
10780 * international/uni-uppercase.el: Regenerate.
10781
3bbf23bc
MR
107822011-08-23 Martin Rudalics <rudalics@gmx.at>
10783
10784 * help.el (help-window-setup): Fix message displayed when other
10785 window is reused. (Bug#9341)
10786
b3fd59bd
SM
107872011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10788
1802e444
SM
10789 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10790 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10791
b3fd59bd
SM
10792 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10793 Mark obsolete.
10794 * shell.el (shell-parse-pcomplete-arguments): New function.
10795 (shell-completion-vars): Use it instead (bug#9160).
10796
4eb61348
SM
107972011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10798
867cab74
SM
10799 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10800 strings and comments (bug#9333).
10801
4eb61348
SM
10802 * emacs-lisp/debug.el (debug-arglist): New function.
10803 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10804 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10805
262a1439
JL
108062011-08-22 Juri Linkov <juri@jurta.org>
10807
56ee679c
JL
10808 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10809 Revert regexp that highlights output switches to its old
10810 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10811
262a1439
JL
10812 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10813 to check for empty output (bug#9226).
10814
f13f86fb
CY
108152011-08-22 Chong Yidong <cyd@stupidchicken.com>
10816
10817 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10818 symbol-constituent as the default, as that stops font-lock from
10819 working properly (Bug#8843).
10820
c65c9622
LMI
108212011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10822
10823 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10824 `coding-system-for-*' around the process open call to avoid
10825 auth-source side effects.
e7f2c178 10826 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10827 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10828 probe hangs.
c65c9622 10829
23a8a5ab
CY
108302011-08-21 Chong Yidong <cyd@stupidchicken.com>
10831
ff98b2dd
CY
10832 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10833
23a8a5ab
CY
10834 * emacs-lisp/find-func.el (find-function-noselect): New arg
10835 lisp-only.
10836
10837 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10838 signal an error for built-in functions (Bug#6664).
10839
f5e3c598
LMI
108402011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10841
10842 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10843 (smtpmail-try-auth-methods): Use it.
10844
a3f2468a
CY
108452011-08-21 Chong Yidong <cyd@stupidchicken.com>
10846
2c34e8da
CY
10847 * font-lock.el (font-lock-fontify-region)
10848 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10849 (font-lock-default-unfontify-buffer)
10850 (font-lock-default-fontify-region)
10851 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10852
b3fd59bd
SM
10853 * progmodes/compile.el (compilation-error-properties):
10854 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10855 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10856 `ant' regexp.
ee31aabc 10857
a3f2468a
CY
10858 * net/browse-url.el (browse-url-firefox): Don't call
10859 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10860
8e999f70
GM
108612011-08-20 Glenn Morris <rgm@gnu.org>
10862
c21a496a
GM
10863 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10864
59ee0542
GM
10865 * tutorial.el (tutorial--default-keys): Update some default bindings.
10866
8e999f70
GM
10867 * files.el (hack-local-variables): Fully ignore case for "mode:".
10868
e3715033
AM
108692011-08-20 Alan Mackenzie <acm@muc.de>
10870
10871 Resolve invalid use of a regexp in regexp-opt.
10872
4d61f28d
JB
10873 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10874 detection for a java annotation.
e3715033 10875
4d61f28d 10876 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10877 detection for a java annotation.
10878
4d61f28d
JB
10879 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10880 handling for java.
e3715033
AM
10881 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10882
04ed2e9c
CY
108832011-08-20 Chong Yidong <cyd@stupidchicken.com>
10884
10885 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10886 (Bug#9274).
10887
826cee64
AM
108882011-08-20 Alan Mackenzie <acm@muc.de>
10889
58179cce 10890 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10891 such a construct. Mainly for when jit-lock etc. starts a chunk
10892 here.
10893
58179cce 10894 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10895 variable.
58179cce 10896 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10897 c-make-font-lock-search-function.
10898 (c-make-font-lock-search-function): Use the above function.
10899 (c-make-font-lock-context-search-function): New function.
10900 (c-cpp-matchers): Enhance the preprocessor expression case with
10901 the above function
10902 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10903 which takes an expression.
10904
10905 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10906
13009bd8
MR
109072011-08-20 Martin Rudalics <rudalics@gmx.at>
10908
10909 * window.el (display-buffer-reuse-window)
10910 (display-buffer-pop-up-window): Don't reuse or split a side
10911 window.
10912
9234ff7f
GM
109132011-08-19 Glenn Morris <rgm@gnu.org>
10914
10915 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10916 Downcase "Mode:". (Bug#9331)
9234ff7f 10917
f635daa1
CY
109182011-08-18 Chong Yidong <cyd@stupidchicken.com>
10919
10920 * international/characters.el: Add L and R categories.
10921
10922 * subr.el (bidi-string-mark-left-to-right): Rename from
10923 string-mark-left-to-right. Use category search.
10924
10925 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10926
bc987f8b
JL
109272011-08-18 Juri Linkov <juri@jurta.org>
10928
10929 * faces.el (error, warning, success): New faces with definitions
10930 copied from old default values of `font-lock-warning-face',
10931 `compilation-warning', `compilation-info' (bug#6117).
10932
10933 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10934
10935 * progmodes/compile.el (compilation-error): Inherit from `error'.
10936 (compilation-warning): Inherit from `warning'.
10937 (compilation-info): Inherit from `success'.
10938
10939 * dired.el (dired-marked): Inherit from `warning'.
10940 (dired-flagged): Inherit from `error'.
10941
57173b96
LMI
109422011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10943
3e79eb87
LMI
10944 * mail/smtpmail.el (auth-source): Require to avoid problems with
10945 binding variables (bug#9298). Also clean up some unused
10946 autoloads.
10947
b3fd59bd
SM
10948 * net/network-stream.el (network-stream-open-starttls):
10949 Support using starttls.el without using gnutls-cli.
57173b96 10950
02b404de
JL
109512011-08-17 Juri Linkov <juri@jurta.org>
10952
10953 * progmodes/grep.el (rgrep): Handle the case when
10954 `grep-find-command' is a cons cell (bug#9278).
10955
8c9177f2
MR
109562011-08-17 Martin Rudalics <rudalics@gmx.at>
10957
10958 * window.el (display-buffer-pop-up-frame): Run frame creation
10959 function with BUFFER current (as special-display-popup-frame
10960 does). Reported by Drew Adams.
10961
3644a0ab
DU
109622011-08-17 Daiki Ueno <ueno@unixuser.org>
10963
10964 * epa-mail.el: Simplify GnuPG group expansion using
10965 epg-expand-group.
10966 (epa-mail-group-alist, epa-mail-group-modtime)
10967 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10968 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10969 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10970 Remove.
10971
5e617bc2 109722011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10973
10974 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10975
9c4aeabf
AM
109762011-08-16 Alan Mackenzie <acm@muc.de>
10977
10978 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10979 Correct, to avoid the inside of macros.
10980
3a99bf64
RS
109812011-08-16 Richard Stallman <rms@gnu.org>
10982
04963aa8
RS
10983 * epa-mail.el: Handle GnuPG group definitions.
10984 (epa-mail-group-alist, epa-mail-group-modtime)
10985 (epa-mail-gnupg-conf-file): New variables.
10986 (epa-mail-parse-groups, epa-mail-sync-groups)
10987 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10988 (epa-mail-expand-recipients): New functions.
10989 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10990
177549d0
RS
10991 * mail/rmail.el (rmail-epa-decrypt): New command.
10992
fe38beef
RS
10993 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10994 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10995 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10996 (epa-decrypt-armor-in-region): Make error message clearer.
10997
934eacb9
SM
109982011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10999
11000 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11001 and "a2b" to "ab" for `prefix'.
11002
d024fb4e
CY
110032011-08-14 Chong Yidong <cyd@stupidchicken.com>
11004
11005 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11006 filter groups.
de148fee
CY
11007 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11008 Fourquet (Bug#8804).
d024fb4e 11009
62f1ca49
JB
110102011-08-12 Juanma Barranquero <lekktu@gmail.com>
11011
11012 * startup.el (argi): Declare as global variable (bug#9275).
11013
9ccaaa4b
CY
110142011-08-12 Chong Yidong <cyd@stupidchicken.com>
11015
11016 * subr.el (string-mark-left-to-right): Search the entire string
11017 for RTL script, not just the terminating character. Doc fix.
11018
a3dae87a
SM
110192011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11020
6cd18349
SM
11021 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11022 New function.
11023 (js--regexp-literal, js-syntax-propertize-function): Remove.
11024 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11025 (js-mode-map): Don't rebind electric keys.
11026 (js-insert-and-indent): Remove.
11027 (js-mode): Setup electric-layout and electric-indent instead.
11028
a3dae87a
SM
11029 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11030
9d5cb631
DU
110312011-08-12 Daiki Ueno <ueno@unixuser.org>
11032
11033 * epa.el (epa-progress-callback-function): Fix the logic of
11034 displaying progress.
11035 * epa-file.el (epa-file-insert-file-contents): Make progress
11036 display more user-friendly.
11037 (epa-file-write-region): Ditto.
11038
3e26a4a2
CY
110392011-08-10 Chong Yidong <cyd@stupidchicken.com>
11040
11041 * subr.el (string-mark-left-to-right): New function.
11042
11043 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11044 Use string-mark-left-to-right.
11045 (list-buffers-noselect): Caller changed.
11046
a3dae87a
SM
11047 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11048 Use string-mark-left-to-right.
3e26a4a2
CY
11049 (tabulated-list-print): Recenter after moving point.
11050
ac8cf6e6
JL
110512011-08-10 Juri Linkov <juri@jurta.org>
11052
11053 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11054 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11055 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11056
8d96c9a4
CY
110572011-08-09 Chong Yidong <cyd@stupidchicken.com>
11058
11059 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11060 (Bug#7554).
11061
7be1c708 110622011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11063
11064 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11065 character. (Bug#6594)
11066
37e11a63
CY
110672011-08-08 Chong Yidong <cyd@stupidchicken.com>
11068
839dde57
CY
11069 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11070 (image-dired--with-db-file): New macro.
11071 (image-dired-write-tags, image-dired-remove-tag)
11072 (image-dired-create-gallery-lists, image-dired-write-comments)
11073 (image-dired-get-comment, image-dired-mark-tagged-files)
11074 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11075 (image-dired-gallery-generate): Use insert-file-contents.
11076
37e11a63
CY
11077 * time.el (display-time-world-list, display-time-world-display):
11078 * time-stamp.el (time-stamp-string):
11079 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11080 set-time-zone-rule (Bug#7337).
11081
0b4946c4
DU
110822011-08-08 Daiki Ueno <ueno@unixuser.org>
11083
11084 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11085 (epg-error-to-string, epg-errors-to-string): New function.
11086 (epg-wait-for-completion): Reverse errors list.
11087 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11088 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11089 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11090 (epg-sign-keys, epg-generate-key-from-file)
11091 (epg-generate-key-from-string): Format errors by using
11092 epg-errors-to-string (bug#9255).
11093 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11094
75bfc667
JL
110952011-08-07 Juri Linkov <juri@jurta.org>
11096
11097 * faces.el (list-faces-display): Remove extra angle bracket
11098 from `help-mode-map'.
11099
11100 * info.el (Info-history-toc-nodes): Doc fix.
11101
11102 * longlines.el (longlines-mode): Doc fix.
11103
673e08bb
SM
111042011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11105
4640dd88
SM
11106 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11107 of statements and in a few more cases (bug#9183).
11108
673e08bb
SM
11109 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11110 New functions.
11111 (cl-transform-lambda): Use them (bug#9239).
11112
89b3f019
MR
111132011-08-05 Martin Rudalics <rudalics@gmx.at>
11114
11115 * window.el (display-buffer-same-window)
11116 (display-buffer-same-frame, display-buffer-other-window)
11117 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11118 (pop-to-buffer-other-window)
11119 (pop-to-buffer-same-frame-other-window)
11120 (pop-to-buffer-other-frame): Make them defuns.
11121 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11122
640c8776
SM
111232011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * subr.el (make-composed-keymap): Move from C. Change calling
11126 convention, and improve docstring to bring attention to a subtle point.
11127 * minibuffer.el (completing-read-default): Adjust accordingly.
11128
63648a95
MA
111292011-08-03 Michael Albinus <michael.albinus@gmx.de>
11130
11131 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11132 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11133
11134 * net/trampver.el: Update release number.
11135
b796c9b7
SM
111362011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11137
11138 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11139 "in" (bug#9190).
11140
2239d7d5
LMI
111412011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11142
e07dd7c3
LMI
11143 * mail/sendmail.el (sendmail-query-once): Restore the current
11144 buffer after querying (bug#9074).
11145
0e6a2bd7
LMI
11146 * dired.el (dired-flagged): Use different faces for marked and
11147 flagged files (bug#6117).
11148
ce887515
LMI
11149 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11150 (bug#4433).
11151
92f2affc
LMI
11152 * ido.el (ido-mode): Switch off the message if called
11153 non-interactively.
11154
57d5aff0
LMI
11155 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11156 before 587, since it appears that that's more likely to work for
11157 more people.
11158
98cd6c18 11159 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11160 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11161 exist.
11162
b96dec83
LMI
11163 * info.el: Remove the `Info-beginning-of-buffer' function
11164 (bug#8325).
11165
b796c9b7
SM
11166 * net/network-stream.el (network-stream-open-starttls):
11167 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11168
d90e2ea0
MR
111692011-08-01 Martin Rudalics <rudalics@gmx.at>
11170
11171 * window.el (display-buffer-in-window): Don't set dedicated status
11172 of window here (Bug#9215).
11173 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11174 (display-buffer-pop-up-side-window)
b796c9b7 11175 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11176
cca09170
SM
111772011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11180 before binding generated-autoload-file.
11181
027b979c
DD
111822011-08-01 Deniz Dogan <deniz@dogan.se>
11183
11184 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11185
3c7ee4f3
MA
111862011-07-30 Michael Albinus <michael.albinus@gmx.de>
11187
11188 Sync with Tramp 2.2.2.
11189
11190 * net/trampver.el: Update release number.
11191
2cc8e51a
JL
111922011-07-30 Juri Linkov <juri@jurta.org>
11193
11194 * dired-aux.el (dired-touch-initial): Remove function.
11195 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11196 current time, and `default' to the last modification time of the
11197 current marked file (bug#6887).
11198
a514d856
JM
111992011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11200
11201 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11202 numeric argument to read-number (bug#9163).
a514d856 11203
8a7eddd7
MA
112042011-07-27 Michael Albinus <michael.albinus@gmx.de>
11205
11206 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11207 connection process, it could be nil.
11208
1ddd96f5
LL
112092011-07-27 Leo Liu <sdl.web@gmail.com>
11210
11211 Simplify url handling in rcirc-mode.
11212
11213 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11214 (rcirc-browse-url-at-mouse): Remove.
11215 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11216
b248a85d
AM
112172011-07-26 Alan Mackenzie <acm@muc.de>
11218
11219 Fontify bitfield declarations properly.
11220
11221 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11222 (c-symbol-chars): Now exported as a lang variable.
11223 (c-not-primitive-type-keywords): New lang variable.
11224
11225 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11226 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11227 parsed as a bitfield declaration.
b248a85d 11228
b796c9b7
SM
11229 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11230 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11231 (c-punctuation-in): New function.
11232 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11233 declarations properly.
11234
68575ab0
UJ
112352011-07-26 Ulf Jasper <ulf.jasper@web.de>
11236
11237 * calendar/icalendar.el (icalendar--all-events): Take care of
11238 multiple vcalendars in a single file.
b796c9b7 11239 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11240
0f0a88b9
DD
112412011-07-25 Deniz Dogan <deniz@dogan.se>
11242
11243 * image.el (insert-image): Clarifying docstring.
11244
0b3f36df
MA
112452011-07-24 Michael Albinus <michael.albinus@gmx.de>
11246
11247 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11248 `tramp-send-command-and-check' if there is no error.
11249 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11250
a9901f61
AM
112512011-07-22 Alan Mackenzie <acm@muc.de>
11252
11253 Prevent cc-langs.elc being loaded at run time.
11254
11255 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11256 cc-langs.
11257
4d61f28d 11258 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11259 "(require 'cc-langs)". Quote a form so it will evaluate at
11260 (cc-mode's) compilation time.
11261
11d074b2
MA
112622011-07-22 Michael Albinus <michael.albinus@gmx.de>
11263
11264 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11265 loading. (Bug#9114)
11266
938b94c8
MR
112672011-07-21 Martin Rudalics <rudalics@gmx.at>
11268
11269 * window.el (display-buffer-pop-up-window)
11270 (display-buffer-pop-up-side-window)
11271 (display-buffer-in-side-window): Call display-buffer-set-height
11272 and display-buffer-set-width after setting the new window's
b796c9b7 11273 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11274
bfa4f190
SS
112752011-07-20 Sam Steingold <sds@gnu.org>
11276
11277 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11278 (etags-tags-included-tables): Call `convert-standard-filename' on
11279 the file names contained in TAGS so that windows Emacs can handle
11280 TAGS files created by cygwin ctags.
11281
8ca42262
LMI
112822011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11283
11284 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11285 which apparently didn't work.
11286
5db2afd2 112872011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11288
5db2afd2
RW
11289 * proced.el (proced-send-signal): For *Marked Processes* buffer
11290 put point at beginning of buffer.
11291
92e15d10
SB
112922011-07-19 Stephen Berman <stephen.berman@gmx.net>
11293
11294 * proced.el (proced-format): Make header lines align with the text
11295 (bug#1779).
11296
1bfd59e5
LMI
112972011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11298
11299 * view.el (view-buffer): Allow running in `special' modes if we're
11300 visiting a file (bug#8615).
11301
f5aae37c
MR
113022011-07-19 Martin Rudalics <rudalics@gmx.at>
11303
11304 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11305 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11306 New functions.
f5aae37c
MR
11307 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11308 more accurately.
11309
bf2c1571
AM
113102011-07-18 Alan Mackenzie <acm@muc.de>
11311
11312 Fontify declarators properly when, e.g., a jit-lock chunk begins
11313 inside a declaration.
11314
11315 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11316
b796c9b7
SM
11317 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11318 New function.
bf2c1571
AM
11319 (c-complex-decl-matchers): Insert reference to
11320 c-font-lock-enclosing-decls.
11321
11322 * progmodes/cc-engine.el (c-backward-single-comment):
11323 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11324 to nil around calls to (forward-comment -1).
11325
4e190b80
LMI
113262011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11327
12dc863d
LMI
11328 * image.el (put-image): Doc typo fix.
11329
a762e966
LMI
11330 * progmodes/etags.el (tags-search): Doc typo fix.
11331
4e190b80
LMI
11332 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11333 password if we get errors 550 to 554.
11334
f019fb21
LMI
113352011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11336
b796c9b7 11337 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11338
81746738
LMI
11339 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11340 indentation character (bug#6380).
11341
3ee3a1b5
LMI
11342 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11343
c82f64de
LMI
11344 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11345 to clarify what the problem is (bug#4291).
11346
f019fb21
LMI
11347 * simple.el (current-kill): Clarify what
11348 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11349 (auto-fill-mode): Document `auto-fill-function' in relation to
11350 `auto-fill-mode' (bug#2470).
f019fb21 11351
0794775d
LM
113522011-07-16 Lawrence Mitchell <wence@gmx.li>
11353
11354 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11355 method if slot is read-only (bug#9035).
11356
be39b8cc
MR
113572011-07-16 Martin Rudalics <rudalics@gmx.at>
11358
b796c9b7 11359 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11360 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11361 selected before, see discussion of (Bug#8615), (Bug#6954).
11362 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11363
6ccf7859
GM
113642011-07-15 Glenn Morris <rgm@gnu.org>
11365
11366 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11367 Respect help-form.
6ccf7859 11368
87e86684
LM
113692011-07-09 Lawrence Mitchell <wence@gmx.li>
11370
11371 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11372 (gnutls-negotiate): Use it.
11373
d6066239
LMI
113742011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11375
b796c9b7
SM
11376 * net/gnutls.el (gnutls-negotiate):
11377 Upcase `gnutls-algorithm-priority'.
d6066239 11378
bd23ebc0
GM
113792011-07-15 Glenn Morris <rgm@gnu.org>
11380
c65bca65
GM
11381 * jka-compr.el (jka-compr-verbose): Move from here...
11382 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11383 Add missing :version tag.
11384 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11385
478615cc
LMI
113862011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11387
7b41decb
LMI
11388 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11389 (gnutls-negotiate): Use it.
11390
dbc44fcd
LMI
11391 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11392
06789f97
LMI
11393 * info.el (Info-beginning-of-buffer): New command.
11394 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11395 announcing `b' as the key (bug#8325).
ab896c37 11396 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11397
c39da690
LMI
11398 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11399
3aa5f34b
LMI
11400 * international/mule-cmds.el
11401 (describe-specified-language-support): Make the error message
11402 clearer (bug#8905).
11403
4bf0979f
LMI
11404 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11405
478615cc
LMI
11406 * isearch.el (isearch-barrier): Add a doc string, since it's
11407 mentioned in a function doc string (bug#8678).
11408
75c68aa1
MR
114092011-07-15 Martin Rudalics <rudalics@gmx.at>
11410
11411 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11412 buffer argument (Bug#9083) and self-identifying label argument.
11413
a7c33da2
GM
114142011-07-15 Glenn Morris <rgm@gnu.org>
11415
11416 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11417
2f5c6024
LMI
114182011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11419
11420 * man.el (Man-fontify-manpage): Fix message when formatting the
11421 man page (bug#7929).
11422
0bb23927 114232011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11424
11425 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11426 argument LRM; if non-nil, append an invisible LRM character to the
11427 buffer name.
11428 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11429 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11430 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11431 paragraph direction.
cce4b0a7 11432
621ef9ab
LMI
114332011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11434
d1583c48
LMI
11435 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11436 the man page name (bug#7929).
11437
6a57fb5f
LMI
11438 * image.el (put-image): Mention the `put-image' overlay property
11439 (bug#7834).
11440
d7956b14
LMI
11441 * scroll-bar.el (set-scroll-bar-mode): Mention that
11442 `scroll-bar-mode' lists the values (bug#7772).
11443
5b2d4a66
LMI
11444 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11445 command (bug#7729).
11446
7509a874
LMI
11447 * rect.el (apply-on-rectangle): Return the point after the last
11448 operation.
11449 (string-rectangle): Go to the point after the last operation
11450 (bug#7522).
11451
4fe74b19
LMI
11452 * printing.el (pr-toggle-region): Clarify the documentation
11453 slightly (bug#7493).
11454
b796c9b7
SM
11455 * time.el (display-time-update):
11456 Allow `display-time-mail-function' to return nil (bug#7158).
11457 Fix suggested by Detlev Zundel.
ab283561 11458
fc233c9d
LMI
11459 * vc/diff.el (diff): Clarify the order the file names are read
11460 (bug#7111).
11461
43f5740b
LMI
11462 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11463 the doc string (bug#7015).
11464
f2182a76
LMI
11465 * font-lock.el (font-lock-maximum-decoration): Mention what
11466 numeric levels mean (bug#6935).
11467
621ef9ab
LMI
11468 * startup.el (initial-buffer-choice): Don't mention the `none'
11469 selection, which is against policy.
11470
adc47434
MR
114712011-07-14 Martin Rudalics <rudalics@gmx.at>
11472
b796c9b7
SM
11473 * window.el (display-buffer-normalize-special):
11474 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11475
7e5bfb8f
EZ
114762011-07-14 Eli Zaretskii <eliz@gnu.org>
11477
11478 * subr.el (version<, version<=, version=): Mention "-CVS" and
11479 "-12345" alpha version numbers.
11480
27fa387a
CY
114812011-07-14 Chong Yidong <cyd@stupidchicken.com>
11482
11483 * bindings.el: Add advertised binding for set-mark-command
11484 (Bug#5772).
11485
8bdfa064
CY
114862011-07-14 Chong Yidong <cyd@stupidchicken.com>
11487
11488 * bindings.el (mode-line-other-buffer):
11489 * bookmark.el (bookmark-bmenu-2-window):
11490 * bs.el (bs-cycle-next, bs-cycle-previous):
11491 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11492 switch-to-buffer.
11493
11494 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11495 Delete.
8bdfa064 11496
5eba16a3
JB
114972011-07-14 Juanma Barranquero <lekktu@gmail.com>
11498
11499 * follow.el (follow-debug-message, follow-redisplay):
11500 * jka-cmpr-hook.el (with-auto-compression-mode):
11501 Fix typos in docstrings.
11502
15853710
LMI
115032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11504
a28e4607
LMI
11505 * subr.el (with-silent-modifications): Clarify somewhat what the
11506 macro inhibits (bug#6525).
11507
15853710
LMI
11508 * simple.el (eval-expression): Note what it does if called
11509 interactively (bug#6495).
11510
bee0fcef
CY
115112011-07-13 Chong Yidong <cyd@stupidchicken.com>
11512
b796c9b7
SM
11513 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11514 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11515
11516 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11517 Remove switch-to-buffer.
11518
58274504
LMI
115192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11520
bd2fcc8d
LMI
11521 * files.el (make-directory): Clarify that an error will be raised
11522 if there's an error (bug#6397).
11523
0f04b32c
LMI
11524 * startup.el (initial-buffer-choice): Add `none' as a choice
11525 (bug#6234).
11526
465c5fc8
LMI
11527 * subr.el (add-hook): Clarify section about buffer-local hooks
11528 (bug#6218).
11529
58274504
LMI
11530 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11531
bead9a43
JB
115322011-07-13 Juanma Barranquero <lekktu@gmail.com>
11533
11534 * tabify.el (untabify): Preserve the current column so that point
11535 doesn't move (bug#6032).
11536
3af98a7b
LMI
115372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11538
b796c9b7
SM
11539 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11540 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11541
6240145a
GM
115422011-07-13 Glenn Morris <rgm@gnu.org>
11543
11544 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11545 (dired-insert-directory): Give a message the first time
11546 if ls is found not to support --dired.
11547
1d8c2ccc
LMI
115482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11549
11550 * simple.el (toggle-truncate-lines): Clarify what is toggled
11551 (bug#5580). Text by Drew Adams.
11552
5fc4038e
CY
115532011-07-13 Chong Yidong <cyd@stupidchicken.com>
11554
11555 * simple.el (blink-matching-open): Make the error message from the
11556 last change less verbose.
11557
bf6012e5
DN
115582011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11559
11560 * font-lock.el (font-lock-comment-face): Use the high contrast
11561 "yellow" color for font-lock-comment-face on low color terminals
11562 using a dark background color (bug#4221).
11563
343c3b5a
LMI
115642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11565
7e9505c5
LMI
11566 * dired.el (dired-insert-set-properties): Make the doc string
11567 reflect what it does now (bug#5325).
11568
c26fdcf5
LMI
11569 * simple.el (blink-matching-open): Say that we were unable to find
11570 the match within the limit, if we're limited (bug#5122).
11571
bb388cc5
LMI
11572 * international/mule-cmds.el (prefer-coding-system): Add an
11573 example (bug#4869).
11574
343c3b5a
LMI
11575 * progmodes/etags.el (tags-search): Document `file-list-form'
11576 (bug#4731).
11577
2a517d45
LM
115782011-07-13 Lawrence Mitchell <wence@gmx.li>
11579
11580 * net/browse-url.el (browse-url-default-browser)
11581 (browse-url-browser-function): Make the default browser choice a
11582 bit more logical (bug#4300). Also clean up the doc string.
11583
b6c78ef2
JB
115842011-07-13 Juanma Barranquero <lekktu@gmail.com>
11585
11586 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11587 binary endings (bug#4440).
11588
1c4dd947
LMI
115892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11590
a2014063
LMI
11591 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11592 which can be pretty annoying (bug#8971).
11593
9c9c2d88
LMI
11594 * jka-compr.el (jka-compr-verbose): New variable, and use
11595 throughout (bug#8971).
11596
1c4dd947
LMI
11597 * info.el (Info-find-file): Fall back on the installation
11598 directory if we can't find the info node anywhere else.
11599
a1c9f41b
SO
116002011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11601
11602 * vc/vc.el (vc-revert-file):
11603 Don't set file time-stamp in the past. (Bug#5181)
11604
536f3d36
LMI
116052011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11606
7152b011
LMI
11607 * files.el (after-find-file): Give a better error message when
11608 trying to find a symlink that points to a file that doesn't exist
11609 (bug#4398).
11610
536f3d36
LMI
11611 * progmodes/cc-vars.el: Remove (probably) misleading comment
11612 (bug#4396).
11613
460c0fba
JB
116142011-07-12 Johan Bockgård <bojohan@gnu.org>
11615
11616 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11617
7a6bda45
CY
116182011-07-12 Chong Yidong <cyd@stupidchicken.com>
11619
11620 * mouse-sel.el: Hack restoring functionality, while keeping
11621 compatibility with 2010-07-03 changes to mouse selection.
11622 (mouse-sel-primary-overlay): New var.
11623 (mouse-sel-selection-alist): Use it.
11624 (mouse-sel-mode): Doc fix; remove points that are default features
11625 of mouse.el.
11626
c79598ef
JB
116272011-07-12 Johan Bockgård <bojohan@gnu.org>
11628
11629 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11630 Fix previous fix (bug#2490).
11631
ff8be6ef
RW
116322011-07-12 Roland Winkler <winkler@gnu.org>
11633
b796c9b7
SM
11634 * textmodes/bibtex.el (bibtex-initialize):
11635 Use pop-to-buffer-same-window.
ff8be6ef
RW
11636 (bibtex-search-entries): Fix interactive call.
11637
296ba3ee
LMI
116382011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11639
f5242a02 11640 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11641 Fontise bytecomp Error lines more correctly (bug#2490).
11642 Fix suggested by Johan Bockgård.
f5242a02 11643
296ba3ee
LMI
11644 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11645
11646 * dired-x.el (dired-guess-default): Use `delete-dups'.
11647
f69fd0d2
CY
116482011-07-12 Chong Yidong <cyd@stupidchicken.com>
11649
11650 * dired.el (dired-mark-prompt):
11651 * dired-aux.el (dired-read-shell-command): Doc fix.
11652
eab5dc07
LMI
116532011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11654
b796c9b7
SM
11655 * mail/sendmail.el (sendmail-query-once):
11656 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11657 emacs -Q.
11658
11659 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11660
eab5dc07
LMI
11661 * cus-edit.el (custom-file): Take an optional no-error variable.
11662 (customize-save-variable): Set the variable, and give a warning if
11663 running under "emacs -q".
11664
a1e65d42
JB
116652011-07-11 Juanma Barranquero <lekktu@gmail.com>
11666
11667 * loadhist.el (unload-feature-special-hooks):
11668 Add `auto-coding-functions', `fill-nobreak-predicate' and
11669 `find-directory-functions' (bug#5327).
11670
1d52da10
LMI
116712011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11672
be958f1d
LMI
11673 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11674
5bedb26c
LMI
11675 * cus-edit.el (custom-guess-name-alist): -alist variables should
11676 use the `alist' type (bug#3120). Suggested by Drew Adams.
11677
1d52da10
LMI
11678 * printing.el: Add documentation to all the `pr-toggle-' commands.
11679
cd394be1 116802011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11681
11682 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11683 backends where it makes sense (bug#2623).
11684
dcc88d8a
LMI
116852011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11686
c3de9feb
LMI
11687 * dired-x.el (dired-guess-default): Remove duplicate shell command
11688 entries (bug#2028).
8a93078b 11689 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11690 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11691
dcc88d8a
LMI
11692 * subr.el (remove-duplicates): New conveniency function.
11693
505e3645
LMI
116942011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11695
11696 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11697 (bug#1526).
11698
116992011-07-10 Martin Rudalics <rudalics@gmx.at>
11700
11701 * window.el (display-buffer-normalize-default): Don't invert
11702 meaning of even-window-heights. Reported by Eli Zaretskii
11703 <eliz@gnu.org>.
11704
455e4fa1
BR
117052011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11706
11707 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11708
8e0bc3e9
CY
117092011-07-10 Chong Yidong <cyd@stupidchicken.com>
11710
11711 * window.el (display-buffer): Fix arguments to
11712 display-buffer-reuse-window in last change.
11713
fa7c3228
CY
11714 * faces.el (link): Use a less saturated blue on light backgrounds.
11715
11716 * startup.el (fancy-startup-text, fancy-about-text)
11717 (fancy-startup-tail): Use font-lock faces, for background safety.
11718
c0a7f300
BN
117192011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11720
b796c9b7
SM
11721 * emulation/viper-cmd.el (viper-change-state-to-vi):
11722 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11723
4dc2a129
MR
117242011-07-09 Martin Rudalics <rudalics@gmx.at>
11725
11726 * window.el (display-buffer-default-specifiers): Remove.
11727 (display-buffer-macro-specifiers): Remove default specifiers.
11728 (display-buffer-alist): Default to nil.
b796c9b7 11729 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11730 (display-buffer-pop-up-window): Allow splitting internal
11731 windows. Check whether a live window was created.
11732 (display-buffer-other-window-means-other-frame)
11733 (display-buffer-normalize-arguments): Rename to
11734 display-buffer-normalize-argument and rewrite. Set the
11735 other-window specifier.
11736 (display-buffer-normalize-special): New function.
11737 (display-buffer-normalize-options): Rename to
11738 display-buffer-normalize-default and rewrite.
11739 (display-buffer-normalize-options-inhibit): Remove.
11740 (display-buffer-normalize-specifiers): Rewrite.
11741 (display-buffer): Process other-window specifier and call
11742 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11743 more faithfully.
b796c9b7 11744 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11745 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11746 (display-buffer-in-window, display-buffer-alist-set):
11747 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11748 <tassilo@member.fsf.org>.
11749
2d43b8c9
LL
117502011-07-09 Leo Liu <sdl.web@gmail.com>
11751
11752 * register.el (insert-register): Restore accidental change on
11753 2011-06-26. (Bug#9028)
11754
7f9b7c53
GM
117552011-07-09 Glenn Morris <rgm@gnu.org>
11756
11757 * subr.el (remq): Handle the empty list. (Bug#9024)
11758
f042cfd8
AS
117592011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11760
11761 * mail/sendmail.el (send-mail-function): No longer delay custom
11762 initialization.
11763 * custom.el (custom-initialize-delay): Doc fix.
11764
856b2f11
SM
117652011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11766
11767 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11768
afae1d68
MA
117692011-07-08 Michael Albinus <michael.albinus@gmx.de>
11770
11771 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11772 human-friendly prompt.
11773
0757af94
SM
117742011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11775
11776 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11777 provided by a particular plugin.
11778
d760b731
LMI
117792011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11780
11781 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11782 save customizations (with "emacs -Q"), just set the variable
11783 instead of erroring out.
11784
11785 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11786
cd79ce90
JL
117872011-07-08 Juri Linkov <juri@jurta.org>
11788
11789 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11790 (archive-zip-update-case): Use 7z if found by `executable-find'.
11791 The order of searching the available programs is the same as in
11792 `archive-zip-extract' (bug#8968).
11793
14cc04aa
CY
117942011-07-07 Chong Yidong <cyd@stupidchicken.com>
11795
11796 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11797 (menu-bar-options-menu): Tweak descriptions.
11798
0a1848ec
LMI
117992011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11800
11801 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11802 menu items into verb phrases (bug#1421). Also refill to fit under
11803 80 columns.
11804
f5bd0689
CY
118052011-07-07 Chong Yidong <cyd@stupidchicken.com>
11806
538e85c6
CY
11807 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11808 (Info-read-node-name): Doc fix (Bug#1084).
11809
f5bd0689
CY
11810 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11811 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11812 (end-of-sexp, beginning-of-sexp)
11813 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11814 (forward-symbol, forward-same-syntax, word-at-point)
11815 (sentence-at-point): Doc fix (Bug#1144).
11816
56ec5115
LMI
118172011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11818
f3f8e37f
LMI
11819 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11820 should cover it (bug#1281).
11821
0757af94 11822 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11823
e9fce1ac 11824 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11825 negotiation fails, then possibly try again with a non-encrypted
11826 connection (bug#9017).
11827
56ec5115
LMI
11828 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11829 be used.
11830
c2f9aec8
RS
118312011-07-07 Richard Stallman <rms@gnu.org>
11832
11833 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11834 property, and handle its changed format.
11835 Look for the correct line number.
11836 Use file's line contents (but not past first =) to find
11837 correct line in message.
11838
ef7b981d 118392011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11840
11841 * international/characters.el (build-unicode-category-table):
11842 Delete it.
0757af94 11843 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11844
0757af94 11845 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11846 to src/chartab.c.
11847 (get-char-code-property): Call unicode-property-table-internal to
11848 load a file. Call get-unicode-property-internal where necessary.
11849 (put-char-code-property): Call unicode-property-table-internal to
11850 load a file. Call put-unicode-property-internal where necessary.
11851 put-unicode-property-internal where necessary.
0757af94
SM
11852 (char-code-property-description):
11853 Call unicode-property-table-internal to load a file.
c805dec0
KH
11854
11855 * international/charprop.el:
11856 * international/uni-bidi.el:
11857 * international/uni-category.el:
11858 * international/uni-combining.el:
11859 * international/uni-comment.el:
11860 * international/uni-decimal.el:
11861 * international/uni-decomposition.el:
11862 * international/uni-digit.el:
11863 * international/uni-lowercase.el:
11864 * international/uni-mirrored.el:
11865 * international/uni-name.el:
11866 * international/uni-numeric.el:
11867 * international/uni-old-name.el:
11868 * international/uni-titlecase.el:
11869 * international/uni-uppercase.el: Regenerate.
11870
11871 * loadup.el: Load international/charprop.el before
11872 international/characters.
11873
e14b388a
CY
118742011-07-07 Chong Yidong <cyd@stupidchicken.com>
11875
11876 * window.el (next-buffer, previous-buffer): Signal an error if
11877 called from a minibuffer window.
11878
11879 * bindings.el: Revert 2011-07-04 change.
11880
354cf0ba
RS
118812011-07-06 Richard Stallman <rms@gnu.org>
11882
11883 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11884 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11885 Treat markers like ints.
11886 (rmail-mime-entity): Doc fix.
11887
a48868a7
LMI
118882011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11889
4906cd3d
LMI
11890 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11891 defcustom again for backwards compatibility.
11892
e0457abe
LMI
11893 * simple.el (shell-command-on-region): Fill.
11894
d67f7e1f
LMI
11895 * dired-aux.el (dired-kill-line): Add a doc string.
11896
fe204702
LMI
11897 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11898 to "\\sw\\|\\s_" (bug#358).
11899
a48868a7
LMI
11900 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11901 (dired-unmark-backward): Ditto.
11902 (dired-flag-backup-files): Ditto.
11903
11904 * dired-x.el (dired-mark-sexp): Ditto.
11905
aa8a705c
RS
119062011-07-06 Richard Stallman <rms@gnu.org>
11907
11908 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11909 (rmail-mime-entity): New arg TRUNCATED.
11910 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11911 New functions.
11912 (rmail-mime-save): Warn if entity is truncated.
11913 (rmail-mime-toggle-hidden): Likewise, for showing.
11914 (rmail-mime-process-multipart): Record when an entity is truncated.
11915
a9a936b9
RS
11916 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11917 if ENTITY is a string.
11918
1f2b92cb
LMI
119192011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11920
f4f73198 11921 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11922 of faces when `M-C-x'-ing their definitions (bug#8378).
11923 Also clean up the code slightly.
f4f73198 11924
12b16734 11925 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11926 because that makes the colors go away.
12b16734 11927
f0691d22
LMI
11928 * mail/sendmail.el (send-mail-function): Change the default to
11929 `sendmail-query-once'.
9e87df06 11930 (sendmail-query-once): Add an autoload cookie.
f0691d22 11931
1f2b92cb
LMI
11932 * net/network-stream.el (network-stream-open-starttls): Try using
11933 a plain connection even if the server offered STARTTLS, and we
11934 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11935 capability. This should make smtpmail.el work in slightly more
11936 configurations.
11937
1cdd2a1b
MA
119382011-07-06 Michael Albinus <michael.albinus@gmx.de>
11939
11940 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11941 New defun.
11942 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11943
fbcc67e2
MM
119442011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11945
11946 * progmodes/sql.el: Version 3.0
0757af94 11947 (sql-product-alist): Add product :completion-object,
fbcc67e2 11948 :completion-column, and :statement attributes.
0757af94 11949 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11950 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11951 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11952 ansi keywords.
11953 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11954 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11955 (sql-oracle-show-reserved-words): New function for development.
11956 (sql-product-font-lock): Simplify for source code buffers.
11957 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11958 New functions.
11959 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11960 (sql-mode-map): Add statement movement functions.
11961 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11962 New variable.
fbcc67e2
MM
11963 (sql-statement-regexp, sql-beginning-of-statement)
11964 (sql-end-of-statement, sql-signum): New functions.
0757af94 11965 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11966 (sql-show-sqli-buffer): Bug fix.
11967 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11968 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11969 with sql-interactive-mode.
11970 (sql-save-connection): Save buffer local settings.
0757af94 11971 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11972 (sql-product-interactive): Bug fix.
11973 (sql-preoutput-hold): New variable.
11974 (sql-interactive-remove-continuation-prompt): Bug fixes.
11975 (sql-debug-redirect): New variable.
11976 (sql-str-literal): New function.
11977 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11978 Redesign.
fbcc67e2
MM
11979 (sql-oracle-save-settings, sql-oracle-restore-settings)
11980 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11981 (sql-completion-object, sql-completion-column)
11982 (sql-completion-sqlbuf): New variables.
11983 (sql-build-completions-1, sql-build-completions)
11984 (sql-try-completion): New functions.
11985 (sql-read-table-name): Use them.
11986 (sql-contains-names): New buffer local variable.
11987 (sql-list-all, sql-list-table): Use it.
11988 (sql-oracle-completion-types): New variable.
11989 (sql-oracle-completion-object, sql-sqlite-completion-object)
11990 (sql-postgres-completion-object): New functions.
11991
d4eaeab1
GM
119922011-07-06 Glenn Morris <rgm@gnu.org>
11993
11994 * window.el (pop-to-buffer): Doc fix.
11995
322b7dab 119962011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11997
11998 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11999
322b7dab 120002011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12001
322b7dab 12002 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12003
322b7dab 12004 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12005
605dd5bf
CY
120062011-07-05 Chong Yidong <cyd@stupidchicken.com>
12007
12008 * button.el (button): Inherit from link face. Suggested by Dan
12009 Nicolaescu.
12010
7dbfa719
SM
120112011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12012
3db614b0
SM
12013 * progmodes/gdb-mi.el: Fit in 80 columns.
12014 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12015 switch-to-buffer.
12016
7dbfa719
SM
12017 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12018 if imenu is simply not configured (bug#8941).
12019
919d884a
KM
120202011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12021
12022 * allout.el (allout-post-undo-hook): New allout outline-change
12023 event hook to signal undo activity.
12024 (allout-post-command-business): Run allout-post-undo-hook if an
12025 undo just occurred.
7dbfa719
SM
12026 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12027 * allout-widgets.el (allout-widgets-after-undo-function):
12028 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12029 in the vicinity of an undo.
12030 (allout-widgets-mode): Include allout-widgets-after-undo-function
12031 on the new allout-post-undo-hook.
12032
450a0f09
SM
120332011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12034
12035 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12036 Let define-derived-mode define it.
12037 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12038 cycles of abbrev-table inheritance (bug#8998).
12039
2de69e00
RW
120402011-07-05 Roland Winkler <winkler@gnu.org>
12041
12042 * textmodes/bibtex.el: Add support for biblatex.
12043 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12044 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12045 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12046 (bibtex-entry-alist, bibtex-field-alist): New variables.
12047 (bibtex-entry-field-alist): Obsolete alias for
12048 bibtex-BibTeX-entry-alist.
12049 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12050 (bibtex-set-dialect): New command.
12051 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12052 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12053 Bind via bibtex-set-dialect.
2de69e00
RW
12054 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12055 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12056 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12057 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12058 Define via bibtex-set-dialect.
450a0f09
SM
12059 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12060 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12061 (bibtex-vec-push, bibtex-vec-incr): New functions.
12062 (bibtex-format-entry, bibtex-field-list)
12063 (bibtex-print-help-message, bibtex-validate)
12064 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12065
2dcdbdd9
SM
120662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12067
12068 * progmodes/compile.el (compilation-goto-locus):
12069 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12070 * bs.el (bs-cycle-next, bs-cycle-previous):
12071 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12072 * bindings.el (mode-line-other-buffer):
12073 * autoinsert.el (auto-insert):
12074 * arc-mode.el (archive-extract):
12075 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12076
b27640fe
JB
120772011-07-05 Juanma Barranquero <lekktu@gmail.com>
12078
12079 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12080 Fix check of `emacs-lock-unlockable-modes'.
12081 Coerce true values of `emacs-lock--try-unlocking' to t.
12082
53bbe3ad
JB
120832011-07-05 Juanma Barranquero <lekktu@gmail.com>
12084
12085 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12086 * emacs-lock.el: New file.
12087
1d3cdbc7
JD
120882011-07-05 Julien Danjou <julien@danjou.info>
12089
12090 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12091 than `boundp' to check if face is set.
12092
9173deec
JB
120932011-07-05 Juanma Barranquero <lekktu@gmail.com>
12094
12095 * register.el (registerv-make):
12096 * window.el (window-min-height): Fix typos in docstrings.
12097
869795d6
JD
120982011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12099
9173deec 12100 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12101 Update doc string.
12102
b768cdcd
JB
121032011-07-04 Juanma Barranquero <lekktu@gmail.com>
12104
12105 * server.el (server-execute): Catch quit and call
12106 `server-return-error' to pass the error back to emacsclient and
12107 close the connection (bug#8942).
12108
13aa217b
KM
121092011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12110
12111 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12112 insecure exception for current topic. Also note that auto-saves
12113 are handled differently.
12114
5d3385a0 12115 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12116 State variables for tracking auto-save inhibition situation.
12117
12118 (allout-write-contents-hook-handler): Rename from
12119 'allout-write-file-hook-handler', and describe how it depends on
12120 write-contents-functions sensitivity to non-nil value to prevent
12121 file write.
12122
12123 (allout-auto-save-hook-handler): Remove. auto-save does not check
12124 this in individual buffers, only in the starting buffer, so this
12125 is not the right way for us to inhibit auto-save in a buffer
12126 according to its condition.
12127
12128 (allout-mode): Use new allout-write-contents-hook-handler, and
12129 only with write-contents-functions. Remove auto-save provisions -
12130 they're implemented elsewhere.
12131
12132 (allout-before-change-handler): If undo is in progress, note that
12133 for attention of allout-post-command-business.
12134
12135 (allout-post-command-business): If the command we're following was
12136 an undo, check for change in the status of encrypted items and
12137 adjust auto-save inhibitions accordingly.
12138
12139 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12140 according to whether there are or aren't any plain-text topics
12141 pending encryption.
12142
2dcdbdd9 12143 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12144 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12145 if there are plain-text topics pending encryption.
13aa217b
KM
12146
12147 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12148 buffer-saved-size and some allout state to not inhibit auto-saves
12149 if there are no longer any plain-text topics pending encryption.
12150
0757af94
SM
12151 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12152 No longer provide for exemption of the current topic.
13aa217b 12153
ac89b32c
JL
121542011-07-04 Juri Linkov <juri@jurta.org>
12155
12156 Add 7z operations to delete and save changed members (bug#8968).
12157 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12158 New defcustoms.
12159 (archive-7z-write-file-member): New function.
12160 (archive-7z-summarize): Fix the number of dashes in the
12161 listing output.
12162
8fa39615
SM
121632011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12166 (bug#8958).
12167
2f11b3f1
CY
121682011-07-04 Chong Yidong <cyd@stupidchicken.com>
12169
d66fef2b
CY
12170 * bindings.el: Ignore next-buffer and previous-buffer in
12171 minibuffer-local-map.
12172
2f11b3f1
CY
12173 * font-lock.el (font-lock-builtin-face): Change light background
12174 color to dark slate blue (Bug#6693).
12175
f932a347
WD
121762011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12177
12178 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12179
c8af70e1
SM
121802011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12181
12182 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12183 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12184 Add switch-to-buffer.
12185
f158badc
LMI
121862011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12187
12188 * isearch.el (isearch-search-fun-function): Clarify further the
12189 meaning of the function returned.
12190
6d95bd46
MA
121912011-07-04 Michael Albinus <michael.albinus@gmx.de>
12192
12193 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12194
12195 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12196 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12197 Use it.
12198 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12199 `tramp-default-remote-path' does not exist.
12200 (tramp-send-command-and-read): New optional argument NOERROR.
12201 (tramp-open-connection-setup-interactive-shell)
12202 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12203 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12204 (tramp-process-sentinel): Flush also process' connection property.
12205 (tramp-sh-handle-start-file-process): Do not set process
12206 sentinel. It is done now ...
12207 (tramp-maybe-open-connection): ... here. (Bug#8929)
12208
909e6b67
MK
122092011-07-04 MON KEY <monkey@sandpframing.com>
12210
12211 * play/animate.el (animate-string): Doc fixes and allow changing
12212 the buffer name (bug#5417).
12213
122142011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12215
c8af70e1 12216 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12217
f34755dc
PE
122182011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12219
396cec72
PE
12220 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12221 This is simpler and helps future-proof the code.
12222 (timer-until): Use time-subtract and float-time.
08235028 12223 (timer--time-less-p): Use time-less-p.
f34755dc 12224
56e6cc31
JB
122252011-07-04 Juanma Barranquero <lekktu@gmail.com>
12226
3abb79e5
JB
12227 * type-break.el (timep): Use the value of `float-time' to avoid a
12228 byte-compiler warning.
12229
56e6cc31
JB
12230 * server.el (server-eval-and-print): Return any result, even nil.
12231
7b9430b4
PE
122322011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12233
12234 * type-break.el: Accept time formats that the builtins accept.
12235 (timep, type-break-time-difference): Accept any format that
12236 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12237 This is simpler and helps future-proof the code.
12238 (type-break-time-difference): Round rather than ignoring
12239 subseconds components.
12240
3034e9e7
LMI
122412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12242
12243 * info.el (Info-apropos-matches): Make non-interactive, since it
12244 doesn't seem to do anything useful as a command (bug#8829).
12245
1485f4c0
CY
122462011-07-03 Chong Yidong <cyd@stupidchicken.com>
12247
12248 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12249 Move from faces.el.
1485f4c0
CY
12250 (frame-default-terminal-background): New function.
12251
12252 * custom.el (custom-push-theme): Don't record faces in `changed'
12253 theme; this doesn't work correctly for per-frame face settings.
12254 (disable-theme): Use face-set-after-frame-default to reset faces.
12255 (custom--frame-color-default): New function.
12256
9fa3dd45
LMI
122572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12258
c8af70e1 12259 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12260 (bug#8769).
12261
6cbbc20c
KR
122622011-03-29 Kevin Ryde <user42@zip.com.au>
12263
12264 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12265 `perl-Test2' extend to match possible "fail #N" rep count
12266 (bug#8377).
12267
c7f98048
LMI
122682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12269
65676592
LMI
12270 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12271 `smtpmail-via-smtp' now returns the error instead of nil.
12272
c7f98048
LMI
12273 * isearch.el (isearch-search-fun-function): Clarify the doc string
12274 (bug#8101).
12275
56e6cc31 122762011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12277
12278 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12279 unnecessary spaces (bug#8987).
12280
2b216704
LMI
122812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12282
12283 * net/network-stream.el (open-network-stream): Use the
12284 :end-of-capability command thoughout.
12285
122862011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12287
12288 * net/network-stream.el (open-network-stream): Add the
12289 :end-of-capability command parameter, used by pop3.el.
12290
36adf6ce
LMI
122912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12292
1ca0da0e
LMI
12293 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12294
fc00f69c
LMI
12295 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12296 for list)" (bug#6475).
12297
28fd8759 12298 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12299 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12300 an error (bug#6297).
12301
0dd8b6da
LMI
12302 * man.el (Man-reference-regexp): Allow matching possible
12303 word-wrapped references (bug#6289).
12304
ce1438d6
LMI
12305 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12306 for consistency with the other vc buffers (bug#6197).
12307 (vc-checkin): Ditto.
12308
12309 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12310
36adf6ce
LMI
12311 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12312
e83cc1f7
LMI
123132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12314
8a20ca4c
LMI
12315 * custom.el (defcustom): Clarify that :set is only used in the
12316 Customize user interface (bug#6089).
12317
83319045
LMI
12318 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12319 associated with a file, refuse to run instead of erroring out
12320 (bug#6084).
12321
a8392169
LMI
12322 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12323 the doc string, since it appears that using `fill-column' always
12324 controls the width (bug#7845).
12325
e83cc1f7
LMI
12326 * simple.el (shell-command-on-region): Say where the error output
12327 went if `shell-command-default-error-buffer' is set (bug#6857).
12328
e47ca23b
KM
123292011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12330
12331 * allout.el (allout-yank-processing): Adjust cursor position for
12332 backwards-deleted space.
12333
12334 (allout-rebullet-heading): Register changes with
12335 allout-exposure-changed-hook, so the modified topic is properly
12336 decorated.
12337
5cf56143
LMI
123382011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12339
08549772
LMI
12340 * minibuffer.el (completion-in-region): Document PREDICATE
12341 (bug#7136).
12342
48e96771
LMI
12343 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12344 of keyword/argument pairs (bug#6904).
12345
c8af70e1
SM
12346 * replace.el (multi-occur):
12347 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12348
e17d05e2
LMI
123492011-07-02 Drew Adams <drew.adams@oracle.com>
12350
12351 * dired.el (dired-mark-if): Make the message about whether it's
12352 marking or unmarking clearer (bug#8523).
12353
063b0e45
LMI
123542011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12355
12356 * disp-table.el (display-table-print-array): New function.
12357 (describe-display-table): Use it to print the vectors more pretty
12358 (Bug#8859).
12359
28545e04
MR
123602011-07-02 Martin Rudalics <rudalics@gmx.at>
12361
12362 * window.el (window-state-get-1): Don't assign clone numbers.
12363 Add clone-of item to list of window parameters.
12364 (window-state-put-2): Don't process clone numbers.
12365 (display-buffer-alist): Fix doc-string.
12366
3349e122
SM
123672011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12368
12369 * subr.el (remq): Don't allocate if it's not needed.
12370 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12371 (keymap--merge-bindings): New functions.
12372 (keymap-canonicalize): Use them to refine the canonicalization.
12373 * minibuffer.el (minibuffer-local-completion-map)
12374 (minibuffer-local-must-match-map): Move initialization from C.
12375 (minibuffer-local-filename-completion-map): Move initialization from C;
12376 don't inherit from anything here.
12377 (minibuffer-local-filename-must-match-map): Make obsolete.
12378 (completing-read-default): Use make-composed-keymap to combine
12379 minibuffer-local-filename-completion-map with either
12380 minibuffer-local-must-match-map or
12381 minibuffer-local-filename-completion-map.
12382
d224ac83
GM
123832011-07-01 Glenn Morris <rgm@gnu.org>
12384
3de63bf8
GM
12385 * type-break.el (type-break-time-sum): Use dolist.
12386
d224ac83
GM
12387 * textmodes/flyspell.el (flyspell-word-search-backward):
12388 Replace CL function.
12389
1a1e3f32
SM
123902011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12391
fe3f64d5
SM
12392 * mouse.el (mouse--strip-first-event): New function.
12393 (function-key-map): Use it to map fringe clicks to normal clicks
12394 by default.
12395
eb604e34
SM
12396 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12397 (vc-bzr-revision-completion-table): Add support for annotate and date.
12398
1a1e3f32
SM
12399 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12400 inherit from parent.
12401
5bd35902
LMI
124022011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12403
ace6c69c 12404 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12405 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12406
191e2bed
LMI
12407 * dired.el (dired-mode): Fix up the doc string as suggested by
12408 Drew Adams (bug#8817).
12409
5bd35902
LMI
12410 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12411 cookie, since the manual says that it should be possible to add
12412 this function to `find-file-hook' (bug#8709).
12413
eee8207a
TZ
124142011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12415
12416 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12417 here. Noted Ted Zlatanov as the maintainer.
12418 (cfengine-common-settings, cfengine-common-syntax): New functions
12419 to set up common things between `cfengine-mode' and
12420 `cfengine3-mode'.
12421 (cfengine3-mode): New mode.
12422 (cfengine3-defuns cfengine3-defuns-regex
12423 (cfengine3-class-selector-regex cfengine3-category-regex)
12424 (cfengine3-vartypes cfengine3-font-lock-keywords)
12425 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12426 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12427
36b148cf
MA
124282011-07-01 Michael Albinus <michael.albinus@gmx.de>
12429
12430 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12431
12432 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12433
0bf4ba9a
MR
124342011-07-01 Martin Rudalics <rudalics@gmx.at>
12435
12436 * window.el (same-window-buffer-names, same-window-regexps)
12437 (same-window-p, special-display-frame-alist)
12438 (special-display-popup-frame, special-display-function)
12439 (special-display-buffer-names, special-display-regexps)
12440 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12441 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12442 (split-window-preferred-function, split-height-threshold)
12443 (split-width-threshold, even-window-heights)
12444 (display-buffer-mark-dedicated, window-splittable-p)
12445 (split-window-sensibly, window-safely-shrinkable-p):
12446 Un-obsolete.
12447 (display-buffer): Don't spread args with function specifier
12448 because special-display-popup-frame won't like it.
12449
35837f51
PE
124502011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12451
d0672f86
PE
12452 Time-stamp simplifications and fixes.
12453 These improve accuracy slightly, and future-proof the code
12454 against some potential changes to current-time format.
12455
b9444d97
PE
12456 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12457 by using time-since and float-time.
12458
0ef923dc
PE
12459 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12460 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12461 + NNN microseconds".
12462
2f81380d
PE
12463 * type-break.el (type-break-time-sum): Rewrite using time-add.
12464
845b5c3e
PE
12465 * play/hanoi.el (hanoi-current-time-float): Remove.
12466 All uses replaced by float-time.
12467
ee6f1be0
PE
12468 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12469 This yields a more-accurate answer.
12470 (rng-time-to-float): Remove; no longer needed.
12471
fe955043
PE
12472 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12473
5777162a
PE
12474 * calendar/timeclock.el (timeclock-seconds-to-time):
12475 Defalias to seconds-to-time, since they're the same thing.
12476
3103f8b6 12477 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12478 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12479 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12480
0e61a35f
SM
124812011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12482
12483 * window.el (bury-buffer): Don't iconify the only frame.
12484 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12485 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12486
ddd63a1e
CY
124872011-07-01 Chong Yidong <cyd@stupidchicken.com>
12488
0e61a35f
SM
12489 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12490 Add mouse-yank-primary.
ddd63a1e 12491
055f4923
TZ
124922011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12493
12494 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12495
6a2fb145
SM
124962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12499 (find-library-name): Use it to find relative load names when provided
12500 absolute file name (bug#8803).
12501
fd4983f2
LMI
125022011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12503
887d14ad
LMI
12504 * textmodes/flyspell.el (flyspell-word): Consider words that
12505 differ only in case as potential doublons (bug#5687).
12506
c53dc7fc
LMI
12507 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12508 Remove two rather uninteresting debugging-like messages to make
12509 debbugs.el more silent.
12510
fd4983f2
LMI
12511 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12512 a password-like phrase.
12513
7a71b18d 125142011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12515
12516 * progmodes/cc-guess.el: New file.
12517
6a2fb145 12518 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12519
12520 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12521 derived from `c-basic-common-init'.
12522
12523 * progmodes/cc-mode.el (top-level): Require cc-guess.
12524 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12525
1fa280a3
LM
125262011-06-30 Lawrence Mitchell <wence@gmx.li>
12527
12528 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12529
e6597158
AM
125302011-06-30 Alan Mackenzie <acm@muc.de>
12531
1fa280a3
LM
12532 * progmodes/cc-engine.el (c-guess-continued-construct):
12533 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12534 lock is disabled. Name this case as "CASE G".
12535
68ba37fb
KM
125362011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12537
12538 * allout.el (allout-yank-processing): Fix injection of extra space
12539 between bullet and non-whitespace character in first topic when
12540 pasting, ensuring that the actual spacing in the pasted topic
12541 following the bullet char is preserved. This extra space was
12542 causing pasted encrypted topics to get a decrypted status even
12543 when the content was actually still encrypted. Now the decryption
12544 status from before the paste is preserved.
12545
12546 (allout-flag-region): Set all allout overlays so they evaporate
12547 when reduced to zero length (evanescent), to prevent overlay
12548 leakage.
12549
887a0b34
GM
125502011-06-30 Glenn Morris <rgm@gnu.org>
12551
94b9acce
GM
12552 * w32-fns.el (w32-charset-info-alist): Declare.
12553
1d9b46d4
GM
12554 * find-dired.el (find-grep-options): Simplify.
12555
cc232200
GM
12556 * term/ns-win.el (ns-set-resource): Declare.
12557
28e77c46
GM
12558 * ses.el (row, col): Declare dynamic variables honestly.
12559
887a0b34
GM
12560 * textmodes/reftex-parse.el (index-tags): Declare.
12561
658d8eb8
CY
125622011-06-30 Chong Yidong <cyd@stupidchicken.com>
12563
12564 * cus-edit.el (customize-push-and-save): New function.
12565
12566 * files.el (hack-local-variables-confirm): Use it.
12567
1fa280a3
LM
12568 * custom.el (load-theme): New arg NO-CONFIRM.
12569 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12570 (custom-enabled-themes): Doc fix.
12571
12572 * cus-theme.el (customize-create-theme)
12573 (custom-theme-merge-theme): Callers to load-theme changed.
12574
bb617717
LMI
125752011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12576
d61bdd5d
LMI
12577 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12578 short URLs have at least one dot in them (bug #7614).
12579
bb617717
LMI
12580 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12581 nil, because using a pty is apparently too slow (bug #895).
12582
2f31f37a
LMI
125832011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12584
12585 * mail/sendmail.el (sendmail-query-once): New function.
12586 (sendmail-query-once-function): New variable.
12587
3076b24e
GM
125882011-06-29 Glenn Morris <rgm@gnu.org>
12589
faf2a174
GM
12590 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12591
3076b24e
GM
12592 * ses.el (top-level): Require cl when compiling.
12593 (ses-set-localvars): Fix error statement.
12594 Call it at compile time to silence a storm of warnings.
12595
5386012d
MR
125962011-06-29 Martin Rudalics <rudalics@gmx.at>
12597
12598 * window.el (normalize-live-buffer): Rename to
12599 window-normalize-buffer.
12600 (normalize-live-frame): Rename to window-normalize-frame.
12601 (normalize-any-window): Rename to window-normalize-any-window.
12602 (normalize-live-window): Rename to window-normalize-live-window.
12603 (make-window-atom): Rename to window-make-atom.
12604 (window-resize-reset): Rename to window--resize-reset.
12605 (window-resize-reset-1): Rename to window--resize-reset-1.
12606 (resize-mini-window): Rename to window--resize-mini-window.
12607 (resize-subwindows-skip-p): Rename to
12608 window--resize-subwindows-skip-p.
12609 (resize-subwindows-normal): Rename to
12610 window--resize-subwindows-normal.
12611 (resize-subwindows): Rename to window--resize-subwindows.
12612 (resize-other-windows): Rename to window--resize-siblings.
12613 (resize-this-window): Rename to window--resize-this-window.
12614 (resize-root-window): Rename to window--resize-root-window.
12615 (resize-root-window-vertically): Rename to
12616 window--resize-root-window-vertically.
12617 (normalize-buffer-to-display): Rename to
12618 window-normalize-buffer-to-display.
12619 (normalize-buffer-to-switch-to): Rename to
12620 window-normalize-buffer-to-switch-to.
12621 Correspondingly update all callers of the functions listed
12622 above.
12623 (display-buffer-alist, display-buffer-normalize-arguments)
12624 (display-buffer-normalize-options, display-buffer)
12625 (display-buffer-alist-set): Use "function" instead of
12626 "fun-with-args".
12627
1176868d
CY
126282011-06-28 Chong Yidong <cyd@stupidchicken.com>
12629
12630 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12631 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12632 debbugs.gnu.org. Mention acknowledgment email.
12633
20a7a65f
LMI
126342011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12635
12636 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12637 buffer multibyteness, since it shouldn't matter.
12638
5f45cca5
MR
126392011-06-28 Martin Rudalics <rudalics@gmx.at>
12640
12641 * window.el (display-buffer-in-side-window): Handle dedicated
12642 windows as in display-buffer-reuse-window.
12643 (display-buffer-normalize-alist): Use value of override
12644 specifier.
12645 (display-buffer-normalize-specifiers): Use value of
12646 other-window-means-other-frame specifier.
12647 (display-buffer-alist): Rewrite some texts in widgets.
12648 (display-buffer): Spread arguments when calling function
12649 specified by fun-with-args.
12650
ad85fe1f
DD
126512011-06-28 Deniz Dogan <deniz@dogan.se>
12652
1fa280a3
LM
12653 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12654 Unnest `let'.
da68c4c8 12655
ad85fe1f
DD
12656 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12657 selectors (Bug#5732).
ec49bd31 12658 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12659
a08cc025
JA
126602011-06-27 Jari Aalto <jari.aalto@cante.net>
12661
12662 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12663 (eshell-ls-date-format): New defcustom.
12664 (eshell-ls-file): Use it.
12665
e2b551c5
SM
126662011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12669
8982b231
KY
126702011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12671
12672 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12673 (ange-ftp-make-tmp-name): New arg.
12674 (ange-ftp-file-local-copy): Use it.
12675
36c9fa27
J
126762011-06-27 Jambunathan K <kjambunathan@gmail.com>
12677
12678 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12679 no-conversion (Bug#8870).
12680
d68443dc
MR
126812011-06-27 Martin Rudalics <rudalics@gmx.at>
12682
12683 * window.el (window-right, window-left, window-child)
12684 (window-child-count, window-last-child)
12685 (window-iso-combination-p, walk-window-tree-1)
12686 (window-atom-check-1, window-tree-1, delete-window)
12687 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12688 new naming conventions - window-vchild, window-hchild,
12689 window-next and window-prev are now called window-top-child,
12690 window-left-child, window-next-sibling and window-prev-sibling
12691 respectively.
d615d6d2
MR
12692 (resize-window-reset): Rename to window-resize-reset.
12693 (resize-window-reset-1): Rename to window-resize-reset-1.
12694 (resize-window): Rename to window-resize.
12695 (window-min-height, window-min-width)
12696 (resize-mini-window, resize-this-window, resize-root-window)
12697 (resize-root-window-vertically, adjust-window-trailing-edge)
12698 (enlarge-window, shrink-window, maximize-window)
12699 (minimize-window, delete-window, quit-restore-window)
12700 (split-window, balance-windows, balance-windows-area-adjust)
12701 (balance-windows-area, window-state-put-2)
12702 (display-buffer-even-window-sizes, display-buffer-set-height)
12703 (display-buffer-set-width, set-window-text-height)
12704 (fit-window-to-buffer): Rename all "resize-window" prefixed
12705 calls to use the "window-resize" prefix convention.
12706 (display-buffer-alist): Fix symbol for label specifier.
12707 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12708 corresponding specifier.
12709 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12710
b6458526
VB
127112011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12712
12713 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12714 convention.
12715 (ses-call-printer): Does not pass an empty string to formatter when the
12716 cell is empty to keep from barking printer Calc math-format-value.
12717
d31fd9ac
RS
127182011-06-27 Richard Stallman <rms@gnu.org>
12719
43d5bf84
RS
12720 * battery.el (battery-mode-line-limit): New variable.
12721 (battery-update): Handle it.
12722
d31fd9ac
RS
12723 * mail/rmailmm.el (rmail-mime-process-multipart):
12724 Handle truncated messages.
12725
819a6054
GM
127262011-06-27 Glenn Morris <rgm@gnu.org>
12727
12728 * progmodes/flymake.el (flymake-err-line-patterns):
12729 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12730
cedc73f2
VB
127312011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12732
819a6054 12733 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12734 (ses--clean-!, ses--clean-_): New functions.
12735 (ses-range): Add configurability of readout order, and conversion
12736 to Calc vector.
12737
5e5d49b6
VB
12738 * ses.el (ses-repair-cell-reference-all): New function.
12739 (ses-cell-symbol): Set macro as safe, so that it can be used in
12740 formulas.
12741
56e6cc31 12742 * ses.el: Update cycle detection algorithm.
90ca8b49 12743 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12744 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12745 (ses-set-localvars): New function.
12746 (ses-make-cell): Add property-list as a cell element.
12747 (ses-cell-property-get-fun, ses-cell-property-get)
12748 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12749 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12750 New functions.
90ca8b49
VB
12751 (ses-cell-property-set, ses-cell-property-pop)
12752 (ses-cell-property-get-handle): New macro.
12753 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12754 New aliases, used for code readability.
12755 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12756 cycle detection.
12757 (ses-self-reference-early-detection): New defcustom.
fac916bf 12758 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12759 (ses-mode): Use ses-set-localvars.
12760 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12761 before lauching the update processing.
12762 (ses-initialize-Dijkstra-attempt): New function.
12763 (ses-recalculate-cell): Update for cycle detection based on
12764 Dijkstra algorithm.
12765
2bb63e81
VB
12766 * ses.el: Fix commenting and indenting convention.
12767
c9d29fb8
SM
127682011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12769
12770 * bs.el (bs-cycle-next): Complete last change.
12771
d8e4b68b
JB
127722011-06-27 Drew Adams <drew.adams@oracle.com>
12773
12774 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12775
40098786
LMI
127762011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12777
c9d29fb8
SM
12778 * net/network-stream.el (network-stream-open-starttls):
12779 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12780 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12781
40098786
LMI
12782 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12783 to binary to possibly avoid line encoding issues on Windows (among
12784 other things).
12785
468d09d4
LMI
127862011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12787
12788 * net/network-stream.el (open-network-stream): Return an :error
12789 saying what the problem was, if possible.
12790
12791 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12792 server.
12793
12794 * net/network-stream.el (network-stream-open-starttls): If we
12795 wanted to use STARTTLS, and the server offered it, but we weren't
12796 able to because we had no STARTTLS support, then close the connection.
12797 (open-network-stream): Return an :error element, if present.
12798
16f07dd7
CY
127992011-06-26 Chong Yidong <cyd@stupidchicken.com>
12800
88821ca0
CY
12801 * hl-line.el (hl-line-sticky-flag): Doc fix.
12802 (global-hl-line-sticky-flag): New option (Bug#8323).
12803 (global-hl-line-highlight): Obey it.
12804
16f07dd7
CY
12805 * vc/vc.el (vc-revert-show-diff): Default to t.
12806
6b5ccddf
KM
128072011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12808
c9d29fb8
SM
12809 * allout-widgets.el (allout-widgets-post-command-business):
12810 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12811 undecorated when an isearch is continued past, and isearch
12812 automatically collapses them. This leads to "widget leaks", where
12813 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12814 hidden widgets can slow down cursor travel, substantially.
12815 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12816 so we're doing without this nicety.
12817
12818 (allout-widgets-tally-string): Don't try to do a hash-table-count
12819 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12820 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12821 *Messages* when allout-widgets-maintain-tally is t.
12822
355f2e07
MR
128232011-06-26 Martin Rudalics <rudalics@gmx.at>
12824
12825 * window.el (display-buffer-normalize-argument): Rename to
12826 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12827 LABEL argument. Respect special-display-function when popping up
12828 a new frame. Fix code searching for a window showing the buffer
12829 on another frame.
c9d29fb8
SM
12830 (display-buffer-normalize-specifiers):
12831 Call display-buffer-normalize-arguments.
355f2e07
MR
12832 (display-buffer-in-window): Don't undedicate the window if its
12833 buffer remains the same.
12834 Reported by Drew Adams <drew.adams@oracle.com>.
12835 (display-buffer-alist): Add choice for same-window macro
12836 specfier.
12837 (display-buffer): Mention special meaning of LABEL argument in
12838 doc-string. Fix quoting. Don't pop up a new frame even as
12839 fallback.
12840
7ca8fc42
JB
128412011-06-26 Juanma Barranquero <lekktu@gmail.com>
12842
12843 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12844 avoid deleting the current window in some cases (bug#8911).
12845
bc312254
AS
128462011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12847
12848 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12849 (Bug#8934)
12850
2db18f3f
LMI
128512011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12852
c9d29fb8
SM
12853 * net/network-stream.el (network-stream-open-starttls):
12854 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12855 (network-stream-open-tls): Ditto.
12856
6302e0d3
LL
128572011-06-26 Leo Liu <sdl.web@gmail.com>
12858
12859 * register.el (registerv): New struct.
12860 (registerv-make): New function.
c9d29fb8
SM
12861 (jump-to-register, describe-register-1, insert-register):
12862 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12863 struct. (Bug#8415)
12864
5fdd4046
CY
128652011-06-26 Chong Yidong <cyd@stupidchicken.com>
12866
2afef60a
CY
12867 * vc/vc.el (vc-revert-show-diff): New defcustom.
12868 (vc-diff-internal): New arg specifying diff buffer.
12869 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12870 reuse an existing *vc-diff* buffer (Bug#8927).
12871
5fdd4046
CY
12872 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12873
e93db24a
GM
128742011-06-26 Glenn Morris <rgm@gnu.org>
12875
12876 * progmodes/f90.el (f90-critical-indent): New option.
12877 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12878 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12879 (f90-mode): Doc fix.
12880 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12881 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12882 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12883 (f90-match-end): Handle block, critical.
12884
eefff499
GM
128852011-06-25 Glenn Morris <rgm@gnu.org>
12886
f6ba4cc9
GM
12887 * calendar/diary-lib.el (diary-included-files): Doc fix.
12888 (diary-include-files): New function, extracted from
12889 diary-include-other-diary-files and diary-mark-included-diary-files.
12890 (diary-include-other-diary-files, diary-mark-included-diary-files):
12891 Just call diary-include-files.
12892 (diary-mark-entries): Reset diary-included-files on first call.
12893
16712304
GM
12894 * calendar/diary-lib.el (diary-mark-entries)
12895 (diary-mark-included-diary-files):
12896 Visit included diary-files in temp buffers.
12897
5d8e0d43
GM
12898 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12899 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12900 (f90-start-block-re, f90-imenu-generic-expression)
12901 (f90-looking-at-program-block-start, f90-no-block-limit):
12902 Add support for submodules.
12903
ccf7a5d5
GM
12904 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12905 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12906
11fdef7d 129072011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12908
12909 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12910 buffer-file-type before setting its value, to avoid disastrous
eefff499 12911 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12912
74f53697
JB
129132011-06-25 Juanma Barranquero <lekktu@gmail.com>
12914
12915 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12916
12917 * ses.el (ses-unload-function):
12918 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12919
12920 * proced.el (proced-unload-function):
12921 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12922
18a4ce5e
AR
129232011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12924
12925 * server.el (server-create-window-system-frame): Add parameters arg.
12926 (server-process-filter): Doc fix. Handle frame-parameters.
12927
519d22cc
JB
129282011-06-25 Juanma Barranquero <lekktu@gmail.com>
12929
12930 Fix bug#8730, bug#8781.
12931
12932 * loadhist.el (unload--set-major-mode): New function.
12933 (unload-feature): Use it.
12934
12935 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12936 (python-unload-function): New function.
12937
c206f5b0
SM
129382011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12939
12940 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12941
f9ad64f3
GS
129422011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12943
12944 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12945 the candidates list.
12946
7d0da90e
JB
129472011-06-24 Juanma Barranquero <lekktu@gmail.com>
12948
12949 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12950
14b4e83d
RS
129512011-06-23 Richard Stallman <rms@gnu.org>
12952
12953 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12954 (rmail-variables): Set next-error-move-function.
12955 (rmail-what-message): Take argument POS.
12956 (rmail-next-error-move): New function.
12957
273d2baf
SM
129582011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12959
12960 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12961 messages for adjacent non-terminals.
12962
56c2cc9a
RS
129632011-06-23 Richard Stallman <rms@gnu.org>
12964
12965 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12966 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12967 (rmail-start-mail): Don't specify use of rmail-mail-return;
12968 that's done by mail-bury now.
12969 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12970
d59eb518
MA
129712011-06-23 Michael Albinus <michael.albinus@gmx.de>
12972
12973 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12974 SIZE is a number.
12975
02cfc6d6
MR
129762011-06-23 Martin Rudalics <rudalics@gmx.at>
12977
12978 * window.el (get-lru-window, get-mru-window)
12979 (get-largest-window): Never return a minibuffer window.
12980 (display-buffer-pop-up-window): Fix a bug that could lead to
12981 reusing the minibuffer window.
12982 (display-buffer): Pass original specifier argument to
12983 display-buffer-function instead of the normalized one.
12984 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12985
4e323265
LL
129862011-06-22 Leo Liu <sdl.web@gmail.com>
12987
12988 * minibuffer.el (completing-read-function)
12989 (completing-read-default): Move from minibuf.c
12990
7a70468f
RS
129912011-06-22 Richard Stallman <rms@gnu.org>
12992
50718fc2
RS
12993 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12994 to Rmail even if not started by a special Rmail command.
12995
7a70468f
RS
12996 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12997 Copy the buffer currently showing just one message.
12998
297dde5a
RW
129992011-06-22 Roland Winkler <winkler@gnu.org>
13000
13001 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13002 (bibtex-clean-entry): First delete the old key so that a
13003 customized algorithm for generating the new key does not get
13004 confused by the old key.
13005 (bibtex-url): Obey regexp of first step.
13006 (bibtex-search-entries): Do not use add-to-list with local
13007 list-var.
13008
97bb1093
LMI
130092011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13010
13011 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13012 stored a user name, then query for the password first, instead of
13013 waiting for SMTP to give an error message and the trying again.
13014
1c0f1a19
JD
130152011-06-22 Lawrence Mitchell <wence@gmx.li>
13016
13017 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13018 BUFFER in call-process.
13019
396f7c9d
LMI
130202011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13021
13022 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13023 QUIT twice.
ddb7ffee
LMI
13024 (smtpmail-try-auth-methods): Require user name and password from
13025 auth-source.
396f7c9d 13026
8998d1b3
MR
130272011-06-22 Martin Rudalics <rudalics@gmx.at>
13028
13029 * window.el (display-buffer-default-specifiers)
13030 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13031 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13032 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13033
13034 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13035 (special-display-frame-alist, special-display-popup-frame):
13036 Remove duplicate declarations. These are now in window.el.
13037
4ea31e07
LMI
130382011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13039
c9d29fb8
SM
13040 * mail/smtpmail.el (smtpmail-via-smtp):
13041 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13042 server supports it. SMTP servers that support STARTTLS commonly
13043 require it.
13044
13045 * net/network-stream.el (network-stream-open-starttls): Support
13046 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13047 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13048
95f41d9a
LMI
13049 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13050 upgrades with `open-network-stream', and rely solely on
13051 auth-source for all credentials. Big changes throughout the file,
13052 but in particular:
c9d29fb8
SM
13053 (smtpmail-auth-credentials): Remove.
13054 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13055 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13056 MAIL FROM, too.
95f41d9a 13057
c9d29fb8
SM
13058 * net/network-stream.el (network-stream-open-starttls):
13059 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13060 STARTTLS.
13061 (auth-source): Require.
13062 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13063 (network-stream-certificate): Change cert-cert to cert and
13064 cert-key to key.
4ea31e07 13065
065ec2c7
MA
130662011-06-21 Michael Albinus <michael.albinus@gmx.de>
13067
13068 * net/tramp-cache.el (top): Don't load the persistency file when
13069 "emacs -Q" has been called.
13070
cd93b359
DR
130712011-06-21 Tim Harper <timcharper@gmail.com>
13072
d8e4b68b
JB
13073 * term/ns-win.el (ns-initialize-window-system):
13074 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13075 resource to NO as it is not yet supported by the NS port.
13076
ae9c0411
JB
130772011-06-21 Juanma Barranquero <lekktu@gmail.com>
13078
13079 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13080 (list-dynamic-libraries): ...not here.
13081
7f3f739f
LL
130822011-06-21 Leo Liu <sdl.web@gmail.com>
13083
13084 * subr.el (sha1): Implement sha1 using secure-hash.
13085
327c8fb1
MR
130862011-06-21 Martin Rudalics <rudalics@gmx.at>
13087
13088 * window.el (display-buffer-alist): In default value do not
13089 enforce searching a window on any but the selected frame.
13090 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13091 (display-buffer-select-window): Remove function.
13092 (display-buffer-in-window): When a window on another frame gets
13093 reused, do not select it any more but just raise its frame if
13094 necessary (Bug#8851) and (Bug#8856).
13095 (display-buffer-normalize-options): Handle pop-up-frames related
13096 options more faithfully.
13097 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13098 window if it is on another frame.
c9d29fb8
SM
13099 (display-buffer-alist, display-buffer-default-specifiers):
13100 Don't make new frame unsplittable by default.
9e9de014
MR
13101 (display-buffer-normalize-argument): Fix doc-string typo and use
13102 'same-frame-other-window instead of 'other-window when associating
13103 with display-buffer-macro-specifiers.
327c8fb1 13104
7cf3f556
VB
131052011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13106
13107 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13108 New functions.
13109 (5x5-mode-map, 5x5-mode-menu): Bind them.
13110 (5x5-draw-grid): Tweak the solver's rendering.
13111
60a406cf
SM
131122011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13113
13114 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13115 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13116
d8e4b68b 131172011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13118
13119 * menu-bar.el: Use function variable instead of switch-to-buffer.
13120 (menu-bar-select-buffer-function): New variable.
60a406cf 13121 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13122
478d6f95
SM
131232011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13124
13125 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13126 variable's status.
13127
ca530739
JD
131282011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13129
13130 * x-dnd.el (x-dnd-version-from-flags)
13131 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13132 and long as number (Bug#8899).
13133 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13134
bcd70d97
SM
131352011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13136
60a406cf 13137 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13138 (completion-try-completion, completion-all-completions): Compute the
13139 metadata argument if it's missing; make it optional (bug#8795).
13140
60a406cf 13141 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13142 (widget-complete): Use new :completion-function property.
13143 (widget-completions-at-point): New function.
13144 (default): Use :completion-function instead of :complete.
60a406cf
SM
13145 (widget-default-completions): Rename from widget-default-complete;
13146 Rewrite.
bcd70d97
SM
13147 (widget-string-complete, widget-file-complete, widget-color-complete):
13148 Remove functions.
13149 (file, symbol, function, variable, coding-system, color):
13150 * international/mule-cmds.el (default-input-method, charset)
13151 (language-info-custom-alist):
13152 * cus-edit.el (face): Use new property :completions.
13153
13154 * progmodes/pascal.el (pascal-completions-at-point): New function.
13155 (pascal-mode): Use it.
13156 (pascal-mode-map): Use completion-at-point.
13157 (pascal-toggle-completions): Make obsolete.
13158 (pascal-complete-word, pascal-show-completions):
13159 * progmodes/octave-mod.el (octave-complete-symbol):
13160 Redefine as obsolete alias.
13161 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13162 Signal absence of completion info for old Octave,
13163 (inferior-octave-complete): Redefine as obsolete alias.
13164 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13165 (meta-completions-at-point): Rename from meta-complete-symbol and
13166 adapt it for use on completion-at-point-functions.
13167 (meta-common-mode): Use it.
13168 (meta-looking-at-backward, meta-match-buffer): Remove.
13169 (meta-complete-symbol): Redefine as obsolete alias.
13170 (meta-common-mode-map): Use completion-at-point.
13171 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13172 (makefile-mode-map): Use completion-at-point.
13173 (makefile-completions-at-point): Rename from makefile-complete and
13174 adapt it for use on completion-at-point-functions.
13175 (makefile-mode): Use it.
13176 (makefile-complete): Redefine as obsolete alias.
13177
aebf69c8
DD
131782011-06-20 Deniz Dogan <deniz@dogan.se>
13179
13180 * net/rcirc.el: Delete trailing whitespaces once and for all.
13181
bfbbb27d
DC
131822011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13183
13184 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13185
d264a46b
CY
131862011-06-19 Chong Yidong <cyd@stupidchicken.com>
13187
4ca009e5
CY
13188 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13189
d264a46b
CY
13190 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13191
fbf5b3ce
MR
131922011-06-19 Martin Rudalics <rudalics@gmx.at>
13193
13194 * window.el (display-buffer-other-window-means-other-frame):
13195 Call display-buffer-normalize-alist.
13196 (display-buffer-normalize-specifiers-1): Rename to
13197 display-buffer-normalize-argument. New argument other-frame.
13198 Rewrite.
13199 (display-buffer-normalize-specifiers-2): Rename to
13200 display-buffer-normalize-options.
13201 (display-buffer-normalize-alist-1): New function.
13202 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13203 display-buffer-normalize-alist.
13204 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13205 (display-buffer-normalize-options-inhibit): New variable.
13206 (display-buffer-normalize-specifiers): Rewrite calling
13207 display-buffer-normalize-alist,
13208 display-buffer-normalize-argument, and
13209 display-buffer-normalize-options. Don't call the latter if
13210 display-buffer-normalize-options-inhibit is non-nil.
13211 (frame-auto-delete): New option.
13212 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13213 (window-list-no-nils, window-state-ignored-parameters)
13214 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13215 (window-state-put-1, window-state-put-2, window-state-put):
13216 New functions.
9a028c23
MR
13217 (display-buffer-normalize-options): Move special-display-p group
13218 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13219
6d10d800
CY
132202011-06-18 Chong Yidong <cyd@stupidchicken.com>
13221
6420d28b
CY
13222 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13223 groups (Bug#8776).
13224 (rx-submatch-n): New function.
13225 (rx): Document it.
13226
ddb8b596
CY
13227 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13228 (Bug#8768).
13229
13230 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13231
77080289
CY
13232 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13233
61dfb316
CY
13234 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13235 anytime existing face settings are present (Bug#8889).
13236
6d10d800
CY
13237 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13238 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13239 Remove unused argument.
13240
be3fb2b8
MR
132412011-06-18 Martin Rudalics <rudalics@gmx.at>
13242
bcd70d97
SM
13243 * window.el (display-buffer-default-specifiers):
13244 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13245 pop-up-window-min-width, and another reuse-window specifier
13246 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13247 (display-buffer-normalize-specifiers-2):
13248 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13249 pop-up-windows is unset. Add a reuse-window specifier for the
13250 case popping up a new window fails.
13251 (special-display-popup-frame): Remove double quoting.
28dec25a 13252 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13253
1c6d8c76
SM
132542011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13257 according to comint-completion-addsuffix.
13258
13259 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13260 (pcomplete-suffix-list): Mark as obsolete.
13261 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13262 pcomplete-seen in the closure.
13263 (pcomplete-comint-setup): Setup completion-at-point as well.
13264 (pcomplete--entries): New function.
13265 (pcomplete--env-regexp): New var.
13266 (pcomplete-entries): Rewrite to work with partial-completion and
13267 without relying on pcomplete-suffix-list.
13268 (pcomplete-pare-list): Remove, unused.
13269
25aef8b8
MR
132702011-06-17 Martin Rudalics <rudalics@gmx.at>
13271
13272 * window.el (display-buffer-alist): Set pop-up-window-min-height
13273 and pop-up-window-min-width in default value. Reported by
13274 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13275 other-window-means-other-frame.
13276 (display-buffer-macro-specifiers): Comment out entry for
13277 other-window specifier.
13278 (display-buffer-other-window-means-other-frame): New function.
13279 (display-buffer-normalize-specifiers-1): New arguments
13280 buffer-name and label. Treat other-window case specially.
13281 (display-buffer-normalize-specifiers-2): Treat other-window case
13282 specially.
13283 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13284 (display-buffer-normalize-specifiers):
13285 Call display-buffer-normalize-specifiers-3.
25aef8b8 13286
dbad4f69
MR
132872011-06-17 Martin Rudalics <rudalics@gmx.at>
13288
13289 * window.el (same-window-p): Fix two typos introduced when
13290 adding with-no-warnings.
d1067961
MR
13291 (display-buffer-normalize-specifiers-1): Don't check
13292 pop-up-frames for 'unset initialization.
13293 (display-buffer-normalize-specifiers-2): Major rewrite using
13294 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13295 (pop-up-frames, display-buffer-reuse-frames)
13296 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13297 Suggested by David Engster <deng@randomsample.de>.
13298 (even-window-heights): Initialize to 'unset.
13299 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13300 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13301 other window case.
dbad4f69 13302
9b9c9e3a
MR
133032011-06-16 Martin Rudalics <rudalics@gmx.at>
13304
bcd70d97
SM
13305 * window.el (display-buffer-normalize-specifiers-1):
13306 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13307 second argument of display-buffer (Bug#8865).
981d5c09
MR
13308 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13309 (switch-to-buffer-other-window-same-frame)
13310 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13311 Adams (Bug#8875).
9c2755e9
MR
13312 (display-buffer): Don't check noninteractive when calling
13313 display-buffer-pop-up-frame.
13314 (display-buffer-pop-up-frame): Never pop up a frame in
13315 noninteractive mode (Bug#8857).
67222e1d
MR
13316 (enlarge-window, shrink-window): Don't report an error when the
13317 window can't be resized as requested (Bug#8862).
9b9c9e3a 13318
2b75be67
SM
133192011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13320
9ffdd3ba
SM
13321 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13322
cb581a67
SM
13323 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13324
2b75be67
SM
13325 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13326
8c0e3589
AM
133272011-06-15 Alan Mackenzie <acm@muc.de>
13328
cb581a67
SM
13329 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13330 for declarators, disable knr checking to speed up for normal files.
13331 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13332
b96e6cde
LMI
133332011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13334
4bba86e6
LMI
13335 * net/network-stream.el (open-network-stream): Add the keyword
13336 :always-query-capabilities for the case where you want to force a
13337 `plain' network connection, but the protocol still requires the
13338 capabilitiy command (i.e., SMTP and EHLO).
13339
2b75be67 13340 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13341 consistency with other `-live-p' functions.
13342
efdcdbf8
SM
133432011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13344
13345 * window.el (same-window-buffer-names, same-window-regexps)
13346 (special-display-frame-alist, special-display-popup-frame)
13347 (special-display-function, special-display-buffer-names)
13348 (special-display-regexps, pop-up-frame-alist)
13349 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13350 (pop-up-windows, split-window-preferred-function)
13351 (split-height-threshold, split-width-threshold, even-window-heights)
13352 (display-buffer-mark-dedicated): Don't encourage the use of
13353 display-buffer-alist from Elisp code.
13354
c5cde042
DN
133552011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13356
13357 * progmodes/python.el (python-mode): Derive from prog-mode.
13358 * progmodes/ps-mode.el (ps-mode):
13359 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13360 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13361 * progmodes/ld-script.el (ld-script-mode): Likewise.
13362
baa1c9ab
MR
133632011-06-15 Martin Rudalics <rudalics@gmx.at>
13364
13365 * window.el (display-buffer-alist): Trim default value to avoid
13366 popping up a new frame (Bug#8857) or reusing an arbitrary window
13367 on another frame.
13368 (display-buffer): Do not fall back on popping up a new frame in
13369 batch mode (Bug#8857).
13370
c5dd5a51
CY
133712011-06-14 Chong Yidong <cyd@stupidchicken.com>
13372
13373 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13374 (custom-theme-summary): New function.
13375 (customize-themes): Use it.
13376
d647b7c4
GM
133772011-06-13 Glenn Morris <rgm@gnu.org>
13378
13379 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13380
9481c002
MR
133812011-06-13 Martin Rudalics <rudalics@gmx.at>
13382
357f93d2
MR
13383 * help.el (help-window): Remove variable.
13384 (help-window-point-marker, temp-buffer-max-height)
13385 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13386 (help-print-return-message): Don't set help-window.
13387 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13388 (help-window-setup-finish): Remove.
13389 (help-window-display-message, help-window-setup)
13390 (with-help-window): Major rewrite based on new
13391 display-buffer-window variable.
13392
13393 * help-mode.el (help-mode-finish): Remove help-window related
13394 code.
13395
13396 * view.el (view-exits-all-viewing-windows): Remove reference to
13397 view-return-to-alist in doc-string.
13398 (view-return-to-alist): Make obsolete.
13399 (view-buffer): Call pop-to-buffer-same-window and remove
13400 undo-window code.
13401 (view-buffer-other-window): Call pop-to-buffer-other-window and
13402 simplify code. Ignore second argument.
13403 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13404 simplify code. Ignore second argument.
13405 (view-return-to-alist-update): Make obsolete.
13406 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13407 Rewrite using quit-restore window parameters.
2b75be67
SM
13408 (view-mode-exit): Rename second argument to EXIT-ONLY.
13409 Rewrite using quit-restore-window.
357f93d2
MR
13410 (View-exit, View-exit-and-edit, View-leave, View-quit)
13411 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13412 appropriate arguments.
13413 (view-end-message): Use quit-restore window parameter.
13414
9481c002
MR
13415 * window.el (display-buffer-function): Rewrite doc-string.
13416 (display-buffer-window, display-buffer-alist): New variables.
13417 (display-buffer-split-specifiers)
13418 (display-buffer-side-specifiers)
13419 (display-buffer-macro-specifiers): New constants.
13420 (display-buffer-even-window-sizes, display-buffer-set-height)
13421 (display-buffer-set-width, display-buffer-select-window)
13422 (display-buffer-in-window, display-buffer-reuse-window)
13423 (display-buffer-split-window-1, display-buffer-split-window)
13424 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13425 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13426 (display-buffer-in-side-window, normalize-buffer-to-display)
13427 (display-buffer-normalize-specifiers-1)
13428 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13429 (display-buffer-normalize-specifiers, display-buffer-frame):
13430 New functions.
9481c002
MR
13431 (display-buffer): Major rewrite.
13432 (display-buffer-other-window, display-buffer-other-frame)
13433 (pop-to-buffer, switch-to-buffer-other-window)
13434 (switch-to-buffer-other-frame): Rewrite.
13435 (display-buffer-same-window, display-buffer-same-frame)
13436 (display-buffer-same-frame-other-window)
13437 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13438 (pop-to-buffer-other-window)
13439 (pop-to-buffer-same-frame-other-window)
13440 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13441 (switch-to-buffer-other-window-same-frame): New functions.
13442 (same-window-p, special-display-p): Rewrite disabling warnings.
13443 Make obsolete.
13444 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13445 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13446 Make obsolete
13447 (same-window-buffer-names, same-window-regexps)
13448 (special-display-frame-alist, special-display-popup-frame)
13449 (special-display-function, special-display-buffer-names)
13450 (special-display-regexps, pop-up-frame-alist)
13451 (pop-up-frame-function, split-window-preferred-function)
13452 (split-height-threshold, split-width-threshold)
13453 (even-window-heights): Make obsolete.
13454
9db51aca
GM
134552011-06-12 Glenn Morris <rgm@gnu.org>
13456
13457 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13458 Misc simplifications.
9db51aca 13459
39cffb44
MR
134602011-06-12 Martin Rudalics <rudalics@gmx.at>
13461
13462 * window.el (window-safely-shrinkable-p): Restore function which
13463 was inadvertently removed in change from 2011-06-11. Declare as
13464 obsolete.
13465
2b75be67
SM
13466 * calendar/calendar.el (calendar-generate-window):
13467 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13468 window-safely-shrinkable-p.
13469
a8955be7
GM
134702011-06-12 Glenn Morris <rgm@gnu.org>
13471
13472 * progmodes/fortran.el (fortran-mode-syntax-table):
13473 * progmodes/f90.el (f90-mode-syntax-table):
13474 Set % to punctuation. (Bug#8820)
13475 (f90-find-tag-default): Remove, no longer needed.
13476
f0d4059d
DC
134772011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13478
13479 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13480
1100a63c
CY
134812011-06-11 Chong Yidong <cyd@stupidchicken.com>
13482
13483 * image.el (image-animated-p): Return animation delay in seconds.
13484 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13485 (image-animate-timeout): Remove DELAY argument. Don't assume
13486 every subimage has the same delay; get it from image-animated-p.
13487 (image-animate): Caller changed.
13488
def722bf
MA
134892011-06-11 Michael Albinus <michael.albinus@gmx.de>
13490
13491 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13492 to ignored backtrace functions.
13493
0a2bb1a9
GM
134942011-06-11 Glenn Morris <rgm@gnu.org>
13495
13496 * calendar/appt.el (appt-disp-window-function): Doc fix.
13497 (appt-check): Handle overlapping appointments. (Bug#8337)
13498
6198ccd0
MR
134992011-06-11 Martin Rudalics <rudalics@gmx.at>
13500
13501 * window.el (window-tree-1, window-tree): New functions, moving
13502 the latter to window.el.
13503 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13504 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13505 (bw-refresh-edges): Remove.
13506 (balance-windows-1, balance-windows-2): New functions.
13507 (balance-windows): Rewrite in terms of window tree functions,
13508 balance-windows-1 and balance-windows-2.
13509 (bw-adjust-window): Remove.
13510 (balance-windows-area-adjust): New function with functionality of
13511 bw-adjust-window but using resize-window.
2b75be67
SM
13512 (set-window-text-height): Rewrite doc-string.
13513 Use normalize-live-window and resize-window.
13514 (enlarge-window-horizontally, shrink-window-horizontally):
13515 Rename argument to DELTA.
6198ccd0
MR
13516 (window-buffer-height): New function.
13517 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13518 Rewrite using new window resize routines.
2b75be67
SM
13519 (kill-buffer-and-window, mouse-autoselect-window-select):
13520 Use ignore-errors instead of condition-case.
6198ccd0
MR
13521 (quit-window): Call delete-frame instead of delete-windows-on
13522 for the only buffer on frame.
13523
9397e56f
MR
135242011-06-10 Martin Rudalics <rudalics@gmx.at>
13525
13526 * loadup.el (top-level): Load window before files for the sake
13527 of replace-buffer-in-windows.
13528
13529 * files.el (read-buffer-to-switch)
13530 (switch-to-buffer-other-window)
2b75be67
SM
13531 (switch-to-buffer-other-frame, display-buffer-other-frame):
13532 Move to window.el.
9397e56f
MR
13533
13534 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13535 (previous-buffer): Move to window.el.
13536
13537 * bindings.el (unbury-buffer): Move to window.el.
13538
13539 * window.el (delete-other-windows-vertically): Move after
13540 definition of delete-other-windows.
13541 (other-window, delete-windows-on, replace-buffer-in-windows):
13542 Move here from window.c.
13543 (record-window-buffer, unrecord-window-buffer)
13544 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13545 (switch-to-next-buffer): New functions.
13546 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13547 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13548 (previous-buffer): Move here from simple.el.
13549 Call switch-to-prev-buffer.
9397e56f
MR
13550 (bury-buffer): Move here from buffer.c. Switch to previous
13551 buffer when window cannot be deleted.
13552 (unbury-buffer): Move here from bindings.el.
13553 (ctl-x-map): Move binding for other-window from window.c to
13554 here.
13555 (read-buffer-to-switch, switch-to-buffer-other-window)
13556 (switch-to-buffer-other-frame): Move here from files.el.
13557 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13558 (switch-to-buffer): Move here from buffer.c.
13559 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13560
562dd5e9
MR
135612011-06-10 Martin Rudalics <rudalics@gmx.at>
13562
13563 * window.el (window-min-height, window-min-width): Move here
13564 from window.c. Add defcustoms and rewrite doc-strings.
13565 (resize-mini-window, resize-window): New functions.
13566 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13567 Move here from window.c.
13568 (maximize-window, minimize-window): New functions.
13569 (delete-window, delete-other-windows, split-window): Move here
13570 from window.c.
13571 (window-split-min-size): New function.
13572 (split-window-keep-point): Mention split-window-above-each-other
13573 instead of split-window-vertically.
2b75be67 13574 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13575 Rename split-window-vertically to split-window-above-each-other
13576 and provide defalias for old definition.
13577 (split-window-side-by-side, split-window-horizontally):
13578 Rename split-window-horizontally to split-window-side-by-side
13579 and provide defalias for the old definition.
562dd5e9
MR
13580 (ctl-x-map): Move bindings for delete-window,
13581 delete-other-windows and enlarge-window here from window.c.
13582 Replace bindings for split-window-vertically and
13583 split-window-horizontally by bindings for
13584 split-window-above-each-other and split-window-side-by-side.
13585
13586 * cus-start.el (all): Remove entries for window-min-height and
13587 window-min-width. Add entries for window-splits and
13588 window-nest.
13589
f0da764a
GM
135902011-06-09 Glenn Morris <rgm@gnu.org>
13591
80675c21
GM
13592 * calendar/appt.el (appt-mode-line): New function.
13593 (appt-check, appt-disp-window): Use it.
13594
f0da764a
GM
13595 * files.el (hack-one-local-variable-eval-safep):
13596 Allow minor-modes with explicit +/-1 arguments.
13597
59f623b7
TZ
135982011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13599
13600 * term/xterm.el (xterm): Add defgroup.
13601 (xterm-extra-capabilities): Add defcustom to supply known xterm
13602 capabilities, skip querying them, or query them (default).
13603 (terminal-init-xterm): Use it.
13604 (terminal-init-xterm-modify-other-keys): New function to set up
13605 modifyOtherKeys support to simplify `terminal-init-xterm'.
13606
9aab8e0d
MR
136072011-06-09 Martin Rudalics <rudalics@gmx.at>
13608
13609 * window.el (resize-window-reset, resize-window-reset-1)
13610 (resize-subwindows-skip-p, resize-subwindows-normal)
13611 (resize-subwindows, resize-other-windows, resize-this-window)
13612 (resize-root-window, resize-root-window-vertically)
13613 (window-deletable-p, window-or-subwindow-p)
13614 (frame-root-window-p): New functions.
13615
e8b08aee
GM
136162011-06-09 Glenn Morris <rgm@gnu.org>
13617
13618 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13619 (ange-ftp-get-files): Use it.
13620
254c37a5
AK
136212011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13622
13623 * mail/sendmail.el (mail-recover-1, mail-recover):
13624 * files.el (recover-file, recover-session):
13625 Handle dired-listing-switches not being just a single short option.
13626
35d7dbd3
GM
136272011-06-09 Glenn Morris <rgm@gnu.org>
13628
13629 * calendar/appt.el (appt-display-message, appt-disp-window):
13630 Handle lists of appointments.
13631
387522b2
MR
136322011-06-08 Martin Rudalics <rudalics@gmx.at>
13633
2b75be67
SM
13634 * window.el (one-window-p): Move down in code.
13635 Rewrite doc-string.
13636 (window-current-scroll-bars): Rewrite doc-string.
13637 Normalize live window argument.
387522b2
MR
13638 (walk-windows, get-window-with-predicate, count-windows):
13639 Rewrite doc-string. Use window-list-1.
13640 (window-in-direction-2, window-in-direction, get-mru-window):
13641 New functions.
13642
d8e4b68b 136432011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13644
13645 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13646 Doc fix (Bug#8713).
13647
136482011-06-08 Chong Yidong <cyd@stupidchicken.com>
13649
13650 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13651
136522011-06-08 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * loadhist.el (unload-feature-special-hooks):
13655 Add `comint-output-filter-functions'.
13656
0de12c52
IK
136572011-06-08 Ivan Kanis <gnu@kanis.fr>
13658
13659 * calendar/appt.el (appt-check): Move some initializations into the let.
13660
f3d1777e
MR
136612011-06-08 Martin Rudalics <rudalics@gmx.at>
13662
13663 * window.el (window-height): Defalias to window-total-height.
13664 (window-width): Defalias to window-body-width.
13665
18af70d0
CY
136662011-06-07 Chong Yidong <cyd@stupidchicken.com>
13667
13668 * image-mode.el (image-toggle-animation): New command.
13669 (image-mode-map): Bind it to RET.
13670 (image-mode): Update message.
13671 (image-toggle-display-image): Avoid a spurious cache flush.
13672 (image-transform-rotation): Doc fix.
13673 (image-transform-properties): Return quickly in the normal case.
13674 (image-animate-loop): Rename from image-animate-max-time.
13675
2b75be67 13676 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13677 (create-animated-image): Remove unnecessary function.
13678 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13679 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13680 (image-animate-timer): Use car-safe.
13681 (image-animate-timeout): Rename argument.
13682
190b47e6
MR
136832011-06-07 Martin Rudalics <rudalics@gmx.at>
13684
13685 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13686 window.c. Rename first argument to ALL-FRAMES.
13687 Rephrase doc-strings.
13688 (get-buffer-window-list): Rewrite using window-list-1.
13689 Rephrase doc-string.
a1511caf
MR
13690 (window-safe-min-height, window-safe-min-width): New constants.
13691 (window-size-ignore, window-min-size, window-min-size-1)
13692 (window-sizable, window-sizable-p, window-size-fixed-1)
13693 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13694 (window-max-delta-1, window-max-delta, window-resizable)
13695 (window-resizable-p, window-total-height, window-total-width)
13696 (window-body-width): New functions.
13697 (window-full-height-p, window-full-width-p): Rewrite using
13698 window-total-size.
13699 (window-body-height): Rewrite using window-body-size.
190b47e6 13700
85cc1f11
MR
137012011-06-06 Martin Rudalics <rudalics@gmx.at>
13702
13703 * window.el (window-right, window-left, window-child)
13704 (window-child-count, window-last-child, window-any-p)
13705 (normalize-live-buffer, normalize-live-frame)
13706 (normalize-any-window, normalize-live-window)
13707 (window-iso-combination-p, window-iso-combined-p)
13708 (window-iso-combinations)
13709 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13710 (windows-with-parameter, window-with-parameter)
13711 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13712 (window-atom-check, window-side-check, window-check):
13713 New functions.
85cc1f11
MR
13714 (ignore-window-parameters, window-sides, window-sides-vertical)
13715 (window-sides-slots): New variables.
13716 (window-size-fixed): Move down in code. Minor doc-string fix.
13717
e7156492
AS
137182011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13719
13720 * comint.el (comint-dynamic-complete-as-filename)
13721 (comint-dynamic-complete-filename): Correctly call
13722 completion-in-region.
13723
7e821d0d
DD
137242011-06-05 Deniz Dogan <deniz@dogan.se>
13725
13726 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13727 in last change.
13728
ac09b8a1
DD
137292011-06-05 Deniz Dogan <deniz@dogan.se>
13730
13731 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13732 (rcirc): Use it to prompt for encryption.
13733
34699b85
RW
137342011-06-05 Roland Winkler <winkler@gnu.org>
13735
13736 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13737 (bibtex-search-entries): New command bound to C-c C-a.
13738 (bibtex-display-entries): New function.
13739
004dedd3
RW
137402011-06-05 Roland Winkler <winkler@gnu.org>
13741
13742 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13743 (bibtex-insert-kill): After yanking insert newline if necessary.
13744 (bibtex-initialize): Call bibtex-string-files-init only once.
13745 (bibtex-mode): Do not call easy-menu-add.
13746 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13747 (bibtex-yank): Set arg properly if nil.
13748
022fe7ce
RW
137492011-06-05 Roland Winkler <winkler@gnu.org>
13750
2b75be67
SM
13751 * textmodes/bibtex.el (bibtex-search-entry-globally):
13752 New variable.
022fe7ce
RW
13753 (bibtex-search-entry): Use it.
13754
b7c3692a
RW
137552011-06-05 Roland Winkler <winkler@gnu.org>
13756
13757 * textmodes/bibtex.el (bibtex-entry-format): New option
13758 sort-fields.
13759 (bibtex-format-entry, bibtex-reformat): Honor this option.
13760 (bibtex-parse-entry): Return fields in proper order.
13761
8eda563d
JB
137622011-06-05 Juanma Barranquero <lekktu@gmail.com>
13763
13764 * doc-view.el (doc-view-remove-if): Move computation of result out
13765 of `dolist' to silence misleading lexical-binding warning.
13766
7dbe3dbc
CY
137672011-06-04 Chong Yidong <cyd@stupidchicken.com>
13768
13769 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13770 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13771
0c33dd17
MA
137722011-06-04 Michael Albinus <michael.albinus@gmx.de>
13773
13774 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13775 "SunOS 5.10".
13776
f8f91c2b
MA
137772011-06-04 Michael Albinus <michael.albinus@gmx.de>
13778
13779 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13780 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13781 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13782 (tramp-parse-putty):
13783 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13784 (tramp-completion-function-alist-ssh)
13785 (tramp-completion-function-alist-telnet)
13786 (tramp-completion-function-alist-su)
13787 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13788 cookie.
13789
13790 * net/tramp-ftp.el:
13791 * net/tramp-sh.el:
13792 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13793 load "tramp.el" `tramp-set-completion-function'.
13794
e17d9003
SM
137952011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * shell.el: Require and use pcomplete.
13798 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13799 (shell-completion-vars): Set pcomplete-default-completion-function.
13800
6c4cab03
DD
138012011-06-04 Deniz Dogan <deniz@dogan.se>
13802
13803 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13804 `memq' (Bug#8799).
13805
ea9fafe0
SM
138062011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13807
13808 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13809
b3e945d3
JB
138102011-06-02 Juanma Barranquero <lekktu@gmail.com>
13811
13812 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13813 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13814 * vc/log-view.el (log-view-beginning-of-defun):
13815 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13816 (smerge-refine-forward, smerge-refine-chopup-region):
13817 Silence warning for unused `dotimes' counter variables.
13818
7d520089
SM
138192011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * net/tramp.el (tramp-with-progress-reporter): Rename from
13822 with-progress-reporter. Use `declare'.
13823 * net/tramp-smb.el:
13824 * net/tramp-sh.el:
13825 * net/tramp-gvfs.el: Update all uses.
13826
a1c2400f
JB
138272011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13828
13829 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13830 buffer isn't killed before making it current.
13831
2403c841
SM
138322011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 Silence various byte-compiler warnings.
13835 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13836 `access-type' and new obsolescence format.
13837 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13838 new format.
13839 (byte-compile-check-variable): New `access-type' argument.
13840 Only warn if the access-type is obsolete.
13841 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13842 (byte-compile-variable-set): Adjust callers.
13843 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13844 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13845 setting it as obsolete.
13846 * simple.el (minibuffer-completing-symbol):
13847 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13848 access as obsolete.
13849 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13850 obsolete yet.
13851 * international/quail.el (quail-mouse-choose-completion): Remove unused
13852 code referring to obsolete var.
13853 (quail-choose-completion-string): Remove.
13854 * server.el (server-clients-with, server-kill-buffer-query-function)
13855 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13856 * proced.el (proced-send-signal):
13857 * emacs-lisp/lisp.el (lisp-complete-symbol):
13858 Replace completion-annotate-function with completion-extra-properties.
13859
2462470b
SM
138602011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13861
fb5b2591
SM
13862 * simple.el (goto-line): Use read-number.
13863 (overriding-map-is-bound): Remove.
13864 (saved-overriding-map): Change default.
13865 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13866 Take the map as argument.
13867 (universal-argument, negative-argument, digit-argument): Use it.
13868 (restore-overriding-map): Adjust.
13869 (do-auto-fill): Use fill-forward-paragraph.
13870 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13871
fd6fa53f
SM
13872 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13873 (minibuffer-inactive-mode): New major mode.
13874 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13875 the *Messages* buffer" hack.
13876 (mouse-popup-menubar): Don't burp if the event is a normal key.
13877
2462470b
SM
13878 Miscellaneous tweaks.
13879 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13880 lexical scoping as in subr.el's dolist and dotimes.
13881 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13882 Silence compiler warning.
13883 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13884 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13885 * international/ccl.el (ccl-compile): Trivial simplification.
13886 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13887 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13888 `printflag' argument.
13889 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13890 Purecopy the whole obsolescence data.
13891
108bf785
LL
138922011-06-01 Leo Liu <sdl.web@gmail.com>
13893
13894 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13895 improve doc-string as suggested by Marco Pessotto
13896 <melmothx@gmail.com>.
13897 (rcirc-print): Fix last change.
13898
30a23501
SM
138992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13900
13901 * minibuffer.el (complete-with-action): Return nil for the metadata and
13902 boundaries of non-functional tables.
13903 (completion-table-dynamic): Return nil for the metadata.
13904 (completion-table-with-terminator): Add default case, using
13905 complete-with-action.
13906 (completion--metadata): New function.
13907 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13908 to try and avoid pathological performance problems.
13909 (completion--embedded-envvar-table): Return `category' metadata.
13910
bcd54f83
LMI
139112011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13912
13913 * subr.el (process-alive-p): New tiny convenience function.
13914
e227544d
SM
139152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13916
13917 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13918 content but also its previous major mode.
13919
e8296fdc
HE
139202011-05-31 Helmut Eller <eller.helmut@gmail.com>
13921
4d61f28d 13922 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13923 *Backtrace* buffer when we exit with C-M-c.
13924
620c53a6
SM
139252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13926
13927 * minibuffer.el: Add metadata method to completion tables.
13928 (completion-category-overrides): New defcustom.
13929 (completion-metadata, completion--field-metadata)
13930 (completion-metadata-get, completion--styles)
13931 (completion--cycle-threshold): New functions.
13932 (completion-try-completion, completion-all-completions):
13933 Add `metadata' argument to choose completion-styles.
13934 (completion--do-completion): Use metadata to choose cycling.
13935 (completion-all-sorted-completions): Use metadata for sorting.
13936 Remove :completion-cycle-penalty which is not needed any more.
13937 (completion--try-word-completion): Add `metadata' argument.
13938 (minibuffer-completion-help): Check metadata for annotation function
13939 and sorting.
13940 (completion-file-name-table): Return `category' metadata.
13941 (minibuffer-completing-file-name): Make obsolete.
13942 * simple.el (minibuffer-completing-symbol): Make obsolete.
13943 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13944 completion-try-completion.
13945
1257e755
SM
139462011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13947
13948 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13949
3767e706
LL
139502011-05-30 Leo Liu <sdl.web@gmail.com>
13951
13952 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13953 (rcirc-print): Decode all incoming messages (bug#8744).
13954 (rcirc-decode-coding-system): Allow value nil for automatic coding
13955 system detection.
3767e706 13956
d1a5d56a
GM
139572011-06-01 Glenn Morris <rgm@gnu.org>
13958
13959 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13960
e8cbec34
CY
139612011-05-29 Chong Yidong <cyd@stupidchicken.com>
13962
13963 * image.el (image-animate-max-time): Allow nil and t values.
13964 Default to nil.
13965 (create-animated-image): Doc fix.
13966 (image-animate-start): Remove second arg; just use
13967 image-animate-max-time.
13968 (image-animate-timeout): Doc fix. Args changed.
13969
13970 * image-mode.el (image-toggle-display-image): Ensure that the
13971 image spec passed to the animate timer is the same object as in
58179cce 13972 the buffer's display property (Bug#6981).
e8cbec34
CY
13973 (image-transform-properties): Doc fix.
13974
13975 * image.el (image-animate-max-time): Default to nil.
13976
159daf87
MR
139772011-05-29 Martin Rudalics <rudalics@gmx.at>
13978
13979 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13980 entire buffer list (Bug#8184).
13981
d66c4c7c
CY
139822011-05-29 Chong Yidong <cyd@stupidchicken.com>
13983
13984 * image.el (imagemagick-types-inhibit)
13985 (imagemagick-register-types): Doc fix.
13986
80aec780
DD
139872011-05-29 Deniz Dogan <deniz@dogan.se>
13988
13989 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13990 default.
13991
1dd3c2d9
CY
139922011-05-29 Chong Yidong <cyd@stupidchicken.com>
13993
13994 * select.el: Don't perform clipboard-manager saving in hooks;
13995 leave the hooks empty.
13996
60e56523
LL
139972011-05-28 Leo Liu <sdl.web@gmail.com>
13998
13999 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14000 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14001 (occur-edit-mode): New major mode (Bug#8463).
14002 (occur-after-change-function): New function.
14003 (occur-engine): Give Occur tags a read-only property.
14004
2b1e1a22
KR
140052011-05-28 Kevin Ryde <user42@zip.com.au>
14006
14007 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14008
5d344e88
CY
140092011-05-28 Chong Yidong <cyd@stupidchicken.com>
14010
8e6ca83d
CY
14011 * bindings.el (help-echo): Make the initial non-indicator dash
14012 empty on graphical terminals (Bug#7295).
14013
5d344e88
CY
14014 * files.el (auto-mode-alist): Move config rule after the
14015 in-stripping one (Bug#8547).
14016
bfbbace7
CY
14017 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14018
fbeba6e2
CY
14019 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14020 setting (Bug#8740).
14021
60ed8c72
AA
140222011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14023
4ac619f0
AA
14024 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14025 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14026 (Bug#8539).
60ed8c72 14027
23db196e
CY
140282011-05-28 Chong Yidong <cyd@stupidchicken.com>
14029
14030 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14031
5012f24c
DK
140322011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14033
14034 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14035 (hs-hide-block-at-point, hs-find-block-beginning)
14036 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14037 (Bug#8279).
14038
6a639b16
GM
140392011-05-28 Glenn Morris <rgm@gnu.org>
14040
14041 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14042
d43eaf2c
CY
140432011-05-28 Chong Yidong <cyd@stupidchicken.com>
14044
5199bde1
CY
14045 * help-fns.el (describe-function-1): If the function is a derived
14046 major mode, print the parent mode.
14047
d43eaf2c
CY
14048 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14049 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14050
423428a8
SM
140512011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14052
0ff8e1ba 14053 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14054 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14055 * progmodes/etags.el (tags-completion-at-point-function):
14056 * info-look.el (info-lookup-completions-at-point): Mark as
14057 non-exclusive.
14058 (info-complete): Adjust accordingly.
14059
423428a8
SM
14060 * info-look.el: Convert to lexical-binding and completion-at-point.
14061 (info-lookup-completions-at-point): New function.
14062 (info-complete): Use it and completion-in-region.
14063
b74aa22b
DA
140642011-05-28 Drew Adams <drew.adams@oracle.com>
14065
14066 * isearch.el: Let M-e start with point at the first mismatched char.
14067 (isearch-fail-pos): New function.
14068 (isearch-edit-string): Use it.
14069
66e2e71d
DK
140702011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14071
14072 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14073
b1890b0f 140742011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14075
14076 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14077 traversal functions for avl-trees.
14078 (avl-tree--stack): New struct.
14079 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14080 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14081 (avl-tree--do-enter): Add optional `updatefun' arg.
14082 Change return value.
eb95d01d 14083 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14084 (avl-tree--do-delete): Add `test' and `nilflag' args.
14085 Change return value.
eb95d01d
TC
14086 (avl-tree-member): Add optional `nilflag'
14087 (avl-tree-member-p): New function.
14088 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14089 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14090 (avl-tree-stack-empty-p): New functions.
14091
3769ddcf
TC
14092 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14093 avl-tree--del-balance1 and make it work both ways.
14094 (avl-tree--del-balance2): Remove.
14095 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14096 make it work both ways.
14097 (avl-tree--enter-balance2): Remove.
14098 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14099 New macros.
14100 (avl-tree--mapc, avl-tree-map): Add direction argument.
14101
eb95d01d 141022011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14103
14104 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14105
a9f737ee
CY
141062011-05-27 Chong Yidong <cyd@stupidchicken.com>
14107
14108 * select.el: Support clipboard managers with built-in function
14109 x-clipboard-manager-save, via delete-frame-functions and
14110 kill-emacs-hook.
14111 (xselect-convert-to-targets): Add MULTIPLE target to list.
14112 (xselect-convert-to-save-targets): New function.
14113
c92a1e54
KH
141142011-05-27 Kenichi Handa <handa@m17n.org>
14115
14116 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14117 let-binding rfc2047-encode-encoded-words to nil.
14118
e145f188
GM
141192011-05-27 Glenn Morris <rgm@gnu.org>
14120
5ec8a862
GM
14121 * mail/emacsbug.el: Don't require url-util.
14122
4b29d9fb
GM
14123 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14124
e145f188
GM
14125 * files.el (set-auto-mode):
14126 Also respect mode: entries at the end of the file. (Bug#8586)
14127
7d15102b
GM
141282011-05-26 Glenn Morris <rgm@gnu.org>
14129
98f593b8
GM
14130 * files.el (hack-local-variables-prop-line, hack-local-variables):
14131 Downcase mode names, as seems to be traditional.
27b48e63 14132 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14133
7d15102b
GM
14134 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14135 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14136
51d5b4ec
JD
141372011-05-25 Julien Danjou <julien@danjou.info>
14138
14139 * textmodes/rst.el (rst-define-level-faces): Do not define face
14140 symbol if it is already defined.
14141
91513f63
VB
141422011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14143
14144 * play/5x5.el (5x5-new-game, 5x5-randomize):
14145 Reset 5x5-solver-output to nil when a new grid is cast.
14146 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14147 these debugging traces, as defmacro breaks the compiled code.
14148
4d90d6d0
DK
141492011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14150
14151 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14152
e1b90ef6
LL
141532011-05-24 Leo Liu <sdl.web@gmail.com>
14154
14155 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14156 (vc-bzr-sha1): Adapt.
14157
d8e4b68b 14158 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14159
14160 * bindings.el: Provide sha1 feature.
14161
db0406bb 141622011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14163
14164 * mail/sendmail.el: Require `rfc2047'.
14165 (mail-insert-from-field): Do not perform RFC2047 encoding.
14166 (mail-encode-header): New function.
14167 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14168 buffer to the return value of select-message-coding-system.
14169 Call mail-encode-header.
b8d747b9
KH
14170
14171 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14172
db0406bb 141732011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14174
4d90d6d0
DK
14175 * mail/supercite.el (sc-default-cite-frame):
14176 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14177
eb8a5e9b
GM
141782011-05-24 Glenn Morris <rgm@gnu.org>
14179
f8630703
GM
14180 * progmodes/python.el (brm-menu): Declare.
14181
8831bbed
GM
14182 * emulation/viper.el (viper-set-hooks): Declare.
14183
eb8a5e9b
GM
14184 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14185 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14186 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14187 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14188 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14189 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14190
a2a25d24
SM
141912011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14192
14193 Add an :exit-function for completion-at-point.
14194
14195 * minibuffer.el (completion--done): New fun.
14196 (completion--do-completion): Use it. New arg `expect-exact'.
14197 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14198 since completion--do-completion does it for us now.
14199 (minibuffer-force-complete): Use completion--done and
14200 completion--replace. Handle sole-completion case with more care.
14201 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14202 (completion-extra-properties): New var.
14203 (completion-annotate-function): Make obsolete.
14204 (minibuffer-completion-help): Adjust accordingly.
14205 Use completion-list-insert-choice-function.
14206 (completion-at-point, completion-help-at-point):
14207 Bind completion-extra-properties.
14208 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14209 * simple.el (completion-list-insert-choice-function): New var.
14210 (completion-setup-function): Preserve it.
14211 (choose-completion): Pay attention to it, shuffle the code a bit.
14212 (choose-completion-string): New arg `insert-function'.
14213
14214 * textmodes/bibtex.el: Convert to lexical binding.
14215 (bibtex-mode-map): Use completion-at-point.
14216 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14217 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14218 (bibtex-complete): Define as obsolete alias.
14219 (bibtex-complete-internal): Remove.
14220 (bibtex-format-entry): Remove unused sub-group in regexp.
14221 * shell.el (shell--command-completion-data)
14222 (shell-environment-variable-completion):
14223 * pcomplete.el (pcomplete-completions-at-point):
14224 * comint.el (comint--complete-file-name-data): Use :exit-function
14225 instead of completion-table-with-terminator so it also works for
14226 choose-completion.
14227
e44e373d
SM
142282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14229
4f91a816
SM
14230 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14231
782fc819
SM
14232 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14233 (bug#8710).
14234
e44e373d
SM
14235 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14236
381987c3
KM
142372011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14238
14239 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14240 customization variable and implement: If non-nil, auto-fill will
14241 be inhibited while on topic's header line.
14242
b776bc70
VB
142432011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14244
14245 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14246 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14247 always have a solution in grid size = 5 cases.
14248 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14249 (5x5-solver-output, 5x5-log-buffer): New vars.
14250 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14251 Make these variables buffer local to achieve 5x5 multi-session-ness.
14252 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14253 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14254 (5x5-solve-suggest): New funs.
14255 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14256 randomize a grid so that we ensure that there is always a solution.
14257 (5x5-make-random-grid): Allow other movement than flipping.
14258
7de88b6e
KR
142592011-05-23 Kevin Ryde <user42@zip.com.au>
14260
14261 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14262 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14263 advice and passes PREDICATE.
14264
b1ef1257
SM
142652011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14266
bbca48fe
SM
14267 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14268 byte-compile-lambda if it's actually a lambda.
14269
b1ef1257
SM
14270 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14271 Fix function quoting. Use backquote better.
14272
92a9cc65
YS
142732011-05-22 Yuanle Song <sylecn@gmail.com>
14274
14275 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14276 matching (Bug#8516).
14277
f0fb8059
JA
142782011-01-22 Jari Aalto <jari.aalto@cante.net>
14279
14280 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14281 different face (Bug#8178).
14282
d5b44c93
CY
142832011-05-22 Chong Yidong <cyd@stupidchicken.com>
14284
14285 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14286 defface (Bug#8144).
14287
79106a44
SM
142882011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14289
9c848d8a
SM
14290 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14291 funcall as well (bug#8712). Warn when performing those conversions.
14292 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14293
79106a44
SM
14294 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14295
88dfa756
GM
142962011-05-22 Glenn Morris <rgm@gnu.org>
14297
14298 * files.el (hack-local-variables-prop-line): Small simplifications.
14299 (hack-local-variables, hack-local-variables-prop-line):
14300 If MODE-ONLY, return the mode, rather than just `t'.
14301
b7cf2c79
SM
143022011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14303
14304 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14305
3f1a8558
GM
143062011-05-21 Glenn Morris <rgm@gnu.org>
14307
7e4ccca3
GM
14308 * files.el (hack-local-variables-prop-line, hack-local-variables):
14309 If only interested in the mode, don't bother doing the other stuff.
14310
637d46ca
GM
14311 * image-mode.el (image-after-revert-hook):
14312 Redraw all frames on which the image is visible. (Bug#8567)
14313
973d955b
GM
14314 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14315
3f1a8558
GM
14316 * wid-edit.el (widget-checklist-match-inline):
14317 Fix 2011-04-19 change. (Bug#8649)
14318
96479927
SM
143192011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14320
1dcf791f
SM
14321 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14322 Also allow singlespace after single-letter capitals followed by a dot.
14323
96479927
SM
14324 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14325 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14326
35fd0881
N
143272011-05-20 Nix <nix@esperi.org.uk>
14328
14329 * files.el (basic-save-buffer-2):
14330 Fix handling of break-hardlink-on-save with non-existent files.
14331
82745640
DD
143322011-05-19 Deniz Dogan <deniz@dogan.se>
14333
14334 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14335 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14336
4a720484
GM
143372011-05-19 Glenn Morris <rgm@gnu.org>
14338
d1f21341
GM
14339 * progmodes/f90.el (f90-type-def-re):
14340 Handle "type, bind(c)". (Bug#8691)
14341
4a720484
GM
14342 * emacs-lisp/autoload.el (batch-update-autoloads):
14343 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14344
2fb0a219
MA
143452011-05-18 Michael Albinus <michael.albinus@gmx.de>
14346
14347 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14348 property for the correct connection in case of multihops.
14349
e565dd37
GM
143502011-05-18 Glenn Morris <rgm@gnu.org>
14351
c2571358 14352 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14353 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14354
e565dd37
GM
14355 Rationalize calendar handling of day and month abbrev-arrays.
14356 * calendar/calendar.el (calendar-customized-p): New function.
14357 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14358 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14359 Add :set function.
14360 (calendar-abbrev-length, calendar-day-abbrev-array)
14361 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14362 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14363 Elements may no longer be nil.
14364 (calendar-day-name, calendar-month-name):
14365 Update for changed nature of abbrev arrays.
14366 * calendar/diary-lib.el (diary-name-pattern):
14367 Update for changed nature of abbrev arrays.
14368 (diary-mark-entries-1): Update calendar-make-alist calls.
14369 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14370 * calendar/cal-html.el (cal-html-day-abbrev-array):
14371 Simply inherit from calendar-day-abbrev-array.
14372
1d99a745
SM
143732011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14374
14375 * progmodes/grep.el (grep-mode): Disable default
14376 compilation-directory-matcher setting (bug#8684).
14377
7c1d9aa0
MA
143782011-05-17 Michael Albinus <michael.albinus@gmx.de>
14379
14380 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14381 instead of "head" and "tail". There were problems with SunOS 5.9,
14382 and it performs better.
14383
3952e9d8
GM
143842011-05-17 Glenn Morris <rgm@gnu.org>
14385
2dd12e7f
GM
14386 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14387
e4157b9c
GM
14388 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14389 Replace obsolete function.
14390
8e249bbd
GM
14391 * shell.el (pcomplete-parse-arguments-function): Declare.
14392
3952e9d8
GM
14393 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14394 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14395 (appt-check): Doc fixes.
14396 (appt-disp-window-function, appt-delete-window-function):
14397 Remove needless special case in custom :type.
14398 (appt-display-count): Default to 0, not nil.
14399 (appt-check): Reset appt-display-count to 0, not nil.
14400
c71a0d48 144012011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14402
c71a0d48
GM
14403 * progmodes/python.el (python-font-lock-keywords):
14404 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14405
31d55be9
SM
144062011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14407
14408 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14409
3bfacb2f
KR
144102011-05-16 Kevin Ryde <user42@zip.com.au>
14411
14412 * info-look.el (makefile-automake-mode): New setups, looking in
14413 automake manual, then makefile-mode.
14414 (makefile-mode): Remove automake manual, have it just in
14415 makefile-automake-mode since there's various things different or
14416 not relevant to plain make.
14417 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14418 believe a hypothetical automake-mode would go to makefile-mode,
14419 not the other way around.
14420
c8e83751
CY
144212011-05-15 Chong Yidong <cyd@stupidchicken.com>
14422
5e9e35cd
CY
14423 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14424 hunk-end tags (Bug#8672).
14425
c8e83751
CY
14426 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14427 vc-annotate-show-diff-revision-at-line (Bug#8671).
14428
50b23e5a
GM
144292011-05-14 Glenn Morris <rgm@gnu.org>
14430
7210a739
GM
14431 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14432 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14433 (change-log-font-lock-keywords): Also handle multiple author lines
14434 with leading tabs. (Bug#8644)
7210a739 14435
4691905a
GM
14436 * calendar/appt.el (appt-check): Rename some local variables.
14437 Some simplification/reordering.
14438
50b23e5a
GM
14439 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14440 (feedmail-sendmail-f-doesnt-sell-me-out)
14441 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14442 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14443 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14444 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14445 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14446 (feedmail-binmail-gnulinuxish-template):
14447 Rename from feedmail-binmail-linuxish-template.
14448 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14449 Use insert-buffer-substring.
14450
215cda7c
BC
144512011-05-14 Bill Carpenter <bill@carpenter.org>
14452
14453 * mail/feedmail.el (feedmail-patch-level): Increase.
14454 (feedmail-debug): New custom group.
14455 (feedmail-confirm-outgoing-timeout)
14456 (feedmail-sendmail-f-doesnt-sell-me-out)
14457 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14458 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14459 (feedmail-sender-line, feedmail-from-line)
14460 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14461 (feedmail-spray-this-address)
215cda7c
BC
14462 (feedmail-spray-address-fiddle-plex-list)
14463 (feedmail-queue-use-send-time-for-date)
14464 (feedmail-queue-use-send-time-for-message-id)
14465 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14466 (feedmail-buffer-eating-function):
14467 Doc fixes.
14468 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14469 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14470 (feedmail-message-action-scroll-down): New functions.
14471 (feedmail-queue-directory, feedmail-queue-draft-directory):
14472 Use expand-file-name.
14473 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14474 Remove C-v help entry.
14475 (feedmail-queue-buffer-file-name): New variable.
14476 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14477 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14478 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14479 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14480 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14481 (feedmail-message-action-toggle-spray)
14482 (feedmail-run-the-queue-no-prompts)
14483 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14484 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14485 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14486 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14487 (feedmail-envelope-deducer, feedmail-fiddle-from)
14488 (feedmail-fiddle-sender, feedmail-default-date-generator)
14489 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14490 (feedmail-fiddle-spray-address)
14491 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14492 (feedmail-fiddle-list-of-fiddle-plexes)
14493 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14494 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14495 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14496 Change default. Doc fix.
14497 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14498 (feedmail-binmail-linuxish-template): New constant.
14499 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14500 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14501 (feedmail-send-it): Add debug call.
14502 Use feedmail-queue-buffer-file-name, and
14503 feedmail-send-it-immediately-wrapper.
14504 (feedmail-message-action-send): Add debug call.
14505 Use feedmail-send-it-immediately-wrapper.
14506 (feedmail-queue-express-to-queue): Add debug call.
14507 Run feedmail-queue-express-hook.
14508 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14509 (feedmail-message-action-help-blat):
14510 Rename from feedmail-queue-send-edit-prompt-help-first.
14511 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14512 Check line-endings. Handle errors better.
14513 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14514 Doc fix. Add debug call.
14515 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14516 Use feedmail-queue-send-edit-prompt-inner.
14517 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14518 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14519 from feedmail-queue-send-edit-prompt.
14520 (feedmail-queue-send-edit-prompt-help)
14521 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14522 (feedmail-tidy-up-slug): Add debug call.
14523 Respect feedmail-queue-slug-suspect-regexp.
14524 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14525 (feedmail-dump-message-to-queue): Add debug call.
14526 Expand queue-directory.
14527 (feedmail-dump-message-to-queue): Change message slightly.
14528 Use feedmail-say-chatter.
14529 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14530 (feedmail-send-it-immediately-wrapper): New function.
14531 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14532 Insert empty string rather than newline. Handle full-frame case.
14533 Use catch/throw. Use feedmail-say-chatter.
14534 (feedmail-fiddle-from): Try mail-host-address.
14535 (feedmail-default-message-id-generator): Doc fix.
14536 Bind system-time-locale. Handle missing end.
14537 (feedmail-fiddle-x-mailer): Add debug call.
14538 Handle feedmail-x-mailer-line being nil.
14539 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14540 Add debug call. Use buffer-substring-no-properties.
14541 (feedmail-say-debug, feedmail-say-chatter): New functions.
14542 (feedmail-find-eoh): Give an explicit error.
14543
42c7e61e
UJ
145442011-05-13 Ulf Jasper <ulf.jasper@web.de>
14545
c2571358 14546 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14547 family from helvetica to sans.
c2571358 14548 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14549 etc/images/newsticker.
14550
c2571358 14551 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14552 family from helvetica to sans.
14553
14554 * net/newst-plainview.el (newsticker-new-item-face)
14555 (newsticker-old-item-face, newsticker-immortal-item-face)
14556 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14557 (newsticker-statistics-face): Change default family from
42c7e61e 14558 helvetica to sans.
c2571358 14559 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14560 etc/images/newsticker.
14561
5d3385a0
JB
14562 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14563 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14564 auto-marking.
14565
8497a297
DV
145662011-05-13 Didier Verna <didier@xemacs.org>
14567
14568 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14569 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14570 TODO entries.
8497a297
DV
14571 (lisp-lambda-list-keyword-parameter-indentation)
14572 (lisp-lambda-list-keyword-parameter-alignment)
14573 (lisp-lambda-list-keyword-alignment): New customizable user options.
14574 (lisp-indent-defun-method): Improve docstring.
14575 (extended-loop-p): Fix comment.
14576 (lisp-indent-lambda-list-keywords-regexp): New variable.
14577 (lisp-indent-lambda-list): New function.
14578 (lisp-indent-259): Use it.
14579 (lisp-indent-defmethod): Support for more than one
14580 method qualifier and properly indent methods lambda-lists.
14581 (defgeneric): Provide a missing common-lisp-indent-function property.
14582
f278f87f
SM
145832011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14584
14585 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14586 bounds for the empty string (bug#8667).
14587
5233edd7
GM
145882011-05-13 Glenn Morris <rgm@gnu.org>
14589
5237a44f
GM
14590 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14591
8340026c 14592 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14593 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14594
5233edd7 14595 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14596 (appt-time-msg-list): Doc fix.
a5464014 14597 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14598
92d10796
AS
145992011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14600
14601 * progmodes/ld-script.el (ld-script-keywords)
14602 (ld-script-builtins): Update keywords list.
14603
914a0ae1
SM
146042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14605
c89be45f
SM
14606 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14607
914a0ae1
SM
14608 * shell.el (shell-completion-vars): New function.
14609 (shell-mode):
14610 * simple.el (read-shell-command): Use it.
14611 (blink-matching-open): No need for " [...]" in minibuffer-message.
14612
98dc3df3
GM
146132011-05-12 Glenn Morris <rgm@gnu.org>
14614
14615 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14616 (appt-check): Simplify.
14617
d2fc7e3d 146182011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14619
4d61f28d 14620 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14621 literal "/dev/null".
14622
d2fc7e3d 146232011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14624
14625 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14626 Fix typo.
14627
d2fc7e3d 146282011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14629
3f254caa
SM
14630 * progmodes/which-func.el (which-function):
14631 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14632 which might not be defined (Bug#8260).
14633
d45885f7
GM
146342011-05-12 Glenn Morris <rgm@gnu.org>
14635
14636 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14637 Let byte-compile-initial-macro-environment always take precedence.
14638
488086f4
SM
146392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14640
14641 * net/rcirc.el: Add support for SSL/TLS connections.
14642 (rcirc-server-alist): New field `encryption'.
14643 (rcirc): Check `encryption' settings.
14644 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14645 Merge make-local-variable into `set'.
14646 (rcirc--connection-open-p): New function.
14647 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14648 the process is not a network process (e.g. running gnutls-cli).
14649 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14650 Make rcirc-(en|de)code-coding-system local here.
14651 (rcirc-mode): Merge make-local-variable into `set'.
14652 (rcirc-parent-buffer): Make permanent buffer-local.
14653 (rcirc-multiline-minor-mode): Don't do it here.
14654 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14655 there's no server buffer.
14656
7d3b9d44
GM
146572011-05-11 Glenn Morris <rgm@gnu.org>
14658
f64049c6
GM
14659 * newcomment.el (comment-kill): Prefix "unused" local.
14660
93c9df73
GM
14661 * term/w32console.el (get-screen-color): Declare.
14662
7d3b9d44
GM
14663 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14664 Handle symbol elements of byte-compile-initial-macro-environment.
14665
9e2dd53f
LL
146662011-05-10 Leo Liu <sdl.web@gmail.com>
14667
488086f4
SM
14668 * bookmark.el (bookmark-bmenu-mode-map):
14669 Bind bookmark-bmenu-search to `/'.
8b340240 14670
9e2dd53f 14671 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14672 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14673 (Footnote-unicode): New function.
14674 (footnote-style-alist): Add unicode style to the list.
14675 (footnote-style): Doc fix.
9e2dd53f 14676
79b70037
GM
146772011-05-10 Jim Meyering <meyering@redhat.com>
14678
14679 Fix doubled-word typos.
14680 * international/quail.el (quail-insert-kbd-layout): and and -> and
14681 * kermit.el: and and -> and
14682 * net/ldap.el (ldap-search-internal): to to -> to
14683 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14684 * progmodes/js.el (js-mode): and and -> and
14685 * textmodes/artist.el (artist-move-to-xy): at at -> at
14686 (artist-draw-region-trim-line-endings): if if -> if
14687 And Safetyc -> Safety.
14688 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14689
b8f82dc1 146902011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14691 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14692
14693 * files.el (hack-one-local-variable-eval-safep):
14694 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14695
4f99f44b
GM
146962011-05-10 Glenn Morris <rgm@gnu.org>
14697
14698 * calendar/diary-lib.el (diary-list-entries-hook)
14699 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14700 (diary-nongregorian-marking-hook, diary-list-entries)
14701 (diary-include-other-diary-files, diary-mark-entries)
14702 (diary-mark-included-diary-files): Doc fixes.
14703
84f29e6b
JB
147042011-05-09 Juanma Barranquero <lekktu@gmail.com>
14705
14706 * misc.el: Require tabulated-list.el during compilation.
14707
9bedd73a
CY
147082011-05-09 Chong Yidong <cyd@stupidchicken.com>
14709
488086f4
SM
14710 * progmodes/compile.el (compilation-start):
14711 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14712 (compilation-filter-hook): Doc fix.
14713
797c735c
DD
147142011-05-09 Deniz Dogan <deniz@dogan.se>
14715
14716 * wdired.el: Remove outdated installation comment. Fix usage
14717 comment.
14718
5f4b1dfe
JB
147192011-05-09 Juanma Barranquero <lekktu@gmail.com>
14720
14721 * misc.el: Implement new command `list-dynamic-libraries'.
14722 (list-dynamic-libraries--loaded-only-p): New variable.
14723 (list-dynamic-libraries--refresh): New function.
14724 (list-dynamic-libraries): New command.
14725
4c44026c
CY
147262011-05-09 Chong Yidong <cyd@stupidchicken.com>
14727
488086f4
SM
14728 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14729 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14730 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14731 higher priority to avoid clobbering by gnu.
14732
027f966d
CY
147332011-05-08 Chong Yidong <cyd@stupidchicken.com>
14734
14735 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14736 if the face has existing theme settings (Bug#8454).
14737
085f5d7d
CY
147382011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14739
488086f4
SM
14740 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14741 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14742
2a86a00c
RS
14743 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14744 special file names `.' and `..' (Bug#8259).
14745
d9c54a06
CY
147462011-05-08 Chong Yidong <cyd@stupidchicken.com>
14747
488086f4
SM
14748 * progmodes/grep.el (grep-mode-font-lock-keywords):
14749 Remove buffer-changing entries.
d9c54a06
CY
14750 (grep-filter): New function.
14751 (grep-mode): Add it to compilation-filter-hook.
14752
14753 * progmodes/compile.el (compilation-filter-hook)
14754 (compilation-filter-start): New defvars.
14755 (compilation-filter): Call compilation-filter-hook prior to
14756 updating the process mark.
14757
c4662635
SM
147582011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14759
14760 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14761
b0512a1d
EZ
147622011-05-07 Eli Zaretskii <eliz@gnu.org>
14763
605c9376
EZ
14764 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14765 mailclient-send-it even if window-system is nil. (Bug#8595)
14766
c4662635
SM
14767 * term/w32console.el (terminal-init-w32console):
14768 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14769 background-mode. (Bug#8597)
14770
d1dc2cc2
SM
147712011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14772
14773 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14774 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14775 New functions.
14776 (defgeneric, eieio--defmethod): Use them.
14777 (eieio-defgeneric): Remove.
14778 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14779
915d1300
GM
147802011-05-07 Glenn Morris <rgm@gnu.org>
14781
a3961c3e
GM
14782 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14783 Use let rather than let*.
14784 (timeclock-find-discrep): Remove unused local.
14785
314347b9
GM
14786 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14787
915d1300
GM
14788 * calendar/appt.el (appt-time-msg-list): Doc fix.
14789
275b59b0
NF
147902011-05-06 Noah Friedman <friedman@splode.com>
14791
14792 * apropos.el (apropos-print-doc): Only use
14793 emacs-lisp-docstring-fill-column when it is bound to an integer,
14794 per that variable's documentation.
14795
6c19f744
SM
147962011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14797
14798 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14799 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14800
60f884b2
GM
148012011-05-06 Glenn Morris <rgm@gnu.org>
14802
5006e634
GM
14803 * calendar/appt.el (appt-message-warning-time): Doc fix.
14804 (appt-warning-time-regexp): New option.
14805 (appt-make-list): Respect appt-message-warning-time.
14806
548d0a63
GM
14807 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14808 New options.
14809 (diary-add-to-list): Strip comments from the displayed string.
14810 (diary-mode): Set comment-start and comment-end.
14811
60f884b2
GM
14812 * vc/diff-mode.el (smerge-refine-subst): Declare.
14813 (diff-refine-hunk): Don't require smerge-mode when compiling.
14814
989681bb
JB
148152011-05-06 Juanma Barranquero <lekktu@gmail.com>
14816
14817 * simple.el (list-processes): Return nil as the docstring says.
14818
a6bc05e1
MA
148192011-05-05 Michael Albinus <michael.albinus@gmx.de>
14820
14821 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14822 to "".
14823 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14824 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14825 determining of binary transfer. (Bug#7383)
14826
23c22e9a
MA
148272011-05-05 Michael Albinus <michael.albinus@gmx.de>
14828
c4662635
SM
14829 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14830 Fix port computation bug. (Bug#8618)
23c22e9a 14831
0bff894f
GM
148322011-05-05 Glenn Morris <rgm@gnu.org>
14833
b8296902
GM
14834 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14835
1f522ce8
GM
14836 * simple.el (shell-dynamic-complete-functions)
14837 (comint-dynamic-complete-functions): Declare.
14838
cf5bee67
GM
14839 * net/network-stream.el (gnutls-negotiate):
14840 * simple.el (tabulated-list-print): Fix declarations.
14841
14842 * progmodes/gud.el (syntax-symbol, syntax-point):
14843 Remove unnecessary and incorrect declarations.
14844
0bff894f
GM
14845 * emacs-lisp/check-declare.el (check-declare-scan):
14846 Handle byte-compile-initial-macro-environment in bytecomp.el
14847
9869b3ae
SM
148482011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14849
14850 Fix earlier half-done eieio-defmethod change (bug#8338).
14851 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14852 Streamline and change calling convention.
14853 (defmethod): Adjust accordingly and simplify.
14854 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14855 new eieio--defmethod.
14856 (slot-boundp): Minor CSE simplification.
14857
9c1d5ac5
MZ
148582011-05-05 Milan Zamazal <pdm@zamazal.org>
14859
14860 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14861 (glasses-make-readable): Use glasses-separate-capital-groups.
14862
455c834e
JB
148632011-05-05 Juanma Barranquero <lekktu@gmail.com>
14864
14865 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14866 (warning-series): Doc fix.
14867 (display-warning): Don't try to create the buffer if we just found it.
14868
9ed7c8cb
CY
148692011-05-04 Chong Yidong <cyd@stupidchicken.com>
14870
14871 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14872 (autoload-find-generated-file): New function.
14873 (generate-file-autoloads): Bind generated-autoload-file to
14874 buffer-file-name.
9869b3ae
SM
14875 (update-file-autoloads, update-directory-autoloads):
14876 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14877 output file (Bug#7989).
14878 (batch-update-autoloads): Doc fix.
14879
0898ca10
JB
148802011-05-04 Juanma Barranquero <lekktu@gmail.com>
14881
14882 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14883
31dfb76c
GM
148842011-05-04 Glenn Morris <rgm@gnu.org>
14885
f330b642
GM
14886 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14887 function, so it follows changes in calendar-date-style.
14888 (diary-fancy-date-matcher): New function.
14889 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14890 (diary-fancy-font-lock-fontify-region-function):
14891 Use diary-fancy-date-pattern as a function.
14892
31dfb76c
GM
14893 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14894 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14895
48e79d6a
TZ
148962011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14897
14898 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14899 instead of positional arguments. Allow :keylist and :crlfiles
14900 arguments.
14901 (open-gnutls-stream): Call it.
14902
14903 * net/network-stream.el (network-stream-open-starttls): Adjust to
14904 call `gnutls-negotiate' with :process and :hostname arguments.
14905
dd5a5ee0
SM
149062011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14907
ef80fc09
SM
14908 * minibuffer.el (completion--message): New function.
14909 (completion--do-completion, minibuffer-complete)
14910 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14911 (completion--do-completion): Don't ignore completion-auto-help when in
14912 icomplete-mode.
14913
dd5a5ee0
SM
14914 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14915 internal encoding (e.g. tibetan zero is not whitespace).
14916 (global-whitespace-mode): Prefer save-current-buffer.
14917 (whitespace-trailing-regexp): Remove useless save-match-data.
14918 (whitespace-empty-at-bob-regexp): Minor simplification.
14919
b7d22a83
CY
149202011-05-03 Chong Yidong <cyd@stupidchicken.com>
14921
14922 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14923
5192af46
AM
149242011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14925
14926 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14927 Use `concat' to create string for insertion.
5192af46 14928
5767d190
SM
149292011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14930
14931 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14932 Avoid open-line which runs post-self-insert-hook.
14933 (bibtex-fill-entry): Remove unused `end' var.
14934
bf242939
AM
149352011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14936
5767d190
SM
14937 * textmodes/ispell.el (ispell-add-per-file-word-list):
14938 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14939
25666126
LL
149402011-05-03 Leo Liu <sdl.web@gmail.com>
14941
14942 * isearch.el (isearch-yank-pop): New command.
5767d190 14943 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14944 (isearch-forward): Mention it.
14945
52d3c2d0
SM
149462011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14947
1bcace58
SM
14948 * simple.el (minibuffer-complete-shell-command): Remove.
14949 (minibuffer-local-shell-command-map): Use completion-at-point.
14950 (read-shell-command): Setup completion vars here instead.
14951 (read-expression-map): Bind TAB to symbol completion.
14952
52d3c2d0
SM
14953 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14954 error directly rather via storing it into `results'.
14955
35813471
LL
149562011-05-02 Leo Liu <sdl.web@gmail.com>
14957
14958 * vc/diff.el: Fix description.
14959
e793a940
LMI
149602011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14961
14962 * server.el (server-eval-at): New function.
14963
8de66e05
LMI
149642011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14965
14966 * net/network-stream.el (open-network-stream): Take a :nowait
14967 parameter and pass it on to `make-network-process'.
14968 (network-stream-open-plain): Ditto.
14969
dcb79f20
AS
149702011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14971
14972 * faces.el (face-spec-set-match-display): Don't match toolkit
14973 options on terminal frames.
14974
14a7fbd8
SM
149752011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14976
7eabc1be
SM
14977 * progmodes/pascal.el: Use lexical binding.
14978 (pascal-mode-map): Remove author preferences.
14979
14a7fbd8
SM
14980 * pcomplete.el (pcomplete-std-complete): Don't abuse
14981 completion-at-point.
14982
50f84510
JB
149832011-04-28 Juanma Barranquero <lekktu@gmail.com>
14984
6e087a44
JB
14985 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14986 removing code that has been dead since 1991 or so.
14987
50f84510
JB
14988 * startup.el (command-line): When warning about "_emacs", use a
14989 delayed warning to allow the user to filter it out.
14990
0ba690bd
DD
149912011-04-28 Deniz Dogan <deniz@dogan.se>
14992
14993 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14994 user has not joined.
14995
08abfaad
SM
149962011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14997
14998 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14999 aren't any completions at point.
15000
638f053a
JB
150012011-04-28 Juanma Barranquero <lekktu@gmail.com>
15002
15003 * subr.el (display-delayed-warnings): New function.
15004 (delayed-warnings-hook): New variable.
15005
8fff8daa
SM
150062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15007
08abfaad
SM
15008 * minibuffer.el (completion-at-point, completion-help-at-point):
15009 Don't presume that a given completion-at-point-function will always
15010 use the same calling convention.
15011
8fff8daa
SM
15012 * pcomplete.el (pcomplete-completions-at-point):
15013 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15014 pcomplete-seen is non-nil.
15015 (pcomplete-comint-setup): Also recognize the new comint/shell
15016 completion functions.
15017 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15018 pcomplete-seen is non-nil.
15019
841a1577 150202011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15021
841a1577 15022 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15023 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15024 the first character in the entry. This allows for code to add its
211ec907
UJ
15025 own uid to the entry.
15026 (icalendar--convert-float-to-ical): Add export of
15027 `diary-float'-entries save for those with the optional DAY
15028 argument.
15029
2a782793
DC
150302011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15031
15032 * subr.el (shell-quote-argument): Use alternate escaping strategy
15033 when we spot a variable reference in a string.
15034
0438ce91
DC
150352011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15036
15037 * cus-start.el (all): Define customization for debug-on-event.
15038
841a1577 150392011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15040
15041 * subr.el (shell-quote-argument): Escape correctly under Windows.
15042
d090ed6c
SM
150432011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15044
15045 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15046
bfd31217
MA
150472011-04-25 Michael Albinus <michael.albinus@gmx.de>
15048
d090ed6c
SM
15049 * net/tramp.el (tramp-process-actions): Add POS argument.
15050 Delete region between POS and (pos).
bfd31217 15051
d090ed6c
SM
15052 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15053 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15054 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15055
15056 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15057 position in `tramp-process-actions' call.
15058
15059 * net/trampver.el: Update release number.
15060
e92f3bd3
SM
150612011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15062
850256b5
SM
15063 * custom.el (defcustom): Obey lexical-binding.
15064
e92f3bd3
SM
15065 Fix octave-inf completion problems reported by Alexander Klimov.
15066 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15067 Inherit from octave-mode-syntax-table.
15068 (inferior-octave-mode): Set info-lookup-mode.
15069 (inferior-octave-completion-at-point): New function.
15070 (inferior-octave-complete): Use it and completion-in-region.
15071 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15072 comint-filename-completion.
15073 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15074 symbol elements which shouldn't be word elements.
15075 (octave-font-lock-keywords, octave-beginning-of-defun)
15076 (octave-function-header-regexp): Adjust regexps accordingly.
15077 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15078
cd22b309
JB
150792011-04-25 Juanma Barranquero <lekktu@gmail.com>
15080
15081 * net/gnutls.el (gnutls-errorp): Declare before first use.
15082
8b492194
TZ
150832011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15084
15085 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15086 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15087 default trustfile exists before going to use it. Add missing
5a5fa834 15088 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15089 Reported by Claudio Bley <claudio.bley@gmail.com>.
15090 (open-gnutls-stream): Add usage example.
15091
15092 * net/network-stream.el (network-stream-open-starttls): Give host
15093 parameter to `gnutls-negotiate'.
15094 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15095 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15096
841a1577 150972011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15098
cd22b309
JB
15099 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15100 Use correct match group (bug#8438).
05842630 15101
3ba7869c
CY
151022011-04-24 Chong Yidong <cyd@stupidchicken.com>
15103
512e3ae1
CY
15104 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15105 (package-menu--generate): New arg specifying packages to show.
15106 (package-menu-refresh, package-menu-execute, list-packages):
15107 Callers changed.
15108 (package-show-package-list): New function, replacing deleted
15109 package--list-packages (renamed because it is non-internal).
15110
15111 * finder.el (finder-list-matches): Use package-show-package-list
15112 instead of deleted package--list-packages.
15113
e92f3bd3
SM
15114 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15115 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15116 (vc-annotate-mode-map): Bind it to RET.
15117
7031be6d
UR
151182011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15119
15120 * progmodes/etags.el (next-file): Don't use set-buffer to change
15121 buffers (Bug#8478).
15122
4ef177aa
CY
151232011-04-24 Chong Yidong <cyd@stupidchicken.com>
15124
c8d173eb
CY
15125 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15126
4ef177aa
CY
15127 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15128 (apropos-accumulator): Doc fix.
15129 (apropos-function, apropos-macro, apropos-command)
15130 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15131 (apropos-plist): Add face property.
15132 (apropos-symbols-internal): Fix indentation.
15133 (apropos-print): Simplify help, and recognize apropos-multi-type.
15134 (apropos-print-doc): Use button-type-get to extract the button's
15135 face property. Fill docstring (Bug#8352).
15136
4ffd0d6b 151372011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15138
15139 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15140
c6c32125 15141 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15142 (mpuz-mode-map): Use mapc.
c6c32125
JB
15143 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15144 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15145 Fix typos in docstrings.
15146
58d468b4
JB
15147 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15148 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15149
6470c3c6
JB
15150 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15151
4ffd0d6b 151522011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15153
15154 * minibuffer.el (completion--do-completion): Avoid the "Next char
15155 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15156
3ad8bad0
CY
15157 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15158 mouse-2 into unread-command-events, it is interpreted correctly.
15159
71d73c9c 15160 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15161 (image-toggle-display): Doc fix.
71d73c9c 15162
841a1577 151632011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15164
4ffd0d6b
GM
15165 * textmodes/page.el (what-page): Use line-number-at-pos to
15166 calculate line number (Bug#6825).
6e1dbaa9 15167
c2fb1b60
JB
151682011-04-22 Juanma Barranquero <lekktu@gmail.com>
15169
15170 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15171 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15172 Pass argument NO-DEFAULT to `find-tag-interactive'.
15173
e02f48d7
JB
151742011-04-22 Juanma Barranquero <lekktu@gmail.com>
15175
15176 Lexical-binding cleanup.
15177
15178 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15179 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15180 * progmodes/ada-prj.el (ada-prj-initialize-values)
15181 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15182 (ada-prj-show-value):
15183 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15184 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15185 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15186 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15187 * progmodes/bug-reference.el (bug-reference-push-button):
15188 * progmodes/fortran.el (fortran-line-length):
15189 * progmodes/glasses.el (glasses-change):
15190 * progmodes/octave-mod.el (octave-fill-paragraph):
15191 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15192 (python-pdbtrack-grub-for-buffer, python-sentinel):
15193 * progmodes/sql.el (sql-save-connection):
15194 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15195 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15196 Mark unused parameters.
15197
15198 * progmodes/compile.el (compilation--flush-directory-cache)
15199 (compilation--flush-parse, compile-internal): Mark unused parameters.
15200 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15201 (compilation-next-error-function): Remove unused variable `timestamp'.
15202
15203 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15204 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15205
15206 * progmodes/dcl-mode.el (dcl-end-of-command):
15207 Remove unused variable `start'.
15208 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15209 (dcl-option-value-basic, dcl-option-value-offset)
15210 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15211 Mark unused parameters.
15212 (dcl-save-local-variable): Remove unused variable `val'.
15213 (mode): Declare.
15214
15215 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15216 Mark unused parameters.
15217 (delphi-ignore-changes): Move before first use.
15218 (delphi-charset-token-at): Remove unused variable `start'.
15219 (delphi-else-start): Remove unused variable `if-count'.
15220 (delphi-comment-block-start, delphi-comment-block-end):
15221 Remove unused variable `kind'.
15222 (delphi-indent-line): Remove unused variable `new-point'.
15223
15224 * progmodes/ebrowse.el (ebrowse-files-list)
15225 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15226 Mark unused parameters. Don't quote `lambda'.
15227 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15228 Don't quote `lambda'.
15229 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15230 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15231 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15232 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15233 Use `ignore-errors'.
15234 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15235 (ebrowse-view/find-file-and-search-pattern)
15236 (ebrowse-view/find-member-declaration/definition):
15237 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15238 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15239 Rename parameter PREFIX-ARG to PREFIX.
15240 (ebrowse-tags-read-name): Remove unused variables `start' and
15241 `member-info'.
15242 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15243 to `tags-file'.
15244
15245 * progmodes/etags.el (local-find-tag-hook): Declare.
15246 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15247 Mark unused parameters.
15248
15249 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15250 (executable-interpret): Mark unused parameter.
15251
15252 * progmodes/flymake.el (flymake-process-sentinel)
15253 (flymake-after-change-function)
15254 (flymake-create-temp-with-folder-structure)
15255 (flymake-get-include-dirs-dot): Mark unused parameters.
15256 (flymake-safe-delete-directory): Remove unused variable `err'.
15257
15258 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15259 (speedbar-timer-fn, speedbar-line-text)
15260 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15261 (speedbar-center-buffer-smartly): Declare functions.
15262 (gdb-find-watch-expression): Remove unused variable `array'.
15263 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15264 (gdb-starting): Mark unused parameters.
15265 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15266 (gdb-table-string): Remove unused variable `res'.
15267 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15268 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15269 (gdb-display-buffer): Remove unused variable `cur-size'.
15270
15271 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15272 allow lexical-binding compilation.
15273 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15274 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15275 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15276 Mark unused parameters.
15277 (gud-gdb-marker-filter): Remove unused variable `match'.
15278 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15279 lambda expressions and funcall them, instead of using `fset'.
15280
15281 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15282 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15283
15284 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15285 variable `header-beg'; use `let'.
15286
15287 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15288 `restart', `last-sexp' and `at-do'.
15289
15290 * progmodes/js.el (js--debug): Mark unused parameter.
15291 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15292 (js--splice-into-items): Remove unused variable `item'.
15293 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15294
15295 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15296 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15297 (makefile-complete): Remove unused variable `try'.
15298 (makefile-fill-paragraph, makefile-match-function-end):
15299 Mark unused parameters.
15300
15301 * progmodes/octave-inf.el (inferior-octave-complete):
15302 Remove unused variable `proc'.
15303 (inferior-octave-output-digest): Mark unused parameter.
15304
15305 * progmodes/perl-mode.el (perl-calculate-indent):
15306 Remove unused variable `err'.
15307
15308 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15309 (prolog-indent-line): Mark unused parameters.
15310 (prolog-indent-line): Remove unused variable `beg'.
15311
15312 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15313 (reporter-dont-compact-list): Declare.
15314
15315 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15316 Remove unused variable `char'.
15317 (sh-debug): Mark unused parameter.
15318 (sh-get-indent-info): Remove unused variable `start'.
15319 (sh-calculate-indent): Remove unused variable `var'.
15320
15321 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15322 (simula-electric-keyword): Remove unused variable `null'.
15323 (simula-search-backward, simula-search-forward): Remove unused
15324 variables `begin' and `end'.
15325
15326 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15327 Remove unused variable `pos'.
15328 (vera-electric-tab, vera-comment-uncomment-region):
15329 Mark unused parameters.
15330 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15331
7ede3b65
CY
153322011-04-22 Chong Yidong <cyd@stupidchicken.com>
15333
15334 * emacs-lisp/package.el (package--builtins, package-alist)
15335 (package-load-descriptor, package-built-in-p, package-activate)
15336 (define-package, package-installed-p)
15337 (package-compute-transaction, package-buffer-info)
15338 (package--push): Doc fix. Distinguish more clearly between
15339 version strings and version lists.
15340
121656e9
JB
153412011-04-21 Juanma Barranquero <lekktu@gmail.com>
15342
15343 Lexical-binding cleanup.
15344
15345 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15346 (5x5-make-mutate-best):
15347 * play/fortune.el (fortune-in-buffer):
15348 * play/gomoku.el (gomoku-init-display):
15349 * play/solitaire.el (solitaire, solitaire-do-check):
15350 * play/tetris.el (tetris-default-update-speed-function):
15351 Mark unused parameters.
15352
15353 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15354 (bubbles--shift): Remove unused variable `char-org'.
15355 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15356 (bubbles--show-images): Remove unused variable `char'.
15357
15358 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15359 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15360 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15361 (decipher-analyze-buffer): Use ?\s.
15362 (decipher-make-checkpoint): Remove unused variable `mapping'.
15363
15364 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15365
15366 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15367 Remove unused variable `result'; use `let'.
15368
15369 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15370 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15371 (gametree-children-shown-p, gametree-compute-reduced-score):
15372 Use `ignore-errors'.
15373
15374 * play/handwrite.el (ps-lpr-switches): Declare.
15375 (handwrite): Remove unused variables `pmin' and `lastp'.
15376
15377 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15378
15379 * play/landmark.el (landmark-init-display)
15380 (landmark-update-naught-weights): Mark unused parameters.
15381 (landmark-y): Remove unused variable `noise'. Simplify.
15382 (landmark-human-plays): Remove unused variable `score'.
15383
15384 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15385 (mpuz-try-proposal): Remove unused variable `game'.
15386
15387 * play/zone.el (life-patterns): Declare.
15388
80f499c7
JB
153892011-04-20 Juanma Barranquero <lekktu@gmail.com>
15390
15391 * vc/vc.el (ediff-vc-internal): Declare function.
15392
024ff170
SM
153932011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15394
c0a193ea
SM
15395 * shell.el: Use lexical-binding and std completion UI.
15396 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15397 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15398 comint-preoutput-filter-functions rather than on
15399 comint-output-filter-functions.
15400 (shell-command-completion, shell--command-completion-data)
15401 (shell-filename-completion, shell-environment-variable-completion)
15402 (shell-c-a-p-replace-by-expanded-directory): New functions.
15403 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15404 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15405 (shell-dynamic-complete-environment-variable): Use them.
15406 (shell-dynamic-complete-as-environment-variable)
15407 (shell-dynamic-complete-as-command): Remove.
15408 (shell-match-partial-variable): Match past point.
15409 * comint.el: Clean up use of completion-at-point-functions.
15410 (comint-completion-at-point): New function.
15411 (comint-mode): Use it completion-at-point-functions.
15412 (comint-dynamic-complete): Make it obsolete.
15413 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15414 (comint-c-a-p-replace-by-expanded-history): New function.
15415 (comint-dynamic-complete-functions)
15416 (comint-replace-by-expanded-history): Use it.
15417 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15418 termination strings. Try harder to avoid second try-completion.
15419 (completion-in-region-mode-map): Disable bindings that don't work yet.
15420
2dbaa080
SM
15421 * comint.el: Use lexical-binding. Require CL.
15422 (comint-dynamic-complete-functions): Use comint-filename-completion.
15423 (comint-completion-addsuffix): Tweak custom type.
15424 (comint-filename-completion, comint--common-suffix)
15425 (comint--common-quoted-suffix, comint--table-subvert)
15426 (comint--complete-file-name-data): New functions.
15427 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15428 (comint-dynamic-list-filename-completions): Use them.
15429 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15430
2dbaa080
SM
15431 * minibuffer.el (completion-in-region-mode):
15432 Keep completion-in-region-mode--predicate global.
15433 (completion-in-region--postch):
15434 Assume completion-in-region-mode--predicate is not null.
15435
c79a6f38
SM
15436 * progmodes/flymake.el (flymake-start-syntax-check-process):
15437 Obey `dir'. Simplify.
15438
024ff170
SM
15439 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15440 we're in VC after all.
15441
1c6c854e
CS
154422011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15443
15444 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15445 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15446 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15447
bed7f140
SM
154482011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15449
332e62ab
SM
15450 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15451 add sanity check.
15452
bed7f140
SM
15453 * obsolete/erc-hecomplete.el: Make obsolete.
15454 * obsolete/: Standardize obsolescence info in the header.
15455
f195c582
GM
154562011-04-20 Glenn Morris <rgm@gnu.org>
15457
15458 * calendar/solar.el (solar-horizontal-coordinates):
15459 Use the longitude argument rather than `calendar-longitude'.
15460 (solar-date-next-longitude): Remove unused locals.
15461
cb79b8c0
VJL
154622011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15463
15464 * whitespace.el: New version 13.2.1.
15465
154662011-04-20 felix <EmacsWiki> (tiny change)
15467
d8e4b68b 15468 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15469 switching between major modes on a file.
15470
602ea69d
SM
154712011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15472
15473 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15474 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15475 multi-line comments as well.
15476
06b60517
JB
154772011-04-19 Juanma Barranquero <lekktu@gmail.com>
15478
15479 Lexical-binding cleanup.
15480
15481 * arc-mode.el (archive-mode-revert):
15482 * cmuscheme.el (scheme-interactively-start-process):
15483 * custom.el (custom-initialize-delay):
15484 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15485 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15486 * emacs-lock.el (emacs-lock-clear-sentinel):
15487 * ezimage.el (defezimage):
15488 * follow.el (follow-avoid-tail-recenter):
15489 * fringe.el (set-fringe-mode-1):
15490 * generic-x.el (bat-generic-mode-compile):
15491 * help-mode.el (help-info-variable, help-do-xref)
15492 (help-mode-revert-buffer):
15493 * help.el (view-emacs-todo):
15494 * iswitchb.el (iswitchb-completion-help):
15495 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15496 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15497 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15498 * locate.el (locate-update):
15499 * longlines.el (longlines-encode-region)
15500 (longlines-after-change-function):
15501 * outline.el (outline-isearch-open-invisible):
15502 * ps-def.el (declare-function, charset-dimension, char-width)
15503 (encode-char):
15504 * ps-mule.el (ps-mule-plot-string):
15505 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15506 (recentf-edit-list-select, recentf-edit-list-validate)
15507 (recentf-open-files-action):
15508 * rect.el (delete-whitespace-rectangle-line)
15509 (rectangle-number-line-callback):
15510 * register.el (window-configuration-to-register)
15511 (frame-configuration-to-register):
15512 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15513 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15514 (xselect-convert-to-targets, xselect-convert-to-delete)
15515 (xselect-convert-to-filename, xselect-convert-to-charpos)
15516 (xselect-convert-to-lineno, xselect-convert-to-colno)
15517 (xselect-convert-to-os, xselect-convert-to-host)
15518 (xselect-convert-to-user, xselect-convert-to-class)
15519 (xselect-convert-to-name, xselect-convert-to-integer)
15520 (xselect-convert-to-atom, xselect-convert-to-identity):
15521 * subr.el (declare, ignore, process-kill-without-query)
15522 (text-clone-maintain):
15523 * terminal.el (te-get-char, te-tic-sentinel):
15524 * tool-bar.el (tool-bar-make-keymap):
15525 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15526 * type-break.el (type-break-mode, type-break-noninteractive-query):
15527 * view.el (View-back-to-mark):
15528 * wid-browse.el (widget-browse-action, widget-browse-widget)
15529 (widget-browse-widgets, widget-browse-sexp):
15530 * widget.el (define-widget-keywords):
15531 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15532 Mark unused parameters.
15533
15534 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15535 (align-areas): Remove unused variable `look'.
15536 (align-region): Remove unused variables `real-end' and `pos-list'.
15537
15538 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15539
15540 * bindings.el (mode-line-modified, mode-line-remote):
15541 Mark unused parameters.
15542 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15543
15544 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15545 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15546
15547 * comint.el (comint-history-isearch-pop-state)
15548 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15549 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15550 (comint-substitute-in-file-name): Doc fix.
15551
15552 * completion.el (cmpl-statistics-block): Mark unused parameter.
15553 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15554 (save-completions-to-file, load-completions-from-file):
15555 Remove unused local variable `e'.
15556
15557 * composite.el (compose-chars): Remove unused variable `len'.
15558 (lgstring-insert-glyph): Remove unused variable `g'.
15559 (compose-glyph-string): Remove unused variables `ascent',
15560 `descent', `lbearing' and `rbearing'.
15561 (compose-glyph-string-relative): Remove unused variables
15562 `lbearing', `rbearing' and `wadjust'.
15563 (compose-gstring-for-graphic): Remove unused variables `header',
15564 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15565 (compose-gstring-for-terminal): Remove unused variables `header'
15566 and `nchars'. Use `let', not `let*'.
15567
15568 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15569 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15570 (Custom-buffer-done, custom-buffer-create-internal)
15571 (custom-browse-visibility-action, custom-browse-group-tag-action)
15572 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15573 (widget-magic-mouse-down-action, custom-toggle-parent)
15574 (custom-add-parent-links, custom-toggle-hide-variable)
15575 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15576 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15577 (custom-face-menu-create, custom-variable-menu-create, get)
15578 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15579 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15580 (customize-apropos): Remove unused variable `tests'.
15581 (custom-group-value-create): Remove unused variable `hidden-p'.
15582 (sort-fold-case): Declare.
15583
15584 * cus-theme.el (custom-reset-standard-faces-list)
15585 (custom-reset-standard-variables-list): Declare.
15586 (customize-create-theme, custom-theme-revert, custom-theme-write)
15587 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15588 Mark unused parameters.
15589
15590 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15591
15592 * delim-col.el (delimit-columns-max): Move defvar before first use.
15593
15594 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15595 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15596
15597 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15598 (auto-insert): Declare.
15599 (desktop-restore-file-buffer): Rename desktop-* parameters;
15600 mark unused ones.
15601 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15602 (desktop-buffer): Rename desktop-* parameters.
15603
15604 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15605 (dframe-reposition-frame-xemacs, dframe-help-echo)
15606 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15607 Mark unused parameters.
15608
15609 * dired-aux.el (backup-extract-version-start, overwrite-query)
15610 (overwrite-backup-query, rename-regexp-query)
15611 (rename-non-directory-query): Declare.
15612 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15613 (dired-add-entry): Remove unused variable `orig-file-name'.
15614 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15615 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15616 `dired-copy-preserve-time' directly.
15617 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15618 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15619
15620 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15621 (dired-virtual-revert, dired-make-relative-symlink):
15622 Mark unused parameters.
15623 (manual-program): Declare.
15624 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15625 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15626 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15627
15628 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15629
15630 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15631
15632 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15633 Declare.
15634
15635 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15636
15637 * electric.el (Electric-command-loop): Rename parameter
15638 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15639
15640 * expand.el (expand-in-literal): Remove unused variable `here'.
15641
15642 * facemenu.el (facemenu-add-new-color):
15643 Remove unused variable `docstring'.
15644
15645 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15646 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15647 (face-attr-construct): Mark unused parameter. Doc fix.
15648 (read-color): Remove unused variable `hex-string'.
15649
15650 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15651 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15652 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15653 (display-buffer-other-frame): Remove unused variable `old-window'.
15654 (kill-buffer-hook): Declare.
15655 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15656 Mark unused parameters.
15657 (after-find-file): Pass 1 to `auto-save-mode', not t.
15658
15659 * files-x.el (auto-insert): Declare.
15660 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15661
15662 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15663 variable `buf'. Mark unused parameter.
06b60517
JB
15664 (find-lisp-insert-directory): Mark unused parameter.
15665
15666 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15667 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15668 (format-common-tail): Remove, unused.
15669 (format-deannotate-region): Remove unused variable `loc'.
15670 (format-annotate-region): Remove unused variable `p'.
15671 (format-annotate-single-property-change): Remove unused variables
15672 `default' and `tail'.
15673
15674 * forms.el (read-file-filter): Declare.
15675 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15676
15677 * frame.el (frame-creation-function-alist): Mark unused parameter.
15678 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15679
15680 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15681 Remove unused parameters.
15682 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15683 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15684
15685 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15686 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15687 (hfy-prepare-tag-map): Mark unused parameters.
15688 (htmlfontify-buffer): Use `called-interactively-p'.
15689
15690 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15691 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15692 (ibuffer-do-occur): Mark unused parameters.
15693 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15694 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15695
15696 * ibuffer.el: Don't quote `lambda'.
15697 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15698 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15699 Mark unused parameters.
15700
15701 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15702 (ido-completing-read): Mark unused parameters.
15703 (ido-copy-current-word): Mark unused parameters;
15704 remove unused variable `name'.
15705 (ido-sort-merged-list): Remove unused parameter `dirs'.
15706
15707 * ielm.el (ielm-input-sender): Mark unused parameter.
15708 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15709 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15710 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15711 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15712 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15713
15714 * image-dired.el (image-dired-display-thumbs): Remove unused
15715 variables `curr-file' and `count'.
15716 (image-dired-remove-tag): Remove unused variable `start'.
15717 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15718 variable `curr-file'
15719 (image-dired-rotate-original): Remove unused variable `temp-file'.
15720 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15721 Remove unused variable `file'.
15722 (image-dired-gallery-generate): Remove unused variable `curr'.
15723 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15724
15725 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15726
15727 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15728
15729 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15730
15731 * isearch.el (minibuffer-history-symbol): Declare.
15732 (isearch-edit-string): Remove unused variable `err'.
15733 (isearch-message-prefix, isearch-message-suffix):
15734 Mark unused parameters.
15735
15736 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15737
15738 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15739
15740 * makesum.el (double-column): Remove unused variable `cnt'.
15741
15742 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15743 (ido-ignore-item-temp-list): Declare.
15744
15745 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15746 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15747 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15748 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15749 `mouse-col-delta'.
15750
15751 * mouse-sel.el (mouse-extend-internal):
15752 Remove unused variable `orig-window-frame'.
15753
15754 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15755 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15756 Move declarations before first use.
15757 (pcomplete-opt): Mark unused parameters; doc fix.
15758
15759 * proced.el (proced-revert): Mark unused parameter.
15760 (proced-send-signal): Remove unused variable `err'.
15761
15762 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15763 Rename parameter PREFIX-ARG to ARG.
15764 (ps-basic-plot-string, ps-basic-plot-whitespace):
15765 Mark unused parameters.
15766
15767 * replace.el (replace-count): Define.
15768 (occur-revert-function): Mark unused parameters.
15769 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15770 (isearch-case-fold-search, isearch-string): Declare.
15771 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15772 bind `case-fold-search'. Remove unused variables `beg' and `end',
15773 and simplify.
15774 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15775 COUNT and bind `replace-count'.
15776 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15777 to COUNT.
15778
15779 * savehist.el (print-readably, print-string-length): Declare.
15780
15781 * shadowfile.el (shadow-expand-cluster-in-file-name):
15782 Remove unused variable `cluster'.
15783 (shadow-copy-file): Remove unused variable `i'.
15784 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15785 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15786 (shadow-define-literal-group, shadow-define-regexp-group)
15787 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15788
15789 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15790 (shell): Use `called-interactively-p'.
15791 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15792
15793 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15794 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15795 (delete-backward-char): Remove unused variable `ocol'.
15796 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15797 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15798 (event-apply-hyper-modifier, event-apply-shift-modifier)
15799 (event-apply-control-modifier, event-apply-meta-modifier):
15800 Mark unused parameters.
15801 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15802 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15803
15804 * speedbar.el (speedbar-ignored-directory-expressions)
15805 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15806 (speedbar-find-file, speedbar-dir-follow)
15807 (speedbar-directory-buttons-follow, speedbar-tag-find)
15808 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15809 (speedbar-buffers-line-directory, speedbar-buffer-click):
15810 Mark unused parameters.
15811 (speedbar-tag-file): Remove unused variable `mode'.
15812 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15813
15814 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15815
15816 * talk.el (talk): Remove unused variable `display'.
15817
15818 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15819 (tar-write-region-annotate): Mark unused parameter.
15820
15821 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15822 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15823 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15824 warning by another.
15825
15826 * time-stamp.el (time-stamp-string-preprocess):
15827 Remove unused variable `require-padding'.
15828
15829 * tree-widget.el (widget-glyph-enable): Declare.
15830 (tree-widget-action): Mark unused parameter.
15831
15832 * w32-fns.el (x-get-selection): Mark unused parameter.
15833 (autoload-make-program, generated-autoload-file): Declare.
15834
15835 * wdired.el (wdired-revert): Mark unused parameters.
15836 (wdired-xcase-word): Remove unused variable `err'.
15837
15838 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15839 (whitespace-help-scroll): Remove unused variable `data-help'.
15840
15841 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15842 (widget-image-insert, widget-after-change, default)
15843 (widget-default-format-handler, widget-default-notify)
15844 (widget-default-prompt-value, widget-info-link-action)
15845 (widget-url-link-action, widget-function-link-action)
15846 (widget-variable-link-action, widget-file-link-action)
15847 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15848 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15849 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15850 (widget-insert-button-action, widget-delete-button-action, visibility)
15851 (widget-documentation-link-action, widget-documentation-string-action)
15852 (widget-const-prompt-value, widget-regexp-match, symbol)
15853 (widget-coding-system-prompt-value)
15854 (widget-key-sequence-value-to-external, sexp)
15855 (widget-sexp-value-to-internal, character, vector, cons)
15856 (widget-choice-prompt-value, widget-boolean-prompt-value)
15857 (widget-color--choose-action): Mark unused parameters.
15858 (widget-item-match-inline, widget-choice-match-inline)
15859 (widget-checklist-match, widget-checklist-match-inline)
15860 (widget-group-match): Rename parameter VALUES to VALS.
15861 (widget-field-value-set): Remove unused variable `size'.
15862 (widget-color-action): Remove unused variables `value' and `start'.
15863
15864 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15865 variable `dir'. Doc fix.
06b60517
JB
15866 (windmove-find-other-window): Don't pass it.
15867
15868 * window.el (count-windows): Mark unused parameter.
15869 (bw-adjust-window): Remove unused variable `err'.
15870
15871 * woman.el (woman-file-name): Remove unused variable `default'.
15872 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15873 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15874 (global-font-lock-mode): Declare.
15875 (woman-decode-region): Mark unused parameter.
15876 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15877
15878 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15879 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15880 (x-dnd-handle-moz-url): Remove unused variable `title'.
15881 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15882
15883 * xml.el (xml-parse-tag, xml-parse-attlist):
15884 Remove unused variable `pos'.
15885
bc4f7f3d
GM
158862011-04-19 Glenn Morris <rgm@gnu.org>
15887
15888 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15889 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15890 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15891 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15892 * calendar/cal-html.el (cal-html-insert-minical):
15893 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15894 (calendar-mark-date-pattern):
15895 Prefix "unused" locals.
15896
15897 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15898 optional argument `style'.
15899
15900 * calendar/appt.el (appt-make-list):
15901 * calendar/cal-china.el (calendar-chinese-date-string):
15902 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15903 (diary-hebrew-yahrzeit):
15904 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15905 * calendar/calendar.el (calendar-generate-window):
15906 * calendar/time-date.el (time-to-days):
15907 Remove unused local variables.
15908
16a43933
CY
159092011-04-18 Chong Yidong <cyd@stupidchicken.com>
15910
15911 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15912 glyphless-char-display table.
15913 (tabulated-list-glyphless-char-display): New var.
15914
7eed1860
SS
159152011-04-18 Sam Steingold <sds@gnu.org>
15916
15917 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15918 to acknowledgments.
15919
4d2d1ccd
GM
159202011-04-17 Glenn Morris <rgm@gnu.org>
15921
15922 * calendar/diary-lib.el (diary-sexp-entry):
15923 * calendar/holidays.el (holiday-sexp):
15924 Set debug-on-error rather than the removed stack-trace-on-error.
15925
239da61d
GM
159262011-04-16 Glenn Morris <rgm@gnu.org>
15927
15928 * progmodes/f90.el: Use lexical-binding.
15929 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15930
8b05752a
SM
159312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15932
daca8ba5
SM
15933 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15934 (mail-mode): Setup mailalias completion here instead.
15935 * mail/mailalias.el: Use lexical-binding.
15936 (pattern, mailalias-done): Declare dynamic.
15937 (mail-completion-at-point-function): New function, from mail-complete.
15938 (mail-complete): Use it.
15939 (mail-completion-expand): New function.
15940 (mail-get-names): Use it.
15941 (mail-directory, mail-directory-process, mail-directory-stream):
15942 Don't use `pattern' for lexically bound arg.
15943
6f542485
SM
15944 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15945
037e7c3f
SM
15946 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15947 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15948 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15949
8b05752a
SM
15950 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15951 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15952 (byte-interactive-p): Define them again, for use when inlining
15953 old code.
15954
49093f60
JB
159552011-04-15 Juanma Barranquero <lekktu@gmail.com>
15956
15957 * loadup.el: Use `string-to-number', not `string-to-int'.
15958
b5b8e7de
SM
159592011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15960
15961 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15962 gud-gdb-complete-command.
15963 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15964 (gud-gdb-completion-at-point): New function.
15965 (gud-gdb-completions): Remove.
15966
f42efeb5
MA
159672011-04-14 Michael Albinus <michael.albinus@gmx.de>
15968
49093f60
JB
15969 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15970 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15971 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15972 whether `executable-find' is bound.
f42efeb5
MA
15973
15974 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15975
e240cc21
SM
159762011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15977
15978 * minibuffer.el (completion-in-region-mode-predicate)
15979 (completion-in-region-mode--predicate): New vars.
15980 (completion-in-region, completion-in-region--postch)
15981 (completion-in-region-mode): Use them.
15982 (completion--capf-wrapper): Also return the hook function.
15983 (completion-at-point, completion-help-at-point):
15984 Adjust and provide a predicate.
c2bd2ab0
SM
15985
15986 Preserve arg names for advice of subr and lexical functions (bug#8457).
15987 * help-fns.el (help-function-arglist): Consolidate the subr and
15988 new-byte-code cases. Add argument `preserve-names' to extract names
15989 from the docstring when needed.
15990 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15991 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15992 (ad-arglist): Use help-function-arglist's new arg.
15993 (ad-definition-type): Use cond.
15994
c183f693
JB
159952011-04-13 Juanma Barranquero <lekktu@gmail.com>
15996
06641a47
JB
15997 * autorevert.el (auto-revert-handler):
15998 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15999 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16000 Don't quote lambda.
16001
c183f693
JB
16002 * image-mode.el (image-transform-set-scale):
16003 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16004
1e3b6001
G
160052011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16006
16007 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16008 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16009 Upgrades via gnutls-cli are too slow to be done opportunistically.
16010
2d6af8dd
JB
160112011-04-12 Juanma Barranquero <lekktu@gmail.com>
16012
16013 * dframe.el (dframe-current-frame): Remove spurious quote.
16014
c0749a51
GM
160152011-04-12 Glenn Morris <rgm@gnu.org>
16016
088d0d61
GM
16017 * calendar/cal-tex.el (cal-tex-end-document):
16018 Try to automatically use latin1 input if needed.
16019
c0749a51
GM
16020 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16021 Don't try to cons a mark onto an empty element.
16022
5c90fde0
LL
160232011-04-11 Leo Liu <sdl.web@gmail.com>
16024
16025 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16026 buffers.
16027 (ido-kill-buffer-at-head): Support killing virtual buffers.
16028
369e974d
CY
160292011-04-10 Chong Yidong <cyd@stupidchicken.com>
16030
16031 * minibuffer.el (completion-show-inline-help): New var.
16032 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16033 (minibuffer-force-complete, minibuffer-complete-word):
16034 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16035
16036 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16037 to avoid interference from inline help (Bug#5849).
16038
37f1c930
LL
160392011-04-10 Leo Liu <sdl.web@gmail.com>
16040
099c39a4
JB
16041 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16042 Fix typo.
37f1c930 16043
a32d4040
CY
160442011-04-09 Chong Yidong <cyd@stupidchicken.com>
16045
16046 * image-mode.el (image-toggle-display-image): Signal an error if
16047 not in Image mode.
16048 (image-transform-mode, image-transform-resize)
16049 (image-transform-set-rotation): Doc fix.
daca8ba5 16050 (image-transform-set-resize): Delete.
a32d4040
CY
16051 (image-transform-set-scale, image-transform-fit-to-height)
16052 (image-transform-fit-to-width): Handle image-toggle-display-image
16053 and image-transform-resize directly.
16054
099c39a4 160552011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16056
16057 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16058 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16059 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16060 (doc-view-mode-map): Add bindings for the new functions.
16061
099c39a4 160622011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16063
4d61f28d 16064 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16065 Fix typo in docstring.
16066
3726838a
EZ
160672011-04-08 Eli Zaretskii <eliz@gnu.org>
16068
04f33f1e
EZ
16069 * files.el (file-size-human-readable): Produce one digit after
16070 decimal, like "ls -lh" does.
16071
16072 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16073 the file size representation.
16074
3726838a
EZ
16075 * simple.el (list-processes): If async subprocesses are not
16076 available, error out with a clear error message.
16077
cbb59342
CY
160782011-04-08 Chong Yidong <cyd@stupidchicken.com>
16079
16080 * help.el (help-form-show): New function, to be called from C.
16081 Put help-form output in a buffer named differently than *Help*.
16082
e3971c44
EZ
160832011-04-08 Eli Zaretskii <eliz@gnu.org>
16084
16085 * files.el (file-size-human-readable): New function.
16086
16087 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16088 computing the representation inline. Don't require `cl'.
16089
12544bbe
GM
160902011-04-08 Glenn Morris <rgm@gnu.org>
16091
a1de6c6a
GM
16092 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16093
3c4671f4
GM
16094 * net/browse-url.el (browse-url-firefox):
16095 Test system-type, not system-configuration.
16096
b605679c
GM
16097 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16098 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16099 Use log-edit-empty-buffer-p. (Bug#7598)
16100
56442f0c
GM
16101 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16102 (rlogin-mode-map): Initialize in the defvar.
16103 (rlogin): Use ignore-errors.
16104
12544bbe
GM
16105 * replace.el (occur-mode-map): Some fixes for menu items.
16106
eb237b0f
AH
161072011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16108
16109 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16110
7d668f2c
CY
161112011-04-06 Chong Yidong <cyd@stupidchicken.com>
16112
e67a13ab
CY
16113 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16114 issuing unused warnings.
16115
16116 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16117 macro directly.
16118
7d668f2c
CY
16119 * simple.el: Lisp reimplement of list-processes. Based on an
16120 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16121 (process-menu-mode): New major mode.
16122 (list-processes--refresh, list-processes):
16123 (process-menu-visit-buffer): New functions.
16124
16125 * files.el (save-buffers-kill-emacs): Don't assume any return
16126 value of list-processes, which is undocumented anyway.
16127
a83ec3c9
CY
161282011-04-06 Chong Yidong <cyd@stupidchicken.com>
16129
16130 * emacs-lisp/tabulated-list.el: New file.
16131
e91a96fe
CY
16132 * emacs-lisp/package.el: Use Tabulated List mode.
16133 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16134 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16135 table format using Tabulated List mode variables.
16136 (package--push): New macro, replacing package-list-maybe-add.
16137 (package-menu--generate): Use package--push. Renamed from
16138 package--generate-package-list.
16139 (package-menu-refresh, list-packages): Use it.
daca8ba5 16140 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16141 Return insertion data instead of inserting it directly.
099c39a4
JB
16142 (package-menu-describe-package, package-menu-execute):
16143 Use tabulated-list-get-id.
e91a96fe
CY
16144 (package-menu-mark-delete, package-menu-mark-install)
16145 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16146 (package-menu-mark-obsolete-for-deletion):
16147 Use tabulated-list-put-tag.
e91a96fe
CY
16148 (package--list-packages, package-menu-revert)
16149 (package-menu-get-package, package-menu-get-version)
16150 (package-menu-sort-by-column): Functions deleted.
16151 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16152 (package-menu--status-predicate, package-menu--version-predicate)
16153 (package-menu--name-predicate)
16154 (package-menu--description-predicate): Handle arguments in the
16155 Tabulated List format.
16156 (package-list-packages-no-fetch): Call list-packages.
16157
3e214b50
JB
161582011-04-06 Juanma Barranquero <lekktu@gmail.com>
16159
16160 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16161 (after-find-file): Don't bind it.
3e214b50
JB
16162 (revert-buffer-in-progress-p): New variable.
16163 (revert-buffer): Bind it.
16164 Pass nil for `after-find-file-from-revert-buffer'.
16165
16166 * saveplace.el (save-place-find-file-hook): Use new variable
16167 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16168
3f0f1700
GM
161692011-04-06 Glenn Morris <rgm@gnu.org>
16170
c0274801
GM
16171 * Makefile.in (AUTOGEN_VCS): New variable.
16172 (autoloads): Use $AUTOGEN_VCS.
16173
3f0f1700
GM
16174 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16175 * calendar/calendar.el (calendar-mode-map):
16176 Check for toolkit scroll bars. (Bug#8305)
16177
41ea9e48
CY
161782011-04-05 Chong Yidong <cyd@stupidchicken.com>
16179
16180 * minibuffer.el (completion-in-region--postch)
16181 (completion-in-region-mode): Remove unnecessary messages.
16182
6194c800
JB
161832011-04-05 Juanma Barranquero <lekktu@gmail.com>
16184
33256f14
JB
16185 * font-lock.el (font-lock-refresh-defaults):
16186 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16187 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16188
6194c800
JB
16189 * info.el (Info-directory-list, Info-read-node-name-2)
16190 (Info-split-parameter-string): Doc fixes.
16191 (Info-virtual-nodes): Reflow docstring.
16192 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16193 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16194 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16195 Fix typos in docstrings.
16196 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16197 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16198 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16199 (Info-restore-desktop-buffer): Mark unused parameters.
16200 (Info-directory-find-file, Info-directory-find-node)
16201 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16202 (Info-virtual-index-find-node, Info-apropos-find-file)
16203 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16204 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16205 (Info-virtual-index): Remove unused local variable `nodename'.
16206
b87a8200 162072011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16208
b87a8200
DD
16209 * net/rcirc.el: Update my e-mail address.
16210 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16211
3b2ff876
CY
162122011-04-05 Chong Yidong <cyd@stupidchicken.com>
16213
16214 * startup.el (command-line): Save the cursor's theme-face
16215 directly, instead of using face-override-spec.
16216
16217 * custom.el (load-theme): Minor optimization in assigning faces.
16218
8d17e7ca
JB
162192011-04-04 Juanma Barranquero <lekktu@gmail.com>
16220
16221 * help-fns.el (describe-variable): Complete all variables having
16222 documentation, including keywords.
16223 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16224
2fbc1934
JB
162252011-04-04 Juanma Barranquero <lekktu@gmail.com>
16226
16227 Convert to lexical-binding.
16228
16229 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16230 (bs--get-marked-string, bs--get-modified-string)
16231 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16232 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16233 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16234
16235 * ehelp.el (electric-help-execute-extended)
16236 (electric-help-ctrl-x-prefix):
16237 * hexl.el (hexl-revert-buffer-function):
16238 * linum.el (linum-after-change, linum-after-scroll):
16239 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16240
16241 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16242
74f50695
DU
162432011-04-04 Daiki Ueno <ueno@unixuser.org>
16244
16245 * epa-dired.el:
16246 * epa-mail.el:
16247 * epa-hook.el:
16248 * epa-file.el:
16249 * epa.el:
16250 * epg.el: Use lexical binding.
16251
c11325f7
CY
162522011-04-03 Chong Yidong <cyd@stupidchicken.com>
16253
0d9e9a12
CY
16254 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16255
c11325f7 16256 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16257 dictionary case for flyspell-mark-duplications-exceptions.
16258 Use regexp matching for languages.
c11325f7
CY
16259 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16260 default dictionary (Bug#7926).
16261
da91b5f2
CY
162622011-04-02 Chong Yidong <cyd@stupidchicken.com>
16263
099c39a4
JB
16264 * emacs-lisp/package.el (package--with-work-buffer):
16265 Recognize https URLs.
da91b5f2 16266
099c39a4
JB
16267 * net/network-stream.el: Move from gnus/proto-stream.el.
16268 Change prefix to network-stream throughout.
da91b5f2
CY
16269 (open-protocol-stream): Merge into open-network-stream, leaving
16270 open-protocol-stream as an alias. Handle nil BUFFER args.
16271
16272 * subr.el (open-network-stream): Move to net/network-stream.el.
16273
afa8e9f6
GM
162742011-04-02 Glenn Morris <rgm@gnu.org>
16275
1d2e369d
GM
16276 * find-dired.el (find-exec-terminator): New option.
16277 (find-ls-option): Test for -ls support.
16278 (find-ls-subdir-switches): Test for -b in find-ls-option.
16279 (find-dired, find-grep-dired): Doc fixes.
16280 (find-dired): Use find-exec-terminator.
16281
8abb7da8 16282 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16283 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16284 (find-name-arg): Remove purecopy.
8abb7da8 16285
f3ca7378
GM
16286 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16287 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16288 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16289 accordingly. Don't add the null-device if not needed.
16290
afa8e9f6
GM
16291 * files.el (save-some-buffers): Doc fix.
16292
35eae264
EZ
162932011-04-02 Eli Zaretskii <eliz@gnu.org>
16294
16295 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16296
26b51db5
JB
162972011-04-01 Juanma Barranquero <lekktu@gmail.com>
16298
16299 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16300 Use `dolist' rather than `mapcar'.
16301
7200d79c
SM
163022011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16303
03408648 16304 Add lexical binding.
7200d79c 16305
03408648
SM
16306 * subr.el (apply-partially): Use new closures rather than CL.
16307 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16308 (dolist, dotimes): Use slightly different expansion for lexical code.
16309 (functionp): Move to C.
16310 (letrec): New macro.
16311 (with-wrapper-hook): Use it and apply-partially instead of CL.
16312 (eval-after-load): Preserve lexical-binding.
16313 (save-window-excursion, with-output-to-temp-buffer): Turn them
16314 into macros.
7200d79c 16315
03408648
SM
16316 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16317
16318 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16319 than the arglist.
16320 (help-add-fundoc-usage): Don't add `Not documented'.
16321 (help-function-arglist): Handle closures, subroutines, and new
16322 byte-code-functions.
16323 (help-make-usage): Remove leading underscores.
16324 (describe-function-1): Handle closures.
16325 (describe-variable): Use special-variable-p for completion.
16326
16327 * files.el (lexical-binding): Declare safe.
f488fb65 16328
03408648
SM
16329 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16330 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16331 (pcase): Add `let' pattern.
16332 Change memoization so it actually works.
16333 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16334 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16335 <let>: New case.
f488fb65 16336
03408648
SM
16337 * emacs-lisp/macroexp.el: Use lexical binding.
16338 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16339 Don't convert ' to #' without checking that it's indeed quoting
16340 a lambda.
16341
16342 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16343 Use eval-sexp-add-defvars.
03408648
SM
16344 (eval-sexp-add-defvars): New fun.
16345
16346 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16347
16348 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16349 Don't autoload.
16350 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16351 than the internal `byte-compile-lambda'.
16352 (defmethod): Don't hide code under quotes.
16353 (eieio-defmethod): New `code' argument.
16354
16355 * emacs-lisp/eieio-comp.el: Remove.
16356
16357 * emacs-lisp/edebug.el (edebug-eval-defun)
16358 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16359 (edebug-toggle): Avoid `eval'.
16360
16361 * emacs-lisp/disass.el (disassemble-internal): Handle new
16362 `closure' objects.
16363 (disassemble-1): Handle new byte codes.
16364
16365 * emacs-lisp/cl.el (pushnew): Silence warning.
16366
16367 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16368 (cl-byte-compile-throw): Remove.
16369 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16370
16371 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16372 closures.
16373
16374 * emacs-lisp/cconv.el: New file.
16375
16376 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16377 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16378 (byte-compile-initial-macro-environment):
16379 Handle declare-function here.
16380 (byte-compile--lexical-environment): New var.
16381 (byte-stack-ref, byte-stack-set, byte-discardN)
16382 (byte-discardN-preserve-tos): New lap codes.
16383 (byte-interactive-p): Don't use any more.
16384 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16385 New macros.
16386 (byte-compile-lapcode): Use them and handle new lap codes.
16387 (byte-compile-obsolete): Remove.
16388 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16389 (byte-compile-arglist-warn): Check late def of inlinable funs.
16390 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16391 since they should have been expanded by now.
16392 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16393 (byte-compile-from-buffer): Remove unused second arg.
16394 (byte-compile-preprocess): New function.
16395 (byte-compile-toplevel-file-form): New function to distinguish
16396 file-form calls from outside from file-form calls from hunk-handlers.
16397 (byte-compile-file-form): Simplify.
16398 (byte-compile-file-form-defsubst): Remove.
16399 (byte-compile-file-form-defmumble): Simplify now that
16400 byte-compile-lambda always returns a byte-code-function.
16401 (byte-compile): Preprocess.
16402 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16403 Remove, not used any more.
16404 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16405 (byte-compile-make-args-desc): New funs.
16406 (byte-compile-lambda): Handle lexical functions. Always return
16407 a byte-code-function.
16408 (byte-compile-reserved-constants): New var, to make up room for
16409 closed-over variables.
16410 (byte-compile-constants-vector): Obey it.
16411 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16412 (byte-compile-macroexpand-declare-function): New function.
16413 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16414 byte-code-functions.
16415 (byte-compile-form): Check obsolescence here.
16416 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16417 (byte-compile-variable-ref): Remove.
16418 (byte-compile-dynamic-variable-op): New fun.
16419 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16420 (byte-compile-variable-set): New funs.
16421 (byte-compile-discard): Add 2 args.
16422 (byte-compile-stack-ref, byte-compile-stack-set)
16423 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16424 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16425 macroexpand-all instead.
16426 (byte-compile-quote-form): Remove.
16427 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16428 (byte-compile-bind, byte-compile-unbind): New funs.
16429 (byte-compile-let): Handle let* and lexical binding.
16430 (byte-compile-let*): Remove.
16431 (byte-compile-catch, byte-compile-unwind-protect)
16432 (byte-compile-track-mouse, byte-compile-condition-case):
16433 Handle a new :fun-body form, used for lexical scoping.
16434 (byte-compile-save-window-excursion)
16435 (byte-compile-with-output-to-temp-buffer): Remove.
16436 (byte-compile-defun): Simplify.
16437 (byte-compile-stack-adjustment): New fun.
16438 (byte-compile-out): Use it.
16439 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16440
16441 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16442 handler any more.
16443
16444 * emacs-lisp/byte-opt.el: Use lexical binding.
16445 (byte-inline-lapcode): Remove (to bytecomp).
16446 (byte-compile-inline-expand): Pay attention to inlining to/from
16447 lexically bound code.
16448 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16449 any more.
16450 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16451 any more and don't call compiler-macros.
16452 (byte-compile-splice-in-already-compiled-code): Remove.
16453 (byte-code): Don't inline any more.
16454 (disassemble-offset): Receive `bytes' as argument rather than via
16455 dynamic scoping.
16456 (byte-compile-tag-number): Declare before first use.
16457 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16458 `return' even if make-spliceable.
16459 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16460 obsolete interactive-p.
16461 (byte-optimize-lapcode): Optimize new lap-codes.
16462 Don't trip up on new form of `byte-constant' lap code.
16463
16464 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16465
16466 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16467
16468 * custom.el (custom-initialize-default, custom-declare-variable):
16469 Use `defvar'.
16470
16471 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16472 New variables.
16473 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16474 (COMPILE_FIRST): Add macroexp and cconv.
16475 * makefile.w32-in: Mirror changes in Makefile.in.
16476
16477 * vc/cvs-status.el:
16478 * vc/diff-mode.el:
16479 * vc/log-edit.el:
16480 * vc/log-view.el:
16481 * vc/smerge-mode.el:
16482 * textmodes/bibtex-style.el:
090bd7cb 16483 * textmodes/css-mode.el:
03408648
SM
16484 * startup.el:
16485 * uniquify.el:
da91b5f2
CY
16486 * minibuffer.el:
16487 * newcomment.el:
16488 * reveal.el:
16489 * server.el:
16490 * mpc.el:
16491 * emacs-lisp/smie.el:
16492 * doc-view.el:
16493 * dired.el:
03408648
SM
16494 * abbrev.el: Use lexical binding.
16495
0f0c1f27
EZ
164962011-04-01 Eli Zaretskii <eliz@gnu.org>
16497
16498 * info.el (info-display-manual): New function.
16499
c82b2579
SM
165002011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16501
16502 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16503
221ddf68
TH
165042011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16505
16506 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16507 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16508
cba6e77e
GM
165092011-03-31 Glenn Morris <rgm@gnu.org>
16510
e040639f
GM
16511 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16512
cba6e77e
GM
16513 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16514
6d0f1c9e
CS
165152011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16516
16517 * progmodes/python.el (python-default-interpreter)
16518 (python-python-command-args, python-jython-command-args)
16519 (python-which-shell, python-which-args, python-which-bufname)
16520 (python-file-queue, python-comint-output-filter-function)
16521 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16522 variables and functions.
16523
3e2d70fd
SM
165242011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16525
16526 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16527 (completion-in-region-mode): New minor mode.
16528 (completion-in-region): Use it.
16529 (completion-in-region--data, completion-in-region-mode-map): New vars.
16530 (completion-in-region--postch): New function.
16531 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16532 New vars.
16533 (completion--capf-wrapper): New function.
16534 (completion-at-point): Use it to track well-behavedness of
16535 hook functions.
16536 (completion-help-at-point): New command.
16537
f3e4086c
JM
165382011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16539
16540 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16541 syntax class to search for whitespace on a single line
16542 (Message-ID: <4D938140.4030905@redhat.com>).
16543
eb7ffc14
LL
165442011-03-30 Leo Liu <sdl.web@gmail.com>
16545
16546 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16547 New commands.
16548 (edit-abbrevs-map): Bind them here.
16549 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16550
d806ab68
KM
165512011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16552
16553 * allout.el (allout-hide-by-annotation, allout-flag-region):
16554 Reduce possibility of overlay leakage by making them volatile.
16555
16556 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16557 hash is not shared between buffers. Mode initialization is
16558 responsible for giving it a useful starting value.
16559 (allout-item-span): Reduce possibility of overlay leakage by
16560 making them volatile.
16561 (allout-widgets-count-buttons-in-region): Add diagnostic function
16562 for tracking down button overlay leaks.
16563
ea622834
LL
165642011-03-29 Leo Liu <sdl.web@gmail.com>
16565
16566 * ido.el (ido-read-internal): Use the default history var
16567 minibuffer-history if no HISTORY is specified.
16568
b62f8267
G
165692011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16570
03408648
SM
16571 * net/imap.el (imap-shell-open, imap-process-connection-type):
16572 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16573 Kerberos, SSL, other subprocesses.
16574
947b6566
LL
165752011-03-28 Leo Liu <sdl.web@gmail.com>
16576
16577 * abbrev.el (abbrev-table-empty-p): New function.
16578 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16579 nonempty ones. (Bug#5937)
16580
5ffb62aa
JD
165812011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16582
16583 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16584
7a097943
LL
165852011-03-27 Leo Liu <sdl.web@gmail.com>
16586
16587 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16588 for foreground and background colors.
16589 (ansi-color-make-color-map): Adapt.
16590
c5b40130
LL
165912011-03-25 Leo Liu <sdl.web@gmail.com>
16592
1f48f7d2
LL
16593 * midnight.el (midnight-time-float): Remove. Note it calculates
16594 the microsecond component incorrectly and seconds-to-time does the
16595 same job.
625897ec 16596 Remove redundant (require 'timer).
1f48f7d2 16597
c5b40130
LL
16598 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16599 (ido-completions): Remove unused arguments. (Bug#8329)
16600
d86d2721
SM
166012011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16602
16603 * minibuffer.el (completion--flush-all-sorted-completions):
16604 Remove itself from hook.
16605 (completion-at-point): Let the functions perform the completion
16606 immediately and return nil or t.
16607 * comint.el (comint-dynamic-complete-functions): Now identical to
16608 completion-at-point-functions.
16609 (comint-dynamic-list-input-ring): Remove unused var `index'.
16610 (comint--match-partial-filename, comint--unquote&expand-filename):
16611 New funs, split from comint-match-partial-filename.
16612 (comint-dynamic-complete): Use completion-at-point.
16613 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16614
e8974c48
DA
166152011-03-24 Drew Adams <drew.adams@oracle.com>
16616
16617 * thingatpt.el: Support `defun'.
16618
def71b5e
LL
166192011-03-23 Leo Liu <sdl.web@gmail.com>
16620
cb5af48e
LL
16621 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16622
def71b5e
LL
16623 * help-mode.el (help-mode-finish): Tweak regexp.
16624
927c53e7
GM
166252011-03-23 Glenn Morris <rgm@gnu.org>
16626
18d05bed
GM
16627 * eshell/esh-opt.el (eshell-eval-using-options):
16628 Do not bind unused local variable `eshell-option-stub'.
16629
927c53e7
GM
16630 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16631
9d0da923
JB
166322011-03-22 Juanma Barranquero <lekktu@gmail.com>
16633
16634 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16635 keymap variable in `with-no-warnings' to avoid a warning when the
16636 keymap has been already `defconst'ed.
16637
4b978a67
LL
166382011-03-22 Leo Liu <sdl.web@gmail.com>
16639
16640 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16641 encode all chars in abbrevs; otherwise use emacs-mule or
16642 utf-8-emacs. (Bug#8308)
16643
5fd62452
JB
166442011-03-22 Juanma Barranquero <lekktu@gmail.com>
16645
0b1596c6
JB
16646 * simple.el (backward-delete-char-untabify):
16647 Avoid warning about using `delete-backward-char'.
16648
5fd62452
JB
16649 * image.el (image-type-file-name-regexps): Make it variable.
16650 `imagemagick-register-types' modifies it, and the user may want
16651 to add new extensions for known image types.
16652 (imagemagick-register-types): Throw error if not using ImageMagick.
16653
0b4e93f1
LL
166542011-03-22 Leo Liu <sdl.web@gmail.com>
16655
16656 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16657 located before rcirc-prompt-end-marker.
16658 (rcirc-complete): Error if point is not after rcirc prompt.
16659 Handle the case when table is nil.
9882e214 16660 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16661
fccee4ab
CY
166622011-03-22 Chong Yidong <cyd@stupidchicken.com>
16663
16664 * custom.el (custom--inhibit-theme-enable): Make it affect only
16665 custom-theme-set-variables and custom-theme-set-faces.
16666 (provide-theme): Ignore custom--inhibit-theme-enable.
16667 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16668 (custom-enabling-themes): Delete variable.
d86d2721
SM
16669 (enable-theme): Accept only loaded themes as arguments.
16670 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16671 (custom-enabled-themes): Forbid themes from setting this.
16672 Eliminate use of custom-enabling-themes.
16673 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16674
af896da6
LL
166752011-03-21 Leo Liu <sdl.web@gmail.com>
16676
16677 * ido.el (ido-read-internal): Add ido-selected to history instead
16678 of user input.
16679
78f64af0
SM
166802011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16681
16682 * subr.el (deferred-action-list, deferred-action-function):
16683 Mark obsolete.
16684
b16ac1ec
LL
166852011-03-21 Leo Liu <sdl.web@gmail.com>
16686
810f7698
LL
16687 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16688 change on 2011-02-13 (bug#8309).
16689
b16ac1ec
LL
16690 * minibuffer.el (read-file-name-function): Change default value.
16691 (read-file-name--defaults): Rename from read-file-name-defaults.
16692 (read-file-name-default): Rename from read-file-name.
16693 (read-file-name): Call read-file-name-function.
16694
4e05e67e
GM
166952011-03-21 Glenn Morris <rgm@gnu.org>
16696
16697 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16698 Doc fixes.
16699
4359915b
CY
167002011-03-21 Chong Yidong <cyd@stupidchicken.com>
16701
16702 * cus-theme.el: Add missing provide statement.
16703 (customize-create-theme): Extract theme value correctly.
16704 (custom-theme-visit-theme): Autoload.
16705 (customize-create-theme): Prompt before inserting default faces.
16706
1fe275ee
JB
167072011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16708
16709 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16710 units and musical notes.
16711
cd394be1 167122011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16713
16714 * ido.el (ido-read-internal): Use completing-read-default.
16715 (ido-completing-read): Fix compatibility with completing-read.
16716
7d476bde
CO
167172011-03-20 Christian Ohler <ohler@gnu.org>
16718
16719 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16720 (ert-delete-all-tests): Use `called-interactively-p' rather than
16721 `interactive-p'.
16722 (ert--make-xrefs-region): Respect END.
16723
fe0fb33e
CY
167242011-03-19 Chong Yidong <cyd@stupidchicken.com>
16725
ff854b0b
CY
16726 * dired-aux.el (dired-create-directory): Signal an error if the
16727 directory already exists (Bug#8246).
16728
fe0fb33e
CY
16729 * facemenu.el (list-colors-display): Call list-faces-display
16730 inside with-help-window.
16731 (list-colors-print): Use display property to align the final
16732 column, instead of checking window-width.
16733
576bce32
EZ
167342011-03-19 Eli Zaretskii <eliz@gnu.org>
16735
4d61f28d 16736 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16737 windows-nt systems.
16738 (emerge-protect-metachars): Quote correctly for ms-dos and
16739 windows-nt systems.
16740
89c41d68 167412011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16742
16743 * info.el (info-initialize): Replace all uses of `:' with
16744 path-separator for compatibility with non-Unix systems.
16745 Cache quoting of path-separator. (Bug#8258)
16746
b14e3e21 167472011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16748
16749 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16750 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16751 (mouse-avoidance-mode): Fix typos in docstrings.
16752
4525ce3e
CY
167532011-03-19 Chong Yidong <cyd@stupidchicken.com>
16754
16755 * startup.el (package-subdirectory-regexp): Move from package.el.
16756 Omit \\` and \\', and let callers add them.
16757
16758 * emacs-lisp/package.el (package-strip-version)
16759 (package-load-all-descriptors): Add \\` and \\' to
16760 package-subdirectory-regexp before using it.
16761 (package-untar-buffer): New arg DIR; ensure that file untars only
16762 into this expected directory. Remove superfluous delete-region.
16763 (package-unpack): Caller changed.
16764 (package-tar-file-info): Use package-subdirectory-regexp.
16765
a904a09a 167662011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16767
a904a09a
SM
16768 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16769 diff-mode-shared-map (bug#8284).
16770 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16771
167722011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16773
16774 * calendar/time-date.el (format-seconds): Use assoc instead of
16775 assoc-string, since assoc-string doesn't exist in XEmacs.
16776
171fc304
JB
167772011-03-17 Juanma Barranquero <lekktu@gmail.com>
16778
16779 * custom.el (custom-known-themes): Reflow docstring.
16780 (custom-theme-load-path): Fix typo in docstring.
16781 (load-theme): Fix typo in error message.
16782 (custom-available-themes, custom-variable-theme-value):
16783 Use `let', not `let*'.
16784
d71990a1
JB
167852011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16786
16787 * calc/README: Mention inclusion of musical notes.
16788
16789 * calc/calc-units.el (calc-lu-quant): Rename from
16790 `calc-logunits-quantity'.
16791 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16792 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16793 (calc-db): Rename from `calc-dblevel'.
16794 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16795 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16796 (calc-np): Rename from `calc-nplevel'.
16797 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16798 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16799 (calc-lu-plus): Rename from `calc-logunits-add'.
16800 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16801 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16802 (calc-lu-minus): Rename from `calc-logunits-sub'.
16803 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16804 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16805 (calc-lu-times): Rename from `calc-logunits-mul'.
16806 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16807 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16808 (calc-lu-divide): Rename from `calc-logunits-div'.
16809 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16810 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16811
16812 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16813 functions being autoloaded.
16814
16815 * calc/calc.el (calc-lu-power-reference): Rename from
16816 `calc-logunits-power-reference'.
16817 (calc-lu-field-reference): Rename from
16818 `calc-logunits-field-reference'.
16819
7a71b18d
GM
16820 * calc/calc-help.el (calc-l-prefix-help):
16821 Mention musical note functions.
d71990a1 16822
40c2934b
SM
168232011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16824
16825 * minibuffer.el (completion-all-sorted-completions):
16826 Use :completion-cycle-penalty text property if present.
16827
b0911414
KM
168282011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16829
16830 * allout.el (allout-yank-processing): Adjust for new rebulleting
16831 regime so bullet being yanked is used without prompting the user
16832 for a choice.
16833
8a05b668
JB
168342011-03-16 Juanma Barranquero <lekktu@gmail.com>
16835
16836 * startup.el (command-line): Warn the user that _emacs is deprecated.
16837
5ba5fb81
JB
168382011-03-16 Juanma Barranquero <lekktu@gmail.com>
16839
16840 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16841 (delphi-verbose, delphi-comment-face, delphi-string-face)
16842 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16843 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16844 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16845 (delphi-new-comment-line, delphi-font-lock-defaults)
16846 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16847 Fix typos in docstrings.
16848
2dab465b
KM
168492011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16850
5ba5fb81 16851 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16852 Invert the roles of character and string values for INSTEAD, so a
16853 string is used for the more common case of a defaulting prompt.
16854
0adf5618
SM
168552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16856
16857 * progmodes/ruby-mode.el (ruby-backward-sexp):
16858 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16859 * play/gamegrid.el (gamegrid-make-face):
16860 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16861 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16862 * notifications.el (notifications-notify):
16863 * net/xesam.el (xesam-search-engines):
16864 * net/quickurl.el (quickurl-list-insert):
16865 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16866
d72700e5
CY
168672011-03-15 Chong Yidong <cyd@stupidchicken.com>
16868
16869 * startup.el (command-line): Update package subdirectory regexp.
16870
49c5410a
SM
168712011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16872
c6eee9aa
SM
16873 * allout.el (allout-abbreviate-flattened-numbering)
16874 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16875
49c5410a
SM
16876 * subr.el (read-char-choice): Only show the cursor after the prompt,
16877 not after the answer.
16878
047b2bb9
KR
168792011-03-15 Kevin Ryde <user42@zip.com.au>
16880
16881 * help-fns.el (variable-at-point): Skip leading quotes, if any
16882 (bug#8253).
16883
0a57d256
SM
168842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16885
16886 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16887 warning message.
16888
77c992bc
MA
168892011-03-14 Michael Albinus <michael.albinus@gmx.de>
16890
16891 * shell.el (shell): When called interactively, offer to change the
16892 shell file name on remote hosts.
16893
eebc475d
TZ
168942011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16895
16896 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16897 integration for LDAP parameters. The host, base, user or binddn,
16898 and secret tokens can be specified in a netrc file, for instance.
16899 This is optional because an `auth-source' parameter must be
16900 specified in the search attributes.
16901
9d05d1ba
JB
169022011-03-13 Juanma Barranquero <lekktu@gmail.com>
16903
16904 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16905
09d9db2c
GM
169062011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16907
16908 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16909 into declaration. Remove redundant and harmful binding.
16910
169112011-03-12 Eli Zaretskii <eliz@gnu.org>
16912
16913 * files.el (file-ownership-preserved-p): Pass `integer' as an
16914 explicit 2nd argument to `file-attributes'. If the file's owner
16915 is the Administrators group on Windows, and the current user is
16916 Administrator, consider that a match.
16917
16918 * server.el (server-ensure-safe-dir): Consider server directory
16919 safe on MS-Windows if its owner is the Administrators group while
16920 the current Emacs user is Administrator. Use `=' to compare
16921 numerical UIDs, since they could be integers or floats.
16922
219bd536
JB
169232011-03-12 Juanma Barranquero <lekktu@gmail.com>
16924
16925 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16926
f3afd36b
MA
169272011-03-12 Michael Albinus <michael.albinus@gmx.de>
16928
16929 Sync with Tramp 2.2.1.
16930
16931 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16932
16933 * net/trampver.el: Update release number.
16934
3aaaa6f1
SM
169352011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16936
94642599
SM
16937 * progmodes/compile.el (compilation--previous-directory): Fix up
16938 various nil/dead-marker mismatches (bug#8014).
16939 (compilation-directory-properties, compilation-error-properties):
16940 Don't call it at a position past the one we're about to change.
16941
3aaaa6f1
SM
16942 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16943 Disable obsolescence warnings in the file that declares it.
16944
14239447
KM
169452011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16946
099c39a4
JB
16947 * allout-widgets.el (allout-widgets-tally):
16948 Initialize allout-widgets-tally as a hash table rather than nil to
16949 prevent mode-line redisplay warnings. Also, clarify the module
16950 description and fix a comment typo.
14239447 16951
135e287c
JB
169522011-03-11 Juanma Barranquero <lekktu@gmail.com>
16953
16954 * help-fns.el (describe-variable): Don't complete keywords.
16955 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16956
ffbf300e
CY
169572011-03-10 Chong Yidong <cyd@stupidchicken.com>
16958
ba08b241
CY
16959 * emacs-lisp/package.el (package-version-join): Impose a standard
16960 string representation for pre/alpha/beta version lists.
16961 (package-unpack-single): Standardize the directory name by passing
16962 it through package-version-join.
16963 (package-strip-rcs-id): Accept any version string that does not
16964 signal an error in version-to-list.
ffbf300e 16965
f346fd6b
MA
169662011-03-10 Michael Albinus <michael.albinus@gmx.de>
16967
16968 * simple.el (delete-trailing-whitespace): Return nil for the
16969 benefit of `write-file-functions'.
16970
ccb55d27
GM
169712011-03-10 Glenn Morris <rgm@gnu.org>
16972
5ceaac0c
GM
16973 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16974
02da65ff
GM
16975 * vc/vc-git.el (vc-git-program): New option.
16976 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16977 (vc-git--call): Use it.
16978
b2f603cc
GM
16979 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16980
5772caab
GM
16981 * cus-edit.el (Custom-newline): If no button at point, look
16982 for a subgroup button at start-of-line. (Bug#2298)
16983
ccb55d27
GM
16984 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16985
ec6ecaed
JD
169862011-03-10 Julien Danjou <julien@danjou.info>
16987
16988 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16989 `cursor-type' is nil.
16990
9d5aa01d
JB
169912011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16992
16993 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16994
b6a5875b
KM
169952011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16996
7a71b18d 16997 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16998 preserves the existing header prefix, rebulleting it if necessary,
16999 rather than replacing it. This is necessary for proper operation
17000 of cooperative addons like allout-widgets.
1154d12e
JB
17001 (allout-make-topic-prefix, allout-rebullet-heading):
17002 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17003 value as alternate bullet to be used, instead of prompting the user
17004 for a bullet character.
b6a5875b 17005
ee545c35
MA
170062011-03-09 Michael Albinus <michael.albinus@gmx.de>
17007
d86d2721
SM
17008 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17009 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17010 `tramp-default-port'.
17011
c47971d7
DD
170122011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17013
17014 * net/rcirc.el (rcirc-handler-001): Remove useless
17015 with-rcirc-process-buffer.
17016 (rcirc-check-auth-status): Swap arguments to string-match.
17017
13522cb4
GM
170182011-03-09 Glenn Morris <rgm@gnu.org>
17019
0be6f4f1
GM
17020 * shell.el (shell-mode):
17021 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17022
13522cb4
GM
17023 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17024 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17025
515de2e3
CY
170262011-03-08 Chong Yidong <cyd@stupidchicken.com>
17027
17028 * emacs-lisp/package.el (package-refresh-contents)
17029 (package-menu-execute): Use condition-case-no-debug.
17030
b511b994
MA
170312011-03-08 Michael Albinus <michael.albinus@gmx.de>
17032
17033 * simple.el (shell-command-to-string): Use `process-file'.
17034
17035 * emacs-lisp/package.el (package-tar-file-info): Handle also
17036 remote files.
17037
d86d2721
SM
17038 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17039 Use `equal' for upload base check.
b511b994 17040
25bbfb31
AM
170412011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17042
17043 * textmodes/texinfo.el (texinfo-environments):
17044 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17045
be996521
GM
170462011-03-08 Glenn Morris <rgm@gnu.org>
17047
e9c8529f
GM
17048 * cus-start.el (cursor-in-non-selected-windows):
17049 Fix :set quoting oddness. (Bug#8192)
17050
be996521
GM
17051 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17052 in some setf expressions. (Bug#2159)
17053
2bb5649e
CY
170542011-03-08 Chong Yidong <cyd@stupidchicken.com>
17055
17056 * custom.el (custom-available-themes): Return themes in
17057 alphabetical order.
17058
33383987 17059See ChangeLog.15 for earlier changes.
e3d51b27
MR
17060
17061;; Local Variables:
17062;; coding: utf-8
e3d51b27
MR
17063;; End:
17064
acaf905b 17065 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17066
17067 This file is part of GNU Emacs.
17068
17069 GNU Emacs is free software: you can redistribute it and/or modify
17070 it under the terms of the GNU General Public License as published by
17071 the Free Software Foundation, either version 3 of the License, or
17072 (at your option) any later version.
17073
17074 GNU Emacs is distributed in the hope that it will be useful,
17075 but WITHOUT ANY WARRANTY; without even the implied warranty of
17076 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17077 GNU General Public License for more details.
17078
17079 You should have received a copy of the GNU General Public License
17080 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.