* Makefile.in (install-arch-indep): Avoid eval.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d7714961
FEG
12012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2
3 * progmodes/python.el (run-python-internal): Disable font lock for
4 internal shells.
5
1f45e27e
SM
62012-07-30 Stefan Merten <smerten@oekonux.de>
7
8 * rst.el: Silence `checkdoc-ispell'.
9 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10 (rst-official-version, rst-official-cvs-rev)
11 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
12 (rst-mode-map): New key binding.
13
0aee6912
PE
142012-07-30 Paul Eggert <eggert@cs.ucla.edu>
15
16 Update .PHONY listings in makefiles.
17 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
18 autoloads, update-subdirs, updates, bzr-update, update-authors,
19 compile-onefile, compile-calc, backup-compiled-files,
20 compile-after-backup, compile-one-process, mh-autoloads,
21 bootstrap-clean, distclean, maintainer-clean.
22
9052f9f0
JB
232012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
24
1823ac5a
JB
25 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
26 (calc-set-mode-line): Don't display "AlgSimp ".
27
28 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
29 (calc-lim-simplify-mode): New function.
30 (calc-set-simplify-mode): Default to 'alg.
31 (calc-default-simplify-mode): Make algebraic simplifications
32 the default.
33
34 * calc/calc-ext.el (calc-init-extensions): Remove binding for
35 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
36
4b337409
JB
37 * calc/calc-help (calc-m-prefix-help): Change messages to
38 indicate new simplification modes.
39
1823ac5a
JB
40 * calc/README: Mention new default simplification mode.
41
9052f9f0
JB
42 * calc/calc.el (math-normalize-error): New variable.
43 (math-normalize): Set `math-normalize-error' to t
44 when there's an error.
45
46 * calc/calc-alg.el (math-simplify): Don't simplify when
47 `math-normalize' returns an error.
48
20ba0cb4
EZ
492012-07-29 Eli Zaretskii <eliz@gnu.org>
50
51 * international/mule-cmds.el (set-locale-environment): Revert last
52 change, since display-graphic-p returns nil when this function is
53 called during startup. Instead...
54
55 * term/w32console.el (terminal-init-w32console): ...setup the
56 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
57
a5dcc929
JL
582012-07-29 Juri Linkov <juri@jurta.org>
59
60 * simple.el (goto-line): Don't display default line number in the
61 prompt because it should be displayed by `read-number' (bug#9952).
62 Add the current line number to the defaults of `goto-line' to
63 allow its easier modification by users with `M-n' (bug#9201).
64
65 * subr.el (read-number): Support multiple default values like in
66 other minibuffer reading functions. Replace `read' with
67 `string-to-number' for consistency with `number-to-string'.
68
72b255c7
PE
692012-07-29 Paul Eggert <eggert@cs.ucla.edu>
70
71 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
72 * emulation/viper-init.el (viper-deactivate-input-method-action):
73 Rename from viper-inactivate-input-method-action.
74 (viper-deactivate-input-method):
75 Rename from viper-inactivate-input-method.
76 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
77 * international/mule-cmds.el (deactivate-input-method):
78 Rename from inactivate-input-method.
79 Also run input-method-deactivate-hook.
80 (deactivate-current-input-method-function):
81 Rename from inactivate-current-input-method-function.
82 (input-method-deactivate-hook): New hook.
83 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
84 (inactivate-input-method): Mark obsolete.
85
72b255c7
PE
86 * international/quail.el (quail-activate):
87 Also run quail-deactivate-hook.
88 (quail-deactivate): Rename from quail-inactivate.
89 * international/robin.el (robin-activate):
90 Also run robin-deactivate-hook.
91 (robin-deactivate): Rename from robin-inactivate.
92
2549c068
CY
932012-07-29 Chong Yidong <cyd@gnu.org>
94
95 * simple.el (indicate-copied-region): New function.
96 (kill-ring-save): Split off from here.
97
98 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
99 (kill-rectangle): Set deactivate-mark to t on read-only error.
100
101 * register.el (copy-to-register, copy-rectangle-to-register):
102 Deactivate the mark, and use indicate-copied-region (Bug#10056).
103 (append-to-register, prepend-to-register): Call
104
17711ed9
JL
1052012-07-29 Juri Linkov <juri@jurta.org>
106
107 * simple.el (async-shell-command-buffer): New defcustom.
108 (shell-command): Use it. (Bug#4719)
109
01bd1b0d
EZ
1102012-07-28 Eli Zaretskii <eliz@gnu.org>
111
112 * international/mule-cmds.el (set-locale-environment): In a
113 console session on MS-Windows, set up keyboard and terminal
114 encoding from the OEM codepage, not the ANSI codepage.
115 (Bug#12055)
116
a55739d3
CY
1172012-07-28 Chong Yidong <cyd@gnu.org>
118
119 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
120 gdb-get-location.
121
9a0f8f2e
LL
1222012-07-25 Leo Liu <sdl.web@gmail.com>
123
124 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
125 the alist (bug#12029).
126
20329d73
EZ
1272012-07-28 Eli Zaretskii <eliz@gnu.org>
128
129 * makefile.w32-in (custom-deps, finder-data, updates, compile)
130 (compile-always, compile-first)
131 ($(lisp)/calendar/cal-loaddefs.el)
132 ($(lisp)/calendar/diary-loaddefs.el)
133 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
134 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
135 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
136 instead of on update-subdirs.
137 (bootstrap-clean): Delete $(lisp)/subdirs.el.
138
345a2258
CY
1392012-07-28 Chong Yidong <cyd@gnu.org>
140
1eee6341
CY
141 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
142 directory if vc-deduce-backend returns nil (Bug#7350).
143
345a2258
CY
144 * simple.el (delete-trailing-lines): New option.
145 (delete-trailing-whitespace): Obey it (Bug#11879).
146
049a0936
DE
1472012-07-28 David Engster <deng@randomsample.de>
148
149 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
150 Explanation of new 'symbol-qnames feature in doc-strings.
151 (xml-maybe-do-ns): Return expanded names as plain symbols if
152 'symbol-qnames was provided in XML-NS argument (Bug#11916).
153 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
154
aa81af71
FEG
1552012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
156
157 Consistent completion in inferior python with emacs -nw.
158 * progmodes/python.el (inferior-python-mode): replace "<tab>"
159 binding in inferior-python-mode-map with "\t".
160 (python-shell-completion-complete-at-point)
161 (python-completion-complete-at-point): Remove interactive spec.
162
e827b1eb
JB
1632012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
164
165 * calc/calccomp.el (math-compose-expr): Undo previous change.
166
a90dfb95
FEG
1672012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
168
169 * progmodes/python.el (python-mode-map): Added keybinding for
170 run-python.
171 (python-shell-make-comint): Fix pop-to-buffer call.
172 (run-python): Autoload. New arg SHOW.
173 (python-shell-get-or-create-process): Do not pop python process
174 buffer.
175
32770973 1762012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
177
178 * notifications.el (notifications-on-action-signal)
179 (notifications-on-closed-signal): Use also the bus address for the map.
180 (notifications-notify, notifications-close-notification)
181 (notifications-get-capabilities): Add optional argument BUS.
182
86332df2
TH
1832012-07-27 Tassilo Horn <tsdh@gnu.org>
184
185 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
186 support for the lstlisting and minted environments, and for the
187 ctable macro.
188 * textmodes/reftex.el (reftex-compile-variables): Also recognize
189 labels written in keyvals syntax.
190
ca1302a4
JB
1912012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
192
193 * calc/calccomp.el (math-compose-expr): Use parentheses when
194 there is a product in the denominator of a fraction.
195
f8b91036
EZ
1962012-07-26 Eli Zaretskii <eliz@gnu.org>
197
198 * makefile.w32-in ($(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): Depend on update-subdirs. Fixes
202 failures in parallel bootstrap because subdirs.el is being
203 rewritten while the autoload files are built at the same time,
204 which needs to load subdirs.el.
205
c8e5a42c
MR
2062012-07-26 Martin Rudalics <rudalics@gmx.at>
207
208 * mouse.el (popup-menu): Fix doc-string and re-indent code.
209 (mouse-drag-line): Don't exit tracking when a switch-frame or
210 switch-window event occurs (Bug#12006).
211
670d85ea
SM
2122012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * mouse.el (popup-menu): Fix last change.
215
7abaf5cc
SM
2162012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 Autoload from Lisp with more care. Follow aliases when looking for
219 function properties.
220 * subr.el (autoloadp): New function.
221 (symbol-file): Use it.
222 (function-get): New function.
223 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
224 autoload-do-load.
225 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
226 (lisp-indent-function):
227 * emacs-lisp/gv.el (gv-get):
228 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
229 * emacs-lisp/byte-opt.el (byte-optimize-form):
230 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
231 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
232 Use function-get.
233 * emacs-lisp/cl.el: Don't propagate function properties any more.
234
235 * speedbar.el (speedbar-add-localized-speedbar-support):
236 * emacs-lisp/disass.el (disassemble-internal):
237 * desktop.el (desktop-load-file):
238 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
239 (describe-function-1):
240 * emacs-lisp/find-func.el (find-function-noselect):
241 * emacs-lisp/elp.el (elp-instrument-function):
242 * emacs-lisp/advice.el (ad-has-proper-definition):
243 * apropos.el (apropos-safe-documentation, apropos-macrop):
244 * emacs-lisp/debug.el (debug-on-entry):
245 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
246 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
247 * calc/calc.el (name): Use autoloadp & autoload-do-load.
248
b1364986
AA
2492012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
250
251 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
252 function, not an obsolete variable (Bug#12046).
253
67ada220
AS
2542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
255
256 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
257
f08088e3
CS
2582012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
259
260 * emacs-lisp/pp.el (pp-display-expression): Select old selected
261 window only if it is still live (Bug#12034).
262
8137e7b3
MR
2632012-07-25 Martin Rudalics <rudalics@gmx.at>
264
265 * subr.el (redirect-frame-focus): Add advertised calling
266 convention (Bug#12030).
267
09ae5da1
PE
2682012-07-25 Paul Eggert <eggert@cs.ucla.edu>
269
270 Prefer typical American spelling for "acknowledgment".
271 * vc/add-log.el (change-log-acknowledgment): Rename from
272 change-log-acknowledgement, with an alias for the old name.
273
3cc5a3a8
JB
2742012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
275
276 * calc-alg.el (math-simplify-divide): Don't cross multiply
277 in an equation when the lhs is a variable.
278
b7af7f62
JD
2792012-07-24 Julien Danjou <julien@danjou.info>
280
281 * net/netrc.el (netrc-find-service-number, netrc-store-data):
282 Remove, unused.
283
ec1b09b1
EZ
2842012-07-23 Eli Zaretskii <eliz@gnu.org>
285
286 * startup.el (command-line): Don't display an empty user name in
287 the error message about non-existent home directory, when
288 init-file-user was set to an empty string. See
289 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
290 for the details and context.
291
b525fd8a
VB
2922012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
293
294 * ses.el (ses-cell-formula-aset): New macro.
295 (ses-cell-references-aset): New macro.
296 (ses-cell-p): New function.
297 (ses-rename-cell): Do no longer rely on complex operations like
298 ses-cell-set-formula or ses-set-cell to change the cell and handle
299 the undo at the same time, but rather use lower level new macros
300 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
301 the undo directly. Refresh the mode line.
302
2c73e345
LL
3032012-07-21 Leo Liu <sdl.web@gmail.com>
304
670d85ea
SM
305 * progmodes/cc-cmds.el (c-defun-name):
306 Use match-string-no-properties instead for consistency.
2c73e345 307
542dfbde
LL
3082012-07-20 Leo Liu <sdl.web@gmail.com>
309
3646bcd6
LL
310 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
311 (Bug#7879)
312
542dfbde
LL
313 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
314
25721031
CY
3152012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
318 * progmodes/bug-reference.el, misearch.el: Provide themselves
319 (bug#11915).
320
321 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
322 of narrowed buffer (bug#11966).
323
316e68a7
VB
3242012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
325
326 * ses.el (ses-rename-cell): Set new name also in reference list of
327 cells of which the renamed cell depends.
328
bbf0e7d9
MY
3292012-07-20 Masatake YAMATO <yamato@redhat.com>
330
331 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
332 to check whether menu-bar is shown or not. If not shown,
333 show the menu-bar as a popup menu instead of using tmm.
334 * mouse.el (popup-menu): Accept `point' as `position' argument.
335
c28662a8
DG
3362012-07-20 Dmitry Gutov <dgutov@yandex.ru>
337
338 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
339 up inside string symbol literal (bug#11923).
340
87ab808f
EZ
3412012-07-20 Eli Zaretskii <eliz@gnu.org>
342
343 * startup.el (fancy-startup-text): Read the whole tutorial, not
344 just its first 256 bytes. Prevents gibberish in display of the
345 tutorial title.
346
89dea803
DA
3472012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
348
349 Drop idle buffer compaction due to an absence of the
350 proved efficiency.
351 * compact.el: Remove.
352
8a4e6db8
SS
3532012-07-19 Sam Steingold <sds@gnu.org>
354
355 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
356 vc-bzr-pull & vc-bzr-merge-branch.
357 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
358 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
359 for consistency with compilation-error-regexp-alist.
360 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
361 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
362 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
363 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
364
5db81e33
SM
3652012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * emacs-lisp/chart.el: Use lexical-binding.
368 (chart-emacs-storage): Don't hardcode the list of entries.
369
5b835e1d
DA
3702012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
371
372 Next round of tweaks caused by Fgarbage_collect changes.
373 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
374
9cd47b72
DA
3752012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
376
377 Compact buffers when idle.
378 * compact.el: New file.
379
1d6fc0df
SM
3802012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * subr.el (eventp): Presume that if it looks vaguely like an event,
383 it's an event (bug#10190).
384
1d29cc7d
FEG
3852012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
386
387 Enhancements to ppss related code (thanks Stefan).
388 * progmodes/python.el (python-indent-context)
389 (python-indent-calculate-indentation, python-indent-dedent-line)
390 (python-indent-electric-colon, python-nav-forward-block)
391 (python-mode-abbrev-table)
1d6fc0df 392 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
393 for ppss context.
394 (python-info-continuation-line-p): Cleanup.
395 (python-info-ppss-context): Do not catch 'quote.
396 (python-info-ppss-context-type)
397 (python-info-ppss-comment-or-string-p): Simplify.
398
d583cbe6
FEG
3992012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
400
401 * progmodes/python.el: Enhancements to eldoc support.
402 (python-info-current-symbol): New function.
403 (python-eldoc-at-point): Use python-info-current-symbol.
404 (python-info-current-defun): Fix cornercase on first defun scan.
405 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
406 and signal error when no inferior python process is available.
407
eceb6feb
DG
4082012-07-18 Dmitry Gutov <dgutov@yandex.ru>
409
410 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
411 assume it's always t.
412 (vc-git-registered): Remove caching, the function is only called
413 once.
414 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
415
4c8ff0fe
CY
4162012-07-18 Chong Yidong <cyd@gnu.org>
417
19fb7186
CY
418 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
419
9587c688
CY
420 * simple.el (count-words): Report on narrowing (Bug#9959).
421
0fe776a1
CY
422 * bindings.el: Bind M-= to count-words.
423
4c8ff0fe
CY
424 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
425
7f5331cc
MY
4262012-07-18 Masatake YAMATO <yamato@redhat.com>
427
428 * progmodes/sh-script.el (sh-imenu-generic-expression):
429 Capture a function with `function' keyword and without parentheses
430 like "function FOO" (bug#11856).
431
2dc2a609
TH
4322012-07-18 Tassilo Horn <tassilo@member.fsf.org>
433
434 * window.el (split-window-sensibly): Make WINDOW argument
435 optional.
436
439f7677
CY
4372012-07-18 Chong Yidong <cyd@gnu.org>
438
9aeb25a6
CY
439 * subr.el (keyboard-translate): Doc fix (Bug#7261).
440
439f7677
CY
441 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
442 and make C-x 8 RET exit isearch (Bug#11439).
443
444 * international/iso-transl.el: Move isearch-mode-map key
445 definitions to isearch.el.
446
12999ea8
SM
4472012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
450 (eieio-defclass): Use gv-define-setter when possible.
451
3ab6e069
DA
4522012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
453
454 Reflect recent changes in Fgarbage_collect.
455 * emacs-lisp/chart.el (chart-emacs-storage): Change to
456 reflect new format of data returned by Fgarbage_collect.
457
0a60bc10
FEG
4582012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
459
460 New utility functions + python-info-ppss-context fix (Bug#11910).
461 * progmodes/python.el (python-info-beginning-of-block-statement-p)
462 (python-info-ppss-comment-or-string-p): New functions.
463 (python-info-ppss-context): Small fix for string check.
464
6dafa0d5
JL
4652012-07-17 Juri Linkov <juri@jurta.org>
466
467 * dired-aux.el (dired-do-async-shell-command): Doc fix.
468 (dired-do-async-shell-command): Don't add `*' at the end of the
469 command (Bug#11815).
470 (dired-do-shell-command): Doc fix.
471 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
472 Join the individual commands using either "&" or ";" as the
473 separator depending on the values of these trailing characters.
474 At the end re-add the trailing "&". (Bug#10598)
475
476 * simple.el (async-shell-command): Sync the interactive spec with
477 `shell-command'. Doc fix.
478 (shell-command): Doc fix.
479
b19dd9d1
JL
4802012-07-17 Juri Linkov <juri@jurta.org>
481
482 * descr-text.el (describe-char): Fix format args. (Bug#10129)
483
bcdc27d7 4842012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 485
bcdc27d7 486 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
487 * progmodes/python.el (python-nav-beginning-of-statement):
488 Rename from python-nav-statement-start.
bcdc27d7
FEG
489 (python-nav-end-of-statement): Rename from
490 python-nav-statement-end.
491 (python-nav-beginning-of-block): Rename from
492 python-nav-block-start.
493 (python-nav-end-of-block): Rename from python-nav-block-end.
494
191da00e
FEG
4952012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
496
7f5331cc
MY
497 * progmodes/python.el (python-shell-send-string-no-output):
498 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
499 future interactions (Bug#11868).
500
4dc7c8d5 5012012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 502
88ecaf8f
SM
503 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
504
ef501ef0
SM
505 * emacs-lisp/elint.el (elint-find-args-in-code):
506 Use help-function-arglist, so as to handle lexical byte-code.
507
aa7aaf8f
SM
508 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
509 change (bug#11826).
510
45fd731c
SM
5112012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
512
2143fa32
SM
513 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
514 Avoid spuriously marking the buffer as modified because of c-is-sws.
515
efc26dbe
SM
516 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
517 as not-a-comment (bug#11946).
518
f5695c9a
SM
519 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
520 for uninterned vars.
521
522 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
523 Use read-event since we don't really want to read chars but bytes.
524
45fd731c
SM
525 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
526 $$..$$ but also $..$ using regexps (bug#11953).
527 Use tex-verbatim for \url and \path.
528 (tex-font-lock-keywords): Define as defconst like the others.
529 (tex-common-initialization): Don't use font-lock-syntax-table any more.
530
ddfc8813
RK
5312012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
532
533 * international/mule-cmds.el (ucs-insert): Make it an obsolete
534 alias for insert-char.
535
758e556a
FEG
5362012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
537
538 * progmodes/python.el: Simplified imenu implementation.
539 (python-nav-jump-to-defun): Remove command.
540 (python-mode-map): Use `imenu' instead.
541 (python-nav-list-defun-positions-cache)
542 (python-imenu-include-defun-type, python-imenu-make-tree)
543 (python-imenu-subtree-root-label, python-imenu-index-alist):
544 Remove vars.
545 (python-nav-list-defun-positions, python-nav-read-defun)
546 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
547 (python-imenu-make-tree, python-imenu-create-index):
548 Remove functions.
758e556a
FEG
549 (python-mode): Update to interact with imenu by setting
550 `imenu-extract-index-name-function' only.
551
032d23ab
FEG
5522012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
553
554 * progmodes/python.el: Enhancements to navigation commands.
555 (python-nav-backward-sentence)
556 (python-nav-forward-sentence): Remove.
557 (python-nav-backward-statement, python-nav-forward-statement)
558 (python-nav-statement-start, python-nav-statement-end)
559 (python-nav-backward-block, python-nav-forward-block)
560 (python-nav-block-start, python-nav-block-end)
561 (python-nav-forward-sexp-function)
562 (python-info-current-line-comment-p)
563 (python-info-current-line-empty-p): New functions.
564 (python-indent-context): Use `python-nav-statement-start'.
565
01795a1b
MA
5662012-07-16 Michael Albinus <michael.albinus@gmx.de>
567
9328d9aa
MA
568 * eshell/em-ls.el (eshell/ls): Use `apply'.
569
570 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
571 multi-hops, instead of Tramp internals.
572
01795a1b
MA
573 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
574
575 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
576 when F1 and F2 are located on different hosts.
577
63408057
CY
5782012-07-14 Chong Yidong <cyd@gnu.org>
579
580 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
581 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
582 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
583 (xterm-mouse--read-event-sequence-1000)
584 (xterm-mouse--read-event-sequence-1006): New functions. For old
585 mouse protocol, handle M-mouse-X events correctly.
586 (xterm-mouse-event): New arg specifying mouse protocol.
587 (turn-on-xterm-mouse-tracking-on-terminal)
588 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
589 sequence to toggle extended coordinates on newer XTerms.
590 This appears to be harmless on terminals which do not support this.
63408057 591
cd276f6e
LL
5922012-07-14 Leo Liu <sdl.web@gmail.com>
593
28ca98ac
LL
594 Add fringe bitmap indicators for flymake. (Bug#11253)
595 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
596 (flymake-make-overlay): New arg BITMAP.
597 (flymake-error-bitmap, flymake-warning-bitmap)
598 (flymake-fringe-indicator-position): New user variables.
599
cd276f6e
LL
600 * fringe.el: New bitmap exclamation-mark.
601
04408072
JD
6022012-07-14 Jan Djärv <jan.h.d@swipnet.se>
603
604 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
605 also (Bug#7879).
606
b5cf7fc4
CY
6072012-07-14 Chong Yidong <cyd@gnu.org>
608
609 * electric.el (electric-pair-post-self-insert-function): Fix pair
610 insertion in empty-region case (Bug#11520).
611
be755c79
RT
6122012-07-14 Chong Yidong <cyd@gnu.org>
613
45fd731c
SM
614 * bindings.el: Consolidate ctl-x-r-map bindings.
615 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
616
617 * rect.el, register.el: Move bindings to bindings.el.
618
6192012-07-14 Reuben Thomas <rrt@sc3d.org>
620
621 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
622
7f5b3198
AS
6232012-07-13 Andreas Schwab <schwab@linux-m68k.org>
624
625 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
626
97662200
JB
6272012-07-13 Juanma Barranquero <lekktu@gmail.com>
628
80185fed
JB
629 * bindings.el (top): Use `mapc' instead of `mapcar'.
630
97662200
JB
631 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
632
2bb1ae55
MA
6332012-07-13 Michael Albinus <michael.albinus@gmx.de>
634
635 * progmodes/sql.el (sql-comint): Suppress the check for program on
636 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
637 (Bug#11908)
638
dea31bd3
CY
6392012-07-13 Chong Yidong <cyd@gnu.org>
640
641 * bindings.el: Assign a non-nil permanent-local property to
642 per-buffer variables which lack a default value (Bug#11930).
643
644 * help-fns.el (describe-variable): In the "automatically becomes
645 local" notice, take note of permanent-local variables.
646
b68b3337
CY
6472012-07-13 Chong Yidong <cyd@gnu.org>
648
649 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
650 to allow printing the message when called from Lisp.
651
652 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
653 Remove toggle-read-only.
654
655 * bs.el (bs-toggle-readonly):
45fd731c
SM
656 * buff-menu.el (Buffer-menu-toggle-read-only):
657 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
658
659 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
660 Remove with-no-warnings around toggle-read-only.
661 (ffap-read-only, ffap-read-only-other-window)
662 (ffap-read-only-other-frame): Callers changed.
663
664 * help-mode.el: Don't require view package.
665 (help-mode-finish): Set buffer-read-only instead of calling
666 toggle-read-only.
667
668 * bindings.el (mode-line-toggle-read-only):
669 * dired.el (dired-toggle-read-only):
670 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
671 with non-nil second arg.
672
673 * emacs-lisp/eieio-custom.el (eieio-customize-object):
674 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
675 directly.
676
56bc1586
EZ
6772012-07-12 Eli Zaretskii <eliz@gnu.org>
678
679 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
680 not incf.
681
a464a6c7
SM
6822012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 More CL cleanups and reduction of use of cl.el.
685 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
686 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
687 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
688 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
689 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
690 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
691 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
692 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
693 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
694 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
695 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
696 * eshell/em-cmpl.el, eshell/em-banner.el:
697 * calendar/parse-time.el: Use cl-lib.
698 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
699 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
700 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
701 * term/ns-win.el, term.el, shell.el, ps-samp.el:
702 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
703 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
704 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
705 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
706 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
707 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
708 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
709 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
710 `lambda' rather than with `quote'.
711 (eshell-do-opt): Adjust accordingly.
712 (eshell-process-option): Simplify.
713 * eshell/esh-var.el:
714 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
715 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
716 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
717 to `pcase--dontcare'.
718 * emacs-lisp/cl.el (labels): Mark obsolete.
719 (cl--letf, letf): Move to cl-lib.
720 (cl--letf*, letf*): Remove.
721 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
722 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
723 (cl-progv): Rewrite.
724 (cl--letf, cl-letf): Move from cl.el.
725 (cl-letf*): New macro.
726 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
727
7ad4afe1
MA
7282012-07-11 Michael Albinus <michael.albinus@gmx.de>
729
730 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
731
9af57756
CY
7322012-07-11 Chong Yidong <cyd@gnu.org>
733
734 * vc/log-edit.el (log-edit-vc-backend): New variable.
735 (log-edit): Doc fix.
736
737 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
738 argument of log-edit to set up all local variables.
739 (vc-start-logentry): New optional arg specifying VC backend.
740
741 * vc/vc.el (vc-checkin): Use it.
742 (vc-deduce-fileset): Handle Log Edit buffers.
743 (vc-diff): Make first argument optional too.
744
745 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
746
8477cc7a
MA
7472012-07-10 Michael Albinus <michael.albinus@gmx.de>
748
749 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
750 command, just in case. The function is not needed anymore.
751 (eshell-external-command): Do not call `eshell-remote-command'.
752
19faa8e8
SM
7532012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
754
f58e0fd5
SM
755 Reduce use of (require 'cl).
756 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
757 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
758 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
759 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
760 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
761 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
762 * battery.el, avoid.el, abbrev.el: Use cl-lib.
763 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
764 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
765 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
766 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
767 * calculator.el, autorevert.el, apropos.el: Don't require CL.
768 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
769 (byte-compile-unfold-bcf, byte-compile-check-variable):
770 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
771 (byte-compile-nilconstp):
772 * emacs-lisp/autoload.el (make-autoload): Use pcase.
773 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
774
2519d43a
SM
775 * emacs-lisp/gv.el (cond): Make it a valid place.
776 (if): Simplify slightly.
777
19faa8e8
SM
778 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
779 (pcase--self-quoting-p): New function.
780 (pcase--u1): Use it.
781
c4907a5e
GM
7822012-07-10 Glenn Morris <rgm@gnu.org>
783
784 * emacs-lisp/authors.el (authors-fixed-entries):
785 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
786
c4444d16
PE
7872012-07-09 Paul Eggert <eggert@cs.ucla.edu>
788
789 Rename configure.in to configure.ac (Bug#11603).
790 * emacs-lisp/authors.el (authors-canonical-file-name):
791 * progmodes/autoconf.el (autoconf-mode):
792 Prefer configure.ac to configure.in.
793
d75be97d
CY
7942012-07-08 Chong Yidong <cyd@gnu.org>
795
01ac65bd
CY
796 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
797 Implement the mouse-1-click-follows-link handling properly.
798
799 * info.el (Info-link-keymap): Use follow-link mechanism for
800 header-line links (Bug#374).
801
d75be97d
CY
802 * simple.el (deactivate-mark): Do not set the primary selection
803 if another program has acquired it (Bug#11772).
804
87a92845 8052012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
806
807 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
808 (woman-decode-region): Replace escaped-escapes without destroying
809 bold or underline (Bug#11552).
87a92845 810 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 811
621b9d6c
CY
8122012-07-07 Chong Yidong <cyd@gnu.org>
813
814 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
815 (interprogram-cut-function, interprogram-paste-function):
816 Mention that we typically mean the clipboard.
621b9d6c 817
133a11fc
GM
8182012-07-06 Glenn Morris <rgm@gnu.org>
819
0d27a45e
GM
820 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
821
133a11fc
GM
822 * files.el (toggle-read-only): Restrict message to interactive use.
823
07b151f1
MA
8242012-07-06 Michael Albinus <michael.albinus@gmx.de>
825
826 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
827
828 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
829
211b896b
GM
8302012-07-06 Glenn Morris <rgm@gnu.org>
831
50394322
GM
832 * Makefile.in (compile-one-process): Rename from "recompile".
833
211b896b
GM
834 * Makefile.in (bzr-update): "compile" is the same as "recompile
835 autoloads", but parallelizable, so use that instead.
836
4737eec9
DG
8372012-07-06 Dmitry Gutov <dgutov@yandex.ru>
838
839 * window.el (quit-window): Always restore window height when
8137e7b3 840 it's saved in quit-restore parameter (Bug#11810).
4737eec9 841
226c3633 8422012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
843
844 * simple.el (kill-whole-line): Doc tweak.
845
226c3633 8462012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
847
848 * files.el (file-relative-name): Compare file names
849 case-insensitively if on MS-Windows or MS-DOS, or if
850 read-file-name-completion-ignore-case is non-nil. Don't use
851 case-fold-search for this purpose. (Bug#11827)
852
4dc7c8d5
SM
8532012-07-17 Andreas Schwab <schwab@linux-m68k.org>
854
855 * calendar/cal-dst.el (calendar-current-time-zone):
856 Return calendar-current-time-zone-cache if non-nil.
857
8582012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 8592012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 860
19faa8e8
SM
861 * calendar/cal-dst.el (calendar-current-time-zone):
862 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 863
60198fc9
GM
8642012-07-06 Glenn Morris <rgm@gnu.org>
865
866 * Makefile.in (cvs-update): Remove old alias.
867
957b3189
MA
8682012-07-05 Michael Albinus <michael.albinus@gmx.de>
869
870 Sync with Tramp 2.2.6-pre.
871
872 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
873 compatible declaration.
874
19faa8e8
SM
875 * net/tramp-cmds.el (tramp-append-tramp-buffers):
876 Protect `list-load-path-shadows' call.
957b3189
MA
877
878 * net/tramp-compat.el (top): Require packages, which aren't
879 autoloaded anymore for XEmacs. Protect call of
880 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
881 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
882 it hurts at least for SXEmacs.
883 (tramp-compat-temporary-file-directory): In XEmacs, there is no
884 standard-value for `temporary-file-directory'.
885
886 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
887 Redirect stderr to /dev/null.
888 (tramp-sh-handle-write-region): uid and gid can be floats.
889 Reported by Russell Sim <russell.sim@gmail.com>.
890 (tramp-sh-handle-vc-registered): Hide errors.
891 (tramp-vc-file-name-handler): Use dummy results for `process-file'
892 and `start-file-process'.
893 (tramp-maybe-open-connection): Check also whether `non-essential'
894 is bound.
895
566df3fc
CY
8962012-07-04 Chong Yidong <cyd@gnu.org>
897
898 * xml.el (xml--parse-buffer): Use xml-syntax-table.
899 (xml-parse-tag): Likewise, and avoid changing entity tables.
900 (xml-syntax-table): Define from scratch, making sure not to give
901 x2000 and other Unicode spaces whitespace syntax, since those are
902 not spaces in XML.
903 (xml-parse-fragment): Delete unused function.
904 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
905 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
906 (xml-entity-ref, xml-pe-reference-re)
907 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
908 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
909 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
910 (xml-entity-value-re): Use syntax references in regexps where
911 possible; no need to define inside a let-binding.
912 (xml-parse-dtd): Use xml-pe-reference-re.
913 (xml-entity-or-char-ref-re): New defconst.
914 (xml-parse-string, xml-substitute-special): Use it.
915
30eabd7a
SM
9162012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
917
0781098a
SM
918 * files.el (locate-dominating-file): Allow `name' to be a predicate.
919 (find-file--read-only): New function.
920 (find-file-read-only, find-file-read-only-other-window)
921 (find-file-read-only-other-frame): Use it.
922 (insert-file-contents-literally): Don't `fset'.
923 (get-free-disk-space): Use locate-dominating-file.
924
b5771c0d
SM
925 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
926 function is already compiled.
927
30eabd7a
SM
928 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
929
b4886f6e
MA
9302012-07-03 Michael Albinus <michael.albinus@gmx.de>
931
932 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
933 files on the same host.
934
b9d82339
AS
9352012-07-03 Andreas Schwab <schwab@linux-m68k.org>
936
937 * help-fns.el (describe-function-1): Only call
938 help-fns--autoloaded-p when we have a file name. (Bug#11848)
939
a76e6535
CY
9402012-07-03 Chong Yidong <cyd@gnu.org>
941
942 * xml.el: Protect parser against XML bombs.
943 (xml-entity-expansion-limit): New variable.
944 (xml-parse-string, xml-substitute-special): Use it.
945 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
946
b544fef2
GM
9472012-07-03 Glenn Morris <rgm@gnu.org>
948
949 * progmodes/bug-reference.el (bug-reference-bug-regexp):
950 Allow linking to specific messages in debbugs reports (eg 123#5).
951
a7aef6f5
CY
9522012-07-02 Chong Yidong <cyd@gnu.org>
953
954 * xml.el: Fix entity and character reference expansion, allowing
955 them to expand into markup as per XML spec.
956 (xml-default-ns): New variable.
957 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
958 (xml-parse-region): Make first two arguments optional.
959 Discard text properties.
960 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
961 All callers changed.
a7aef6f5
CY
962 (xml-parse-tag): Call xml-parse-tag-1. For backward
963 compatibility, this function should not modify buffer contents.
964 (xml-parse-tag-1): Fix opening-tag regexp.
965 (xml-parse-string): Rewrite, handling entity and character
966 references properly.
967 (xml--entity-replacement-text): Signal an error if a parameter
968 entity is undefined.
969
3df31c9f
SM
9702012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
971
2b5208f1
SM
972 * comint.el (comint-output-filter): Filter out repeated prompts.
973
3df31c9f
SM
974 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
975 and file-name-absolute-p.
976 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
977 internal calls.
978
e3ac1281
PE
9792012-07-02 Paul Eggert <eggert@cs.ucla.edu>
980
981 Spelling fixes.
982 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
983 Rename from byte-compile--refiy-function. All uses changed.
984
fbf2e7ad
CY
9852012-07-01 Chong Yidong <cyd@gnu.org>
986
987 * xml.el (xml--parse-buffer): New function. Move most of
988 xml-parse-region here.
989 (xml-parse-region): Copy region into a temporary buffer, since
990 parameter entity substitution requires changing buffer contents.
991 Use xml--parse-buffer.
992 (xml-parse-file): Use xml--parse-buffer.
993 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 994 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 995
9bf0aa15
GM
9962012-06-30 Glenn Morris <rgm@gnu.org>
997
bbce2853
GM
998 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
999
9bf0aa15
GM
1000 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1001 Remove outdated and unnecessary dbus declarations.
1002
0d23c240
EZ
10032012-06-30 Eli Zaretskii <eliz@gnu.org>
1004
1005 * emacs-lisp/timer.el (timer-until): Subtract results of
1006 float-time, instead of taking float-time of the result of
1007 time-subtract, since float-time signals an error for negative time
1008 arguments.
1009
b3218de1
CY
10102012-06-30 Chong Yidong <cyd@gnu.org>
1011
1012 * xml.el (xml-*-re): Convert defvars into defconsts, and
1013 eval-and-compile them so eval-and-compile works on derivatives.
1014 (xml--entity-replacement-text): Use eval-and-comple.
1015
a40c87a0
MA
10162012-06-30 Michael Albinus <michael.albinus@gmx.de>
1017
1018 * vc/vc-git.el (vc-git-registered): Use cache property
1019 `git-registered'.
1020 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1021 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1022 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1023
ac87de97
DG
10242012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1025
1026 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1027 removed (likely outside Emacs). (Bug#11757)
ac87de97 1028
ac10fe06
SM
10292012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1030
3df31c9f 1031 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1032
7f3fbd5d
CY
10332012-06-30 Chong Yidong <cyd@gnu.org>
1034
1035 * xml.el: Implement XML parameter entities.
1036 (xml-parameter-entity-alist): New variable.
1037 (xml-parse-region, xml-parse-fragment): Preserve previous values
1038 of xml-entity-alist and xml-parameter-entity-alist, so that
1039 repeated calls on different documents do not change them.
1040 (xml-parse-tag): Fix doctype regexp.
1041 (xml--entity-replacement-text): New function.
1042 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1043 properly requires url retrieval which is unimplemented.
1044 (xml-escape-string): Doc fix.
1045
3cfbebba
SM
10462012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1049
2af3565e
DA
10502012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1051
1052 * fringe.el (fringe-mode): Doc fix.
1053
929df0e7
MA
10542012-06-29 Michael Albinus <michael.albinus@gmx.de>
1055
1056 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1057 is non-nil.
1058 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1059 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1060
c8d3a25c 10612012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1062
c8d3a25c
GM
1063 * calendar/cal-dst.el (calendar-current-time-zone):
1064 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1065
c8d3a25c 10662012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1067
1068 * progmodes/which-func.el (which-func-format):
1069 Add mouse-face. (Bug#11698)
1070
c8d3a25c
GM
10712012-06-29 Leo Liu <sdl.web@gmail.com>
1072
1073 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1074
10752012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * minibuffer.el (minibuffer-confirm-exit-commands):
1078 Add completion-at-point (bug#11725).
1079
10802012-06-29 Glenn Morris <rgm@gnu.org>
1081
1082 * progmodes/f90.el (f90-font-lock-keywords-2):
1083 Add some preprocessor elements. (Bug#10499)
1084
10852012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1088 Use syntax-propertize (bug#11739).
1089
2badeec4
JB
10902012-06-28 Juanma Barranquero <lekktu@gmail.com>
1091
1092 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1093
ae4969c2
JD
10942012-06-28 Julien Danjou <julien@danjou.info>
1095
1096 * term.el (term-handle-colors-array): Use a set of new faces to
1097 color the terminal. Also uses :inverse-video property.
1098 (term-default-fg-color): Set to nil by default, deprecate in favor
1099 of `term-face'.
1100 (term-default-bg-color): Set to nil by default, deprecate in favor
1101 of `term-face'.
1102 (term-current-face): Use `term-face' by default.
1103 (term-bold-attribute): Variable deleted.
1104
1c9bd870
GM
11052012-06-28 Glenn Morris <rgm@gnu.org>
1106
1107 * simple.el (completion-list-mode-finish):
1108 Don't use toggle-read-only. (Since completion-list-mode has
1109 a special mode-class, it wasn't doing anything extra anyway.)
1110
c207708c
SM
11112012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 Make inlining of other-mode interpreted functions work (bug#11799).
1114 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1115 (byte-compile): Use it to fix compilation of lexical-binding closures.
1116 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1117 function, if needed.
1118
3fd56834
SM
11192012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1120
04901786
SM
1121 * help-mode.el (help-make-xrefs): Don't just withstand
1122 cyclic-variable-indirection but any error in documentation-property.
1123
1ec4b7b2
SM
1124 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1125 memory use.
1126 * bindings.el (bindings--define-key): New function.
1127 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1128 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1129 * bindings.el: Use it to purecopy define-key bindings.
1130
e309e2a5
SM
1131 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1132
d5c6faf9
SM
1133 * emacs-lisp/cl.el (flet): Mark obsolete.
1134 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1135 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1136 * progmodes/js.el (js-c-fill-paragraph):
1137 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1138 (ebrowse-switch-member-buffer-to-derived-class):
1139 * play/5x5.el (5x5-solver): Use cl-flet.
1140
6e9590e2
SM
1141 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1142 (cl--symbol-function): New macro.
1143 (cl--letf, cl--letf*): Use it.
1144
3fd56834
SM
1145 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1146 Strip "toggle-" if any.
1147
35ff222c
GM
11482012-06-27 Glenn Morris <rgm@gnu.org>
1149
1ba6038a
GM
1150 * info.el (Info-default-directory-list): Move here from paths.el.
1151 * paths.el: Remove file, which is now empty.
1152 * loadup.el: No longer load "paths".
1153
0ea0e51b
GM
1154 * custom.el (custom-initialize-delay): Doc fix.
1155
35ff222c
GM
1156 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1157 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1158 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1159 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1160 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1161 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1162 * eshell/eshell.el (eshell-defgroup): Remove alias.
1163
c89926a5
CY
11642012-06-27 Chong Yidong <cyd@gnu.org>
1165
1166 * help.el (help-enable-auto-load): New variable.
1167
1168 * help-fns.el (help-fns--autoloaded-p): New function.
1169 (describe-function-1): Refer to a function as "autoloaded" if it
1170 was autoloaded at any time in the past. Perform autoloading if
1171 help-enable-auto-load is non-nil.
1172
cc06e7e7
EZ
11732012-06-26 Eli Zaretskii <eliz@gnu.org>
1174
1175 * makefile.w32-in (compile, compile-always): Depend on
1176 update-subdirs, not on subdirs.el. Otherwise, several different
1177 sub-targets of 'bootstrap' running in parallel could
1178 simultaneously write to subdirs.el, producing a garbled file.
1179
d2c32364
SS
11802012-06-26 Sam Steingold <sds@gnu.org>
1181
1182 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1183 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1184 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1185 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1186 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1187 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1188 * textmodes/tex-mode.el: Use it.
1189 Did not touch cedet and org because they are maintained elsewhere.
1190
5cf983b2
MR
11912012-06-26 Martin Rudalics <rudalics@gmx.at>
1192
1193 * calendar/calendar.el (calendar-exit): Don't try to delete or
1194 iconify last frame. See:
1195 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1196
8c4f2952
JD
11972012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1198
1199 * server.el (server-process-filter): Remember dir in the
1200 process's `server-client-directory' properties.
1201
772b2e2c
CY
12022012-06-24 Chong Yidong <cyd@gnu.org>
1203
1204 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1205 non-tag text.
1206
711b11e1
JB
12072012-06-23 Juanma Barranquero <lekktu@gmail.com>
1208
1209 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1210
dc5d230c
SM
12112012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * help-fns.el (describe-variable): Don't croak when doc is not found.
1214 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1215 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1216 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1217 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1218 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1219 ((lambda ..) ..).
1220 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1221
136e1c1d
CY
12222012-06-23 Chong Yidong <cyd@gnu.org>
1223
e8c1cabf
CY
1224 * info.el (Info-mouse-follow-link): Accept symbol values of
1225 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1226 (Info-fontify-node): Use Info-link-keymap for all navigation
1227 buttons, with link-args property to perform the desired action.
1228 (Info-link-keymap): Doc fix.
1229 (Info-next-link-keymap, Info-prev-link-keymap)
1230 (Info-up-link-keymap): Delete now-unused keymaps.
1231
0e9e6c6a
CY
12322012-06-23 Chong Yidong <cyd@gnu.org>
1233
05e89fea
CY
1234 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1235
0e9e6c6a
CY
1236 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1237 system abbrevs.
1238
1239 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1240
e33c6771
SM
12412012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1242
b68581e2
SM
1243 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1244 (bug#11719).
1245
e33c6771
SM
1246 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1247 the requote function doesn't work properly (bug#11714).
1248
7117e105
GM
12492012-06-23 Glenn Morris <rgm@gnu.org>
1250
1251 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1252
36cec983
SM
12532012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 Further GV/CL cleanups.
1256 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1257 gv-expander.
1258 (gv--defun-declaration): New function.
1259 (defun-declarations-alist): Use it.
1260 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1261 (gv-place): Autoload.
1262 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1263 original definition of dotimes and dolist.
1264 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1265 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1266 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1267 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1268 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1269 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1270 to the function's definition.
1271 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1272 * window.el:
1273 * files.el:
1274 * faces.el:
1275 * env.el: Don't use CL.
1276
d35af63c
PE
12772012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1278
1279 Support higher-resolution time stamps (Bug#9000).
1280
1281 * calendar/time-date.el (with-decoded-time-value): New arg
1282 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1283 (encode-time-value): New optional arg PICO. New type 3.
1284 (time-to-seconds) [!float-time]: Support the new picoseconds
1285 component if it's used.
1286 (seconds-to-time, time-subtract, time-add):
1287 Support ps-resolution time stamps as well.
1288
1289 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1290 (timerp): Timer vectors now have length 9, not 8.
1291 (timer--time): Support new-style (4-part) time stamps.
1292 (timer-next-integral-multiple-of-time): Time stamps now have
1293 picosecond resolution, so take a bit more care about rounding.
1294 (timer-relative-time, timer-inc-time): New optional arg psecs.
1295 (timer-set-time-with-usecs): Set psecs to 0.
1296 (timer--activate): Check psecs component, too.
1297
1298 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1299
ac77b21a
SM
13002012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1301
f143bfe3
SM
1302 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1303 Move the non-essential binding to the post/pre-command-hook where it is
1304 more obviously correct.
1305
ac77b21a
SM
1306 * subr.el (read-passwd): Don't use a history at all.
1307 * savehist.el (savehist-save): Remove password saved accidentally
1308 because of the above bug.
1309
76386c5a
BG
13102012-06-22 Bastien Guerry <bzg@gnu.org>
1311
1312 * files.el (toggle-read-only): Display a message telling whether
1313 the buffer is read-only or not (bug#11726).
1314
2ee3d7f0
SM
13152012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * emacs-lisp/gv.el: New file.
1318 * subr.el (push, pop): Extend to generalized variables.
1319 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1320 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1321 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1322 gv-define-simple-setter, and gv-define-expander.
1323 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1324 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1325 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1326 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1327 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1328 gv-letplace.
1329 (cl-defstruct): Don't define setf-method any more.
1330 * emacs-lisp/cl.el (flet): Don't autoload.
1331 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1332 (define-setf-expander, defsetf, define-modify-macro)
1333 (cl-struct-setf-expander): Move from cl-lib.el.
1334 * emacs-lisp/syntax.el:
1335 * emacs-lisp/ewoc.el:
1336 * emacs-lisp/smie.el:
1337 * emacs-lisp/cconv.el:
1338 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1339 (timer--time): Use gv-define-simple-setter.
1340 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1341 to avoid coding-system problems in subr.el. Adjust all users.
1342 (macroexp--maxsize, macroexp-small-p): New functions.
1343 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1344 * scroll-bar.el (scroll-bar-mode):
1345 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1346 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1347 * winner.el (winner-configuration, winner-make-point-alist)
1348 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1349 * files.el (locate-file-completion-table): Avoid list*.
1350
c5695d1d
CY
13512012-06-22 Chong Yidong <cyd@gnu.org>
1352
1353 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1354 (dired-create-files): Doc fix (Bug#11329).
1355 (dired-do-copy): Doc fix (Bug#11334).
1356 (dired-mark-read-string): Doc fix (Bug#11553).
1357
2ee3d7f0
SM
1358 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1359 Doc fix (Bug#11326).
c5695d1d
CY
1360 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1361 (dired-dwim-target): Doc fix.
1362
1363 * wdired.el (wdired-mode): Doc fix.
1364
89b5595a
GM
13652012-06-22 Glenn Morris <rgm@gnu.org>
1366
575db3f1
GM
1367 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1368 (pcmpl-rpm-cache-stamp-file): New constant.
1369 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1370 (pcmpl-rpm-packages): Optionally cache list of packages.
1371
a4c8dd51
GM
1372 * pcmpl-rpm.el (pcmpl-rpm): New group.
1373 (pcmpl-rpm-query-options): New option.
1374 (pcmpl-rpm-packages): No need to inline it.
1375 Use pcmpl-rpm-query-options.
1376
89b5595a
GM
1377 * calendar/calendar.el (calendar-in-read-only-buffer):
1378 Avoid some needless mode changes.
1379
e76f0800
CY
13802012-06-21 Chong Yidong <cyd@gnu.org>
1381
1382 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1383 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1384 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1385
297a8f1d
CY
13862012-06-20 Chong Yidong <cyd@gnu.org>
1387
1388 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1389
d34c18b1
DR
13902012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1391
1392 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1393 (bug#11201).
1394
32f7f28e
CY
13952012-06-20 Chong Yidong <cyd@gnu.org>
1396
1397 * term.el (term-window-width): Handle the case of a missing right
1398 fringe (Bug#8837).
1399 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1400 (term-mode): Use define-derived-mode. Minor cleanups.
1401 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1402 (term-move-columns, term-insert-char, term-emulate-terminal)
1403 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1404
493c6688
MA
14052012-06-20 Michael Albinus <michael.albinus@gmx.de>
1406
d34c18b1
DR
1407 * net/ange-ftp.el (ange-ftp-get-passwd):
1408 Bind `enable-recursive-minibuffers'.
493c6688
MA
1409 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1410
3f06ecf4
DR
14112012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1412
1413 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1414
68f12411
GM
14152012-06-19 Glenn Morris <rgm@gnu.org>
1416
1417 * progmodes/python.el (python-mode): Derive from prog-mode.
1418
b3820318
KG
14192012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1420
1421 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1422 (edt-user-menu-bar-update-buffers): New functions.
1423 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1424
c6bf3022
CY
14252012-06-19 Chong Yidong <cyd@gnu.org>
1426
1427 * subr.el (with-selected-window): Preserve the selected window's
1428 terminal's top-frame (Bug#4702).
1429
1430 * window.el (save-selected-window): Likewise.
1431
25f09295
SM
14322012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * progmodes/python.el (python-rx-constituents): Move backquote.
1435 (python-skeleton-define, python-define-auxiliary-skeleton):
1436 Use `declare'.
1437
6b11952a
MA
14382012-06-18 Michael Albinus <michael.albinus@gmx.de>
1439
1440 * minibuffer.el (read-file-name-default): Revert the patch from
1441 2012-06-17.
1442
ee4b1330
SM
14432012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1446 (pcase--u1, pcase--q1): Don't use apply-partially.
1447
35647f79
GM
14482012-06-18 Glenn Morris <rgm@gnu.org>
1449
1450 * progmodes/python.el (python-proc, python-buffer)
1451 (python-send-receive, python-send-string): Fix obsolete versions.
1452
24b0cff0
MR
14532012-06-18 Martin Rudalics <rudalics@gmx.at>
1454
1455 * window.el (special-display-p): Completely remove stringp
1456 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1457
29855149
MA
14582012-06-17 Michael Albinus <michael.albinus@gmx.de>
1459
1460 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1461
1462 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1463
1464 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1465 * net/tramp-sh.el (tramp-maybe-open-connection):
1466 Throw if `non-essential' is non-nil.
1467
07463363
MR
14682012-06-17 Martin Rudalics <rudalics@gmx.at>
1469
1470 * window.el (special-display-p): Signal an error if BUFFER-NAME
1471 is not a string (Bug#11713).
1472
48d1354e
PE
14732012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1474
1475 * progmodes/python.el (python-info-beginning-of-backslash):
1476 Rename from python-info-beginning-of-backlash, as a spelling fix.
1477
eb4a8a9a
CY
14782012-06-17 Chong Yidong <cyd@gnu.org>
1479
1480 * term.el (term-emulate-terminal): If term-check-size is called,
1481 move point to the process mark without resetting point (Bug#4635).
1482
ddfbf826 14832012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1484
1485 * international/mule-cmds.el (mule-menu-keymap)
1486 (set-language-environment, set-locale-environment): Doc tweaks.
1487
9b0e3eba
AA
14882012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1489
1490 * cus-face.el (custom-face-attributes): Add wave-style underline
1491 attribute.
1492 * faces.el (set-face-attribute): Update docstring to describe
1493 wave-style underline attribute.
1494
771e3eae
CY
14952012-06-16 Chong Yidong <cyd@gnu.org>
1496
1497 * term/xterm.el (terminal-init-xterm): Discard input before
1498 querying background mode (Bug#10959).
1499
7ae2ea10
SM
15002012-06-16 Stefan Merten <smerten@oekonux.de>
1501
1502 * textmodes/rst.el: Added and corrected some comments.
1503 (rst-re-alist-def): Improve symbol syntax.
1504 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1505 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1506 (rst-official-version, rst-official-cvs-rev): Update version
1507 information.
7ae2ea10 1508
b6974efa
JB
15092012-06-15 Juanma Barranquero <lekktu@gmail.com>
1510
1511 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1512 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1513
8826d473
GM
15142012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1515
1516 * progmodes/python.el: New python.el merge.
1517 (python-guess-indent): Obsolete var.
1518 (python-indent-guess-indent-offset): New defcustom.
1519 (python-indent): Obsolete var.
1520 (python-indent-offset): New defcustom.
1521 (python-python-command, python-jython-command): Delete var.
1522 (python-shell-interpreter): New defcustom.
1523 (python-pdbtrack-do-tracking-p): Delete var.
1524 (python-pdbtrack-activate): New defcustom.
1525 (python-use-skeletons): Obsolete var.
1526 (python-skeleton-autoinsert): New defcustom.
1527 (inferior-python-filter-regexp, python-continuation-offset)
1528 (python-honour-comment-indentation, python-indent-string-contents)
1529 (python-jython-packages, python-mode-hook)
1530 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1531 (python-shell-prompt-alist)
1532 (python-source-modes): Delete defcustoms.
1533 (python-check-buffer-name, python-eldoc-setup-code)
1534 (python-eldoc-string-code, python-ffap-setup-code)
1535 (python-ffap-string-code, python-fill-comment-function)
1536 (python-fill-decorator-function, python-fill-paren-function)
1537 (python-fill-string-function, python-imenu-include-defun-type)
1538 (python-imenu-make-tree, python-imenu-subtree-root-label)
1539 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1540 (python-shell-compilation-regexp-alist)
1541 (python-shell-completion-module-string-code)
1542 (python-shell-completion-pdb-string-code)
1543 (python-shell-completion-setup-code)
1544 (python-shell-completion-string-code)
1545 (python-shell-enable-font-lock, python-shell-exec-path)
1546 (python-shell-extra-pythonpaths)
1547 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1548 (python-shell-process-environment)
1549 (python-shell-prompt-block-regexp)
1550 (python-shell-prompt-output-regexp)
1551 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1552 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1553 (python-shell-virtualenv-path): New defcustoms.
1554 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1555 (inferior-python-mode-syntax-table, python--prompt-regexp)
1556 (python-buffer, python-command python-python-command)
1557 (python-default-template, python-imports, python-indent-index)
1558 (python-indent-list, python-indent-list-length)
1559 (python-mode-running, python-pdbtrack-is-tracking-p)
1560 (python-preoutput-continuation, python-preoutput-leftover)
1561 (python-preoutput-result, python-preoutput-skip-next-prompt)
1562 (python-prev-dir/file, python-recursing)
1563 (python-saved-check-command, python-version-checked)
1564 (python-which-func-length-limit)
1565 (view-return-to-alist): Delete vars.
1566 (python-check-custom-command, python-dotty-syntax-table)
1567 (python-imenu-index-alist, python-indent-current-level)
1568 (python-indent-dedenters, python-indent-levels)
1569 (python-nav-beginning-of-defun-regexp)
1570 (python-nav-list-defun-positions-cache)
1571 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1572 (python-shell-internal-buffer)
1573 (python-skeleton-available): New vars.
1574 (def-python-skeleton): Delete macro.
1575 (python-skeleton-define): New macro.
1576 (python-define-auxiliary-skeleton, python-rx): New macros.
1577 (python-insert-class): Delete command.
1578 (python-skeleton-class): New command.
1579 (python-insert-def): Delete command.
1580 (python-skeleton-def): New command.
1581 (python-insert-for): Delete command.
1582 (python-skeleton-for): New command.
1583 (python-insert-if): Delete command.
1584 (python-skeleton-if): New command.
1585 (python-insert-try/except, python-insert-try/finally): Delete commands.
1586 (python-skeleton-try): New command.
1587 (python-insert-while): Delete command.
1588 (python-skeleton-while): New command.
1589 (python-backspace): Delete command.
1590 (python-indent-dedent-line-backspace): New command.
1591 (python-electric-colon): Delete command.
1592 (python-indent-electric-colon): New command.
1593 (python-guess-indent): Delete command.
1594 (python-indent-guess-indent-offset): New command.
1595 (python-shift-left): Delete command.
1596 (python-indent-shift-left): New command.
1597 (python-shift-right): Delete command.
1598 (python-indent-shift-right): New command.
1599 (python-find-function): Delete command.
1600 (python-nav-jump-to-defun): New command.
1601 (python-next-statement): Delete command.
1602 (python-nav-forward-sentence): New command.
1603 (python-previous-statement): Delete command.
1604 (python-nav-backward-sentence): New command.
1605 (python-fill-paragraph): Delete command.
1606 (python-fill-paragraph-function): New command.
1607 (python-send-buffer): Delete command.
1608 (python-shell-send-buffer): New command.
1609 (python-send-defun): Delete command.
1610 (python-shell-send-defun): New command.
1611 (python-send-region, python-send-region-and-go): Delete commands.
1612 (python-shell-send-region)
1613 (python-shell-switch-to-shell): New commands.
1614 (python-send-string): Delete command.
1615 (python-shell-send-string): New command.
1616 (python-switch-to-python): Delete command.
1617 (python-shell-switch-to-shell): New command.
1618 (python-describe-symbol): Delete command.
1619 (python-eldoc-at-point): New command.
1620 (python--set-prompt-regexp, python-args-to-list)
1621 (python-after-info-look, python-check-version)
1622 (python-check-comint-prompt, python-find-imports)
1623 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1624 (python-unload-function, python-expand-template)
1625 (python-maybe-jython, python-preoutput-filter)
1626 (python-pdbtrack-get-source-buffer)
1627 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1628 (python-pdbtrack-toggle-stack-tracking)
1629 (python-pdbtrack-track-stack-file, python-initial-text)
1630 (python-first-word, python-comment-line-p, python-send-command)
1631 (python-setup-brm, python-sentinel, python-set-proc)
1632 (python-skip-out, python-input-filter, python-outdent-p)
1633 (python-outline-level, python-backslash-continuation-line-p)
1634 (python-end-of-block, python-end-of-statement, python-mark-block)
1635 (python-beginning-of-block, python-beginning-of-statement)
1636 (python-blank-line-p, python-beginning-of-string)
1637 (python-open-block-statement-p): Delete functions.
1638 (python-indent-line, python-indent-line-1): Delete functions.
1639 (python-indent-line): New function.
1640 (python-indentation-levels): Delete function.
1641 (python-indent-calculate-levels): New function.
1642 (python-proc): Delete function.
1643 (python-shell-get-process): New function.
1644 (python-send-receive): Delete function.
1645 (python-shell-send-string-no-output): New function.
1646 (python-module-path): Delete function.
1647 (python-ffap-module-path): New function.
1648 (python-completion-at-point)
1649 (python-symbol-completions): Delete functions.
1650 (python-completion-complete-at-point): New function.
1651 (python-load-file): Delete function.
1652 (python-shell-send-file): New function.
1653 (python-calculate-indentation): Delete function.
1654 (python-indent-calculate-indentation): New function.
1655 (python-skip-comments/blanks): Delete function.
1656 (python-util-forward-comment): New function.
1657 (python-continuation-line-p): Delete function.
1658 (python-info-continuation-line-p): New function.
1659 (python-which-func, python-current-defun): Delete function.
1660 (python-info-current-defun): New function.
1661 (python-beginning-of-defun): Delete function.
1662 (python-nav-beginning-of-defun): New function.
1663 (python-close-block-statement-p)
1664 (python-block-end-p): Delete function.
1665 (python-info-closing-block): New function.
1666 (python-comint-output-filter-function)
1667 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1668 (python-fill-comment, python-fill-decorator, python-fill-paren)
1669 (python-fill-string, python-imenu-make-element-tree)
1670 (python-imenu-make-tree, python-imenu-tree-assoc)
1671 (python-indent-context, python-indent-dedent-line)
1672 (python-indent-line-function)
1673 (python-indent-post-self-insert-function)
1674 (python-indent-toggle-levels)
1675 (python-info-assignment-continuation-line-p)
1676 (python-info-beginning-of-backlash)
1677 (python-info-block-continuation-line-p)
1678 (python-info-closing-block-message)
1679 (python-info-line-ends-backslash-p)
1680 (python-info-looking-at-beginning-of-defun)
1681 (python-info-ppss-context, python-info-ppss-context-type)
1682 (python-nav-list-defun-positions, python-nav-read-defun)
1683 (python-nav-sentence-end, python-nav-sentence-start)
1684 (python-pdbtrack-comint-output-filter-function)
1685 (python-pdbtrack-set-tracked-buffer)
1686 (python-shell-calculate-exec-path)
1687 (python-shell-calculate-process-environment)
1688 (python-shell-completion--do-completion-at-point)
1689 (python-shell-completion--get-completions)
1690 (python-shell-completion-complete-at-point)
1691 (python-shell-completion-complete-or-indent)
1692 (python-shell-get-or-create-process)
1693 (python-shell-get-process-name)
1694 (python-shell-internal-get-or-create-process)
1695 (python-shell-internal-get-process-name)
1696 (python-shell-internal-send-string, python-shell-make-comint)
1697 (python-shell-parse-command, python-shell-send-setup-code)
1698 (python-skeleton-add-menu-items)
1699 (python-util-clone-local-variables, python-util-position)
1700 (run-python-internal, python-indentation-levels)
1701 (python-nav-beginning-of-defun)
1702 (python-completion-complete-at-point): New functions.
1703 (run-python): Change arguments. New API requirements.
1704
4302f5ba
SM
17052012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1706
f38ea36d
SM
1707 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1708 (bug#11649).
1709
1710 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1711 (macroexp--expand-all): Use it.
1712
4302f5ba
SM
1713 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1714 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1715 Use `cl-function' instead.
1716
33377562
JB
17172012-06-14 Juanma Barranquero <lekktu@gmail.com>
1718
1719 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1720 Suggested by Stefan Monnier while discussing bug#11657.
1721
54c5ba1a
SS
17222012-06-14 Sam Steingold <sds@gnu.org>
1723
1724 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1725
f9f1b1fe
AS
17262012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1727
1728 * play/doctor.el (doctor-doc): Remove parameter and use
1729 doctor-sent instead of sent.
1730 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1731
a81068ba
SM
17322012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1733
5a315f9c
SM
1734 * files.el: Require cl-lib.
1735 (file-name-non-special): Replace case -> cl-case.
1736
1737 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1738
a81068ba
SM
1739 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1740 mapping from #' to function*.
1741
8cca9703
CY
17422012-06-13 Chong Yidong <cyd@gnu.org>
1743
1744 * mouse.el (mouse-drag-track): Do not set the mark if the user
1745 releases the mouse without selecting anything (Bug#11588).
1746
a12ac9d7
SM
17472012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1748
ccf1dc18
SM
1749 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1750 as well (bug#11646).
1751
ef62b23d
SM
1752 * loadup.el: Count byte-code functions as well.
1753
c4c8444a
SM
1754 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1755 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1756
a12ac9d7
SM
1757 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1758 (bug#11649). Add cl-defun and cl-defmacro.
1759
87e6e64f
DA
17602012-06-13 Drew Adams <drew.adams@oracle.com>
1761
1762 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1763 Fix last change.
1764
682cefaf
MA
17652012-06-13 Michael Albinus <michael.albinus@gmx.de>
1766
1767 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1768 Otherwise, it blocks in batch mode.
1769
773e1f08
JB
17702012-06-13 Juanma Barranquero <lekktu@gmail.com>
1771
1772 * help-mode.el (bookmark-make-record-default): Declare.
1773
60057926
CY
17742012-06-13 Chong Yidong <cyd@gnu.org>
1775
1776 * emacs-lisp/package.el (list-packages): Compute a list of
1777 packages that are newly-available since the last list-packages
1778 invocation.
1779 (package-menu--new-package-list): New var.
1780 (package-menu--generate, package-menu--print-info)
1781 (package-menu--status-predicate, package-menu-mark-install):
1782 Handle new status label "new".
1783
ad4d226c
SM
17842012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1787 conversion to backquotes.
1788
f1a4e679
CY
17892012-06-12 Chong Yidong <cyd@gnu.org>
1790
1791 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1792 Rename from gud-inhibit-global-bindings.
1793
1794 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1795
1796 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1797 hook from nxml-glyph-set-hook.
1798
1799 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1800 declaration.
1801
1802 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1803
1804 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1805 Convert to defcustom.
1806
0c9e42b5
DA
18072012-06-12 Drew Adams <drew.adams@oracle.com>
1808
1809 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1810 New functions.
1811 (help-mode): Use them.
1812
09e06855
GM
18132012-06-11 Glenn Morris <rgm@gnu.org>
1814
1815 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1816 Use preprocessor face for directives.
1817 (fortran-directive-re): Doc fix.
1818
71adb94b
SM
18192012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1820
2eb87922
SM
1821 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1822 conversion to backquotes (bug#11652).
1823
71adb94b
SM
1824 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1825 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1826 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1827 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1828 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1829 (cl-ninth, cl-tenth): Mark them as inlinable.
1830 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1831 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1832 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1833 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1834 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1835 (cl-list*, cl-adjoin): Don't put an autoload manually.
1836 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1837 (cl--compiler-macro-list*): Add autoload cookie.
1838 (cl--compiler-macro-cXXr): New function.
2eb87922 1839
71adb94b
SM
1840 * help-fns.el (help-fns--compiler-macro): New function extracted from
1841 describe-function-1; follow aliases and use `compiler-macro' property.
1842 (describe-function-1): Use it.
1843
a6674402
CY
18442012-06-11 Chong Yidong <cyd@gnu.org>
1845
1846 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1847 is uninstalled, if imagemagick is installed.
1848
bb3faf5b
SM
18492012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * emacs-lisp/cl-lib.el: Use lexical-binding.
1852 (cl-map-extents, cl-maclisp-member): Remove.
1853 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1854 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1855 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1856 * emacs-lisp/cl-extra.el: Use lexical-binding.
1857 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1858 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1859 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1860 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1861 * emacs-lisp/cl-seq.el: Use lexical-binding.
1862 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1863 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1864 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1865 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1866 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1867 CL's internals.
1868
2fe4b125
MA
18692012-06-11 Michael Albinus <michael.albinus@gmx.de>
1870
1871 Sync with Tramp 2.2.6-pre.
1872
1873 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1874 `print-length' and `print-level' to nil, in order to avoid
1875 truncation. Reported by Christopher Schmidt
1876 <christopher@ristopher.com>.
1877
1878 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1879
1880 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1881 New defmacro.
1882 (tramp-compat-copy-directory): Add optional argument
1883 COPY-CONTENTS. It is not handled yet.
1884
1885 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1886 (tramp-ftp-file-name-p): Simplify.
1887
1888 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1889 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1890 connection vector.
1891
1892 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1893 (tramp-methods): Do not use `tramp-password-end-of-line'.
1894 (tramp-completion-function-alist-putty): Handle UNIX case.
1895 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1896 (tramp-do-file-attributes-with-stat)
1897 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1898 gid as real numbers. They could run out of integer range on cygwin.
1899 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1900 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1901 (tramp-open-connection-setup-interactive-shell):
1902 Use `tramp-cleanup'. Move check for busyboxes ...
1903 (tramp-find-shell): ... here. Simplify implementation.
1904 Set "remote-shell" property also for alternative shells.
1905 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1906 If failing, a regular file would be written otherwise.
1907 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1908 (tramp-find-inline-encoding): Cache the coding commands in the
1909 process cache. Apply test command on the remote side, if defined.
1910 (tramp-find-inline-compress): Cache the compress commands in the
1911 process cache.
1912 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1913 when requested. Handle hops.
1914 (tramp-current-connection): New defvar.
87e6e64f
DA
1915 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1916 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1917 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1918 (tramp-get-inline-compress, tramp-get-inline-coding):
1919 Read connection properties from the process cache.
2fe4b125
MA
1920
1921 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1922 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1923 New defconsts.
2fe4b125
MA
1924 (tramp-smb-prompt): Extend for powershell prompt.
1925 (tramp-smb-file-name-handler-alist): Add handlers for
1926 `process-file', `shell-command' and `start-file-process'.
1927 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1928 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1929 (tramp-smb-file-name-p): Simplify.
1930 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1931 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1932 (tramp-smb-shell-quote-argument): New defuns.
1933 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1934 Implement using "tar". By this, time-stamps are preserved.
1935 (tramp-smb-handle-copy-file): Handle also the case of directories.
1936 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1937 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1938 Use `tramp-get-connection-buffer').
2fe4b125
MA
1939 (tramp-smb-handle-rename-file): Use "rename", when source and
1940 target are on the same share.
87e6e64f
DA
1941 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1942 Use `tramp-smb-server-version'.
2fe4b125
MA
1943 (tramp-smb-wait-for-output): Remove prompt.
1944
1945 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1946 (tramp-methods, tramp-rsh-end-of-line):
1947 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1948 (tramp-save-ad-hoc-proxies): New defcustom.
1949 (tramp-completion-function-alist): Adapt docstring.
1950 (tramp-default-password-end-of-line): Remove defcustom.
1951 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1952 (tramp-user-regexp, tramp-file-name-regexp-unified)
1953 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1954 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1955 (tramp-remote-file-name-spec-regexp): New defconst.
1956 (tramp-file-name-structure): Extend structure for hops.
1957 (tramp-get-method-parameter): Move up.
1958 (tramp-file-name-p, tramp-dissect-file-name)
1959 (with-parsed-tramp-file-name): Handle hops.
1960 (tramp-file-name-hop): New defun.
1961 (tramp-make-tramp-file-name): New optional arg HOP.
1962 (tramp-message-show-progress-reporter-message): New defvar.
1963 (tramp-with-progress-reporter): Use it. We cannot use
1964 `tramp-message-show-message' here, because this suppresses also
1965 error buffers.
1966 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1967 `tramp-message-show-message' is nil.
1968 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1969 (tramp-cleanup): New defun.
1970 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1971 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1972 an error unchanged.
1973 (tramp-completion-handle-file-name-all-completions): Handle hops.
1974 Fix an error when called from ido.
1975 (tramp-completion-dissect-file-name): Use better local variable
1976 name. Add hop to the vector.
1977 (tramp-handle-insert-file-contents): Use progress-reporter for the
1978 whole scenario.
1979 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1980 to `t'.
1981 (tramp-check-for-regexp): Simplify search.
1982 (tramp-enter-password): Remove it. Move implementation ...
1983 (tramp-action-password): ... here.
1984 (tramp-mode-string-to-int, tramp-local-host-p)
1985 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1986 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1987 Set tramp-autoload cookie.
2fe4b125
MA
1988
1989 * net/trampver.el: Update release number.
1990
19912012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1992 Michael Albinus <michael.albinus@gmx.de>
1993
1994 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1995 (tramp-parse-group, tramp-parse-file)
1996 (tramp-parse-shostkeys-sknownhosts): New defuns.
1997 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1998 (tramp-parse-shosts-group, tramp-parse-sconfig)
1999 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2000 (tramp-parse-sknownhosts, tramp-parse-hosts)
2001 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2002 Use them.
2003 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2004 (tramp-parse-putty-group): Don't narrow.
2005 (tramp-parse-putty): Make a loop.
2006 (tramp-file-name-handler): Catch the `suppress' signal.
2007
72834e10
CY
20082012-06-11 Chong Yidong <cyd@gnu.org>
2009
2010 * image.el (imagemagick-register-types): Put the ImageMagick entry
2011 at the end of image-type-file-name-regexps.
2012
a4712e11
JB
20132012-06-11 Johan Bockgård <bojohan@gnu.org>
2014
2015 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2016 (pcase, pcase-let*, pcase-dolist): Use them.
2017
82ad98e3
SM
20182012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2019
2020 * emacs-lisp/pcase.el (pcase--let*): New function.
2021 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2022 (pcase--expand): Use macroexp-let².
2023
f80efb86
SM
20242012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2027 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2028 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2029 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2030 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2031 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2032
31ca4639 20332012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2034
31ca4639
CY
2035 * mail/rmail.el (rmail-yank-current-message): Leave point at
2036 correct position. (Bug#11660)
94f0aa34 2037
31ca4639 20382012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2039
31ca4639 2040 * allout-widgets.el: Fix code header.
9e1b8ec4 2041
31ca4639 20422012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2043
f80efb86
SM
2044 * cus-edit.el (customize-changed-options-previous-release):
2045 Bump to 24.1.
31ca4639 2046
642b6d30
AS
20472012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2048
2049 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2050
4f5d2ba1
CY
20512012-06-09 Chong Yidong <cyd@gnu.org>
2052
2053 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2054
e75852fd
MR
20552012-06-09 Martin Rudalics <rudalics@gmx.at>
2056
2057 * window.el (special-display-popup-frame): Don't use
2058 window--display-buffer (Bug#11651).
2059
1e48e282
EZ
20602012-06-09 Eli Zaretskii <eliz@gnu.org>
2061
8a26b487
EZ
2062 Fix parallel builds: make sure loaddefs.el is not being written
2063 while Lisp files are compiled.
2064 (compile): Don't depend on 'mh-autoloads'.
2065 (compile-CMD, compile-SH): Depend on 'autoloads'.
2066 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2067
1e48e282
EZ
2068 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2069
6175e34b
CY
20702012-06-09 Chong Yidong <cyd@gnu.org>
2071
2072 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2073 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2074 Doc fixes (Bug#11225).
2075
d9857e53
SM
20762012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2077
2078 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2079 a function if there's a clear indication that it has a compiler-macro.
2080 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2081 (macro-declarations-alist): Add arglist to declaration functions.
2082 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2083 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2084 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2085 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2086 Also add autoload to find the compiler macro.
2087 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2088 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2089 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2090 (cl--compiler-macro-get): New functions, replacing calls to
2091 cl-define-compiler-macro.
2092 (cl-typep) [compiler-macro]: Use macroexp-let².
2093
f81298f8 20942012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2095
2096 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2097 string properly, fixes Bug#11473.
2098
4b56d0fe
CY
20992012-06-08 Chong Yidong <cyd@gnu.org>
2100
2101 * faces.el (set-face-attribute): Doc fix.
2102 (modify-face): Don't use :bold and :italic.
2103 (error, warning, success): Tweak definitions.
2104
2105 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2106 (custom-modified, custom-set, custom-changed, custom-themed)
2107 (custom-saved, custom-button, custom-button-mouse)
2108 (custom-button-pressed, custom-state, custom-comment-tag)
2109 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2110 (custom-group-subtitle): Use new-style face specs.
2111 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2112 (custom-set-face, custom-changed-face, custom-saved-face)
2113 (custom-button-face, custom-button-pressed-face)
2114 (custom-documentation-face, custom-state-face)
2115 (custom-comment-face, custom-comment-tag-face)
2116 (custom-variable-tag-face, custom-variable-button-face)
2117 (custom-face-tag-face, custom-group-tag-face-1)
2118 (custom-group-tag-face): Remove obsolete face alias.
2119
2120 * epa.el (epa-validity-high, epa-validity-medium)
2121 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2122 (epa-field-name, epa-field-body):
2123 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2124 (font-lock-keyword-face, font-lock-builtin-face)
2125 (font-lock-function-name-face, font-lock-variable-name-face)
2126 (font-lock-type-face, font-lock-constant-face):
2127 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2128 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2129 * speedbar.el (speedbar-button-face, speedbar-file-face)
2130 (speedbar-directory-face, speedbar-tag-face)
2131 (speedbar-selected-face, speedbar-highlight-face)
2132 (speedbar-separator-face):
2133 * whitespace.el (whitespace-newline, whitespace-space)
2134 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2135 (whitespace-line, whitespace-space-before-tab)
2136 (whitespace-space-after-tab, whitespace-indentation)
2137 (whitespace-empty):
2138 * emulation/cua-base.el (cua-global-mark):
2139 * eshell/em-prompt.el (eshell-prompt):
2140 * net/newst-plainview.el (newsticker-new-item-face)
2141 (newsticker-old-item-face, newsticker-immortal-item-face)
2142 (newsticker-obsolete-item-face, newsticker-date-face)
2143 (newsticker-statistics-face, newsticker-default-face):
2144 * net/newst-reader.el (newsticker-feed-face)
2145 (newsticker-extra-face, newsticker-enclosure-face):
2146 * net/newst-treeview.el (newsticker-treeview-face)
2147 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2148 (newsticker-treeview-immortal-face)
2149 (newsticker-treeview-obsolete-face)
2150 (newsticker-treeview-selection-face):
2151 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2152 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2153 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2154 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2155 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2156 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2157 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2158 (mpuz-text):
2159 * progmodes/vera-mode.el (vera-font-lock-number)
2160 (vera-font-lock-function, vera-font-lock-interface):
2161 * textmodes/table.el (table-cell): Use new-style face specs, and
2162 don't use the old :bold and :italic attributes.
2163
2164 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2165 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2166 (ebrowse-member-class, ebrowse-progress): Likewise.
2167 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2168 (ebrowse-file-name-face, ebrowse-default-face)
2169 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2170 (ebrowse-progress-face): Remove obsolete faces.
2171
2172 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2173 Inherit from error and warning faces respectively.
2174
2175 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2176 Likewise.
f80efb86
SM
2177 (flyspell-incorrect-face, flyspell-duplicate-face):
2178 Remove obsolete aliases.
4b56d0fe 2179
03310646
MA
21802012-06-08 Michael Albinus <michael.albinus@gmx.de>
2181
2182 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2183 Avoid infloop.
2184
513749ee
SM
21852012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * startup.el (argv, argi): Make lexically scoped.
2188 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2189 * emacs-lisp/cl-macs.el: Use lexical-binding.
2190 Rename cl-bind-* to cl--bind-*.
2191 * files.el: Don't require `cl' since it doesn't use it.
2192 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2193
595ef4ad
JB
21942012-06-08 Juanma Barranquero <lekktu@gmail.com>
2195
2196 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2197 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2198 instead of calling external sort utility.
2199 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2200
e9f66fcb
EZ
22012012-06-08 Eli Zaretskii <eliz@gnu.org>
2202
2203 * descr-text.el (describe-char): Mention how to insert the
2204 character, if the current input method doesn't support it.
2205 See the discussion in this thread for the details:
2206 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2207
3d10db47
SS
22082012-06-08 Sam Steingold <sds@gnu.org>
2209
2210 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2211 XF86Back to previous-buffer.
2212 (minibuffer-local-map): Bind them to next-history-element and
2213 previous-history-element respectively.
2214 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2215 help-go-back respectively.
2216 * info.el (Info-mode-map): Bind them to Info-history-forward and
2217 Info-history-back respectively.
2218 These are the keys next to Up on the ThinkPad keyboard.
2219
de7e2b36
SM
22202012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2223 * emacs-lisp/cl-macs.el: Provide itself.
2224 (cl--labels-convert-cache): New var.
2225 (cl--labels-convert): New function.
2226 (cl-flet, cl-labels): New implementation with new semantics, relying on
2227 lexical-binding.
2228 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2229 (cl-closure-vars, cl--function-convert-cache)
2230 (cl--function-convert): Move from cl-macs.el.
2231 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2232 rename by removing the "cl-" prefix.
2233 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2234
6fa6c4ae
SM
22352012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2238 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2239 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2240 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2241 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2242 (cl-hash-table-count): Add old compatibility aliases.
2243
2244 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2245 Use macroexpand-all-environment instead.
2246 (cl--old-macroexpand): New var.
2247 (cl--sm-macroexpand): New function.
2248 (cl-symbol-macrolet): Use it during macro expansion.
2249 (cl--function-convert-cache): New var.
2250 (cl--function-convert): New function, extracted from
2251 cl-macroexpand-all.
2252 (cl-lexical-let): Use it.
2253
2254 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2255 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2256 (cl-member): Remove old alias.
2257
2258 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2259 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2260 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2261 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2262 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2263 (cl-macroexpand-cmacs): Remove var.
2264 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2265 Use macroexpand-all instead.
2266
4dd1c416
SM
22672012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2270 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2271 (macroexp-copyable-p): New functions and macros.
2272 * emacs-lisp/edebug.el (edebug-unwrap):
2273 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2274 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2275 (pcase--let*): Remove.
2276 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2277 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2278 macroexp-const-p instead.
2279 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2280
2281 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2282 instead of "cl-" for internal definitions. Use macroexp-const-p.
2283 (cl-old-bc-file-form): Remove var.
2284 (cl-const-exprs-p): Remove fun.
2285 (cl-labels, cl-macrolet): Use backquote.
2286 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2287 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2288 (cl-define-setf-expander): Rename from cl-define-setf-method.
2289 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2290
2291 * international/mule-cmds.el: Don't require CL.
2292 (view-hello-file): Don't use `letf'.
2293
ed8bd4d7
SM
22942012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2295
7287f2f3
SM
2296 * tmm.el (tmm-prompt): Use string-prefix-p.
2297 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2298 (tmm-add-prompt): Use minibuffer-completion-help.
2299 (tmm-delete-map): Remove.
2300
ed8bd4d7
SM
2301 * subr.el (kbd): Make it its own function.
2302
7b4cdbf4
SM
23032012-06-07 Stefan Merten <smerten@oekonux.de>
2304
2305 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2306 Silence compiler warnings. Fix versions.
ed8bd4d7 2307 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2308 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2309 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2310 (rst-package-emacs-version-alist): Correct Emacs version to
2311 represent major merge with upstream.
ed8bd4d7 2312 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2313
2b48d721
GM
23142012-06-06 Glenn Morris <rgm@gnu.org>
2315
2316 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2317 Only print environment variables if set.
2318
fa779ab0
SM
23192012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2320
2321 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2322 (macroexp--cons): Rename from maybe-cons.
2323 (macroexp--accumulate): Rename from macroexp-accumulate.
2324 (macroexp--all-forms): Rename from macroexpand-all-forms.
2325 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2326 (macroexp--expand-all): Rename from macroexpand-all-1.
2327
628299e0
SS
23282012-06-06 Sam Steingold <sds@gnu.org>
2329
2330 * calendar/calendar.el (calendar-in-read-only-buffer):
2331 Call `special-mode' to enable the standard read-only keybindings.
2332
b7bb5838
SM
23332012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2336 with "loading" messages (bug#11635).
2337
dfb308ba
MA
23382012-06-06 Michael Albinus <michael.albinus@gmx.de>
2339
2340 * files.el (enable-remote-dir-locals): New option.
2341 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2342
0372ee92
MA
2343 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2344 Ensure, that the temp directory is local.
2345
2346 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2347 `temporary-file-directory'.
2348
eed0bb91
MA
2349 * progmodes/python.el (python-send-region): Ensure, that the
2350 temporary file is created also in the remote case.
2351
7a58f64d
GM
23522012-06-06 Glenn Morris <rgm@gnu.org>
2353
f7dd4e98
GM
2354 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2355 (vc-rcs-update-changelog): Use it.
2356
090bd7cb 2357 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2358
7a58f64d
GM
2359 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2360 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2361 (vc-sccs-diff): Replace use of the external vcdiff script.
2362
daed4003
GM
23632012-06-05 Glenn Morris <rgm@gnu.org>
2364
2365 * ledit.el: Move to obsolete/.
2366
48c455c7
SS
23672012-06-05 Sam Steingold <sds@gnu.org>
2368
ed9265fc 2369 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2370 patch (Bug#11140).
2371
57a7d507
SM
23722012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2373
090bd7cb 2374 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2375
53aacf21
SM
2376 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2377 compiler-macro expansion.
2378
57a7d507
SM
2379 Add native compiler-macro support.
2380 * emacs-lisp/macroexp.el (macroexpand-all-1):
2381 Support compiler-macros directly. Properly follow aliases and apply
2382 the compiler macros more thoroughly.
2383 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2384 macroexpand now properly follows aliases.
2385 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2386 (cl-compiler-macroexpand): Use new prop.
2387 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2388
2389 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2390
51a5f9d8
MR
23912012-06-05 Martin Rudalics <rudalics@gmx.at>
2392
2393 * window.el (get-lru-window, get-mru-window, get-largest-window):
2394 New argument NOT-SELECTED to avoid picking the selected window.
2395 (window--display-buffer-1, window--display-buffer-2): Replace by
2396 new function window--display-buffer
2397 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2398 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2399 Use window--display-buffer.
51a5f9d8
MR
2400 (display-buffer-use-some-window): Remove temporary dedication
2401 hack by calling get-lru-window and get-largest-window with
2402 NOT-SELECTED argument non-nil. Call window--display-buffer.
2403
08f9f738
GM
24042012-06-05 Glenn Morris <rgm@gnu.org>
2405
2406 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2407 Replace external vcdiff script.
2408
e364a2b7
SM
24092012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2412
041df390
CY
24132012-06-04 Chong Yidong <cyd@gnu.org>
2414
e364a2b7
SM
2415 * image.el (imagemagick-types-inhibit): Revert last change.
2416 Add INFO and M.
47b36b94 2417 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2418
7c1898a7
SM
24192012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * emacs-lisp/cl-lib.el: Rename from cl.el.
2422 * emacs-lisp/cl.el: New compatibility file.
2423 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2424 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2425 to obey the "cl-" prefix.
2426 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2427
0c3461de
GM
24282012-06-03 Glenn Morris <rgm@gnu.org>
2429
1e266c88
GM
2430 * emacs-lisp/authors.el (authors-aliases): Addition.
2431
0c3461de
GM
2432 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2433 Fix :version.
2434
d8a52e15
SM
24352012-06-03 Stefan Merten <smerten@oekonux.de>
2436
2437 * textmodes/rst.el: Add comments.
2438 (rst-transition, rst-adornment): New faces.
2439 (rst-adornment-faces-alist): Make default safe to reevaluate.
2440 Fixes
2441 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2442 Improve customization tags.
2443 (rst-define-level-faces): Clarify meaning.
2444
5205d6f6
CY
24452012-06-03 Chong Yidong <cyd@gnu.org>
2446
2447 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2448 (compilation-mode-line-run, compilation-mode-line-exit):
2449 New faces.
5205d6f6
CY
2450 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2451
757ee657
JD
24522012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2453
7c1898a7
SM
2454 * progmodes/which-func.el (which-func-update-ediff-windows):
2455 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2456
5f2c76c6
CY
24572012-06-03 Chong Yidong <cyd@gnu.org>
2458
2459 * bindings.el: Remove explicit help text from format-mode-line.
2460 It is now supplied by mode-line-default-help-echo.
2461 (mode-line-front-space, mode-line-end-spaces)
2462 (mode-line-misc-info): New variables.
2463 (mode-line-modes, mode-line-position): Move the default value to
2464 the variable definition.
2465 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2466 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2467 (mode-line-modified-help-echo): New functions.
2468 (mode-line-mule-info, mode-line-modified): Use them.
2469 (mode-line-eol-desc, propertized-buffer-identification):
2470 Consistency fixes for help text.
cbe46e5f
CY
2471 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2472 set-buffer-file-coding-system (Bug#289).
2473 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2474
f2d6a3df
SM
24752012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * simple.el (execute-extended-command): Set real-this-command
2478 (bug#11506).
2479
37269466
CY
24802012-06-02 Chong Yidong <cyd@gnu.org>
2481
2482 Remove incorrect uses of "modeline" in comments, docstrings, and
2483 function/variable names (Bug#10329).
2484
2485 * cus-edit.el (mode-line):
2486 * dframe.el (dframe-mouse-hscroll):
2487 * emacs-lisp/re-builder.el:
2488 * emacs-lisp/easy-mmode.el (define-minor-mode):
2489 * frame.el (set-frame-name):
2490 * help.el (lookup-minor-mode-from-indicator):
2491 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2492 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2493 (c-toggle-hungry-state):
2494 * progmodes/antlr-mode.el (antlr-language-alist):
2495 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2496 * progmodes/vhdl-mode.el (vhdl-mode):
2497 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2498 * term/ns-win.el (ns-face-at-pos):
2499 * term/sup-mouse.el (sup-mouse-report):
2500 * textmodes/flyspell.el (flyspell-mode-line-string):
2501 * textmodes/ispell.el (ispell-highlight-face):
2502 * textmodes/reftex-global.el:
2503 * vc/vc-arch.el (vc-arch-mode-line-string):
2504 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2505 * vc/vc-git.el (vc-git-mode-line-string):
2506 * vc/vc-hooks.el (vc-display-status)
2507 (vc-default-mode-line-string):
2508 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2509
2510 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2511
2512 * dired.el (dired-sort-set-mode-line): Rename from
2513 dired-sort-set-modeline. All callers changed.
2514
2515 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2516 eshell-status-in-modeline.
2517
2518 * foldout.el (foldout-mode-line-string): Rename from
2519 foldout-modeline-string. All callers changed.
2520 (foldout-update-mode-line): Rename from foldout-update-modeline.
2521
2522 * subr.el (redraw-modeline): Make into obsolete alias.
2523
2524 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2525 timeclock-modeline-display. Make old name an alias.
2526 (timeclock-update-mode-line): Likewise. All callers changed.
2527 (timeclock-mode-line-display): No need to check before using
2528 add-hook.
2529 (timeclock-relative, timeclock-day-over-hook)
2530 (timeclock-use-elapsed, timeclock-mode-string)
2531 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2532
2533 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2534 crisp-mode-modeline-string.
2535
2536 * play/solitaire.el (solitaire-build-mode-line): Rename from
2537 solitaire-build-modeline. All callers changed.
2538
2539 * play/zone.el (zone-hiding-mode-line): Rename from
2540 zone-hiding-modeline. All callers changed.
2541 (zone): Remove unusued `modeline-hidden-level' property.
2542
2543 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2544 xscheme-modeline-initialize. All callers changed.
2545
2546 * strokes.el (strokes-lighter): Rename from
2547 strokes-modeline-string.
2548
2549 * textmodes/sgml-mode.el (html-face-tag-alist)
2550 (html-tag-face-alist): Use mode-line face instead of obsolete
2551 alias modeline.
2552
42152ee4
SM
25532012-06-02 Stefan Merten <smerten@oekonux.de>
2554
2555 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2556 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2557
95f520b5
CY
25582012-06-02 Chong Yidong <cyd@gnu.org>
2559
2560 * image.el (imagemagick-enabled-types): Rename from
2561 imagemagick-types-enable. Add many more types.
2562 (imagemagick-types-inhibit): Change default to nil.
2563 (imagemagick-filter-types): Caller changed.
2564
4a5f187a
SM
25652012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2566
03fef3e6
SM
2567 * emacs-lisp/cl-macs.el: Use backquotes.
2568 (cl-transform-function-property): Use eval-and-compile rather than
2569 abusing `require'.
2570 (defstruct): Use declare-function instead of with-no-warnings.
2571
4a5f187a
SM
2572 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2573 (byte-compile-output-docform): Re-add the print-circle bindings.
2574 (byte-compile-fix-header): Use #$ just because it's shorter.
2575 (byte-compile-output-file-form): Remove defun/defmacro.
2576
bd56924f
MR
25772012-06-01 Martin Rudalics <rudalics@gmx.at>
2578
2579 * simple.el (choose-completion): Remove now obsolete binding for
2580 owindow.
2581
046e38ce
MA
25822012-06-01 Michael Albinus <michael.albinus@gmx.de>
2583
2584 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2585 in order to avoid "Stack overflow in regexp matcher".
2586
32d72c2f
GM
25872012-05-31 Glenn Morris <rgm@gnu.org>
2588
2589 * image.el: For clarity, call imagemagick-register-types at
2590 top-level, rather than relying on a custom :initialize.
2591 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2592 (imagemagick-filter-types): New function. (Bug#7406)
2593 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2594 If disabling support, remove elements altogether rather
2595 than using an impossible regexp.
2596 (imagemagick-types-inhibit): Give it the default init function.
2597
dd41169b
SM
25982012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2599
4a5f187a
SM
2600 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2601 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2602
efc00ab1 26032012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2604
2605 * desktop.el (desktop-read): Clear previous and next buffers for
2606 all windows and bury *Messages* buffer (bug#11556).
2607
500fcedc
SM
26082012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2609
2610 Add `declare' for `defun'. Align `defmacro's with it.
2611 * emacs-lisp/easy-mmode.el (define-minor-mode)
2612 (define-globalized-minor-mode): Don't autoload the var definitions.
2613 * emacs-lisp/byte-run.el: Use lexical-binding.
2614 (defun-declarations-alist, macro-declarations-alist): New vars.
2615 (defmacro, defun): Use them.
2616 (make-obsolete, define-obsolete-function-alias)
2617 (make-obsolete-variable, define-obsolete-variable-alias):
2618 Use `declare'.
2619 (macro-declaration-function): Mark obsolete.
2620 * emacs-lisp/autoload.el: Use lexical-binding.
2621 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2622
6e8a1786
AM
26232012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2624
2625 * textmodes/ispell.el (ispell-with-no-warnings):
2626 Define as a macro.
500fcedc
SM
2627 (ispell-kill-ispell, ispell-change-dictionary):
2628 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2629 `interactive-p'.
2630
61b108cc
SM
26312012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2634 (macro-declaration-function): Move var from C code.
2635 (macro-declaration-function): Define function with defalias.
2636 * emacs-lisp/macroexp.el (macroexpand-all-1):
2637 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2638 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2639 defun/defmacro any more.
2640 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2641 Provide fallback for unknown arglist.
2642 (byte-compile-arglist-warn): Change calling convention.
2643 (byte-compile-output-file-form): Move print-vars binding.
2644 (byte-compile-output-docform): Simplify accordingly.
2645 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2646 (byte-compile-defmacro-declaration): Remove.
2647 (byte-compile-file-form-defmumble): Generalize to defalias.
2648 (byte-compile-output-as-comment): Return byte-positions.
2649 Simplify callers accordingly.
2650 (byte-compile-lambda): Use `assert'.
2651 (byte-compile-defun, byte-compile-defmacro): Remove.
2652 (byte-compile-file-form-defalias):
2653 Use byte-compile-file-form-defmumble.
2654 (byte-compile-defalias-warn): Remove.
2655
6d3f7c2f
SM
26562012-05-29 Stefan Merten <smerten@oekonux.de>
2657
2658 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2659 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2660
2661 (rst-mode-abbrev-table): Merge definition.
2662 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2663 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2664
6dbaa1c7
UJ
26652012-05-29 Ulf Jasper <ulf.jasper@web.de>
2666
2667 * calendar/icalendar.el
2668 (icalendar-export-region): Export UID properly.
2669
d209e2fb 26702012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2671 * calendar/icalendar.el (icalendar-import-format):
2672 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2673 (icalendar-import-format-uid): New.
2674 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2675 Export UID.
2676
6876a58d
SM
26772012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2678
2679 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2680 different alternative patterns.
2681 (pcase-codegen): Be more careful to preserve identity.
2682 (pcase--u1): Don't forget to mark vars as used.
2683
2684 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2685 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2686 (byte-compile-from-buffer): ...rather than here.
2687
2688 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2689 functions from byte-compile-function-environment.
2690
46b7967e
TN
26912012-05-29 Troels Nielsen <bn.troels@gmail.com>
2692
2693 * window.el (window-deletable-p): Avoid deleting the root window
2694 of a frame with an active minibuffer.
2695
69d565e2
MR
26962012-05-29 Martin Rudalics <rudalics@gmx.at>
2697
2698 * simple.el (choose-completion): Use quit-window (Bug#11567).
2699
a149fa51
CY
27002012-05-29 Chong Yidong <cyd@gnu.org>
2701
2702 * whitespace.el (whitespace-cleanup): Fix usage of
2703 whitespace-empty-at-bob-regexp (Bug#11492).
2704
2b311310
AH
27052012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2706
2707 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2708 revert (Bug#11488).
2709
b9cb2387
JL
27102012-05-29 Juri Linkov <juri@jurta.org>
2711
2712 * isearch.el (isearch-mode-map): Bind `M-s _' to
2713 `isearch-toggle-symbol'. Bind `M-s c' to
2714 `isearch-toggle-case-fold'.
2715 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2716 (isearch-forward): Add `M-s _' to the docstring.
2717 (isearch-forward-symbol, isearch-toggle-case-fold)
2718 (isearch-symbol-regexp): New functions. (Bug#11381)
2719
d5e61c1c
JL
27202012-05-29 Juri Linkov <juri@jurta.org>
2721
2722 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2723 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2724 a function, call it to get the regexp.
2725 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2726 property `isearch-message-prefix' instead of the string "word ".
2727 (isearch-search-fun-default): For the case of `isearch-word',
2728 return a lambda that calls re-search-forward/re-search-backward
2729 with a regexp returned by `word-search-regexp' or by the function
2730 in `isearch-word'.
2731
8cbd80f7
JL
27322012-05-29 Juri Linkov <juri@jurta.org>
2733
2734 * isearch.el (isearch-search-fun-default): New function.
2735 (isearch-search-fun): Move default part to the new function
2736 `isearch-search-fun-default'.
2737 (isearch-search-fun-function): Set the default value to
2738 `isearch-search-fun-default'. (Bug#11381)
2739
2740 * comint.el (comint-history-isearch-end):
2741 Use `isearch-search-fun-default'.
2742 (comint-history-isearch-search): Use `isearch-search-fun-default'
2743 and remove spacial case for `isearch-word'.
2744 (comint-history-isearch-wrap): Remove spacial case for
2745 `isearch-word'.
2746
2747 * hexl.el (hexl-isearch-search-function):
2748 Use `isearch-search-fun-default'.
2749
2750 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2751 Use `word-search-regexp' for `isearch-word'.
2752
2753 * misearch.el (multi-isearch-search-fun):
2754 Use `isearch-search-fun-default'.
2755
2756 * simple.el (minibuffer-history-isearch-search):
2757 Use `isearch-search-fun-default' and remove spacial case for
2758 `isearch-word'.
2759 (minibuffer-history-isearch-wrap): Remove spacial case for
2760 `isearch-word'.
2761
2762 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2763 Remove spacial case for `isearch-word'.
2764 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2765
85c8c5b6
AM
27662012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2767
2768 Decrease XEmacs incompatibilities.
2769 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2770 Use `string-match'.
2771 (flyspell-delete-region-overlays): Use alternative definition for
2772 XEmacs.
2773 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2774 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2775 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2776 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2777 `define-obsolete-face-alias' under XEmacs, but old method.
2778
2779 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2780 `with-no-warnings' definition or Emacs alias.
2781 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2782 (ispell-word): Do not use `region-p' if XEmacs.
2783
8cab9efc
AM
27842012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2785
2786 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2787 Check for `ispell-dictionary-base-alist' instead of full
2788 `ispell-dictionary-alist'.
2789 (ispell-init-process): Show spellchecker when starting new Ispell
2790 process.
2791
fda91268
RZ
27922012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2795 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2796
694ea8e3
JB
27972012-05-27 Juanma Barranquero <lekktu@gmail.com>
2798
2799 * version.el (motif-version-string, gtk-version-string)
2800 (ns-version-string): Declare.
2801
e4d4f539
JL
28022012-05-27 Juri Linkov <juri@jurta.org>
2803
2804 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2805 after the `eval-defun-1' specialcaseing
2806 like in `edebug-eval-defun' (bug#10181).
2807
2808 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2809 like in `eval-defun-1'.
2810
33017faf 28112012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2812
fda91268
RZ
2813 * mail/sendmail.el (mail-yank-region):
2814 Recognize rmail-yank-current-message in addition to insert-buffer.
2815 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2816 a *mail* buffer created through rmail-start-mail with sendmail as
2817 mail-user-agent.
2818
33017faf
GM
28192012-05-27 Chong Yidong <cyd@gnu.org>
2820
2821 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2822 Default to 256 (Bug#11267).
2823
2824 * help.el (describe-mode): Doc fix.
2825
04188bb9
GM
28262012-05-26 Glenn Morris <rgm@gnu.org>
2827
38264cc9
GM
2828 * w32-fns.el (w32-init-info): Remove.
2829 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2830
eb7afdad
GM
2831 * info.el (info-initialize): For self-contained NS builds, put the
2832 included info/ directory at the front. (Bug#2791)
2833
04188bb9
GM
2834 * paths.el (Info-default-directory-list): Make it a defcustom,
2835 mainly so that we can use custom-initialize-delay.
2836
a179e3f7
SM
28372012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2838
43416392
SM
2839 * subr.el (buffer-has-markers-at): Mark obsolete.
2840
a179e3f7 2841 * subr.el (lambda): Use declare.
43416392 2842
a179e3f7
SM
2843 * emacs-lisp/lisp-mode.el (lambda):
2844 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2845
34a008d9
AH
28462012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2847
2848 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2849
0a3b289f
GM
28502012-05-26 Glenn Morris <rgm@gnu.org>
2851
2852 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2853
758c81e8
GM
28542012-05-25 Glenn Morris <rgm@gnu.org>
2855
f9f334f0
GM
2856 * paths.el: Remove no-byte-compile.
2857 * loadup.el: No need to load paths.el uncompiled.
2858
87eb79c2
GM
2859 * image.el (imagemagick-types-inhibit): Doc fix.
2860
758c81e8
GM
2861 * version.el: Remove no-byte-compile and associated formatting.
2862 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2863 is ancient code from when there was an "inc-vers.el".
2864
e7e85dc0
SM
28652012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * progmodes/gdb-mi.el: Minor style changes.
2868 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2869 Turn into minor modes.
2870 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2871 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2872 (gdb-shell): Remove unneeded let-binding.
2873 (gdb-get-many-fields): Eliminate O(n²) behavior.
2874
f31237a4
EZ
28752012-05-25 Eli Zaretskii <eliz@gnu.org>
2876
2877 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2878 platforms that don't link in fontset.c.
2879
bc1b21bb
JL
28802012-05-25 Juri Linkov <juri@jurta.org>
2881
2882 Use the same diff color scheme as in modern VCSes (bug#10181).
2883
2884 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2885 to avoid confusion with `diff-added' that now uses green colors.
2886 (diff-removed): Use shades of red.
2887 (diff-added): Use shades of green.
2888 (diff-changed): Leave just the yellow color.
2889 (diff-use-changed-face): New variable.
2890 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2891 how to highlight context diff changes.
2892 (diff-refine-change): Use shades of yellow.
2893 (diff-refine-removed): New face that uses shades of red.
2894 (diff-refine-added): New face that uses shades of green.
2895 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2896 `diff-refine-removed' in the call to `smerge-refine-subst'
2897 depending on the value of `diff-use-changed-face'.
2898
2899 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2900 (smerge-other): Use shades of green.
2901 (smerge-base): Use shades of yellow.
2902 (smerge-refined-change): Empty face.
2903 (smerge-refined-removed): New face that uses shades of red.
2904 (smerge-refined-added): New face that uses shades of green.
2905 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2906 args `props-r' and `props-a', and use them. Doc fix.
2907 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2908 on its value use different faces `smerge-refined-change',
2909 `smerge-refined-removed', `smerge-refined-added' in the call to
2910 `smerge-refine-subst'.
2911
2912 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2913 Add face condition `min-colors 88' with shades of red.
2914 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2915 `min-colors 88' with shades of green.
2916 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2917 `min-colors 88' with shades of yellow.
2918
6df9112c
GM
29192012-05-24 Glenn Morris <rgm@gnu.org>
2920
ead5edc0
GM
2921 * paths.el (prune-directory-list, remote-shell-program): Move to...
2922 * files.el (prune-directory-list, remote-shell-program): ...here.
2923 For the latter, delay initialization, prefer ssh, just search PATH.
2924
f18b81e6
GM
2925 * paths.el (term-file-prefix): Move to faces.el (the only user).
2926 * faces.el (term-file-prefix): Move here, make it a defcustom.
2927
ee2f89a6
GM
2928 * paths.el (news-directory, news-path, news-inews-program):
2929 Move to gnus/nnspool.el.
61a583ca 2930
f8815e4c
GM
2931 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2932
c8f3b42c
GM
2933 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2934 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2935 Make the latter a defcustom, with a delayed initialization.
2936
6df9112c
GM
2937 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2938 These were deleted from Gnus itself late 2010.
2939
5dadff36
JB
29402012-05-22 Juanma Barranquero <lekktu@gmail.com>
2941
9e1701c6
JB
2942 * progmodes/which-func.el (which-func-ff-hook):
2943 Check against user-error, not error.
2944
bd7239f5 2945 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2946 cl-specs.el, which no longer exists.
2947
3290526d
GM
29482012-05-22 Glenn Morris <rgm@gnu.org>
2949
2950 * info.el (info-emacs-bug): New command.
2951 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2952 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2953
ff0c3cfb
GM
29542012-05-21 Glenn Morris <rgm@gnu.org>
2955
2956 * makefile.w32-in (update-subdirs-SH):
2957 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2958
5814f126
SM
29592012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2960
a52c0aa0
SM
2961 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2962
5814f126
SM
2963 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2964 Simplify Maven regexp, and make sure the file can't start with a space
2965 (bug#11517).
2966
b847032c
GM
29672012-05-21 Glenn Morris <rgm@gnu.org>
2968
2969 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2970 Scrap superfluous subshells.
2971
3858bfe7
SM
29722012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2975 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2976
d14b0029
JB
29772012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2978
2979 * calc/calc.el (calc-ensure-consistent-units): New variable.
2980
a52c0aa0
SM
2981 * calc/calc-units.el (math-consistent-units-p)
2982 (math-check-unit-consistency): New functions.
2983 (calc-quick-units, calc-convert-units):
2984 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2985 is non-nil.
d14b0029
JB
2986 (calc-extract-units): Fix typo.
2987
60c4db3a
SM
29882012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2989
77f3b62e
SM
2990 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2991
60c4db3a
SM
2992 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2993 (flyspell-default-deplacement-commands): Don't spell check after
2994 repeated window/frame switches (e.g. triggered by mouse-movement).
2995 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2996 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2997 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2998 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2999 Remove unused vars.
3000 (flyspell-get-casechars, flyspell-get-not-casechars):
3001 Simplify; Don't bother removing a ] just to add it back.
3002 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3003
d209e2fb 30042012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3005
3006 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3007 New functions.
bd7239f5 3008 (math-function-table): Add support for more C functions.
b1a10716 3009
3f1b25b5
AM
30102012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3011
090bd7cb
JB
3012 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3013 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3014 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3015
b581bb5c
SM
30162012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3019 their respective macro declarations.
3020 * skeleton.el (define-skeleton):
3021 * progmodes/compile.el (define-compilation-mode):
3022 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3023 (define-ibuffer-filter):
3024 * emacs-lisp/generic.el (define-generic-mode):
3025 * emacs-lisp/easy-mmode.el (define-minor-mode)
3026 (define-globalized-minor-mode):
3027 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3028 * emacs-lisp/byte-run.el (defsubst):
3029 * custom.el (deftheme): Add doc-string metadata.
3030
70b8ef8f
SM
30312012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3034
b1198e17
SM
30352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3036
9abdc45d
SM
3037 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3038
b1198e17
SM
3039 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3040 * emacs-lisp/cl-macs.el: Idem.
3041 * emacs-lisp/cl-specs.el: Remove.
3042
4735906a
SM
30432012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 Minor renaming of internal CL functions and variables.
3046 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3047 (cl--position): Rename from cl-position.
3048 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3049 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3050 (cl--random-state): Rename from *random-state*.
3051
ac348012
SM
30522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3055 parens around the arg list (bug#11499).
3056
a0a79cde
JL
30572012-05-17 Juri Linkov <juri@jurta.org>
3058
3059 * isearch.el (word-search-regexp, word-search-backward)
3060 (word-search-forward, word-search-backward-lax)
3061 (word-search-forward-lax): Move functions from search.c
3062 (bug#10145, bug#11381).
3063
65034a51
AM
30642012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3065
090bd7cb
JB
3066 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3067 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3068 Delay for otherchars as for normal word components.
65034a51 3069
1a72a195
SM
30702012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * minibuffer.el (completion--sifn-requote): Fix last change.
3073 (minibuffer-local-must-match-filename-map):
3074 Move define-obsolete-variable-alias before its var.
3075
fdb058c2
SM
30762012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3077
c41045e6
SM
3078 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3079
036dfb8b
SM
3080 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3081 behavior.
3082 (completion--string-equal-p): New function.
3083 (completion--twq-all): Use it to get better assertion failure data.
3084
2473256d
SM
3085 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3086 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3087 (shell--requote-argument): New functions.
3088 (shell-completion-vars): Use them.
3089 (shell--parse-pcomplete-arguments): Rename from
3090 shell-parse-pcomplete-arguments.
3091 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3092 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3093 Obey comint-file-name-quote-list.
3094
fdb058c2
SM
3095 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3096 (smie-indent-keyword): Use it.
3097
51fa99f1
SM
30982012-05-14 Stefan Merten <smerten@oekonux.de>
3099
3100 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3101
e18afed7 31022012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3103
3104 * net/rlogin.el (rlogin-mode-map): Fix last change.
3105
e18afed7 31062012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3107
3108 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3109 the following \r\n using a single `process-send-string', since the
3110 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3111 with two `process-send-string's (Bug#11444).
8633b1f4 3112
e18afed7 31132012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3114
fdb058c2
SM
3115 * shell.el (shell-parse-pcomplete-arguments):
3116 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3117
2d21d7f6
WJ
31182012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3119
e18afed7 3120 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3121 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3122 (image-transform-width, image-transform-fit-width): New functions.
3123 (image-transform-properties): Use them.
3124 (image-transform-check-size): New function.
3125 (image-toggle-display-image): Use it (for testing).
3126 (image-transform-set-rotation): Reduce angle mod 360.
3127 Delete obsolete comment.
3128
7102e6d0
WJ
31292012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3130
3131 * image-mode.el: Fix scaling (bug#11399).
3132 (image-transform-resize): Doc fix.
3133 (image-transform-properties): Default scale is 1 and height should
3134 be an integer.
3135
06bc5e6e
SM
31362012-05-13 Johan Bockgård <bojohan@gnu.org>
3137
3138 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3139 than hard-coding `car', to fix misbehavior when moving forward.
3140
0ae03b6a
CY
31412012-05-13 Chong Yidong <cyd@gnu.org>
3142
3143 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3144 (tabulated-list-entries, tabulated-list-padding)
3145 (tabulated-list-sort-key): Make permanent-local.
3146
3147 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3148 (electric-buffer-list): Put electric buffer menu
3149 command descriptions in this docstring, instead of the docstring
3150 of electric-buffer-menu-mode. Code cleanups.
3151 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3152 Electric-buffer-menu-mode.
3153 (electric-buffer-update-highlight): Minor code cleanup.
3154
205a7391
MA
31552012-05-13 Michael Albinus <michael.albinus@gmx.de>
3156
3157 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3158 (Bug#11447)
3159
e5bd0a28
SM
31602012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3161
3162 Move define-obsolete-variable-alias before the var's definition.
3163 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3164 * tooltip.el (tooltip-hook):
3165 * textmodes/reftex-toc.el (reftex-toc-map):
3166 * textmodes/reftex-sel.el (reftex-select-label-map)
3167 (reftex-select-bib-map):
3168 * textmodes/reftex-index.el (reftex-index-map)
3169 (reftex-index-phrases-map):
3170 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3171 * progmodes/meta-mode.el (meta-mode-map):
3172 * novice.el (disabled-command-hook):
3173 * loadhist.el (unload-hook-features-list):
3174 * frame.el (blink-cursor):
3175 * files.el (find-file-not-found-hooks, write-file-hooks)
3176 (write-contents-hooks):
3177 * emulation/tpu-edt.el (GOLD-map):
3178 * emacs-lock.el (emacs-lock-from-exiting):
3179 * emacs-lisp/generic.el (generic-font-lock-defaults):
3180 * emacs-lisp/chart.el (chart-map):
3181 * dos-fns.el (register-name-alist):
3182 * dired-x.el (dired-omit-files-p):
3183 * desktop.el (desktop-enable):
3184 * cus-edit.el (custom-mode-hook):
3185 * buff-menu.el (buffer-menu-mode-hook):
3186 * bookmark.el (bookmark-read-annotation-text-func)
3187 (bookmark-exit-hooks):
3188 * allout.el (allout-mode-deactivate-hook)
3189 (allout-exposure-change-hook, allout-structure-added-hook)
3190 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3191 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3192 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3193 comes before the corresponding variable's definition.
3194
ac59c2f6
CY
31952012-05-12 Chong Yidong <cyd@gnu.org>
3196
3197 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3198 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3199 (Buffer-menu-mode-map): Bind it.
3200 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3201
dee6c9a3
SM
32022012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3203
2171cea5
SM
3204 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3205 (prolog-upper-case-string, prolog-lower-case-string)
3206 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3207 (prolog-use-smie, prolog-smie-grammar): New vars.
3208 (prolog-smie-forward-token, prolog-smie-backward-token)
3209 (prolog-smie-rules): New funs.
3210 (prolog-comment-indent): Remove.
3211 (prolog-mode-variables): Use default comment indentation instead.
3212 Setup SMIE.
3213 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3214 (prolog-mode): Don't call them any more.
3215 (prolog-electric-colon, prolog-electric-dash)
3216 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3217
aa0382bd
SM
3218 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3219
dbacb4bd
SM
3220 * minibuffer.el (completion--twq-all): Again, allow case differences.
3221
13bdd94c
SM
3222 * term.el: Move keymap initialization code to be more idiomatic.
3223 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3224 (term-terminal-menu): Move initialization into declaration.
3225 (term-escape-char): Let the user set it in her .emacs.
3226
ff46c759
SM
3227 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3228 Provide SMIE-based indentation (not enabled by default yet).
3229 (sh-mode-map): Don't bind electric keys.
3230 Use electric-pair-mode instead of skeleton-pair.
3231 (sh-assignment-regexp): Fit within 80 columns.
3232 (sh-indent-supported): Specify actual shell name instead of boolean.
3233 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3234 (sh-maybe-here-document): Use it. Make obsolete.
3235 (sh-electric-here-document-mode) New minor mode.
3236 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3237 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3238 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3239 (sh-smie-rc-grammar, sh-use-smie): New vars.
3240 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3241 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3242 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3243 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3244 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3245 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3246 (sh-set-shell): Use smie-setup if requested.
3247
dee6c9a3
SM
3248 * term.el (term-set-escape-char): Properly set term-escape-char.
3249 See http://stackoverflow.com/questions/10524656.
3250
9f9aa044
CY
32512012-05-10 Chong Yidong <cyd@gnu.org>
3252
3253 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3254 Use url-generic-parse-url, and handle host names and Windows
3255 filenames properly.
3256 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3257 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3258 URL schemes to work on.
3259 (ffap--toggle-read-only): New function.
3260 (ffap-read-only, ffap-read-only-other-window)
3261 (ffap-read-only-other-frame): Use it.
3262 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3263 necessary for ffap-url-unwrap-remote.
3264
836d29b3
DA
32652012-05-10 Dave Abrahams <dave@boostpro.com>
3266
3267 * cus-start.el (create-lockfiles): Add it.
3268
00fd78ed
CY
32692012-05-09 Chong Yidong <cyd@gnu.org>
3270
3271 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3272 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3273
666b903b 32742012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3275
3276 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3277
666b903b 32782012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3279
3280 * ansi-color.el (ansi-color-process-output): Check for validity of
3281 comint-last-output-start before using it. This avoids a bad
3282 interaction with gdb-mi's input/output buffer.
3283
666b903b 32842012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3285
3286 * files.el (dir-locals-read-from-file):
3287 Mention dir-locals in any error message.
3288
666b903b 32892012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3290
3291 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3292 package (Bug#11410).
3293
f677562b
CY
3294 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3295 variables into description.
3296
666b903b 32972012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3298
3299 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3300 shell-delimiter-argument-list (bug#11348).
3301 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3302
b499d8d0
JB
33032012-05-09 Juanma Barranquero <lekktu@gmail.com>
3304
8f6b6da8
JB
3305 * textmodes/rst.el: Silence byte-compiler warnings.
3306 (rst-re-alist, rst-reset-section-caches): Move around.
3307 (rst-re): Use `characterp', not `char-valid-p'.
3308 (font-lock-beg, font-lock-end): Declare.
3309
4824146a
JB
3310 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3311 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3312
b499d8d0
JB
3313 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3314
ad89bb83
GM
33152012-05-08 Glenn Morris <rgm@gnu.org>
3316
3317 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3318
8bba5a75
SM
33192012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3320
49ed9c8e
SM
3321 * vc/log-edit.el: Add GNU coding standards highlighting.
3322 (log-edit-font-lock-gnu-style)
3323 (log-edit-font-lock-gnu-keywords): New vars.
3324 (log-edit-font-lock-keywords): New fun.
3325 (log-edit-mode): Don't fold case in font-lock.
3326 (log-edit-font-lock-keywords): Do not assume case-folding.
3327
07d00b56
SM
3328 * imenu.el: Misc cleanup. Make docstrings out of comments.
3329 Use lexical-binding.
3330 (imenu--index-alist, imenu--last-menubar-index-alist)
3331 (imenu-menubar-modified-tick): Use defvar-local.
3332 (imenu--split-menu): Remove unused var.
3333 (imenu--cleanup-seen): Declare as global.
3334 (imenu--cleanup): Use dolist.
3335
8bba5a75
SM
3336 * subr.el (defvar-local): Add debug spec and doc-string position.
3337
5075bdb5
GM
33382012-05-08 Glenn Morris <rgm@gnu.org>
3339
090bd7cb 3340 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3341 * language/english.el, language/georgian.el, language/greek.el:
3342 * language/japanese.el, language/khmer.el, language/korean.el:
3343 * language/lao.el, language/misc-lang.el, language/romanian.el:
3344 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3345 * language/thai.el, language/utf-8-lang.el:
3346 Remove no-byte-compile setting.
3347
5075bdb5
GM
3348 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3349
06f679a7
AH
33502012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3351
3352 * progmodes/make-mode.el (makefile-browse):
3353 Remove unnecessary interactive. (Bug#11324)
3354
03794570
GM
33552012-05-07 Glenn Morris <rgm@gnu.org>
3356
af8630f4
GM
3357 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3358
03794570
GM
3359 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3360
f0809a9d
SM
33612012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3362
28be5ce7
SM
3363 * loadup.el: Preload newcomment.el.
3364 * newcomment.el: Move autoload-only code to toplevel.
3365
f0809a9d
SM
3366 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3367 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3368 Handle new :right-align column property.
3369 (tabulated-list-print-col): Idem, plus use `display' text-property to
3370 try and preserve alignment for variable pitch fonts.
3371
1241b724
CY
33722012-05-07 Chong Yidong <cyd@gnu.org>
3373
3374 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3375 (tabulated-list-use-header-line): New var.
3376 (tabulated-list-init-header): Use it.
3377 (tabulated-list-print-fake-header): New function.
3378 (tabulated-list-print): Use it.
3379 (tabulated-list-sort-button-map): Add non-header-line commands.
3380 (tabulated-list-init-header): Add column name property to basic
3381 labels as well.
3382 (tabulated-list-col-sort): Handle non-header-line button case.
3383 (tabulated-list--sort-by-column-name): Fix a corner case.
3384
f0809a9d
SM
3385 * buff-menu.el (list-buffers--refresh):
3386 Handle Buffer-menu-use-header-line.
1241b724 3387
e5f9458f
CY
33882012-05-06 Chong Yidong <cyd@gnu.org>
3389
3390 * buff-menu.el: Convert to Tabulated List mode.
3391 (Buffer-menu-buffer+size-width): Make obsolete.
3392 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3393 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3394 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3395 documentation into docstring of buffer-menu.
3396 (Buffer-menu-toggle-files-only): Add an informative message.
3397 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3398 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3399 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3400 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3401 (Buffer-menu-execute, Buffer-menu-select)
3402 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3403 (Buffer-menu-bury): Use Tabulated List machinery.
3404 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3405 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3406 Delete.
e5f9458f
CY
3407 (list-buffers--refresh): New function.
3408 (list-buffers-noselect): Use it.
3409 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3410 (Buffer-menu--pretty-file-name): New helper functions.
3411
3412 * loadup.el: Preload tabulated-list.
3413
3414 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3415 tabulated-list-sort-column.
3416 (tabulated-list-init-header): Add the initial aligning space even
3417 if tabulated-list-padding is zero.
3418
e129292c
CS
34192012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3420
3421 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3422 whose cdr is not a cons cell correctly (bug#11038).
3423
6632d361
CY
34242012-05-06 Chong Yidong <cyd@gnu.org>
3425
e129292c
CS
3426 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3427 Accept additional plist in column descriptors.
6632d361
CY
3428 (tabulated-list-init-header): Obey it.
3429 (tabulated-list-get-entry): New function.
3430 (tabulated-list-put-tag): Use it. Use string-width instead of
3431 length.
3432 (tabulated-list--column-number): New function.
3433 (tabulated-list-print): Use it.
e129292c
CS
3434 (tabulated-list-print-col): New function.
3435 Set `tabulated-list-column-name' property on each column's text.
6632d361 3436 (tabulated-list-print-entry): Use it.
e129292c
CS
3437 (tabulated-list-delete-entry, tabulated-list-set-col):
3438 New functions.
6632d361
CY
3439 (tabulated-list-sort-column): New command (Bug#11337).
3440
3cc99f68
CY
3441 * buff-menu.el (list-buffers): Move C-x C-b binding from
3442 buff-menu.el to bindings.el.
3443
3444 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3445 :advertised-binding feature.
3446
52b61776
TN
34472012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3448
3449 * progmodes/compile.el (compilation-internal-error-properties):
3450 Calculate start position correctly when end-col is set but
3451 end-line is not (Bug#11382).
3452
ebfe2597
WJ
34532012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3454
3455 * man.el (Man-unindent): Use text-property-default-nonsticky to
3456 prevent untabify from inheriting face properties (Bug#11408).
3457
6d3f7c2f
SM
34582012-05-05 Stefan Merten <smerten@oekonux.de>
3459
3460 * textmodes/rst.el: Major merge with upstream development up to
3461 Docutils SVN r7399 / rst.el V1.2.1.
3462
3463 Clarify maintainership and authors.
3464
3465 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3466 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3467 (rst-official-version, rst-official-cvs-rev, rst-version)
3468 (rst-package-emacs-version-alist): New functions and variables
3469 for version information.
3470
3471 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3472 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3473 (rst-mode-syntax-table, rst-mode): New and corrected functions
3474 and variables representing reStructuredText features.
3475
3476 (rst-re): New function for reStructuredText regexes. Use in
3477 many places.
3478
3479 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3480 (rst-mode-map): Rebind keys.
3481
3482 (rst-mode-lazy, rst-font-lock-keywords)
3483 (rst-font-lock-extend-region)
3484 (rst-font-lock-extend-region-internal)
3485 (rst-font-lock-extend-region-extend)
3486 (rst-font-lock-find-unindented-line-limit)
3487 (rst-font-lock-find-unindented-line-match)
3488 (rst-adornment-level, rst-font-lock-adornment-level)
3489 (rst-font-lock-adornment-match)
3490 (rst-font-lock-handle-adornment-pre-match-form)
3491 (rst-font-lock-handle-adornment-matcher): Major revision of
3492 font-locking. Integrate with other code. Use `jit-lock-mode'.
3493
3494 (rst-preferred-adornments, rst-adjust-hook)
3495 (rst-new-adornment-down, rst-preferred-bullets)
3496 (rst-preferred-bullets, rst-indent, rst-indent-width)
3497 (rst-indent-field, rst-indent-literal-normal)
3498 (rst-indent-literal-minimized, rst-indent-comment): Change,
3499 extend and improve customization.
3500
3501 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3502 (rst-normalize-cursor-position, rst-get-decoration)
3503 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3504 (rst-rstrip, rst-toc-insert-find-delete-contents)
3505 (rst-shift-fill-region, rst-compute-bullet-tabs)
3506 (rst-debug-print-tabs, rst-debug-mark-found)
3507 (rst-shift-region-guts, rst-shift-region-right)
3508 (rst-shift-region-left, rst-use-char-classes)
3509 (rst-font-lock-keywords-function)
3510 (rst-font-lock-indentation-point)
3511 (rst-font-lock-find-unindented-line-begin)
3512 (rst-font-lock-find-unindented-line-end)
3513 (rst-font-lock-find-unindented-line)
3514 (rst-font-lock-adornment-point, rst-font-lock-level)
3515 (rst-adornment-level-alist): Remove functions and variables.
3516
3517 (rst-compare-adornments, rst-get-adornment-match)
3518 (rst-suggest-new-adornment, rst-get-adornments-around)
3519 (rst-adornment-complete-p, rst-get-next-adornment)
3520 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3521 (rst-straighten-adornments): Standardize function names to
3522 use "adornment" instead of "decoration". Correct callers.
3523 Similar standardizing in many places.
3524
3525 (rst-update-section, rst-adjust, rst-promote-region)
3526 (rst-enumerate-region, rst-bullet-list-region)
3527 (rst-repeat-last-character): Correct use of `interactive'.
3528
3529 (rst-classify-adornment, rst-find-all-adornments)
3530 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3531 (rst-find-leftmost-column, rst-repeat-last-character):
3532 Refactor functions.
3533
3534 (rst-find-title-line, rst-reset-section-caches)
3535 (rst-get-adornments-around, rst-adjust-adornment-work)
3536 (rst-arabic-to-roman, rst-roman-to-arabic)
3537 (rst-insert-list-pos, rst-insert-list-new-item)
3538 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3539 New functions.
3540
3541 (rst-all-sections, rst-section-hierarchy)
3542 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3543 New variables.
3544
3545 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3546 configuration instead of only buffer. Change where necessary.
3547
3548 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3549 (rst-shift-region, rst-adaptive-fill): New functions for
3550 indentation and filling.
3551
3552 (rst-comment-line-break, rst-comment-indent)
3553 (rst-comment-insert-comment, rst-comment-region)
3554 (rst-uncomment-region): New functions for handling comments.
3555
3556 (rst-compile): Quote shell arguments.
3557
3558 (rst-compile-pdf-preview, rst-compile-slides-preview):
3559 Delete temporary files after use.
3560
a43f98b3
GM
35612012-05-05 Glenn Morris <rgm@gnu.org>
3562
48176e8b
GM
3563 * calendar/cal-html.el: Optionally include holidays in the output.
3564 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3565 (cal-html-holidays): New option.
3566 (cal-html-css-default): Add holiday entry.
3567 (holiday-in-range): Autoload it.
3568 (cal-html-htmlify-entry): Add optional class argument.
3569 (cal-html-htmlify-list): Add optional holidays argument.
3570 (cal-html-insert-agenda-days): Include holidays in the output.
3571 (cal-html-one-month): Maybe include holidays.
3572
a43f98b3
GM
3573 * calendar/holidays.el (holiday-in-range):
3574 Move here from cal-tex-list-holidays.
3575 * calendar/cal-tex.el (cal-tex-list-holidays):
3576 Make it an obsolete alias for holiday-in-range. Update all callers.
3577
fef9d149 35782012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3579
3580 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3581 Nextstep.
3582
248da2f4
RW
35832012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3584
3585 * files.el (file-auto-mode-skip): New var.
3586 (set-auto-mode-1): Use it.
3587
f95e9344
SM
35882012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3589
df96ab1e
SM
3590 * repeat.el: Use lexical-binding.
3591 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3592 (repeat-undo-count): Remove.
3593 (repeat):
3594 * progmodes/octave-mod.el (octave-abbrev-start):
3595 * progmodes/f90.el (f90-abbrev-start):
3596 * face-remap.el (text-scale-adjust):
3597 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3598
5342bb06
SM
3599 * emacs-lisp/pcase.el (pcase--let*): New function.
3600 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3601 a bit more.
3602 (pcase--split-pred): Be more clever about ruling out overlap between
3603 a predicate and some constant pattern.
3604 (pcase--q1): Use `null' instead of (eq foo nil).
3605
f95e9344
SM
3606 * subr.el (setq-local, defvar-local): New macros.
3607 (kbd): Redefine as an alias.
3608 (with-selected-window): Leave unrelated frames alone.
3609 (set-temporary-overlay-map): New function.
3610
71873e2b
SM
36112012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 * subr.el (user-error): New function.
3614 * window.el (switch-to-buffer):
3615 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3616 (smerge-match-conflict):
3617 * simple.el (previous-matching-history-element)
3618 (next-matching-history-element, goto-history-element, undo-more)
3619 (undo-start):
3620 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3621 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3622 (next-file, tags-loop-scan, list-tags, complete-tag):
3623 * progmodes/compile.el (compilation-loop):
3624 * mouse.el (mouse-minibuffer-check):
3625 * man.el (Man-bgproc-sentinel, Man-goto-page):
3626 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3627 (Info-history-forward, Info-follow-reference, Info-menu)
3628 (Info-extract-menu-item, Info-extract-menu-counting)
3629 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3630 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3631 (Info-next-reference, Info-prev-reference, Info-index)
3632 (Info-index-next, Info-follow-nearest-node)
3633 (Info-copy-current-node-name):
3634 * imenu.el (imenu--make-index-alist)
3635 (imenu-default-create-index-function, imenu-add-to-menubar):
3636 * files.el (basic-save-buffer, recover-file):
3637 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3638 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3639 (checkdoc-message-text, checkdoc-defun):
3640 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3641 * cus-edit.el (customize-changed-options, customize-rogue)
3642 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3643 (custom-variable-mark-to-reset-standard)
3644 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3645 (custom-file):
3646 * completion.el (check-completion-length):
3647 * comint.el (comint-search-arg)
3648 (comint-previous-matching-input-string-position)
3649 (comint-previous-matching-input)
3650 (comint-replace-by-expanded-history-before-point, comint-send-input)
3651 (comint-copy-old-input, comint-backward-matching-input)
3652 (comint-goto-process-mark, comint-set-process-mark):
3653 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3654 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3655
8a61ee22
SM
36562012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3657
66408d1e
SM
3658 * dabbrev.el (dabbrev--ignore-case-p): New function.
3659 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3660 Use it.
3661
8a61ee22
SM
3662 * files.el (automount-dir-prefix): Mark as obsolete.
3663
3c74813a
GM
36642012-05-04 Glenn Morris <rgm@gnu.org>
3665
3666 * patcomp.el, play/bruce.el: Move to obsolete/.
3667
0bfcf5c5
PE
36682012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3669
3670 Fix minor Y10k bugs.
3671 * arc-mode.el (archive-unixdate):
3672 * autoinsert.el (auto-insert-alist):
3673 * calc/calc-forms.el (math-this-year):
3674 * emacs-lisp/copyright.el (copyright-current-year)
3675 (copyright-update-year, copyright):
3676 * tar-mode.el (tar-clip-time-string):
3677 * time.el (display-time-update):
3678 Don't assume years have 4 digits.
3679
78f3273a
CY
36802012-05-04 Chong Yidong <cyd@gnu.org>
3681
3682 * dos-w32.el (file-name-buffer-file-type-alist)
3683 (direct-print-region-use-command-dot-com):
3684 * ffap.el (ffap-menu-regexp):
3685 * find-file.el (ff-special-constructs):
3686 * follow.el (follow-debug):
3687 * forms.el (forms--debug):
3688 * iswitchb.el (iswitchb-all-frames):
3689 * ido.el (ido-all-frames):
3690 * emacs-lisp/timer.el (timer-max-repeats):
3691 * mail/feedmail.el (feedmail-mail-send-hook)
3692 (feedmail-mail-send-hook-queued):
3693 * mail/footnote.el (footnote-signature-separator):
3694 * mail/mailabbrev.el (mail-alias-separator-string)
3695 (mail-abbrev-mode-regexp):
3696 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3697 * progmodes/idlwave.el (idlwave-libinfo-file)
3698 (idlwave-default-completion-case-is-down)
3699 (idlwave-library-routines): Convert defvars to defcustoms.
3700
3701 * mail/rmail.el (rmail-decode-mime-charset):
3702 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3703 (idlwave-shell-fix-inserted-breaks)
3704 (idlwave-shell-activate-alt-keybindings)
3705 (idlwave-shell-use-breakpoint-glyph):
3706 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3707
f7ae6719
SM
37082012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3711
47086495
WS
37122012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3713
3714 * progmodes/verilog-mode.el (font-lock-keywords):
3715 Fix mis-highligting auto. Reported by Craig Barner.
3716 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3717 defines from global name space. Reported by Dan Dever.
3718 (verilog-auto-reset, verilog-auto-reset-widths)
3719 (verilog-auto-tieoff): Support using unbased numbers for
3720 AUTORESET and AUTOTIEOFF.
3721 (verilog-submit-bug-report): Update variable list.
3722 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3723 parenthesis from not matching. Reported by Michael Rytting.
3724 (verilog-auto-template-lint): Fix hash error when linting modules
3725 with no used templates.
3726 (verilog-warn, verilog-warn-error)
3727 (verilog-warn-fatal): When non-interactive report multiple
3728 warnings before exiting. Suggested by Brad Dobbie.
3729 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3730 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3731 to report unused template errors. Reported by Brad Dobbie.
3732 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3733 nets, bug438. Reported by Vns Blore.
3734 (verilog-auto-inout-module, verilog-auto-reg)
3735 (verilog-read-decls, verilog-read-sub-decls-sig)
3736 (verilog-signals-edit-wire-reg, verilog-signals-with):
3737 Fix passing of Verilog data types in ANSI input/output ports
3738 such as "output logic" into the AUTOs. Special case "wire" and
3739 "reg" for backwards compatibility presuming Verilog 2001.
3740 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3741 (verilog-preprocess): Fix replication of preprocess output.
3742 Reported by Brad Dobbie.
3743 (verilog-auto-inst-interfaced-ports):
3744 Create verilog-auto-inst-interfaced-ports, bug429.
3745 Reported by Julian Gorfajn.
3746 (verilog-after-save-font-hook)
3747 (verilog-before-save-font-hook): New variable.
3748 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3749 (verilog-save-font-mods): Wrap disabling fontification, reported
3750 by David Rogoff.
3751 (verilog-do-indent, verilog-pretty-declarations-auto)
3752 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3753 Reported by Pierre-David Pfister.
3754 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3755 of class declarations, bug292. Reported by Kevin Heilman.
3756 (verilog-read-decls): Fix 'parameter type' not appearing in
3757 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3758 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3759 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3760 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3761 Reported by David Kravitz.
3762
37632012-05-03 Michael McNamara <mac@mail.brushroad.com>
3764
3765 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3766 assignment with tests in ifs and for loops.
3767 (verilog-extended-complete-re, verilog-complete-reg): Change so
3768 that DPI inport functions don't look like fuction declarations.
3769 (verilog-pretty-expr): Don't line up assignment
3770 operations to the test and increment in if and for loops
3771 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3772 that DPI inport functions don't look like fuction declarations.
47086495 3773
2e51d4b5
KH
37742012-05-03 Kenichi Handa <handa@m17n.org>
3775
3776 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3777 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3778 (Bug#11282).
3779
2bd785a2
SM
37802012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * emacs-lisp/bytecomp.el
3783 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3784 since cconv.el might have introduced :fun-body, internal-make-closure,
3785 and friends for bytecomp to handle (bug#11391).
3786 * custom.el (defcustom): Avoid ((λ ..) ..).
3787
99d27583
SM
37882012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3791
55a71479
JB
37922012-05-02 Juanma Barranquero <lekktu@gmail.com>
3793
3794 * notifications.el (dbus-debug):
3795 * term/linux.el (gpm-mouse-enable):
3796 * term/screen.el (xterm-register-default-colors): Declare.
3797
7b97c764
CY
37982012-05-02 Chong Yidong <cyd@gnu.org>
3799
2bc356d7
CY
3800 * cus-start.el (gc-cons-percentage, exec-suffixes)
3801 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3802 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3803 (make-cursor-line-fully-visible, void-text-area-pointer)
3804 (font-list-limit): Add customization data.
3805
7b97c764
CY
3806 * allout.el (allout-exposure-change-functions)
3807 (allout-structure-added-functions)
3808 (allout-structure-deleted-functions)
3809 (allout-structure-shifted-functions): Rename abnormal hooks from
3810 *-hook, and convert to defcustoms.
5d3385a0
JB
3811 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3812 Convert to defcustoms.
7b97c764
CY
3813 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3814
3815 * allout-widgets.el: Hook callers changed.
3816
90207a15 38172012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3818
3819 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3820 the yanked message in preference to the default value of
3821 buffer-file-coding-system.
3822
90207a15 38232012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3824
5d3385a0
JB
3825 * window.el (display-buffer--action-function-custom-type):
3826 Fix entry.
d9558cad 3827
90207a15 38282012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3829
3830 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3831
d80ac57b
GM
38322012-05-01 Glenn Morris <rgm@gnu.org>
3833
976f7668
GM
3834 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3835
beb83b5a
GM
3836 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3837
d80ac57b
GM
3838 * cus-edit.el (custom-variable-documentation): Simplify with format.
3839
b593d6a9
AH
38402012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3841 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * simple.el (suggest-key-bindings, execute-extended-command):
3844 Move from keyboard.c.
3845
782fbf2a
CY
38462012-05-01 Chong Yidong <cyd@gnu.org>
3847
3848 * follow.el: Eliminate advice.
3849 (set-process-filter, process-filter, sit-for): Advice deleted.
3850 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3851 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3852 Vars deleted.
782fbf2a
CY
3853 (follow-auto): Use a :set function.
3854 (follow-mode): Rewritten. Don't advise process filters.
3855 (follow-switch-to-current-buffer-all, follow-scroll-up)
3856 (follow-scroll-down): Assume follow-mode is bound.
3857 (follow-comint-scroll-to-bottom)
3858 (follow-align-compilation-windows): New functions.
3859 (follow--window-sorter): New function.
3860 (follow-all-followers): Use it to explicitly sort windows by their
3861 positions; don't make assumptions about next-window order.
3862 (follow-windows-start-end, follow-delete-other-windows-and-split)
3863 (follow-calc-win-start): Doc fix.
3864 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3865 vertical-motion unnecessarily.
3866 (follow-adjust-window): New function.
3867 (follow-post-command-hook): Use it.
3868 (follow-call-set-process-filter, follow-call-process-filter)
3869 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3870 (follow-stop-intercept-process-output, follow-generic-filter):
3871 Functions deleted.
3872 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3873 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3874 New functions, replacing advice on scroll-bar-* commands.
87233a14 3875 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3876
3877 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3878 (comint-postoutput-scroll-to-bottom): Use it.
3879 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3880
290af740
GM
38812012-05-01 Glenn Morris <rgm@gnu.org>
3882
3883 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3884 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3885 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3886 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3887 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3888 Remove no-byte-compile setting.
3889
6eac8dc9
SM
38902012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3893 all-completions code to not return a number in the last cdr.
3894
9cc7819c
LL
38952012-04-30 Leo Liu <sdl.web@gmail.com>
3896
3897 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3898 read-only error.
3899
c93b886f
CY
39002012-04-29 Chong Yidong <cyd@gnu.org>
3901
3902 * follow.el (follow-calc-win-end): Rewrite to handle partial
3903 screen lines correctly (Bug#8390).
3904 (follow-avoid-tail-recenter): Minor cleanup.
3905
8b6c19f4
SM
39062012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 Avoid the obsolete `assoc' package.
3909 * speedbar.el (speedbar-refresh): Avoid adelete.
3910 (speedbar-file-lists): Simplify and avoid aput.
3911 * man.el (Man--sections, Man--refpages): New vars, replacing
3912 Man-sections-alist and Man-refpages-alist.
3913 (Man-build-section-alist, Man-build-references-alist):
3914 Use them; avoid aput.
3915 (Man--last-section, Man--last-refpage): New vars.
3916 (Man-follow-manual-reference): Use them.
3917 Use the `default' arg of completing-read.
3918 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3919
c5bb7569
CY
39202012-04-27 Chong Yidong <cyd@gnu.org>
3921
d1d2e2e8
CY
3922 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3923
15cd8efd
CY
3924 * startup.el (x-apply-session-resources): New function.
3925
3926 * term/ns-win.el (ns-initialize-window-system):
3927 * term/w32-win.el (w32-initialize-window-system):
3928 * term/x-win.el (x-initialize-window-system): Use it to properly
3929 set menu-bar-mode and other vars from X resources, even if the
3930 initial frame is not a window-system frame (Bug#2299).
3931
c5bb7569
CY
3932 * subr.el (read-key): Avoid running filter function when setting
3933 up temporary tool bar entries (Bug#9922).
3934
a8e7d6d7 39352012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3936
3937 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3938 (Bug#11344)
3939
a8e7d6d7 39402012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3941
3942 * select.el (xselect--encode-string): New function, split from
3943 xselect-convert-to-string.
3944 (xselect-convert-to-string): Use it.
3945 (xselect-convert-to-filename, xselect-convert-to-os)
3946 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3947 returned strings are properly encoded (Bug#11315).
3948
a8e7d6d7 39492012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3950
3951 * simple.el (delete-active-region): Move to killing custom group.
3952
a8e7d6d7 39532012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3954
3955 * progmodes/which-func.el (which-func-current): Quote %
3956 characters for mode-line processing.
3957
578c1d4b 39582012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3959
3960 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3961 reaching eob (Bug#11286).
3962
a8e7d6d7 39632012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3964
3965 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3966 (gdb): Make it buffer-local and init to zero.
3967 (gdb-control-commands-regexp): New variable.
3968 (gdb-send): Don't wrap in "-interpreter-exec console" if
3969 gdb-control-level is positive. Increment gdb-control-level
3970 whenever the command matches gdb-control-commands-regexp, and
3971 decrement it each time the command is "end". (Bug#11279)
3972
a8e7d6d7 39732012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3974
3975 * window.el (adjust-window-trailing-edge, enlarge-window)
3976 (shrink-window, window-resize):
3977 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3978 windows (Bug#11276).
3979
b3608390
CY
39802012-04-27 Chong Yidong <cyd@gnu.org>
3981
3982 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3983 fix "missing prefix" warning. All callers changed.
b3608390 3984
797e6e88
SM
39852012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * emacs-lisp/assoc.el: Move to obsolete/.
3988
e95a67dc
SM
39892012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3990
657c21e4 3991 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3992
3993 * term/ns-win.el (ns-define-service):
3994 * progmodes/pascal.el (pascal-goto-defun):
3995 * progmodes/js.el (js--read-tab):
3996 * progmodes/etags.el (tags-lazy-completion-table):
3997 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3998 * emacs-lisp/ewoc.el (ewoc--wrap):
3999 * emacs-lisp/assoc.el (aput, adelete, amake):
4000 * doc-view.el (doc-view-convert-current-doc):
4001 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4002
cb3e7ae0
CY
40032012-04-26 Chong Yidong <cyd@gnu.org>
4004
dce04f7f
CY
4005 * image.el (image-type-from-buffer): Only return supported image
4006 type (Bug#9045).
4007
cb3e7ae0
CY
4008 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4009 value, for symmetry with diff-end-of-hunk.
4010 (diff-split-hunk, diff-find-source-location)
4011 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4012 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4013 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4014 compute the relevant hunk or file properly (Bug#6005).
4015 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4016
0d42eb3e
SM
40172012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4018
4019 * vc/vc-mtn.el:
4020 * vc/vc-hg.el:
4021 * vc/vc-git.el:
4022 * vc/vc-dir.el:
4023 * vc/vc-cvs.el:
4024 * vc/vc-bzr.el:
4025 * vc/vc-arch.el:
4026 * vc/vc.el: Replace lexical-let by lexical-binding.
4027 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4028 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4029 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4030
f08ae1c9
CY
40312012-04-26 Chong Yidong <cyd@gnu.org>
4032
8b71081d
CY
4033 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4034 (diff-mode-shared-map): Bind it to / and [remap undo].
4035
f08ae1c9
CY
4036 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4037 (ediff-window-setup-function): Use it as the default, to set up
4038 windows based on whether the current frame is graphical (Bug#2138).
4039 (ediff-choose-window-setup-function-automatically): Make obsolete.
4040
4041 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4042
ef24141c
SM
40432012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4044
cc356a5d
SM
4045 * ffap.el: Remove old code for obsolete package.
4046 (ffap-complete-as-file-p): Remove.
4047
b4ff4f1f
SM
4048 Use completion-table-with-quoting for comint and pcomplete.
4049 * comint.el (comint--unquote&requote-argument)
4050 (comint--unquote-argument, comint--requote-argument): New functions.
4051 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4052 (comint-quote-filename): Use regexp-opt-charset.
4053 (comint--common-suffix, comint--common-quoted-suffix)
4054 (comint--table-subvert): Remove.
4055 (comint-unquote-function, comint-requote-function): New vars.
4056 (comint--complete-file-name-data): Use them with
4057 completion-table-with-quoting.
4058 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4059 * pcomplete.el (pcomplete-arg-quote-list)
4060 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4061 (pcomplete-unquote-argument-function): Default to non-nil.
4062 (pcomplete-unquote-argument): Simplify.
4063 (pcomplete--common-quoted-suffix): Remove.
4064 (pcomplete-requote-argument-function): New var.
4065 (pcomplete--common-suffix): New function.
4066 (pcomplete-completions-at-point): Use completion-table-with-quoting
4067 and completion-table-subvert.
4068
79c4eeb4
SM
4069 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4070 (minibuffer--double-dollars): Preserve properties.
4071 (completion--sifn-requote): New function.
4072 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4073
ef24141c
SM
4074 * minibuffer.el: Add support for completion of quoted/escaped data.
4075 (completion-table-with-quoting, completion-table-subvert): New funs.
4076 (completion--twq-try, completion--twq-all): New functions.
4077 (completion--nth-completion): New function.
4078 (completion-try-completion, completion-all-completions): Use it.
4079
784e7d6e
LL
40802012-04-25 Leo Liu <sdl.web@gmail.com>
4081
dd2ac746
SM
4082 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4083 Use compilation-message if available to find real filename.
784e7d6e 4084
07875ee7
CY
40852012-04-25 Chong Yidong <cyd@gnu.org>
4086
4087 * vc/diff-mode.el (diff-setup-whitespace): New function.
4088 (diff-mode): Use it.
4089
4090 * vc/diff.el (diff-sentinel):
4091 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4092 Whitespace mode variables based on diff style (Bug#8612).
4093
5055880d
LL
40942012-04-25 Leo Liu <sdl.web@gmail.com>
4095
daf75653
LL
4096 * progmodes/python.el (python-send-region): Add suffix .py to the
4097 temp file.
4098
5055880d
LL
4099 * files.el (auto-mode-alist): Use javascript-mode instead.
4100
db9b177b
AH
41012012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4102
ef24141c 4103 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4104
090bd7cb 4105 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4106 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4107 references, see Bug#9.
ef24141c 4108 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4109 when receiving a fault reply.
ef24141c 4110 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4111
090bd7cb 4112 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4113 (soap-inspect-simple-type): New function.
db9b177b 4114
090bd7cb 4115 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4116 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4117 (soap-decode-basic-type, soap-encode-basic-type):
4118 support unsignedInt and double basic types.
db9b177b 4119 (soap-resolve-references-for-simple-type)
ef24141c
SM
4120 (soap-parse-simple-type, soap-encode-simple-type): New function.
4121 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4122
090bd7cb 4123 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4124 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4125 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4126 the local name of "soapenc:Array".
4127 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4128 decoding integer, byte and anyURI xsd types.
4129
1fc6097b
CY
41302012-04-25 Chong Yidong <cyd@gnu.org>
4131
4132 * cus-edit.el (custom-buffer-create-internal): Update header text.
4133
afc6df87
EZ
41342012-04-25 Eli Zaretskii <eliz@gnu.org>
4135
4136 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4137 settings on 'system-type', not on 'window-system'. On MS-Windows,
4138 set interactive-mode on in GDB.
4139
dfbd787f
SM
41402012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4141
4142 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4143 (ruby-syntax-propertize-regexp): Remove.
4144 (ruby-syntax-propertize-function): Split regexp into chunks.
4145 Match following code directly.
4146
85222d44
DG
41472012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4148
51a8ea2a
DG
4149 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4150 (ruby-syntax-propertize-regexp): New function.
4151 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4152 by a special keyword.
4153
85222d44
DG
4154 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4155 (ruby-syntax-general-delimiters-goto-beg)
4156 (ruby-syntax-propertize-general-delimiters): New functions.
4157 (ruby-syntax-propertize-function): Use them to handle GDL.
4158 (ruby-font-lock-keywords): Move old handling of GDL...
4159 (ruby-font-lock-syntactic-keywords): .. to here.
4160 (ruby-calculate-indent): Adjust indentation for GDL.
4161
b613912b
MA
41622012-04-24 Michael Albinus <michael.albinus@gmx.de>
4163
b5380639
MA
4164 * notifications.el (top): Remove unneeded declarations.
4165 (notifications-specification-version): Change to "1.2".
e43042fe 4166 (notifications-interface, notifications-notify-method)
b613912b
MA
4167 (notifications-close-notification-method): Fix docstring.
4168 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4169 (notifications-notify): Add :action-items, :resident and
4170 :transient hints. Change "image_data" to "image-data" and
4171 "image_path" to "image-path".
b613912b
MA
4172 (notifications-get-capabilities): New defun.
4173
257440aa
LL
41742012-04-24 Leo Liu <sdl.web@gmail.com>
4175
4176 * progmodes/python.el: Move hideshow setup to the end.
4177
b1bac16e
MR
41782012-04-24 Martin Rudalics <rudalics@gmx.at>
4179
4180 * window.el (handle-select-window): Clear echo area since this is
4181 no more done by read_char (Bug#11304).
4182
d81bd059
SM
41832012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4184
4185 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4186 and `/ M' to filter-derived-mode.
4187 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4188 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4189 (ibuffer-mark-by-mode): Use default rather than initial-input.
4190 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4191
c4cf6d91
IA
41922012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4193
4194 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4195 (ibuffer-filter-by-derived-mode): New filter.
4196 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4197
7511ded8
CY
41982012-04-23 Andreas Politz <politza@fh-trier.de>
4199
4200 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4201
775c916b
CY
42022012-04-23 Chong Yidong <cyd@gnu.org>
4203
4204 * cus-edit.el (customize-apropos, customize-apropos-options):
4205 Disable matching of non-option variables (Bug#11176).
4206 (customize-option, customize-option-other-window)
4207 (customize-changed-options): Doc fix.
4208 (customize-apropos-options, customize-apropos-faces)
4209 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4210
4211 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4212 Fix word list splitting (Bug#11132).
46c71e23
CY
4213 (apropos-symbol, apropos-keybinding, apropos-label)
4214 (apropos-property, apropos-function-button)
4215 (apropos-variable-button, apropos-misc-button): New faces.
4216 (apropos-symbol-face, apropos-keybinding-face)
4217 (apropos-label-face, apropos-property-face, apropos-match-face):
4218 Variables removed (Bug#8396).
4219 (apropos-library-button, apropos-format-plist, apropos-print)
4220 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4221
2df41f9c
MA
42222012-04-23 Michael Albinus <michael.albinus@gmx.de>
4223
4224 * net/xesam.el (xesam-mode-map): Use let-bound map in
4225 initialization. (Bug#11292)
4226
da00640a
AM
42272012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4228
4229 Preserve ispell session localwords when switching back to
4230 original buffer.
4231
090bd7cb
JB
4232 * textmodes/ispell.el (ispell-buffer-session-localwords):
4233 New buffer-local variable to hold buffer session localwords.
ed9265fc 4234 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4235 localwords.
4236 (ispell-command-loop, ispell-change-dictionary)
4237 (ispell-buffer-local-words): Preserve session localwords when
4238 needed.
4239
090bd7cb
JB
4240 * textmodes/flyspell.el (flyspell-process-localwords)
4241 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4242
f621ccf5
AM
42432012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4244
090bd7cb
JB
4245 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4246 using obsolete `translation-table-for-input'.
ef24141c
SM
4247 (ispell-word, ispell-process-line, ispell-complete-word):
4248 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4249
c2d1019e
CY
42502012-04-22 Chong Yidong <cyd@gnu.org>
4251
4252 * cus-edit.el (custom-variable-menu)
4253 (custom-variable-reset-saved, custom-face-menu)
4254 (custom-face-reset-saved): If there is no saved value, make the
4255 "reset-saved" operation bring back the default (Bug#9509).
4256 (custom-face-state): Properly detect themed faces.
4257
eeddc531
CY
4258 * faces.el (face-spec-set): Stop supporting deprecated form of
4259 third arg.
4260
dcbf5805
MA
42612012-04-22 Michael Albinus <michael.albinus@gmx.de>
4262
4263 Move functions from C to Lisp. Make non-blocking method calls
4264 the default. Implement further D-Bus standard interfaces.
4265
ef24141c
SM
4266 * net/dbus.el (dbus-message-internal): Declare function.
4267 Remove unneeded function declarations.
dcbf5805
MA
4268 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4269 (dbus-message-type-method-return, dbus-message-type-error)
4270 (dbus-message-type-signal): Declare variables. Remove local
4271 definitions.
4272 (dbus-interface-dbus, dbus-interface-peer)
4273 (dbus-interface-introspectable, dbus-interface-properties)
4274 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4275 Adapt docstring.
4276 (dbus-interface-objectmanager): New defconst.
4277 (dbus-call-method, dbus-call-method-asynchronously)
4278 (dbus-send-signal, dbus-method-return-internal)
4279 (dbus-method-error-internal, dbus-register-service)
4280 (dbus-register-signal, dbus-register-method): New defuns, moved
4281 from dbusbind.c
4282 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4283 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4284 New defuns.
dcbf5805
MA
4285 (dbus-call-method-non-blocking): Make it an obsolete function.
4286 (dbus-unregister-object, dbus-unregister-service)
4287 (dbus-handle-event, dbus-register-property)
4288 (dbus-property-handler): Obey the new structure of
4289 `bus-registered-objects'.
4290 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4291 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4292 Use `dbus-call-method'.
4293
cf20dee0
CY
42942012-04-22 Chong Yidong <cyd@gnu.org>
4295
4296 * cus-edit.el (custom-commands, custom-reset-menu)
4297 (Custom-reset-standard): Tweak labels.
4298 (custom-reset-button-menu): Change default to t.
4299 (custom-buffer-create-internal): For the custom-reset-button-menu
4300 case, put the revert button first.
4301 (custom-group-subtitle): New face.
4302 (custom-group-value-create): Align docstring to a specific column.
4303
4304 * wid-edit.el (widget-documentation-link-add): Don't handle
4305 indentation in this function.
4306 (widget-documentation-string-indent-to): New function.
4307 (widget-documentation-string-value-create): Use it.
4308
4309 * autorevert.el (auto-revert):
4310 * epg-config.el (epg):
4311 * ibuffer.el (ibuffer):
4312 * mpc.el (mpc):
4313 * ses.el (ses):
4314 * eshell/eshell.el (eshell):
4315 * net/ange-ftp.el (ange-ftp):
4316 * progmodes/ebnf2ps.el (postscript):
4317 * progmodes/flymake.el (flymake):
4318 * progmodes/prolog.el (prolog):
4319 * progmodes/verilog-mode.el (verilog-mode):
4320 * progmodes/which-func.el (which-func):
4321 * term/xterm.el (xterm):
4322 * textmodes/picture.el (picture):
4323 * textmodes/tildify.el (tildify):
4324 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4325 customization buffers.
4326
583e23bd
AM
43272012-04-22 Alan Mackenzie <acm@muc.de>
4328
4329 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4330 Adding a ) can hide the resulting (..) from searches. Fix it.
4331 Bound the backward search to the position of the existing (.
4332
7dd51bf1
JB
43332012-04-21 Juanma Barranquero <lekktu@gmail.com>
4334
4335 * progmodes/verilog-mode.el (verilog-mode): Check whether
4336 which-func-modes is t before adding verilog-mode.
4337 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4338
d64a438f
LL
43392012-04-21 Leo Liu <sdl.web@gmail.com>
4340
7dd51bf1 4341 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4342
081e8d65
MV
43432012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4344
4345 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4346 filling of the last column of a table (Bug#5635).
4347 (woman-find-next-control-line): New arg, specifying an additional
4348 regexp component for the control line.
4349 (woman2-roff-buffer): Use it.
4350 (woman-break-table): New function.
4351 (woman2-TS): Use it.
4352
43532012-04-21 Chong Yidong <cyd@gnu.org>
4354
4355 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4356 (woman-horizontal-escapes, woman-negative-vertical-space)
4357 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4358 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4359
ed571ccb
SM
43602012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * minibuffer.el (completion-file-name-table): Complete user names.
4363
39773899
LL
43642012-04-20 Leo Liu <sdl.web@gmail.com>
4365
4366 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4367 and pcase-let*.
4368
de6ff46d
CY
43692012-04-20 Chong Yidong <cyd@gnu.org>
4370
4371 * server.el (server-execute): Respect initial-buffer-choice if it
4372 is a string and there are no files to open (Bug#2825).
4373 (server-create-window-system-frame, server-create-tty-frame):
4374 Don't switch buffers here.
2d0e8e61
CY
4375 (server-process-filter): Only try to open a window system frame if
4376 compiled with graphical support (Bug#8314).
de6ff46d 4377
54071013
DN
43782012-04-20 Dan Nicolaescu <dann@gnu.org>
4379
4380 * battery.el (battery-echo-area-format): Display remaining time
4381 for sysfs backend too (Bug#11269).
4382 (battery-linux-sysfs): Fix conditional for the charge.
4383
f30d612a
CY
43842012-04-20 Chong Yidong <cyd@gnu.org>
4385
c07a4c0b 4386 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4387 (gdb-inferior-io--init-proc): New function.
4388 (gdb-init-1): Use it.
4389 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4390 responsible for allocating a new pty and hooking it to gdb when
4391 the old pty gets an EIO due to process exit.
4392 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4393 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4394 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4395
2116e93c
EZ
43962012-04-20 Eli Zaretskii <eliz@gnu.org>
4397
4398 * window.el (window-min-size, window-sizable, window-min-delta)
4399 (window-max-delta, window--resizable, window-resizable)
4400 (window-total-size, window-full-height-p, window-full-width-p)
4401 (window-in-direction, window--resize-mini-window, window-resize)
4402 (window--resize-child-windows-normal)
4403 (window--resize-child-windows, window--resize-siblings)
4404 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4405 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4406
c07a4c0b 44072012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4408
ef24141c
SM
4409 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4410 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4411 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4412 pty process (Bug#11273).
4413 (gdb-update): New arg to suppress talking to the gdb process.
4414 (gdb-done-or-error): Use it.
4415 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4416 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4417 sentinel not being called.
4418
4419 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4420
d02766ab
CY
4421 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4422
c07a4c0b 44232012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4424
4425 * net/network-stream.el (open-network-stream): Doc fix.
4426
c07a4c0b 44272012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4428
4429 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4430
c07a4c0b 44312012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4432
4433 Ensure searching for keywords is case sensitive.
4434
4435 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4436 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4437 (c-defun-name, c-mark-function, c-cpp-define-name)
4438 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4439 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4440
ef24141c
SM
4441 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4442 Bind case-fold-search to nil.
f0f6bc35 4443
c07a4c0b 44442012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4445
4446 * mail/sendmail.el (mail-bury): Call return action with the right
4447 Rmail buffer (Bug#11242).
4448
9a864fa2
CY
4449 * server.el (server-process-filter): Handle corner case where both
4450 tty and nowait options are present (Bug#11102).
4451
539aa513
EZ
44522012-04-20 Eli Zaretskii <eliz@gnu.org>
4453
4454 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4455 (top level): Put into the executable the ident-style '$Id:' tag on
4456 windows-nt as well.
539aa513 4457
cfc7d5da
SM
44582012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * electric.el (electric-indent-post-self-insert-function): Check that
4461 electric-indent-mode is enabled in current buffer.
4462
5b01685c
JB
44632012-04-19 Juanma Barranquero <lekktu@gmail.com>
4464
4465 * imenu.el (imenu-progress-message): Restore; it is "used" in
4466 erc/erc-imenu.el and net/snmp-mode.el.
4467
4d6769e1
JB
44682012-04-19 Juanma Barranquero <lekktu@gmail.com>
4469
4470 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4471 (mouse-avoidance-nudge-mouse): Remove unused binding.
4472
4473 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4474
4475 * descr-text.el (describe-char):
4476 * progmodes/python.el (python-describe-symbol):
4477 Don't call `toggle-read-only', set `buffer-read-only'.
4478
4479 * imenu.el (imenu-default-goto-function): Mark unused args.
4480 (imenu-progress-message): Remove obsolete macro; all callers changed.
4481
4482 * subr.el (keymap-canonicalize): Remove unused binding.
4483 (read-passwd): Mark unused arg.
4484
4485 * tutorial.el (tutorial--display-changes): Remove unused binding.
4486 (tutorial--save-tutorial-to): Remove unused variable.
4487
4488 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4489 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4490 (package-generate-autoloads, package-menu--generate)
4491 (package-menu--find-upgrades): Remove unused bindings.
4492
4493 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4494 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4495 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4496 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4497 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4498 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4499 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4500 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4501 (cua-delete-char-rectangle): Mark unused args.
4502 (cua-align-rectangle): Remove unused binding.
4503
4504 * mail/rmail.el (compilation--message->loc)
4505 (epa--find-coding-system-for-mime-charset): Declare.
4506
4507 * net/dbus.el (dbus-register-service): Declare.
4508 (dbus-name-owner-changed-handler): Remove unused binding.
4509
4510 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4511 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4512 (nxml-scan-backward-within): Mark unused arg.
4513 (nxml-dynamic-markup-word): Remove unused binding.
4514
4515 * mouse.el (mouse-menu-major-mode-map):
4516 * emacs-lisp/authors.el (authors-scan-change-log)
4517 (authors-add-to-author-list):
4518 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4519 * emacs-lisp/smie.el (smie-auto-fill):
4520 * mail/sendmail.el (mail-bury):
4521 * mail/unrmail.el (unrmail):
4522 * net/tls.el (open-tls-stream):
4523 * textmodes/picture.el (picture-mouse-set-point):
4524 Remove unused bindings.
4525
8c8fc5df
MA
45262012-04-19 Michael Albinus <michael.albinus@gmx.de>
4527
4528 * net/tramp.el (tramp-action-password): Let-bind
4529 `enable-recursive-minibuffers' to t.
4530
a77b0ac9
SS
45312012-04-18 Sam Steingold <sds@gnu.org>
4532
4533 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4534 instead of 'string to accommodate values like [f11].
4535 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4536 * progmodes/gdb-mi.el: Likewise.
4537
12a106a9
LL
45382012-04-18 Leo Liu <sdl.web@gmail.com>
4539
4540 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4541 current buffer.
4542 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4543 LOCAL is nil.
4544
bc6494ef
CY
45452012-04-18 Chong Yidong <cyd@gnu.org>
4546
4547 * simple.el (line-move): Use forward-line if in batch mode
4548 (Bug#11053).
4549
c09c46b2
CS
45502012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4551
4552 * files.el (after-find-file): Do not try to add a final newline if
4553 the buffer is read-only (Bug#11156).
4554
5f6530ea
RS
45552012-04-17 Richard Stallman <rms@gnu.org>
4556
4557 * mail/rmail.el (rmail-start-mail):
4558 Pass (rmail-mail-return...) for the return-action.
4559 Pass (rmail-yank-current-message...) for the yank-action.
4560 (rmail-yank-current-message): New function.
4561 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4562 (rmail-reply): Likewise.
4563 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4564
4565 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4566 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4567 buffer, not newbuf.
4568
197b6f3c
JB
45692012-04-17 Juanma Barranquero <lekktu@gmail.com>
4570
4571 * server.el (server-ensure-safe-dir): Simplify.
4572
2311d8e5 45732012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4574
2311d8e5
GM
4575 * emacs-lisp/smie.el: Provide smarter auto-filling.
4576 (smie-auto-fill): New function.
4577 (smie-setup): Use it.
98fb480e 4578
2311d8e5
GM
4579 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4580
45812012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4582
4583 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4584 (comment-indent): Use it.
4585
2311d8e5 45862012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4587
4588 * ses.el: The overall change is to add cell renaming, that is
4589 setting fancy names for cell symbols other than name matching
4590 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4591 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4592 (ses-create-cell-variable): New defun.
2311d8e5 4593 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4594 (ses-relocate-formula): Relocate formulas only for cells the
4595 symbols of which are not renamed, i.e. symbols whose names do not
4596 match regexp "\\`[A-Z]+[0-9]+\\'".
4597 (ses-relocate-all): Relocate values only for cells the symbols of
4598 which are not renamed.
4599 (ses-load): Create cells variables as the (ses-cell ...) are read,
4600 in order to check row col consistency with cell symbol name only
4601 for cells that are not renamed.
4602 (ses-replace-name-in-formula): New defun.
4603 (ses-rename-cell): New defun.
4bdf2ad2 4604
fc72b15c
PO
46052012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4606
4607 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4608 New option (bug#11118).
4609 (perl-calculate-indent): Respect it.
4610
12e10e61
GM
46112012-04-17 Glenn Morris <rgm@gnu.org>
4612
4613 * dired-aux.el (dired-mark-read-string): Doc fix.
4614
30009afd
DA
46152012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4616
4617 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4618 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4619
41f03f4d
GM
46202012-04-17 Glenn Morris <rgm@gnu.org>
4621
4622 * mouse.el (mouse-drag-track):
4623 * speedbar.el (speedbar-frame-mode):
4624 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4625
f45f90f3
LL
46262012-04-16 Leo Liu <sdl.web@gmail.com>
4627
4628 * progmodes/python.el: Trivial cleanup.
4629
94ee8db5
GM
46302012-04-16 Glenn Morris <rgm@gnu.org>
4631
121b8917
GM
4632 * vc/vc.el (vc-string-prefix-p):
4633 * vc/pcvs-util.el (cvs-string-prefix-p):
4634 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4635 * mpc.el (mpc-string-prefix-p):
4636 Make all of these into obsolete aliases for string-prefix-p.
4637 Update callers.
4638 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4639
1197ecfa
GM
4640 * textmodes/two-column.el: Move custom options to the start.
4641 (frame-width): Remove compat definition.
4642 (2C-associate-buffer, 2C-dissociate):
4643 Use with-current-buffer rather than save-excursion.
4644 (2C-dissociate): Force a mode-line update.
4645 (2C-autoscroll): Use ignore-errors.
4646
099e7202
GM
4647 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4648 Autoload trivia.
4649
bf350d6a
GM
4650 * emacs-lisp/cl-extra.el (*random-state*):
4651 Remove unnecessary declaration.
4652
0e829eab
GM
4653 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4654
e3ad7552
GM
4655 * play/cookie1.el (cookie-snarf):
4656 Give an explicit error if input file cannot be read.
4657
68892d27
GM
4658 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4659
20f0c46d
GM
4660 * progmodes/perl-mode.el (c-macro-expand):
4661 Remove unnecessary autoload (it is in loaddefs.el).
4662
5a0978ce
GM
4663 * textmodes/picture.el (picture-desired-column)
4664 (picture-update-desired-column): Convert comments to doc-strings.
4665 (picture-substitute): Remove function.
4666 (picture-mode-map): Initialize in the defvar.
4667
6b955486
GM
4668 * woman.el: Remove eval-after-load for tar-mode.
4669 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4670 (woman-tar-extract-file): Autoload it.
4671
94ee8db5
GM
4672 * frame.el (automatic-hscrolling): Make this alias obsolete.
4673
177eca34
AM
46742012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4675
090bd7cb 4676 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4677 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4678 (ispell-dictionary-base-alist): Revert to original XEmacs
4679 friendly version for default. [:alpha:] will be added in
090bd7cb 4680 `ispell-set-spellchecker-params' if needed.
177eca34 4681
c505aaeb
CY
46822012-04-16 Chong Yidong <cyd@gnu.org>
4683
b19dd9d1 4684 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4685 (imagemagick-register-types): Use it.
4686 (imagemagick-types-inhibit): Add :set function. Allow new value
4687 of t to inhibit all types.
4688
4689 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4690 so we can preload it.
4691
4692 * loadup.el (fboundp): Preload regexp-opt, needed by
4693 imagemagick-register-types.
4694
60efac0f
CY
46952012-04-15 Chong Yidong <cyd@gnu.org>
4696
4697 * frame.el (scrolling): Remove nearly unused customization group.
4698
4699 * scroll-all.el (scroll-all-mode): Move to windows group.
4700
5dd1713e
CY
47012012-04-15 Chong Yidong <cyd@gnu.org>
4702
4703 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4704
e6fd457e
CY
47052012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4708 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4709
e153c136
GM
47102012-04-15 Glenn Morris <rgm@gnu.org>
4711
4712 * simple.el (process-file-side-effects): Doc fix.
4713
e6fd457e 47142012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4715
4716 * international/mule-cmds.el (set-language-environment): Doc fix.
4717
3603c3b1
JB
47182012-04-14 Juanma Barranquero <lekktu@gmail.com>
4719
4720 * server.el (server-auth-key, server-generate-key): Doc fixes.
4721 (server-get-auth-key): Doc fix. Use `string-match-p'.
4722 (server-start): Reflow docstring.
4723
e6de100c
LI
47242012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4725
4726 * server.el (server-generate-key): `called-interactively-p'
4727 requires a parameter.
4728
29734c21
MN
47292012-04-14 Michal Nazarewicz <mina86@mina86.com>
4730
4731 * server.el (server-auth-key): New variable.
75f1671a 4732 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4733 (server-start): Use the new variable and functions to allow
4734 setting a permanent server key (bug#9423).
4735
d65c9521
LL
47362012-04-14 Leo Liu <sdl.web@gmail.com>
4737
4738 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4739
5ae255c7
PE
47402012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4741
4742 Spelling fixes.
4743 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4744 Emacs uses American spelling.
4745
d5e6342e
JB
47462012-04-14 Juanma Barranquero <lekktu@gmail.com>
4747
4748 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4749 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4750 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4751 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4752
ab036cd7
SM
47532012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4754
4755 * progmodes/which-func.el (which-func-modes): Change default.
4756
35dc09a1 47572012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4758
4759 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4760 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4761
35dc09a1 47622012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4763
4764 * custom.el (custom-theme-set-variables): Doc fix.
4765
35dc09a1 47662012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4767
4768 * international/mule.el (set-auto-coding-for-load): Doc fix.
4769
35dc09a1 47702012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4771
35dc09a1
GM
4772 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4773 imenu work again for Objective C Mode. Correct the *-index values,
4774 these having been disturbed by a previous change in 2011-08.
57f845ee 4775
0de3da9f
AM
4776 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4777 Correct two search limits.
4778
35dc09a1 47792012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4780
4781 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4782
35dc09a1 47832012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4784
4785 * international/characters.el: Fix sorting.
4786
35dc09a1 47872012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4788
4789 * international/characters.el: Add more missing Latin case pairs.
4790
35dc09a1 47912012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4792
4793 * files.el (dir-locals-set-class-variables): Doc fix.
4794
35dc09a1 47952012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4796
3f1b5bf8
EZ
4797 * international/characters.el: Add set-case-syntax-pair call for
4798 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4799 counterpart. (Bug#11209)
4800
9f847f41
EZ
4801 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4802
35dc09a1 48032012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4804
4805 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4806
35dc09a1 48072012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4808
35dc09a1
GM
4809 * textmodes/ispell.el (ispell-dictionary-base-alist):
4810 Add data for Hebrew.
e2627d21 4811
35dc09a1 48122012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4813
35dc09a1
GM
4814 * net/rcirc.el (rcirc-cmd-quit):
4815 Revert 2012-03-18 change (Bug#11192).
5c14e333 4816
35dc09a1 48172012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4818
4819 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4820
35dc09a1 48212012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4822
4517fe3a
SM
4823 * minibuffer.el (completion-in-region-mode-map):
4824 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4825
b472a594
VD
48262012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4827
4828 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4829
09b95ce3
MY
48302012-04-13 Masatake YAMATO <yamato@redhat.com>
4831
4832 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4833 to allow `C-M-f' and `C-M-b' to move to the nearest path
4834 separator (bug#9511).
4835
4b63a9ca
LI
48362012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4837
4838 * avoid.el: Require cl when compiling. And also move the
4839 `provide' to the end.
4840
7b55b8bf
TV
48412012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4842
4843 * avoid.el (mouse-avoidance-banish-position): New variable.
4844 (mouse-avoidance-banish-destination): Use it (bug#10165).
4845
adedaa1f
LL
48462012-04-13 Leo Liu <sdl.web@gmail.com>
4847
4848 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4849
70e74021
KB
48502012-04-13 Ken Brown <kbrown@cornell.edu>
4851
4852 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4853 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4854 (browse-url-filename-alist): For the same reason, don't modify
4855 file:// URLs on Cygwin.
4856
e75e89ba
SM
48572012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4860 the region on shift if the binding is already shifted (bug#11221).
4861
82f289a4
GM
48622012-04-12 Glenn Morris <rgm@gnu.org>
4863
4864 * mail/mailpost.el: Move to obsolete/.
4865
d333dc4c
DA
48662012-04-12 Drew Adams <drew.adams@oracle.com>
4867
4868 * imenu.el (imenu--generic-function): Ignore invisible definitions
4869 (bug#10123).
4870
0d15b5ba
VD
48712012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4872
4873 * hexl.el (hexl-bits): New variable.
4874 (hexl-options): Mention the variable in the doc string.
75f1671a 4875 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4876 (hexl-mode): Mention the new variable.
75f1671a
JB
4877 (hexl-mode, hexl-current-address, hexl-current-address):
4878 Use the displen.
0d15b5ba
VD
4879 (hexl-ascii-start-column): New function.
4880 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4881 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4882
64a440db
AM
48832012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4884
4885 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4886 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4887 the encoding, as expected by hunspell.
4888
6decb6c2
SM
48892012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * battery.el (battery--linux-sysfs-regexp): New const.
4892 (battery-status-function): Use it. Remove yeeloong special case.
4893 (battery-yeeloong-sysfs): Remove.
4894 (battery-echo-area-format): Remove yeeloong special case.
4895
088be6fb
SM
48962012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4897
6622e416
SM
4898 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4899 Reported by Noah Friedman.
4900
088be6fb
SM
4901 * subr.el (read-passwd): Use read-string.
4902
b49f886e
LMI
49032012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4904
4905 * vcursor.el (vcursor-move): Increase the priority of the overlay
4906 (bug#9663).
4907
a63067fc
DD
49082012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4909
4910 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4911 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4912
ac3cf14a
WS
49132012-04-11 William Stevenson <yhvh2000@gmail.com>
4914
4915 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4916 define-minor-mode (bug#10760).
4917
c4fc691b 49182012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4919
4d6769e1 4920 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4921 that directories matching `grep-find-ignored-files' won't be
4922 pruned (bug#10351).
4923
af23e2e5
CY
49242012-04-11 Chong Yidong <cyd@gnu.org>
4925
4926 * startup.el (command-line): Remove support for long-obsolete
4927 variable font-lock-face-attributes.
4928
ab7ce8c1
GM
49292012-04-11 Glenn Morris <rgm@gnu.org>
4930
4931 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4932
de8c03dc
SM
49332012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * window.el (window--state-get-1): Obey window-point-insertion-type.
4936
050cc68b
LB
49372012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4938
4939 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4940 to previous function when point is on the first character of a
75f1671a 4941 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4942
a38c310c
GM
49432012-04-11 Glenn Morris <rgm@gnu.org>
4944
effed0c2
GM
4945 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4946 not just file-errors.
4947
a38c310c
GM
4948 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4949 (vc-bzr-sha1): Use internal sha1.
4950
0221e323
SM
49512012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4952
4953 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4954
43956923
SG
49552012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4956
4957 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4958 that start in the middle of the line (bug#10496).
4959
6a8c9eaf
DN
49602012-04-10 Dan Nicolaescu <dann@gnu.org>
4961
4962 * battery.el (battery-linux-proc-acpi): Only one battery is
4963 discharged at a time, but that seems to confuse battery.el when
4964 computing `rate-type' for the battery not being discharged
4965 (bug#10332).
4966
1930bf5d
SM
49672012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4968
2a718f6f
SM
4969 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4970
599430d0
SM
4971 * international/quail.el: Use dolist and simplify.
4972 (quail-define-package, quail-update-keyboard-layout)
4973 (quail-define-rules): Use dolist.
4974 (quail-insert-kbd-layout, quail-get-translation): CSE.
4975
a2754b6c
SM
4976 * tmm.el: Use dolist, remove left over hook.
4977 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4978 Use dolist.
4979 (calendar-load-hook): Don't mess with it.
4980
1930bf5d
SM
4981 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4982 Use derived-mode-p. Run the diff asynchronously.
4983
9f67961c
LMI
49842012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4985
4986 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4987
2a8ce227
JB
49882012-04-10 Juanma Barranquero <lekktu@gmail.com>
4989
4990 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4991 (list-dynamic-libraries--loaded): New function.
4992 (list-dynamic-libraries--refresh): Use it.
4993
8f33b5f8
NW
49942012-04-10 Nathan Weizenbaum <nweiz@google.com>
4995
1930bf5d
SM
4996 * progmodes/python.el (python-fill-paragraph):
4997 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4998 disabled (bug#7018).
4999
b12f0439
L
50002012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5001
1930bf5d 5002 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5003 DOS/MS Windows for the Baltic languages. There are still plenty
5004 of texts written in this encoding/codepage (bug#6519).
b12f0439 5005
57c3bd01
GM
50062012-04-10 Glenn Morris <rgm@gnu.org>
5007
5008 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5009 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5010
6c3eab30
FA
50112012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5012
1930bf5d 5013 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5014 next-line "n" and previous-line "p" in order to make recentf more
5015 consistent with ibuffer, dired or org-mode (bug#9387).
5016
24d78a88
LMI
50172012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5018
bc72b5d9
LMI
5019 * image.el (put-image): Return the overlay created instead of the
5020 optional input string (bug#7834). Note that this may break code
5021 that is (for some reason or other) depending on `put-image'
5022 returning the string.
5023
bd2dba5a
LMI
5024 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5025
74beb59f
LMI
5026 * simple.el (zap-to-char): Allow zapping using input methods
5027 (bug#1580).
5028
24d78a88
LMI
5029 * textmodes/fill.el (fill-region): Leave point and mark where they
5030 were before filling (bug#5399).
5031
263f20cd
GM
50322012-04-09 Glenn Morris <rgm@gnu.org>
5033
5034 * version.el (emacs-bzr-get-version):
5035 Handle lightweight checkouts of local branches.
5036
58d1f797
AS
50372012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5038
263f20cd 5039 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5040
b4d3bc10
CY
50412012-04-09 Chong Yidong <cyd@gnu.org>
5042
5043 * custom.el (custom-variable-p): Return nil for non-symbol
5044 arguments instead of signaling an error.
5045 (user-variable-p): Obsolete alias for custom-variable-p.
5046
5047 * apropos.el (apropos-variable):
5048 * files-x.el (read-file-local-variable):
5049 * simple.el (set-variable):
5050 * woman.el (woman-mini-help):
5051 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5052
fd06db5d
GM
50532012-04-09 Glenn Morris <rgm@gnu.org>
5054
e5fcdb5e
GM
5055 * startup.el (normal-top-level): Don't look for leim-list.el
5056 in places where it will not be found. (Bug#910)
5057
fd06db5d
GM
5058 * international/mule-cmds.el (set-default-coding-systems):
5059 * files.el (normal-mode):
5060 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5061 This function was removed with ucs-tables.el in 2008.
5062
b39bb7e1
EZ
50632012-04-08 Eli Zaretskii <eliz@gnu.org>
5064
5065 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5066 ispell-encoding8-command to "-i", without a trailing space.
5067 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5068 separate command-line arguments, to specify the encoding, since
5069 that's how hunspell expects it.
5070
5c5b8e23
GM
50712012-04-08 Glenn Morris <rgm@gnu.org>
5072
5073 * loadup.el: Load bindings before cus-start.
5074 This reduces somewhat the number of "rogue" settings in emacs -Q.
5075
a1ed8b05
GM
50762012-04-07 Glenn Morris <rgm@gnu.org>
5077
5078 * version.el (emacs-bzr-get-version): New function.
dfae128a 5079 (emacs-bzr-version): New variable.
a1ed8b05
GM
5080 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5081 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5082
b142f158
EZ
50832012-04-07 Eli Zaretskii <eliz@gnu.org>
5084
dfae128a
GM
5085 * international/uni-bidi.el, international/uni-category.el:
5086 * international/uni-combining.el, international/uni-decimal.el:
5087 * international/uni-decomposition.el, international/uni-digit.el:
5088 * international/uni-lowercase.el, international/uni-mirrored.el:
5089 * international/uni-name.el, international/uni-numeric.el:
5090 * international/uni-titlecase.el, international/uni-uppercase.el:
5091 Update for Unicode 6.1.
b142f158 5092
9078ead6
EZ
50932012-04-07 Eli Zaretskii <eliz@gnu.org>
5094
5095 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5096
f23d2c7d
LMI
50972012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5098
5099 * window.el (shrink-window): Mention the `window-min-height'
5100 variable in the doc string.
5101
0a0a3573
BG
51022012-04-05 Bastien Guerry <bzg@altern.org>
5103
5104 * color.el (color-lighten-name): Fix typo.
5105
e5248ac9
SM
51062012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * server.el (server--on-display-p): New function.
5109 (server--on-display-p): Use it.
5110
b4243e22
GV
51112012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5112
5113 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5114 (bug#11145).
5115
305d9f44
SM
51162012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * comint.el (comint--common-quoted-suffix): Check string boundary
5119 before comparing (bug#11158).
5120 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5121
3d439cd1
CY
51222012-04-04 Chong Yidong <cyd@gnu.org>
5123
321cc491
CY
5124 * minibuffer.el (completion-extra-properties): Doc fix.
5125
3d439cd1
CY
5126 * subr.el (delayed-warnings-hook): Doc fix.
5127
2d562c0f
DU
51282012-04-04 Daiki Ueno <ueno@unixuser.org>
5129
5130 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5131 selection (Bug#11159).
5132 (epa-insert-keys): Inform that the default public key will be
5133 exported if no key is selected.
5134
4443f204
RS
51352012-04-04 Richard Stallman <rms@gnu.org>
5136
5137 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5138
529c06b6
CY
51392012-04-03 Chong Yidong <cyd@gnu.org>
5140
5141 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5142 mail-insert-file, not its obsolete alias mail-attach-file.
5143
66b907dc
MA
51442012-04-03 Michael Albinus <michael.albinus@gmx.de>
5145
5146 * notifications.el (notifications-notify): Fix docstring.
5147
c0ea195d
GM
51482012-04-02 Glenn Morris <rgm@gnu.org>
5149
5150 * emacs-lisp/authors.el (authors-aliases): Another addition.
5151
5ca64e00
MA
51522012-04-02 Michael Albinus <michael.albinus@gmx.de>
5153
5154 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5155 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5156 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5157
42ee526b
CY
51582012-04-01 Chong Yidong <cyd@gnu.org>
5159
5160 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5161 Handle root directory properly.
5162 (copy-directory): Caller changed.
5163
5164 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5165 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5166
0b021094
GM
51672012-03-31 Glenn Morris <rgm@gnu.org>
5168
40f86458
GM
5169 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5170
7019c177
GM
5171 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5172
a1daddd6
GM
5173 * calendar/calendar.el (calendar-window-list)
5174 (calendar-hide-window): Restore. (Bug#11140)
5175 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5176
0b021094
GM
5177 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5178
40311efc
TV
51792012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5180
5181 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5182 Check if file is a symlink (Bug#10489).
5183
5184 * files.el (copy-directory): Likewise.
5185
5319014e
CY
51862012-03-30 Chong Yidong <cyd@gnu.org>
5187
5188 * image.el (imagemagick-types-inhibit)
5189 (imagemagick-register-types): Doc fix.
5190
935d1290
AM
51912012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5192
090bd7cb 5193 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5194 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5195 and treats ~word as ordinary words in pipe mode.
935d1290 5196
61c6e8fd
GM
51972012-03-30 Glenn Morris <rgm@gnu.org>
5198
5199 * tutorial.el (help-with-tutorial): Ensure local variables don't
5200 happen to make the buffer read-only. (Bug#11127)
5201
81fdff00
SM
52022012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5205 (perl-calculate-indent): Return `noindent' in strings.
5206
6e7a6ec0
SS
52072012-03-28 Sam Steingold <sds@gnu.org>
5208
5209 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5210 instead of the broken adhockery which does not prevent calendar
5211 buffers from being displayed at random after exit.
5212 (calendar-window-list, calendar-hide-window): Remove the broken
5213 adhockery.
5214
fee88ca0
GM
52152012-03-28 Glenn Morris <rgm@gnu.org>
5216
5217 * replace.el (query-replace-map): Doc fix.
5218
38de3354
AS
52192012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5220
5221 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5222 contents. (Bug#11109)
5223
b973155e
SM
52242012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5225
5226 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5227 (bug#11077).
5228 (avl-tree--check, avl-tree--check-node): New funs.
5229
dcb6e7b3
MR
52302012-03-27 Martin Rudalics <rudalics@gmx.at>
5231
5232 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5233 (switch-to-prev-buffer, switch-to-next-buffer):
5234 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5235 showing a buffer already is done on the same frame.
5236
b4fa35fa
GM
52372012-03-27 Glenn Morris <rgm@gnu.org>
5238
5239 * startup.el (mail-host-address): Doc fix.
5240
f9210e18
SM
52412012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5244 than 197 variables.
5245
c0bf7753
AF
52462012-03-26 Ami Fischman <ami@fischman.org>
5247
5248 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5249
33da7b16
GM
52502012-03-26 Glenn Morris <rgm@gnu.org>
5251
02243d9d
GM
5252 * files.el (save-buffers-kill-emacs): Doc fix.
5253
33da7b16
GM
5254 * startup.el (normal-top-level, command-line, command-line-1):
5255 Give them doc strings.
5256
e5a69fd0
EZ
52572012-03-25 Eli Zaretskii <eliz@gnu.org>
5258
5259 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5260 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5261
9a69676a
CY
52622012-03-25 Chong Yidong <cyd@gnu.org>
5263
4125cb8b
CY
5264 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5265 theme if it was previously enabled before (Bug#11031).
5266
dd470960
CY
5267 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5268 spec with custom-face-get-current-spec if its :shown-value is not
5269 determined yet (Bug#9337).
4125cb8b 5270 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5271
9a69676a
CY
5272 * button.el (button-at): Minor addition to docstring.
5273
6e7e90fa
SL
52742012-03-24 Simon Leinen <simon.leinen@gmail.com>
5275
5276 * vc/vc.el (vc-merge): Fix a prompt.
5277
f06e2758
CY
52782012-03-24 Chong Yidong <cyd@gnu.org>
5279
5280 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5281 point (Bug#9623).
5282
6e7e90fa
SL
5283 * button.el (button-at): Minor addition to docstring.
5284
b9d0879b
SM
52852012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * newcomment.el (comment-choose-indent): No space after BOL.
5288
e71cebb3
SS
52892012-03-22 Sam Steingold <sds@gnu.org>
5290
5291 * window.el (switch-to-prev-buffer): Revert last patch because the
5292 bug turned out to be an advertised feature (Elisp manual 28.14).
5293
335aff35
GM
52942012-03-22 Glenn Morris <rgm@gnu.org>
5295
5296 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5297 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5298
c676576a
LMI
52992012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5300
5301 * net/network-stream.el (network-stream-open-starttls): Make error
5302 message under Windows be less misleading.
5303
126f3d39
LW
53042012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5305
5306 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5307 understands (bug#9942).
5308
64fee311
CY
53092012-03-22 Chong Yidong <cyd@gnu.org>
5310
5311 * simple.el (end-of-visible-line): Handle return value of
5312 next-single-property-change properly (Bug#9371).
5313
a640d29a
KH
53142012-03-22 Kenichi Handa <handa@m17n.org>
5315
5316 * international/quail.el (quail-insert-kbd-layout): Fix previous
5317 change. To avoid unwanted bidi reordering, use
5318 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5319
39675016
DG
53202012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5321
5322 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5323 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5324 (ruby-beginning-of-indent): Be more careful with the difference
5325 between word-boundary and symbol boundary.
5326 (ruby-mode-syntax-table): Make : a symbol constituent.
5327
0a6934fc 53282012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5329
3d008e4f
SM
5330 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5331
0a6934fc
SM
53322012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5333
af67c9d7
SM
5334 * progmodes/etags.el (tags-completion-at-point-function):
5335 Improve last fix.
5336
1acad97c
SM
5337 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5338
e298b5da
SS
53392012-03-21 Sam Steingold <sds@gnu.org>
5340
5341 * progmodes/etags.el (tags-completion-at-point-function):
5342 Avoid the error when point is inside the pattern.
5343
91d82a70
JY
53442012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5345
5346 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5347 line (Bug#10855).
5348
69188b79
CY
53492012-03-21 Drew Adams <drew.adams@oracle.com>
5350
5351 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5352
99fc91fe
AK
53532012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5354
5355 * ido.el (ido-set-current-directory, ido-read-internal)
5356 (ido-choose-completion-string, ido-completion-help): Handle nil
5357 value of ido-completion-buffer (Bug#11008).
5358
087bbb4c
SS
53592012-03-21 Sam Steingold <sds@gnu.org>
5360
5361 * window.el (switch-to-prev-buffer): Do not switch to a visible
5362 window previous buffer, just like with the frame previous buffers.
5363
fb5b8aca
CY
53642012-03-21 Chong Yidong <cyd@gnu.org>
5365
5366 * faces.el (make-face, make-empty-face, copy-face):
5367 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5368 Doc fixes.
5369
dc9924b8
SM
53702012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5373 (widget-complete): Remove broken use of it.
5374
f0bcceb9
CY
53752012-03-20 Chong Yidong <cyd@gnu.org>
5376
dc9924b8
SM
5377 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5378 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5379 characters.
5380
ee52ebf3
TH
53812012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5382
5383 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5384 to draw rectangles, not squares. (Regression introduced by revno
5385 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5386
4c5779ab
CY
53872012-03-18 Chong Yidong <cyd@gnu.org>
5388
5389 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5390 it is not yet defined (for temacs).
5391
15360934
LL
53922012-03-18 Leo Liu <sdl.web@gmail.com>
5393
dc9924b8 5394 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5395
d9a8eb66
EZ
53962012-03-17 Eli Zaretskii <eliz@gnu.org>
5397
5398 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5399 (ispell-choices-win-default-height, ispell-silently-savep)
5400 (ispell-dictionary-alist, ispell-encoding8-command)
5401 (ispell-check-version, ispell-aspell-find-dictionary)
5402 (ispell-valid-dictionary-list, ispell-words-keyword)
5403 (ispell-get-word, ispell-internal-change-dictionary)
5404 (ispell-region, ispell-skip-region-list)
5405 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5406 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5407 (ispell-message-text-end, ispell-message)
5408 (ispell-buffer-local-parsing): Doc fix.
5409
f02ff80d
J
54102012-03-13 Jambunathan K <kjambunathan@gmail.com>
5411
5412 * htmlfontify.el: Add support for code block fontification for ODT
5413 export (Bug #9914).
5414 (hfy-optimisations): Define new option
5415 `body-text-only'
5416 (hfy-fontify-buffer): Honor above setting.
5417 (hfy-begin-span, hfy-end-span): New routines factored out form
5418 `hfy-fontify-buffer'.
5419 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5420 that permit insertion of custom tags.
5421 (hfy-fontify-buffer): Use above handlers.
5422 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5423 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5424 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5425 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5426 bind a special variable `hfy-user-sheet-assoc'.
5427 (htmlfontify-string): New defun.
5428 (hfy-compile-face-map): Make sure that the last char in the
5429 buffer is correctly fontified.
5430 (hfy-face-resolve-face): Whitespace only change.
5431
9ac7a13f
EZ
54322012-03-17 Eli Zaretskii <eliz@gnu.org>
5433
5434 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5435 message more clear.
5436
e2b5bdd7
LL
54372012-03-16 Leo Liu <sdl.web@gmail.com>
5438
5439 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5440
2e492df3
AM
54412012-03-16 Alan Mackenzie <acm@muc.de>
5442
5443 Further optimise the handling of large macros.
5444
5445 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5446 limit to a call of `c-literal-limits'.
5447 (c-determine-+ve-limit): New function.
dc9924b8
SM
5448 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5449 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5450 In CASE 5B, restrict a search limit to 500.
5451 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5452
5453 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5454 Restrict macro bounds to +-500 from after-change's BEG END.
5455
50e94f0c
LL
54562012-03-16 Leo Liu <sdl.web@gmail.com>
5457
5458 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5459
6f09f6ed
AH
54602012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5461
5462 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5463 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5464
c7e73d51
GM
54652012-03-16 Glenn Morris <rgm@gnu.org>
5466
da986230
GM
5467 * view.el (view-buffer, view-buffer-other-window)
5468 (view-buffer-other-frame): Doc fixes re special mode-class.
5469
0835f01e
GM
5470 * subr.el (eval-after-load): If named feature is provided not from
5471 a file, run after-load forms. (Bug#10946)
5472
c7e73d51
GM
5473 * calendar/calendar.el (calendar-insert-at-column):
5474 Handle non-unit-width characters a bit better. (Bug#10978)
5475
3f2eafd1
CY
54762012-03-15 Chong Yidong <cyd@gnu.org>
5477
5478 * emacs-lisp/ring.el (ring-extend): New function.
5479 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5480
5481 * comint.el (comint-read-input-ring)
5482 (comint-add-to-input-history): Grow comint-input-ring lazily.
5483
103af3fe
SM
54842012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5485
663b1677
SM
5486 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5487 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5488
103af3fe
SM
5489 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5490 (imenu-add-to-menubar): Don't add a redundant index.
5491 (imenu-update-menubar): Handle a dynamically composed keymap.
5492
899cb7cb
KY
54932012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5494
5495 * mail/sendmail.el (mail-encode-header):
5496 Bind rfc2047-encode-encoded-words to nil.
5497
3809f91d
GM
54982012-03-13 Glenn Morris <rgm@gnu.org>
5499
5500 * calendar/calendar.el (calendar-string-spread):
5501 Handle non-unit-width characters a bit better. (Bug#10978)
5502
9e345a01
LL
55032012-03-13 Leo Liu <sdl.web@gmail.com>
5504
5505 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5506 directory and file as argument (Bug#10822).
5507
4a07df36
KS
55082012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5509
5510 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5511 For dynamically generated code, follow $PC.
5512 (gdb-disassembly-handler-custom): Handle no function name case.
5513
4aaa9356
TL
55142012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5515
5516 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5517 * emulation/ws-mode.el (ws-query-replace):
5518 * sort.el (sort-regexp-fields):
5519 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5520
225979da
SM
55212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5522
5523 * dabbrev.el: Fix cycle completion order (bug#10963).
5524 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5525 (dabbrev-completion): Don't use an obarray; provide
5526 a cycle-sort-function.
5527
e2f1fdab
LL
55282012-03-12 Leo Liu <sdl.web@gmail.com>
5529
dc9924b8 5530 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5531 (kill-do-not-save-duplicates): Doc fix.
5532
b19490ed
SM
55332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * dabbrev.el: Fix cycle completion (bug#10963).
5536 Use lexical binding and wrap to 80 columns.
5537 (dabbrev-completion): Delay computing the list of completions.
5538
4b05d722
KH
55392012-03-12 Kenichi Handa <handa@m17n.org>
5540
5541 * international/quail.el (quail-insert-kbd-layout): Surround each
5542 row by LRO and PDF instead of inserting many LRMs. Pad the left
5543 and right of each non-spacing marks. Insert invisible space
5544 between lower and upper characters to prevent composition.
5545
dbbc2e69
SM
55462012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * minibuffer.el (minibuffer-complete): Don't get confused when the
5549 function is run twice via different commands (bug#10958).
5550 (complete-with-action): Fix docstring.
5551
292112ed
CY
55522012-03-12 Chong Yidong <cyd@gnu.org>
5553
5d1ac394
CY
5554 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5555 (nxml-completion-at-point-function): New function.
5556 (nxml-mode): Use it.
5557 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5558
292112ed
CY
5559 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5560 Load generated autoloads file before byte compiling (Bug#10970).
5561 (package--make-autoloads-and-compile): New helper fun.
5562
4098f8f7
CS
55632012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5564
5565 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5566
8f754691
MA
55672012-03-11 Michael Albinus <michael.albinus@gmx.de>
5568
5569 * autorevert.el (auto-revert-handler): Ensure, that
5570 file-readable-p is applied only for local files or in
5571 auto-revert-tail-mode.
5572
e29ab36b
AS
55732012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5574
dbbc2e69
SM
5575 * server.el (server-eval-at): Handle non-tcp connections.
5576 Decode result string.
ad0bf5b6 5577
e29ab36b
AS
5578 * server.el (server-msg-size): New constant.
5579 (server-reply-print): New function.
5580 (server-eval-and-print): Use it.
5581 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5582 Handle -print-nonl.
5583
de5939ba
CS
55842012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5585
5586 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5587 (Bug#10987).
5588
0c93eabf
CY
55892012-03-11 Chong Yidong <cyd@gnu.org>
5590
397a688f
CY
5591 * simple.el (goto-line): Doc fix (Bug#9938).
5592
2cc775f9
CY
5593 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5594
0c93eabf
CY
5595 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5596 when finished (Bug#10963).
5597
c491fa41
MR
55982012-03-11 Martin Rudalics <rudalics@gmx.at>
5599
5600 * window.el (split-window-below): Fix bug in case where
5601 split-window-keep-point is nil (Bug#10971).
5602
300e8fa5
JL
56032012-03-11 Juri Linkov <juri@jurta.org>
5604
5605 * replace.el (replace-highlight): Set isearch-word to nil
5606 unconditionally. (Bug#10887)
5607
dbf6c5a1
EZ
56082012-03-10 Eli Zaretskii <eliz@gnu.org>
5609
5610 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5611 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5612 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5613 (mairix-widget-create-query): Add usage information about mairix
5614 search forms: negating words, searching for substrings, etc.
5615
b9e501de
JP
56162012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5617
5618 * international/fontset.el (font-encoding-alist): Add an entry for
5619 ksx1001 (Bug#5667).
5620
92795c91
RS
56212012-03-10 Richard Stallman <rms@gnu.org>
5622
1694e6c1
RS
5623 * mail/sendmail.el (mail-encode-header):
5624 Set rfc2047-encode-encoded-words.
5625
607e8555
RS
5626 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5627
de3bc99a
RS
5628 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5629 view buffer means not swapped.
5630 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5631 (rmail-write-region-annotate): Error if real text has disappeared.
5632
92795c91
RS
5633 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5634
699bd04e
CY
56352012-03-10 Chong Yidong <cyd@gnu.org>
5636
5637 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5638 * emulation/cua-base.el (cua--init-keymaps):
5639 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5640
570a1714
MR
56412012-03-10 Martin Rudalics <rudalics@gmx.at>
5642
dbbc2e69
SM
5643 * speedbar.el (speedbar-unhighlight-one-tag-line):
5644 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5645
82dcf4e4
CY
56462012-03-10 Chong Yidong <cyd@gnu.org>
5647
7a2c7ca7
CY
5648 * minibuffer.el (completion-in-region, completion-help-at-point):
5649 Give the completion field overlay a high priority (Bug#6830).
5650
82dcf4e4
CY
5651 * dired.el (dired-goto-file): Recognize absolute file name
5652 listings (Bug#7126).
5653 (dired-goto-file-1): New helper function.
5654 (dired-toggle-read-only): Inhibit warnings.
5655
052e28ac
MA
56562012-03-09 Michael Albinus <michael.albinus@gmx.de>
5657
75f1671a 5658 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5659 there are no properties.
5660
95d5e396
LL
56612012-03-09 Leo Liu <sdl.web@gmail.com>
5662
5663 * savehist.el (savehist-printable): Stricter check for string
5664 value (Bug#10937).
5665
3f018d6d
EZ
56662012-03-09 Eli Zaretskii <eliz@gnu.org>
5667
dbbc2e69
SM
5668 * mail/smtpmail.el (smtpmail-send-it):
5669 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5670 valid mbox format.
5671
f7fd3d79
GM
56722012-03-09 Glenn Morris <rgm@gnu.org>
5673
5674 * files.el (dir-locals-find-file):
5675 Don't check result is regular, readable.
5676 (dir-locals-read-from-file): Demote errors.
5677
6ff6e72f
EZ
56782012-03-08 Eli Zaretskii <eliz@gnu.org>
5679
dbbc2e69
SM
5680 * international/quail.el (quail-insert-kbd-layout):
5681 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5682 layout cell, to prevent their reordering by bidi display engine.
5683 For details, see the discussion in
5684 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5685
9cec7834
AM
56862012-03-08 Alan Mackenzie <acm@muc.de>
5687
5688 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5689 the starting position; make it extend the marked region when
5690 invoked repeatedly - all under appropriate circumstances.
5691 Fixes bugs #5525, #10906.
5692
9a40b8d4
GM
56932012-03-08 Glenn Morris <rgm@gnu.org>
5694
5695 * files.el (locate-dominating-file, dir-locals-find-file):
5696 Undo 2012-03-06 change.
5697
7a08ed35
EZ
56982012-03-07 Eli Zaretskii <eliz@gnu.org>
5699
dbbc2e69
SM
5700 * international/quail.el (quail-help):
5701 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5702 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5703 for the reason.
5704
5aca4f71 57052012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5706
5707 Avoid superfluous registering of signals. (Bug#10807)
5708
5709 * notifications.el (notifications-on-action-object)
5710 (notifications-on-close-object): New defvars.
5711 (notifications-on-action-signal, notifications-on-closed-signal):
5712 Unregister the signal if not needed any longer.
5713 (notifications-notify): Register `notifications-action-signal' or
5714 `notifications-closed-signal', if :on-action or :on-close has been
5715 passed as argument.
5716
78e8b10a
CY
57172012-03-07 Chong Yidong <cyd@gnu.org>
5718
5719 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5720 non-X platforms.
5721
69481eb8
GM
57222012-03-06 Glenn Morris <rgm@gnu.org>
5723
5724 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5725 (x-disown-selection-internal, x-get-selection-internal):
5726 Doc fix (add arglist signatures). (Bug#10783)
5727
133b8e11
KS
57282012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5729
5730 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5731 Handle breakpoints with no "type".
5732
99a83064
GM
57332012-03-06 Glenn Morris <rgm@gnu.org>
5734
5735 * files.el (locate-dominating-file): Add optional predicate argument.
5736 (dir-locals-find-file): Make use of above change.
5737
17798e78
TTN
57382012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5739
5740 * info.el (Info-insert-dir): Also try "dir.gz".
5741
eb182446
GM
57422012-03-06 Glenn Morris <rgm@gnu.org>
5743
8f2114ee
GM
5744 * files.el (dir-locals-find-file):
5745 Ignore non-readable or non-regular files. (Bug#10928)
5746
eb182446
GM
5747 * files.el (locate-dominating-file): Doc fix.
5748
24679323
AS
57492012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5750
5751 * calendar/calendar.el (calendar-set-mode-line):
5752 `getenv' returns a string. (Bug#10951)
5753
01d972a9
LL
57542012-03-05 Leo Liu <sdl.web@gmail.com>
5755
109aa8a9
LL
5756 * simple.el (backward-delete-char-untabify): Constrain point to
5757 field (Bug#10939).
5758
01d972a9
LL
5759 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5760
10607bea
CY
57612012-03-05 Chong Yidong <cyd@gnu.org>
5762
5763 * simple.el (count-words): If called from Lisp, return the word
5764 count, for symmetry with `count-lines'. Arglist changed.
5765 (count-words--message): Args changed. Consolidate counting code
5766 from count-words and count-words-region.
5767 (count-words-region): Caller changed.
5768 (count-lines-region): Make it an obsolete alias.
5769
5dd11cfe
TH
57702012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5771
5772 * saveplace.el (save-place-to-alist)
5773 (save-place-ignore-files-regexp): Allow value nil to disable this
5774 feature.
5775
c349f4e6
CY
57762012-03-04 Chong Yidong <cyd@gnu.org>
5777
5778 * faces.el (face-spec-reset-face): For the default face, reset the
5779 attributes to default values (Bug#10748).
5780
e627be4c
LMI
57812012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5782
5783 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5784 previous patch: Check `message-send-mail-function', and not the
5785 default function (bug#10897).
5786
ebeabff4
MA
57872012-03-04 Michael Albinus <michael.albinus@gmx.de>
5788
a41a6cf4
MA
5789 * notifications.el (notifications-on-action-signal)
5790 (notifications-on-closed-signal): Check for unique service name of
5791 incoming event. Fix error in removing entry.
ebeabff4 5792 (top): Register for signals with wildcard service name.
a41a6cf4 5793 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5794
c1ca42b4
CY
57952012-03-04 Chong Yidong <cyd@gnu.org>
5796
dc9924b8 5797 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5798
ea16568d
GM
57992012-03-04 Glenn Morris <rgm@gnu.org>
5800
5801 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5802 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5803 (expand-abbrev, define-abbrev-table): Doc fixes.
5804
fbae4637
LMI
58052012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5806
5807 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5808 `message-default-send-mail-function' and not `send-mail-function'
5809 when doing the prompting for `sendmail-query-once' before sending
5810 in Message buffers (bug#10897).
5811
a1e7225c
LMI
5812 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5813 This is inconsistent with all the other stream functions, which leave
5814 the setting up to the higher levels (if so wanted) (bug#10931).
5815
56d093a9
AM
58162012-03-02 Alan Mackenzie <acm@muc.de>
5817
5818 Depessimize the handling of very large macros.
5819
5820 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5821 (c-macro-cache-syntactic): New variables to implement a one
5822 element macro cache.
5823 (c-invalidate-macro-cache): New function.
5824 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5825 Adapt to use the new cache.
5826 (c-state-safe-place): Use better the cache of safe positions.
5827 (c-state-semi-nonlit-pos-cache)
5828 (c-state-semi-nonlit-pos-cache-limit):
5829 New variables for...
5830 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5831 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5832 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5833 Use c-state-semi-safe-place.
56d093a9 5834
dbbc2e69
SM
5835 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5836 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5837
817e5c3d
MA
58382012-03-02 Michael Albinus <michael.albinus@gmx.de>
5839
dbbc2e69
SM
5840 * jka-compr.el (jka-compr-call-process):
5841 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5842 not remote.
5843
a032a702
MA
58442012-03-01 Michael Albinus <michael.albinus@gmx.de>
5845
5846 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5847 access of FILE2, if FILE1 does not exist.
5848
99a54f21
MA
5849 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5850 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5851
5852 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5853 Add "PAGER=" to `process-environment'.
5854
f6561e1f
MM
58552012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5856
5857 * progmodes/sql.el: Bug fix
5858 (sql-get-login-ext): Save login values in globals.
5859 (sql-get-login): Use new version of `sql-get-login-ext'.
5860 (sql-interactive-mode): Set global `sql-connection' to nil.
5861 (sql-connect): Set global values for connection.
5862 (sql-product-interactive): Save global values as buffer local.
5863
2d44d9cc
LL
58642012-02-29 Leo Liu <sdl.web@gmail.com>
5865
5866 * abbrev.el (define-abbrevs): Reset sys to nil.
5867
96b49301 58682012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5869
bf7f9bc5
JB
5870 * files.el (file-equal-p): Rename from `files-equal-p'.
5871 Return nil when one or both files don't exist.
96b49301 5872 (file-subdir-of-p): Now only top directory must exists,
5873 return nil if it doesn't.
bf7f9bc5
JB
5874 (copy-directory): No need to test with `file-subdir-of-p' after
5875 creating dir.
5876 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5877 to `file-equal-p'.
96b49301 5878
44e97401
GM
58792012-02-28 Glenn Morris <rgm@gnu.org>
5880
5881 * shell.el (shell-mode):
5882 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5883 * play/landmark.el (landmark-font-lock-face-O):
5884 * play/handwrite.el (handwrite):
5885 * play/gomoku.el (gomoku-O):
5886 * net/browse-url.el (browse-url-browser-display):
5887 * international/mule.el (define-charset):
5888 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5889 * filesets.el (filesets-find-file-delay):
5890 * eshell/em-xtra.el (eshell-xtra):
5891 * eshell/em-unix.el (eshell-grep):
5892 * emulation/viper.el (viper-mode):
5893 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5894 * emacs-lisp/easymenu.el (easy-menu-define):
5895 * calendar/timeclock.el (timeclock-use-display-time):
5896 * bs.el (bs-mode):
5897 * bookmark.el (bookmark-save-flag):
5898 Doc fix (standardize possessive apostrophe usage).
5899
c98c6276
CY
59002012-02-27 Chong Yidong <cyd@gnu.org>
5901
bf7f9bc5
JB
5902 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5903 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5904
c98c6276
CY
5905 * font-lock.el (font-lock-specified-p): Rename from
5906 font-lock-spec-present. Callers changed.
5907
9c62cd04 59082012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5909
bf7f9bc5
JB
5910 * emacs-lisp/package.el (package-compute-transaction):
5911 Handle holding a package version to t in package-load-list.
8ac9e529 5912
530739c9
MA
59132012-02-26 Michael Albinus <michael.albinus@gmx.de>
5914
5915 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5916 (tramp-get-inode, tramp-get-device): Use cached values.
5917
487915d7
AM
59182012-02-26 Alan Mackenzie <acm@muc.de>
5919
5920 Check there is a font-lock specification before doing initial
5921 fontification.
5922
5923 * font-core.el (font-lock-mode): Move the conditional from
5924 :after-hook to font-lock-initial-fontify.
5925 (font-lock-default-function): Move the check for a specification
5926 to font-lock-spec-present.
5927
dc9924b8 5928 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5929 (font-lock-spec-present): New function.
5930
4fd96557
JB
59312012-02-26 Jim Blandy <jimb@red-bean.com>
5932
5933 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5934 (gdb-send): Apply it to the operand of the '-interpreter-exec
5935 console' command, so that we can pass arguments with (say) quotes
5936 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5937
9a4888c0
CY
59382012-02-26 Chong Yidong <cyd@gnu.org>
5939
07498861
CY
5940 * help-fns.el (describe-function-1): Clarify description of
5941 remapping (Bug#10844).
5942
9a4888c0
CY
5943 * files.el (files-equal-p): Doc fix.
5944 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5945 and quit the loop once a mismatch is found.
5946
ea8fb88d
JB
59472012-02-25 Juanma Barranquero <lekktu@gmail.com>
5948
5949 * bs.el (bs--show-with-configuration): Don't throw an error
5950 if the window cannot be split; otherwise, subsequent calls to
5951 bs-show fail, restoring a stale window config. (Bug#10882)
5952
525795c1
JD
59532012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5954
5955 * term/ns-win.el (global-map): Bind ns-drag-file to
5956 ns-find-file (Bug#5855, Bug#10050).
5957
f008086f
AS
59582012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5959
5960 * calendar/parse-time.el (parse-time-string): Allow extractor to
5961 return nil.
5962
a3fcfa99
MA
59632012-02-25 Michael Albinus <michael.albinus@gmx.de>
5964
91027d08
JB
5965 * net/tramp.el (tramp-file-name-for-operation):
5966 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5967
5968 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5969 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5970 Add COPY-CONTENTS argument.
a3fcfa99 5971
67b0de11
CY
59722012-02-25 Chong Yidong <cyd@gnu.org>
5973
5974 Add custom groups for VC backends, for consistency with vc-bzr.
5975
5976 * vc/vc-arch.el (vc-arch):
5977 * vc/vc-cvs.el (vc-cvs):
5978 * vc/vc-git.el (vc-git):
5979 * vc/vc-hg.el (vc-hg):
5980 * vc/vc-mtn.el (vc-mtn):
5981 * vc/vc-rcs.el (vc-rcs):
5982 * vc/vc-sccs.el (vc-sccs):
5983 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5984 All relevant defcustoms reassigned.
5985
3c9dfce6
CY
59862012-02-25 Chong Yidong <cyd@gnu.org>
5987
1339bf43
CY
5988 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5989
3c9dfce6
CY
5990 * term/x-win.el (x-initialize-window-system): Reduce default for
5991 x-selection-timeout to 5 seconds (Bug#8869).
5992
25b2e303 59932012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5994
ec70a47d
GM
5995 * files.el (files-equal-p, file-subdir-of-p): New functions.
5996 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5997 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5998 * dired-aux.el (dired-copy-file-recursive): Same.
5999 (dired-create-files): Modify destination when source is equal to
6000 dest when copying files.
53a46cd0 6001 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6002
914260cd
MA
60032012-02-24 Michael Albinus <michael.albinus@gmx.de>
6004
6005 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6006 (Bug#10874)
6007
2cb228f7
AM
60082012-02-23 Alan Mackenzie <acm@muc.de>
6009
6010 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6011 parameter "after-hook:" to allow the expansion to run code after
6012 the execution of the mode hooks.
6013
6014 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6015 from font-lock-mode-internal.
2cb228f7 6016
91027d08 6017 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6018 :after-hook.
6019
8f0fde21
SM
60202012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6021
3e88618b
SM
6022 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6023 (completion--cache-all-sorted-completions): New function.
6024 (completion-all-sorted-completions): Use it.
6025 (completion--do-completion, minibuffer-force-complete):
6026 Use it to re-instate the flush hook.
6027
8f0fde21
SM
6028 * icomplete.el (icomplete-completions): Replace last fix with a better
6029 one (bug#10850).
6030
8e911f6f
DG
60312012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6032
6033 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6034 when it might call us back infinitely (bug#10797).
6035
49fe4321
GM
60362012-02-23 Glenn Morris <rgm@gnu.org>
6037
6038 * minibuffer.el (completion-category-overrides): Doc fix.
6039
b291b572
SM
60402012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6041
6042 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6043 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6044
31a9ef2e
GM
60452012-02-23 Glenn Morris <rgm@gnu.org>
6046
5e6e6794 6047 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6048 (authors-obsolete-files-regexps, authors-ignored-files)
6049 (authors-ambiguous-files, authors-renamed-files-alist):
6050 Add more entries.
6051
0bd1e074
JL
60522012-02-23 Juri Linkov <juri@jurta.org>
6053
6054 * isearch.el (isearch-occur): Sync interactive spec with occur's
6055 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6056
b617673c
JL
6057 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6058
19e9789e
JL
60592012-02-22 Juri Linkov <juri@jurta.org>
6060
6061 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6062 (ucs-insert): Doc fix. Check for hex digits in the string.
6063 Don't display `nil' in the error message. (Bug#10857)
6064
f41ce09d
AM
60652012-02-22 Alan Mackenzie <acm@muc.de>
6066
7a71b18d 6067 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6068
ac2eceee
GM
60692012-02-22 Glenn Morris <rgm@gnu.org>
6070
6071 * ffap.el (ffap-c-path):
6072 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6073
abd1f678
CY
60742012-02-22 Chong Yidong <cyd@gnu.org>
6075
6076 * custom.el (load-theme): Doc fix.
6077
f25aef2e
GM
60782012-02-22 Glenn Morris <rgm@gnu.org>
6079
6080 * dired-x.el (dired-guess-shell-alist-default):
6081 Remove escape sequences from nroff output. (Bug#172)
6082
5f8dc2ca
GM
60832012-02-21 Glenn Morris <rgm@gnu.org>
6084
6ff86ec4
GM
6085 * vc/emerge.el (emerge-defvar-local):
6086 Set `permanent-local' property rather than unused `preserved'.
6087
be3223a3 6088 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6089 (picture-mode-map): Use it. (Bug#10860)
6090 (picture-mode): Doc fix.
6091
3fe58f4f
JB
60922012-02-21 Juanma Barranquero <lekktu@gmail.com>
6093
6094 * newcomment.el (uncomment-region-default): Remove unused binding.
6095
f9a998c3
GM
60962012-02-21 Glenn Morris <rgm@gnu.org>
6097
6098 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6099 (picture-self-insert, picture-tab-chars): Doc fix.
6100 (picture-mode-map): Fix C-a, C-e.
6101
c6029348
GM
61022012-02-20 Glenn Morris <rgm@gnu.org>
6103
6104 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6105
ab1ce9d7
LL
61062012-02-20 Leo Liu <sdl.web@gmail.com>
6107
6108 * icomplete.el (icomplete-completions): Check FROM arg before
6109 passing to substring (Bug#10850).
6110
0fd40f89
CY
61112012-02-19 Chong Yidong <cyd@gnu.org>
6112
6113 * comint.el: Require ansi-color.
6114 (comint-output-filter-functions): Add ansi-color-process-output.
6115
6116 * ansi-color.el: Don't set comint-output-filter-functions; it is
6117 now in the initial value defined in comint.el.
6118 (ansi-color-apply-face-function): New variable.
6119 (ansi-color-apply-on-region): Use it.
6120 (ansi-color-apply-overlay-face): New function.
6121
6122 * shell.el (shell): No need to require ansi-color.
6123 (shell-mode): Use ansi-color-apply-face-function to highlight
6124 color escapes using font-lock-face property (Bug#10835).
6125
20af2394
CY
61262012-02-19 Chong Yidong <cyd@gnu.org>
6127
6128 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6129 mode-line formats (Bug#10839).
6130
e23a3fbe
GM
61312012-02-18 Glenn Morris <rgm@gnu.org>
6132
b474519e
GM
6133 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6134
6135 * mail/undigest.el (unforward-rmail-message): Doc fix.
6136
e23a3fbe
GM
6137 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6138
57939ff4
EZ
61392012-02-18 Eli Zaretskii <eliz@gnu.org>
6140
6141 * international/characters.el (script-list): Sync with the latest
6142 Unicode Character Database.
6143
0c23686e
AS
61442012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6145
6146 * international/titdic-cnv.el: Remove duplicate coding tag.
6147 * language/cham.el: Likewise.
6148 * language/tai-viet.el: Likewise.
6149
6818b449
GM
61502012-02-18 Glenn Morris <rgm@gnu.org>
6151
6152 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6153 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6154 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6155 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6156 * calendar/holidays.el (holiday-bahai-holidays)
6157 (calendar-holidays, list-holidays):
6158 Use utf-8 Bahá'í in doc-strings, menus, etc.
6159
0311a3fc
TH
61602012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6161
6162 * saveplace.el (save-place-ignore-files-regexp): New variable
6163 allowing for excluding files from saving their location of point.
6164 The default value matches the temporary commit message editing
6165 files from Git, SVN, Bazaar, and Mercurial.
6166 (save-place-to-alist): Use it.
6167
d209e2fb 61682012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
6169 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * newcomment.el (uncomment-region-default): Don't leave extra space
6172 when an arg is provided (bug#8150).
6173
ee0ce425
TZ
61742012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6175
eb864a71 6176 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6177
95ddf442
GM
61782012-02-17 Glenn Morris <rgm@gnu.org>
6179
6180 * net/socks.el: Require network-stream. (Bug#10599)
6181
48dd1e39 61822012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6183
6184 * international/charprop.el:
6185 * international/uni-name.el:
6186 * international/uni-old-name.el:
6187 * international/uni-comment.el: Regenerate.
6188
d68cd087
GM
61892012-02-16 Glenn Morris <rgm@gnu.org>
6190
6191 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6192 Interactively in calendar buffer, give an error if not on a date.
6193
13932042
GM
61942012-02-15 Glenn Morris <rgm@gnu.org>
6195
6196 * shell.el (shell-delimiter-argument-list):
6197 Revert 2011-02-17 change. (Bug#8027)
6198
c3a70e2b
CY
61992012-02-15 Chong Yidong <cyd@gnu.org>
6200
60236b0d
CY
6201 * minibuffer.el (completion-at-point-functions): Doc fix.
6202
c3a70e2b
CY
6203 * custom.el (defcustom): Doc fix; note use of defvar.
6204
9f26dc24
GM
62052012-02-15 Glenn Morris <rgm@gnu.org>
6206
6207 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6208 Doc fixes.
6209
6546b134
GM
62102012-02-14 Glenn Morris <rgm@gnu.org>
6211
6212 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6213
d29b2b4c
LI
62142012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6215
6216 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6217 way the ports list is computed.
835bdcba
LI
6218 (smtpmail-query-smtp-server): Prompt the user for a port number if
6219 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6220
08dcdbc9
TZ
62212012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6222
6223 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6224
2605051a
GM
62252012-02-13 Glenn Morris <rgm@gnu.org>
6226
6227 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6228
7ee99f32
TZ
62292012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6230
6231 * net/gnutls.el (gnutls-trustfiles): New variable.
6232 (gnutls-negotiate): Use it.
6233
5f0af64f
LI
62342012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6235
6236 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6237 does its stuff if Gnus is running.
6238
c14fcc95
AM
62392012-02-13 Alan Mackenzie <acm@muc.de>
6240
6241 Fix a loop in c-set-fl-decl-start.
6242
7a71b18d 6243 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6244 c-backward-syntactic-ws actually moves backwards.
6245
142b4d90
LL
62462012-02-13 Leo Liu <sdl.web@gmail.com>
6247
6248 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6249 beginning so that all \C-o chars are removed.
6250
fa9958a6
TZ
62512012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6252
dc9924b8 6253 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6254
0bc5886a
AM
62552012-02-12 Alan Mackenzie <acm@muc.de>
6256
6257 Fix infinite loop with long macros.
4d6769e1 6258 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6259
d4bd55e7
CY
62602012-02-12 Chong Yidong <cyd@gnu.org>
6261
6262 * window.el (display-buffer): Doc fix (Bug#10785).
6263
66f3fe22
GM
62642012-02-12 Glenn Morris <rgm@gnu.org>
6265
bd7da63e
GM
6266 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6267 (x-disown-selection-internal, x-get-selection-internal):
6268 Sync docs with the xselect.c versions.
6269
66f3fe22
GM
6270 * allout-widgets.el: Add missing license notice.
6271
3e0d2fa7
GM
62722012-02-11 Glenn Morris <rgm@gnu.org>
6273
cfecdf09
GM
6274 * select.el (x-get-selection-internal, x-own-selection-internal)
6275 (x-disown-selection-internal):
6276 * x-dnd.el (x-get-selection-internal): Update declarations.
6277
6d216d7f
GM
6278 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6279
2bed3f04
GM
6280 * window.el (window-sides-slots):
6281 * tool-bar.el (tool-bar-position):
6282 * term/xterm.el (xterm-extra-capabilities):
6283 * ses.el (ses-self-reference-early-detection):
6284 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6285 (verilog-auto-wire-type)
6286 (verilog-auto-delete-trailing-whitespace)
6287 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6288 (verilog-auto-tieoff-declaration):
6289 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6290 (sql-oracle-statement-starters, sql-oracle-scan-on):
6291 * progmodes/prolog.el (prolog-align-comments-flag)
6292 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6293 (prolog-left-indent-regexp, prolog-paren-indent-p)
6294 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6295 (prolog-types, prolog-mode-specificators)
6296 (prolog-determinism-specificators, prolog-directives)
6297 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6298 (prolog-electric-dot-flag)
6299 (prolog-electric-dot-full-predicate-template)
6300 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6301 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6302 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6303 (prolog-program-switches, prolog-prompt-regexp)
6304 (prolog-debug-on-string, prolog-debug-off-string)
6305 (prolog-trace-on-string, prolog-trace-off-string)
6306 (prolog-zip-on-string, prolog-zip-off-string)
6307 (prolog-use-standard-consult-compile-method-flag)
6308 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6309 (prolog-imenu-max-lines, prolog-info-predicate-index)
6310 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6311 (prolog-char-quote-workaround):
6312 * progmodes/cc-vars.el (c-defun-tactic):
6313 * net/tramp.el (tramp-encoding-command-interactive)
6314 (tramp-local-end-of-line):
6315 * net/soap-client.el (soap-client):
6316 * net/netrc.el (netrc-file):
6317 * net/gnutls.el (gnutls):
6318 * minibuffer.el (completion-category-overrides)
6319 (completion-cycle-threshold)
6320 (completion-pcm-complete-word-inserts-delimiters):
6321 * man.el (Man-name-local-regexp):
6322 * mail/feedmail.el (feedmail-display-full-frame):
6323 * international/characters.el (glyphless-char-display-control):
6324 * eshell/em-ls.el (eshell-ls-date-format):
6325 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6326 (lisp-lambda-list-keyword-parameter-indentation)
6327 (lisp-lambda-list-keyword-parameter-alignment):
6328 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6329 * dired-x.el (dired-omit-verbose):
6330 * cus-theme.el (custom-theme-allow-multiple-selections):
6331 * calc/calc.el (calc-highlight-selections-with-faces)
6332 (calc-lu-field-reference, calc-lu-power-reference)
6333 (calc-note-threshold):
6334 * battery.el (battery-mode-line-limit):
6335 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6336 (archive-7z-update):
6337 * allout.el (allout-prefixed-keybindings)
6338 (allout-unprefixed-keybindings)
6339 (allout-inhibit-auto-fill-on-headline)
6340 (allout-flattened-numbering-abbreviation):
6341 * allout-widgets.el (allout-widgets-auto-activation)
6342 (allout-widgets-icons-dark-subdir)
6343 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6344 (allout-widgets-theme-dark-background)
6345 (allout-widgets-theme-light-background)
6346 (allout-widgets-item-image-properties-emacs)
6347 (allout-widgets-item-image-properties-xemacs)
6348 (allout-widgets-run-unit-tests-on-load)
6349 (allout-widgets-time-decoration-activity)
6350 (allout-widgets-hook-error-post-time)
6351 (allout-widgets-track-decoration):
6352 Add missing :version tags to new defcustoms and defgroups.
6353
5fec1b8e
GM
6354 * progmodes/sql.el (sql-ansi-statement-starters)
6355 (sql-oracle-statement-starters): Add custom type.
6356
3e0d2fa7
GM
6357 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6358 (prolog-system-version): Give it a type.
6359
90b671e2
EZ
63602012-02-11 Eli Zaretskii <eliz@gnu.org>
6361
6362 * term/pc-win.el (x-select-text, x-selection-owner-p)
6363 (x-own-selection-internal, x-disown-selection-internal)
6364 (x-get-selection-internal): Sync doc strings and argument lists
6365 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6366
5eac0c02
LL
63672012-02-11 Leo Liu <sdl.web@gmail.com>
6368
6369 * progmodes/python.el (python-end-of-statement): Fix infinite
6370 loop. (Bug#10788)
6371
f82cb659
GM
63722012-02-10 Glenn Morris <rgm@gnu.org>
6373
6374 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6375 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6376
cc26d239
LI
63772012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6378
6379 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6380 about SMTP before checking the From header.
6381
91027d08 6382 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6383 into own function for reuse by emacsbug.el.
6384
1be3ca5a
LL
63852012-02-10 Leo Liu <sdl.web@gmail.com>
6386
6387 * subr.el (condition-case-unless-debug): Rename from
6388 condition-case-no-debug. All callers changed.
6389 (with-demoted-errors): Fix caller.
6390
6391 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6392 * nxml/rng-valid.el (rng-do-some-validation):
6393 * emacs-lisp/package.el (package-refresh-contents)
6394 (package-menu-execute):
6395 * desktop.el (desktop-create-buffer):
91027d08 6396 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6397
b011fbfe
GM
63982012-02-10 Glenn Morris <rgm@gnu.org>
6399
b2096d72
GM
6400 * textmodes/bibtex.el:
6401 Add missing :version tags for new/changed defcustoms.
6402
b011fbfe
GM
6403 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6404
4c7e65bf
LI
64052012-02-09 Lars Ingebrigtsen <larsi@rusty>
6406
6407 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6408 (smtpmail-via-smtp): Use it, or fall back on the From address.
6409 (smtpmail-send-it): Ditto.
6410
f3934f6f
SM
64112012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6414 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6415 (byte-compile-tmp-var): New const.
6416 (byte-compile-defvar): Use it to minimize .elc size.
6417 Just use `defvar' rather than simulate it (bug#10761).
6418
a075a2c5
GM
64192012-02-09 Glenn Morris <rgm@gnu.org>
6420
cf3aa21b
GM
6421 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6422
354998cd
GM
6423 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6424 Add :version tags.
6425
dc9924b8
SM
6426 * progmodes/compile.el (compilation-error-screen-columns)
6427 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6428
dab3703d
GM
6429 * vc/log-view.el (log-view-toggle-entry-display):
6430 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6431
3f88cd72
GM
6432 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6433 (report-emacs-bug-can-use-xdg-email):
6434 (report-emacs-bug-insert-to-mailer): Doc fixes.
6435 (report-emacs-bug): Message fix.
6436
d95b247d
GM
6437 * net/browse-url.el (browse-url-can-use-xdg-open)
6438 (browse-url-xdg-open): Doc fixes.
6439
a075a2c5
GM
6440 * electric.el (electric-indent-mode, electric-pair-mode)
6441 (electric-layout-rules, electric-layout-mode): Doc fixes.
6442 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6443
ffb6157e
MR
64442012-02-08 Martin Rudalics <rudalics@gmx.at>
6445
6446 * server.el (server-unselect-display): Don't inadvertently kill
6447 the current buffer. (Bug#10729)
6448
e1ac4066
GM
64492012-02-08 Glenn Morris <rgm@gnu.org>
6450
34e8a2da
GM
6451 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6452 (sql-list-table): Doc fixes.
6453
b4ac6e8c
GM
6454 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6455 Comment out (does nothing).
6456
e1ac4066
GM
6457 * completion.el (dynamic-completion-mode):
6458 * dirtrack.el (dirtrack-debug-mode):
6459 * electric.el (electric-layout-mode):
6460 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6461 * face-remap.el (text-scale-mode, buffer-face-mode):
6462 * iimage.el (iimage-mode):
6463 * image-mode.el (image-transform-mode):
6464 * minibuffer.el (completion-in-region-mode):
6465 * scroll-lock.el (scroll-lock-mode):
6466 * simple.el (next-error-follow-minor-mode):
6467 * tar-mode.el (tar-subfile-mode):
6468 * tooltip.el (tooltip-mode):
6469 * vcursor.el (vcursor-use-vcursor-map):
6470 * wid-browse.el (widget-minor-mode):
6471 * emulation/tpu-edt.el (tpu-edt-mode):
6472 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6473 * international/iso-ascii.el (iso-ascii-mode):
6474 * language/thai-util.el (thai-word-mode):
6475 * mail/supercite.el (sc-minor-mode):
6476 * net/goto-addr.el (goto-address-mode):
6477 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6478 * progmodes/cwarn.el (cwarn-mode):
6479 * progmodes/flymake.el (flymake-mode):
6480 * progmodes/glasses.el (glasses-mode):
6481 * progmodes/hideshow.el (hs-minor-mode):
6482 * progmodes/pascal.el (pascal-outline-mode):
6483 * textmodes/enriched.el (enriched-mode):
6484 * vc/smerge-mode.el (smerge-mode):
6485 Doc fixes (minor mode argument).
6486
5e0d957f
EZ
64872012-02-07 Eli Zaretskii <eliz@gnu.org>
6488
6489 * ls-lisp.el (ls-lisp-sanitize): New function.
6490 (ls-lisp-insert-directory): Use it to fix or remove any elements
6491 in file-alist with missing attributes. (Bug#4673)
6492
98d7371e
AM
64932012-02-07 Alan Mackenzie <acm@muc.de>
6494
6495 Fix spurious recognition of c-in-knr-argdecl.
6496
6497 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6498 putative K&R region.
6499
667ced3a
AM
65002012-02-07 Alan Mackenzie <acm@muc.de>
6501
eb864a71
LM
6502 * progmodes/cc-engine.el (c-forward-objc-directive):
6503 Prevent looping in "#pragma mark @implementation".
667ced3a 6504
5b77774d
MA
65052012-02-07 Michael Albinus <michael.albinus@gmx.de>
6506
6507 * notifications.el (notifications-on-closed-signal): Make `reason'
6508 optional. (Bug#10744)
6509
af008560
GM
65102012-02-07 Glenn Morris <rgm@gnu.org>
6511
60d47423
GM
6512 * emacs-lisp/easy-mmode.el (define-minor-mode):
6513 Doc fixes for the macro and the mode it defines.
6514
dd605cc4
GM
6515 * image.el (imagemagick-types-inhibit): Doc fix.
6516
af008560
GM
6517 * cus-start.el (imagemagick-render-type): Add it.
6518
5cc59a37
LI
65192012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6520
4d6769e1
JB
6521 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6522 Set the default at load time, too, so that `font-lock-fontify-buffer'
6523 can be called without setting up the entire mode first. This fixes
6524 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6525
9a6dd747
CY
65262012-02-06 Chong Yidong <cyd@gnu.org>
6527
2d16b285
CY
6528 * simple.el (list-processes--refresh): Delete exited processes
6529 (Bug#8094).
6530
171e9b6e
CY
6531 * comint.el (comint-next-prompt): next-single-char-property-change
6532 and prev-single-char-property-change never return nil (Bug#8657).
6533
9a6dd747
CY
6534 * custom.el (defcustom): Doc fix (Bug#9711).
6535
aa4589a7
CY
65362012-02-05 Chong Yidong <cyd@gnu.org>
6537
5c2a252f
CY
6538 * cus-edit.el (custom-variable-reset-backup): Quote the value
6539 before storing it in the customized-value property (Bug#6712).
4aab9006 6540 (custom-display): Add a customization type tag.
983b9602 6541 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6542
aa4589a7
CY
6543 * wid-edit.el (widget-field-value-get): New optional arg to
6544 suppress trailing whitespace truncation.
6545 (character): Use it (Bug#2689).
6546
1ff980ae
AS
65472012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6548
6549 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6550 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6551
03988c98
CY
65522012-02-05 Chong Yidong <cyd@gnu.org>
6553
eeb6cc88
CY
6554 * cus-edit.el (custom-variable-value-create): For mismatched
6555 types, show the current value (Bug#7600).
6556
03988c98
CY
6557 * custom.el (defcustom): Doc fix.
6558
f8cdeef0
GM
65592012-02-05 Glenn Morris <rgm@gnu.org>
6560
6561 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6562
0696d255
JB
65632012-02-05 Juanma Barranquero <lekktu@gmail.com>
6564
6565 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6566 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6567 (pp-last-sexp): Use `looking-at-p'.
6568
34c99998
GM
65692012-02-04 Glenn Morris <rgm@gnu.org>
6570
8f05da42
GM
6571 * files.el (revert-buffer):
6572 Doc fix (mention revert-buffer-in-progress-p).
6573
f160676e
GM
6574 * emacs-lisp/ert-x.el (ert-simulate-command):
6575 Check deferred-action-list (which is obsolete) is bound.
6576
c7291ad9
GM
6577 * subr.el (with-wrapper-hook): Doc fixes.
6578
34c99998
GM
6579 * simple.el (filter-buffer-substring-functions)
6580 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6581
6283a7d3
LL
65822012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6583
6584 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6585 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6586
e96e3013
LL
65872012-02-04 Leo Liu <sdl.web@gmail.com>
6588
6589 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6590
8ded50f2
GM
65912012-02-04 Glenn Morris <rgm@gnu.org>
6592
82ff1d13
GM
6593 * image.el (image-extension-data): Add obsolete alias.
6594
987a0a16
GM
6595 * isearch.el (isearch-update): Doc fix.
6596
ea32ef46
GM
6597 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6598
8ded50f2
GM
6599 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6600
eea14f31
GM
66012012-02-03 Glenn Morris <rgm@gnu.org>
6602
6603 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6604 (image-animate-timeout): Doc fix.
6605
6606 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6607
12f381b7
GM
66082012-02-02 Glenn Morris <rgm@gnu.org>
6609
953cebf5
GM
6610 * server.el (server-auth-dir): Doc fix.
6611 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6612
12f381b7
GM
6613 * subr.el (run-mode-hooks): Doc fix.
6614
953a8c3b
JL
66152012-02-02 Juri Linkov <juri@jurta.org>
6616
6617 * image-mode.el (image-toggle-display-image): Remove tautological
6618 `major-mode' from the `derived-mode-p' test.
6619
c5d3843c
KH
66202012-02-02 Kenichi Handa <handa@m17n.org>
6621
9f6e692e 6622 * composite.el (compose-region): Cancel previous change.
c5d3843c 6623
159462d4 66242012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6625
6626 * composite.el (compose-region, compose-string): Signal error for
6627 a null string component (Bug#6988).
6628
9f562668
CY
66292012-02-01 Chong Yidong <cyd@gnu.org>
6630
e2cef717
CY
6631 * view.el (view-buffer-other-window, view-buffer-other-frame):
6632 Handle special modes like view-buffer (Bug#10650).
6633 (view-buffer): Simplify.
6634
9f562668
CY
6635 * frame.el (set-frame-font): Tweak meaning of third argument.
6636
9f6e692e
JB
6637 * dynamic-setting.el (font-setting-change-default-font):
6638 Use set-frame-font (Bug#9982).
9f562668 6639
781acb9f
GM
66402012-02-01 Glenn Morris <rgm@gnu.org>
6641
6035be52
GM
6642 * progmodes/compile.el (compilation-internal-error-properties):
6643 Respect compilation-first-column in the "*compilation*" buffer.
6644
781acb9f
GM
6645 * emacs-lisp/easy-mmode.el (define-minor-mode):
6646 Relax :variable's test for a named function.
6647
abbceb00
AM
66482012-01-31 Alan Mackenzie <acm@muc.de>
6649
6650 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6651 off by one error.
6652
fce3fdeb
CY
66532012-01-31 Chong Yidong <cyd@gnu.org>
6654
6655 * frame.el (set-frame-font): New arg ALL-FRAMES.
6656
6657 * menu-bar.el (menu-set-font): Use set-frame-font.
6658
6659 * faces.el (face-spec-reset-face): Don't apply unspecified
6660 attribute values to the default face.
6661
47893581
JB
66622012-01-31 Juanma Barranquero <lekktu@gmail.com>
6663
6664 * progmodes/cwarn.el (cwarn): Remove dead link.
6665 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6666 Remove * from defcustom docstrings.
6667 (turn-on-cwarn-mode): Make obsolete.
6668 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6669 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6670
e58e988a
GM
66712012-01-31 Glenn Morris <rgm@gnu.org>
6672
60dc2671 6673 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6674 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6675 Allow named functions to be used as the cdr of :variable.
e58e988a 6676
7a3f511d
GM
66772012-01-30 Glenn Morris <rgm@gnu.org>
6678
6679 * emacs-lisp/authors.el (authors-fixed-entries):
6680 Remove reference to deleted file rnewspost.el.
6681
cb882333
JB
66822012-01-29 Juanma Barranquero <lekktu@gmail.com>
6683
6684 * window.el (window-with-parameter): Remove unused variable `windows'.
6685 (window--side-check): Remove unused variable `code'.
6686 (window--resize-siblings): Remove unused variable `first'.
6687 (adjust-window-trailing-edge): Remove unused variable `failed'.
6688 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6689 Use `let', not `let*'.
6690 (balance-windows-2): Remove unused variable `found'.
6691 (window--state-put-2): Remove unused variable `splits'.
6692 (window-state-put): Remove unused variable `selected'.
6693 (same-window-p): Use `string-match-p'.
6694 (display-buffer-assq-regexp): Remove unused variable `value'.
6695 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6696 Mark argument ALIST as ignored.
6697 (pop-to-buffer): Remove unused variable `old-window'.
6698
907201af
EZ
66992012-01-29 Eli Zaretskii <eliz@gnu.org>
6700
6701 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6702 and .lzma compressed files.
6703
ea162670
CY
67042012-01-29 Chong Yidong <cyd@gnu.org>
6705
5b95ee8a
CY
6706 * frame.el (window-system-default-frame-alist): Doc fix.
6707
ea162670
CY
6708 * dynamic-setting.el (font-setting-change-default-font): Don't
6709 change the default face if SET-FONT argument is non-nil (Bug#9982).
6710
d6e6f4b1
SB
67112012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6712
6713 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6714
0f29fa41 67152012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6716
6717 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6718 breakpoints in files outside current directory (Bug#6098).
6719
db174434
CY
67202012-01-29 Chong Yidong <cyd@gnu.org>
6721
6b25e4e2
SE
6722 * progmodes/python.el: Require ansi-color at top-level.
6723
6df6ae42
JB
6724 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6725 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6726 (lisp-mode-abbrev-table): Add doc.
6727 (lisp-mode-variables): Don't set local-abbrev-table.
6728 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6729
e70ee681
RW
67302012-01-28 Roland Winkler <winkler@gnu.org>
6731
6732 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6733
ace88aa2
RW
67342012-01-28 Roland Winkler <winkler@gnu.org>
6735
6736 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6737 (bibtex-set-dialect): Use it. Either set global values of
6738 dialect-dependent variables or bind these variables buffer-locally
6739 (Bug#10254).
6740 (bibtex-mode): Call bibtex-set-dialect via
6741 hack-local-variables-hook.
eb864a71
LM
6742 (bibtex-dialect): Update docstring.
6743 Add safe-local-variable predicate.
ace88aa2
RW
6744 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6745 bibtex-set-dialect.
6746 (bibtex-mode-map): Define menu for each dialect.
6747 (bibtex-entry): Fix docstring.
6748
93376c5b
CY
67492012-01-28 Chong Yidong <cyd@gnu.org>
6750
6751 * eshell/esh-arg.el (eshell-quote-argument): New function.
6752
6753 * eshell/esh-ext.el (eshell-invoke-batch-file):
6754 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6755 first arg to eshell-parse-command (Bug#10523).
6756
4372494f
DA
67572012-01-28 Drew Adams <drew.adams@oracle.com>
6758
6759 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6760 `default-directory' is non-nil.
6761
4d4ec1f8
EZ
67622012-01-28 Eli Zaretskii <eliz@gnu.org>
6763
6764 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6765 line that displays system-configuration-options. (Bug#9924)
6766
7c188927
DA
67672012-01-28 Drew Adams <drew.adams@oracle.com>
6768
6769 * descr-text.el (describe-char): Show information about POS, in
6770 addition to information about the character at POS. Improve and
6771 update the doc string. Change "code point" to "code point in
6772 charset", to avoid confusion with the character's Unicode code
6773 point shown above that. (Bug#10129)
6774
e0da685a
EZ
67752012-01-28 Eli Zaretskii <eliz@gnu.org>
6776
6777 * descr-text.el (describe-char): Show the raw character, not only
6778 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6779 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6780 for the reasons.
6781
70550acf
PH
67822012-01-28 Phil Hagelberg <phil@hagelb.org>
6783
eb864a71
LM
6784 * emacs-lisp/package.el (package-install):
6785 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6786
0ce8e868
CY
67872012-01-28 Chong Yidong <cyd@gnu.org>
6788
cb882333
JB
6789 * emacs-lisp/package.el (package-maybe-load-descriptor):
6790 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6791 (package-maybe-load-descriptor): Use it.
6792 (package-download-transaction): Fully load required packages
6793 inside the loop, so that `require' calls work (Bug#10593).
6794 (package-install): No need to call package-initialize now.
6795
2e7f3bea
CY
67962012-01-28 Chong Yidong <cyd@gnu.org>
6797
6e9bad14
CY
6798 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6799
f823b8ca
CY
6800 * tooltip.el (tooltip-mode): Doc fix.
6801 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6802
2680c309
CY
6803 * frame.el (set-cursor-color): Doc fix (Bug#352).
6804
d7a9e63b
CY
6805 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6806 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6807
2e7f3bea
CY
6808 * cus-edit.el (custom-buffer-create-internal): Fix search button
6809 action (Bug#10542).
2ae01800 6810 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6811
fc4f7a23
EW
68122012-01-27 Eduard Wiebe <usenet@pusto.de>
6813
6814 * dired.el (dired-mark-files-regexp):
6815 Include any subdirectory components. (Bug#10445)
6816
7dd37071
ML
68172012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6818
6819 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6820 Handle [host]:port syntax. (Bug#10533)
6821
a268160b
AH
68222012-01-27 Alex Harsanyi <harsanyi@mac.com>
6823
6824 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6825
e43273ef
GM
68262012-01-26 Glenn Morris <rgm@gnu.org>
6827
6828 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6829 * term.el (term-raw-escape-map): Use Control-X-prefix.
6830 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6831
1edf595d
MR
68322012-01-25 Martin Rudalics <rudalics@gmx.at>
6833
6834 * window.el (window-state-get, window--state-get-1): Don't deal
6835 with fixed-sizeness of windows. Simplify code.
6836
fa8eafef
JC
68372012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6838
6df6ae42
JB
6839 * window.el (window--state-get-1, window--state-put-2):
6840 Don't save and restore the mark.
fa8eafef 6841
0b21c100
CY
68422012-01-25 Chong Yidong <cyd@gnu.org>
6843
6844 * custom.el (custom-variable-p): Doc fix.
6845
5ae1a6c8
GM
68462012-01-25 Glenn Morris <rgm@gnu.org>
6847
40047858
GM
6848 * dired.el (dired-goto-file): Handle some of the more common
6849 characters that `ls -b' escapes. (Bug#10596)
6850
5ddce96c
GM
6851 * progmodes/compile.el (compilation-next-error-function):
6852 Respect compilation-first-column in the "*compilation*" buffer.
6853 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6854
5ae1a6c8
GM
6855 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6856
b559f1a9
GM
68572012-01-24 Glenn Morris <rgm@gnu.org>
6858
6859 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6860
6725d21a
JD
68612012-01-24 Julien Danjou <julien@danjou.info>
6862
6863 * color.el (color-rgb-to-hsl): Fix value computing.
6864 (color-hue-to-rgb): New function.
6865 (color-hsl-to-rgb): New function.
6866 (color-clamp, color-saturate-hsl, color-saturate-name)
6867 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6868 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6869
70df4bbe
GM
68702012-01-24 Glenn Morris <rgm@gnu.org>
6871
6872 * vc/vc-rcs.el (vc-rcs-create-tag):
6873 * vc/vc-sccs.el (vc-sccs-create-tag):
6874 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6875
802a2ae2
ML
68762012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6877
6878 * eshell/esh-util.el (eshell-read-hosts-file):
6879 Skip comment lines. (Bug#10549)
6880
d7128bb1
ML
6881 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6882
d1a5c3b4
JB
68832012-01-23 Juanma Barranquero <lekktu@gmail.com>
6884
2724d9c7
JB
6885 * subr.el (display-delayed-warnings): Doc fix.
6886 (collapse-delayed-warnings): New function to collapse identical
6887 adjacent warnings.
6888 (delayed-warnings-hook): Add it.
d1a5c3b4 6889
a5509865
MA
68902012-01-22 Michael Albinus <michael.albinus@gmx.de>
6891
6892 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6893
a5509865
MA
6894 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6895 (tramp-default-user-alist): Don't add "pscp".
6896 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6897 property "login-as", if set. (Bug#10530)
6898
cc6d5805
MA
68992012-01-21 Michael Albinus <michael.albinus@gmx.de>
6900
6901 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6902 "plink1" and "psftp". (Bug#10530)
6903
69042012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6905
6906 * international/mule-cmds.el (prefer-coding-system): Show a
6907 warning message if the default value of file-name-coding-system
6908 was not changed.
6909
f0960428
JC
69102012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6911
cb882333
JB
6912 * windmove.el (windmove-reference-loc):
6913 Fix windmove-reference-loc miscalculation.
f0960428 6914
dd6f2a63
JB
69152012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6916
6917 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6918 default unit.
6919
7b447e9b
GM
69202012-01-21 Glenn Morris <rgm@gnu.org>
6921
117a9ea1
GM
6922 * international/mule.el (auto-coding-alist): Add .tbz.
6923
7b447e9b
GM
6924 * files.el (local-enable-local-variables): Doc fix.
6925 (inhibit-local-variables-regexps): Rename from
6926 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6927 Doc fix. Add some extensions from auto-coding-alist.
6928 (inhibit-local-variables-suffixes):
6929 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6930 (inhibit-local-variables-p):
6931 New function, extracted from set-auto-mode-1.
6932 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6933 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6934 (hack-local-variables): Doc fix. Make the mode-only case
6935 respect enable-local-variables and friends.
6936 Respect inhibit-local-variables-regexps for file-locals, but
6937 not for directory-locals.
6938 (set-visited-file-name):
6939 Take account of inhibit-local-variables-regexps.
6940 Whether it applies may change as the file name is changed.
6941 * jka-cmpr-hook.el (jka-compr-install):
6942 * jka-compr.el (jka-compr-uninstall):
6943 Update for inhibit-first-line-modes-suffixes name change.
6944
dd6e3cdd
MR
69452012-01-20 Martin Rudalics <rudalics@gmx.at>
6946
6947 * help-macro.el (make-help-screen): Temporarily restore original
6948 binding for minor-mode-map-alist (Bug#10454).
6949
0d0deb38
JD
69502012-01-19 Julien Danjou <julien@danjou.info>
6951
6952 * color.el (color-name-to-rgb): Use the white color to find the max
6953 color component value and return correctly computed values.
6954 (color-name-to-rgb): Add missing float conversion for max value.
6955
34a02f46
MR
69562012-01-19 Martin Rudalics <rudalics@gmx.at>
6957
6958 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6959 special state value for window-persistent-parameters.
6960 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6961 (window--state-put-2): Reset all window parameters to nil before
6962 assigning values of persistent parameters.
6963
606c44c4
AM
69642012-01-18 Alan Mackenzie <acm@muc.de>
6965
6966 Eliminate sluggishness and hangs in fontification of "semicolon
6967 deserts".
6968
cb882333
JB
6969 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6970 Change value 10000 -> 3000.
606c44c4
AM
6971 (c-state-safe-place): Reformulate so it doesn't stack up an
6972 infinite number of wrong entries in c-state-nonlit-pos-cache.
6973 (c-determine-limit-get-base, c-determine-limit): New functions to
6974 determine backward search limits disregarding literals.
6975 (c-find-decl-spots): Amend commenting.
6976 (c-cheap-inside-bracelist-p): New function which detects "={".
6977
6978 * progmodes/cc-fonts.el
6979 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6980 backward search.
6981 (c-font-lock-declarations): Fix an occurrence of point being
6982 undefined. Check additionally for point being in a bracelist or
6983 near a macro invocation without a semicolon so as to avoid a
6984 fruitless time consuming search for a declarator. Give a more
6985 precise search limit for declarators using the new
6986 c-determine-limit.
6987
f3860cea
GM
69882012-01-18 Glenn Morris <rgm@gnu.org>
6989
6990 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6991 (set-auto-mode): Doc fixes.
6992
1db03b16
GM
69932012-01-17 Glenn Morris <rgm@gnu.org>
6994
0e6038be
GM
6995 * isearch.el (search-nonincremental-instead): Fix doc typo.
6996
1db03b16
GM
6997 * dired.el (dired-insert-directory): Handle newlines in directory name.
6998 (dired-build-subdir-alist): Unescape newlines in directory name.
6999
4cb0aa75
MA
70002012-01-17 Michael Albinus <michael.albinus@gmx.de>
7001
7002 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7003 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7004 (tramp-action-terminal): Use it. (Bug#10530)
7005
1d00653d
SM
70062012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7007
7008 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7009
6a6ee00d
MR
70102012-01-16 Martin Rudalics <rudalics@gmx.at>
7011
7012 * window.el (window-state-ignored-parameters): Remove variable.
7013 (window--state-get-1): Rename argument MARKERS to IGNORE.
7014 Handle persistent window parameters. Make copy of clone-of
7015 parameter only if requested. (Bug#10348)
7016 (window--state-put-2): Install a window parameter only if it has
7017 a non-nil value or an existing parameter shall be overwritten.
7018
97912def
MA
70192012-01-15 Michael Albinus <michael.albinus@gmx.de>
7020
7021 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7022
688070a5
EZ
70232012-01-14 Eli Zaretskii <eliz@gnu.org>
7024
7025 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7026 don't pass the (nil) value of `upnode' to string-match.
7027
301afadc
CY
70282012-01-14 Chong Yidong <cyd@gnu.org>
7029
7030 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7031 Fix values recognized by the cursorBlink resource.
301afadc 7032
9e5788aa
PE
70332012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7034
7035 * epg.el (epg--make-temp-file): Avoid permission race condition
7036 when running on old Emacs versions (bug#10403).
7037
3cdb7f5a
GM
70382012-01-14 Glenn Morris <rgm@gnu.org>
7039
7040 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7041
8c82b1b4
AM
70422012-01-13 Alan Mackenzie <acm@muc.de>
7043
7044 Fix filling for when filladapt mode is enabled.
7045
7046 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7047 c-mask-paragraph, pass in `fill-paragraph' rather than
7048 `fill-region-as-paragraph'. (This is a reversion of a previous
7049 change.)
eb864a71
LM
7050 * progmodes/cc-mode.el (c-basic-common-init):
7051 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7052
e517eda4
GM
70532012-01-13 Glenn Morris <rgm@gnu.org>
7054
1498536e
GM
7055 * dired.el (dired-switches-escape-p): New function.
7056 (dired-insert-directory): Use dired-switches-escape-p.
7057 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7058
e517eda4
GM
7059 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7060
328f984d
GM
70612012-01-12 Glenn Morris <rgm@gnu.org>
7062
7063 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7064 changes in adaptive-fill-regexp. (Bug#10276)
7065
2cc769a8
AM
70662012-01-11 Alan Mackenzie <acm@muc.de>
7067
7068 Fix Emacs bug #10463 - put `widen's around the critical spots.
7069
1d00653d 7070 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7071 widen around each invocation of c-state-pp-to-literal. Remove an
7072 unused let variable.
7073
e52c37fa
GM
70742012-01-11 Glenn Morris <rgm@gnu.org>
7075
7076 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7077 Doc fix.
e52c37fa 7078
96f8741e
CY
70792012-01-10 Chong Yidong <cyd@gnu.org>
7080
1d00653d
SM
7081 * net/network-stream.el (network-stream-open-starttls):
7082 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7083 response to the capability command.
7084
b09a806e
GM
70852012-01-10 Glenn Morris <rgm@gnu.org>
7086
7087 * mail/unrmail.el (unrmail): Tweak previous change.
7088
7655cb66
CY
70892012-01-09 Chong Yidong <cyd@gnu.org>
7090
7091 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7092
9d5a8f0b
AM
70932012-01-08 Alan Mackenzie <acm@muc.de>
7094
7095 Optimise font locking in long enum definitions.
7096
7097 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7098 arm to a cond form to handle enums.
7099 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7100 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7101
9a0115ab 71022012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7103
7104 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7105 (Bug#10401)
6bb72cbd 7106
f186bb95
LMI
71072012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7108
29232a68
LMI
7109 * faces.el (set-face-attribute): Clarify the meaning of the nil
7110 frame (bug#10294).
7111
4e5d086d
LMI
7112 * subr.el (with-selected-frame): Mention that the selected frame
7113 is restored (bug#9980).
7114
8e66aebe
LMI
7115 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7116 (bug#9759).
7117
cd394be1 7118 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7119 (password-read): Don't autoload unused function.
7120
adf4e762
JB
71212012-01-07 Juanma Barranquero <lekktu@gmail.com>
7122
7123 * progmodes/which-func.el (which-func-mode): Turn into a
7124 non-interactive function and mark as obsolete (bug#10428).
7125
89bd9ccd
CY
71262012-01-06 Chong Yidong <cyd@gnu.org>
7127
7128 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7129 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7130 functions, along with 1 and -1.
7131
4afee9d5
EZ
71322012-01-06 Eli Zaretskii <eliz@gnu.org>
7133
7134 * time.el (display-time-load-average)
7135 (display-time-default-load-average): Doc fixes. See the thread
7136 starting at
7137 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7138 for the details.
7139
536aea70
GM
71402012-01-06 Glenn Morris <rgm@gnu.org>
7141
665ae865
GM
7142 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7143 has no messages. (Bug#10377)
7144
c869783d
GM
7145 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7146 than Info-edit. (Bug#10385)
7147
2bb4227e
GM
7148 * time.el (display-time-load-average, display-time-next-load-average):
7149 Doc fixes.
7150
7d5944b9
GM
7151 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7152 local setting of buffer-read-only to the input buffer. (Bug#10419)
7153
536aea70
GM
7154 * calendar/calendar.el (calendar-mode):
7155 Locally set scroll-margin to 0. (Bug#10379)
7156
7dccca16
UM
71572012-01-06 Ulrich Mueller <ulm@gentoo.org>
7158
7159 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7160
afbb7930
GM
71612012-01-05 Glenn Morris <rgm@gnu.org>
7162
7163 * eshell/em-unix.el (diff-no-select): Autoload it.
7164 (eshell/diff): Use diff-no-select. (Bug#10420)
7165
04482335
CY
71662012-01-05 Chong Yidong <cyd@gnu.org>
7167
7baca3bc
CY
7168 * shell.el (shell-dynamic-complete-functions): Revert last change.
7169 (shell-command-completion-function): New function.
7170 (shell-completion-vars): Use it to implement
7171 shell-completion-execonly (Bug#10417).
7172
04482335
CY
7173 * custom.el (enable-theme): Don't set custom-safe-themes.
7174
1d00653d
SM
7175 * cus-theme.el (custom-theme-merge-theme):
7176 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7177
bb5aa5d6
MM
71782012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7179
7180 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7181 first prompt in `sql-interacive-mode'.
7182 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7183 keywords.
6df6ae42 7184 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7185 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7186 context of original buffer. Invoke `sql-login-hook'.
7187
a7183d7c
EZ
71882012-01-04 Eli Zaretskii <eliz@gnu.org>
7189
7190 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7191 letters in cite-prefix.
7192
a1eacd1e
LMI
71932012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7194
7195 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7196
787cdb34
CY
71972012-01-03 Chong Yidong <cyd@gnu.org>
7198
1d00653d
SM
7199 * shell.el (shell-dynamic-complete-functions):
7200 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7201 comint-filename-completion first (Bug#10417).
7202
30710442
RS
72032012-01-02 Richard Stallman <rms@gnu.org>
7204
7205 * battery.el (battery-status-function):
7206 Detect when to use battery-yeeloong-sysfs.
7207 (battery-echo-area-format): Add string for Yeeloong.
7208 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7209 (battery-yeeloong-sysfs): New function.
7210
f75bfc33
CY
72112012-01-02 Chong Yidong <cyd@gnu.org>
7212
7213 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7214 (dirtrack): Merge code for handling relative filenames in prompt
7215 from shell-dir-cookie-watcher.
7216 (dirtrack-debug-message): New arg to avoid excess format calls.
7217
7218 * shell.el (shell-dir-cookie-re): Variable deleted.
7219 (shell-dir-cookie-watcher): Function deleted.
7220 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7221 with dirtrack-mode.
7222
651e947e
EZ
72232012-01-01 Eli Zaretskii <eliz@gnu.org>
7224
1d00653d
SM
7225 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7226 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7227 libgnutls-26.dll.
7228
94d4c7dc
AS
72292011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7230
7231 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7232
8d43f3cd
EZ
72332011-12-31 Eli Zaretskii <eliz@gnu.org>
7234
7235 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7236 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7237
98c8795a
MA
72382011-12-29 Michael Albinus <michael.albinus@gmx.de>
7239
7240 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7241 also for alternative shells.
7242 (tramp-open-connection-setup-interactive-shell): Check, whether
7243 the shell is a busybox.
7244 (tramp-send-command): Don't suppress multiple prompts for
7245 busyboxes, it hurts.
7246
51281b32
CY
72472011-12-28 Chong Yidong <cyd@gnu.org>
7248
7249 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7250 (gdb-get-source-file): Move mode line update to
7251 gdb-get-source-file (Bug#10087).
7252
2170cb53
CY
72532011-12-25 Chong Yidong <cyd@gnu.org>
7254
7255 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7256 gud-gdb-marker-filter without taking it as an argument.
7257 (gud-gdb-run-command-fetch-lines): Caller changed.
7258 (gud-gdb-completion-function): New variable.
7259 (gud-gdb-completion-at-point): Use it.
7260 (gud-gdb-completions-1): Split from gud-gdb-completions.
7261
7262 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7263 function as separate arguments.
7264 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7265 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7266 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7267 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7268 (gdb-stopped, def-gdb-auto-update-trigger)
7269 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7270 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7271 Callers changed.
2170cb53
CY
7272 (gud-gdbmi-completions): New function.
7273 (gdb): Use it for generating the completion table.
7274
be8b11bb
AM
72752011-12-24 Alan Mackenzie <acm@muc.de>
7276
7277 Introduce a mechanism to widen the region used in context font
1d00653d 7278 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7279
1d00653d
SM
7280 * progmodes/cc-langs.el (c-before-font-lock-functions):
7281 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7282 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7283 functions to be run just before context (etc.) font locking.
7284
7285 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7286 New, functionality extracted from
be8b11bb 7287 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7288 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7289 (c-after-change): Set c-in-after-change-fontification.
7290 (c-set-fl-decl-start): Rejig its interface, so it can be called
7291 from both after-change and context fontifying.
b81d40f0
JB
7292 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7293 New functions.
7294 (c-standard-font-lock-fontify-region-function): New variable.
7295 (c-font-lock-fontify-region): New function.
be8b11bb 7296
341cf6ac
JL
72972011-12-24 Juri Linkov <juri@jurta.org>
7298
7299 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7300 (Bug#10348)
7301
bffcee0a
MA
73022011-12-23 Michael Albinus <michael.albinus@gmx.de>
7303
7304 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7305 existence of source file. (Bug#10325)
7306
cb5e207c
AM
73072011-12-23 Alan Mackenzie <acm@muc.de>
7308
7309 Fix unstable fontification inside templates.
7310
b81d40f0
JB
7311 * progmodes/cc-langs.el (c-before-font-lock-functions):
7312 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7313 additionally has c-set-fl-decl-start. The other languages (apart
7314 from AWK) have that as a single entry.
7315
b81d40f0
JB
7316 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7317 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7318 c-set-fl-decl-start.
7319
b81d40f0
JB
7320 * progmodes/cc-mode.el (c-common-init, c-after-change):
7321 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7322 (c-set-fl-decl-start): New function, extracted from
7323 c-font-lock-enclosing-decls and enhanced.
7324
60ff536c
JB
73252011-12-23 Juanma Barranquero <lekktu@gmail.com>
7326
7327 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7328
1c4757d6
JL
73292011-12-22 Juri Linkov <juri@jurta.org>
7330
7331 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7332
d031f2c7
CY
73332011-12-22 Chong Yidong <cyd@gnu.org>
7334
7335 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7336
bace743a
DA
73372011-12-21 Drew Adams <drew.adams@oracle.com>
7338
7339 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7340
728a1f2b
JC
73412011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7342
7343 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7344
0d373f73
TZ
73452011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7346
fec0aaa4
TZ
7347 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7348 highlighting and support. Fix up comments for capitalization.
7349 (cfengine-mode-debug): New var.
7350 (cfengine3-mode): Change the modeline indicator to "CFE3".
7351 (cfengine3-font-lock-keywords): Improve defun highlighting.
7352 (cfengine2-actions): Rename from `cfengine-actions'.
7353 (cfengine2-font-lock-keywords): Rename from
7354 `cfengine-font-lock-keywords'.
7355 (cfengine2-imenu-expression): Rename from
7356 `cfengine-imenu-expression'.
7357 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7358 (cfengine2-beginning-of-defun): Rename from
7359 `cfengine-beginning-of-defun'.
7360 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7361 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7362 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7363 modeline indicator to "CFE2".
7364 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7365 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7366
bc86f573
CY
73672011-12-21 Chong Yidong <cyd@gnu.org>
7368
7369 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7370 filename argument.
7371
d45ba96b
MR
73722011-12-20 Martin Rudalics <rudalics@gmx.at>
7373
7374 * window.el (window-normalize-buffer-to-display): Remove.
7375 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7376
a6198c90
CY
73772011-12-19 Chong Yidong <cyd@gnu.org>
7378
7379 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7380 Don't signal an error in a predicate function; return non-nil.
7381 (vc-dir-mark-file): Move the error here.
7382 (vc-dir-mark-unmark): If acting on the region, keep going if one
7383 of the entries cannot be marked/unmarked.
7384 (vc-dir-mark-all-files): If current entry is a directory, mark
7385 only child files, as documented.
7386
34c5fb55
VB
73872011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7388
7389 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7390 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7391 addition.
7392
c803b2b7
JD
73932011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7394
7395 * term/ns-win.el (ns-get-selection-internal)
7396 (ns-store-selection-internal): Declare.
1154d12e
JB
7397 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7398 Declare as obsolete.
7399 (ns-get-pasteboard, ns-paste-secondary):
7400 Use ns-get-selection-internal.
7401 (ns-set-pasteboard, ns-copy-including-secondary):
7402 Use ns-store-selection-internal.
c803b2b7 7403
9cff91f8 74042011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7405
7406 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7407 (vc-deduce-fileset): Doc fix.
99a289d9 7408
f16c898a
AS
74092011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7410
7411 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7412
763237c4
SS
74132011-12-13 Sam Steingold <sds@gnu.org>
7414
7415 * man.el (Man-getpage-in-background): When running under a
7416 window-system, ignore $MANWIDTH and $COLUMNS.
7417
5fc1c122
KH
74182011-12-15 Kenichi Handa <handa@m17n.org>
7419
7420 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7421 (setup-ethiopic-environment-internal): Comment out key-binding for
7422 ethio-toggle-punctuation.
7423
13d49cbb
AM
74242011-12-13 Alan Mackenzie <acm@muc.de>
7425
898169a2
AM
7426 Add the switch statement to AWK Mode.
7427
7a71b18d 7428 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7429 "default" to the keywords regexp.
7430
7a71b18d 7431 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7432 expression as the rest.
1d00653d
SM
7433 (c-nonlabel-token-key): Allow string literals for AWK.
7434 Refactor for the other modes.
898169a2 7435
13d49cbb 7436 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7437 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7438 routines. Limit backward searching in c-font-lock-enclosing.decl.
7439
7440 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7441 pp-state and literal type in addition to the limits.
1d00653d 7442 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7443 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7444 (c-slow-in-literal, c-fast-in-literal): Remove.
7445 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7446
7447 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7448 being in a literal. Add a limit for backward searching.
7449
7450 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7451 c-slow-in-literal.
7452
15e0efc7
SM
74532011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7456
454592a6
MR
74572011-12-13 Martin Rudalics <rudalics@gmx.at>
7458
7459 * window.el (delete-other-windows): Use correct frame in call to
7460 window-with-parameter.
7461
87393f26
DP
74622011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7463
7464 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7465 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7466 (makefile-gmake-statements, makefile-makepp-statements):
7467 Use it and add new makepp keywords.
7468 (makefile-makepp-font-lock-keywords): Add new patterns.
7469 (makefile-match-function-end): Match new [...] and [[...]].
7470
11636b22
JB
74712011-12-11 Juanma Barranquero <lekktu@gmail.com>
7472
7473 * ses.el (ses-call-printer-return, ses-cell-property-get)
7474 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7475 (ses-create-cell-variable, ses-reset-header-string)
7476 (ses-cell-set-formula, ses-repair-cell-reference-all)
7477 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7478 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7479 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7480 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7481 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7482 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7483 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7484 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7485 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7486 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7487 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7488 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7489
cf018193
VB
74902011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7491
7492 * ses.el: The overall change is to add cell renaming, that is
7493 setting fancy names for cell symbols other than name matching
7494 "\\`[A-Z]+[0-9]+\\'" regexp .
7495 (ses-create-cell-variable): New defun.
7496 (ses-relocate-formula): Relocate formulas only for cells the
7497 symbols of which are not renamed, i.e. symbols whose names do not
7498 match regexp "\\`[A-Z]+[0-9]+\\'".
7499 (ses-relocate-all): Relocate values only for cells the symbols of
7500 which are not renamed.
7501 (ses-load): Create cells variables as the (ses-cell ...) are read,
7502 in order to check row col consistency with cell symbol name only
7503 for cells that are not renamed.
7504 (ses-replace-name-in-formula): New defun.
7505 (ses-rename-cell): New defun.
7506
ee957461
CY
75072011-12-11 Chong Yidong <cyd@gnu.org>
7508
7509 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7510 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7511
9a9e9ef0
MR
75122011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7513
7514 * window.el (other-window): Fix docstring.
7515
92a8eba5
EZ
75162011-12-10 Eli Zaretskii <eliz@gnu.org>
7517
7518 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7519 `from' or `to' address before taking its substring.
7520 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7521 encoded name is chopped in the middle of the encoded string, and
7522 thus displayed encoded.
7523
e152e577
JB
75242011-12-10 Juanma Barranquero <lekktu@gmail.com>
7525
7526 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7527
e5d84bfe
EZ
75282011-12-10 Eli Zaretskii <eliz@gnu.org>
7529
7530 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7531 to use texinfo-update-node and commands that call it if the
7532 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7533 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7534 (texinfo-all-menus-update, texinfo-master-menu)
7535 (texinfo-update-node, texinfo-every-node-update)
7536 (texinfo-multiple-files-update): Doc fix. Warn against updating
7537 all the @node lines.
7538 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7539 argument is numeric. Explain better in the doc string what the
7540 function really does.
7541 (texinfo-insert-master-menu-list): Improve the error message
7542 displayed if there's no menu in the Top node.
7543 (Bug#2975) See also this thread:
e5d84bfe
EZ
7544 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7545
1d84e9bb
MG
75462011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7547
7548 * speedbar.el (speedbar-supported-extension-expressions):
7549 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7550
382c953b
JB
75512011-12-09 Juanma Barranquero <lekktu@gmail.com>
7552
7553 * printing.el (pr-mode-alist):
7554 * simple.el (filter-buffer-substring-functions)
7555 (completion-list-insert-choice-function):
7556 * window.el (window-with-parameter, window-atom-root)
7557 (window-sides-slots, window-size-fixed, window-min-delta)
7558 (window-max-delta, window--resize-mini-window)
7559 (window--resize-child-windows-normal, window-tree)
7560 (delete-other-windows, quit-window, split-window)
7561 (display-buffer-record-window, special-display-buffer-names)
7562 (special-display-regexps, special-display-popup-frame)
7563 (same-window-p, split-window-sensibly)
7564 (display-buffer-overriding-action, display-buffer-alist)
7565 (display-buffer-base-action, display-buffer, switch-to-buffer)
7566 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7567 (fit-window-to-buffer, recenter-positions)
7568 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7569 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7570 and remove unneeded backslashes in docstrings.
7571
39c9faef
SM
75722011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7573
98449af8
SM
7574 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7575
39c9faef
SM
7576 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7577 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7578 end in ".mk".
7579 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7580 when reading the makefile (bug#10116).
7581
86ed9fdc
SM
75822011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7585 (bug#10116).
7586
5580f89d
GM
75872011-12-06 Glenn Morris <rgm@gnu.org>
7588
7589 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7590
28d3917c
CY
75912011-12-06 Chong Yidong <cyd@gnu.org>
7592
7593 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7594
a98edce9
JB
75952011-12-06 Juanma Barranquero <lekktu@gmail.com>
7596
7597 * textmodes/table.el (table-shorten-cell): Fix typo.
7598
e65adfac
CG
75992011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7600
7601 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7602
71cc0b74
EZ
76032011-12-05 Eli Zaretskii <eliz@gnu.org>
7604
7605 * descr-text.el (describe-char): Fix display of strong
7606 right-to-left characters and directional embeddings and overrides.
7607
7608 * simple.el (what-cursor-position): Fix display of codepoints of
7609 strong right-to-left characters.
7610
315bc30d
CY
76112011-12-05 Chong Yidong <cyd@gnu.org>
7612
7613 * faces.el (read-color): Doc fix.
7614
58a70b94
GM
76152011-12-05 Glenn Morris <rgm@gnu.org>
7616
7617 * align.el (align--set-marker): Add doc-string.
7618 Don't try to move something that is not a marker. (Bug#10216)
7619
5158face
GM
76202011-12-04 Glenn Morris <rgm@gnu.org>
7621
7622 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7623 overly zealous deletion of trailing whitespace.
7624
520fca41
JB
76252011-12-04 Juanma Barranquero <lekktu@gmail.com>
7626
7627 * server.el (server-delete-client): On Windows, do not try to delete
7628 the only terminal.
7629 (server-process-filter): On Windows, treat requests for a tty frame as
7630 if they were for a GUI frame if the running server is in GUI mode.
7631
5e605a2e
GM
76322011-12-03 Glenn Morris <rgm@gnu.org>
7633
7634 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7635
5c3fe83f
SM
76362011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7637
6f5e57e7
SM
7638 * electric.el: Streamline electric-indent's hook.
7639 (electric-indent-chars): Revert to simple list.
7640 (electric-indent-functions): New var.
7641 (electric-indent-post-self-insert-function): Use it.
7642
5c3fe83f
SM
7643 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7644 there's no inferior buffer (bug#10196).
7645 (prolog-consult-compile): Don't use toggle-read-only.
7646
6bdac736
MA
76472011-12-02 Michael Albinus <michael.albinus@gmx.de>
7648
7649 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7650 interrupt. (Bug#10187)
7651
6131ba7f
SM
76522011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7653
99c79fee
SM
7654 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7655 (bug#9160).
7656
6131ba7f
SM
7657 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7658 (bug#10191).
7659
cb0a02ea
JL
76602011-12-02 Juri Linkov <juri@jurta.org>
7661
7662 * info.el (Info-search): Display "end of manual" when Isearch
7663 reaches the end of single-file Info manual. (Bug#9918)
7664
66e0570c
EZ
76652011-12-02 Eli Zaretskii <eliz@gnu.org>
7666
7667 * isearch.el (isearch-message-prefix): Run the input method part
7668 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7669
02b16839
JL
76702011-12-02 Juri Linkov <juri@jurta.org>
7671
7672 * isearch.el (isearch-occur): Use `word-search-regexp' for
7673 `isearch-word'.
7674 (isearch-search-and-update): Add condition for `isearch-word' and
7675 call `word-search-regexp'. (Bug#10145)
7676
0b950688
GM
76772011-12-01 Glenn Morris <rgm@gnu.org>
7678
7679 * eshell/em-hist.el (eshell-hist-initialize):
7680 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7681 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7682
9505c3c7
SM
76832011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7686
1bbe96b2 76872011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7688
a1beca85
SM
7689 * progmodes/verilog-mode.el (verilog-pretty-expr):
7690 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7691 verilog, such as += *= and the like.
7692 (verilog-assignment-operator-re): Regular expression to find the
7693 assigment operator in a verilog assignment.
7694 (verilog-assignment-operation-re): Regular expression to find an
7695 assignment statement for pretty-expr.
7696 (verilog-in-attribute-p): Query returns true if point is in an
7697 attribute context; used to skip these for expression line up from
7698 pretty-expr.
7699 (verilog-in-parameter-p): Query returns true if point is in an
7700 parameter definition context; used to skip these for expression
7701 line up from pretty-expr.
7702 (verilog-in-parenthesis-p): Query returns true if point is in a
7703 parenthetical expression, specifically ( ) but not [ ] or { };
7704 used by pretty-expr.
7705 (verilog-just-one-space): If there is no space, don't add one.
7706 (verilog-get-lineup-indent-2): Specifically skip just attribute
7707 contexts for expression lineup, rather than skipping all
7708 parenthetical expressions.
7709 (verilog-calculate-indent): Fix comment, and fix indent.
7710 (verilog-do-indent): Indent declarations in lists (suggested by
7711 Joachim Lechner).
7712 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7713 skeleton items.
7714 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7715 by Alain Mellan).
7716
1bbe96b2 77172011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7718
7719 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7720 parameters with embedded comments. Reported by Ray Stevens.
7721 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7722 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7723 Reported by Tim Holt.
7724 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7725 instantiated by upper module causing wrong expansion until AUTOed a
7726 second time. Reported by K C Buckenmaier.
7727 (verilog-diff-auto): Fix showing .* as a difference when
7728 `verilog-auto-star-save' off. Reported by Dan Dever.
7729 (verilog-auto-reset, verilog-read-always-signals)
7730 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7731 temporary signals in reset list if
7732 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7733 style to each signal's assignment type, bug381.
7734 Reported by Thomas Esposito.
6288f0ca
WS
7735 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7736 (verilog-uvm-statement-re): Support UVM indentation and
7737 highlighting, with old OVM keywords only.
a1beca85 7738 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7739 Support AUTOTIEOFF creating non-wire data types.
7740 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7741 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7742 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7743 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7744 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7745 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7746 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7747 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7748 non-numeric vector width. Reported by Alex Reed.
7749 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7750 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7751 (verilog-auto-delete-trailing-whitespace):
7752 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7753 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7754 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7755 Fix verilog-scan-cache corruption when running user AUTO expansion
7756 hooks that call indentation routines.
7757 (verilog-simplify-range-expression): Fix typo ignoring lower case
7758 identifiers.
7759 (verilog-delete-auto): Fix delete-autos to also remove user created
7760 automatics, as long as they start with AUTO.
7761 (verilog-batch-diff-auto, verilog-diff-auto)
7762 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7763 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7764 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7765 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7766 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7767 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7768 is disabled and its cache will get corrupt, causing AUTOS not to
7769 expand. Instead use only -quick functions.
7770 (verilog-scan-region): Fix scanning over escaped quotes.
7771 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7772 (verilog-re-search-backward-quick)
7773 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7774 related functions now ignore strings, to fix misparsing of strings
7775 with magic comments embedded in them.
a1beca85
SM
7776 (verilog-read-auto-template):
7777 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7778 Reported by Brad Dobbie.
7779 (verilog-read-auto-template):
7780 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7781 Reported by Brad Dobbie.
6288f0ca
WS
7782 (verilog-auto-inst, verilog-auto-inst-param)
7783 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7784 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7785 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7786 debugging templates without merge conflicts, bug357.
7787 Reported by Brad Dobbie.
7788 (verilog-read-auto-template):
7789 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7790 Reported by Brad Dobbie.
7791 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7792 abbrevs so user won't be asked to save.
7793 (verilog-read-auto-lisp-present): Fix to start at beginning of
7794 buffer in case called outside of verilog-auto.
7795 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7796 to "X-2". Reported by Matthew Myers.
7797 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7798 all inputs from module templates. Reported by Leith Johnson.
7799 (verilog-module-inside-filename-p): Fix locating programs as with
7800 modules.
7801 (verilog-auto-inst-port): Fix vl-width expressions when using
7802 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7803 (verilog-decls-get-regs, verilog-decls-get-signals,
7804 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7805 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7806 verilog-read-decls): Combine reg and wire structures into one var
7807 structure to represent SystemVerilog concepts.
7808 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7809 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7810 (verilog-auto-wire-type, verilog-insert-definition):
7811 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7812 SystemVerilog "logic" keyword instead of "wire"/"reg".
7813 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7814 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7815 ifdef or generate if so there's not a driver conflict).
7816 Reported by Matthew Myers.
7817 (verilog-auto-declare-nettype, verilog-insert-definition):
7818 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7819 `default_nettype none. Reported by Julian Gorfajn.
7820 (verilog-read-always-signals-recurse, verilog-read-decls)
7821 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7822 malformed end statement, bug325. Reported by Joshua Wise and
7823 Andrew Drake.
7824 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7825 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7826 when expanding .* in interfaces, bug320.
7827 Reported by Pierre-David Pfister.
6288f0ca 7828 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7829 name and open parenthesis, bug317.
7830 Reported by Pierre-David Pfister.
6288f0ca
WS
7831 (verilog-simplify-range-expression): Fix simplification of
7832 multiplications inside AUTOWIRE connections, bug303.
7833 (verilog-auto-inst-port): Support parameter expansion in
7834 multidimensional arrays.
7835 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7836 after "assert property". Reported by Julian Gorfajn.
7837 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7838 with multiplication, bug303.
7839 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7840 Reported by Jan Frode Lonnum.
7841
1bbe96b2
GM
78422011-11-30 Juanma Barranquero <lekktu@gmail.com>
7843
7844 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7845 (hfy-shell-file-name, hfy-shell):
7846 * international/fontset.el (x-decompose-font-name): Fix typos.
7847
78482011-11-29 Ken Brown <kbrown@cornell.edu>
7849
7850 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7851 (gdb-version): Remove defvar.
7852 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7853 (gdb-gud-context-command, gdb-non-stop-handler)
7854 (gdb-current-context-command, gdb-stopped): Use it.
7855 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7856 (gdb-non-stop-handler): Don't enable pretty-printing here.
7857 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7858 non-stop mode. Use the following.
7859 (gdb-check-target-async): New defun.
7860 (gud-watch, gdb-stopped): Fix whitespace.
7861 (gdb-get-source-file): Don't try to display the source file if
7862 `gdb-main-file' is nil.
7863
78642011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7865
7866 * align.el: Try to generate fewer markers (bug#10047).
7867 (align--set-marker): New macro.
7868 (align-region): Use it.
7869
c935221f
SM
78702011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7873
e70b5064
CY
78742011-11-29 Chong Yidong <cyd@gnu.org>
7875
7876 * indent.el (indent-for-tab-command, indent-according-to-mode):
7877 Doc fix.
7878 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7879
f3af92b7
MA
78802011-11-29 Michael Albinus <michael.albinus@gmx.de>
7881
7882 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7883 aware of remote file names. (Bug#10124)
7884
ed472be9
CY
78852011-11-29 Chong Yidong <cyd@gnu.org>
7886
7887 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7888
24510c22
SM
78892011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * files.el (find-file): Don't use force-same-window (bug#10144).
7892 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7893 use pop-to-buffer if the selected window can't be used.
7894 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7895
c60c3703
EZ
78962011-11-28 Eli Zaretskii <eliz@gnu.org>
7897
7898 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7899 special-mode-map.
7900
e95def75
CY
79012011-11-28 Chong Yidong <cyd@gnu.org>
7902
7903 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7904
c3f1c606
NR
79052011-11-27 Nick Roberts <nickrob@snap.net.nz>
7906
7907 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7908 gdb-get-source-file-list on gdb-create-source-file-list.
7909
00db469c
EZ
79102011-11-26 Eli Zaretskii <eliz@gnu.org>
7911
7912 * whitespace.el (whitespace-newline): Use a different foreground
7913 color for 16-color light-background displays.
7914
4ad3bc2a
CY
79152011-11-24 Chong Yidong <cyd@gnu.org>
7916
7917 * window.el (display-buffer--special-action): Doc fix.
7918
e9fce1ac
JB
79192011-11-25 Juanma Barranquero <lekktu@gmail.com>
7920
7921 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7922 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7923 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7924 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7925 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7926 (avl-tree-stack-first):
7927 * emacs-lisp/cconv.el (cconv--analyse-use):
7928 * net/gnutls.el (gnutls-negotiate): Fix typos.
7929
cb825e5d
GM
79302011-11-24 Glenn Morris <rgm@gnu.org>
7931
3adbe224
GM
7932 * lpr.el (lpr-windows-system, lpr-lp-system):
7933 * mail/binhex.el (binhex-begin-line):
7934 * progmodes/grep.el (grep-history, grep-find-history):
7935 * textmodes/flyspell.el:
7936 * vc/pcvs-defs.el (cvs-global-menu):
7937 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7938 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7939 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7940
321decc8
GM
7941 * net/tls.el: Fix case of "GnuTLS".
7942
420b63ad
GM
7943 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7944
cb825e5d
GM
7945 * version.el (emacs-build-system): Give it a doc-string.
7946
a0649f08
JL
79472011-11-24 Juri Linkov <juri@jurta.org>
7948
7949 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7950
c0bc0fd4
GM
79512011-11-24 Glenn Morris <rgm@gnu.org>
7952
7953 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7954 if called on a non-mime message just toggle the headers. (Bug#8006)
7955
20db1522
JB
79562011-11-24 Juanma Barranquero <lekktu@gmail.com>
7957
7958 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7959 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7960 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7961 (allout-rebullet-heading, allout-open-sibtopic)
7962 (allout-toggle-current-subtree-encryption)
7963 (allout-toggle-subtree-encryption, allout-encrypt-string)
7964 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7965 (allout-distinctive-bullets-string, allout-auto-activation):
7966 * window.el (window-normalize-buffer-to-display):
7967 * progmodes/verilog-mode.el (verilog-batch-indent):
7968 * textmodes/bibtex.el (bibtex-field-braces-opt)
7969 (bibtex-field-strings-opt):
7970 * vc/cvs-status.el (cvs-tree-merge):
7971 Fix typos.
7972
7262a87c
MA
79732011-11-23 Michael Albinus <michael.albinus@gmx.de>
7974
7975 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7976 `non-essential' to t, in order to avoid remote connections.
7977
283430a1
EZ
79782011-11-23 Eli Zaretskii <eliz@gnu.org>
7979
a1beca85
SM
7980 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7981 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7982 case-insensitively.
7983
d2992a38
ML
79842011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7985
7986 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7987
50419064
GM
79882011-11-23 Glenn Morris <rgm@gnu.org>
7989
da94eca1
GM
7990 * paths.el (rmail-file-name): Reformat the doc-string so that it
7991 is picked up.
7992
9aac4de2
GM
7993 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7994 (rmail-auto-file): Ignore case in the "special" field names,
7995 as mail-fetch-field does for all others.
7996
8038d2d2
GM
7997 * mail/rmail.el (rmail-forward):
7998 * mail/rmailkwd.el (rmail-set-label):
7999 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8000 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8001
f3fe222a
GM
8002 * mail/rmail.el (rmail-current-message): Doc fix.
8003
50419064
GM
8004 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8005
28109f49
SM
80062011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8009
394c65f1
GM
80102011-11-22 Glenn Morris <rgm@gnu.org>
8011
8012 * mail/rmailmm.el (test-rmail-mime-handler)
8013 (test-rmail-mime-bulk-handler)
8014 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8015
f2a0aa3a
JL
80162011-11-21 Juri Linkov <juri@jurta.org>
8017
1154d12e
JB
8018 * calc/calc.el (calc-read-key-sequence):
8019 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8020
9c34a344
LMI
80212011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8022
8023 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8024 Tell the caller that the next line needs recomputation, even
8025 though it doesn't start a sexp (bug#10094).
8026
f04a3be9
SM
80272011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8030
7978747f
SM
80312011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8032
f04a3be9
SM
8033 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8034 Use force-same-window.
7978747f 8035
fe7a3057
JB
80362011-11-20 Juanma Barranquero <lekktu@gmail.com>
8037
8038 * descr-text.el (describe-char-unicode-data):
8039 * json.el (json-string-escape):
8040 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8041 (Footnote-unicode, Footnote-style-p):
8042 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8043
24901d61
CY
80442011-11-20 Chong Yidong <cyd@gnu.org>
8045
8046 * window.el (replace-buffer-in-windows): Restore interactive spec.
8047
bac7ff22
SM
80482011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8049
24f3d7b9
SM
8050 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8051
bac7ff22
SM
8052 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8053 (byte-compile-global-not-obsolete-vars): New var.
8054 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8055 Use it.
8056 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8057
cd1181db
JB
80582011-11-20 Juanma Barranquero <lekktu@gmail.com>
8059
8060 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8061 * progmodes/pascal.el (electric-pascal-equal):
8062 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8063 * xml.el (xml-substitute-special): Fix typos.
8064
7fb18e9e
GM
80652011-11-20 Glenn Morris <rgm@gnu.org>
8066
8067 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8068 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8069 Doc fixes.
8070 (rmail-decode-mime-charset): Mark as obsolete.
8071
8072 * mail/rmailsum.el (rmail-message-regexp-p-1):
8073 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8074 Before using mime functions, check they are set. (Bug#10077)
8075
d5a6b3ba
JL
80762011-11-19 Juri Linkov <juri@jurta.org>
8077
8078 * info.el (Info-finder-find-node): Use `package--builtins' instead
8079 of `package-alist'. Use node names formed by the pattern "Keyword "
8080 and the keyword name.
8081
e981b61f
AS
80822011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8083
1d00653d 8084 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8085
3ffbc301
JL
80862011-11-19 Juri Linkov <juri@jurta.org>
8087
8088 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8089 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8090 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8091 `old-history', `old-history-forward'. Add let-binding
8092 `window-selected'. Remove calls to `kill-buffer',
8093 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8094 before calling `Info-find-node', so `Info-find-node-2' will reread
8095 the Info file. Restore window positions only when `window-selected'
8096 is non-nil.
8097
30c62133
JL
80982011-11-19 Juri Linkov <juri@jurta.org>
8099
8100 * isearch.el (isearch-lazy-highlight-new-loop):
8101 Remove condition `(not isearch-error)'. (Bug#9918)
8102
8103 * misearch.el (multi-isearch-search-fun): Add condition
8104 `(not bound)' to ignore lazy-highlighting search.
8105 Add the search-failed message "end of multi" when the end of
8106 multi-sequence is reached. Uncapitalize the search-failed
8107 message "Repeat for next buffer".
8108
8109 * info.el (Info-search): Add the search-failed message
8110 "end of the manual" when the end of the manual is reached
8111 in Isearch mode.
8112
645ca9cf
JL
81132011-11-19 Juri Linkov <juri@jurta.org>
8114
8115 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8116 Use non-destructive `remove' instead of `delete' because
8117 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8118 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8119
df754f66
JL
81202011-11-19 Juri Linkov <juri@jurta.org>
8121
8122 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8123 to nil instead of binding `search-ring' and `regexp-search-ring'.
8124 (Bug#9185)
8125
0e23d96a
EZ
81262011-11-19 Eli Zaretskii <eliz@gnu.org>
8127
8128 * simple.el (line-move): Force movement by logical lines for any
8129 hscrolled window, not only when auto-hscroll-mode is on.
8130 (line-move-visual): Update doc string to that effect. (Bug#10076)
8131
8a6ccb66
AS
81322011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8133
8134 * language/european.el (macintosh): Define as alias for mac-roman.
8135
49ae5b39
EZ
81362011-11-19 Eli Zaretskii <eliz@gnu.org>
8137
8138 * mail/rmailmm.el (rmail-mime-display-header)
8139 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8140 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8141 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8142 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8143 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8144 of a raw aref.
8145 (rmail-mime-entity-segment): To get past the tagline, move forward
8146 2 more lines, to account for the 2 empty lines that precede and
8147 follow the line with the buttons.
8148 (rmail-mime-update-tagline): Move one more line, to get past the
8149 empty line that follows the buttons in the tagline. (Bug#9520)
8150
c56cad4a
MR
81512011-11-19 Martin Rudalics <rudalics@gmx.at>
8152
8153 * window.el (window-max-delta-1, window-min-delta-1)
8154 (window-min-size-1, window-state-get-1, window-state-put-1)
8155 (window-state-put-2): Use "window--" prefix.
8156
cbe71af3
SM
81572011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8158
2ad52c60
SM
8159 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8160 (smie-warning-count): New var.
8161 (smie-set-prec2tab): Use it.
8162 (smie-bnf->prec2): Improve warnings. Add docstring.
8163 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8164 (smie-bnf--set-class): New function.
8165 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8166 corner case.
8167
6944dbc1
SM
8168 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8169 (compilation-error-properties, compilation-move-to-column):
8170 Handle compilation-first-column while in the target buffer.
8171
c400c4d7
SM
8172 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8173 Don't hardcode point-min==1.
8174
6dbe3e96
SM
8175 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8176 (eshell-rewrite-for-command): Remove workaround.
8177 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8178 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8179 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8180
cbe71af3
SM
8181 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8182
a8e1496d
GM
81832011-11-17 Glenn Morris <rgm@gnu.org>
8184
8185 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8186 Ignore buffer-local generated-autoload-file if it is the same
8187 as the global value. (Bug#10049)
8188
df85d315
JB
81892011-11-17 Juanma Barranquero <lekktu@gmail.com>
8190
8191 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8192 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8193 (reftex-toc-previous-heading, reftex-toc-max-level)
8194 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8195 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8196 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8197 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8198 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8199 (reftex-toc-rename-label, reftex-toc-visit-location)
8200 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8201 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8202 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8203 leaving "*toc*" only for references to the buffer.
8204
a0c2d0ae
MR
82052011-11-17 Martin Rudalics <rudalics@gmx.at>
8206
8207 * window.el (window-resize, delete-window, split-window):
8208 Replace window-splits by window-combination-resize.
1d00653d 8209 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8210
35c0bac8
GM
82112011-11-17 Glenn Morris <rgm@gnu.org>
8212
8213 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8214 Make bash entry derive from sh entry, not shell entry.
8215
d0c8fc8a
MA
82162011-11-16 Michael Albinus <michael.albinus@gmx.de>
8217
7262a87c
MA
8218 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8219 local file name.
8220
7877f373
JB
82212011-11-16 Juanma Barranquero <lekktu@gmail.com>
8222
8223 * menu-bar.el (menu-bar-file-menu):
8224 * printing.el (pr-ps-utility):
8225 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8226 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8227 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8228 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8229 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8230 (icalendar--convert-cyclic-to-ical)
8231 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8232 (icalendar--convert-ical-to-diary)
8233 (icalendar--convert-recurring-to-diary)
8234 (icalendar--convert-non-recurring-all-day-to-diary)
8235 (icalendar-import-format-sample):
8236 * progmodes/idlw-shell.el (idlwave-shell-mode):
8237 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8238 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8239 (vhdl-ps-print-init): Fix typos.
8240
10649b82
KM
82412011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8242
9d0cfcd6
GM
8243 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8244 FSF and collapse date sequence, obscure author/maintainer email address
8245 better, remove extra version line, track relocation of author's webpage.
10649b82 8246
9d0cfcd6
GM
8247 * progmodes/python.el (python-pdbtrack-input-prompt)
8248 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8249 regular python pdb prompts. Adjustments shamelessly taken exactly as
8250 suggested in EmacsWiki page (tiny change):
8251 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8252
58179cce
JB
82532011-11-16 Juanma Barranquero <lekktu@gmail.com>
8254
8255 * expand.el (expand-pos, expand-index, expand-point):
8256 Remove redundant info from docstring.
8257 (expand-add-abbrevs): Doc fix.
8258 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8259 (expand-sample-perl-mode-expand-list): Fix typos.
8260
8261 * net/dbus.el (dbus-event-member-name):
8262 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8263 * term/pc-win.el (msdos-create-frame-with-faces):
8264 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8265
b6f67890
MR
82662011-11-16 Martin Rudalics <rudalics@gmx.at>
8267
8268 * window.el (split-window, window-state-get-1)
8269 (window-state-put-1, window-state-put-2): Rename occurrences of
8270 window-nest to window-combination-limit.
1d00653d 8271 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8272
ce7ddba0
CY
82732011-11-16 Chong Yidong <cyd@gnu.org>
8274
8275 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8276 regexp (Bug#10033).
8277
3ae704f4
SM
82782011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8279
8280 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8281 `completing-read' will remove *Completions* and will preserve
8282 current-buffer for us.
8283 (tmm-add-prompt): Users of *Completions* will always (re)set its
8284 major mode.
8285 (tmm-old-comp-map): Remove.
8286
6ad1cdde
GM
82872011-11-16 Glenn Morris <rgm@gnu.org>
8288
8289 * mail/rmailedit.el: Require rmailmm when compiling.
8290 (rmail-old-mime-state): New declaration.
8291 (rmail-edit-current-message): If editing a mime message,
8292 edit the "raw" message from the mbox buffer.
8293 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8294
d20faa20
GM
82952011-11-15 Glenn Morris <rgm@gnu.org>
8296
8297 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8298 which wasn't being used. Add optional arg to force given state.
8299 (rmail-mime): Add optional arg to force given state.
8300
c7015153
JB
83012011-11-15 Juanma Barranquero <lekktu@gmail.com>
8302
8303 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8304 * frame.el (display-mm-dimensions-alist):
8305 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8306 (outline-move-subtree-down):
8307 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8308 (newsticker--treeview-do-get-node):
8309 * net/quickurl.el (quickurl-list-buffer-name):
8310 * progmodes/dcl-mode.el (dcl-mode):
8311 * progmodes/gdb-mi.el (gdb-mapcar*):
8312 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8313
45261b50
GM
83142011-11-15 Glenn Morris <rgm@gnu.org>
8315
8316 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8317 in a boolean sense, so just make it a boolean, and fix the doc.
8318 (rmail-show-mime-function, rmail-mime-feature)
8319 (rmail-require-mime-maybe): Doc fixes.
8320 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8321
8322 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8323
0d26e0b6
JB
83242011-11-15 Juanma Barranquero <lekktu@gmail.com>
8325
8326 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8327 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8328 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8329 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8330
447f30f6
GM
83312011-11-15 Glenn Morris <rgm@gnu.org>
8332
672b871d
GM
8333 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8334 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8335 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8336 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8337 (rmail-mime, rmail-show-mime): Doc fixes.
8338
f6aa5bb1
GM
8339 * term/ns-win.el (mode-line-frame-identification):
8340 Leave it alone. (Bug#10051)
8341
947cd66b
GM
8342 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8343
447f30f6
GM
8344 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8345 Handle empty buffers. (Bug#9978)
8346
0b381c7e
JB
83472011-11-14 Juanma Barranquero <lekktu@gmail.com>
8348
8349 * international/mule.el (define-charset):
8350 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8351 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8352 * progmodes/verilog-mode.el (verilog-backward-token):
8353 * textmodes/ispell.el (lookup-words):
8354 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8355
71e027ac
GM
83562011-11-14 Glenn Morris <rgm@gnu.org>
8357
56632ce4
GM
8358 * progmodes/executable.el
8359 (executable-make-buffer-file-executable-if-script-p):
8360 Handle file-modes returning nil.
8361
40500957
GM
8362 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8363 message - not necessary, and causes problems. (Bug#9831)
8364
071c2340
GM
8365 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8366
d3cfca60
GM
8367 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8368
71e027ac
GM
8369 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8370 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8371 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8372
89d61221
MR
83732011-11-12 Martin Rudalics <rudalics@gmx.at>
8374
8375 * window.el (window-resize, delete-window): Use window-splits
8376 variable instead of function.
8377 (window-state-get-1, window-state-put-2, window-state-put):
8378 Don't deal with windows' splits status.
8379
98282f6f
GM
83802011-11-12 Glenn Morris <rgm@gnu.org>
8381
8382 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8383 (apropos-documentation): Doc fixes.
8384
40a8bdf6
JB
83852011-11-11 Juanma Barranquero <lekktu@gmail.com>
8386
8387 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8388 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8389
65bd19ff
SM
83902011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * electric.el (electric-indent-post-self-insert-function): Make it
8393 possible for a char to only indent in some circumstances.
8394 (electric-indent-mode): Simplify.
8395
54f9154c
MR
83962011-11-11 Martin Rudalics <rudalics@gmx.at>
8397
8398 * window.el (windows-with-parameter): Remove unused function.
8399 (windows-at-side): Rename to window-at-side-list.
8400 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8401 (window-side-check, window-size-ignore, window-size-fixed-1)
8402 (window-in-direction-2): Prefix with "window--".
8403 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8404
68cbc58b
GM
84052011-11-11 Glenn Morris <rgm@gnu.org>
8406
8407 * subr.el (eval-after-load): If FILE is already loaded,
8408 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8409
b2621720
GM
84102011-11-10 Glenn Morris <rgm@gnu.org>
8411
9a4de110
GM
8412 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8413 Call svn via vc-svn-command rather than vc-do-command.
8414 (vc-svn-command): Add --non-interactive. (Bug#9993)
8415 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8416
b2621720
GM
8417 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8418 Add toggle-read-only. (Bug#7292)
8419 * files.el (toggle-read-only): Mention that it should only
8420 be used interactively. (Bug#10006)
8421
1dce7193
SM
84222011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8423
d9ac1a1e
SM
8424 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8425 Adjust regexp for OCaml warnings.
8426
0c325082
SM
8427 * electric.el (electric-pair-post-self-insert-function): Let user
8428 turn it off buffer-locally (bug#9932).
8429
90132c14
SM
8430 * progmodes/python.el (python-beginning-of-statement):
8431 Rewrite (bug#2703).
8432
1dce7193
SM
8433 * progmodes/compile.el: Better handle TABs (bug#9749).
8434 (compilation-internal-error-properties)
8435 (compilation-next-error-function): Obey the target buffer's
8436 compilation-error-screen-columns.
8437
c4e7c63a
JB
84382011-11-09 Juanma Barranquero <lekktu@gmail.com>
8439
8440 * progmodes/meta-mode.el: Remove obsolete comments.
8441 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8442 Fix typos in docstrings.
8443
2cffd681
MR
84442011-11-09 Martin Rudalics <rudalics@gmx.at>
8445
8446 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8447 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8448 (window--resizable): New function. Make all callers of
8449 window-resizable call window--resizable instead.
8450 (window-resizable): Rewrite in terms of window--resizable.
8451
0edcba87
GM
84522011-11-08 Glenn Morris <rgm@gnu.org>
8453
8454 * progmodes/delphi.el (delphi-mode-syntax-table):
8455 Let define-derived-mode define a proper syntax table. (Bug#9994)
8456
4b0d61e3
SM
84572011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * window.el: Stay away from defsubst.
8460 (window-list-no-nils): Remove.
8461 (window-state-get-1, window-state-get): Use backquote instead.
8462
cd394be1 84632011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8464
4b0d61e3 8465 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8466 Fix incorrect use of default argument in `completing-read'.
8467
e1c2c6f2
MR
84682011-11-08 Martin Rudalics <rudalics@gmx.at>
8469
8470 * window.el (display-buffer-function, special-display-function):
8471 Mention display-buffer-record-window but do not mention
8472 help-setup parameter in doc-strings.
b3f4a882 8473 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8474
105216ed
CY
84752011-11-08 Chong Yidong <cyd@gnu.org>
8476
8477 * window.el (window-total-height, window-total-width): Doc fix.
8478 (window-body-size): Move from C.
8479 (window-body-height, window-body-width): Move to C.
8480
0a9f9ab5
SM
84812011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8482
8483 * window.el: Make special-display like display-buffer-alist (bug#9532).
8484 (display-buffer--special-action): New function, morphed
8485 from display-buffer--special.
8486 (display-buffer): Use it to handle special-display-buffers at higher
8487 priority (just after display-buffer-alist).
8488 (display-buffer-fallback-action, display-buffer--other-frame-action)
8489 (pop-to-buffer-same-window): Remove display-buffer--special.
8490
a769dd15
GM
84912011-11-07 Glenn Morris <rgm@gnu.org>
8492
8493 * calendar/cal-menu.el (cal-menu-set-date-title):
8494 Do nothing if not in a calendar. (Bug#9976)
8495
05a61ee3
SM
84962011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * files.el (find-file): Always use selected-window.
8499
be7f5545
MR
85002011-11-07 Martin Rudalics <rudalics@gmx.at>
8501
8502 * window.el (window-combinations): Make WINDOW argument
8503 mandatory. Rewrite doc-string.
8504 (walk-window-subtree, window-atom-check, window-min-delta)
8505 (window-max-delta, window--resize-this-window)
8506 (window--resize-root-window-vertically, window-tree)
8507 (balance-windows, window-state-put): Rewrite doc-strings as to
8508 not mention the term "subwindow".
8509 (window--resize-subwindows-skip-p): Rename to
8510 window--resize-child-windows-skip-p.
8511 (window--resize-subwindows-normal): Rename to
8512 window--resize-child-windows-normal.
8513 (window--resize-subwindows): Rename to
8514 window--resize-child-windows.
8515 (window-or-subwindow-p): Rename to window--in-subtree-p.
8516
3c6702ef
ML
85172011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8518
8519 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8520 Ensure that mbox format messages end in two newlines (Bug#9974).
8521
49745b39
CY
85222011-11-06 Chong Yidong <cyd@gnu.org>
8523
8524 * window.el (window-combination-p): Function deleted; its
8525 side-effect is not used in any existing code.
8526 (window-combinations, window-combined-p): Call window-*-child
8527 directly.
8528
24300f5f
CY
85292011-11-05 Chong Yidong <cyd@gnu.org>
8530
8531 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8532 (window-size-ignore, window-state-get): Callers changed.
8533 (window-normalize-window): Rename from window-normalize-any-window.
8534 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8535 (window-normalize-live-window): Delete.
447f16b8
CY
8536 (window-combination-p, window-combined-p, window-combinations)
8537 (walk-window-subtree, window-atom-root, window-min-size)
8538 (window-sizable, window-sizable-p, window-size-fixed-p)
8539 (window-min-delta, window-max-delta, window-resizable)
8540 (window-resizable-p, window-full-height-p, window-full-width-p)
8541 (window-current-scroll-bars, window-point-1, set-window-point-1)
8542 (window-at-side-p, window-in-direction, window-resize)
8543 (adjust-window-trailing-edge, maximize-window, minimize-window)
8544 (window-deletable-p, delete-window, delete-other-windows)
8545 (record-window-buffer, unrecord-window-buffer)
8546 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8547 (quit-window, split-window, window-state-put)
8548 (set-window-text-height, fit-window-to-buffer)
8549 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8550
89bd5ee1
EZ
85512011-11-04 Eli Zaretskii <eliz@gnu.org>
8552
53479029
EZ
8553 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8554 rfc2047-decode-string.
8555 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8556 warnings.
8557
89bd5ee1
EZ
8558 * window.el (window-body-height, window-body-width): Mention in
8559 the doc string that the return values are in frame's canonical
8560 units. (Bug#9949)
8561
bd17fdee
AM
85622011-11-03 Alan Mackenzie <acm@muc.de>
8563
8564 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8565 change in cc-engine.el.
8566
acc825c5
SM
85672011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8570
1885e5b8
MR
85712011-11-02 Martin Rudalics <rudalics@gmx.at>
8572
8573 * window.el (quit-window): Call unrecord-window-buffer after
8574 showing another buffer in the window. (Bug#9937)
acc825c5 8575 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8576
ebe06da9
JB
85772011-11-02 Juanma Barranquero <lekktu@gmail.com>
8578
8579 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8580 Accept status with more than 9 shelves. (Bug#9935)
8581 Reported by Colin D Bennett <colin@gibibit.com>.
8582
4ee88440
MR
85832011-11-01 Martin Rudalics <rudalics@gmx.at>
8584
8585 * help.el (with-help-window): Don't reference
8586 temp-buffer-show-specifiers in doc-string.
8587
08e1d82c
AS
85882011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8589
8590 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8591 menu-item.
8592
84bd6e9e
VJL
85932011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8594
8595 * whitespace.el: New version 13.2.2.
8596 (whitespace-newline-mode): Disable properly. Reported by Sarah
8597 <EmacsWiki>.
8598
dba0634a
UJ
85992011-10-30 Ulf Jasper <ulf.jasper@web.de>
8600
8601 * net/newst-treeview.el: Remove "Time-stamp".
8602 (newsticker--group-manage-orphan-feeds): Do not call
8603 newsticker--treeview-tree-update.
db22a3c2
JB
8604 (newsticker-treeview-update, newsticker-treeview):
8605 Call newsticker--treeview-tree-update if necessary.
dba0634a 8606
3d8daefe
MR
86072011-10-30 Martin Rudalics <rudalics@gmx.at>
8608
8609 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8610 (window-iso-combinations): Remove "iso-" infix.
8611 Suggested by Chong Yidong.
3d8daefe
MR
8612 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8613 (window-max-delta-1, window-resize, window--resize-siblings)
8614 (window--resize-this-window, adjust-window-trailing-edge)
8615 (split-window, balance-windows-1)
8616 (shrink-window-if-larger-than-buffer):
8617 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8618 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8619
1bc4c3ae
SM
86202011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8621
8622 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8623 in place (bug#9907).
8624 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8625 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8626 (eshell-structure-basic-command, eshell-rewrite-while-command)
8627 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8628 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8629 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8630 (eshell-do-pipelines-synchronously, eshell-eval-command):
8631 Use backquotes and prefer setq to set.
8632 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8633 (eshell-macrop): Use functionp.
c1e2f5fa 8634 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8635
30b65d9c
CY
86362011-10-30 Chong Yidong <cyd@gnu.org>
8637
8638 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8639 instead of set-mark (Bug#9810).
8640
2d197ffb
CY
86412011-10-30 Chong Yidong <cyd@gnu.org>
8642
8643 * window.el (split-window-below, split-window-right): Rename from
8644 split-window-above-each-other and split-window-side-by-side
8645 respectively. All callers changed.
8646 (split-window-sensibly, split-window-sensibly): Use them.
8647 (split-window-keep-point): Doc fix.
8648
8649 * isearch.el: Add isearch-scroll property to split-window-below
8650 and split-window-right.
8651
8652 * follow.el (follow-mode):
8653 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8654 * progmodes/ada-xref.el (ada-gdb-application):
8655 * emulation/vip.el (vip-buffer-in-two-windows):
8656 * image-dired.el (image-dired-dired-with-window-configuration):
8657 * dired-x.el (dired-do-find-marked-files):
8658 * dired.el (dired-pop-to-buffer):
8659 * bs.el (bs--show-with-configuration):
8660 * vc/emerge.el (emerge-setup-windows):
8661 * textmodes/two-column.el (2C-two-columns):
8662 * textmodes/reftex-toc.el (reftex-toc):
8663 * progmodes/gdb-mi.el (gdb-setup-windows):
8664 * progmodes/fortran.el (fortran-window-create):
8665 * net/newst-treeview.el (newsticker--treeview-window-init):
8666 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8667 * emulation/tpu-edt.el (tpu-gold-map):
8668 * emulation/crisp.el (crisp-mode-map):
8669 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8670
38bb2ca8
CY
86712011-10-29 Chong Yidong <cyd@gnu.org>
8672
aa4de341
CY
8673 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8674
e1eb5385
CY
8675 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8676
5d2ece3c
CY
8677 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8678 forged Ispell output (Bug#7904).
8679
38bb2ca8
CY
8680 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8681
d0af9f77
SM
86822011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * doc-view.el: Avoid ugly errors about not finding nil.
8685 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8686 (doc-view-dvipdf-program, doc-view-unoconv-program)
8687 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8688 Avoid nil or absolute file name as default value.
8689 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8690
52bedd34
AM
86912011-10-28 Alan Mackenzie <acm@muc.de>
8692
db22a3c2 8693 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8694
7e43cfa5
AM
86952011-10-28 Alan Mackenzie <acm@muc.de>
8696
8697 Amend the handling of c-beginning/end-of-defun in nested declaration
8698 scopes.
8699
52bedd34
AM
8700 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8701 cc-langs.el. Change it to a defcustom.
7e43cfa5 8702
52bedd34
AM
8703 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8704 cc-vars.el.
7e43cfa5 8705
d0af9f77
SM
8706 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8707 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8708
52bedd34 8709 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8710 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8711 (c-widen-to-enclosing-decl-scope): New function.
8712 (c-while-widening-to-decl-block): New macro.
8713 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8714 outward for defun boundaries, and correspondingly change symbol
8715 `respect-enclosure' to `go-outward'.
8716 (c-declaration-limits): Change algorithm to report only the "innermost"
8717 defun's boundaries.
8718
1a2ce9ee
DD
87192011-10-28 Deniz Dogan <deniz@dogan.se>
8720
8721 * net/rcirc.el (rcirc-mode): Use hard newlines.
8722
bc97a826
AM
87232011-10-28 Alan Mackenzie <acm@muc.de>
8724
8725 Amend to indent and fontify macros "which include their own semicolon"
8726 correctly, using the "virtual semicolon" mechanism.
8727
52bedd34 8728 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8729
d0af9f77 8730 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8731 Recode to scan one line at a time rather than having \n and \r
58179cce 8732 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8733 (c-forward-label): Amend for virtual semicolons.
58179cce 8734 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8735
52bedd34
AM
8736 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8737 of the new C macros.
bc97a826 8738
52bedd34 8739 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8740 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8741 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8742 (c-opt-cpp-macro-define): Make into a full language variable.
8743 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8744 AWK Mode (including \n, \r) removed, no longer needed.
8745
d0af9f77
SM
8746 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8747 Invoke c-make-macro-with-semi-re.
bc97a826 8748
52bedd34
AM
8749 * progmodes/cc-vars.el (c-macro-with-semi-re):
8750 (c-macro-names-with-semicolon): New variables.
58179cce 8751 (c-make-macro-with-semi-re): New function.
bc97a826 8752
7a6c0941
SM
87532011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8754
8755 * vc/log-edit.el: Fill empty field rather than adding new one.
8756 (log-edit-add-field): New function.
8757 (log-edit-insert-changelog): Use it.
8758
b0c4cdcf
ML
87592011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8760
8761 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8762
ee1f1da9
SM
87632011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8764
8765 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8766 (gdb--check-interpreter): New function.
8767 (gdb): Use it.
8768
51bc5f8b
GM
87692011-10-27 Glenn Morris <rgm@gnu.org>
8770
416a2c45
GM
8771 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8772 (least-positive-float, least-negative-float)
8773 (least-positive-normalized-float, least-negative-normalized-float)
8774 (float-epsilon, float-negative-epsilon):
8775 Remove unnecessary declarations.
8776
8777 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8778 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8779 (least-positive-float, least-negative-float)
8780 (least-positive-normalized-float, least-negative-normalized-float)
8781 (float-epsilon, float-negative-epsilon): Add doc-strings,
8782 based on those in cl.texi.
8783
51bc5f8b
GM
8784 * files.el (set-visited-file-name): If the major-mode changed,
8785 reload the local variables. (Bug#9796)
8786
15de15c6
CY
87872011-10-27 Chong Yidong <cyd@gnu.org>
8788
8789 * subr.el (change-major-mode-after-body-hook): New hook.
8790 (run-mode-hooks): Run it.
8791
ee1f1da9
SM
8792 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8793 Use change-major-mode-before-body-hook.
15de15c6
CY
8794
8795 * simple.el (fundamental-mode):
8796 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8797 change introducing fundamental-mode-hook.
8798
5430d399
JB
87992011-10-26 Juanma Barranquero <lekktu@gmail.com>
8800
acc825c5 8801 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8802
ad74a69e
MA
88032011-10-26 Michael Albinus <michael.albinus@gmx.de>
8804
8805 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8806 tramp.el explicitly. (Bug#7583)
ad74a69e 8807
71d4c2a5
SM
88082011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * progmodes/octave-mod.el:
8811 * progmodes/octave-inf.el: Update maintainer.
8812
b1f6fa26
CY
88132011-10-26 Chong Yidong <cyd@gnu.org>
8814
8815 * subr.el (with-wrapper-hook): Rewrite doc.
8816
3f04efd6
MA
88172011-10-25 Michael Albinus <michael.albinus@gmx.de>
8818
8819 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8820 filenames "/method:foo:". (Bug#9793)
3f04efd6 8821
410488d3
SM
88222011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8825 (bug#9865).
8826
c1ebb47e
GM
88272011-10-24 Glenn Morris <rgm@gnu.org>
8828
8829 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8830
7f5c46c7
MA
88312011-10-24 Michael Albinus <michael.albinus@gmx.de>
8832
8833 * notifications.el: Add the requirement of a running D-Bus session
8834 bus to the Commentary.
8835
db2440b6
JL
88362011-10-24 Juri Linkov <juri@jurta.org>
8837
8838 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8839 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8840 (Bug#9364)
8841
feecf435
JL
88422011-10-24 Juri Linkov <juri@jurta.org>
8843
8844 * info.el (Info-following-node-name-re): Add newline to the list
8845 of allowed characters for leading space. (Bug#9824)
8846
a3839de2
SM
88472011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8848
acc825c5
SM
8849 * progmodes/octave-inf.el (inferior-octave-mode-map):
8850 Fix C-c C-h binding.
a3839de2
SM
8851 * progmodes/octave-mod.el (octave-help): Remove.
8852
09388e76
MA
88532011-10-23 Michael Albinus <michael.albinus@gmx.de>
8854
8855 Sync with Tramp 2.2.3.
8856
8857 * net/tramp-cache.el (top): Pacify byte-compiler using
8858 `init-file-user' and `site-run-file'.
8859
8860 * net/trampver.el: Update release number.
8861
86c60681
CY
88622011-10-23 Chong Yidong <cyd@gnu.org>
8863
8864 * files.el (toggle-read-only): Remove obsolete comment about
8865 version control.
8866
8867 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8868 for toggle-read-only. Note that this hasn't called vc-next-action
8869 since 2008-05-02, though it wasn't documented at the time.
8870
a3839de2
SM
8871 * vc/ediff-init.el (ediff-toggle-read-only-function):
8872 Use toggle-read-only.
86c60681 8873
cd5495ff
AM
88742011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8875
8876 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8877 of c-parse-state.
8878
00b77525 8879 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8880 correct faulty logical expression.
cd5495ff
AM
8881 (c-parse-state-state, c-record-parse-state-state):
8882 (c-replay-parse-state-state): New defvar/defuns.
8883 (c-debug-parse-state): Use new functions.
8884
42ee24ed
MR
88852011-10-22 Martin Rudalics <rudalics@gmx.at>
8886
8887 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8888 last fix. Use window-in-direction correctly.
42ee24ed 8889
a7dee7e7
CY
88902011-10-21 Chong Yidong <cyd@gnu.org>
8891
8892 * progmodes/idlwave.el (idlwave-mode):
8893 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8894 require-final-newline; that's done in prog-mode.
8895 Suggested by Stefan Monnier.
a7dee7e7 8896
e07b9a6d
MR
88972011-10-21 Martin Rudalics <rudalics@gmx.at>
8898
8899 * mouse.el (mouse-drag-window-above)
8900 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8901 (mouse-drag-mode-line-1, mouse-drag-header-line)
8902 (mouse-drag-vertical-line-rightward-window): Remove.
8903 (mouse-drag-line): New function.
8904 (mouse-drag-mode-line, mouse-drag-header-line)
8905 (mouse-drag-vertical-line): Call mouse-drag-line.
8906 * window.el (window-at-side-p, windows-at-side): New functions.
8907
7e1361d9
UM
89082011-10-21 Ulrich Mueller <ulm@gentoo.org>
8909
8910 * tar-mode.el (tar-grind-file-mode):
8911 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8912
30fcaf3a
CY
89132011-10-21 Chong Yidong <cyd@gnu.org>
8914
8915 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8916 * progmodes/vera-mode.el (vera-mode):
8917 Use mode-require-final-newline.
30fcaf3a 8918
516eddb0
GM
89192011-10-20 Glenn Morris <rgm@gnu.org>
8920
db22a3c2 8921 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8922
10d5f513
CS
89232011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8924
8925 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8926
ac6c8639
CY
89272011-10-20 Chong Yidong <cyd@gnu.org>
8928
8929 * emulation/cua-base.el (cua-mode):
8930 * mail/footnote.el (footnote-mode):
8931 * mail/mailabbrev.el (mail-abbrevs-mode):
8932 * net/xesam.el (xesam-minor-mode):
8933 * progmodes/bug-reference.el (bug-reference-mode):
8934 * progmodes/cap-words.el (capitalized-words-mode):
8935 * progmodes/compile.el (compilation-minor-mode)
8936 (compilation-shell-minor-mode):
8937 * progmodes/gud.el (gud-tooltip-mode):
8938 * progmodes/hideif.el (hide-ifdef-mode):
8939 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8940 * progmodes/subword.el (subword-mode):
8941 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8942 * progmodes/which-func.el (which-function-mode):
8943 * term/tvi970.el (tvi970-set-keypad-mode):
8944 * term/vt100.el (vt100-wide-mode):
8945 * textmodes/flyspell.el (flyspell-mode):
8946 * textmodes/ispell.el (ispell-minor-mode):
8947 * textmodes/nroff-mode.el (nroff-electric-mode):
8948 * textmodes/paragraphs.el (use-hard-newlines):
8949 * textmodes/refill.el (refill-mode):
8950 * textmodes/reftex.el (reftex-mode):
8951 * textmodes/rst.el (rst-minor-mode):
8952 * textmodes/sgml-mode.el (html-autoview-mode)
8953 (sgml-electric-tag-pair-mode):
8954 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8955 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8956 * emulation/crisp.el (crisp-mode):
8957 * emacs-lisp/eldoc.el (eldoc-mode):
8958 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8959 minor mode behavior.
8960
aa42ab43
JL
89612011-10-19 Juri Linkov <juri@jurta.org>
8962
8963 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8964 the list of hard-coded chars with escape-glyph face.
8965
89400f1d
SM
89662011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8969
305c07f6
MA
89702011-10-19 Michael Albinus <michael.albinus@gmx.de>
8971
8972 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8973 running process.
8974
13754b54
GM
89752011-10-19 Glenn Morris <rgm@gnu.org>
8976
8977 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8978 Ignore ignored files. (Bug#9726)
8979
06e21633
CY
89802011-10-19 Chong Yidong <cyd@gnu.org>
8981
8982 Doc fix for minor modes, stating that an omitted argument enables
8983 the mode unconditionally when called from Lisp.
8984
8985 * abbrev.el (abbrev-mode):
8986 * allout.el (allout-mode):
8987 * autoinsert.el (auto-insert-mode):
8988 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8989 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8990 (global-auto-revert-mode):
8991 * battery.el (display-battery-mode):
8992 * composite.el (global-auto-composition-mode)
8993 (auto-composition-mode):
8994 * delsel.el (delete-selection-mode):
8995 * desktop.el (desktop-save-mode):
8996 * dired-x.el (dired-omit-mode):
8997 * dirtrack.el (dirtrack-mode):
8998 * doc-view.el (doc-view-minor-mode):
8999 * double.el (double-mode):
9000 * electric.el (electric-indent-mode, electric-pair-mode):
9001 * emacs-lock.el (emacs-lock-mode):
9002 * epa-hook.el (auto-encryption-mode):
9003 * follow.el (follow-mode):
9004 * font-core.el (font-lock-mode):
9005 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9006 * help.el (temp-buffer-resize-mode):
9007 * hilit-chg.el (highlight-changes-mode)
9008 (highlight-changes-visible-mode):
9009 * hi-lock.el (hi-lock-mode):
9010 * hl-line.el (hl-line-mode, global-hl-line-mode):
9011 * icomplete.el (icomplete-mode):
9012 * ido.el (ido-everywhere):
9013 * image-file.el (auto-image-file-mode):
9014 * image-mode.el (image-minor-mode):
9015 * iswitchb.el (iswitchb-mode):
9016 * jka-cmpr-hook.el (auto-compression-mode):
9017 * linum.el (linum-mode):
9018 * longlines.el (longlines-mode):
9019 * master.el (master-mode):
9020 * mb-depth.el (minibuffer-depth-indicate-mode):
9021 * menu-bar.el (menu-bar-mode):
9022 * minibuf-eldef.el (minibuffer-electric-default-mode):
9023 * mouse-sel.el (mouse-sel-mode):
9024 * msb.el (msb-mode):
9025 * mwheel.el (mouse-wheel-mode):
9026 * outline.el (outline-minor-mode):
9027 * paren.el (show-paren-mode):
9028 * recentf.el (recentf-mode):
9029 * reveal.el (reveal-mode, global-reveal-mode):
9030 * rfn-eshadow.el (file-name-shadow-mode):
9031 * ruler-mode.el (ruler-mode):
9032 * savehist.el (savehist-mode):
9033 * scroll-all.el (scroll-all-mode):
9034 * scroll-bar.el (scroll-bar-mode):
9035 * server.el (server-mode):
9036 * shell.el (shell-dirtrack-mode):
9037 * simple.el (auto-fill-mode, transient-mark-mode)
9038 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9039 (line-number-mode, column-number-mode, size-indication-mode)
9040 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9041 * strokes.el (strokes-mode):
9042 * time.el (display-time-mode):
9043 * t-mouse.el (gpm-mouse-mode):
9044 * tool-bar.el (tool-bar-mode):
9045 * tooltip.el (tooltip-mode):
9046 * type-break.el (type-break-mode-line-message-mode)
9047 (type-break-query-mode):
9048 * view.el (view-mode):
9049 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9050 (global-whitespace-mode, global-whitespace-newline-mode):
9051 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9052
a3839de2
SM
9053 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9054 Fix autogenerated docstring.
06e21633 9055
5214e501
JL
90562011-10-19 Juri Linkov <juri@jurta.org>
9057
9058 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9059 by checking environment variables "DESKTOP_SESSION" and
9060 "XDG_CURRENT_DESKTOP". (Bug#9779)
9061
195f8db9
JL
90622011-10-19 Juri Linkov <juri@jurta.org>
9063
9064 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9065 (browse-url-chromium-program, browse-url-chromium-arguments):
9066 New defcustoms.
9067 (browse-url-default-browser): Check for `browse-url-chromium' and
9068 call `browse-url-chromium-program'.
9069 (browse-url-chromium): New command. (Bug#9779)
9070
343a34ff
JB
90712011-10-18 Juanma Barranquero <lekktu@gmail.com>
9072
9073 * facemenu.el (list-colors-duplicates): On Windows, detect more
9074 duplicates by assuming that only colors matching "^System" are
9075 special "system colors". (Bug#9722)
9076
6978a151
SM
90772011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9080 to distinguish the author from the committer.
9081
6a80b297
MA
90822011-10-18 Michael Albinus <michael.albinus@gmx.de>
9083
9084 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9085
b31a5677
JK
90862011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9087
9088 * international/mule.el (sgml-html-meta-auto-coding-function):
9089 Add support for detecting encoding in HTML5 specified only as
9090 <meta charset="UTF-8">. Implementation just makes http-equiv and
9091 content-type parts from HTML4 encoding string optional. (Bug#9716)
9092
80c6d77f
GM
90932011-10-18 Glenn Morris <rgm@gnu.org>
9094
9095 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9096
08b0fee8
CY
90972011-10-18 Chong Yidong <cyd@gnu.org>
9098
9099 * faces.el (cursor): Doc fix.
9100
67e729a5
CY
91012011-10-17 Chong Yidong <cyd@gnu.org>
9102
9103 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9104
343a34ff 91052011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9106
9107 * dirtrack.el (dirtrack): Support shell buffers with path
9108 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9109
0bc06380
TZ
91102011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9111
9112 * json.el: Bump version to 1.3 and note change in History.
9113 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9114
8b79f3e0
SM
91152011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9116
5a7c536b
SM
9117 * comint.el (comint-insert-input, comint-send-input)
9118 (comint-get-old-input-default, comint-backward-matching-input)
9119 (comint-next-prompt): Use nil instead of `input' for field property of
9120 past user input (bug#114).
9121
96a8a0df
SM
9122 * minibuffer.el (completion--replace): Inherit surrounding properties
9123 (bug#114).
9124 (minibuffer-complete-and-exit): Use it.
9125
8b79f3e0
SM
9126 * comint.el (comint--table-subvert): Quote the all-completions output
9127 (bug#9160).
9128
b8f7ff0d
MR
91292011-10-17 Martin Rudalics <rudalics@gmx.at>
9130
8b79f3e0 9131 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9132
b8f7ff0d 9133 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9134 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9135 entries and separate them from frame entries.
9136
c235b555
GM
91372011-10-15 Glenn Morris <rgm@gnu.org>
9138
9139 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9140 Doc fixes.
9141
6bbfa6e1
CY
91422011-10-15 Chong Yidong <cyd@stupidchicken.com>
9143
8b79f3e0
SM
9144 * net/network-stream.el (network-stream-open-starttls):
9145 Improve detection of failure due to lack of TLS support.
ec5c990d 9146
6bbfa6e1
CY
9147 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9148 putting the input text in front and in bold.
9149
98488977
SM
91502011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9151
3d1337be
SM
9152 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9153
ee0b45e4
SM
9154 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9155 empty buffer.
9156
98488977
SM
9157 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9158 unread-command-events rather than pushing yet-another event.
9159
186f4720
EZ
91602011-10-14 Eli Zaretskii <eliz@gnu.org>
9161
9162 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9163 the explanation of the possible choices. Make the options passed
9164 to completing-read shorter.
9165
8b7a997c
AM
91662011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9167
9168 * textmodes/flyspell.el (flyspell-large-region): Make sure
9169 extended character mode is used if defined (Bug#1339).
9170
12587bbb
EZ
91712011-10-13 Eli Zaretskii <eliz@gnu.org>
9172
9173 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9174 character info for LRE, LRO, RLE, and RLO characters by appending
9175 an invisible PDF.
12587bbb 9176
bad41229
SM
91772011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9180 even in case of error; add debug spec; simplify data flow.
9181 (with-timeout-handler): Remove.
9182
28dbc92f
MA
91832011-10-12 Michael Albinus <michael.albinus@gmx.de>
9184
9185 Fix Bug#6019, Bug#9315.
9186
9187 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9188 complete `buffer-file-name', the local file name part could look
9189 remotely (for example on VMS).
9190
9191 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9192 `tramp-run-real-handler'.
9193 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9194 already quoted by '"'.
9195
9196 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9197 Let `file-name-handler-alist' be nil, the local file name part
9198 could look remotely (for example on VMS).
9199
e1b0b23a
SM
92002011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9201
9202 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9203 from here...
9204 (flyspell-post-command-hook): ...to here.
9205
a120bde9
SM
92062011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9209 if not needed.
9210 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9211 using completion. Protect against "slow" callers.
9212 Remove the "message hack".
9213
7ce7717b
JL
92142011-10-11 Juri Linkov <juri@jurta.org>
9215
9216 * isearch.el (isearch-lazy-highlight-word): New variable.
9217 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9218 Use it. (Bug#9727)
9219
c02ee9d6
GM
92202011-10-11 Glenn Morris <rgm@gnu.org>
9221
9222 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9223 like f90-previous-statement does.
9224
93e616fd 92252011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9226
1f190e73 9227 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9228 only in interactive use, to avoid error.
9229
af7b6078
SM
92302011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9231
9232 * minibuffer.el (completion-file-name-table): Fix last change,
9233 i.e. ignore normal errors but not the other ones.
9234
0563dae9
MR
92352011-10-10 Martin Rudalics <rudalics@gmx.at>
9236
9237 * window.el (special-display-buffer-names)
9238 (special-display-regexps): Remove some remnants of earlier
9239 changes from doc-strings.
366ca7f3
MR
9240 (quit-windows-on): New function.
9241
9242 * vc/vc.el (vc-revert, vc-rollback):
9243 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9244 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9245 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9246
49677495
MR
92472011-10-09 Martin Rudalics <rudalics@gmx.at>
9248
9249 * window.el (frame-auto-hide-function): Add version tag.
9250 (Bug#9699)
9251
56f2d1e1
MA
92522011-10-09 Michael Albinus <michael.albinus@gmx.de>
9253
9254 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9255 condition.
9256
112a6592
LL
92572011-10-09 Leo Liu <sdl.web@gmail.com>
9258
9259 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9260 (Bug#9701)
9261
0812589b
GM
92622011-10-08 Glenn Morris <rgm@gnu.org>
9263
9264 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9265 before the first code statement zero indent. (Bug#9690)
9266
b2b0776e
CY
92672011-10-08 Chong Yidong <cyd@stupidchicken.com>
9268
9269 * simple.el (count-words-region): Always count in the region.
9270 Report the number of lines and characters too.
9271 (count-words): New command, which counts in the buffer if the
9272 region is inactive, as count-words-region used to.
9273 (count-words--message): New function. Handle plurals.
9274 (count-lines-region): Make it an alias for count-words-region.
9275
9276 * bindings.el (esc-map): Replace count-lines-region with
9277 count-words-region.
9278
c557cd6b
MR
92792011-10-08 Martin Rudalics <rudalics@gmx.at>
9280
9281 * window.el (window--delete): Delete dedicated frame
9282 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9283 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9284
61a57ef4 92852011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9286
3a7d293b 9287 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9288
c3833279
CY
92892011-10-07 Chong Yidong <cyd@stupidchicken.com>
9290
9291 * bindings.el ([M-left],[M-right]): Bind to left-word and
9292 right-word respectively.
9293
21ce8245
GM
92942011-10-07 Glenn Morris <rgm@gnu.org>
9295
9296 * cus-start.el (debug-on-quit): Fix custom type.
9297
6d823bb2
LMI
92982011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9299
0181e193
LMI
9300 * subr.el (define-key-after): Clarify that the function is not
9301 useful for non-menu keymaps.
9302
6d823bb2
LMI
9303 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9304
8e3459ce 93052011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9306
21ce8245 9307 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9308 in current minibuffer (Fix bug with recursive minibuffers).
9309
a1c2d21e
CY
93102011-10-06 Chong Yidong <cyd@stupidchicken.com>
9311
9312 * progmodes/gdb-mi.el (gdb): Doc fix.
9313
5a4cf282
MR
93142011-10-05 Martin Rudalics <rudalics@gmx.at>
9315
9316 * window.el (frame-auto-hide-function): New option replacing
9317 frame-auto-delete. Suggested by Stefan Monnier.
9318 (window--delete): Call frame-auto-hide-function instead of
9319 investigating frame-auto-delete.
c96111ea
MR
9320 (window-point-1, set-window-point-1): New functions.
9321 (window-in-direction, record-window-buffer, window-state-get-1)
9322 (display-buffer-record-window): Use window-point-1 instead of
9323 window-point.
9324 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9325
9854542e
SM
93262011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9329
8943cfb0
GM
93302011-10-05 Glenn Morris <rgm@gnu.org>
9331
9332 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9333 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9334
647ab967
LL
93352011-10-05 Leo Liu <sdl.web@gmail.com>
9336
9337 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9338 works with buffer object.
9339
3ddfbced
SM
93402011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * mpc.el (mpc-tool-bar-map): Add labels.
9343
bdfa5dd2
GM
93442011-10-04 Glenn Morris <rgm@gnu.org>
9345
9346 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9347
0e2070b5
MR
93482011-10-04 Martin Rudalics <rudalics@gmx.at>
9349
9350 * window.el (window--delete): New function.
9351 (frame-auto-delete): Resuscitate option.
9352 (bury-buffer, replace-buffer-in-windows)
9353 (quit-window): Rewrite using window--delete.
9354 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9355 Pass display-buffer-mark-dedicated to window--display-buffer-2
9356 (Bug#9639).
9357
3dc61a09
SM
93582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9359
915a9b64
SM
9360 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9361 returns a list (bug#9554). Add remote file name completion.
9362 * comint.el (comint--table-subvert): Curry and get quote&unquote
9363 functions as arguments.
9364 (comint--complete-file-name-data): Adjust call accordingly.
9365 * pcomplete.el (pcomplete--table-subvert): Remove.
9366 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9367
3dc61a09
SM
9368 * minibuffer.el (completion-table-case-fold): Use currying.
9369 (completion--styles-type, completion--cycling-threshold-type):
9370 New constants.
9371 (completion-styles, completion-category-overrides)
9372 (completion-cycle-threshold): Use them.
9373 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9374 completion-table-case-fold.
9375
8ea0a993
SB
93762011-10-03 Stephen Berman <stephen.berman@gmx.net>
9377
9378 * minibuffer.el (completion-category-overrides): Fix type of styles
9379 and add more user friendly tags (bug#9660).
9380
8c24b7f6
SM
93812011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9384 (mule-input-method-string): New widget.
9385 (default-input-method, language-info-custom-alist): Use it.
9386
428fe61a
SM
93872011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9388
32c1fffd
SM
9389 * pcomplete.el: Require comint.
9390 (pcomplete--common-suffix): Remove.
9391 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9392 (pcomplete--table-subvert): Sync with comint--table-subvert.
9393 (pcomplete--entries): Use comint-completion-file-name-table.
9394 * comint.el (comint-unquote-filename): Simplify.
9395 (comint-completion-file-name-table): New function (bug#9616).
9396 (comint--complete-file-name-data): Use it.
9397
428fe61a
SM
9398 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9399 (pcmpl-gnu-tar-buffer): Remove.
9400 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9401 around. Make sure pcomplete-suffix-list is only changed temporarily.
9402 Don't look inside the tar's file if it's too large.
428fe61a 9403
04c52e2f
CY
94042011-10-01 Chong Yidong <cyd@stupidchicken.com>
9405
ce3cefcc
CY
9406 * cus-edit.el (custom-mode-map):
9407 * epa.el (epa-key-list-mode-map):
9408 * man.el (Man-mode-map):
9409 * startup.el (splash-screen-keymap):
9410 * simple.el (special-mode-map): Use scroll-up-command and
9411 scroll-down-command.
9412
9413 * progmodes/idlw-help.el (idlwave-help-mode-map):
9414 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9415 * net/newst-plainview.el (newsticker-mode-map):
9416 * emulation/ws-mode.el (wordstar-mode-map):
9417 * emulation/vi.el (vi-com-map):
9418 * calc/calc-graph.el (calc-graph-show-dumb):
9419 * term/sun.el (terminal-init-sun):
9420 * term/ns-win.el (global-map):
9421 * progmodes/grep.el (grep-mode-map):
9422 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9423 * mail/rmail.el (rmail-mode-map):
9424 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9425
04c52e2f
CY
9426 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9427 custom-safe-themes as special.
9428
79adf8c8
JD
94292011-10-01 Julien Danjou <julien@danjou.info>
9430
9431 * notifications.el (notifications-notify): Fix docstring.
9432
63bd50d3
PS
94332011-10-01 Per Starbäck <per@starback.se>
9434
9435 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9436
199e4c7e
MR
94372011-09-30 Martin Rudalics <rudalics@gmx.at>
9438
9439 * startup.el (command-line-1): Fix last fix by inserting
9440 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9441 (Bug#9605) and (Bug#9636)
199e4c7e 9442
fe5f08dd
EZ
94432011-09-29 Eli Zaretskii <eliz@gnu.org>
9444
9445 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9446 window is hscrolled, move by logical lines. (Bug#9607)
9447 (line-move-visual): Update the doc string to the above effect.
9448
b5516bbd
MR
94492011-09-29 Martin Rudalics <rudalics@gmx.at>
9450
ccee00c0
MR
9451 * window.el (display-buffer-record-window): When WINDOW is the
9452 selected window use `point' instead of `window-point'. (Bug#9626)
9453
b5516bbd
MR
9454 * startup.el (command-line-1): Use insert-before-markers when
9455 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9456
b5516bbd
MR
9457 * help.el (help-window): Remove variable.
9458
52aa0014
GM
94592011-09-29 Glenn Morris <rgm@gnu.org>
9460
9461 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9462
df9a7357
JB
94632011-09-29 Juanma Barranquero <lekktu@gmail.com>
9464
9465 * descr-text.el (describe-char-categories): Accept category
9466 descriptions more than one line long.
9467
a8406c20
SM
94682011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9469
88d9610c
SM
9470 * simple.el (delete-trailing-whitespace): Fix last change.
9471
a5daf810
SM
9472 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9473 Don't confuse "y => 3" as the beginning of a `y' operation.
9474
a8406c20
SM
9475 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9476 object has more than 4 slots (bug#9613).
9477
a239d4e9
JB
94782011-09-28 Juanma Barranquero <lekktu@gmail.com>
9479
9480 * subr.el (with-output-to-temp-buffer):
9481 * net/quickurl.el (quickurl, quickurl-browse-url):
9482 Fix typos in docstrings.
9483
693fbdb6
EZ
94842011-09-27 Eli Zaretskii <eliz@gnu.org>
9485
9486 * minibuffer.el (completion-styles)
9487 (completion-category-overrides): Cross reference each other in doc
9488 strings.
9489
8b457e28
GM
94902011-09-27 Glenn Morris <rgm@gnu.org>
9491
9492 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9493 to split-string. (Bug#9606)
9494
85a16208
LMI
94952011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9496
9497 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9498 (bug#9615).
9499
502f9ebd
CY
95002011-09-27 Chong Yidong <cyd@stupidchicken.com>
9501
9502 * emacs-lisp/package.el (list-packages): Fix echo area message.
9503
7690bdea
LL
95042011-09-27 Leo Liu <sdl.web@gmail.com>
9505
9506 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9507
e2ee6f30
MA
95082011-09-25 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * net/dbus.el (dbus-unregister-object): Don't release services for
9511 registered signals. (Bug#9581)
9512
f3f98342
TZ
95132011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9514
9515 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9516 function that picks between cfengine 2 and 3 support
9517 automatically. Update docs accordingly.
9518
dd7aa8dd
KH
95192011-09-22 Kenichi Handa <handa@m17n.org>
9520
9521 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9522 ZERO.
9523 (indian-itrans-v5-table-for-tamil): New variable.
9524 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9525
3f2b07f8
KM
95262011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9527
9528 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9529 that's true if the current command involved collapsing of text.
9530 It's reset to false at the beginning of the next command.
9531 (allout-post-command-business): Move the cursor to the beginning
9532 of entry if the cursor is hidden and collapsing activity just
9533 happened.
9534
371d6a61
CY
95352011-09-24 Chong Yidong <cyd@stupidchicken.com>
9536
9537 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9538 tracking (Bug#9541).
9539
2ac2721a
UJ
95402011-09-24 Ulf Jasper <ulf.jasper@web.de>
9541
9542 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9543 (newsticker-show-news): Automatically load html rendering package
9544 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9545 because w3m-fill-column is let-bound" and the error "Symbol's value
9546 as variable is void: w3m-fill-column".
2ac2721a 9547
fac7ae53
MA
95482011-09-24 Michael Albinus <michael.albinus@gmx.de>
9549
9550 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9551 Release services only if they are defined. (Bug#9581)
9552
e08b633b
RS
95532011-09-23 Richard Stallman <rms@gnu.org>
9554
e488d29c
RS
9555 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9556 distinguish start of paragraph from start of its text.
9557
19c38752
RS
9558 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9559
e08b633b
RS
9560 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9561 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9562 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9563
0a39f27e
AS
95642011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9565
9566 * international/mule-diag.el (mule-diag): Insert a newline after
9567 each fontset description.
9568
db4e950d
SM
95692011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9570
9571 * simple.el (delete-trailing-whitespace):
9572 Document last change; simplify.
9573
eca3f3ea
PW
95742011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9575
d68e189a
PW
9576 * simple.el (delete-trailing-whitespace): Also delete
9577 extra newlines at the end of the buffer.
9578
eca3f3ea
PW
9579 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9580 (picture-newline): Use forward-line so as to ignore fields.
9581
01c157cc
SM
95822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * subr.el (with-wrapper-hook): Fix edebug spec.
9585
022de23e
LMI
95862011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9587
9588 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9589 (bug#4538).
9590
91683089
MA
95912011-09-23 Michael Albinus <michael.albinus@gmx.de>
9592
eca3f3ea
PW
9593 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9594 Fix nasty bug using wrong cached values.
91683089 9595
5bdd6fa4
AM
95962011-09-23 Alan Mackenzie <acm@muc.de>
9597
9598 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9599
97adfb97
CY
96002011-09-23 Chong Yidong <cyd@stupidchicken.com>
9601
9602 * window.el (pop-to-buffer): Ensure right window is selected if we
9603 chose another frame.
9604
d4ef2b50
EZ
96052011-09-22 Eli Zaretskii <eliz@gnu.org>
9606
9607 * simple.el (what-cursor-position): Use get-char-property-change
9608 and next-single-char-property-change, to be able to show display
9609 properties that come from overlays as well as text properties.
9610
72258fe5
CY
96112011-09-22 Chong Yidong <cyd@stupidchicken.com>
9612
9613 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9614
9615 * cmuscheme.el (run-scheme, switch-to-scheme):
9616 * cus-edit.el (customize-group, custom-buffer-create)
9617 (customize-browse):
9618 * info.el (info):
9619 * shell.el (shell):
9620 * mail/sendmail.el (mail):
9621 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9622
8f098516
RS
96232011-09-22 Richard Stallman <rms@gnu.org>
9624
9625 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9626 move back only to line beg, don't move back over blank lines.
9627
e74f1bb6
MA
96282011-09-22 Michael Albinus <michael.albinus@gmx.de>
9629
9630 * files.el (copy-directory): Set directory attributes only in case
9631 they could be retrieved from the source directory. (Bug#9565)
9632
bfeef8b6
DK
96332011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9634
9635 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9636 (hs-find-block-beginning, hs-hide-level-recursive):
9637 Ignore strings as well as comments. (Bug#9502)
9638
7e423bb8
AS
96392011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9640
9641 * progmodes/sql.el (sql-comint-postgres):
9642 Convert port number to a string. (Bug#9566)
9643
b4d72fcf
MR
96442011-09-22 Martin Rudalics <rudalics@gmx.at>
9645
9646 * window.el (quit-window): Undedicate window when switching to
9647 previous buffer. Reported by Thierry Volpiatto
9648 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9649 (special-display-popup-frame): When popping up a new frame reset
9650 its previous buffers to nil. Simplify code.
b4d72fcf 9651
a7b88dc6
MA
96522011-09-21 Michael Albinus <michael.albinus@gmx.de>
9653
9654 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9655 and process filter, as done also in `shell-command'.
9656
cf4eacfd
MR
96572011-09-21 Martin Rudalics <rudalics@gmx.at>
9658
eca3f3ea 9659 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9660 Call set-window-start with NOFORCE argument t.
9661 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9662 (quit-window): Reword doc-string. Handle new format of
9663 quit-restore parameter. Don't delete window if it has a
9664 previous buffer we can show instead of the present one.
9665 (display-buffer-record-window): Rewrite using a new format for
9666 the quit-restore window parameter
9667 (special-display-popup-frame, display-buffer-same-window)
9668 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9669 (display-buffer-pop-up-window, display-buffer-use-some-window):
9670 Adapt symbol passed to display-buffer-record-window.
9671 * help.el (help-window-setup): Handle new format of quit-restore
9672 parameter.
9673
8d28cb95
SM
96742011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9675
94ab793f
SM
9676 * faces.el (face-list): Fix docstring (bug#9564).
9677
8d28cb95
SM
9678 * window.el (display-buffer--action-function-custom-type):
9679 Don't include internal functions in the Custom interface.
9680
3820edeb
JL
96812011-09-20 Juri Linkov <juri@jurta.org>
9682
9683 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9684 (Info-forward-node, Info-backward-node, Info-next-preorder)
9685 (Info-last-preorder): Use it. (Bug#9528)
9686
5147931d
JL
96872011-09-20 Juri Linkov <juri@jurta.org>
9688
9689 * info.el (Info-last-preorder): Visit last menu item only when
9690 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9691
cf499a1a
JD
96922011-09-20 Julien Danjou <julien@danjou.info>
9693
9694 * password-cache.el (password-cache-remove): Remove entries even if the
9695 value is nil, so that password with a nil value (negative caching) is
9696 possible to invalidate.
9697
f84e2fe2
LM
96982011-09-20 Lawrence Mitchell <wence@gmx.li>
9699
9700 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9701 all whitespace around breakpoint. (Bug#9553)
9702 (f90-find-breakpoint): Only break at whitespace inside a comment.
9703
78054a46
SM
97042011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * minibuffer.el (completion-file-name-table): Keep track of errors.
9707 (completion-table-with-predicate): Handle the case where pred1 is nil.
9708 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9709
345083b2
SM
97102011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9711
e24e27be
SM
9712 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9713 (debugger-return-value): Signal an error if the debugging context does
9714 not await any return value.
9715
345083b2
SM
9716 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9717 * image-mode.el (image-toggle-display-text)
9718 (image-toggle-display-image): Stay away from evil `intangible'.
9719
08d355e3
LL
97202011-09-19 Leo Liu <sdl.web@gmail.com>
9721
9722 * replace.el (occur-revert-arguments): Make it permanent-local.
9723 (occur-mode): Don't call font-lock-defontify.
9724
f01da43f
CY
97252011-09-19 Chong Yidong <cyd@stupidchicken.com>
9726
9727 * net/ldap.el (ldap-search-internal): Don't push empty search
9728 result (Bug#9508).
9729
b6072fa6
SM
97302011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9731
9732 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9733
443d6696
MA
97342011-09-19 Michael Albinus <michael.albinus@gmx.de>
9735
9736 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9737 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9738
7cc6e154
JL
97392011-09-18 Juri Linkov <juri@jurta.org>
9740
9741 * buff-menu.el (Buffer-menu-mode-map):
9742 * dired.el (dired-mode-map):
9743 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9744 (lisp-interaction-mode-map):
9745 * emacs-lisp/package.el (package-menu-mode-map):
9746 * epa.el (epa-key-list-mode-map):
9747 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9748 (menu-bar-options-menu):
9749 * outline.el (outline-mode-menu-bar-map):
9750 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9751 * vc/vc-dir.el (vc-dir-menu-map):
9752 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9753 Capitalize non-function content words in menu item strings.
9754
9755 * dired.el (dired-mode-map): Add menu item for
9756 `image-dired-dired-toggle-marked-thumbs'.
9757
80302a81
JL
97582011-09-18 Juri Linkov <juri@jurta.org>
9759
9760 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9761 to `isearch-case-fold-search' and restore its original value
9762 after the `isearch-mode' call.
9763
46c5cf66
JL
97642011-09-18 Juri Linkov <juri@jurta.org>
9765
9766 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9767 because `zgrep' returns 1 for successful matches (bug#9226).
9768
d18b513b
JL
97692011-09-18 Juri Linkov <juri@jurta.org>
9770
9771 * info.el (Info-extract-menu-node-name): Check the second match
9772 for empty string (second test-case of bug#9528).
9773 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9774 intermediate nodes to the history (first test-case of bug#9528).
9775
72753f87
JL
97762011-09-18 Juri Linkov <juri@jurta.org>
9777
9778 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9779 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9780
c9384295
JL
97812011-09-18 Juri Linkov <juri@jurta.org>
9782
1154d12e
JB
9783 * info.el (Info-file-supports-index-cookies):
9784 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9785 outputs one more line for long file names (bug#4142).
c9384295 9786
d473dce8
CY
97872011-09-18 Chong Yidong <cyd@stupidchicken.com>
9788
9789 * newcomment.el (comment-normalize-vars): If prompting for
9790 comment-start, set comment-start-skip too (Bug#8424).
9791
2176854d
JB
97922011-09-18 Johan Bockgård <bojohan@gnu.org>
9793
9794 * icomplete.el: Fix previous fix of Bug#5849.
9795 (icomplete-mode): Don't set completion-show-inline-help.
9796 (icomplete-minibuffer-setup): Set completion-show-inline-help
9797 locally during icompletion.
9798
3aace4e4
CY
97992011-09-18 Chong Yidong <cyd@stupidchicken.com>
9800
c940224f
CY
9801 * woman.el (woman2-process-escapes): Don't delete unrecognized
9802 escapes (Bug#7843).
9803
3aace4e4
CY
9804 * files.el (inhibit-first-line-modes-regexps): Add image files.
9805 (hack-local-variables-prop-line): Return nil for malformed
9806 prop-lines (Bug#9044).
9807
710dec63
MA
98082011-09-18 Michael Albinus <michael.albinus@gmx.de>
9809
9810 * net/tramp.el (top): Don't require 'shell.
9811 (tramp-methods): Fix docstring.
9812 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9813 Return complete remote file name. Handle "smb" case.
9814 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9815 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9816
9817 * net/tramp-compat.el (top): Require 'shell.
9818
9819 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9820 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9821 `tramp-current-host'.
9822 (tramp-get-remote-tmpdir): Remove.
9823
9824 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9825 `tramp-tmpdir' entries.
9826 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9827 (tramp-smb-handle-file-attributes): Ignore errors.
9828 (tramp-smb-wait-for-output): Check also for process end.
9829
5d5ac8ec
LMI
98302011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9831
9832 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9833 when sending QUIT (bug#9312).
9834
8c0f49f0
CY
98352011-09-17 Chong Yidong <cyd@stupidchicken.com>
9836
9837 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9838 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9839 occur-mode-display-occurrence.
9840 (occur-edit-mode): Add usage message.
9841 (occur-cease-edit): New command.
9842 (occur-after-change-function): Use text properties to find the
9843 position of the prefix text.
9844 (occur-engine): Set stickiness of prefix text properties.
9845
8f1383f7
GM
98462011-09-17 Glenn Morris <rgm@gnu.org>
9847
9848 * progmodes/etags.el (complete-tag):
9849 Fix call to completion-in-region. (Bug#9526)
9850
744ba0e3
JL
98512011-09-17 Juri Linkov <juri@jurta.org>
9852
9853 * textmodes/ispell.el (ispell-word): Add to the error message
9854 the word, ispell program name and current dictionary (bug#9121).
9855 (ispell-tex-arg-end): Capitalize "error" in the error message.
9856
d9bbf400
AS
98572011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9858
9859 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9860 check. (Bug#4251)
9861
8da11505
JL
98622011-09-17 Juri Linkov <juri@jurta.org>
9863
9864 * window.el (window-safe-min-height, window-safe-min-width):
9865 Fix typos (followup to bug#9522).
9866
a91adc7e
SJ
98672011-09-17 Sven Joachim <svenjoac@gmx.de>
9868
9869 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9870
064f328a
EZ
98712011-09-16 Eli Zaretskii <eliz@gnu.org>
9872
9873 * simple.el (line-move): If goal-column is set, move by logical
9874 lines, not by display lines. (Bug#971)
9875 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9876 to reflect the above change.
9877
e69df516
SM
98782011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * image.el (imagemagick-register-types): Use regexp-opt.
9881
cbb0f9ab
CY
98822011-09-15 Chong Yidong <cyd@stupidchicken.com>
9883
9884 * window.el (display-buffer-base-action): Rename from
9885 display-buffer-default-action. Make default value empty.
9886 (display-buffer-overriding-action): Convert to defvar.
9887 (display-buffer-fallback-action): New var.
9888
25322144
CY
98892011-09-15 Chong Yidong <cyd@stupidchicken.com>
9890
9891 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9892 declaration.
9893 (package--add-to-archive-contents): If there is a duplicate entry
9894 with an older version, remove it.
9895 (package-menu-mark-delete, package-menu-mark-install)
9896 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9897 (package-menu-mark-obsolete-for-deletion):
9898 Use package-menu-get-status instead of a regexp search.
25322144
CY
9899 (package-menu-get-status): Use tabulated-list-entry.
9900 (package-menu-mark-upgrades): New command.
d770725a 9901 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9902 (package-menu-execute): Do installation before deletion.
9903 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9904 instead of checking major-mode.
9905 (package-menu--find-upgrades): New function.
9906
7520339c
LMI
99072011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9908
9909 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9910 passwords in the log buffer.
65a046c4
LMI
9911 (smtpmail-process-filter): Update the process marker so that the
9912 "broken by peer" status message is inserted in the right place.
7520339c 9913
d3c30954
SM
99142011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9915
3fe48822
SM
9916 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9917 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9918 bibtex-completion-at-point-function.
9919 (bibtex-completion-at-point-function): Use them.
9920
1b8b3954
SM
9921 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9922
d3c30954
SM
9923 * mpc.el (mpc-constraints-tag-lookup): New function.
9924 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9925 also to browser "album|playlist".
9926
72779976
JL
99272011-09-14 Juri Linkov <juri@jurta.org>
9928
9929 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9930 (isearch-edit-string): Use length of `isearch-string' when
9931 `isearch-fail-pos' returns nil.
9932 (isearch-message): Remove duplicate code and call
9933 `isearch-fail-pos' with arg `t'.
9934
a0bf2bcd
CY
99352011-09-14 Chong Yidong <cyd@stupidchicken.com>
9936
17bb0a2d
CY
9937 * replace.el (occur-mode-goto-occurrence): Don't force using other
9938 window (Bug#9499).
9939
a0bf2bcd
CY
9940 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9941
f678e0b6
MR
99422011-09-14 Martin Rudalics <rudalics@gmx.at>
9943
9944 * window.el (display-buffer-window): Remove.
9945 (display-buffer-record-window): Use help-setup window parameter
9946 instead of variable display-buffer-window.
9947 (display-buffer-function, special-display-buffer-names)
9948 (special-display-function): Mention help-setup parameter instead
9949 of display-buffer-window in doc-string.
d3c30954
SM
9950 * help.el (help-window-setup): New argument help-window.
9951 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9952 Reword some messages.
9953 (with-help-window): Pass window used for displaying the buffer
9954 to help-window-setup. Don't set display-buffer-window.
9955
8e39b2e8
GM
99562011-09-13 Glenn Morris <rgm@gnu.org>
9957
9958 * emacs-lisp/debug.el (debugger-make-xrefs):
9959 Preserve point. (Bug#9462)
9960
85e9c04b
CY
99612011-09-13 Chong Yidong <cyd@stupidchicken.com>
9962
9963 * window.el (window-deletable-p): Use next-frame.
9964
1b36ed6a
MR
99652011-09-13 Martin Rudalics <rudalics@gmx.at>
9966
9967 * window.el (window-auto-delete): Remove.
9968 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9969 dedication and previous buffers.
1b36ed6a
MR
9970 (switch-to-prev-buffer): Don't delete window.
9971 (delete-windows-on): Delete a window's frame if and only if the
9972 window is dedicated.
9973 (replace-buffer-in-windows): Delete buffer's window or frame if
9974 and only if window is dedicated.
9975 (quit-window): Handle quit-restore as before last change.
4d61f28d 9976 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9977
ef8ef9fb
CY
99782011-09-13 Chong Yidong <cyd@stupidchicken.com>
9979
9980 * window.el (window-deletable-p): Never delete the last frame on a
9981 given terminal.
9982
b2cba41e
GM
99832011-09-13 Glenn Morris <rgm@gnu.org>
9984
9985 * help.el (describe-key-briefly): Copy previous standard-output change.
9986
51553db6 99872011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9988
9989 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9990
b7556719
GM
99912011-09-13 Glenn Morris <rgm@gnu.org>
9992
9993 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9994 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9995
64b51947
CY
99962011-09-12 Chong Yidong <cyd@stupidchicken.com>
9997
9998 * dired-aux.el (dired-mark-read-string): Don't return default
9999 value on empty input (Bug#9361).
10000 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10001 Omit initial minibuffer contents.
10002 (dired-do-chmod): Signal an error on empty input.
10003 (dired-mark-read-string): Don't return default on empty input.
10004
10005 * files.el (file-modes-symbolic-to-number): Doc fix.
10006
393a301e
SM
100072011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * international/mule-cmds.el (ucs-completions): Remove.
10010 (read-char-by-name): Use complete-with-action instead; add metadata.
10011
fa5660f9
CY
100122011-09-11 Chong Yidong <cyd@stupidchicken.com>
10013
10014 * window.el (display-buffer--action-function-custom-type)
10015 (display-buffer--action-custom-type): New vars.
10016 (display-buffer-alist, display-buffer-default-action)
10017 (display-buffer-overriding-action): Add defcustom types.
10018
4a592f66
CY
10019 * frame.el (delete-other-frames): Doc fix (Bug#276).
10020
73d56dbd
LMI
100212011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10022
10023 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10024
37ac18a3
CY
100252011-09-11 Chong Yidong <cyd@stupidchicken.com>
10026
10027 Change modes that used same-window-* vars to use switch-to-buffer.
10028
10029 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10030 Use switch-to-buffer.
10031
10032 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10033 (customize-browse, custom-buffer-create-other-window):
10034 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10035
10036 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10037 (Info-prev, Info-up, Info-speedbar-goto-node)
10038 (info-display-manual): Use switch-to-buffer.
10039 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10040
10041 * mail/sendmail.el (mail): Use switch-to-buffer.
10042 (mail-recover): Use switch-to-buffer-other-window.
10043
10044 * cmuscheme.el (run-scheme, switch-to-scheme):
10045 * ielm.el (ielm):
10046 * shell.el (shell):
10047 * net/rlogin.el (rlogin):
10048 * net/telnet.el (telnet, rsh):
10049 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10050
10195bd6
AS
100512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10052
10053 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10054
b322f63a
LMI
100552011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10056
39d7fed6
LMI
10057 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10058 so don't mention it (bug#9301).
ba5a81f1 10059 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10060
ee0e9f11
LMI
10061 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10062 match `x', `w32' and `ns', like the manual says (bug#9029).
10063
0b1c89c1 10064 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10065 (process-kill-buffer-query-function): Mention the buffer name in
10066 the query.
0b1c89c1 10067
77549ea8
LMI
10068 * image-mode.el (image-next-line): The line parameter is mandatory
10069 (bug#9258).
10070
803ef892
LMI
10071 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10072 which can be useful (bug#9301).
10073
12980837
LMI
10074 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10075
91054f8f
LMI
10076 * subr.el (match-string): Mention that the current buffer should
10077 be the same as the search was done in (bug#9282).
10078
b322f63a
LMI
10079 * facemenu.el: Disable the remove-* commands if the mark isn't
10080 active (bug#9162).
10081
3199b96f
CY
100822011-09-10 Chong Yidong <cyd@stupidchicken.com>
10083
10084 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10085 of display-buffer.
10086 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10087
10088 * replace.el (occur-mode-goto-occurrence)
10089 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10090 and display-buffer.
10091
10092 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10093 display-buffer.
10094
10095 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10096 special-display and same-window variables.
10097 (mail-other-window): Use switch-to-buffer-other-window.
10098 (mail-other-frame): USe switch-to-buffer-other-frame.
10099
393a301e
SM
10100 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10101 Use display-buffer-other-frame.
3199b96f
CY
10102 (gdb-display-gdb-buffer): Use pop-to-buffer.
10103
10104 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10105
10106 * progmodes/python.el: Don't set same-window-buffer-names.
10107
10108 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10109
10110 * window.el (display-buffer-alist): Add *Python*.
10111
8319e0bf
CY
101122011-09-10 Chong Yidong <cyd@stupidchicken.com>
10113
10114 * window.el (display-buffer-alist): Add entry for buffers
10115 previously handled same-window-*.
10116 (display-buffer-alist, display-buffer-default-action)
10117 (display-buffer-overriding-action): Mark as risky.
10118 (display-buffer-alist): Document action function changes.
10119 (display-buffer--same-window-action)
10120 (display-buffer--other-frame-action): New variables.
10121 (switch-to-buffer, display-buffer-other-frame): Use them.
10122 (display-buffer): Rename reuse-frame entry to reusable-frames.
10123 (display-buffer-reuse-selected-window): Function deleted.
10124 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10125 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10126 (display-buffer-special): New function.
10127 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10128 display-buffer-reuse-or-pop-window. Split off special-display
10129 part into display-buffer-special.
10130 (display-buffer-use-some-window): Don't perform any special
10131 pop-up-frames handling.
10132 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10133 (display-buffer--maybe-same-window): Rename from
0d3ff375 10134 display-buffer-maybe-same-window.
8319e0bf 10135
919a69aa
CY
10136 * info.el: Don't set same-window-regexps.
10137 (info-setup): New function.
10138 (info-other-window, info): Call it.
10139
10140 * cus-edit.el: Don't set same-window-regexps.
10141 (customize-group): New argument.
10142 (customize-group-other-window): Use it.
10143 (customize-face, customize-face-other-window): Likewise.
10144 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10145
8319e0bf
CY
10146 * net/rlogin.el:
10147 * net/telnet.el:
10148 * progmodes/gud.el: Don't set same-window-regexps.
10149
10150 * cmuscheme.el:
10151 * ielm.el:
10152 * shell.el:
10153 * mail/sendmail.el:
10154 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10155
25173000
JL
101562011-09-10 Juri Linkov <juri@jurta.org>
10157
10158 * isearch.el (isearch-edit-string): Remove obsolete mention of
10159 `C-w' (`isearch-yank-word-or-char') from docstring.
10160 (isearch-query-replace): Fix typo in docstring (bug#9466).
10161
056e44ef
JL
101622011-09-10 Juri Linkov <juri@jurta.org>
10163
10164 * paren.el (show-paren-function): Don't show escaped parens.
10165 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10166
c3760c17
EZ
101672011-09-10 Eli Zaretskii <eliz@gnu.org>
10168
10169 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10170 (mm-default-file-encoding): Remove autoload forms, they are
10171 replaced with autoload cookies in mml.el and mm-encode.el.
10172 (mail-add-attachment): New command.
10173 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10174 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10175 the doc string.
10176 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10177
fece895e
RT
101782011-09-10 Reuben Thomas <rrt@sc3d.org>
10179
e69df516
SM
10180 * simple.el (count-words-region): Use buffer if there's no region
10181 (bug#9429).
fece895e 10182
5e68ce4a
JL
101832011-09-09 Juri Linkov <juri@jurta.org>
10184
10185 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10186 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10187 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10188
0a6b9622
AM
101892011-09-09 Alan Mackenzie <acm@muc.de>
10190
10191 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10192 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10193
14a29deb
EZ
101942011-09-09 Eli Zaretskii <eliz@gnu.org>
10195
10196 Fix for Savannah bug#9392.
10197 * simple.el (mail-encode-mml): New defvar.
10198
10199 * mail/rmail.el (mail-encode-mml): Add a defvar.
10200 (rmail-enable-mime-composing): Default to t.
10201 (rmail-forward): Use MIME method of forwarding only if both
10202 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10203 Set mail-encode-mml non-nil if the MIME method was used.
10204
10205 * mail/sendmail.el (mml-to-mime): Add autoload form.
10206 (mail-encode-mml): Add a defvar.
10207 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10208 to nil.
10209 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10210 message through mml-to-mime, and reset mail-encode-mml to nil.
10211
28c45130
GM
102122011-09-09 Glenn Morris <rgm@gnu.org>
10213
10214 * woman.el (woman-if-body): When processing an .el block,
10215 do not delete the next .el block as well. (Bug#9447)
69f4b618 10216 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10217
9b1c252e
MR
102182011-09-08 Martin Rudalics <rudalics@gmx.at>
10219
10220 * window.el (window-deletable-p): Make sure window is live before
10221 invoking window-prev-buffers.
10222
567457e3
LL
102232011-09-08 Leo Liu <sdl.web@gmail.com>
10224
10225 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10226
97f05794
JL
102272011-09-08 Juri Linkov <juri@jurta.org>
10228
10229 * progmodes/compile.el (compilation-environment): Make it
10230 a defcustom (bug#8340).
10231
8b0874b5
MR
102322011-09-08 Martin Rudalics <rudalics@gmx.at>
10233
10234 * window.el (frame-auto-delete): Rename to window-auto-delete.
10235 Make it control auto-deletion of windows and/or frames.
10236 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10237 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10238 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10239 Rewrite handling of case when window/frame can be deleted.
10240 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10241 argument t. (Bug#9456)
8b0874b5 10242
4feb6e73
CY
102432011-09-07 Chong Yidong <cyd@stupidchicken.com>
10244
10245 * help-mode.el (help-mode): Restore autoload.
10246
91ab9c13
JL
102472011-09-07 Juri Linkov <juri@jurta.org>
10248
10249 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10250 `compilation-environment'. Set buffer-local
10251 `compilation-environment' to `thisenv' later after (funcall mode).
10252 (Bug#8340)
10253
10254 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10255 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10256 instead of replacing its value. (Bug#8340)
10257
0527e251
JL
102582011-09-07 Juri Linkov <juri@jurta.org>
10259
10260 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10261 based on text properties put by `grep-filter' instead of matching
10262 escape sequences.
10263 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10264 to the value of `grep-error-screen-columns' (bug#9438).
10265
249f792c
JL
102662011-09-07 Juri Linkov <juri@jurta.org>
10267
10268 * simple.el (next-error-highlight, next-error-highlight-no-select):
10269 Doc fix (bug#9432).
10270
ff7271b9
OT
102712011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10272
10273 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10274 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10275
183fc730
LL
102762011-09-07 Leo Liu <sdl.web@gmail.com>
10277
10278 * net/rcirc.el (rcirc-mode): Conditionally initialize
10279 rcirc-input-ring.
10280
77694924
SM
102812011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * emacs-lisp/find-func.el (find-function-C-source): Only set
10284 find-function-C-source-directory after checking that we found a source
10285 file there (bug#9440).
10286
d809b8eb
AM
102872011-09-06 Alan Mackenzie <acm@muc.de>
10288
10289 * isearch.el (isearch-other-meta-char): Wherever a key list is
10290 unread, "unread" the prefix arg, too. This fixes bug #8901.
10291
453de99f
OG
102922011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10293
10294 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10295
90439906
JL
102962011-09-05 Juri Linkov <juri@jurta.org>
10297
10298 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10299
f62bd846
JL
103002011-09-05 Juri Linkov <juri@jurta.org>
10301
10302 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10303 keeping point where processing of grep matches begins, and
10304 continue to delete remaining escape sequences from the same point.
10305 (grep-filter): Make leading zero optional in "0?1;31m" because
10306 git-grep emits "\033[1;31m" escape sequences unlike expected
10307 "\033[01;31m" as GNU Grep does (bug#9408).
10308 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10309
045820ec
JL
103102011-09-05 Juri Linkov <juri@jurta.org>
10311
10312 * subr.el (y-or-n-p): Capitalize "yes".
10313
f5e29b9b
MA
103142011-09-04 Michael Albinus <michael.albinus@gmx.de>
10315
10316 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10317 `tramp-cache-unload-hook' where appropriate.
10318 (tramp-methods): Rename `tramp-remote-sh' to
10319 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10320 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10321
10322 * net/tramp-sh.el (top): Don't require 'shell.
10323 (tramp-methods): Add `tramp-remote-shell' and
10324 `tramp-remote-shell-args' entries.
10325 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10326 (tramp-sh-handle-shell-command): Remove.
10327 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10328 Use `tramp-remote-shell'.
10329
2784c434
CY
103302011-09-03 Chong Yidong <cyd@stupidchicken.com>
10331
393a301e 10332 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10333 (sendmail-query-once): Save directly to send-mail-function.
10334 Update message-send-mail-function too.
10335
10336 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10337
464cdf56
CS
103382011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10339
10340 * progmodes/python.el (python-mode-map): Use correct function to
10341 start python interpreter from menu-bar (as reported by Geert
10342 Kloosterman).
10343 (inferior-python-mode-map): Fix typo.
393a301e 10344 (python-shell-map): Remove.
464cdf56 10345
d37e5c87
DD
103462011-09-03 Deniz Dogan <deniz@dogan.se>
10347
10348 * net/rcirc.el (rcirc-print): Simplify code for
10349 rcirc-scroll-show-maximum-output. There is no need to walk
10350 through all windows to find the right one.
10351
f3ada0ee
CS
103522011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10353
10354 * help.el (help-return-method): Doc fix.
10355
1f3c99ca
MR
103562011-09-03 Martin Rudalics <rudalics@gmx.at>
10357
10358 * window.el (window-deletable-p): Don't return a non-nil value
10359 when there's a buffer that was shown in the window before.
10360 (Bug#9419)
393a301e
SM
10361 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10362 Set window's previous buffers to nil.
1f3c99ca 10363
a3cf097f
EZ
103642011-09-03 Eli Zaretskii <eliz@gnu.org>
10365
10366 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10367 newline before and after the tag line, so it doesn't interfere
10368 with determining the paragraph direction of bidirectional text.
10369
3d03de90
LL
103702011-09-03 Leo Liu <sdl.web@gmail.com>
10371
10372 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10373
c3313451
CY
103742011-09-02 Chong Yidong <cyd@stupidchicken.com>
10375
393a301e 10376 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10377 (pop-to-buffer): Change interactive spec. Pass second argument
10378 directly to display-buffer.
10379 (display-buffer): Fix interactive spec. Use functionp to
10380 distinguish between a function and a list of functions.
10381
10382 * abbrev.el (edit-abbrevs):
10383 * arc-mode.el (archive-extract):
10384 * autoinsert.el (auto-insert):
10385 * bookmark.el (bookmark-bmenu-list):
10386 * files.el (find-file):
10387 * view.el (view-buffer):
10388 * progmodes/compile.el (compilation-goto-locus):
10389 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10390
89894cd8
CY
103912011-09-02 Chong Yidong <cyd@stupidchicken.com>
10392
10393 * window.el (display-buffer-alist): Doc fix.
10394 (display-buffer): Add docstring. Don't treat
10395 display-buffer-default specially.
10396 (display-buffer-reuse-selected-window)
10397 (display-buffer-same-window, display-buffer-maybe-same-window)
10398 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10399 (display-buffer-pop-up-window)
10400 (display-buffer-reuse-or-pop-window)
10401 (display-buffer-use-some-window): New functions.
10402 (display-buffer-default-action): Use them.
393a301e 10403 (display-buffer-default): Delete.
89894cd8
CY
10404 (pop-to-buffer-1): Fix choice of actions.
10405
ae0bc9fb
SM
104062011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10407
10408 * minibuffer.el (completion--insert-strings): Don't get confused by
10409 completion entries that end with an LF char.
10410
e9d90883
EZ
104112011-09-01 Eli Zaretskii <eliz@gnu.org>
10412
10413 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10414
437014c8
CY
104152011-09-01 Chong Yidong <cyd@stupidchicken.com>
10416
10417 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10418 (display-buffer-same-window, display-buffer-other-window):
10419 New functions.
437014c8
CY
10420 (pop-to-buffer-1): New function. Use the above.
10421 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10422 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10423
10424 * view.el (view-buffer-other-window, view-buffer-other-frame):
10425 Just use pop-to-buffer.
10426
a5e063d5
TV
104272011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10428
10429 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10430
793d32bb
WH
104312011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10432
10433 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10434
d65e4c15
RS
104352011-08-31 Richard Stallman <rms@gnu.org>
10436
10437 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10438 of the separation of rmail-view-buffer from rmail-buffer.
10439 If you say no to "replace original", the decrypt is in the
10440 view buffer. If you say yes, the decrypt goes into the
10441 rmail buffer also.
10442
f818cd2a
MR
104432011-08-31 Martin Rudalics <rudalics@gmx.at>
10444
10445 * window.el (display-buffer-window): Rewrite doc-string.
10446 (display-buffer-record-window): New function.
10447 (display-buffer-macro-specifiers)
10448 (display-buffer-even-window-sizes, display-buffer-set-height)
10449 (display-buffer-set-width, display-buffer-in-window)
10450 (display-buffer-reuse-window, display-buffer-split-specifiers)
10451 (display-buffer-side-specifiers, display-buffer-split-window-1)
10452 (display-buffer-split-window, display-buffer-split-atom-window)
10453 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10454 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10455 (display-buffer-other-window-means-other-frame)
10456 (display-buffer-normalize-special)
10457 (display-buffer-normalize-default)
10458 (display-buffer-normalize-argument)
10459 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10460 (display-buffer-normalize-specifiers, display-buffer-frame)
10461 (display-buffer-same-window, display-buffer-same-frame)
10462 (display-buffer-other-window)
10463 (display-buffer-same-frame-other-window)
10464 (display-buffer-other-frame, pop-to-buffer-same-window)
10465 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10466 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10467 (switch-to-buffer-same-frame)
10468 (switch-to-buffer-other-window-same-frame)
10469 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10470 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10471 (display-buffer-alist-set): Remove.
10472 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10473 (special-display-regexps, special-display-function):
10474 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10475 parameter.
10476 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10477 (special-display-frame-alist, special-display-popup-frame)
10478 (same-window-buffer-names, same-window-regexps, same-window-p)
10479 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10480 (split-window-preferred-function, split-height-threshold)
10481 (split-width-threshold, window-splittable-p)
10482 (split-window-sensibly, window--try-to-split-window)
10483 (window--frame-usable-p, even-window-heights)
10484 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10485 (window--display-buffer-2, display-buffer-other-frame):
10486 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10487 (display-buffer-default, display-buffer-assq-regexp): New functions.
10488 (display-buffer-alist): Rewrite doc-string.
10489 (display-buffer-default-action)
10490 (display-buffer-overriding-action): New variables.
10491 (display-buffer, switch-to-buffer): Rewrite.
10492 (pop-to-buffer): Restore Emacs 23 behavior but use
10493 window-normalize-buffer-to-display.
10494 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10495 Restore Emacs 23 behavior but use
10496 window-normalize-buffer-to-switch-to.
10497 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10498 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10499 Rewrite using Emacs 23 options.
f818cd2a 10500
5bc3b51d
MA
105012011-08-31 Michael Albinus <michael.albinus@gmx.de>
10502
10503 * net/tramp.el (tramp-root-regexp): Remove.
10504 (tramp-completion-file-name-regexp-unified)
10505 (tramp-completion-file-name-regexp-separate)
10506 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10507 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10508 (tramp-drop-volume-letter): Simplify definition.
10509 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10510
b1a4f8e1
SM
105112011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10514 (bug#9356).
10515
5664fa7b
RT
105162011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10517
b1a4f8e1 10518 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10519
9a45d6c3
JL
105202011-08-29 Juri Linkov <juri@jurta.org>
10521
10522 * isearch.el (isearch-done): Don't display message "Mark saved"
10523 when arg `edit' is non-nil to prevent its flicker in the echo area.
10524
fb87e0fb
CY
105252011-08-28 Chong Yidong <cyd@stupidchicken.com>
10526
10527 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10528 obsolete packages for deletion.
10529
09ac1c2a
CS
105302011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10531
10532 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10533 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10534 view-mode from help-mode.
10535 (help-xref-override-view-map): Remove.
10536 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10537 view-mode is not used anymore.
10538
7a1ff57f
CY
105392011-08-28 Chong Yidong <cyd@stupidchicken.com>
10540
10541 * server.el (server-port): Doc fix.
10542
b9696605
CY
10543 * cus-theme.el (custom-theme-choose-mode): Inherit from
10544 special-mode (Bug#9124).
10545 (custom-theme-choose-mode-map): Add special-mode to parent.
10546
ef8cdf8c
AM
105472011-08-28 Alan Mackenzie <acm@muc.de>
10548
10549 * progmodes/cc-fonts.el
10550 (c-make-font-lock-BO-decl-search-function): New function.
10551 (c-basic-matchers-after - "Fontify the clauses after various
10552 keywords"): Extract the three keyword lists for the 3 erroneous
10553 constructs from the list of four, and use the new function above
10554 in place of an old one.
10555
27de4e20
DD
105562011-08-28 Deniz Dogan <deniz@dogan.se>
10557
10558 * net/rcirc.el (rcirc-insert-prev-input)
10559 (rcirc-insert-next-input): Remove unused argument.
10560
356a3681
SM
105612011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10562
10563 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10564
3fc9b218
AM
105652011-08-27 Alan Mackenzie <acm@muc.de>
10566
10567 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10568 handle function pointer parameters properly.
10569
538a061c
MR
105702011-08-27 Martin Rudalics <rudalics@gmx.at>
10571
10572 * window.el (display-buffer-reuse-window): Fix case where
10573 selected window was reused with non-nil OTHER-WINDOW argument.
10574 (Bug#9381)
10575
35b1c40c
DD
105762011-08-27 Deniz Dogan <deniz@dogan.se>
10577
10578 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10579 oftc's NickServ messages.
10580
2f6a3e79
GM
105812011-08-27 Glenn Morris <rgm@gnu.org>
10582
10583 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10584
7254299e
CY
105852011-08-26 Chong Yidong <cyd@stupidchicken.com>
10586
10587 * emacs-lisp/package.el (package-install): Call package-initialize
10588 if called interactively.
10589
f8ccf167
LL
105902011-08-26 Leo Liu <sdl.web@gmail.com>
10591
10592 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10593
3e8cd5ce
JL
105942011-08-25 Juri Linkov <juri@jurta.org>
10595
10596 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10597 `search-whitespace-regexp' (bug#9364).
10598
93eb7113
JL
105992011-08-25 Juri Linkov <juri@jurta.org>
10600
10601 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10602 `regexp-search-ring' to their global values to protect from
10603 updating by `read-from-minibuffer' (bug#9185).
10604
f65d1611
JL
106052011-08-25 Juri Linkov <juri@jurta.org>
10606
10607 * textmodes/ispell.el (ispell-command-loop): Add newline
10608 at the end of the "Use option `i'..." line.
10609
f1cf7a31
JL
106102011-08-25 Juri Linkov <juri@jurta.org>
10611
10612 * battery.el (display-battery-mode): If `battery-status-function'
10613 or `battery-mode-line-format' is nil, display the message and set
10614 `display-battery-mode' to nil (bug#9363).
10615
0c95fcf7
EZ
106162011-08-25 Eli Zaretskii <eliz@gnu.org>
10617
10618 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10619 bidi-string-mark-left-to-right; they are unnecessary now.
10620
a2ebe600
DD
106212011-08-25 Deniz Dogan <deniz@dogan.se>
10622
10623 * net/quickurl.el: Documentation typo fixes.
10624
e4ed06f1
CY
106252011-08-25 Chong Yidong <cyd@stupidchicken.com>
10626
10627 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10628
e5f1c99e
GM
106292011-08-25 Glenn Morris <rgm@gnu.org>
10630
b2948976
GM
10631 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10632
e5f1c99e
GM
10633 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10634 (smtpmail-via-smtp): Handle nil response from smtp.
10635
f22f4808
JL
106362011-08-24 Juri Linkov <juri@jurta.org>
10637
10638 * proced.el (proced-marked): Inherit from `error' instead of
10639 `font-lock-warning-face'.
10640
10641 * ibuffer.el (ibuffer-marked-face): Change default face from
10642 `font-lock-warning-face' to `warning'.
10643 (ibuffer-deletion-face): Change default face from
10644 `font-lock-type-face' to `error'.
10645
10646 * battery.el (battery-update): Use the face `error' instead of
10647 `font-lock-warning-face' (bug#6117).
10648
6a93965e
JL
106492011-08-24 Juri Linkov <juri@jurta.org>
10650
10651 * faces.el (success): Change face color from "Green3" to
10652 "ForestGreen" on light background (bug#9353).
10653
1ed43b09
CY
106542011-08-24 Chong Yidong <cyd@stupidchicken.com>
10655
5664fa7b
RT
10656 * window.el (quit-window): Rename from quit-restore-window.
10657 Use same arglist as old quit-window.
1ed43b09
CY
10658 (frame-auto-delete): Doc fix.
10659
10660 * view.el (view-mode-exit): Use quit-window.
10661
11dcdbb2
JL
106622011-08-24 Juri Linkov <juri@jurta.org>
10663
10664 * isearch.el (isearch-ring-adjust1): Start visiting previous
10665 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10666 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10667 for empty search string (when the last search string is reused
10668 automatically) to adjust the isearch ring to the last element and
10669 prepare the correct index for further M-p commands (bug#9185).
10670
de62b4df
KH
106712011-08-24 Kenichi Handa <handa@m17n.org>
10672
10673 * international/ucs-normalize.el: If decomposition property of
10674 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10675 nil.
10676 (nfd, nfkd): Likewise.
10677
963b492b
SM
106782011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10681 from process filters aren't reliably transmitted to the surrounding
10682 accept-process-output.
10683 (mpc-proc-check): New function.
10684 (mpc-proc-sync): Use it (bug#8293)
10685
93b6b5e1
SM
106862011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10687
10688 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10689 Add compatibility functions (bug#9313).
10690
bca633fb
EZ
106912011-08-23 Eli Zaretskii <eliz@gnu.org>
10692
b177498a
EZ
10693 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10694
6df6ae42 10695 * international/uni-bidi.el: Regenerate.
bca633fb 10696
0902a04e
KH
106972011-08-23 Kenichi Handa <handa@m17n.org>
10698
10699 * international/charprop.el:
10700 * international/uni-bidi.el:
10701 * international/uni-category.el:
10702 * international/uni-combining.el:
10703 * international/uni-comment.el:
10704 * international/uni-decimal.el:
10705 * international/uni-decomposition.el:
10706 * international/uni-digit.el:
10707 * international/uni-lowercase.el:
10708 * international/uni-mirrored.el:
10709 * international/uni-name.el:
10710 * international/uni-numeric.el:
10711 * international/uni-old-name.el:
10712 * international/uni-titlecase.el:
10713 * international/uni-uppercase.el: Regenerate.
10714
3bbf23bc
MR
107152011-08-23 Martin Rudalics <rudalics@gmx.at>
10716
10717 * help.el (help-window-setup): Fix message displayed when other
10718 window is reused. (Bug#9341)
10719
b3fd59bd
SM
107202011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10721
1802e444
SM
10722 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10723 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10724
b3fd59bd
SM
10725 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10726 Mark obsolete.
10727 * shell.el (shell-parse-pcomplete-arguments): New function.
10728 (shell-completion-vars): Use it instead (bug#9160).
10729
4eb61348
SM
107302011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10731
867cab74
SM
10732 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10733 strings and comments (bug#9333).
10734
4eb61348
SM
10735 * emacs-lisp/debug.el (debug-arglist): New function.
10736 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10737 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10738
262a1439
JL
107392011-08-22 Juri Linkov <juri@jurta.org>
10740
56ee679c
JL
10741 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10742 Revert regexp that highlights output switches to its old
10743 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10744
262a1439
JL
10745 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10746 to check for empty output (bug#9226).
10747
f13f86fb
CY
107482011-08-22 Chong Yidong <cyd@stupidchicken.com>
10749
10750 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10751 symbol-constituent as the default, as that stops font-lock from
10752 working properly (Bug#8843).
10753
c65c9622
LMI
107542011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10755
10756 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10757 `coding-system-for-*' around the process open call to avoid
10758 auth-source side effects.
e7f2c178 10759 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10760 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10761 probe hangs.
c65c9622 10762
23a8a5ab
CY
107632011-08-21 Chong Yidong <cyd@stupidchicken.com>
10764
ff98b2dd
CY
10765 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10766
23a8a5ab
CY
10767 * emacs-lisp/find-func.el (find-function-noselect): New arg
10768 lisp-only.
10769
10770 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10771 signal an error for built-in functions (Bug#6664).
10772
f5e3c598
LMI
107732011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10774
10775 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10776 (smtpmail-try-auth-methods): Use it.
10777
a3f2468a
CY
107782011-08-21 Chong Yidong <cyd@stupidchicken.com>
10779
2c34e8da
CY
10780 * font-lock.el (font-lock-fontify-region)
10781 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10782 (font-lock-default-unfontify-buffer)
10783 (font-lock-default-fontify-region)
10784 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10785
b3fd59bd
SM
10786 * progmodes/compile.el (compilation-error-properties):
10787 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10788 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10789 `ant' regexp.
ee31aabc 10790
a3f2468a
CY
10791 * net/browse-url.el (browse-url-firefox): Don't call
10792 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10793
8e999f70
GM
107942011-08-20 Glenn Morris <rgm@gnu.org>
10795
c21a496a
GM
10796 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10797
59ee0542
GM
10798 * tutorial.el (tutorial--default-keys): Update some default bindings.
10799
8e999f70
GM
10800 * files.el (hack-local-variables): Fully ignore case for "mode:".
10801
e3715033
AM
108022011-08-20 Alan Mackenzie <acm@muc.de>
10803
10804 Resolve invalid use of a regexp in regexp-opt.
10805
4d61f28d
JB
10806 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10807 detection for a java annotation.
e3715033 10808
4d61f28d 10809 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10810 detection for a java annotation.
10811
4d61f28d
JB
10812 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10813 handling for java.
e3715033
AM
10814 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10815
04ed2e9c
CY
108162011-08-20 Chong Yidong <cyd@stupidchicken.com>
10817
10818 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10819 (Bug#9274).
10820
826cee64
AM
108212011-08-20 Alan Mackenzie <acm@muc.de>
10822
58179cce 10823 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10824 such a construct. Mainly for when jit-lock etc. starts a chunk
10825 here.
10826
58179cce 10827 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10828 variable.
58179cce 10829 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10830 c-make-font-lock-search-function.
10831 (c-make-font-lock-search-function): Use the above function.
10832 (c-make-font-lock-context-search-function): New function.
10833 (c-cpp-matchers): Enhance the preprocessor expression case with
10834 the above function
10835 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10836 which takes an expression.
10837
10838 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10839
13009bd8
MR
108402011-08-20 Martin Rudalics <rudalics@gmx.at>
10841
10842 * window.el (display-buffer-reuse-window)
10843 (display-buffer-pop-up-window): Don't reuse or split a side
10844 window.
10845
9234ff7f
GM
108462011-08-19 Glenn Morris <rgm@gnu.org>
10847
10848 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10849 Downcase "Mode:". (Bug#9331)
9234ff7f 10850
f635daa1
CY
108512011-08-18 Chong Yidong <cyd@stupidchicken.com>
10852
10853 * international/characters.el: Add L and R categories.
10854
10855 * subr.el (bidi-string-mark-left-to-right): Rename from
10856 string-mark-left-to-right. Use category search.
10857
10858 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10859
bc987f8b
JL
108602011-08-18 Juri Linkov <juri@jurta.org>
10861
10862 * faces.el (error, warning, success): New faces with definitions
10863 copied from old default values of `font-lock-warning-face',
10864 `compilation-warning', `compilation-info' (bug#6117).
10865
10866 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10867
10868 * progmodes/compile.el (compilation-error): Inherit from `error'.
10869 (compilation-warning): Inherit from `warning'.
10870 (compilation-info): Inherit from `success'.
10871
10872 * dired.el (dired-marked): Inherit from `warning'.
10873 (dired-flagged): Inherit from `error'.
10874
57173b96
LMI
108752011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10876
3e79eb87
LMI
10877 * mail/smtpmail.el (auth-source): Require to avoid problems with
10878 binding variables (bug#9298). Also clean up some unused
10879 autoloads.
10880
b3fd59bd
SM
10881 * net/network-stream.el (network-stream-open-starttls):
10882 Support using starttls.el without using gnutls-cli.
57173b96 10883
02b404de
JL
108842011-08-17 Juri Linkov <juri@jurta.org>
10885
10886 * progmodes/grep.el (rgrep): Handle the case when
10887 `grep-find-command' is a cons cell (bug#9278).
10888
8c9177f2
MR
108892011-08-17 Martin Rudalics <rudalics@gmx.at>
10890
10891 * window.el (display-buffer-pop-up-frame): Run frame creation
10892 function with BUFFER current (as special-display-popup-frame
10893 does). Reported by Drew Adams.
10894
3644a0ab
DU
108952011-08-17 Daiki Ueno <ueno@unixuser.org>
10896
10897 * epa-mail.el: Simplify GnuPG group expansion using
10898 epg-expand-group.
10899 (epa-mail-group-alist, epa-mail-group-modtime)
10900 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10901 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10902 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10903 Remove.
10904
5e617bc2 109052011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10906
10907 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10908
9c4aeabf
AM
109092011-08-16 Alan Mackenzie <acm@muc.de>
10910
10911 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10912 Correct, to avoid the inside of macros.
10913
3a99bf64
RS
109142011-08-16 Richard Stallman <rms@gnu.org>
10915
04963aa8
RS
10916 * epa-mail.el: Handle GnuPG group definitions.
10917 (epa-mail-group-alist, epa-mail-group-modtime)
10918 (epa-mail-gnupg-conf-file): New variables.
10919 (epa-mail-parse-groups, epa-mail-sync-groups)
10920 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10921 (epa-mail-expand-recipients): New functions.
10922 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10923
177549d0
RS
10924 * mail/rmail.el (rmail-epa-decrypt): New command.
10925
fe38beef
RS
10926 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10927 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10928 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10929 (epa-decrypt-armor-in-region): Make error message clearer.
10930
934eacb9
SM
109312011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10932
10933 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10934 and "a2b" to "ab" for `prefix'.
10935
d024fb4e
CY
109362011-08-14 Chong Yidong <cyd@stupidchicken.com>
10937
10938 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10939 filter groups.
de148fee
CY
10940 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10941 Fourquet (Bug#8804).
d024fb4e 10942
62f1ca49
JB
109432011-08-12 Juanma Barranquero <lekktu@gmail.com>
10944
10945 * startup.el (argi): Declare as global variable (bug#9275).
10946
9ccaaa4b
CY
109472011-08-12 Chong Yidong <cyd@stupidchicken.com>
10948
10949 * subr.el (string-mark-left-to-right): Search the entire string
10950 for RTL script, not just the terminating character. Doc fix.
10951
a3dae87a
SM
109522011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10953
6cd18349
SM
10954 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10955 New function.
10956 (js--regexp-literal, js-syntax-propertize-function): Remove.
10957 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10958 (js-mode-map): Don't rebind electric keys.
10959 (js-insert-and-indent): Remove.
10960 (js-mode): Setup electric-layout and electric-indent instead.
10961
a3dae87a
SM
10962 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10963
9d5cb631
DU
109642011-08-12 Daiki Ueno <ueno@unixuser.org>
10965
10966 * epa.el (epa-progress-callback-function): Fix the logic of
10967 displaying progress.
10968 * epa-file.el (epa-file-insert-file-contents): Make progress
10969 display more user-friendly.
10970 (epa-file-write-region): Ditto.
10971
3e26a4a2
CY
109722011-08-10 Chong Yidong <cyd@stupidchicken.com>
10973
10974 * subr.el (string-mark-left-to-right): New function.
10975
10976 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10977 Use string-mark-left-to-right.
10978 (list-buffers-noselect): Caller changed.
10979
a3dae87a
SM
10980 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10981 Use string-mark-left-to-right.
3e26a4a2
CY
10982 (tabulated-list-print): Recenter after moving point.
10983
ac8cf6e6
JL
109842011-08-10 Juri Linkov <juri@jurta.org>
10985
10986 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10987 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10988 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10989
8d96c9a4
CY
109902011-08-09 Chong Yidong <cyd@stupidchicken.com>
10991
10992 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10993 (Bug#7554).
10994
7be1c708 109952011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10996
10997 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10998 character. (Bug#6594)
10999
37e11a63
CY
110002011-08-08 Chong Yidong <cyd@stupidchicken.com>
11001
839dde57
CY
11002 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11003 (image-dired--with-db-file): New macro.
11004 (image-dired-write-tags, image-dired-remove-tag)
11005 (image-dired-create-gallery-lists, image-dired-write-comments)
11006 (image-dired-get-comment, image-dired-mark-tagged-files)
11007 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11008 (image-dired-gallery-generate): Use insert-file-contents.
11009
37e11a63
CY
11010 * time.el (display-time-world-list, display-time-world-display):
11011 * time-stamp.el (time-stamp-string):
11012 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11013 set-time-zone-rule (Bug#7337).
11014
0b4946c4
DU
110152011-08-08 Daiki Ueno <ueno@unixuser.org>
11016
11017 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11018 (epg-error-to-string, epg-errors-to-string): New function.
11019 (epg-wait-for-completion): Reverse errors list.
11020 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11021 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11022 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11023 (epg-sign-keys, epg-generate-key-from-file)
11024 (epg-generate-key-from-string): Format errors by using
11025 epg-errors-to-string (bug#9255).
11026 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11027
75bfc667
JL
110282011-08-07 Juri Linkov <juri@jurta.org>
11029
11030 * faces.el (list-faces-display): Remove extra angle bracket
11031 from `help-mode-map'.
11032
11033 * info.el (Info-history-toc-nodes): Doc fix.
11034
11035 * longlines.el (longlines-mode): Doc fix.
11036
673e08bb
SM
110372011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11038
4640dd88
SM
11039 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11040 of statements and in a few more cases (bug#9183).
11041
673e08bb
SM
11042 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11043 New functions.
11044 (cl-transform-lambda): Use them (bug#9239).
11045
89b3f019
MR
110462011-08-05 Martin Rudalics <rudalics@gmx.at>
11047
11048 * window.el (display-buffer-same-window)
11049 (display-buffer-same-frame, display-buffer-other-window)
11050 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11051 (pop-to-buffer-other-window)
11052 (pop-to-buffer-same-frame-other-window)
11053 (pop-to-buffer-other-frame): Make them defuns.
11054 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11055
640c8776
SM
110562011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11057
11058 * subr.el (make-composed-keymap): Move from C. Change calling
11059 convention, and improve docstring to bring attention to a subtle point.
11060 * minibuffer.el (completing-read-default): Adjust accordingly.
11061
63648a95
MA
110622011-08-03 Michael Albinus <michael.albinus@gmx.de>
11063
11064 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11065 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11066
11067 * net/trampver.el: Update release number.
11068
b796c9b7
SM
110692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11070
11071 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11072 "in" (bug#9190).
11073
2239d7d5
LMI
110742011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11075
e07dd7c3
LMI
11076 * mail/sendmail.el (sendmail-query-once): Restore the current
11077 buffer after querying (bug#9074).
11078
0e6a2bd7
LMI
11079 * dired.el (dired-flagged): Use different faces for marked and
11080 flagged files (bug#6117).
11081
ce887515
LMI
11082 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11083 (bug#4433).
11084
92f2affc
LMI
11085 * ido.el (ido-mode): Switch off the message if called
11086 non-interactively.
11087
57d5aff0
LMI
11088 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11089 before 587, since it appears that that's more likely to work for
11090 more people.
11091
98cd6c18 11092 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11093 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11094 exist.
11095
b96dec83
LMI
11096 * info.el: Remove the `Info-beginning-of-buffer' function
11097 (bug#8325).
11098
b796c9b7
SM
11099 * net/network-stream.el (network-stream-open-starttls):
11100 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11101
d90e2ea0
MR
111022011-08-01 Martin Rudalics <rudalics@gmx.at>
11103
11104 * window.el (display-buffer-in-window): Don't set dedicated status
11105 of window here (Bug#9215).
11106 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11107 (display-buffer-pop-up-side-window)
b796c9b7 11108 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11109
cca09170
SM
111102011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11113 before binding generated-autoload-file.
11114
027b979c
DD
111152011-08-01 Deniz Dogan <deniz@dogan.se>
11116
11117 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11118
3c7ee4f3
MA
111192011-07-30 Michael Albinus <michael.albinus@gmx.de>
11120
11121 Sync with Tramp 2.2.2.
11122
11123 * net/trampver.el: Update release number.
11124
2cc8e51a
JL
111252011-07-30 Juri Linkov <juri@jurta.org>
11126
11127 * dired-aux.el (dired-touch-initial): Remove function.
11128 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11129 current time, and `default' to the last modification time of the
11130 current marked file (bug#6887).
11131
a514d856
JM
111322011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11133
11134 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11135 numeric argument to read-number (bug#9163).
a514d856 11136
8a7eddd7
MA
111372011-07-27 Michael Albinus <michael.albinus@gmx.de>
11138
11139 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11140 connection process, it could be nil.
11141
1ddd96f5
LL
111422011-07-27 Leo Liu <sdl.web@gmail.com>
11143
11144 Simplify url handling in rcirc-mode.
11145
11146 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11147 (rcirc-browse-url-at-mouse): Remove.
11148 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11149
b248a85d
AM
111502011-07-26 Alan Mackenzie <acm@muc.de>
11151
11152 Fontify bitfield declarations properly.
11153
11154 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11155 (c-symbol-chars): Now exported as a lang variable.
11156 (c-not-primitive-type-keywords): New lang variable.
11157
11158 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11159 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11160 parsed as a bitfield declaration.
b248a85d 11161
b796c9b7
SM
11162 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11163 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11164 (c-punctuation-in): New function.
11165 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11166 declarations properly.
11167
68575ab0
UJ
111682011-07-26 Ulf Jasper <ulf.jasper@web.de>
11169
11170 * calendar/icalendar.el (icalendar--all-events): Take care of
11171 multiple vcalendars in a single file.
b796c9b7 11172 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11173
0f0a88b9
DD
111742011-07-25 Deniz Dogan <deniz@dogan.se>
11175
11176 * image.el (insert-image): Clarifying docstring.
11177
0b3f36df
MA
111782011-07-24 Michael Albinus <michael.albinus@gmx.de>
11179
11180 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11181 `tramp-send-command-and-check' if there is no error.
11182 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11183
a9901f61
AM
111842011-07-22 Alan Mackenzie <acm@muc.de>
11185
11186 Prevent cc-langs.elc being loaded at run time.
11187
11188 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11189 cc-langs.
11190
4d61f28d 11191 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11192 "(require 'cc-langs)". Quote a form so it will evaluate at
11193 (cc-mode's) compilation time.
11194
11d074b2
MA
111952011-07-22 Michael Albinus <michael.albinus@gmx.de>
11196
11197 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11198 loading. (Bug#9114)
11199
938b94c8
MR
112002011-07-21 Martin Rudalics <rudalics@gmx.at>
11201
11202 * window.el (display-buffer-pop-up-window)
11203 (display-buffer-pop-up-side-window)
11204 (display-buffer-in-side-window): Call display-buffer-set-height
11205 and display-buffer-set-width after setting the new window's
b796c9b7 11206 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11207
bfa4f190
SS
112082011-07-20 Sam Steingold <sds@gnu.org>
11209
11210 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11211 (etags-tags-included-tables): Call `convert-standard-filename' on
11212 the file names contained in TAGS so that windows Emacs can handle
11213 TAGS files created by cygwin ctags.
11214
8ca42262
LMI
112152011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11216
11217 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11218 which apparently didn't work.
11219
5db2afd2 112202011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11221
5db2afd2
RW
11222 * proced.el (proced-send-signal): For *Marked Processes* buffer
11223 put point at beginning of buffer.
11224
92e15d10
SB
112252011-07-19 Stephen Berman <stephen.berman@gmx.net>
11226
11227 * proced.el (proced-format): Make header lines align with the text
11228 (bug#1779).
11229
1bfd59e5
LMI
112302011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11231
11232 * view.el (view-buffer): Allow running in `special' modes if we're
11233 visiting a file (bug#8615).
11234
f5aae37c
MR
112352011-07-19 Martin Rudalics <rudalics@gmx.at>
11236
11237 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11238 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11239 New functions.
f5aae37c
MR
11240 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11241 more accurately.
11242
bf2c1571
AM
112432011-07-18 Alan Mackenzie <acm@muc.de>
11244
11245 Fontify declarators properly when, e.g., a jit-lock chunk begins
11246 inside a declaration.
11247
11248 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11249
b796c9b7
SM
11250 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11251 New function.
bf2c1571
AM
11252 (c-complex-decl-matchers): Insert reference to
11253 c-font-lock-enclosing-decls.
11254
11255 * progmodes/cc-engine.el (c-backward-single-comment):
11256 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11257 to nil around calls to (forward-comment -1).
11258
4e190b80
LMI
112592011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11260
12dc863d
LMI
11261 * image.el (put-image): Doc typo fix.
11262
a762e966
LMI
11263 * progmodes/etags.el (tags-search): Doc typo fix.
11264
4e190b80
LMI
11265 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11266 password if we get errors 550 to 554.
11267
f019fb21
LMI
112682011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11269
b796c9b7 11270 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11271
81746738
LMI
11272 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11273 indentation character (bug#6380).
11274
3ee3a1b5
LMI
11275 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11276
c82f64de
LMI
11277 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11278 to clarify what the problem is (bug#4291).
11279
f019fb21
LMI
11280 * simple.el (current-kill): Clarify what
11281 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11282 (auto-fill-mode): Document `auto-fill-function' in relation to
11283 `auto-fill-mode' (bug#2470).
f019fb21 11284
0794775d
LM
112852011-07-16 Lawrence Mitchell <wence@gmx.li>
11286
11287 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11288 method if slot is read-only (bug#9035).
11289
be39b8cc
MR
112902011-07-16 Martin Rudalics <rudalics@gmx.at>
11291
b796c9b7 11292 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11293 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11294 selected before, see discussion of (Bug#8615), (Bug#6954).
11295 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11296
6ccf7859
GM
112972011-07-15 Glenn Morris <rgm@gnu.org>
11298
11299 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11300 Respect help-form.
6ccf7859 11301
87e86684
LM
113022011-07-09 Lawrence Mitchell <wence@gmx.li>
11303
11304 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11305 (gnutls-negotiate): Use it.
11306
d6066239
LMI
113072011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11308
b796c9b7
SM
11309 * net/gnutls.el (gnutls-negotiate):
11310 Upcase `gnutls-algorithm-priority'.
d6066239 11311
bd23ebc0
GM
113122011-07-15 Glenn Morris <rgm@gnu.org>
11313
c65bca65
GM
11314 * jka-compr.el (jka-compr-verbose): Move from here...
11315 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11316 Add missing :version tag.
11317 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11318
478615cc
LMI
113192011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11320
7b41decb
LMI
11321 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11322 (gnutls-negotiate): Use it.
11323
dbc44fcd
LMI
11324 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11325
06789f97
LMI
11326 * info.el (Info-beginning-of-buffer): New command.
11327 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11328 announcing `b' as the key (bug#8325).
ab896c37 11329 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11330
c39da690
LMI
11331 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11332
3aa5f34b
LMI
11333 * international/mule-cmds.el
11334 (describe-specified-language-support): Make the error message
11335 clearer (bug#8905).
11336
4bf0979f
LMI
11337 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11338
478615cc
LMI
11339 * isearch.el (isearch-barrier): Add a doc string, since it's
11340 mentioned in a function doc string (bug#8678).
11341
75c68aa1
MR
113422011-07-15 Martin Rudalics <rudalics@gmx.at>
11343
11344 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11345 buffer argument (Bug#9083) and self-identifying label argument.
11346
a7c33da2
GM
113472011-07-15 Glenn Morris <rgm@gnu.org>
11348
11349 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11350
2f5c6024
LMI
113512011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11352
11353 * man.el (Man-fontify-manpage): Fix message when formatting the
11354 man page (bug#7929).
11355
0bb23927 113562011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11357
11358 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11359 argument LRM; if non-nil, append an invisible LRM character to the
11360 buffer name.
11361 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11362 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11363 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11364 paragraph direction.
cce4b0a7 11365
621ef9ab
LMI
113662011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11367
d1583c48
LMI
11368 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11369 the man page name (bug#7929).
11370
6a57fb5f
LMI
11371 * image.el (put-image): Mention the `put-image' overlay property
11372 (bug#7834).
11373
d7956b14
LMI
11374 * scroll-bar.el (set-scroll-bar-mode): Mention that
11375 `scroll-bar-mode' lists the values (bug#7772).
11376
5b2d4a66
LMI
11377 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11378 command (bug#7729).
11379
7509a874
LMI
11380 * rect.el (apply-on-rectangle): Return the point after the last
11381 operation.
11382 (string-rectangle): Go to the point after the last operation
11383 (bug#7522).
11384
4fe74b19
LMI
11385 * printing.el (pr-toggle-region): Clarify the documentation
11386 slightly (bug#7493).
11387
b796c9b7
SM
11388 * time.el (display-time-update):
11389 Allow `display-time-mail-function' to return nil (bug#7158).
11390 Fix suggested by Detlev Zundel.
ab283561 11391
fc233c9d
LMI
11392 * vc/diff.el (diff): Clarify the order the file names are read
11393 (bug#7111).
11394
43f5740b
LMI
11395 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11396 the doc string (bug#7015).
11397
f2182a76
LMI
11398 * font-lock.el (font-lock-maximum-decoration): Mention what
11399 numeric levels mean (bug#6935).
11400
621ef9ab
LMI
11401 * startup.el (initial-buffer-choice): Don't mention the `none'
11402 selection, which is against policy.
11403
adc47434
MR
114042011-07-14 Martin Rudalics <rudalics@gmx.at>
11405
b796c9b7
SM
11406 * window.el (display-buffer-normalize-special):
11407 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11408
7e5bfb8f
EZ
114092011-07-14 Eli Zaretskii <eliz@gnu.org>
11410
11411 * subr.el (version<, version<=, version=): Mention "-CVS" and
11412 "-12345" alpha version numbers.
11413
27fa387a
CY
114142011-07-14 Chong Yidong <cyd@stupidchicken.com>
11415
11416 * bindings.el: Add advertised binding for set-mark-command
11417 (Bug#5772).
11418
8bdfa064
CY
114192011-07-14 Chong Yidong <cyd@stupidchicken.com>
11420
11421 * bindings.el (mode-line-other-buffer):
11422 * bookmark.el (bookmark-bmenu-2-window):
11423 * bs.el (bs-cycle-next, bs-cycle-previous):
11424 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11425 switch-to-buffer.
11426
11427 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11428 Delete.
8bdfa064 11429
5eba16a3
JB
114302011-07-14 Juanma Barranquero <lekktu@gmail.com>
11431
11432 * follow.el (follow-debug-message, follow-redisplay):
11433 * jka-cmpr-hook.el (with-auto-compression-mode):
11434 Fix typos in docstrings.
11435
15853710
LMI
114362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11437
a28e4607
LMI
11438 * subr.el (with-silent-modifications): Clarify somewhat what the
11439 macro inhibits (bug#6525).
11440
15853710
LMI
11441 * simple.el (eval-expression): Note what it does if called
11442 interactively (bug#6495).
11443
bee0fcef
CY
114442011-07-13 Chong Yidong <cyd@stupidchicken.com>
11445
b796c9b7
SM
11446 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11447 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11448
11449 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11450 Remove switch-to-buffer.
11451
58274504
LMI
114522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11453
bd2fcc8d
LMI
11454 * files.el (make-directory): Clarify that an error will be raised
11455 if there's an error (bug#6397).
11456
0f04b32c
LMI
11457 * startup.el (initial-buffer-choice): Add `none' as a choice
11458 (bug#6234).
11459
465c5fc8
LMI
11460 * subr.el (add-hook): Clarify section about buffer-local hooks
11461 (bug#6218).
11462
58274504
LMI
11463 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11464
bead9a43
JB
114652011-07-13 Juanma Barranquero <lekktu@gmail.com>
11466
11467 * tabify.el (untabify): Preserve the current column so that point
11468 doesn't move (bug#6032).
11469
3af98a7b
LMI
114702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11471
b796c9b7
SM
11472 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11473 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11474
6240145a
GM
114752011-07-13 Glenn Morris <rgm@gnu.org>
11476
11477 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11478 (dired-insert-directory): Give a message the first time
11479 if ls is found not to support --dired.
11480
1d8c2ccc
LMI
114812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11482
11483 * simple.el (toggle-truncate-lines): Clarify what is toggled
11484 (bug#5580). Text by Drew Adams.
11485
5fc4038e
CY
114862011-07-13 Chong Yidong <cyd@stupidchicken.com>
11487
11488 * simple.el (blink-matching-open): Make the error message from the
11489 last change less verbose.
11490
bf6012e5
DN
114912011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11492
11493 * font-lock.el (font-lock-comment-face): Use the high contrast
11494 "yellow" color for font-lock-comment-face on low color terminals
11495 using a dark background color (bug#4221).
11496
343c3b5a
LMI
114972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11498
7e9505c5
LMI
11499 * dired.el (dired-insert-set-properties): Make the doc string
11500 reflect what it does now (bug#5325).
11501
c26fdcf5
LMI
11502 * simple.el (blink-matching-open): Say that we were unable to find
11503 the match within the limit, if we're limited (bug#5122).
11504
bb388cc5
LMI
11505 * international/mule-cmds.el (prefer-coding-system): Add an
11506 example (bug#4869).
11507
343c3b5a
LMI
11508 * progmodes/etags.el (tags-search): Document `file-list-form'
11509 (bug#4731).
11510
2a517d45
LM
115112011-07-13 Lawrence Mitchell <wence@gmx.li>
11512
11513 * net/browse-url.el (browse-url-default-browser)
11514 (browse-url-browser-function): Make the default browser choice a
11515 bit more logical (bug#4300). Also clean up the doc string.
11516
b6c78ef2
JB
115172011-07-13 Juanma Barranquero <lekktu@gmail.com>
11518
11519 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11520 binary endings (bug#4440).
11521
1c4dd947
LMI
115222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11523
a2014063
LMI
11524 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11525 which can be pretty annoying (bug#8971).
11526
9c9c2d88
LMI
11527 * jka-compr.el (jka-compr-verbose): New variable, and use
11528 throughout (bug#8971).
11529
1c4dd947
LMI
11530 * info.el (Info-find-file): Fall back on the installation
11531 directory if we can't find the info node anywhere else.
11532
a1c9f41b
SO
115332011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11534
11535 * vc/vc.el (vc-revert-file):
11536 Don't set file time-stamp in the past. (Bug#5181)
11537
536f3d36
LMI
115382011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11539
7152b011
LMI
11540 * files.el (after-find-file): Give a better error message when
11541 trying to find a symlink that points to a file that doesn't exist
11542 (bug#4398).
11543
536f3d36
LMI
11544 * progmodes/cc-vars.el: Remove (probably) misleading comment
11545 (bug#4396).
11546
460c0fba
JB
115472011-07-12 Johan Bockgård <bojohan@gnu.org>
11548
11549 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11550
7a6bda45
CY
115512011-07-12 Chong Yidong <cyd@stupidchicken.com>
11552
11553 * mouse-sel.el: Hack restoring functionality, while keeping
11554 compatibility with 2010-07-03 changes to mouse selection.
11555 (mouse-sel-primary-overlay): New var.
11556 (mouse-sel-selection-alist): Use it.
11557 (mouse-sel-mode): Doc fix; remove points that are default features
11558 of mouse.el.
11559
c79598ef
JB
115602011-07-12 Johan Bockgård <bojohan@gnu.org>
11561
11562 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11563 Fix previous fix (bug#2490).
11564
ff8be6ef
RW
115652011-07-12 Roland Winkler <winkler@gnu.org>
11566
b796c9b7
SM
11567 * textmodes/bibtex.el (bibtex-initialize):
11568 Use pop-to-buffer-same-window.
ff8be6ef
RW
11569 (bibtex-search-entries): Fix interactive call.
11570
296ba3ee
LMI
115712011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11572
f5242a02 11573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11574 Fontise bytecomp Error lines more correctly (bug#2490).
11575 Fix suggested by Johan Bockgård.
f5242a02 11576
296ba3ee
LMI
11577 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11578
11579 * dired-x.el (dired-guess-default): Use `delete-dups'.
11580
f69fd0d2
CY
115812011-07-12 Chong Yidong <cyd@stupidchicken.com>
11582
11583 * dired.el (dired-mark-prompt):
11584 * dired-aux.el (dired-read-shell-command): Doc fix.
11585
eab5dc07
LMI
115862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11587
b796c9b7
SM
11588 * mail/sendmail.el (sendmail-query-once):
11589 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11590 emacs -Q.
11591
11592 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11593
eab5dc07
LMI
11594 * cus-edit.el (custom-file): Take an optional no-error variable.
11595 (customize-save-variable): Set the variable, and give a warning if
11596 running under "emacs -q".
11597
a1e65d42
JB
115982011-07-11 Juanma Barranquero <lekktu@gmail.com>
11599
11600 * loadhist.el (unload-feature-special-hooks):
11601 Add `auto-coding-functions', `fill-nobreak-predicate' and
11602 `find-directory-functions' (bug#5327).
11603
1d52da10
LMI
116042011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11605
be958f1d
LMI
11606 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11607
5bedb26c
LMI
11608 * cus-edit.el (custom-guess-name-alist): -alist variables should
11609 use the `alist' type (bug#3120). Suggested by Drew Adams.
11610
1d52da10
LMI
11611 * printing.el: Add documentation to all the `pr-toggle-' commands.
11612
cd394be1 116132011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11614
11615 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11616 backends where it makes sense (bug#2623).
11617
dcc88d8a
LMI
116182011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11619
c3de9feb
LMI
11620 * dired-x.el (dired-guess-default): Remove duplicate shell command
11621 entries (bug#2028).
8a93078b 11622 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11623 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11624
dcc88d8a
LMI
11625 * subr.el (remove-duplicates): New conveniency function.
11626
505e3645
LMI
116272011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11628
11629 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11630 (bug#1526).
11631
116322011-07-10 Martin Rudalics <rudalics@gmx.at>
11633
11634 * window.el (display-buffer-normalize-default): Don't invert
11635 meaning of even-window-heights. Reported by Eli Zaretskii
11636 <eliz@gnu.org>.
11637
455e4fa1
BR
116382011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11639
11640 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11641
8e0bc3e9
CY
116422011-07-10 Chong Yidong <cyd@stupidchicken.com>
11643
11644 * window.el (display-buffer): Fix arguments to
11645 display-buffer-reuse-window in last change.
11646
fa7c3228
CY
11647 * faces.el (link): Use a less saturated blue on light backgrounds.
11648
11649 * startup.el (fancy-startup-text, fancy-about-text)
11650 (fancy-startup-tail): Use font-lock faces, for background safety.
11651
c0a7f300
BN
116522011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11653
b796c9b7
SM
11654 * emulation/viper-cmd.el (viper-change-state-to-vi):
11655 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11656
4dc2a129
MR
116572011-07-09 Martin Rudalics <rudalics@gmx.at>
11658
11659 * window.el (display-buffer-default-specifiers): Remove.
11660 (display-buffer-macro-specifiers): Remove default specifiers.
11661 (display-buffer-alist): Default to nil.
b796c9b7 11662 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11663 (display-buffer-pop-up-window): Allow splitting internal
11664 windows. Check whether a live window was created.
11665 (display-buffer-other-window-means-other-frame)
11666 (display-buffer-normalize-arguments): Rename to
11667 display-buffer-normalize-argument and rewrite. Set the
11668 other-window specifier.
11669 (display-buffer-normalize-special): New function.
11670 (display-buffer-normalize-options): Rename to
11671 display-buffer-normalize-default and rewrite.
11672 (display-buffer-normalize-options-inhibit): Remove.
11673 (display-buffer-normalize-specifiers): Rewrite.
11674 (display-buffer): Process other-window specifier and call
11675 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11676 more faithfully.
b796c9b7 11677 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11678 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11679 (display-buffer-in-window, display-buffer-alist-set):
11680 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11681 <tassilo@member.fsf.org>.
11682
2d43b8c9
LL
116832011-07-09 Leo Liu <sdl.web@gmail.com>
11684
11685 * register.el (insert-register): Restore accidental change on
11686 2011-06-26. (Bug#9028)
11687
7f9b7c53
GM
116882011-07-09 Glenn Morris <rgm@gnu.org>
11689
11690 * subr.el (remq): Handle the empty list. (Bug#9024)
11691
f042cfd8
AS
116922011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11693
11694 * mail/sendmail.el (send-mail-function): No longer delay custom
11695 initialization.
11696 * custom.el (custom-initialize-delay): Doc fix.
11697
856b2f11
SM
116982011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11699
11700 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11701
afae1d68
MA
117022011-07-08 Michael Albinus <michael.albinus@gmx.de>
11703
11704 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11705 human-friendly prompt.
11706
0757af94
SM
117072011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11708
11709 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11710 provided by a particular plugin.
11711
d760b731
LMI
117122011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11713
11714 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11715 save customizations (with "emacs -Q"), just set the variable
11716 instead of erroring out.
11717
11718 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11719
cd79ce90
JL
117202011-07-08 Juri Linkov <juri@jurta.org>
11721
11722 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11723 (archive-zip-update-case): Use 7z if found by `executable-find'.
11724 The order of searching the available programs is the same as in
11725 `archive-zip-extract' (bug#8968).
11726
14cc04aa
CY
117272011-07-07 Chong Yidong <cyd@stupidchicken.com>
11728
11729 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11730 (menu-bar-options-menu): Tweak descriptions.
11731
0a1848ec
LMI
117322011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11733
11734 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11735 menu items into verb phrases (bug#1421). Also refill to fit under
11736 80 columns.
11737
f5bd0689
CY
117382011-07-07 Chong Yidong <cyd@stupidchicken.com>
11739
538e85c6
CY
11740 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11741 (Info-read-node-name): Doc fix (Bug#1084).
11742
f5bd0689
CY
11743 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11744 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11745 (end-of-sexp, beginning-of-sexp)
11746 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11747 (forward-symbol, forward-same-syntax, word-at-point)
11748 (sentence-at-point): Doc fix (Bug#1144).
11749
56ec5115
LMI
117502011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11751
f3f8e37f
LMI
11752 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11753 should cover it (bug#1281).
11754
0757af94 11755 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11756
e9fce1ac 11757 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11758 negotiation fails, then possibly try again with a non-encrypted
11759 connection (bug#9017).
11760
56ec5115
LMI
11761 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11762 be used.
11763
c2f9aec8
RS
117642011-07-07 Richard Stallman <rms@gnu.org>
11765
11766 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11767 property, and handle its changed format.
11768 Look for the correct line number.
11769 Use file's line contents (but not past first =) to find
11770 correct line in message.
11771
ef7b981d 117722011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11773
11774 * international/characters.el (build-unicode-category-table):
11775 Delete it.
0757af94 11776 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11777
0757af94 11778 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11779 to src/chartab.c.
11780 (get-char-code-property): Call unicode-property-table-internal to
11781 load a file. Call get-unicode-property-internal where necessary.
11782 (put-char-code-property): Call unicode-property-table-internal to
11783 load a file. Call put-unicode-property-internal where necessary.
11784 put-unicode-property-internal where necessary.
0757af94
SM
11785 (char-code-property-description):
11786 Call unicode-property-table-internal to load a file.
c805dec0
KH
11787
11788 * international/charprop.el:
11789 * international/uni-bidi.el:
11790 * international/uni-category.el:
11791 * international/uni-combining.el:
11792 * international/uni-comment.el:
11793 * international/uni-decimal.el:
11794 * international/uni-decomposition.el:
11795 * international/uni-digit.el:
11796 * international/uni-lowercase.el:
11797 * international/uni-mirrored.el:
11798 * international/uni-name.el:
11799 * international/uni-numeric.el:
11800 * international/uni-old-name.el:
11801 * international/uni-titlecase.el:
11802 * international/uni-uppercase.el: Regenerate.
11803
11804 * loadup.el: Load international/charprop.el before
11805 international/characters.
11806
e14b388a
CY
118072011-07-07 Chong Yidong <cyd@stupidchicken.com>
11808
11809 * window.el (next-buffer, previous-buffer): Signal an error if
11810 called from a minibuffer window.
11811
11812 * bindings.el: Revert 2011-07-04 change.
11813
354cf0ba
RS
118142011-07-06 Richard Stallman <rms@gnu.org>
11815
11816 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11817 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11818 Treat markers like ints.
11819 (rmail-mime-entity): Doc fix.
11820
a48868a7
LMI
118212011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11822
4906cd3d
LMI
11823 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11824 defcustom again for backwards compatibility.
11825
e0457abe
LMI
11826 * simple.el (shell-command-on-region): Fill.
11827
d67f7e1f
LMI
11828 * dired-aux.el (dired-kill-line): Add a doc string.
11829
fe204702
LMI
11830 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11831 to "\\sw\\|\\s_" (bug#358).
11832
a48868a7
LMI
11833 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11834 (dired-unmark-backward): Ditto.
11835 (dired-flag-backup-files): Ditto.
11836
11837 * dired-x.el (dired-mark-sexp): Ditto.
11838
aa8a705c
RS
118392011-07-06 Richard Stallman <rms@gnu.org>
11840
11841 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11842 (rmail-mime-entity): New arg TRUNCATED.
11843 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11844 New functions.
11845 (rmail-mime-save): Warn if entity is truncated.
11846 (rmail-mime-toggle-hidden): Likewise, for showing.
11847 (rmail-mime-process-multipart): Record when an entity is truncated.
11848
a9a936b9
RS
11849 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11850 if ENTITY is a string.
11851
1f2b92cb
LMI
118522011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11853
f4f73198 11854 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11855 of faces when `M-C-x'-ing their definitions (bug#8378).
11856 Also clean up the code slightly.
f4f73198 11857
12b16734 11858 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11859 because that makes the colors go away.
12b16734 11860
f0691d22
LMI
11861 * mail/sendmail.el (send-mail-function): Change the default to
11862 `sendmail-query-once'.
9e87df06 11863 (sendmail-query-once): Add an autoload cookie.
f0691d22 11864
1f2b92cb
LMI
11865 * net/network-stream.el (network-stream-open-starttls): Try using
11866 a plain connection even if the server offered STARTTLS, and we
11867 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11868 capability. This should make smtpmail.el work in slightly more
11869 configurations.
11870
1cdd2a1b
MA
118712011-07-06 Michael Albinus <michael.albinus@gmx.de>
11872
11873 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11874 New defun.
11875 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11876
fbcc67e2
MM
118772011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11878
11879 * progmodes/sql.el: Version 3.0
0757af94 11880 (sql-product-alist): Add product :completion-object,
fbcc67e2 11881 :completion-column, and :statement attributes.
0757af94 11882 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11883 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11884 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11885 ansi keywords.
11886 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11887 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11888 (sql-oracle-show-reserved-words): New function for development.
11889 (sql-product-font-lock): Simplify for source code buffers.
11890 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11891 New functions.
11892 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11893 (sql-mode-map): Add statement movement functions.
11894 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11895 New variable.
fbcc67e2
MM
11896 (sql-statement-regexp, sql-beginning-of-statement)
11897 (sql-end-of-statement, sql-signum): New functions.
0757af94 11898 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11899 (sql-show-sqli-buffer): Bug fix.
11900 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11901 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11902 with sql-interactive-mode.
11903 (sql-save-connection): Save buffer local settings.
0757af94 11904 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11905 (sql-product-interactive): Bug fix.
11906 (sql-preoutput-hold): New variable.
11907 (sql-interactive-remove-continuation-prompt): Bug fixes.
11908 (sql-debug-redirect): New variable.
11909 (sql-str-literal): New function.
11910 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11911 Redesign.
fbcc67e2
MM
11912 (sql-oracle-save-settings, sql-oracle-restore-settings)
11913 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11914 (sql-completion-object, sql-completion-column)
11915 (sql-completion-sqlbuf): New variables.
11916 (sql-build-completions-1, sql-build-completions)
11917 (sql-try-completion): New functions.
11918 (sql-read-table-name): Use them.
11919 (sql-contains-names): New buffer local variable.
11920 (sql-list-all, sql-list-table): Use it.
11921 (sql-oracle-completion-types): New variable.
11922 (sql-oracle-completion-object, sql-sqlite-completion-object)
11923 (sql-postgres-completion-object): New functions.
11924
d4eaeab1
GM
119252011-07-06 Glenn Morris <rgm@gnu.org>
11926
11927 * window.el (pop-to-buffer): Doc fix.
11928
322b7dab 119292011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11930
11931 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11932
322b7dab 119332011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11934
322b7dab 11935 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11936
322b7dab 11937 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11938
605dd5bf
CY
119392011-07-05 Chong Yidong <cyd@stupidchicken.com>
11940
11941 * button.el (button): Inherit from link face. Suggested by Dan
11942 Nicolaescu.
11943
7dbfa719
SM
119442011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11945
3db614b0
SM
11946 * progmodes/gdb-mi.el: Fit in 80 columns.
11947 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11948 switch-to-buffer.
11949
7dbfa719
SM
11950 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11951 if imenu is simply not configured (bug#8941).
11952
919d884a
KM
119532011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11954
11955 * allout.el (allout-post-undo-hook): New allout outline-change
11956 event hook to signal undo activity.
11957 (allout-post-command-business): Run allout-post-undo-hook if an
11958 undo just occurred.
7dbfa719
SM
11959 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11960 * allout-widgets.el (allout-widgets-after-undo-function):
11961 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11962 in the vicinity of an undo.
11963 (allout-widgets-mode): Include allout-widgets-after-undo-function
11964 on the new allout-post-undo-hook.
11965
450a0f09
SM
119662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11969 Let define-derived-mode define it.
11970 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11971 cycles of abbrev-table inheritance (bug#8998).
11972
2de69e00
RW
119732011-07-05 Roland Winkler <winkler@gnu.org>
11974
11975 * textmodes/bibtex.el: Add support for biblatex.
11976 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11977 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11978 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11979 (bibtex-entry-alist, bibtex-field-alist): New variables.
11980 (bibtex-entry-field-alist): Obsolete alias for
11981 bibtex-BibTeX-entry-alist.
11982 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11983 (bibtex-set-dialect): New command.
11984 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11985 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11986 Bind via bibtex-set-dialect.
2de69e00
RW
11987 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11988 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11989 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11990 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11991 Define via bibtex-set-dialect.
450a0f09
SM
11992 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11993 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11994 (bibtex-vec-push, bibtex-vec-incr): New functions.
11995 (bibtex-format-entry, bibtex-field-list)
11996 (bibtex-print-help-message, bibtex-validate)
11997 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11998
2dcdbdd9
SM
119992011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12000
12001 * progmodes/compile.el (compilation-goto-locus):
12002 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12003 * bs.el (bs-cycle-next, bs-cycle-previous):
12004 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12005 * bindings.el (mode-line-other-buffer):
12006 * autoinsert.el (auto-insert):
12007 * arc-mode.el (archive-extract):
12008 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12009
b27640fe
JB
120102011-07-05 Juanma Barranquero <lekktu@gmail.com>
12011
12012 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12013 Fix check of `emacs-lock-unlockable-modes'.
12014 Coerce true values of `emacs-lock--try-unlocking' to t.
12015
53bbe3ad
JB
120162011-07-05 Juanma Barranquero <lekktu@gmail.com>
12017
12018 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12019 * emacs-lock.el: New file.
12020
1d3cdbc7
JD
120212011-07-05 Julien Danjou <julien@danjou.info>
12022
12023 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12024 than `boundp' to check if face is set.
12025
9173deec
JB
120262011-07-05 Juanma Barranquero <lekktu@gmail.com>
12027
12028 * register.el (registerv-make):
12029 * window.el (window-min-height): Fix typos in docstrings.
12030
869795d6
JD
120312011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12032
9173deec 12033 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12034 Update doc string.
12035
b768cdcd
JB
120362011-07-04 Juanma Barranquero <lekktu@gmail.com>
12037
12038 * server.el (server-execute): Catch quit and call
12039 `server-return-error' to pass the error back to emacsclient and
12040 close the connection (bug#8942).
12041
13aa217b
KM
120422011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12043
12044 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12045 insecure exception for current topic. Also note that auto-saves
12046 are handled differently.
12047
5d3385a0 12048 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12049 State variables for tracking auto-save inhibition situation.
12050
12051 (allout-write-contents-hook-handler): Rename from
12052 'allout-write-file-hook-handler', and describe how it depends on
12053 write-contents-functions sensitivity to non-nil value to prevent
12054 file write.
12055
12056 (allout-auto-save-hook-handler): Remove. auto-save does not check
12057 this in individual buffers, only in the starting buffer, so this
12058 is not the right way for us to inhibit auto-save in a buffer
12059 according to its condition.
12060
12061 (allout-mode): Use new allout-write-contents-hook-handler, and
12062 only with write-contents-functions. Remove auto-save provisions -
12063 they're implemented elsewhere.
12064
12065 (allout-before-change-handler): If undo is in progress, note that
12066 for attention of allout-post-command-business.
12067
12068 (allout-post-command-business): If the command we're following was
12069 an undo, check for change in the status of encrypted items and
12070 adjust auto-save inhibitions accordingly.
12071
12072 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12073 according to whether there are or aren't any plain-text topics
12074 pending encryption.
12075
2dcdbdd9 12076 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12077 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12078 if there are plain-text topics pending encryption.
13aa217b
KM
12079
12080 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12081 buffer-saved-size and some allout state to not inhibit auto-saves
12082 if there are no longer any plain-text topics pending encryption.
12083
0757af94
SM
12084 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12085 No longer provide for exemption of the current topic.
13aa217b 12086
ac89b32c
JL
120872011-07-04 Juri Linkov <juri@jurta.org>
12088
12089 Add 7z operations to delete and save changed members (bug#8968).
12090 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12091 New defcustoms.
12092 (archive-7z-write-file-member): New function.
12093 (archive-7z-summarize): Fix the number of dashes in the
12094 listing output.
12095
8fa39615
SM
120962011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12097
12098 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12099 (bug#8958).
12100
2f11b3f1
CY
121012011-07-04 Chong Yidong <cyd@stupidchicken.com>
12102
d66fef2b
CY
12103 * bindings.el: Ignore next-buffer and previous-buffer in
12104 minibuffer-local-map.
12105
2f11b3f1
CY
12106 * font-lock.el (font-lock-builtin-face): Change light background
12107 color to dark slate blue (Bug#6693).
12108
f932a347
WD
121092011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12110
12111 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12112
c8af70e1
SM
121132011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12114
12115 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12116 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12117 Add switch-to-buffer.
12118
f158badc
LMI
121192011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12120
12121 * isearch.el (isearch-search-fun-function): Clarify further the
12122 meaning of the function returned.
12123
6d95bd46
MA
121242011-07-04 Michael Albinus <michael.albinus@gmx.de>
12125
12126 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12127
12128 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12129 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12130 Use it.
12131 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12132 `tramp-default-remote-path' does not exist.
12133 (tramp-send-command-and-read): New optional argument NOERROR.
12134 (tramp-open-connection-setup-interactive-shell)
12135 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12136 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12137 (tramp-process-sentinel): Flush also process' connection property.
12138 (tramp-sh-handle-start-file-process): Do not set process
12139 sentinel. It is done now ...
12140 (tramp-maybe-open-connection): ... here. (Bug#8929)
12141
909e6b67
MK
121422011-07-04 MON KEY <monkey@sandpframing.com>
12143
12144 * play/animate.el (animate-string): Doc fixes and allow changing
12145 the buffer name (bug#5417).
12146
121472011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12148
c8af70e1 12149 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12150
f34755dc
PE
121512011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12152
396cec72
PE
12153 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12154 This is simpler and helps future-proof the code.
12155 (timer-until): Use time-subtract and float-time.
08235028 12156 (timer--time-less-p): Use time-less-p.
f34755dc 12157
56e6cc31
JB
121582011-07-04 Juanma Barranquero <lekktu@gmail.com>
12159
3abb79e5
JB
12160 * type-break.el (timep): Use the value of `float-time' to avoid a
12161 byte-compiler warning.
12162
56e6cc31
JB
12163 * server.el (server-eval-and-print): Return any result, even nil.
12164
7b9430b4
PE
121652011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12166
12167 * type-break.el: Accept time formats that the builtins accept.
12168 (timep, type-break-time-difference): Accept any format that
12169 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12170 This is simpler and helps future-proof the code.
12171 (type-break-time-difference): Round rather than ignoring
12172 subseconds components.
12173
3034e9e7
LMI
121742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12175
12176 * info.el (Info-apropos-matches): Make non-interactive, since it
12177 doesn't seem to do anything useful as a command (bug#8829).
12178
1485f4c0
CY
121792011-07-03 Chong Yidong <cyd@stupidchicken.com>
12180
12181 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12182 Move from faces.el.
1485f4c0
CY
12183 (frame-default-terminal-background): New function.
12184
12185 * custom.el (custom-push-theme): Don't record faces in `changed'
12186 theme; this doesn't work correctly for per-frame face settings.
12187 (disable-theme): Use face-set-after-frame-default to reset faces.
12188 (custom--frame-color-default): New function.
12189
9fa3dd45
LMI
121902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12191
c8af70e1 12192 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12193 (bug#8769).
12194
6cbbc20c
KR
121952011-03-29 Kevin Ryde <user42@zip.com.au>
12196
12197 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12198 `perl-Test2' extend to match possible "fail #N" rep count
12199 (bug#8377).
12200
c7f98048
LMI
122012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12202
65676592
LMI
12203 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12204 `smtpmail-via-smtp' now returns the error instead of nil.
12205
c7f98048
LMI
12206 * isearch.el (isearch-search-fun-function): Clarify the doc string
12207 (bug#8101).
12208
56e6cc31 122092011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12210
12211 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12212 unnecessary spaces (bug#8987).
12213
2b216704
LMI
122142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12215
12216 * net/network-stream.el (open-network-stream): Use the
12217 :end-of-capability command thoughout.
12218
122192011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12220
12221 * net/network-stream.el (open-network-stream): Add the
12222 :end-of-capability command parameter, used by pop3.el.
12223
36adf6ce
LMI
122242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12225
1ca0da0e
LMI
12226 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12227
fc00f69c
LMI
12228 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12229 for list)" (bug#6475).
12230
28fd8759 12231 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12232 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12233 an error (bug#6297).
12234
0dd8b6da
LMI
12235 * man.el (Man-reference-regexp): Allow matching possible
12236 word-wrapped references (bug#6289).
12237
ce1438d6
LMI
12238 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12239 for consistency with the other vc buffers (bug#6197).
12240 (vc-checkin): Ditto.
12241
12242 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12243
36adf6ce
LMI
12244 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12245
e83cc1f7
LMI
122462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12247
8a20ca4c
LMI
12248 * custom.el (defcustom): Clarify that :set is only used in the
12249 Customize user interface (bug#6089).
12250
83319045
LMI
12251 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12252 associated with a file, refuse to run instead of erroring out
12253 (bug#6084).
12254
a8392169
LMI
12255 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12256 the doc string, since it appears that using `fill-column' always
12257 controls the width (bug#7845).
12258
e83cc1f7
LMI
12259 * simple.el (shell-command-on-region): Say where the error output
12260 went if `shell-command-default-error-buffer' is set (bug#6857).
12261
e47ca23b
KM
122622011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12263
12264 * allout.el (allout-yank-processing): Adjust cursor position for
12265 backwards-deleted space.
12266
12267 (allout-rebullet-heading): Register changes with
12268 allout-exposure-changed-hook, so the modified topic is properly
12269 decorated.
12270
5cf56143
LMI
122712011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12272
08549772
LMI
12273 * minibuffer.el (completion-in-region): Document PREDICATE
12274 (bug#7136).
12275
48e96771
LMI
12276 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12277 of keyword/argument pairs (bug#6904).
12278
c8af70e1
SM
12279 * replace.el (multi-occur):
12280 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12281
e17d05e2
LMI
122822011-07-02 Drew Adams <drew.adams@oracle.com>
12283
12284 * dired.el (dired-mark-if): Make the message about whether it's
12285 marking or unmarking clearer (bug#8523).
12286
063b0e45
LMI
122872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12288
12289 * disp-table.el (display-table-print-array): New function.
12290 (describe-display-table): Use it to print the vectors more pretty
12291 (Bug#8859).
12292
28545e04
MR
122932011-07-02 Martin Rudalics <rudalics@gmx.at>
12294
12295 * window.el (window-state-get-1): Don't assign clone numbers.
12296 Add clone-of item to list of window parameters.
12297 (window-state-put-2): Don't process clone numbers.
12298 (display-buffer-alist): Fix doc-string.
12299
3349e122
SM
123002011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12301
12302 * subr.el (remq): Don't allocate if it's not needed.
12303 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12304 (keymap--merge-bindings): New functions.
12305 (keymap-canonicalize): Use them to refine the canonicalization.
12306 * minibuffer.el (minibuffer-local-completion-map)
12307 (minibuffer-local-must-match-map): Move initialization from C.
12308 (minibuffer-local-filename-completion-map): Move initialization from C;
12309 don't inherit from anything here.
12310 (minibuffer-local-filename-must-match-map): Make obsolete.
12311 (completing-read-default): Use make-composed-keymap to combine
12312 minibuffer-local-filename-completion-map with either
12313 minibuffer-local-must-match-map or
12314 minibuffer-local-filename-completion-map.
12315
d224ac83
GM
123162011-07-01 Glenn Morris <rgm@gnu.org>
12317
3de63bf8
GM
12318 * type-break.el (type-break-time-sum): Use dolist.
12319
d224ac83
GM
12320 * textmodes/flyspell.el (flyspell-word-search-backward):
12321 Replace CL function.
12322
1a1e3f32
SM
123232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12324
fe3f64d5
SM
12325 * mouse.el (mouse--strip-first-event): New function.
12326 (function-key-map): Use it to map fringe clicks to normal clicks
12327 by default.
12328
eb604e34
SM
12329 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12330 (vc-bzr-revision-completion-table): Add support for annotate and date.
12331
1a1e3f32
SM
12332 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12333 inherit from parent.
12334
5bd35902
LMI
123352011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12336
ace6c69c 12337 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12338 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12339
191e2bed
LMI
12340 * dired.el (dired-mode): Fix up the doc string as suggested by
12341 Drew Adams (bug#8817).
12342
5bd35902
LMI
12343 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12344 cookie, since the manual says that it should be possible to add
12345 this function to `find-file-hook' (bug#8709).
12346
eee8207a
TZ
123472011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12348
12349 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12350 here. Noted Ted Zlatanov as the maintainer.
12351 (cfengine-common-settings, cfengine-common-syntax): New functions
12352 to set up common things between `cfengine-mode' and
12353 `cfengine3-mode'.
12354 (cfengine3-mode): New mode.
12355 (cfengine3-defuns cfengine3-defuns-regex
12356 (cfengine3-class-selector-regex cfengine3-category-regex)
12357 (cfengine3-vartypes cfengine3-font-lock-keywords)
12358 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12359 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12360
36b148cf
MA
123612011-07-01 Michael Albinus <michael.albinus@gmx.de>
12362
12363 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12364
12365 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12366
0bf4ba9a
MR
123672011-07-01 Martin Rudalics <rudalics@gmx.at>
12368
12369 * window.el (same-window-buffer-names, same-window-regexps)
12370 (same-window-p, special-display-frame-alist)
12371 (special-display-popup-frame, special-display-function)
12372 (special-display-buffer-names, special-display-regexps)
12373 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12374 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12375 (split-window-preferred-function, split-height-threshold)
12376 (split-width-threshold, even-window-heights)
12377 (display-buffer-mark-dedicated, window-splittable-p)
12378 (split-window-sensibly, window-safely-shrinkable-p):
12379 Un-obsolete.
12380 (display-buffer): Don't spread args with function specifier
12381 because special-display-popup-frame won't like it.
12382
35837f51
PE
123832011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12384
d0672f86
PE
12385 Time-stamp simplifications and fixes.
12386 These improve accuracy slightly, and future-proof the code
12387 against some potential changes to current-time format.
12388
b9444d97
PE
12389 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12390 by using time-since and float-time.
12391
0ef923dc
PE
12392 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12393 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12394 + NNN microseconds".
12395
2f81380d
PE
12396 * type-break.el (type-break-time-sum): Rewrite using time-add.
12397
845b5c3e
PE
12398 * play/hanoi.el (hanoi-current-time-float): Remove.
12399 All uses replaced by float-time.
12400
ee6f1be0
PE
12401 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12402 This yields a more-accurate answer.
12403 (rng-time-to-float): Remove; no longer needed.
12404
fe955043
PE
12405 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12406
5777162a
PE
12407 * calendar/timeclock.el (timeclock-seconds-to-time):
12408 Defalias to seconds-to-time, since they're the same thing.
12409
3103f8b6 12410 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12411 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12412 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12413
0e61a35f
SM
124142011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 * window.el (bury-buffer): Don't iconify the only frame.
12417 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12418 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12419
ddd63a1e
CY
124202011-07-01 Chong Yidong <cyd@stupidchicken.com>
12421
0e61a35f
SM
12422 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12423 Add mouse-yank-primary.
ddd63a1e 12424
055f4923
TZ
124252011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12426
12427 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12428
6a2fb145
SM
124292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12430
12431 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12432 (find-library-name): Use it to find relative load names when provided
12433 absolute file name (bug#8803).
12434
fd4983f2
LMI
124352011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12436
887d14ad
LMI
12437 * textmodes/flyspell.el (flyspell-word): Consider words that
12438 differ only in case as potential doublons (bug#5687).
12439
c53dc7fc
LMI
12440 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12441 Remove two rather uninteresting debugging-like messages to make
12442 debbugs.el more silent.
12443
fd4983f2
LMI
12444 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12445 a password-like phrase.
12446
7a71b18d 124472011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12448
12449 * progmodes/cc-guess.el: New file.
12450
6a2fb145 12451 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12452
12453 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12454 derived from `c-basic-common-init'.
12455
12456 * progmodes/cc-mode.el (top-level): Require cc-guess.
12457 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12458
1fa280a3
LM
124592011-06-30 Lawrence Mitchell <wence@gmx.li>
12460
12461 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12462
e6597158
AM
124632011-06-30 Alan Mackenzie <acm@muc.de>
12464
1fa280a3
LM
12465 * progmodes/cc-engine.el (c-guess-continued-construct):
12466 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12467 lock is disabled. Name this case as "CASE G".
12468
68ba37fb
KM
124692011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12470
12471 * allout.el (allout-yank-processing): Fix injection of extra space
12472 between bullet and non-whitespace character in first topic when
12473 pasting, ensuring that the actual spacing in the pasted topic
12474 following the bullet char is preserved. This extra space was
12475 causing pasted encrypted topics to get a decrypted status even
12476 when the content was actually still encrypted. Now the decryption
12477 status from before the paste is preserved.
12478
12479 (allout-flag-region): Set all allout overlays so they evaporate
12480 when reduced to zero length (evanescent), to prevent overlay
12481 leakage.
12482
887a0b34
GM
124832011-06-30 Glenn Morris <rgm@gnu.org>
12484
94b9acce
GM
12485 * w32-fns.el (w32-charset-info-alist): Declare.
12486
1d9b46d4
GM
12487 * find-dired.el (find-grep-options): Simplify.
12488
cc232200
GM
12489 * term/ns-win.el (ns-set-resource): Declare.
12490
28e77c46
GM
12491 * ses.el (row, col): Declare dynamic variables honestly.
12492
887a0b34
GM
12493 * textmodes/reftex-parse.el (index-tags): Declare.
12494
658d8eb8
CY
124952011-06-30 Chong Yidong <cyd@stupidchicken.com>
12496
12497 * cus-edit.el (customize-push-and-save): New function.
12498
12499 * files.el (hack-local-variables-confirm): Use it.
12500
1fa280a3
LM
12501 * custom.el (load-theme): New arg NO-CONFIRM.
12502 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12503 (custom-enabled-themes): Doc fix.
12504
12505 * cus-theme.el (customize-create-theme)
12506 (custom-theme-merge-theme): Callers to load-theme changed.
12507
bb617717
LMI
125082011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12509
d61bdd5d
LMI
12510 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12511 short URLs have at least one dot in them (bug #7614).
12512
bb617717
LMI
12513 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12514 nil, because using a pty is apparently too slow (bug #895).
12515
2f31f37a
LMI
125162011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12517
12518 * mail/sendmail.el (sendmail-query-once): New function.
12519 (sendmail-query-once-function): New variable.
12520
3076b24e
GM
125212011-06-29 Glenn Morris <rgm@gnu.org>
12522
faf2a174
GM
12523 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12524
3076b24e
GM
12525 * ses.el (top-level): Require cl when compiling.
12526 (ses-set-localvars): Fix error statement.
12527 Call it at compile time to silence a storm of warnings.
12528
5386012d
MR
125292011-06-29 Martin Rudalics <rudalics@gmx.at>
12530
12531 * window.el (normalize-live-buffer): Rename to
12532 window-normalize-buffer.
12533 (normalize-live-frame): Rename to window-normalize-frame.
12534 (normalize-any-window): Rename to window-normalize-any-window.
12535 (normalize-live-window): Rename to window-normalize-live-window.
12536 (make-window-atom): Rename to window-make-atom.
12537 (window-resize-reset): Rename to window--resize-reset.
12538 (window-resize-reset-1): Rename to window--resize-reset-1.
12539 (resize-mini-window): Rename to window--resize-mini-window.
12540 (resize-subwindows-skip-p): Rename to
12541 window--resize-subwindows-skip-p.
12542 (resize-subwindows-normal): Rename to
12543 window--resize-subwindows-normal.
12544 (resize-subwindows): Rename to window--resize-subwindows.
12545 (resize-other-windows): Rename to window--resize-siblings.
12546 (resize-this-window): Rename to window--resize-this-window.
12547 (resize-root-window): Rename to window--resize-root-window.
12548 (resize-root-window-vertically): Rename to
12549 window--resize-root-window-vertically.
12550 (normalize-buffer-to-display): Rename to
12551 window-normalize-buffer-to-display.
12552 (normalize-buffer-to-switch-to): Rename to
12553 window-normalize-buffer-to-switch-to.
12554 Correspondingly update all callers of the functions listed
12555 above.
12556 (display-buffer-alist, display-buffer-normalize-arguments)
12557 (display-buffer-normalize-options, display-buffer)
12558 (display-buffer-alist-set): Use "function" instead of
12559 "fun-with-args".
12560
1176868d
CY
125612011-06-28 Chong Yidong <cyd@stupidchicken.com>
12562
12563 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12564 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12565 debbugs.gnu.org. Mention acknowledgment email.
12566
20a7a65f
LMI
125672011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12568
12569 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12570 buffer multibyteness, since it shouldn't matter.
12571
5f45cca5
MR
125722011-06-28 Martin Rudalics <rudalics@gmx.at>
12573
12574 * window.el (display-buffer-in-side-window): Handle dedicated
12575 windows as in display-buffer-reuse-window.
12576 (display-buffer-normalize-alist): Use value of override
12577 specifier.
12578 (display-buffer-normalize-specifiers): Use value of
12579 other-window-means-other-frame specifier.
12580 (display-buffer-alist): Rewrite some texts in widgets.
12581 (display-buffer): Spread arguments when calling function
12582 specified by fun-with-args.
12583
ad85fe1f
DD
125842011-06-28 Deniz Dogan <deniz@dogan.se>
12585
1fa280a3
LM
12586 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12587 Unnest `let'.
da68c4c8 12588
ad85fe1f
DD
12589 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12590 selectors (Bug#5732).
ec49bd31 12591 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12592
a08cc025
JA
125932011-06-27 Jari Aalto <jari.aalto@cante.net>
12594
12595 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12596 (eshell-ls-date-format): New defcustom.
12597 (eshell-ls-file): Use it.
12598
e2b551c5
SM
125992011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12600
12601 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12602
8982b231
KY
126032011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12604
12605 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12606 (ange-ftp-make-tmp-name): New arg.
12607 (ange-ftp-file-local-copy): Use it.
12608
36c9fa27
J
126092011-06-27 Jambunathan K <kjambunathan@gmail.com>
12610
12611 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12612 no-conversion (Bug#8870).
12613
d68443dc
MR
126142011-06-27 Martin Rudalics <rudalics@gmx.at>
12615
12616 * window.el (window-right, window-left, window-child)
12617 (window-child-count, window-last-child)
12618 (window-iso-combination-p, walk-window-tree-1)
12619 (window-atom-check-1, window-tree-1, delete-window)
12620 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12621 new naming conventions - window-vchild, window-hchild,
12622 window-next and window-prev are now called window-top-child,
12623 window-left-child, window-next-sibling and window-prev-sibling
12624 respectively.
d615d6d2
MR
12625 (resize-window-reset): Rename to window-resize-reset.
12626 (resize-window-reset-1): Rename to window-resize-reset-1.
12627 (resize-window): Rename to window-resize.
12628 (window-min-height, window-min-width)
12629 (resize-mini-window, resize-this-window, resize-root-window)
12630 (resize-root-window-vertically, adjust-window-trailing-edge)
12631 (enlarge-window, shrink-window, maximize-window)
12632 (minimize-window, delete-window, quit-restore-window)
12633 (split-window, balance-windows, balance-windows-area-adjust)
12634 (balance-windows-area, window-state-put-2)
12635 (display-buffer-even-window-sizes, display-buffer-set-height)
12636 (display-buffer-set-width, set-window-text-height)
12637 (fit-window-to-buffer): Rename all "resize-window" prefixed
12638 calls to use the "window-resize" prefix convention.
12639 (display-buffer-alist): Fix symbol for label specifier.
12640 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12641 corresponding specifier.
12642 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12643
b6458526
VB
126442011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12645
12646 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12647 convention.
12648 (ses-call-printer): Does not pass an empty string to formatter when the
12649 cell is empty to keep from barking printer Calc math-format-value.
12650
d31fd9ac
RS
126512011-06-27 Richard Stallman <rms@gnu.org>
12652
43d5bf84
RS
12653 * battery.el (battery-mode-line-limit): New variable.
12654 (battery-update): Handle it.
12655
d31fd9ac
RS
12656 * mail/rmailmm.el (rmail-mime-process-multipart):
12657 Handle truncated messages.
12658
819a6054
GM
126592011-06-27 Glenn Morris <rgm@gnu.org>
12660
12661 * progmodes/flymake.el (flymake-err-line-patterns):
12662 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12663
cedc73f2
VB
126642011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12665
819a6054 12666 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12667 (ses--clean-!, ses--clean-_): New functions.
12668 (ses-range): Add configurability of readout order, and conversion
12669 to Calc vector.
12670
5e5d49b6
VB
12671 * ses.el (ses-repair-cell-reference-all): New function.
12672 (ses-cell-symbol): Set macro as safe, so that it can be used in
12673 formulas.
12674
56e6cc31 12675 * ses.el: Update cycle detection algorithm.
90ca8b49 12676 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12677 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12678 (ses-set-localvars): New function.
12679 (ses-make-cell): Add property-list as a cell element.
12680 (ses-cell-property-get-fun, ses-cell-property-get)
12681 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12682 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12683 New functions.
90ca8b49
VB
12684 (ses-cell-property-set, ses-cell-property-pop)
12685 (ses-cell-property-get-handle): New macro.
12686 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12687 New aliases, used for code readability.
12688 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12689 cycle detection.
12690 (ses-self-reference-early-detection): New defcustom.
fac916bf 12691 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12692 (ses-mode): Use ses-set-localvars.
12693 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12694 before lauching the update processing.
12695 (ses-initialize-Dijkstra-attempt): New function.
12696 (ses-recalculate-cell): Update for cycle detection based on
12697 Dijkstra algorithm.
12698
2bb63e81
VB
12699 * ses.el: Fix commenting and indenting convention.
12700
c9d29fb8
SM
127012011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12702
12703 * bs.el (bs-cycle-next): Complete last change.
12704
d8e4b68b
JB
127052011-06-27 Drew Adams <drew.adams@oracle.com>
12706
12707 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12708
40098786
LMI
127092011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12710
c9d29fb8
SM
12711 * net/network-stream.el (network-stream-open-starttls):
12712 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12713 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12714
40098786
LMI
12715 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12716 to binary to possibly avoid line encoding issues on Windows (among
12717 other things).
12718
468d09d4
LMI
127192011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12720
12721 * net/network-stream.el (open-network-stream): Return an :error
12722 saying what the problem was, if possible.
12723
12724 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12725 server.
12726
12727 * net/network-stream.el (network-stream-open-starttls): If we
12728 wanted to use STARTTLS, and the server offered it, but we weren't
12729 able to because we had no STARTTLS support, then close the connection.
12730 (open-network-stream): Return an :error element, if present.
12731
16f07dd7
CY
127322011-06-26 Chong Yidong <cyd@stupidchicken.com>
12733
88821ca0
CY
12734 * hl-line.el (hl-line-sticky-flag): Doc fix.
12735 (global-hl-line-sticky-flag): New option (Bug#8323).
12736 (global-hl-line-highlight): Obey it.
12737
16f07dd7
CY
12738 * vc/vc.el (vc-revert-show-diff): Default to t.
12739
6b5ccddf
KM
127402011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12741
c9d29fb8
SM
12742 * allout-widgets.el (allout-widgets-post-command-business):
12743 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12744 undecorated when an isearch is continued past, and isearch
12745 automatically collapses them. This leads to "widget leaks", where
12746 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12747 hidden widgets can slow down cursor travel, substantially.
12748 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12749 so we're doing without this nicety.
12750
12751 (allout-widgets-tally-string): Don't try to do a hash-table-count
12752 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12753 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12754 *Messages* when allout-widgets-maintain-tally is t.
12755
355f2e07
MR
127562011-06-26 Martin Rudalics <rudalics@gmx.at>
12757
12758 * window.el (display-buffer-normalize-argument): Rename to
12759 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12760 LABEL argument. Respect special-display-function when popping up
12761 a new frame. Fix code searching for a window showing the buffer
12762 on another frame.
c9d29fb8
SM
12763 (display-buffer-normalize-specifiers):
12764 Call display-buffer-normalize-arguments.
355f2e07
MR
12765 (display-buffer-in-window): Don't undedicate the window if its
12766 buffer remains the same.
12767 Reported by Drew Adams <drew.adams@oracle.com>.
12768 (display-buffer-alist): Add choice for same-window macro
12769 specfier.
12770 (display-buffer): Mention special meaning of LABEL argument in
12771 doc-string. Fix quoting. Don't pop up a new frame even as
12772 fallback.
12773
7ca8fc42
JB
127742011-06-26 Juanma Barranquero <lekktu@gmail.com>
12775
12776 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12777 avoid deleting the current window in some cases (bug#8911).
12778
bc312254
AS
127792011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12780
12781 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12782 (Bug#8934)
12783
2db18f3f
LMI
127842011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12785
c9d29fb8
SM
12786 * net/network-stream.el (network-stream-open-starttls):
12787 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12788 (network-stream-open-tls): Ditto.
12789
6302e0d3
LL
127902011-06-26 Leo Liu <sdl.web@gmail.com>
12791
12792 * register.el (registerv): New struct.
12793 (registerv-make): New function.
c9d29fb8
SM
12794 (jump-to-register, describe-register-1, insert-register):
12795 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12796 struct. (Bug#8415)
12797
5fdd4046
CY
127982011-06-26 Chong Yidong <cyd@stupidchicken.com>
12799
2afef60a
CY
12800 * vc/vc.el (vc-revert-show-diff): New defcustom.
12801 (vc-diff-internal): New arg specifying diff buffer.
12802 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12803 reuse an existing *vc-diff* buffer (Bug#8927).
12804
5fdd4046
CY
12805 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12806
e93db24a
GM
128072011-06-26 Glenn Morris <rgm@gnu.org>
12808
12809 * progmodes/f90.el (f90-critical-indent): New option.
12810 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12811 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12812 (f90-mode): Doc fix.
12813 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12814 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12815 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12816 (f90-match-end): Handle block, critical.
12817
eefff499
GM
128182011-06-25 Glenn Morris <rgm@gnu.org>
12819
f6ba4cc9
GM
12820 * calendar/diary-lib.el (diary-included-files): Doc fix.
12821 (diary-include-files): New function, extracted from
12822 diary-include-other-diary-files and diary-mark-included-diary-files.
12823 (diary-include-other-diary-files, diary-mark-included-diary-files):
12824 Just call diary-include-files.
12825 (diary-mark-entries): Reset diary-included-files on first call.
12826
16712304
GM
12827 * calendar/diary-lib.el (diary-mark-entries)
12828 (diary-mark-included-diary-files):
12829 Visit included diary-files in temp buffers.
12830
5d8e0d43
GM
12831 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12832 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12833 (f90-start-block-re, f90-imenu-generic-expression)
12834 (f90-looking-at-program-block-start, f90-no-block-limit):
12835 Add support for submodules.
12836
ccf7a5d5
GM
12837 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12838 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12839
11fdef7d 128402011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12841
12842 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12843 buffer-file-type before setting its value, to avoid disastrous
eefff499 12844 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12845
74f53697
JB
128462011-06-25 Juanma Barranquero <lekktu@gmail.com>
12847
12848 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12849
12850 * ses.el (ses-unload-function):
12851 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12852
12853 * proced.el (proced-unload-function):
12854 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12855
18a4ce5e
AR
128562011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12857
12858 * server.el (server-create-window-system-frame): Add parameters arg.
12859 (server-process-filter): Doc fix. Handle frame-parameters.
12860
519d22cc
JB
128612011-06-25 Juanma Barranquero <lekktu@gmail.com>
12862
12863 Fix bug#8730, bug#8781.
12864
12865 * loadhist.el (unload--set-major-mode): New function.
12866 (unload-feature): Use it.
12867
12868 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12869 (python-unload-function): New function.
12870
c206f5b0
SM
128712011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12874
f9ad64f3
GS
128752011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12876
12877 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12878 the candidates list.
12879
7d0da90e
JB
128802011-06-24 Juanma Barranquero <lekktu@gmail.com>
12881
12882 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12883
14b4e83d
RS
128842011-06-23 Richard Stallman <rms@gnu.org>
12885
12886 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12887 (rmail-variables): Set next-error-move-function.
12888 (rmail-what-message): Take argument POS.
12889 (rmail-next-error-move): New function.
12890
273d2baf
SM
128912011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12892
12893 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12894 messages for adjacent non-terminals.
12895
56c2cc9a
RS
128962011-06-23 Richard Stallman <rms@gnu.org>
12897
12898 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12899 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12900 (rmail-start-mail): Don't specify use of rmail-mail-return;
12901 that's done by mail-bury now.
12902 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12903
d59eb518
MA
129042011-06-23 Michael Albinus <michael.albinus@gmx.de>
12905
12906 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12907 SIZE is a number.
12908
02cfc6d6
MR
129092011-06-23 Martin Rudalics <rudalics@gmx.at>
12910
12911 * window.el (get-lru-window, get-mru-window)
12912 (get-largest-window): Never return a minibuffer window.
12913 (display-buffer-pop-up-window): Fix a bug that could lead to
12914 reusing the minibuffer window.
12915 (display-buffer): Pass original specifier argument to
12916 display-buffer-function instead of the normalized one.
12917 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12918
4e323265
LL
129192011-06-22 Leo Liu <sdl.web@gmail.com>
12920
12921 * minibuffer.el (completing-read-function)
12922 (completing-read-default): Move from minibuf.c
12923
7a70468f
RS
129242011-06-22 Richard Stallman <rms@gnu.org>
12925
50718fc2
RS
12926 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12927 to Rmail even if not started by a special Rmail command.
12928
7a70468f
RS
12929 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12930 Copy the buffer currently showing just one message.
12931
297dde5a
RW
129322011-06-22 Roland Winkler <winkler@gnu.org>
12933
12934 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12935 (bibtex-clean-entry): First delete the old key so that a
12936 customized algorithm for generating the new key does not get
12937 confused by the old key.
12938 (bibtex-url): Obey regexp of first step.
12939 (bibtex-search-entries): Do not use add-to-list with local
12940 list-var.
12941
97bb1093
LMI
129422011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12943
12944 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12945 stored a user name, then query for the password first, instead of
12946 waiting for SMTP to give an error message and the trying again.
12947
1c0f1a19
JD
129482011-06-22 Lawrence Mitchell <wence@gmx.li>
12949
12950 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12951 BUFFER in call-process.
12952
396f7c9d
LMI
129532011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12954
12955 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12956 QUIT twice.
ddb7ffee
LMI
12957 (smtpmail-try-auth-methods): Require user name and password from
12958 auth-source.
396f7c9d 12959
8998d1b3
MR
129602011-06-22 Martin Rudalics <rudalics@gmx.at>
12961
12962 * window.el (display-buffer-default-specifiers)
12963 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12964 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12965 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12966
12967 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12968 (special-display-frame-alist, special-display-popup-frame):
12969 Remove duplicate declarations. These are now in window.el.
12970
4ea31e07
LMI
129712011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12972
c9d29fb8
SM
12973 * mail/smtpmail.el (smtpmail-via-smtp):
12974 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12975 server supports it. SMTP servers that support STARTTLS commonly
12976 require it.
12977
12978 * net/network-stream.el (network-stream-open-starttls): Support
12979 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12980 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12981
95f41d9a
LMI
12982 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12983 upgrades with `open-network-stream', and rely solely on
12984 auth-source for all credentials. Big changes throughout the file,
12985 but in particular:
c9d29fb8
SM
12986 (smtpmail-auth-credentials): Remove.
12987 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12988 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12989 MAIL FROM, too.
95f41d9a 12990
c9d29fb8
SM
12991 * net/network-stream.el (network-stream-open-starttls):
12992 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12993 STARTTLS.
12994 (auth-source): Require.
12995 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12996 (network-stream-certificate): Change cert-cert to cert and
12997 cert-key to key.
4ea31e07 12998
065ec2c7
MA
129992011-06-21 Michael Albinus <michael.albinus@gmx.de>
13000
13001 * net/tramp-cache.el (top): Don't load the persistency file when
13002 "emacs -Q" has been called.
13003
cd93b359
DR
130042011-06-21 Tim Harper <timcharper@gmail.com>
13005
d8e4b68b
JB
13006 * term/ns-win.el (ns-initialize-window-system):
13007 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13008 resource to NO as it is not yet supported by the NS port.
13009
ae9c0411
JB
130102011-06-21 Juanma Barranquero <lekktu@gmail.com>
13011
13012 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13013 (list-dynamic-libraries): ...not here.
13014
7f3f739f
LL
130152011-06-21 Leo Liu <sdl.web@gmail.com>
13016
13017 * subr.el (sha1): Implement sha1 using secure-hash.
13018
327c8fb1
MR
130192011-06-21 Martin Rudalics <rudalics@gmx.at>
13020
13021 * window.el (display-buffer-alist): In default value do not
13022 enforce searching a window on any but the selected frame.
13023 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13024 (display-buffer-select-window): Remove function.
13025 (display-buffer-in-window): When a window on another frame gets
13026 reused, do not select it any more but just raise its frame if
13027 necessary (Bug#8851) and (Bug#8856).
13028 (display-buffer-normalize-options): Handle pop-up-frames related
13029 options more faithfully.
13030 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13031 window if it is on another frame.
c9d29fb8
SM
13032 (display-buffer-alist, display-buffer-default-specifiers):
13033 Don't make new frame unsplittable by default.
9e9de014
MR
13034 (display-buffer-normalize-argument): Fix doc-string typo and use
13035 'same-frame-other-window instead of 'other-window when associating
13036 with display-buffer-macro-specifiers.
327c8fb1 13037
7cf3f556
VB
130382011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13039
13040 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13041 New functions.
13042 (5x5-mode-map, 5x5-mode-menu): Bind them.
13043 (5x5-draw-grid): Tweak the solver's rendering.
13044
60a406cf
SM
130452011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13046
13047 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13048 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13049
d8e4b68b 130502011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13051
13052 * menu-bar.el: Use function variable instead of switch-to-buffer.
13053 (menu-bar-select-buffer-function): New variable.
60a406cf 13054 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13055
478d6f95
SM
130562011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13059 variable's status.
13060
ca530739
JD
130612011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13062
13063 * x-dnd.el (x-dnd-version-from-flags)
13064 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13065 and long as number (Bug#8899).
13066 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13067
bcd70d97
SM
130682011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13069
60a406cf 13070 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13071 (completion-try-completion, completion-all-completions): Compute the
13072 metadata argument if it's missing; make it optional (bug#8795).
13073
60a406cf 13074 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13075 (widget-complete): Use new :completion-function property.
13076 (widget-completions-at-point): New function.
13077 (default): Use :completion-function instead of :complete.
60a406cf
SM
13078 (widget-default-completions): Rename from widget-default-complete;
13079 Rewrite.
bcd70d97
SM
13080 (widget-string-complete, widget-file-complete, widget-color-complete):
13081 Remove functions.
13082 (file, symbol, function, variable, coding-system, color):
13083 * international/mule-cmds.el (default-input-method, charset)
13084 (language-info-custom-alist):
13085 * cus-edit.el (face): Use new property :completions.
13086
13087 * progmodes/pascal.el (pascal-completions-at-point): New function.
13088 (pascal-mode): Use it.
13089 (pascal-mode-map): Use completion-at-point.
13090 (pascal-toggle-completions): Make obsolete.
13091 (pascal-complete-word, pascal-show-completions):
13092 * progmodes/octave-mod.el (octave-complete-symbol):
13093 Redefine as obsolete alias.
13094 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13095 Signal absence of completion info for old Octave,
13096 (inferior-octave-complete): Redefine as obsolete alias.
13097 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13098 (meta-completions-at-point): Rename from meta-complete-symbol and
13099 adapt it for use on completion-at-point-functions.
13100 (meta-common-mode): Use it.
13101 (meta-looking-at-backward, meta-match-buffer): Remove.
13102 (meta-complete-symbol): Redefine as obsolete alias.
13103 (meta-common-mode-map): Use completion-at-point.
13104 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13105 (makefile-mode-map): Use completion-at-point.
13106 (makefile-completions-at-point): Rename from makefile-complete and
13107 adapt it for use on completion-at-point-functions.
13108 (makefile-mode): Use it.
13109 (makefile-complete): Redefine as obsolete alias.
13110
aebf69c8
DD
131112011-06-20 Deniz Dogan <deniz@dogan.se>
13112
13113 * net/rcirc.el: Delete trailing whitespaces once and for all.
13114
bfbbb27d
DC
131152011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13116
13117 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13118
d264a46b
CY
131192011-06-19 Chong Yidong <cyd@stupidchicken.com>
13120
4ca009e5
CY
13121 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13122
d264a46b
CY
13123 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13124
fbf5b3ce
MR
131252011-06-19 Martin Rudalics <rudalics@gmx.at>
13126
13127 * window.el (display-buffer-other-window-means-other-frame):
13128 Call display-buffer-normalize-alist.
13129 (display-buffer-normalize-specifiers-1): Rename to
13130 display-buffer-normalize-argument. New argument other-frame.
13131 Rewrite.
13132 (display-buffer-normalize-specifiers-2): Rename to
13133 display-buffer-normalize-options.
13134 (display-buffer-normalize-alist-1): New function.
13135 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13136 display-buffer-normalize-alist.
13137 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13138 (display-buffer-normalize-options-inhibit): New variable.
13139 (display-buffer-normalize-specifiers): Rewrite calling
13140 display-buffer-normalize-alist,
13141 display-buffer-normalize-argument, and
13142 display-buffer-normalize-options. Don't call the latter if
13143 display-buffer-normalize-options-inhibit is non-nil.
13144 (frame-auto-delete): New option.
13145 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13146 (window-list-no-nils, window-state-ignored-parameters)
13147 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13148 (window-state-put-1, window-state-put-2, window-state-put):
13149 New functions.
9a028c23
MR
13150 (display-buffer-normalize-options): Move special-display-p group
13151 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13152
6d10d800
CY
131532011-06-18 Chong Yidong <cyd@stupidchicken.com>
13154
6420d28b
CY
13155 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13156 groups (Bug#8776).
13157 (rx-submatch-n): New function.
13158 (rx): Document it.
13159
ddb8b596
CY
13160 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13161 (Bug#8768).
13162
13163 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13164
77080289
CY
13165 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13166
61dfb316
CY
13167 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13168 anytime existing face settings are present (Bug#8889).
13169
6d10d800
CY
13170 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13171 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13172 Remove unused argument.
13173
be3fb2b8
MR
131742011-06-18 Martin Rudalics <rudalics@gmx.at>
13175
bcd70d97
SM
13176 * window.el (display-buffer-default-specifiers):
13177 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13178 pop-up-window-min-width, and another reuse-window specifier
13179 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13180 (display-buffer-normalize-specifiers-2):
13181 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13182 pop-up-windows is unset. Add a reuse-window specifier for the
13183 case popping up a new window fails.
13184 (special-display-popup-frame): Remove double quoting.
28dec25a 13185 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13186
1c6d8c76
SM
131872011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13188
13189 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13190 according to comint-completion-addsuffix.
13191
13192 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13193 (pcomplete-suffix-list): Mark as obsolete.
13194 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13195 pcomplete-seen in the closure.
13196 (pcomplete-comint-setup): Setup completion-at-point as well.
13197 (pcomplete--entries): New function.
13198 (pcomplete--env-regexp): New var.
13199 (pcomplete-entries): Rewrite to work with partial-completion and
13200 without relying on pcomplete-suffix-list.
13201 (pcomplete-pare-list): Remove, unused.
13202
25aef8b8
MR
132032011-06-17 Martin Rudalics <rudalics@gmx.at>
13204
13205 * window.el (display-buffer-alist): Set pop-up-window-min-height
13206 and pop-up-window-min-width in default value. Reported by
13207 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13208 other-window-means-other-frame.
13209 (display-buffer-macro-specifiers): Comment out entry for
13210 other-window specifier.
13211 (display-buffer-other-window-means-other-frame): New function.
13212 (display-buffer-normalize-specifiers-1): New arguments
13213 buffer-name and label. Treat other-window case specially.
13214 (display-buffer-normalize-specifiers-2): Treat other-window case
13215 specially.
13216 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13217 (display-buffer-normalize-specifiers):
13218 Call display-buffer-normalize-specifiers-3.
25aef8b8 13219
dbad4f69
MR
132202011-06-17 Martin Rudalics <rudalics@gmx.at>
13221
13222 * window.el (same-window-p): Fix two typos introduced when
13223 adding with-no-warnings.
d1067961
MR
13224 (display-buffer-normalize-specifiers-1): Don't check
13225 pop-up-frames for 'unset initialization.
13226 (display-buffer-normalize-specifiers-2): Major rewrite using
13227 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13228 (pop-up-frames, display-buffer-reuse-frames)
13229 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13230 Suggested by David Engster <deng@randomsample.de>.
13231 (even-window-heights): Initialize to 'unset.
13232 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13233 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13234 other window case.
dbad4f69 13235
9b9c9e3a
MR
132362011-06-16 Martin Rudalics <rudalics@gmx.at>
13237
bcd70d97
SM
13238 * window.el (display-buffer-normalize-specifiers-1):
13239 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13240 second argument of display-buffer (Bug#8865).
981d5c09
MR
13241 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13242 (switch-to-buffer-other-window-same-frame)
13243 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13244 Adams (Bug#8875).
9c2755e9
MR
13245 (display-buffer): Don't check noninteractive when calling
13246 display-buffer-pop-up-frame.
13247 (display-buffer-pop-up-frame): Never pop up a frame in
13248 noninteractive mode (Bug#8857).
67222e1d
MR
13249 (enlarge-window, shrink-window): Don't report an error when the
13250 window can't be resized as requested (Bug#8862).
9b9c9e3a 13251
2b75be67
SM
132522011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13253
9ffdd3ba
SM
13254 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13255
cb581a67
SM
13256 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13257
2b75be67
SM
13258 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13259
8c0e3589
AM
132602011-06-15 Alan Mackenzie <acm@muc.de>
13261
cb581a67
SM
13262 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13263 for declarators, disable knr checking to speed up for normal files.
13264 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13265
b96e6cde
LMI
132662011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13267
4bba86e6
LMI
13268 * net/network-stream.el (open-network-stream): Add the keyword
13269 :always-query-capabilities for the case where you want to force a
13270 `plain' network connection, but the protocol still requires the
13271 capabilitiy command (i.e., SMTP and EHLO).
13272
2b75be67 13273 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13274 consistency with other `-live-p' functions.
13275
efdcdbf8
SM
132762011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13277
13278 * window.el (same-window-buffer-names, same-window-regexps)
13279 (special-display-frame-alist, special-display-popup-frame)
13280 (special-display-function, special-display-buffer-names)
13281 (special-display-regexps, pop-up-frame-alist)
13282 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13283 (pop-up-windows, split-window-preferred-function)
13284 (split-height-threshold, split-width-threshold, even-window-heights)
13285 (display-buffer-mark-dedicated): Don't encourage the use of
13286 display-buffer-alist from Elisp code.
13287
c5cde042
DN
132882011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13289
13290 * progmodes/python.el (python-mode): Derive from prog-mode.
13291 * progmodes/ps-mode.el (ps-mode):
13292 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13293 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13294 * progmodes/ld-script.el (ld-script-mode): Likewise.
13295
baa1c9ab
MR
132962011-06-15 Martin Rudalics <rudalics@gmx.at>
13297
13298 * window.el (display-buffer-alist): Trim default value to avoid
13299 popping up a new frame (Bug#8857) or reusing an arbitrary window
13300 on another frame.
13301 (display-buffer): Do not fall back on popping up a new frame in
13302 batch mode (Bug#8857).
13303
c5dd5a51
CY
133042011-06-14 Chong Yidong <cyd@stupidchicken.com>
13305
13306 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13307 (custom-theme-summary): New function.
13308 (customize-themes): Use it.
13309
d647b7c4
GM
133102011-06-13 Glenn Morris <rgm@gnu.org>
13311
13312 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13313
9481c002
MR
133142011-06-13 Martin Rudalics <rudalics@gmx.at>
13315
357f93d2
MR
13316 * help.el (help-window): Remove variable.
13317 (help-window-point-marker, temp-buffer-max-height)
13318 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13319 (help-print-return-message): Don't set help-window.
13320 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13321 (help-window-setup-finish): Remove.
13322 (help-window-display-message, help-window-setup)
13323 (with-help-window): Major rewrite based on new
13324 display-buffer-window variable.
13325
13326 * help-mode.el (help-mode-finish): Remove help-window related
13327 code.
13328
13329 * view.el (view-exits-all-viewing-windows): Remove reference to
13330 view-return-to-alist in doc-string.
13331 (view-return-to-alist): Make obsolete.
13332 (view-buffer): Call pop-to-buffer-same-window and remove
13333 undo-window code.
13334 (view-buffer-other-window): Call pop-to-buffer-other-window and
13335 simplify code. Ignore second argument.
13336 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13337 simplify code. Ignore second argument.
13338 (view-return-to-alist-update): Make obsolete.
13339 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13340 Rewrite using quit-restore window parameters.
2b75be67
SM
13341 (view-mode-exit): Rename second argument to EXIT-ONLY.
13342 Rewrite using quit-restore-window.
357f93d2
MR
13343 (View-exit, View-exit-and-edit, View-leave, View-quit)
13344 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13345 appropriate arguments.
13346 (view-end-message): Use quit-restore window parameter.
13347
9481c002
MR
13348 * window.el (display-buffer-function): Rewrite doc-string.
13349 (display-buffer-window, display-buffer-alist): New variables.
13350 (display-buffer-split-specifiers)
13351 (display-buffer-side-specifiers)
13352 (display-buffer-macro-specifiers): New constants.
13353 (display-buffer-even-window-sizes, display-buffer-set-height)
13354 (display-buffer-set-width, display-buffer-select-window)
13355 (display-buffer-in-window, display-buffer-reuse-window)
13356 (display-buffer-split-window-1, display-buffer-split-window)
13357 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13358 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13359 (display-buffer-in-side-window, normalize-buffer-to-display)
13360 (display-buffer-normalize-specifiers-1)
13361 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13362 (display-buffer-normalize-specifiers, display-buffer-frame):
13363 New functions.
9481c002
MR
13364 (display-buffer): Major rewrite.
13365 (display-buffer-other-window, display-buffer-other-frame)
13366 (pop-to-buffer, switch-to-buffer-other-window)
13367 (switch-to-buffer-other-frame): Rewrite.
13368 (display-buffer-same-window, display-buffer-same-frame)
13369 (display-buffer-same-frame-other-window)
13370 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13371 (pop-to-buffer-other-window)
13372 (pop-to-buffer-same-frame-other-window)
13373 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13374 (switch-to-buffer-other-window-same-frame): New functions.
13375 (same-window-p, special-display-p): Rewrite disabling warnings.
13376 Make obsolete.
13377 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13378 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13379 Make obsolete
13380 (same-window-buffer-names, same-window-regexps)
13381 (special-display-frame-alist, special-display-popup-frame)
13382 (special-display-function, special-display-buffer-names)
13383 (special-display-regexps, pop-up-frame-alist)
13384 (pop-up-frame-function, split-window-preferred-function)
13385 (split-height-threshold, split-width-threshold)
13386 (even-window-heights): Make obsolete.
13387
9db51aca
GM
133882011-06-12 Glenn Morris <rgm@gnu.org>
13389
13390 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13391 Misc simplifications.
9db51aca 13392
39cffb44
MR
133932011-06-12 Martin Rudalics <rudalics@gmx.at>
13394
13395 * window.el (window-safely-shrinkable-p): Restore function which
13396 was inadvertently removed in change from 2011-06-11. Declare as
13397 obsolete.
13398
2b75be67
SM
13399 * calendar/calendar.el (calendar-generate-window):
13400 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13401 window-safely-shrinkable-p.
13402
a8955be7
GM
134032011-06-12 Glenn Morris <rgm@gnu.org>
13404
13405 * progmodes/fortran.el (fortran-mode-syntax-table):
13406 * progmodes/f90.el (f90-mode-syntax-table):
13407 Set % to punctuation. (Bug#8820)
13408 (f90-find-tag-default): Remove, no longer needed.
13409
f0d4059d
DC
134102011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13411
13412 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13413
1100a63c
CY
134142011-06-11 Chong Yidong <cyd@stupidchicken.com>
13415
13416 * image.el (image-animated-p): Return animation delay in seconds.
13417 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13418 (image-animate-timeout): Remove DELAY argument. Don't assume
13419 every subimage has the same delay; get it from image-animated-p.
13420 (image-animate): Caller changed.
13421
def722bf
MA
134222011-06-11 Michael Albinus <michael.albinus@gmx.de>
13423
13424 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13425 to ignored backtrace functions.
13426
0a2bb1a9
GM
134272011-06-11 Glenn Morris <rgm@gnu.org>
13428
13429 * calendar/appt.el (appt-disp-window-function): Doc fix.
13430 (appt-check): Handle overlapping appointments. (Bug#8337)
13431
6198ccd0
MR
134322011-06-11 Martin Rudalics <rudalics@gmx.at>
13433
13434 * window.el (window-tree-1, window-tree): New functions, moving
13435 the latter to window.el.
13436 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13437 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13438 (bw-refresh-edges): Remove.
13439 (balance-windows-1, balance-windows-2): New functions.
13440 (balance-windows): Rewrite in terms of window tree functions,
13441 balance-windows-1 and balance-windows-2.
13442 (bw-adjust-window): Remove.
13443 (balance-windows-area-adjust): New function with functionality of
13444 bw-adjust-window but using resize-window.
2b75be67
SM
13445 (set-window-text-height): Rewrite doc-string.
13446 Use normalize-live-window and resize-window.
13447 (enlarge-window-horizontally, shrink-window-horizontally):
13448 Rename argument to DELTA.
6198ccd0
MR
13449 (window-buffer-height): New function.
13450 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13451 Rewrite using new window resize routines.
2b75be67
SM
13452 (kill-buffer-and-window, mouse-autoselect-window-select):
13453 Use ignore-errors instead of condition-case.
6198ccd0
MR
13454 (quit-window): Call delete-frame instead of delete-windows-on
13455 for the only buffer on frame.
13456
9397e56f
MR
134572011-06-10 Martin Rudalics <rudalics@gmx.at>
13458
13459 * loadup.el (top-level): Load window before files for the sake
13460 of replace-buffer-in-windows.
13461
13462 * files.el (read-buffer-to-switch)
13463 (switch-to-buffer-other-window)
2b75be67
SM
13464 (switch-to-buffer-other-frame, display-buffer-other-frame):
13465 Move to window.el.
9397e56f
MR
13466
13467 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13468 (previous-buffer): Move to window.el.
13469
13470 * bindings.el (unbury-buffer): Move to window.el.
13471
13472 * window.el (delete-other-windows-vertically): Move after
13473 definition of delete-other-windows.
13474 (other-window, delete-windows-on, replace-buffer-in-windows):
13475 Move here from window.c.
13476 (record-window-buffer, unrecord-window-buffer)
13477 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13478 (switch-to-next-buffer): New functions.
13479 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13480 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13481 (previous-buffer): Move here from simple.el.
13482 Call switch-to-prev-buffer.
9397e56f
MR
13483 (bury-buffer): Move here from buffer.c. Switch to previous
13484 buffer when window cannot be deleted.
13485 (unbury-buffer): Move here from bindings.el.
13486 (ctl-x-map): Move binding for other-window from window.c to
13487 here.
13488 (read-buffer-to-switch, switch-to-buffer-other-window)
13489 (switch-to-buffer-other-frame): Move here from files.el.
13490 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13491 (switch-to-buffer): Move here from buffer.c.
13492 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13493
562dd5e9
MR
134942011-06-10 Martin Rudalics <rudalics@gmx.at>
13495
13496 * window.el (window-min-height, window-min-width): Move here
13497 from window.c. Add defcustoms and rewrite doc-strings.
13498 (resize-mini-window, resize-window): New functions.
13499 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13500 Move here from window.c.
13501 (maximize-window, minimize-window): New functions.
13502 (delete-window, delete-other-windows, split-window): Move here
13503 from window.c.
13504 (window-split-min-size): New function.
13505 (split-window-keep-point): Mention split-window-above-each-other
13506 instead of split-window-vertically.
2b75be67 13507 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13508 Rename split-window-vertically to split-window-above-each-other
13509 and provide defalias for old definition.
13510 (split-window-side-by-side, split-window-horizontally):
13511 Rename split-window-horizontally to split-window-side-by-side
13512 and provide defalias for the old definition.
562dd5e9
MR
13513 (ctl-x-map): Move bindings for delete-window,
13514 delete-other-windows and enlarge-window here from window.c.
13515 Replace bindings for split-window-vertically and
13516 split-window-horizontally by bindings for
13517 split-window-above-each-other and split-window-side-by-side.
13518
13519 * cus-start.el (all): Remove entries for window-min-height and
13520 window-min-width. Add entries for window-splits and
13521 window-nest.
13522
f0da764a
GM
135232011-06-09 Glenn Morris <rgm@gnu.org>
13524
80675c21
GM
13525 * calendar/appt.el (appt-mode-line): New function.
13526 (appt-check, appt-disp-window): Use it.
13527
f0da764a
GM
13528 * files.el (hack-one-local-variable-eval-safep):
13529 Allow minor-modes with explicit +/-1 arguments.
13530
59f623b7
TZ
135312011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13532
13533 * term/xterm.el (xterm): Add defgroup.
13534 (xterm-extra-capabilities): Add defcustom to supply known xterm
13535 capabilities, skip querying them, or query them (default).
13536 (terminal-init-xterm): Use it.
13537 (terminal-init-xterm-modify-other-keys): New function to set up
13538 modifyOtherKeys support to simplify `terminal-init-xterm'.
13539
9aab8e0d
MR
135402011-06-09 Martin Rudalics <rudalics@gmx.at>
13541
13542 * window.el (resize-window-reset, resize-window-reset-1)
13543 (resize-subwindows-skip-p, resize-subwindows-normal)
13544 (resize-subwindows, resize-other-windows, resize-this-window)
13545 (resize-root-window, resize-root-window-vertically)
13546 (window-deletable-p, window-or-subwindow-p)
13547 (frame-root-window-p): New functions.
13548
e8b08aee
GM
135492011-06-09 Glenn Morris <rgm@gnu.org>
13550
13551 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13552 (ange-ftp-get-files): Use it.
13553
254c37a5
AK
135542011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13555
13556 * mail/sendmail.el (mail-recover-1, mail-recover):
13557 * files.el (recover-file, recover-session):
13558 Handle dired-listing-switches not being just a single short option.
13559
35d7dbd3
GM
135602011-06-09 Glenn Morris <rgm@gnu.org>
13561
13562 * calendar/appt.el (appt-display-message, appt-disp-window):
13563 Handle lists of appointments.
13564
387522b2
MR
135652011-06-08 Martin Rudalics <rudalics@gmx.at>
13566
2b75be67
SM
13567 * window.el (one-window-p): Move down in code.
13568 Rewrite doc-string.
13569 (window-current-scroll-bars): Rewrite doc-string.
13570 Normalize live window argument.
387522b2
MR
13571 (walk-windows, get-window-with-predicate, count-windows):
13572 Rewrite doc-string. Use window-list-1.
13573 (window-in-direction-2, window-in-direction, get-mru-window):
13574 New functions.
13575
d8e4b68b 135762011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13577
13578 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13579 Doc fix (Bug#8713).
13580
135812011-06-08 Chong Yidong <cyd@stupidchicken.com>
13582
13583 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13584
135852011-06-08 Juanma Barranquero <lekktu@gmail.com>
13586
13587 * loadhist.el (unload-feature-special-hooks):
13588 Add `comint-output-filter-functions'.
13589
0de12c52
IK
135902011-06-08 Ivan Kanis <gnu@kanis.fr>
13591
13592 * calendar/appt.el (appt-check): Move some initializations into the let.
13593
f3d1777e
MR
135942011-06-08 Martin Rudalics <rudalics@gmx.at>
13595
13596 * window.el (window-height): Defalias to window-total-height.
13597 (window-width): Defalias to window-body-width.
13598
18af70d0
CY
135992011-06-07 Chong Yidong <cyd@stupidchicken.com>
13600
13601 * image-mode.el (image-toggle-animation): New command.
13602 (image-mode-map): Bind it to RET.
13603 (image-mode): Update message.
13604 (image-toggle-display-image): Avoid a spurious cache flush.
13605 (image-transform-rotation): Doc fix.
13606 (image-transform-properties): Return quickly in the normal case.
13607 (image-animate-loop): Rename from image-animate-max-time.
13608
2b75be67 13609 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13610 (create-animated-image): Remove unnecessary function.
13611 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13612 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13613 (image-animate-timer): Use car-safe.
13614 (image-animate-timeout): Rename argument.
13615
190b47e6
MR
136162011-06-07 Martin Rudalics <rudalics@gmx.at>
13617
13618 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13619 window.c. Rename first argument to ALL-FRAMES.
13620 Rephrase doc-strings.
13621 (get-buffer-window-list): Rewrite using window-list-1.
13622 Rephrase doc-string.
a1511caf
MR
13623 (window-safe-min-height, window-safe-min-width): New constants.
13624 (window-size-ignore, window-min-size, window-min-size-1)
13625 (window-sizable, window-sizable-p, window-size-fixed-1)
13626 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13627 (window-max-delta-1, window-max-delta, window-resizable)
13628 (window-resizable-p, window-total-height, window-total-width)
13629 (window-body-width): New functions.
13630 (window-full-height-p, window-full-width-p): Rewrite using
13631 window-total-size.
13632 (window-body-height): Rewrite using window-body-size.
190b47e6 13633
85cc1f11
MR
136342011-06-06 Martin Rudalics <rudalics@gmx.at>
13635
13636 * window.el (window-right, window-left, window-child)
13637 (window-child-count, window-last-child, window-any-p)
13638 (normalize-live-buffer, normalize-live-frame)
13639 (normalize-any-window, normalize-live-window)
13640 (window-iso-combination-p, window-iso-combined-p)
13641 (window-iso-combinations)
13642 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13643 (windows-with-parameter, window-with-parameter)
13644 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13645 (window-atom-check, window-side-check, window-check):
13646 New functions.
85cc1f11
MR
13647 (ignore-window-parameters, window-sides, window-sides-vertical)
13648 (window-sides-slots): New variables.
13649 (window-size-fixed): Move down in code. Minor doc-string fix.
13650
e7156492
AS
136512011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13652
13653 * comint.el (comint-dynamic-complete-as-filename)
13654 (comint-dynamic-complete-filename): Correctly call
13655 completion-in-region.
13656
7e821d0d
DD
136572011-06-05 Deniz Dogan <deniz@dogan.se>
13658
13659 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13660 in last change.
13661
ac09b8a1
DD
136622011-06-05 Deniz Dogan <deniz@dogan.se>
13663
13664 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13665 (rcirc): Use it to prompt for encryption.
13666
34699b85
RW
136672011-06-05 Roland Winkler <winkler@gnu.org>
13668
13669 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13670 (bibtex-search-entries): New command bound to C-c C-a.
13671 (bibtex-display-entries): New function.
13672
004dedd3
RW
136732011-06-05 Roland Winkler <winkler@gnu.org>
13674
13675 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13676 (bibtex-insert-kill): After yanking insert newline if necessary.
13677 (bibtex-initialize): Call bibtex-string-files-init only once.
13678 (bibtex-mode): Do not call easy-menu-add.
13679 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13680 (bibtex-yank): Set arg properly if nil.
13681
022fe7ce
RW
136822011-06-05 Roland Winkler <winkler@gnu.org>
13683
2b75be67
SM
13684 * textmodes/bibtex.el (bibtex-search-entry-globally):
13685 New variable.
022fe7ce
RW
13686 (bibtex-search-entry): Use it.
13687
b7c3692a
RW
136882011-06-05 Roland Winkler <winkler@gnu.org>
13689
13690 * textmodes/bibtex.el (bibtex-entry-format): New option
13691 sort-fields.
13692 (bibtex-format-entry, bibtex-reformat): Honor this option.
13693 (bibtex-parse-entry): Return fields in proper order.
13694
8eda563d
JB
136952011-06-05 Juanma Barranquero <lekktu@gmail.com>
13696
13697 * doc-view.el (doc-view-remove-if): Move computation of result out
13698 of `dolist' to silence misleading lexical-binding warning.
13699
7dbe3dbc
CY
137002011-06-04 Chong Yidong <cyd@stupidchicken.com>
13701
13702 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13703 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13704
0c33dd17
MA
137052011-06-04 Michael Albinus <michael.albinus@gmx.de>
13706
13707 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13708 "SunOS 5.10".
13709
f8f91c2b
MA
137102011-06-04 Michael Albinus <michael.albinus@gmx.de>
13711
13712 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13713 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13714 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13715 (tramp-parse-putty):
13716 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13717 (tramp-completion-function-alist-ssh)
13718 (tramp-completion-function-alist-telnet)
13719 (tramp-completion-function-alist-su)
13720 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13721 cookie.
13722
13723 * net/tramp-ftp.el:
13724 * net/tramp-sh.el:
13725 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13726 load "tramp.el" `tramp-set-completion-function'.
13727
e17d9003
SM
137282011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13729
13730 * shell.el: Require and use pcomplete.
13731 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13732 (shell-completion-vars): Set pcomplete-default-completion-function.
13733
6c4cab03
DD
137342011-06-04 Deniz Dogan <deniz@dogan.se>
13735
13736 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13737 `memq' (Bug#8799).
13738
ea9fafe0
SM
137392011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13742
b3e945d3
JB
137432011-06-02 Juanma Barranquero <lekktu@gmail.com>
13744
13745 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13746 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13747 * vc/log-view.el (log-view-beginning-of-defun):
13748 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13749 (smerge-refine-forward, smerge-refine-chopup-region):
13750 Silence warning for unused `dotimes' counter variables.
13751
7d520089
SM
137522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * net/tramp.el (tramp-with-progress-reporter): Rename from
13755 with-progress-reporter. Use `declare'.
13756 * net/tramp-smb.el:
13757 * net/tramp-sh.el:
13758 * net/tramp-gvfs.el: Update all uses.
13759
a1c2400f
JB
137602011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13761
13762 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13763 buffer isn't killed before making it current.
13764
2403c841
SM
137652011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13766
13767 Silence various byte-compiler warnings.
13768 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13769 `access-type' and new obsolescence format.
13770 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13771 new format.
13772 (byte-compile-check-variable): New `access-type' argument.
13773 Only warn if the access-type is obsolete.
13774 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13775 (byte-compile-variable-set): Adjust callers.
13776 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13777 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13778 setting it as obsolete.
13779 * simple.el (minibuffer-completing-symbol):
13780 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13781 access as obsolete.
13782 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13783 obsolete yet.
13784 * international/quail.el (quail-mouse-choose-completion): Remove unused
13785 code referring to obsolete var.
13786 (quail-choose-completion-string): Remove.
13787 * server.el (server-clients-with, server-kill-buffer-query-function)
13788 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13789 * proced.el (proced-send-signal):
13790 * emacs-lisp/lisp.el (lisp-complete-symbol):
13791 Replace completion-annotate-function with completion-extra-properties.
13792
2462470b
SM
137932011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13794
fb5b2591
SM
13795 * simple.el (goto-line): Use read-number.
13796 (overriding-map-is-bound): Remove.
13797 (saved-overriding-map): Change default.
13798 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13799 Take the map as argument.
13800 (universal-argument, negative-argument, digit-argument): Use it.
13801 (restore-overriding-map): Adjust.
13802 (do-auto-fill): Use fill-forward-paragraph.
13803 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13804
fd6fa53f
SM
13805 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13806 (minibuffer-inactive-mode): New major mode.
13807 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13808 the *Messages* buffer" hack.
13809 (mouse-popup-menubar): Don't burp if the event is a normal key.
13810
2462470b
SM
13811 Miscellaneous tweaks.
13812 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13813 lexical scoping as in subr.el's dolist and dotimes.
13814 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13815 Silence compiler warning.
13816 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13817 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13818 * international/ccl.el (ccl-compile): Trivial simplification.
13819 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13820 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13821 `printflag' argument.
13822 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13823 Purecopy the whole obsolescence data.
13824
108bf785
LL
138252011-06-01 Leo Liu <sdl.web@gmail.com>
13826
13827 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13828 improve doc-string as suggested by Marco Pessotto
13829 <melmothx@gmail.com>.
13830 (rcirc-print): Fix last change.
13831
30a23501
SM
138322011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 * minibuffer.el (complete-with-action): Return nil for the metadata and
13835 boundaries of non-functional tables.
13836 (completion-table-dynamic): Return nil for the metadata.
13837 (completion-table-with-terminator): Add default case, using
13838 complete-with-action.
13839 (completion--metadata): New function.
13840 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13841 to try and avoid pathological performance problems.
13842 (completion--embedded-envvar-table): Return `category' metadata.
13843
bcd54f83
LMI
138442011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13845
13846 * subr.el (process-alive-p): New tiny convenience function.
13847
e227544d
SM
138482011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13849
13850 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13851 content but also its previous major mode.
13852
e8296fdc
HE
138532011-05-31 Helmut Eller <eller.helmut@gmail.com>
13854
4d61f28d 13855 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13856 *Backtrace* buffer when we exit with C-M-c.
13857
620c53a6
SM
138582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13859
13860 * minibuffer.el: Add metadata method to completion tables.
13861 (completion-category-overrides): New defcustom.
13862 (completion-metadata, completion--field-metadata)
13863 (completion-metadata-get, completion--styles)
13864 (completion--cycle-threshold): New functions.
13865 (completion-try-completion, completion-all-completions):
13866 Add `metadata' argument to choose completion-styles.
13867 (completion--do-completion): Use metadata to choose cycling.
13868 (completion-all-sorted-completions): Use metadata for sorting.
13869 Remove :completion-cycle-penalty which is not needed any more.
13870 (completion--try-word-completion): Add `metadata' argument.
13871 (minibuffer-completion-help): Check metadata for annotation function
13872 and sorting.
13873 (completion-file-name-table): Return `category' metadata.
13874 (minibuffer-completing-file-name): Make obsolete.
13875 * simple.el (minibuffer-completing-symbol): Make obsolete.
13876 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13877 completion-try-completion.
13878
1257e755
SM
138792011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13882
3767e706
LL
138832011-05-30 Leo Liu <sdl.web@gmail.com>
13884
13885 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13886 (rcirc-print): Decode all incoming messages (bug#8744).
13887 (rcirc-decode-coding-system): Allow value nil for automatic coding
13888 system detection.
3767e706 13889
d1a5d56a
GM
138902011-06-01 Glenn Morris <rgm@gnu.org>
13891
13892 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13893
e8cbec34
CY
138942011-05-29 Chong Yidong <cyd@stupidchicken.com>
13895
13896 * image.el (image-animate-max-time): Allow nil and t values.
13897 Default to nil.
13898 (create-animated-image): Doc fix.
13899 (image-animate-start): Remove second arg; just use
13900 image-animate-max-time.
13901 (image-animate-timeout): Doc fix. Args changed.
13902
13903 * image-mode.el (image-toggle-display-image): Ensure that the
13904 image spec passed to the animate timer is the same object as in
58179cce 13905 the buffer's display property (Bug#6981).
e8cbec34
CY
13906 (image-transform-properties): Doc fix.
13907
13908 * image.el (image-animate-max-time): Default to nil.
13909
159daf87
MR
139102011-05-29 Martin Rudalics <rudalics@gmx.at>
13911
13912 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13913 entire buffer list (Bug#8184).
13914
d66c4c7c
CY
139152011-05-29 Chong Yidong <cyd@stupidchicken.com>
13916
13917 * image.el (imagemagick-types-inhibit)
13918 (imagemagick-register-types): Doc fix.
13919
80aec780
DD
139202011-05-29 Deniz Dogan <deniz@dogan.se>
13921
13922 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13923 default.
13924
1dd3c2d9
CY
139252011-05-29 Chong Yidong <cyd@stupidchicken.com>
13926
13927 * select.el: Don't perform clipboard-manager saving in hooks;
13928 leave the hooks empty.
13929
60e56523
LL
139302011-05-28 Leo Liu <sdl.web@gmail.com>
13931
13932 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13933 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13934 (occur-edit-mode): New major mode (Bug#8463).
13935 (occur-after-change-function): New function.
13936 (occur-engine): Give Occur tags a read-only property.
13937
2b1e1a22
KR
139382011-05-28 Kevin Ryde <user42@zip.com.au>
13939
13940 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13941
5d344e88
CY
139422011-05-28 Chong Yidong <cyd@stupidchicken.com>
13943
8e6ca83d
CY
13944 * bindings.el (help-echo): Make the initial non-indicator dash
13945 empty on graphical terminals (Bug#7295).
13946
5d344e88
CY
13947 * files.el (auto-mode-alist): Move config rule after the
13948 in-stripping one (Bug#8547).
13949
bfbbace7
CY
13950 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13951
fbeba6e2
CY
13952 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13953 setting (Bug#8740).
13954
60ed8c72
AA
139552011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13956
4ac619f0
AA
13957 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13958 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13959 (Bug#8539).
60ed8c72 13960
23db196e
CY
139612011-05-28 Chong Yidong <cyd@stupidchicken.com>
13962
13963 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13964
5012f24c
DK
139652011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13966
13967 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13968 (hs-hide-block-at-point, hs-find-block-beginning)
13969 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13970 (Bug#8279).
13971
6a639b16
GM
139722011-05-28 Glenn Morris <rgm@gnu.org>
13973
13974 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13975
d43eaf2c
CY
139762011-05-28 Chong Yidong <cyd@stupidchicken.com>
13977
5199bde1
CY
13978 * help-fns.el (describe-function-1): If the function is a derived
13979 major mode, print the parent mode.
13980
d43eaf2c
CY
13981 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13982 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13983
423428a8
SM
139842011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13985
0ff8e1ba 13986 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13987 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13988 * progmodes/etags.el (tags-completion-at-point-function):
13989 * info-look.el (info-lookup-completions-at-point): Mark as
13990 non-exclusive.
13991 (info-complete): Adjust accordingly.
13992
423428a8
SM
13993 * info-look.el: Convert to lexical-binding and completion-at-point.
13994 (info-lookup-completions-at-point): New function.
13995 (info-complete): Use it and completion-in-region.
13996
b74aa22b
DA
139972011-05-28 Drew Adams <drew.adams@oracle.com>
13998
13999 * isearch.el: Let M-e start with point at the first mismatched char.
14000 (isearch-fail-pos): New function.
14001 (isearch-edit-string): Use it.
14002
66e2e71d
DK
140032011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14004
14005 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14006
b1890b0f 140072011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14008
14009 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14010 traversal functions for avl-trees.
14011 (avl-tree--stack): New struct.
14012 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14013 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14014 (avl-tree--do-enter): Add optional `updatefun' arg.
14015 Change return value.
eb95d01d 14016 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14017 (avl-tree--do-delete): Add `test' and `nilflag' args.
14018 Change return value.
eb95d01d
TC
14019 (avl-tree-member): Add optional `nilflag'
14020 (avl-tree-member-p): New function.
14021 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14022 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14023 (avl-tree-stack-empty-p): New functions.
14024
3769ddcf
TC
14025 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14026 avl-tree--del-balance1 and make it work both ways.
14027 (avl-tree--del-balance2): Remove.
14028 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14029 make it work both ways.
14030 (avl-tree--enter-balance2): Remove.
14031 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14032 New macros.
14033 (avl-tree--mapc, avl-tree-map): Add direction argument.
14034
eb95d01d 140352011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14036
14037 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14038
a9f737ee
CY
140392011-05-27 Chong Yidong <cyd@stupidchicken.com>
14040
14041 * select.el: Support clipboard managers with built-in function
14042 x-clipboard-manager-save, via delete-frame-functions and
14043 kill-emacs-hook.
14044 (xselect-convert-to-targets): Add MULTIPLE target to list.
14045 (xselect-convert-to-save-targets): New function.
14046
c92a1e54
KH
140472011-05-27 Kenichi Handa <handa@m17n.org>
14048
14049 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14050 let-binding rfc2047-encode-encoded-words to nil.
14051
e145f188
GM
140522011-05-27 Glenn Morris <rgm@gnu.org>
14053
5ec8a862
GM
14054 * mail/emacsbug.el: Don't require url-util.
14055
4b29d9fb
GM
14056 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14057
e145f188
GM
14058 * files.el (set-auto-mode):
14059 Also respect mode: entries at the end of the file. (Bug#8586)
14060
7d15102b
GM
140612011-05-26 Glenn Morris <rgm@gnu.org>
14062
98f593b8
GM
14063 * files.el (hack-local-variables-prop-line, hack-local-variables):
14064 Downcase mode names, as seems to be traditional.
27b48e63 14065 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14066
7d15102b
GM
14067 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14068 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14069
51d5b4ec
JD
140702011-05-25 Julien Danjou <julien@danjou.info>
14071
14072 * textmodes/rst.el (rst-define-level-faces): Do not define face
14073 symbol if it is already defined.
14074
91513f63
VB
140752011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14076
14077 * play/5x5.el (5x5-new-game, 5x5-randomize):
14078 Reset 5x5-solver-output to nil when a new grid is cast.
14079 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14080 these debugging traces, as defmacro breaks the compiled code.
14081
4d90d6d0
DK
140822011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14083
14084 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14085
e1b90ef6
LL
140862011-05-24 Leo Liu <sdl.web@gmail.com>
14087
14088 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14089 (vc-bzr-sha1): Adapt.
14090
d8e4b68b 14091 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14092
14093 * bindings.el: Provide sha1 feature.
14094
db0406bb 140952011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14096
14097 * mail/sendmail.el: Require `rfc2047'.
14098 (mail-insert-from-field): Do not perform RFC2047 encoding.
14099 (mail-encode-header): New function.
14100 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14101 buffer to the return value of select-message-coding-system.
14102 Call mail-encode-header.
b8d747b9
KH
14103
14104 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14105
db0406bb 141062011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14107
4d90d6d0
DK
14108 * mail/supercite.el (sc-default-cite-frame):
14109 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14110
eb8a5e9b
GM
141112011-05-24 Glenn Morris <rgm@gnu.org>
14112
f8630703
GM
14113 * progmodes/python.el (brm-menu): Declare.
14114
8831bbed
GM
14115 * emulation/viper.el (viper-set-hooks): Declare.
14116
eb8a5e9b
GM
14117 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14118 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14119 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14120 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14121 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14122 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14123
a2a25d24
SM
141242011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14125
14126 Add an :exit-function for completion-at-point.
14127
14128 * minibuffer.el (completion--done): New fun.
14129 (completion--do-completion): Use it. New arg `expect-exact'.
14130 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14131 since completion--do-completion does it for us now.
14132 (minibuffer-force-complete): Use completion--done and
14133 completion--replace. Handle sole-completion case with more care.
14134 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14135 (completion-extra-properties): New var.
14136 (completion-annotate-function): Make obsolete.
14137 (minibuffer-completion-help): Adjust accordingly.
14138 Use completion-list-insert-choice-function.
14139 (completion-at-point, completion-help-at-point):
14140 Bind completion-extra-properties.
14141 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14142 * simple.el (completion-list-insert-choice-function): New var.
14143 (completion-setup-function): Preserve it.
14144 (choose-completion): Pay attention to it, shuffle the code a bit.
14145 (choose-completion-string): New arg `insert-function'.
14146
14147 * textmodes/bibtex.el: Convert to lexical binding.
14148 (bibtex-mode-map): Use completion-at-point.
14149 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14150 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14151 (bibtex-complete): Define as obsolete alias.
14152 (bibtex-complete-internal): Remove.
14153 (bibtex-format-entry): Remove unused sub-group in regexp.
14154 * shell.el (shell--command-completion-data)
14155 (shell-environment-variable-completion):
14156 * pcomplete.el (pcomplete-completions-at-point):
14157 * comint.el (comint--complete-file-name-data): Use :exit-function
14158 instead of completion-table-with-terminator so it also works for
14159 choose-completion.
14160
e44e373d
SM
141612011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14162
4f91a816
SM
14163 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14164
782fc819
SM
14165 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14166 (bug#8710).
14167
e44e373d
SM
14168 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14169
381987c3
KM
141702011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14171
14172 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14173 customization variable and implement: If non-nil, auto-fill will
14174 be inhibited while on topic's header line.
14175
b776bc70
VB
141762011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14177
14178 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14179 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14180 always have a solution in grid size = 5 cases.
14181 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14182 (5x5-solver-output, 5x5-log-buffer): New vars.
14183 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14184 Make these variables buffer local to achieve 5x5 multi-session-ness.
14185 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14186 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14187 (5x5-solve-suggest): New funs.
14188 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14189 randomize a grid so that we ensure that there is always a solution.
14190 (5x5-make-random-grid): Allow other movement than flipping.
14191
7de88b6e
KR
141922011-05-23 Kevin Ryde <user42@zip.com.au>
14193
14194 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14195 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14196 advice and passes PREDICATE.
14197
b1ef1257
SM
141982011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14199
bbca48fe
SM
14200 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14201 byte-compile-lambda if it's actually a lambda.
14202
b1ef1257
SM
14203 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14204 Fix function quoting. Use backquote better.
14205
92a9cc65
YS
142062011-05-22 Yuanle Song <sylecn@gmail.com>
14207
14208 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14209 matching (Bug#8516).
14210
f0fb8059
JA
142112011-01-22 Jari Aalto <jari.aalto@cante.net>
14212
14213 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14214 different face (Bug#8178).
14215
d5b44c93
CY
142162011-05-22 Chong Yidong <cyd@stupidchicken.com>
14217
14218 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14219 defface (Bug#8144).
14220
79106a44
SM
142212011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14222
9c848d8a
SM
14223 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14224 funcall as well (bug#8712). Warn when performing those conversions.
14225 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14226
79106a44
SM
14227 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14228
88dfa756
GM
142292011-05-22 Glenn Morris <rgm@gnu.org>
14230
14231 * files.el (hack-local-variables-prop-line): Small simplifications.
14232 (hack-local-variables, hack-local-variables-prop-line):
14233 If MODE-ONLY, return the mode, rather than just `t'.
14234
b7cf2c79
SM
142352011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14236
14237 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14238
3f1a8558
GM
142392011-05-21 Glenn Morris <rgm@gnu.org>
14240
7e4ccca3
GM
14241 * files.el (hack-local-variables-prop-line, hack-local-variables):
14242 If only interested in the mode, don't bother doing the other stuff.
14243
637d46ca
GM
14244 * image-mode.el (image-after-revert-hook):
14245 Redraw all frames on which the image is visible. (Bug#8567)
14246
973d955b
GM
14247 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14248
3f1a8558
GM
14249 * wid-edit.el (widget-checklist-match-inline):
14250 Fix 2011-04-19 change. (Bug#8649)
14251
96479927
SM
142522011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14253
1dcf791f
SM
14254 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14255 Also allow singlespace after single-letter capitals followed by a dot.
14256
96479927
SM
14257 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14258 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14259
35fd0881
N
142602011-05-20 Nix <nix@esperi.org.uk>
14261
14262 * files.el (basic-save-buffer-2):
14263 Fix handling of break-hardlink-on-save with non-existent files.
14264
82745640
DD
142652011-05-19 Deniz Dogan <deniz@dogan.se>
14266
14267 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14268 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14269
4a720484
GM
142702011-05-19 Glenn Morris <rgm@gnu.org>
14271
d1f21341
GM
14272 * progmodes/f90.el (f90-type-def-re):
14273 Handle "type, bind(c)". (Bug#8691)
14274
4a720484
GM
14275 * emacs-lisp/autoload.el (batch-update-autoloads):
14276 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14277
2fb0a219
MA
142782011-05-18 Michael Albinus <michael.albinus@gmx.de>
14279
14280 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14281 property for the correct connection in case of multihops.
14282
e565dd37
GM
142832011-05-18 Glenn Morris <rgm@gnu.org>
14284
c2571358 14285 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14286 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14287
e565dd37
GM
14288 Rationalize calendar handling of day and month abbrev-arrays.
14289 * calendar/calendar.el (calendar-customized-p): New function.
14290 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14291 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14292 Add :set function.
14293 (calendar-abbrev-length, calendar-day-abbrev-array)
14294 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14295 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14296 Elements may no longer be nil.
14297 (calendar-day-name, calendar-month-name):
14298 Update for changed nature of abbrev arrays.
14299 * calendar/diary-lib.el (diary-name-pattern):
14300 Update for changed nature of abbrev arrays.
14301 (diary-mark-entries-1): Update calendar-make-alist calls.
14302 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14303 * calendar/cal-html.el (cal-html-day-abbrev-array):
14304 Simply inherit from calendar-day-abbrev-array.
14305
1d99a745
SM
143062011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14307
14308 * progmodes/grep.el (grep-mode): Disable default
14309 compilation-directory-matcher setting (bug#8684).
14310
7c1d9aa0
MA
143112011-05-17 Michael Albinus <michael.albinus@gmx.de>
14312
14313 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14314 instead of "head" and "tail". There were problems with SunOS 5.9,
14315 and it performs better.
14316
3952e9d8
GM
143172011-05-17 Glenn Morris <rgm@gnu.org>
14318
2dd12e7f
GM
14319 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14320
e4157b9c
GM
14321 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14322 Replace obsolete function.
14323
8e249bbd
GM
14324 * shell.el (pcomplete-parse-arguments-function): Declare.
14325
3952e9d8
GM
14326 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14327 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14328 (appt-check): Doc fixes.
14329 (appt-disp-window-function, appt-delete-window-function):
14330 Remove needless special case in custom :type.
14331 (appt-display-count): Default to 0, not nil.
14332 (appt-check): Reset appt-display-count to 0, not nil.
14333
c71a0d48 143342011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14335
c71a0d48
GM
14336 * progmodes/python.el (python-font-lock-keywords):
14337 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14338
31d55be9
SM
143392011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14340
14341 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14342
3bfacb2f
KR
143432011-05-16 Kevin Ryde <user42@zip.com.au>
14344
14345 * info-look.el (makefile-automake-mode): New setups, looking in
14346 automake manual, then makefile-mode.
14347 (makefile-mode): Remove automake manual, have it just in
14348 makefile-automake-mode since there's various things different or
14349 not relevant to plain make.
14350 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14351 believe a hypothetical automake-mode would go to makefile-mode,
14352 not the other way around.
14353
c8e83751
CY
143542011-05-15 Chong Yidong <cyd@stupidchicken.com>
14355
5e9e35cd
CY
14356 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14357 hunk-end tags (Bug#8672).
14358
c8e83751
CY
14359 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14360 vc-annotate-show-diff-revision-at-line (Bug#8671).
14361
50b23e5a
GM
143622011-05-14 Glenn Morris <rgm@gnu.org>
14363
7210a739
GM
14364 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14365 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14366 (change-log-font-lock-keywords): Also handle multiple author lines
14367 with leading tabs. (Bug#8644)
7210a739 14368
4691905a
GM
14369 * calendar/appt.el (appt-check): Rename some local variables.
14370 Some simplification/reordering.
14371
50b23e5a
GM
14372 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14373 (feedmail-sendmail-f-doesnt-sell-me-out)
14374 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14375 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14376 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14377 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14378 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14379 (feedmail-binmail-gnulinuxish-template):
14380 Rename from feedmail-binmail-linuxish-template.
14381 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14382 Use insert-buffer-substring.
14383
215cda7c
BC
143842011-05-14 Bill Carpenter <bill@carpenter.org>
14385
14386 * mail/feedmail.el (feedmail-patch-level): Increase.
14387 (feedmail-debug): New custom group.
14388 (feedmail-confirm-outgoing-timeout)
14389 (feedmail-sendmail-f-doesnt-sell-me-out)
14390 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14391 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14392 (feedmail-sender-line, feedmail-from-line)
14393 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14394 (feedmail-spray-this-address)
215cda7c
BC
14395 (feedmail-spray-address-fiddle-plex-list)
14396 (feedmail-queue-use-send-time-for-date)
14397 (feedmail-queue-use-send-time-for-message-id)
14398 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14399 (feedmail-buffer-eating-function):
14400 Doc fixes.
14401 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14402 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14403 (feedmail-message-action-scroll-down): New functions.
14404 (feedmail-queue-directory, feedmail-queue-draft-directory):
14405 Use expand-file-name.
14406 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14407 Remove C-v help entry.
14408 (feedmail-queue-buffer-file-name): New variable.
14409 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14410 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14411 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14412 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14413 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14414 (feedmail-message-action-toggle-spray)
14415 (feedmail-run-the-queue-no-prompts)
14416 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14417 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14418 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14419 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14420 (feedmail-envelope-deducer, feedmail-fiddle-from)
14421 (feedmail-fiddle-sender, feedmail-default-date-generator)
14422 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14423 (feedmail-fiddle-spray-address)
14424 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14425 (feedmail-fiddle-list-of-fiddle-plexes)
14426 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14427 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14428 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14429 Change default. Doc fix.
14430 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14431 (feedmail-binmail-linuxish-template): New constant.
14432 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14433 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14434 (feedmail-send-it): Add debug call.
14435 Use feedmail-queue-buffer-file-name, and
14436 feedmail-send-it-immediately-wrapper.
14437 (feedmail-message-action-send): Add debug call.
14438 Use feedmail-send-it-immediately-wrapper.
14439 (feedmail-queue-express-to-queue): Add debug call.
14440 Run feedmail-queue-express-hook.
14441 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14442 (feedmail-message-action-help-blat):
14443 Rename from feedmail-queue-send-edit-prompt-help-first.
14444 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14445 Check line-endings. Handle errors better.
14446 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14447 Doc fix. Add debug call.
14448 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14449 Use feedmail-queue-send-edit-prompt-inner.
14450 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14451 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14452 from feedmail-queue-send-edit-prompt.
14453 (feedmail-queue-send-edit-prompt-help)
14454 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14455 (feedmail-tidy-up-slug): Add debug call.
14456 Respect feedmail-queue-slug-suspect-regexp.
14457 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14458 (feedmail-dump-message-to-queue): Add debug call.
14459 Expand queue-directory.
14460 (feedmail-dump-message-to-queue): Change message slightly.
14461 Use feedmail-say-chatter.
14462 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14463 (feedmail-send-it-immediately-wrapper): New function.
14464 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14465 Insert empty string rather than newline. Handle full-frame case.
14466 Use catch/throw. Use feedmail-say-chatter.
14467 (feedmail-fiddle-from): Try mail-host-address.
14468 (feedmail-default-message-id-generator): Doc fix.
14469 Bind system-time-locale. Handle missing end.
14470 (feedmail-fiddle-x-mailer): Add debug call.
14471 Handle feedmail-x-mailer-line being nil.
14472 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14473 Add debug call. Use buffer-substring-no-properties.
14474 (feedmail-say-debug, feedmail-say-chatter): New functions.
14475 (feedmail-find-eoh): Give an explicit error.
14476
42c7e61e
UJ
144772011-05-13 Ulf Jasper <ulf.jasper@web.de>
14478
c2571358 14479 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14480 family from helvetica to sans.
c2571358 14481 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14482 etc/images/newsticker.
14483
c2571358 14484 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14485 family from helvetica to sans.
14486
14487 * net/newst-plainview.el (newsticker-new-item-face)
14488 (newsticker-old-item-face, newsticker-immortal-item-face)
14489 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14490 (newsticker-statistics-face): Change default family from
42c7e61e 14491 helvetica to sans.
c2571358 14492 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14493 etc/images/newsticker.
14494
5d3385a0
JB
14495 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14496 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14497 auto-marking.
14498
8497a297
DV
144992011-05-13 Didier Verna <didier@xemacs.org>
14500
14501 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14502 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14503 TODO entries.
8497a297
DV
14504 (lisp-lambda-list-keyword-parameter-indentation)
14505 (lisp-lambda-list-keyword-parameter-alignment)
14506 (lisp-lambda-list-keyword-alignment): New customizable user options.
14507 (lisp-indent-defun-method): Improve docstring.
14508 (extended-loop-p): Fix comment.
14509 (lisp-indent-lambda-list-keywords-regexp): New variable.
14510 (lisp-indent-lambda-list): New function.
14511 (lisp-indent-259): Use it.
14512 (lisp-indent-defmethod): Support for more than one
14513 method qualifier and properly indent methods lambda-lists.
14514 (defgeneric): Provide a missing common-lisp-indent-function property.
14515
f278f87f
SM
145162011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14517
14518 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14519 bounds for the empty string (bug#8667).
14520
5233edd7
GM
145212011-05-13 Glenn Morris <rgm@gnu.org>
14522
5237a44f
GM
14523 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14524
8340026c 14525 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14526 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14527
5233edd7 14528 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14529 (appt-time-msg-list): Doc fix.
a5464014 14530 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14531
92d10796
AS
145322011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14533
14534 * progmodes/ld-script.el (ld-script-keywords)
14535 (ld-script-builtins): Update keywords list.
14536
914a0ae1
SM
145372011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14538
c89be45f
SM
14539 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14540
914a0ae1
SM
14541 * shell.el (shell-completion-vars): New function.
14542 (shell-mode):
14543 * simple.el (read-shell-command): Use it.
14544 (blink-matching-open): No need for " [...]" in minibuffer-message.
14545
98dc3df3
GM
145462011-05-12 Glenn Morris <rgm@gnu.org>
14547
14548 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14549 (appt-check): Simplify.
14550
d2fc7e3d 145512011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14552
4d61f28d 14553 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14554 literal "/dev/null".
14555
d2fc7e3d 145562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14557
14558 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14559 Fix typo.
14560
d2fc7e3d 145612011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14562
3f254caa
SM
14563 * progmodes/which-func.el (which-function):
14564 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14565 which might not be defined (Bug#8260).
14566
d45885f7
GM
145672011-05-12 Glenn Morris <rgm@gnu.org>
14568
14569 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14570 Let byte-compile-initial-macro-environment always take precedence.
14571
488086f4
SM
145722011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14573
14574 * net/rcirc.el: Add support for SSL/TLS connections.
14575 (rcirc-server-alist): New field `encryption'.
14576 (rcirc): Check `encryption' settings.
14577 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14578 Merge make-local-variable into `set'.
14579 (rcirc--connection-open-p): New function.
14580 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14581 the process is not a network process (e.g. running gnutls-cli).
14582 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14583 Make rcirc-(en|de)code-coding-system local here.
14584 (rcirc-mode): Merge make-local-variable into `set'.
14585 (rcirc-parent-buffer): Make permanent buffer-local.
14586 (rcirc-multiline-minor-mode): Don't do it here.
14587 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14588 there's no server buffer.
14589
7d3b9d44
GM
145902011-05-11 Glenn Morris <rgm@gnu.org>
14591
f64049c6
GM
14592 * newcomment.el (comment-kill): Prefix "unused" local.
14593
93c9df73
GM
14594 * term/w32console.el (get-screen-color): Declare.
14595
7d3b9d44
GM
14596 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14597 Handle symbol elements of byte-compile-initial-macro-environment.
14598
9e2dd53f
LL
145992011-05-10 Leo Liu <sdl.web@gmail.com>
14600
488086f4
SM
14601 * bookmark.el (bookmark-bmenu-mode-map):
14602 Bind bookmark-bmenu-search to `/'.
8b340240 14603
9e2dd53f 14604 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14605 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14606 (Footnote-unicode): New function.
14607 (footnote-style-alist): Add unicode style to the list.
14608 (footnote-style): Doc fix.
9e2dd53f 14609
79b70037
GM
146102011-05-10 Jim Meyering <meyering@redhat.com>
14611
14612 Fix doubled-word typos.
14613 * international/quail.el (quail-insert-kbd-layout): and and -> and
14614 * kermit.el: and and -> and
14615 * net/ldap.el (ldap-search-internal): to to -> to
14616 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14617 * progmodes/js.el (js-mode): and and -> and
14618 * textmodes/artist.el (artist-move-to-xy): at at -> at
14619 (artist-draw-region-trim-line-endings): if if -> if
14620 And Safetyc -> Safety.
14621 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14622
b8f82dc1 146232011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14624 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14625
14626 * files.el (hack-one-local-variable-eval-safep):
14627 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14628
4f99f44b
GM
146292011-05-10 Glenn Morris <rgm@gnu.org>
14630
14631 * calendar/diary-lib.el (diary-list-entries-hook)
14632 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14633 (diary-nongregorian-marking-hook, diary-list-entries)
14634 (diary-include-other-diary-files, diary-mark-entries)
14635 (diary-mark-included-diary-files): Doc fixes.
14636
84f29e6b
JB
146372011-05-09 Juanma Barranquero <lekktu@gmail.com>
14638
14639 * misc.el: Require tabulated-list.el during compilation.
14640
9bedd73a
CY
146412011-05-09 Chong Yidong <cyd@stupidchicken.com>
14642
488086f4
SM
14643 * progmodes/compile.el (compilation-start):
14644 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14645 (compilation-filter-hook): Doc fix.
14646
797c735c
DD
146472011-05-09 Deniz Dogan <deniz@dogan.se>
14648
14649 * wdired.el: Remove outdated installation comment. Fix usage
14650 comment.
14651
5f4b1dfe
JB
146522011-05-09 Juanma Barranquero <lekktu@gmail.com>
14653
14654 * misc.el: Implement new command `list-dynamic-libraries'.
14655 (list-dynamic-libraries--loaded-only-p): New variable.
14656 (list-dynamic-libraries--refresh): New function.
14657 (list-dynamic-libraries): New command.
14658
4c44026c
CY
146592011-05-09 Chong Yidong <cyd@stupidchicken.com>
14660
488086f4
SM
14661 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14662 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14663 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14664 higher priority to avoid clobbering by gnu.
14665
027f966d
CY
146662011-05-08 Chong Yidong <cyd@stupidchicken.com>
14667
14668 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14669 if the face has existing theme settings (Bug#8454).
14670
085f5d7d
CY
146712011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14672
488086f4
SM
14673 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14674 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14675
2a86a00c
RS
14676 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14677 special file names `.' and `..' (Bug#8259).
14678
d9c54a06
CY
146792011-05-08 Chong Yidong <cyd@stupidchicken.com>
14680
488086f4
SM
14681 * progmodes/grep.el (grep-mode-font-lock-keywords):
14682 Remove buffer-changing entries.
d9c54a06
CY
14683 (grep-filter): New function.
14684 (grep-mode): Add it to compilation-filter-hook.
14685
14686 * progmodes/compile.el (compilation-filter-hook)
14687 (compilation-filter-start): New defvars.
14688 (compilation-filter): Call compilation-filter-hook prior to
14689 updating the process mark.
14690
c4662635
SM
146912011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14692
14693 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14694
b0512a1d
EZ
146952011-05-07 Eli Zaretskii <eliz@gnu.org>
14696
605c9376
EZ
14697 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14698 mailclient-send-it even if window-system is nil. (Bug#8595)
14699
c4662635
SM
14700 * term/w32console.el (terminal-init-w32console):
14701 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14702 background-mode. (Bug#8597)
14703
d1dc2cc2
SM
147042011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14705
14706 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14707 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14708 New functions.
14709 (defgeneric, eieio--defmethod): Use them.
14710 (eieio-defgeneric): Remove.
14711 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14712
915d1300
GM
147132011-05-07 Glenn Morris <rgm@gnu.org>
14714
a3961c3e
GM
14715 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14716 Use let rather than let*.
14717 (timeclock-find-discrep): Remove unused local.
14718
314347b9
GM
14719 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14720
915d1300
GM
14721 * calendar/appt.el (appt-time-msg-list): Doc fix.
14722
275b59b0
NF
147232011-05-06 Noah Friedman <friedman@splode.com>
14724
14725 * apropos.el (apropos-print-doc): Only use
14726 emacs-lisp-docstring-fill-column when it is bound to an integer,
14727 per that variable's documentation.
14728
6c19f744
SM
147292011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14730
14731 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14732 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14733
60f884b2
GM
147342011-05-06 Glenn Morris <rgm@gnu.org>
14735
5006e634
GM
14736 * calendar/appt.el (appt-message-warning-time): Doc fix.
14737 (appt-warning-time-regexp): New option.
14738 (appt-make-list): Respect appt-message-warning-time.
14739
548d0a63
GM
14740 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14741 New options.
14742 (diary-add-to-list): Strip comments from the displayed string.
14743 (diary-mode): Set comment-start and comment-end.
14744
60f884b2
GM
14745 * vc/diff-mode.el (smerge-refine-subst): Declare.
14746 (diff-refine-hunk): Don't require smerge-mode when compiling.
14747
989681bb
JB
147482011-05-06 Juanma Barranquero <lekktu@gmail.com>
14749
14750 * simple.el (list-processes): Return nil as the docstring says.
14751
a6bc05e1
MA
147522011-05-05 Michael Albinus <michael.albinus@gmx.de>
14753
14754 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14755 to "".
14756 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14757 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14758 determining of binary transfer. (Bug#7383)
14759
23c22e9a
MA
147602011-05-05 Michael Albinus <michael.albinus@gmx.de>
14761
c4662635
SM
14762 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14763 Fix port computation bug. (Bug#8618)
23c22e9a 14764
0bff894f
GM
147652011-05-05 Glenn Morris <rgm@gnu.org>
14766
b8296902
GM
14767 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14768
1f522ce8
GM
14769 * simple.el (shell-dynamic-complete-functions)
14770 (comint-dynamic-complete-functions): Declare.
14771
cf5bee67
GM
14772 * net/network-stream.el (gnutls-negotiate):
14773 * simple.el (tabulated-list-print): Fix declarations.
14774
14775 * progmodes/gud.el (syntax-symbol, syntax-point):
14776 Remove unnecessary and incorrect declarations.
14777
0bff894f
GM
14778 * emacs-lisp/check-declare.el (check-declare-scan):
14779 Handle byte-compile-initial-macro-environment in bytecomp.el
14780
9869b3ae
SM
147812011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14782
14783 Fix earlier half-done eieio-defmethod change (bug#8338).
14784 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14785 Streamline and change calling convention.
14786 (defmethod): Adjust accordingly and simplify.
14787 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14788 new eieio--defmethod.
14789 (slot-boundp): Minor CSE simplification.
14790
9c1d5ac5
MZ
147912011-05-05 Milan Zamazal <pdm@zamazal.org>
14792
14793 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14794 (glasses-make-readable): Use glasses-separate-capital-groups.
14795
455c834e
JB
147962011-05-05 Juanma Barranquero <lekktu@gmail.com>
14797
14798 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14799 (warning-series): Doc fix.
14800 (display-warning): Don't try to create the buffer if we just found it.
14801
9ed7c8cb
CY
148022011-05-04 Chong Yidong <cyd@stupidchicken.com>
14803
14804 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14805 (autoload-find-generated-file): New function.
14806 (generate-file-autoloads): Bind generated-autoload-file to
14807 buffer-file-name.
9869b3ae
SM
14808 (update-file-autoloads, update-directory-autoloads):
14809 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14810 output file (Bug#7989).
14811 (batch-update-autoloads): Doc fix.
14812
0898ca10
JB
148132011-05-04 Juanma Barranquero <lekktu@gmail.com>
14814
14815 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14816
31dfb76c
GM
148172011-05-04 Glenn Morris <rgm@gnu.org>
14818
f330b642
GM
14819 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14820 function, so it follows changes in calendar-date-style.
14821 (diary-fancy-date-matcher): New function.
14822 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14823 (diary-fancy-font-lock-fontify-region-function):
14824 Use diary-fancy-date-pattern as a function.
14825
31dfb76c
GM
14826 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14827 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14828
48e79d6a
TZ
148292011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14830
14831 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14832 instead of positional arguments. Allow :keylist and :crlfiles
14833 arguments.
14834 (open-gnutls-stream): Call it.
14835
14836 * net/network-stream.el (network-stream-open-starttls): Adjust to
14837 call `gnutls-negotiate' with :process and :hostname arguments.
14838
dd5a5ee0
SM
148392011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14840
ef80fc09
SM
14841 * minibuffer.el (completion--message): New function.
14842 (completion--do-completion, minibuffer-complete)
14843 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14844 (completion--do-completion): Don't ignore completion-auto-help when in
14845 icomplete-mode.
14846
dd5a5ee0
SM
14847 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14848 internal encoding (e.g. tibetan zero is not whitespace).
14849 (global-whitespace-mode): Prefer save-current-buffer.
14850 (whitespace-trailing-regexp): Remove useless save-match-data.
14851 (whitespace-empty-at-bob-regexp): Minor simplification.
14852
b7d22a83
CY
148532011-05-03 Chong Yidong <cyd@stupidchicken.com>
14854
14855 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14856
5192af46
AM
148572011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14858
14859 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14860 Use `concat' to create string for insertion.
5192af46 14861
5767d190
SM
148622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14863
14864 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14865 Avoid open-line which runs post-self-insert-hook.
14866 (bibtex-fill-entry): Remove unused `end' var.
14867
bf242939
AM
148682011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14869
5767d190
SM
14870 * textmodes/ispell.el (ispell-add-per-file-word-list):
14871 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14872
25666126
LL
148732011-05-03 Leo Liu <sdl.web@gmail.com>
14874
14875 * isearch.el (isearch-yank-pop): New command.
5767d190 14876 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14877 (isearch-forward): Mention it.
14878
52d3c2d0
SM
148792011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14880
1bcace58
SM
14881 * simple.el (minibuffer-complete-shell-command): Remove.
14882 (minibuffer-local-shell-command-map): Use completion-at-point.
14883 (read-shell-command): Setup completion vars here instead.
14884 (read-expression-map): Bind TAB to symbol completion.
14885
52d3c2d0
SM
14886 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14887 error directly rather via storing it into `results'.
14888
35813471
LL
148892011-05-02 Leo Liu <sdl.web@gmail.com>
14890
14891 * vc/diff.el: Fix description.
14892
e793a940
LMI
148932011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14894
14895 * server.el (server-eval-at): New function.
14896
8de66e05
LMI
148972011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14898
14899 * net/network-stream.el (open-network-stream): Take a :nowait
14900 parameter and pass it on to `make-network-process'.
14901 (network-stream-open-plain): Ditto.
14902
dcb79f20
AS
149032011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14904
14905 * faces.el (face-spec-set-match-display): Don't match toolkit
14906 options on terminal frames.
14907
14a7fbd8
SM
149082011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14909
7eabc1be
SM
14910 * progmodes/pascal.el: Use lexical binding.
14911 (pascal-mode-map): Remove author preferences.
14912
14a7fbd8
SM
14913 * pcomplete.el (pcomplete-std-complete): Don't abuse
14914 completion-at-point.
14915
50f84510
JB
149162011-04-28 Juanma Barranquero <lekktu@gmail.com>
14917
6e087a44
JB
14918 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14919 removing code that has been dead since 1991 or so.
14920
50f84510
JB
14921 * startup.el (command-line): When warning about "_emacs", use a
14922 delayed warning to allow the user to filter it out.
14923
0ba690bd
DD
149242011-04-28 Deniz Dogan <deniz@dogan.se>
14925
14926 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14927 user has not joined.
14928
08abfaad
SM
149292011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14930
14931 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14932 aren't any completions at point.
14933
638f053a
JB
149342011-04-28 Juanma Barranquero <lekktu@gmail.com>
14935
14936 * subr.el (display-delayed-warnings): New function.
14937 (delayed-warnings-hook): New variable.
14938
8fff8daa
SM
149392011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14940
08abfaad
SM
14941 * minibuffer.el (completion-at-point, completion-help-at-point):
14942 Don't presume that a given completion-at-point-function will always
14943 use the same calling convention.
14944
8fff8daa
SM
14945 * pcomplete.el (pcomplete-completions-at-point):
14946 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14947 pcomplete-seen is non-nil.
14948 (pcomplete-comint-setup): Also recognize the new comint/shell
14949 completion functions.
14950 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14951 pcomplete-seen is non-nil.
14952
841a1577 149532011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14954
841a1577 14955 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14956 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14957 the first character in the entry. This allows for code to add its
211ec907
UJ
14958 own uid to the entry.
14959 (icalendar--convert-float-to-ical): Add export of
14960 `diary-float'-entries save for those with the optional DAY
14961 argument.
14962
2a782793
DC
149632011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14964
14965 * subr.el (shell-quote-argument): Use alternate escaping strategy
14966 when we spot a variable reference in a string.
14967
0438ce91
DC
149682011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14969
14970 * cus-start.el (all): Define customization for debug-on-event.
14971
841a1577 149722011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14973
14974 * subr.el (shell-quote-argument): Escape correctly under Windows.
14975
d090ed6c
SM
149762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14977
14978 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14979
bfd31217
MA
149802011-04-25 Michael Albinus <michael.albinus@gmx.de>
14981
d090ed6c
SM
14982 * net/tramp.el (tramp-process-actions): Add POS argument.
14983 Delete region between POS and (pos).
bfd31217 14984
d090ed6c
SM
14985 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14986 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14987 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14988
14989 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14990 position in `tramp-process-actions' call.
14991
14992 * net/trampver.el: Update release number.
14993
e92f3bd3
SM
149942011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14995
850256b5
SM
14996 * custom.el (defcustom): Obey lexical-binding.
14997
e92f3bd3
SM
14998 Fix octave-inf completion problems reported by Alexander Klimov.
14999 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15000 Inherit from octave-mode-syntax-table.
15001 (inferior-octave-mode): Set info-lookup-mode.
15002 (inferior-octave-completion-at-point): New function.
15003 (inferior-octave-complete): Use it and completion-in-region.
15004 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15005 comint-filename-completion.
15006 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15007 symbol elements which shouldn't be word elements.
15008 (octave-font-lock-keywords, octave-beginning-of-defun)
15009 (octave-function-header-regexp): Adjust regexps accordingly.
15010 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15011
cd22b309
JB
150122011-04-25 Juanma Barranquero <lekktu@gmail.com>
15013
15014 * net/gnutls.el (gnutls-errorp): Declare before first use.
15015
8b492194
TZ
150162011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15017
15018 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15019 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15020 default trustfile exists before going to use it. Add missing
5a5fa834 15021 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15022 Reported by Claudio Bley <claudio.bley@gmail.com>.
15023 (open-gnutls-stream): Add usage example.
15024
15025 * net/network-stream.el (network-stream-open-starttls): Give host
15026 parameter to `gnutls-negotiate'.
15027 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15028 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15029
841a1577 150302011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15031
cd22b309
JB
15032 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15033 Use correct match group (bug#8438).
05842630 15034
3ba7869c
CY
150352011-04-24 Chong Yidong <cyd@stupidchicken.com>
15036
512e3ae1
CY
15037 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15038 (package-menu--generate): New arg specifying packages to show.
15039 (package-menu-refresh, package-menu-execute, list-packages):
15040 Callers changed.
15041 (package-show-package-list): New function, replacing deleted
15042 package--list-packages (renamed because it is non-internal).
15043
15044 * finder.el (finder-list-matches): Use package-show-package-list
15045 instead of deleted package--list-packages.
15046
e92f3bd3
SM
15047 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15048 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15049 (vc-annotate-mode-map): Bind it to RET.
15050
7031be6d
UR
150512011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15052
15053 * progmodes/etags.el (next-file): Don't use set-buffer to change
15054 buffers (Bug#8478).
15055
4ef177aa
CY
150562011-04-24 Chong Yidong <cyd@stupidchicken.com>
15057
c8d173eb
CY
15058 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15059
4ef177aa
CY
15060 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15061 (apropos-accumulator): Doc fix.
15062 (apropos-function, apropos-macro, apropos-command)
15063 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15064 (apropos-plist): Add face property.
15065 (apropos-symbols-internal): Fix indentation.
15066 (apropos-print): Simplify help, and recognize apropos-multi-type.
15067 (apropos-print-doc): Use button-type-get to extract the button's
15068 face property. Fill docstring (Bug#8352).
15069
4ffd0d6b 150702011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15071
15072 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15073
c6c32125 15074 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15075 (mpuz-mode-map): Use mapc.
c6c32125
JB
15076 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15077 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15078 Fix typos in docstrings.
15079
58d468b4
JB
15080 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15081 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15082
6470c3c6
JB
15083 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15084
4ffd0d6b 150852011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15086
15087 * minibuffer.el (completion--do-completion): Avoid the "Next char
15088 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15089
3ad8bad0
CY
15090 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15091 mouse-2 into unread-command-events, it is interpreted correctly.
15092
71d73c9c 15093 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15094 (image-toggle-display): Doc fix.
71d73c9c 15095
841a1577 150962011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15097
4ffd0d6b
GM
15098 * textmodes/page.el (what-page): Use line-number-at-pos to
15099 calculate line number (Bug#6825).
6e1dbaa9 15100
c2fb1b60
JB
151012011-04-22 Juanma Barranquero <lekktu@gmail.com>
15102
15103 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15104 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15105 Pass argument NO-DEFAULT to `find-tag-interactive'.
15106
e02f48d7
JB
151072011-04-22 Juanma Barranquero <lekktu@gmail.com>
15108
15109 Lexical-binding cleanup.
15110
15111 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15112 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15113 * progmodes/ada-prj.el (ada-prj-initialize-values)
15114 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15115 (ada-prj-show-value):
15116 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15117 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15118 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15119 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15120 * progmodes/bug-reference.el (bug-reference-push-button):
15121 * progmodes/fortran.el (fortran-line-length):
15122 * progmodes/glasses.el (glasses-change):
15123 * progmodes/octave-mod.el (octave-fill-paragraph):
15124 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15125 (python-pdbtrack-grub-for-buffer, python-sentinel):
15126 * progmodes/sql.el (sql-save-connection):
15127 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15128 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15129 Mark unused parameters.
15130
15131 * progmodes/compile.el (compilation--flush-directory-cache)
15132 (compilation--flush-parse, compile-internal): Mark unused parameters.
15133 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15134 (compilation-next-error-function): Remove unused variable `timestamp'.
15135
15136 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15137 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15138
15139 * progmodes/dcl-mode.el (dcl-end-of-command):
15140 Remove unused variable `start'.
15141 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15142 (dcl-option-value-basic, dcl-option-value-offset)
15143 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15144 Mark unused parameters.
15145 (dcl-save-local-variable): Remove unused variable `val'.
15146 (mode): Declare.
15147
15148 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15149 Mark unused parameters.
15150 (delphi-ignore-changes): Move before first use.
15151 (delphi-charset-token-at): Remove unused variable `start'.
15152 (delphi-else-start): Remove unused variable `if-count'.
15153 (delphi-comment-block-start, delphi-comment-block-end):
15154 Remove unused variable `kind'.
15155 (delphi-indent-line): Remove unused variable `new-point'.
15156
15157 * progmodes/ebrowse.el (ebrowse-files-list)
15158 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15159 Mark unused parameters. Don't quote `lambda'.
15160 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15161 Don't quote `lambda'.
15162 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15163 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15164 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15165 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15166 Use `ignore-errors'.
15167 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15168 (ebrowse-view/find-file-and-search-pattern)
15169 (ebrowse-view/find-member-declaration/definition):
15170 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15171 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15172 Rename parameter PREFIX-ARG to PREFIX.
15173 (ebrowse-tags-read-name): Remove unused variables `start' and
15174 `member-info'.
15175 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15176 to `tags-file'.
15177
15178 * progmodes/etags.el (local-find-tag-hook): Declare.
15179 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15180 Mark unused parameters.
15181
15182 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15183 (executable-interpret): Mark unused parameter.
15184
15185 * progmodes/flymake.el (flymake-process-sentinel)
15186 (flymake-after-change-function)
15187 (flymake-create-temp-with-folder-structure)
15188 (flymake-get-include-dirs-dot): Mark unused parameters.
15189 (flymake-safe-delete-directory): Remove unused variable `err'.
15190
15191 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15192 (speedbar-timer-fn, speedbar-line-text)
15193 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15194 (speedbar-center-buffer-smartly): Declare functions.
15195 (gdb-find-watch-expression): Remove unused variable `array'.
15196 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15197 (gdb-starting): Mark unused parameters.
15198 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15199 (gdb-table-string): Remove unused variable `res'.
15200 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15201 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15202 (gdb-display-buffer): Remove unused variable `cur-size'.
15203
15204 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15205 allow lexical-binding compilation.
15206 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15207 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15208 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15209 Mark unused parameters.
15210 (gud-gdb-marker-filter): Remove unused variable `match'.
15211 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15212 lambda expressions and funcall them, instead of using `fset'.
15213
15214 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15215 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15216
15217 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15218 variable `header-beg'; use `let'.
15219
15220 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15221 `restart', `last-sexp' and `at-do'.
15222
15223 * progmodes/js.el (js--debug): Mark unused parameter.
15224 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15225 (js--splice-into-items): Remove unused variable `item'.
15226 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15227
15228 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15229 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15230 (makefile-complete): Remove unused variable `try'.
15231 (makefile-fill-paragraph, makefile-match-function-end):
15232 Mark unused parameters.
15233
15234 * progmodes/octave-inf.el (inferior-octave-complete):
15235 Remove unused variable `proc'.
15236 (inferior-octave-output-digest): Mark unused parameter.
15237
15238 * progmodes/perl-mode.el (perl-calculate-indent):
15239 Remove unused variable `err'.
15240
15241 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15242 (prolog-indent-line): Mark unused parameters.
15243 (prolog-indent-line): Remove unused variable `beg'.
15244
15245 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15246 (reporter-dont-compact-list): Declare.
15247
15248 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15249 Remove unused variable `char'.
15250 (sh-debug): Mark unused parameter.
15251 (sh-get-indent-info): Remove unused variable `start'.
15252 (sh-calculate-indent): Remove unused variable `var'.
15253
15254 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15255 (simula-electric-keyword): Remove unused variable `null'.
15256 (simula-search-backward, simula-search-forward): Remove unused
15257 variables `begin' and `end'.
15258
15259 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15260 Remove unused variable `pos'.
15261 (vera-electric-tab, vera-comment-uncomment-region):
15262 Mark unused parameters.
15263 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15264
7ede3b65
CY
152652011-04-22 Chong Yidong <cyd@stupidchicken.com>
15266
15267 * emacs-lisp/package.el (package--builtins, package-alist)
15268 (package-load-descriptor, package-built-in-p, package-activate)
15269 (define-package, package-installed-p)
15270 (package-compute-transaction, package-buffer-info)
15271 (package--push): Doc fix. Distinguish more clearly between
15272 version strings and version lists.
15273
121656e9
JB
152742011-04-21 Juanma Barranquero <lekktu@gmail.com>
15275
15276 Lexical-binding cleanup.
15277
15278 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15279 (5x5-make-mutate-best):
15280 * play/fortune.el (fortune-in-buffer):
15281 * play/gomoku.el (gomoku-init-display):
15282 * play/solitaire.el (solitaire, solitaire-do-check):
15283 * play/tetris.el (tetris-default-update-speed-function):
15284 Mark unused parameters.
15285
15286 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15287 (bubbles--shift): Remove unused variable `char-org'.
15288 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15289 (bubbles--show-images): Remove unused variable `char'.
15290
15291 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15292 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15293 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15294 (decipher-analyze-buffer): Use ?\s.
15295 (decipher-make-checkpoint): Remove unused variable `mapping'.
15296
15297 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15298
15299 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15300 Remove unused variable `result'; use `let'.
15301
15302 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15303 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15304 (gametree-children-shown-p, gametree-compute-reduced-score):
15305 Use `ignore-errors'.
15306
15307 * play/handwrite.el (ps-lpr-switches): Declare.
15308 (handwrite): Remove unused variables `pmin' and `lastp'.
15309
15310 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15311
15312 * play/landmark.el (landmark-init-display)
15313 (landmark-update-naught-weights): Mark unused parameters.
15314 (landmark-y): Remove unused variable `noise'. Simplify.
15315 (landmark-human-plays): Remove unused variable `score'.
15316
15317 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15318 (mpuz-try-proposal): Remove unused variable `game'.
15319
15320 * play/zone.el (life-patterns): Declare.
15321
80f499c7
JB
153222011-04-20 Juanma Barranquero <lekktu@gmail.com>
15323
15324 * vc/vc.el (ediff-vc-internal): Declare function.
15325
024ff170
SM
153262011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15327
c0a193ea
SM
15328 * shell.el: Use lexical-binding and std completion UI.
15329 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15330 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15331 comint-preoutput-filter-functions rather than on
15332 comint-output-filter-functions.
15333 (shell-command-completion, shell--command-completion-data)
15334 (shell-filename-completion, shell-environment-variable-completion)
15335 (shell-c-a-p-replace-by-expanded-directory): New functions.
15336 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15337 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15338 (shell-dynamic-complete-environment-variable): Use them.
15339 (shell-dynamic-complete-as-environment-variable)
15340 (shell-dynamic-complete-as-command): Remove.
15341 (shell-match-partial-variable): Match past point.
15342 * comint.el: Clean up use of completion-at-point-functions.
15343 (comint-completion-at-point): New function.
15344 (comint-mode): Use it completion-at-point-functions.
15345 (comint-dynamic-complete): Make it obsolete.
15346 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15347 (comint-c-a-p-replace-by-expanded-history): New function.
15348 (comint-dynamic-complete-functions)
15349 (comint-replace-by-expanded-history): Use it.
15350 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15351 termination strings. Try harder to avoid second try-completion.
15352 (completion-in-region-mode-map): Disable bindings that don't work yet.
15353
2dbaa080
SM
15354 * comint.el: Use lexical-binding. Require CL.
15355 (comint-dynamic-complete-functions): Use comint-filename-completion.
15356 (comint-completion-addsuffix): Tweak custom type.
15357 (comint-filename-completion, comint--common-suffix)
15358 (comint--common-quoted-suffix, comint--table-subvert)
15359 (comint--complete-file-name-data): New functions.
15360 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15361 (comint-dynamic-list-filename-completions): Use them.
15362 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15363
2dbaa080
SM
15364 * minibuffer.el (completion-in-region-mode):
15365 Keep completion-in-region-mode--predicate global.
15366 (completion-in-region--postch):
15367 Assume completion-in-region-mode--predicate is not null.
15368
c79a6f38
SM
15369 * progmodes/flymake.el (flymake-start-syntax-check-process):
15370 Obey `dir'. Simplify.
15371
024ff170
SM
15372 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15373 we're in VC after all.
15374
1c6c854e
CS
153752011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15376
15377 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15378 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15379 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15380
bed7f140
SM
153812011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15382
332e62ab
SM
15383 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15384 add sanity check.
15385
bed7f140
SM
15386 * obsolete/erc-hecomplete.el: Make obsolete.
15387 * obsolete/: Standardize obsolescence info in the header.
15388
f195c582
GM
153892011-04-20 Glenn Morris <rgm@gnu.org>
15390
15391 * calendar/solar.el (solar-horizontal-coordinates):
15392 Use the longitude argument rather than `calendar-longitude'.
15393 (solar-date-next-longitude): Remove unused locals.
15394
cb79b8c0
VJL
153952011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15396
15397 * whitespace.el: New version 13.2.1.
15398
153992011-04-20 felix <EmacsWiki> (tiny change)
15400
d8e4b68b 15401 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15402 switching between major modes on a file.
15403
602ea69d
SM
154042011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15405
15406 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15407 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15408 multi-line comments as well.
15409
06b60517
JB
154102011-04-19 Juanma Barranquero <lekktu@gmail.com>
15411
15412 Lexical-binding cleanup.
15413
15414 * arc-mode.el (archive-mode-revert):
15415 * cmuscheme.el (scheme-interactively-start-process):
15416 * custom.el (custom-initialize-delay):
15417 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15418 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15419 * emacs-lock.el (emacs-lock-clear-sentinel):
15420 * ezimage.el (defezimage):
15421 * follow.el (follow-avoid-tail-recenter):
15422 * fringe.el (set-fringe-mode-1):
15423 * generic-x.el (bat-generic-mode-compile):
15424 * help-mode.el (help-info-variable, help-do-xref)
15425 (help-mode-revert-buffer):
15426 * help.el (view-emacs-todo):
15427 * iswitchb.el (iswitchb-completion-help):
15428 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15429 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15430 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15431 * locate.el (locate-update):
15432 * longlines.el (longlines-encode-region)
15433 (longlines-after-change-function):
15434 * outline.el (outline-isearch-open-invisible):
15435 * ps-def.el (declare-function, charset-dimension, char-width)
15436 (encode-char):
15437 * ps-mule.el (ps-mule-plot-string):
15438 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15439 (recentf-edit-list-select, recentf-edit-list-validate)
15440 (recentf-open-files-action):
15441 * rect.el (delete-whitespace-rectangle-line)
15442 (rectangle-number-line-callback):
15443 * register.el (window-configuration-to-register)
15444 (frame-configuration-to-register):
15445 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15446 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15447 (xselect-convert-to-targets, xselect-convert-to-delete)
15448 (xselect-convert-to-filename, xselect-convert-to-charpos)
15449 (xselect-convert-to-lineno, xselect-convert-to-colno)
15450 (xselect-convert-to-os, xselect-convert-to-host)
15451 (xselect-convert-to-user, xselect-convert-to-class)
15452 (xselect-convert-to-name, xselect-convert-to-integer)
15453 (xselect-convert-to-atom, xselect-convert-to-identity):
15454 * subr.el (declare, ignore, process-kill-without-query)
15455 (text-clone-maintain):
15456 * terminal.el (te-get-char, te-tic-sentinel):
15457 * tool-bar.el (tool-bar-make-keymap):
15458 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15459 * type-break.el (type-break-mode, type-break-noninteractive-query):
15460 * view.el (View-back-to-mark):
15461 * wid-browse.el (widget-browse-action, widget-browse-widget)
15462 (widget-browse-widgets, widget-browse-sexp):
15463 * widget.el (define-widget-keywords):
15464 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15465 Mark unused parameters.
15466
15467 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15468 (align-areas): Remove unused variable `look'.
15469 (align-region): Remove unused variables `real-end' and `pos-list'.
15470
15471 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15472
15473 * bindings.el (mode-line-modified, mode-line-remote):
15474 Mark unused parameters.
15475 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15476
15477 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15478 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15479
15480 * comint.el (comint-history-isearch-pop-state)
15481 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15482 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15483 (comint-substitute-in-file-name): Doc fix.
15484
15485 * completion.el (cmpl-statistics-block): Mark unused parameter.
15486 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15487 (save-completions-to-file, load-completions-from-file):
15488 Remove unused local variable `e'.
15489
15490 * composite.el (compose-chars): Remove unused variable `len'.
15491 (lgstring-insert-glyph): Remove unused variable `g'.
15492 (compose-glyph-string): Remove unused variables `ascent',
15493 `descent', `lbearing' and `rbearing'.
15494 (compose-glyph-string-relative): Remove unused variables
15495 `lbearing', `rbearing' and `wadjust'.
15496 (compose-gstring-for-graphic): Remove unused variables `header',
15497 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15498 (compose-gstring-for-terminal): Remove unused variables `header'
15499 and `nchars'. Use `let', not `let*'.
15500
15501 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15502 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15503 (Custom-buffer-done, custom-buffer-create-internal)
15504 (custom-browse-visibility-action, custom-browse-group-tag-action)
15505 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15506 (widget-magic-mouse-down-action, custom-toggle-parent)
15507 (custom-add-parent-links, custom-toggle-hide-variable)
15508 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15509 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15510 (custom-face-menu-create, custom-variable-menu-create, get)
15511 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15512 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15513 (customize-apropos): Remove unused variable `tests'.
15514 (custom-group-value-create): Remove unused variable `hidden-p'.
15515 (sort-fold-case): Declare.
15516
15517 * cus-theme.el (custom-reset-standard-faces-list)
15518 (custom-reset-standard-variables-list): Declare.
15519 (customize-create-theme, custom-theme-revert, custom-theme-write)
15520 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15521 Mark unused parameters.
15522
15523 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15524
15525 * delim-col.el (delimit-columns-max): Move defvar before first use.
15526
15527 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15528 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15529
15530 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15531 (auto-insert): Declare.
15532 (desktop-restore-file-buffer): Rename desktop-* parameters;
15533 mark unused ones.
15534 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15535 (desktop-buffer): Rename desktop-* parameters.
15536
15537 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15538 (dframe-reposition-frame-xemacs, dframe-help-echo)
15539 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15540 Mark unused parameters.
15541
15542 * dired-aux.el (backup-extract-version-start, overwrite-query)
15543 (overwrite-backup-query, rename-regexp-query)
15544 (rename-non-directory-query): Declare.
15545 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15546 (dired-add-entry): Remove unused variable `orig-file-name'.
15547 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15548 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15549 `dired-copy-preserve-time' directly.
15550 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15551 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15552
15553 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15554 (dired-virtual-revert, dired-make-relative-symlink):
15555 Mark unused parameters.
15556 (manual-program): Declare.
15557 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15558 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15559 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15560
15561 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15562
15563 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15564
15565 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15566 Declare.
15567
15568 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15569
15570 * electric.el (Electric-command-loop): Rename parameter
15571 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15572
15573 * expand.el (expand-in-literal): Remove unused variable `here'.
15574
15575 * facemenu.el (facemenu-add-new-color):
15576 Remove unused variable `docstring'.
15577
15578 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15579 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15580 (face-attr-construct): Mark unused parameter. Doc fix.
15581 (read-color): Remove unused variable `hex-string'.
15582
15583 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15584 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15585 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15586 (display-buffer-other-frame): Remove unused variable `old-window'.
15587 (kill-buffer-hook): Declare.
15588 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15589 Mark unused parameters.
15590 (after-find-file): Pass 1 to `auto-save-mode', not t.
15591
15592 * files-x.el (auto-insert): Declare.
15593 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15594
15595 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15596 variable `buf'. Mark unused parameter.
06b60517
JB
15597 (find-lisp-insert-directory): Mark unused parameter.
15598
15599 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15600 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15601 (format-common-tail): Remove, unused.
15602 (format-deannotate-region): Remove unused variable `loc'.
15603 (format-annotate-region): Remove unused variable `p'.
15604 (format-annotate-single-property-change): Remove unused variables
15605 `default' and `tail'.
15606
15607 * forms.el (read-file-filter): Declare.
15608 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15609
15610 * frame.el (frame-creation-function-alist): Mark unused parameter.
15611 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15612
15613 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15614 Remove unused parameters.
15615 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15616 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15617
15618 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15619 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15620 (hfy-prepare-tag-map): Mark unused parameters.
15621 (htmlfontify-buffer): Use `called-interactively-p'.
15622
15623 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15624 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15625 (ibuffer-do-occur): Mark unused parameters.
15626 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15627 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15628
15629 * ibuffer.el: Don't quote `lambda'.
15630 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15631 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15632 Mark unused parameters.
15633
15634 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15635 (ido-completing-read): Mark unused parameters.
15636 (ido-copy-current-word): Mark unused parameters;
15637 remove unused variable `name'.
15638 (ido-sort-merged-list): Remove unused parameter `dirs'.
15639
15640 * ielm.el (ielm-input-sender): Mark unused parameter.
15641 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15642 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15643 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15644 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15645 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15646
15647 * image-dired.el (image-dired-display-thumbs): Remove unused
15648 variables `curr-file' and `count'.
15649 (image-dired-remove-tag): Remove unused variable `start'.
15650 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15651 variable `curr-file'
15652 (image-dired-rotate-original): Remove unused variable `temp-file'.
15653 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15654 Remove unused variable `file'.
15655 (image-dired-gallery-generate): Remove unused variable `curr'.
15656 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15657
15658 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15659
15660 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15661
15662 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15663
15664 * isearch.el (minibuffer-history-symbol): Declare.
15665 (isearch-edit-string): Remove unused variable `err'.
15666 (isearch-message-prefix, isearch-message-suffix):
15667 Mark unused parameters.
15668
15669 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15670
15671 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15672
15673 * makesum.el (double-column): Remove unused variable `cnt'.
15674
15675 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15676 (ido-ignore-item-temp-list): Declare.
15677
15678 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15679 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15680 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15681 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15682 `mouse-col-delta'.
15683
15684 * mouse-sel.el (mouse-extend-internal):
15685 Remove unused variable `orig-window-frame'.
15686
15687 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15688 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15689 Move declarations before first use.
15690 (pcomplete-opt): Mark unused parameters; doc fix.
15691
15692 * proced.el (proced-revert): Mark unused parameter.
15693 (proced-send-signal): Remove unused variable `err'.
15694
15695 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15696 Rename parameter PREFIX-ARG to ARG.
15697 (ps-basic-plot-string, ps-basic-plot-whitespace):
15698 Mark unused parameters.
15699
15700 * replace.el (replace-count): Define.
15701 (occur-revert-function): Mark unused parameters.
15702 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15703 (isearch-case-fold-search, isearch-string): Declare.
15704 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15705 bind `case-fold-search'. Remove unused variables `beg' and `end',
15706 and simplify.
15707 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15708 COUNT and bind `replace-count'.
15709 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15710 to COUNT.
15711
15712 * savehist.el (print-readably, print-string-length): Declare.
15713
15714 * shadowfile.el (shadow-expand-cluster-in-file-name):
15715 Remove unused variable `cluster'.
15716 (shadow-copy-file): Remove unused variable `i'.
15717 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15718 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15719 (shadow-define-literal-group, shadow-define-regexp-group)
15720 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15721
15722 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15723 (shell): Use `called-interactively-p'.
15724 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15725
15726 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15727 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15728 (delete-backward-char): Remove unused variable `ocol'.
15729 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15730 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15731 (event-apply-hyper-modifier, event-apply-shift-modifier)
15732 (event-apply-control-modifier, event-apply-meta-modifier):
15733 Mark unused parameters.
15734 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15735 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15736
15737 * speedbar.el (speedbar-ignored-directory-expressions)
15738 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15739 (speedbar-find-file, speedbar-dir-follow)
15740 (speedbar-directory-buttons-follow, speedbar-tag-find)
15741 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15742 (speedbar-buffers-line-directory, speedbar-buffer-click):
15743 Mark unused parameters.
15744 (speedbar-tag-file): Remove unused variable `mode'.
15745 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15746
15747 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15748
15749 * talk.el (talk): Remove unused variable `display'.
15750
15751 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15752 (tar-write-region-annotate): Mark unused parameter.
15753
15754 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15755 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15756 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15757 warning by another.
15758
15759 * time-stamp.el (time-stamp-string-preprocess):
15760 Remove unused variable `require-padding'.
15761
15762 * tree-widget.el (widget-glyph-enable): Declare.
15763 (tree-widget-action): Mark unused parameter.
15764
15765 * w32-fns.el (x-get-selection): Mark unused parameter.
15766 (autoload-make-program, generated-autoload-file): Declare.
15767
15768 * wdired.el (wdired-revert): Mark unused parameters.
15769 (wdired-xcase-word): Remove unused variable `err'.
15770
15771 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15772 (whitespace-help-scroll): Remove unused variable `data-help'.
15773
15774 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15775 (widget-image-insert, widget-after-change, default)
15776 (widget-default-format-handler, widget-default-notify)
15777 (widget-default-prompt-value, widget-info-link-action)
15778 (widget-url-link-action, widget-function-link-action)
15779 (widget-variable-link-action, widget-file-link-action)
15780 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15781 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15782 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15783 (widget-insert-button-action, widget-delete-button-action, visibility)
15784 (widget-documentation-link-action, widget-documentation-string-action)
15785 (widget-const-prompt-value, widget-regexp-match, symbol)
15786 (widget-coding-system-prompt-value)
15787 (widget-key-sequence-value-to-external, sexp)
15788 (widget-sexp-value-to-internal, character, vector, cons)
15789 (widget-choice-prompt-value, widget-boolean-prompt-value)
15790 (widget-color--choose-action): Mark unused parameters.
15791 (widget-item-match-inline, widget-choice-match-inline)
15792 (widget-checklist-match, widget-checklist-match-inline)
15793 (widget-group-match): Rename parameter VALUES to VALS.
15794 (widget-field-value-set): Remove unused variable `size'.
15795 (widget-color-action): Remove unused variables `value' and `start'.
15796
15797 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15798 variable `dir'. Doc fix.
06b60517
JB
15799 (windmove-find-other-window): Don't pass it.
15800
15801 * window.el (count-windows): Mark unused parameter.
15802 (bw-adjust-window): Remove unused variable `err'.
15803
15804 * woman.el (woman-file-name): Remove unused variable `default'.
15805 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15806 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15807 (global-font-lock-mode): Declare.
15808 (woman-decode-region): Mark unused parameter.
15809 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15810
15811 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15812 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15813 (x-dnd-handle-moz-url): Remove unused variable `title'.
15814 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15815
15816 * xml.el (xml-parse-tag, xml-parse-attlist):
15817 Remove unused variable `pos'.
15818
bc4f7f3d
GM
158192011-04-19 Glenn Morris <rgm@gnu.org>
15820
15821 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15822 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15823 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15824 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15825 * calendar/cal-html.el (cal-html-insert-minical):
15826 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15827 (calendar-mark-date-pattern):
15828 Prefix "unused" locals.
15829
15830 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15831 optional argument `style'.
15832
15833 * calendar/appt.el (appt-make-list):
15834 * calendar/cal-china.el (calendar-chinese-date-string):
15835 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15836 (diary-hebrew-yahrzeit):
15837 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15838 * calendar/calendar.el (calendar-generate-window):
15839 * calendar/time-date.el (time-to-days):
15840 Remove unused local variables.
15841
16a43933
CY
158422011-04-18 Chong Yidong <cyd@stupidchicken.com>
15843
15844 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15845 glyphless-char-display table.
15846 (tabulated-list-glyphless-char-display): New var.
15847
7eed1860
SS
158482011-04-18 Sam Steingold <sds@gnu.org>
15849
15850 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15851 to acknowledgments.
15852
4d2d1ccd
GM
158532011-04-17 Glenn Morris <rgm@gnu.org>
15854
15855 * calendar/diary-lib.el (diary-sexp-entry):
15856 * calendar/holidays.el (holiday-sexp):
15857 Set debug-on-error rather than the removed stack-trace-on-error.
15858
239da61d
GM
158592011-04-16 Glenn Morris <rgm@gnu.org>
15860
15861 * progmodes/f90.el: Use lexical-binding.
15862 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15863
8b05752a
SM
158642011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15865
daca8ba5
SM
15866 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15867 (mail-mode): Setup mailalias completion here instead.
15868 * mail/mailalias.el: Use lexical-binding.
15869 (pattern, mailalias-done): Declare dynamic.
15870 (mail-completion-at-point-function): New function, from mail-complete.
15871 (mail-complete): Use it.
15872 (mail-completion-expand): New function.
15873 (mail-get-names): Use it.
15874 (mail-directory, mail-directory-process, mail-directory-stream):
15875 Don't use `pattern' for lexically bound arg.
15876
6f542485
SM
15877 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15878
037e7c3f
SM
15879 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15880 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15881 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15882
8b05752a
SM
15883 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15884 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15885 (byte-interactive-p): Define them again, for use when inlining
15886 old code.
15887
49093f60
JB
158882011-04-15 Juanma Barranquero <lekktu@gmail.com>
15889
15890 * loadup.el: Use `string-to-number', not `string-to-int'.
15891
b5b8e7de
SM
158922011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15893
15894 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15895 gud-gdb-complete-command.
15896 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15897 (gud-gdb-completion-at-point): New function.
15898 (gud-gdb-completions): Remove.
15899
f42efeb5
MA
159002011-04-14 Michael Albinus <michael.albinus@gmx.de>
15901
49093f60
JB
15902 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15903 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15904 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15905 whether `executable-find' is bound.
f42efeb5
MA
15906
15907 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15908
e240cc21
SM
159092011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15910
15911 * minibuffer.el (completion-in-region-mode-predicate)
15912 (completion-in-region-mode--predicate): New vars.
15913 (completion-in-region, completion-in-region--postch)
15914 (completion-in-region-mode): Use them.
15915 (completion--capf-wrapper): Also return the hook function.
15916 (completion-at-point, completion-help-at-point):
15917 Adjust and provide a predicate.
c2bd2ab0
SM
15918
15919 Preserve arg names for advice of subr and lexical functions (bug#8457).
15920 * help-fns.el (help-function-arglist): Consolidate the subr and
15921 new-byte-code cases. Add argument `preserve-names' to extract names
15922 from the docstring when needed.
15923 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15924 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15925 (ad-arglist): Use help-function-arglist's new arg.
15926 (ad-definition-type): Use cond.
15927
c183f693
JB
159282011-04-13 Juanma Barranquero <lekktu@gmail.com>
15929
06641a47
JB
15930 * autorevert.el (auto-revert-handler):
15931 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15932 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15933 Don't quote lambda.
15934
c183f693
JB
15935 * image-mode.el (image-transform-set-scale):
15936 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15937
1e3b6001
G
159382011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15939
15940 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15941 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15942 Upgrades via gnutls-cli are too slow to be done opportunistically.
15943
2d6af8dd
JB
159442011-04-12 Juanma Barranquero <lekktu@gmail.com>
15945
15946 * dframe.el (dframe-current-frame): Remove spurious quote.
15947
c0749a51
GM
159482011-04-12 Glenn Morris <rgm@gnu.org>
15949
088d0d61
GM
15950 * calendar/cal-tex.el (cal-tex-end-document):
15951 Try to automatically use latin1 input if needed.
15952
c0749a51
GM
15953 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15954 Don't try to cons a mark onto an empty element.
15955
5c90fde0
LL
159562011-04-11 Leo Liu <sdl.web@gmail.com>
15957
15958 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15959 buffers.
15960 (ido-kill-buffer-at-head): Support killing virtual buffers.
15961
369e974d
CY
159622011-04-10 Chong Yidong <cyd@stupidchicken.com>
15963
15964 * minibuffer.el (completion-show-inline-help): New var.
15965 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15966 (minibuffer-force-complete, minibuffer-complete-word):
15967 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15968
15969 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15970 to avoid interference from inline help (Bug#5849).
15971
37f1c930
LL
159722011-04-10 Leo Liu <sdl.web@gmail.com>
15973
099c39a4
JB
15974 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15975 Fix typo.
37f1c930 15976
a32d4040
CY
159772011-04-09 Chong Yidong <cyd@stupidchicken.com>
15978
15979 * image-mode.el (image-toggle-display-image): Signal an error if
15980 not in Image mode.
15981 (image-transform-mode, image-transform-resize)
15982 (image-transform-set-rotation): Doc fix.
daca8ba5 15983 (image-transform-set-resize): Delete.
a32d4040
CY
15984 (image-transform-set-scale, image-transform-fit-to-height)
15985 (image-transform-fit-to-width): Handle image-toggle-display-image
15986 and image-transform-resize directly.
15987
099c39a4 159882011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15989
15990 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15991 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15992 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15993 (doc-view-mode-map): Add bindings for the new functions.
15994
099c39a4 159952011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15996
4d61f28d 15997 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15998 Fix typo in docstring.
15999
3726838a
EZ
160002011-04-08 Eli Zaretskii <eliz@gnu.org>
16001
04f33f1e
EZ
16002 * files.el (file-size-human-readable): Produce one digit after
16003 decimal, like "ls -lh" does.
16004
16005 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16006 the file size representation.
16007
3726838a
EZ
16008 * simple.el (list-processes): If async subprocesses are not
16009 available, error out with a clear error message.
16010
cbb59342
CY
160112011-04-08 Chong Yidong <cyd@stupidchicken.com>
16012
16013 * help.el (help-form-show): New function, to be called from C.
16014 Put help-form output in a buffer named differently than *Help*.
16015
e3971c44
EZ
160162011-04-08 Eli Zaretskii <eliz@gnu.org>
16017
16018 * files.el (file-size-human-readable): New function.
16019
16020 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16021 computing the representation inline. Don't require `cl'.
16022
12544bbe
GM
160232011-04-08 Glenn Morris <rgm@gnu.org>
16024
a1de6c6a
GM
16025 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16026
3c4671f4
GM
16027 * net/browse-url.el (browse-url-firefox):
16028 Test system-type, not system-configuration.
16029
b605679c
GM
16030 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16031 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16032 Use log-edit-empty-buffer-p. (Bug#7598)
16033
56442f0c
GM
16034 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16035 (rlogin-mode-map): Initialize in the defvar.
16036 (rlogin): Use ignore-errors.
16037
12544bbe
GM
16038 * replace.el (occur-mode-map): Some fixes for menu items.
16039
eb237b0f
AH
160402011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16041
16042 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16043
7d668f2c
CY
160442011-04-06 Chong Yidong <cyd@stupidchicken.com>
16045
e67a13ab
CY
16046 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16047 issuing unused warnings.
16048
16049 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16050 macro directly.
16051
7d668f2c
CY
16052 * simple.el: Lisp reimplement of list-processes. Based on an
16053 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16054 (process-menu-mode): New major mode.
16055 (list-processes--refresh, list-processes):
16056 (process-menu-visit-buffer): New functions.
16057
16058 * files.el (save-buffers-kill-emacs): Don't assume any return
16059 value of list-processes, which is undocumented anyway.
16060
a83ec3c9
CY
160612011-04-06 Chong Yidong <cyd@stupidchicken.com>
16062
16063 * emacs-lisp/tabulated-list.el: New file.
16064
e91a96fe
CY
16065 * emacs-lisp/package.el: Use Tabulated List mode.
16066 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16067 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16068 table format using Tabulated List mode variables.
16069 (package--push): New macro, replacing package-list-maybe-add.
16070 (package-menu--generate): Use package--push. Renamed from
16071 package--generate-package-list.
16072 (package-menu-refresh, list-packages): Use it.
daca8ba5 16073 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16074 Return insertion data instead of inserting it directly.
099c39a4
JB
16075 (package-menu-describe-package, package-menu-execute):
16076 Use tabulated-list-get-id.
e91a96fe
CY
16077 (package-menu-mark-delete, package-menu-mark-install)
16078 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16079 (package-menu-mark-obsolete-for-deletion):
16080 Use tabulated-list-put-tag.
e91a96fe
CY
16081 (package--list-packages, package-menu-revert)
16082 (package-menu-get-package, package-menu-get-version)
16083 (package-menu-sort-by-column): Functions deleted.
16084 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16085 (package-menu--status-predicate, package-menu--version-predicate)
16086 (package-menu--name-predicate)
16087 (package-menu--description-predicate): Handle arguments in the
16088 Tabulated List format.
16089 (package-list-packages-no-fetch): Call list-packages.
16090
3e214b50
JB
160912011-04-06 Juanma Barranquero <lekktu@gmail.com>
16092
16093 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16094 (after-find-file): Don't bind it.
3e214b50
JB
16095 (revert-buffer-in-progress-p): New variable.
16096 (revert-buffer): Bind it.
16097 Pass nil for `after-find-file-from-revert-buffer'.
16098
16099 * saveplace.el (save-place-find-file-hook): Use new variable
16100 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16101
3f0f1700
GM
161022011-04-06 Glenn Morris <rgm@gnu.org>
16103
c0274801
GM
16104 * Makefile.in (AUTOGEN_VCS): New variable.
16105 (autoloads): Use $AUTOGEN_VCS.
16106
3f0f1700
GM
16107 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16108 * calendar/calendar.el (calendar-mode-map):
16109 Check for toolkit scroll bars. (Bug#8305)
16110
41ea9e48
CY
161112011-04-05 Chong Yidong <cyd@stupidchicken.com>
16112
16113 * minibuffer.el (completion-in-region--postch)
16114 (completion-in-region-mode): Remove unnecessary messages.
16115
6194c800
JB
161162011-04-05 Juanma Barranquero <lekktu@gmail.com>
16117
33256f14
JB
16118 * font-lock.el (font-lock-refresh-defaults):
16119 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16120 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16121
6194c800
JB
16122 * info.el (Info-directory-list, Info-read-node-name-2)
16123 (Info-split-parameter-string): Doc fixes.
16124 (Info-virtual-nodes): Reflow docstring.
16125 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16126 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16127 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16128 Fix typos in docstrings.
16129 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16130 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16131 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16132 (Info-restore-desktop-buffer): Mark unused parameters.
16133 (Info-directory-find-file, Info-directory-find-node)
16134 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16135 (Info-virtual-index-find-node, Info-apropos-find-file)
16136 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16137 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16138 (Info-virtual-index): Remove unused local variable `nodename'.
16139
b87a8200 161402011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16141
b87a8200
DD
16142 * net/rcirc.el: Update my e-mail address.
16143 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16144
3b2ff876
CY
161452011-04-05 Chong Yidong <cyd@stupidchicken.com>
16146
16147 * startup.el (command-line): Save the cursor's theme-face
16148 directly, instead of using face-override-spec.
16149
16150 * custom.el (load-theme): Minor optimization in assigning faces.
16151
8d17e7ca
JB
161522011-04-04 Juanma Barranquero <lekktu@gmail.com>
16153
16154 * help-fns.el (describe-variable): Complete all variables having
16155 documentation, including keywords.
16156 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16157
2fbc1934
JB
161582011-04-04 Juanma Barranquero <lekktu@gmail.com>
16159
16160 Convert to lexical-binding.
16161
16162 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16163 (bs--get-marked-string, bs--get-modified-string)
16164 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16165 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16166 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16167
16168 * ehelp.el (electric-help-execute-extended)
16169 (electric-help-ctrl-x-prefix):
16170 * hexl.el (hexl-revert-buffer-function):
16171 * linum.el (linum-after-change, linum-after-scroll):
16172 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16173
16174 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16175
74f50695
DU
161762011-04-04 Daiki Ueno <ueno@unixuser.org>
16177
16178 * epa-dired.el:
16179 * epa-mail.el:
16180 * epa-hook.el:
16181 * epa-file.el:
16182 * epa.el:
16183 * epg.el: Use lexical binding.
16184
c11325f7
CY
161852011-04-03 Chong Yidong <cyd@stupidchicken.com>
16186
0d9e9a12
CY
16187 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16188
c11325f7 16189 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16190 dictionary case for flyspell-mark-duplications-exceptions.
16191 Use regexp matching for languages.
c11325f7
CY
16192 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16193 default dictionary (Bug#7926).
16194
da91b5f2
CY
161952011-04-02 Chong Yidong <cyd@stupidchicken.com>
16196
099c39a4
JB
16197 * emacs-lisp/package.el (package--with-work-buffer):
16198 Recognize https URLs.
da91b5f2 16199
099c39a4
JB
16200 * net/network-stream.el: Move from gnus/proto-stream.el.
16201 Change prefix to network-stream throughout.
da91b5f2
CY
16202 (open-protocol-stream): Merge into open-network-stream, leaving
16203 open-protocol-stream as an alias. Handle nil BUFFER args.
16204
16205 * subr.el (open-network-stream): Move to net/network-stream.el.
16206
afa8e9f6
GM
162072011-04-02 Glenn Morris <rgm@gnu.org>
16208
1d2e369d
GM
16209 * find-dired.el (find-exec-terminator): New option.
16210 (find-ls-option): Test for -ls support.
16211 (find-ls-subdir-switches): Test for -b in find-ls-option.
16212 (find-dired, find-grep-dired): Doc fixes.
16213 (find-dired): Use find-exec-terminator.
16214
8abb7da8 16215 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16216 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16217 (find-name-arg): Remove purecopy.
8abb7da8 16218
f3ca7378
GM
16219 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16220 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16221 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16222 accordingly. Don't add the null-device if not needed.
16223
afa8e9f6
GM
16224 * files.el (save-some-buffers): Doc fix.
16225
35eae264
EZ
162262011-04-02 Eli Zaretskii <eliz@gnu.org>
16227
16228 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16229
26b51db5
JB
162302011-04-01 Juanma Barranquero <lekktu@gmail.com>
16231
16232 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16233 Use `dolist' rather than `mapcar'.
16234
7200d79c
SM
162352011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16236
03408648 16237 Add lexical binding.
7200d79c 16238
03408648
SM
16239 * subr.el (apply-partially): Use new closures rather than CL.
16240 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16241 (dolist, dotimes): Use slightly different expansion for lexical code.
16242 (functionp): Move to C.
16243 (letrec): New macro.
16244 (with-wrapper-hook): Use it and apply-partially instead of CL.
16245 (eval-after-load): Preserve lexical-binding.
16246 (save-window-excursion, with-output-to-temp-buffer): Turn them
16247 into macros.
7200d79c 16248
03408648
SM
16249 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16250
16251 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16252 than the arglist.
16253 (help-add-fundoc-usage): Don't add `Not documented'.
16254 (help-function-arglist): Handle closures, subroutines, and new
16255 byte-code-functions.
16256 (help-make-usage): Remove leading underscores.
16257 (describe-function-1): Handle closures.
16258 (describe-variable): Use special-variable-p for completion.
16259
16260 * files.el (lexical-binding): Declare safe.
f488fb65 16261
03408648
SM
16262 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16263 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16264 (pcase): Add `let' pattern.
16265 Change memoization so it actually works.
16266 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16267 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16268 <let>: New case.
f488fb65 16269
03408648
SM
16270 * emacs-lisp/macroexp.el: Use lexical binding.
16271 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16272 Don't convert ' to #' without checking that it's indeed quoting
16273 a lambda.
16274
16275 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16276 Use eval-sexp-add-defvars.
03408648
SM
16277 (eval-sexp-add-defvars): New fun.
16278
16279 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16280
16281 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16282 Don't autoload.
16283 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16284 than the internal `byte-compile-lambda'.
16285 (defmethod): Don't hide code under quotes.
16286 (eieio-defmethod): New `code' argument.
16287
16288 * emacs-lisp/eieio-comp.el: Remove.
16289
16290 * emacs-lisp/edebug.el (edebug-eval-defun)
16291 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16292 (edebug-toggle): Avoid `eval'.
16293
16294 * emacs-lisp/disass.el (disassemble-internal): Handle new
16295 `closure' objects.
16296 (disassemble-1): Handle new byte codes.
16297
16298 * emacs-lisp/cl.el (pushnew): Silence warning.
16299
16300 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16301 (cl-byte-compile-throw): Remove.
16302 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16303
16304 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16305 closures.
16306
16307 * emacs-lisp/cconv.el: New file.
16308
16309 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16310 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16311 (byte-compile-initial-macro-environment):
16312 Handle declare-function here.
16313 (byte-compile--lexical-environment): New var.
16314 (byte-stack-ref, byte-stack-set, byte-discardN)
16315 (byte-discardN-preserve-tos): New lap codes.
16316 (byte-interactive-p): Don't use any more.
16317 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16318 New macros.
16319 (byte-compile-lapcode): Use them and handle new lap codes.
16320 (byte-compile-obsolete): Remove.
16321 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16322 (byte-compile-arglist-warn): Check late def of inlinable funs.
16323 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16324 since they should have been expanded by now.
16325 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16326 (byte-compile-from-buffer): Remove unused second arg.
16327 (byte-compile-preprocess): New function.
16328 (byte-compile-toplevel-file-form): New function to distinguish
16329 file-form calls from outside from file-form calls from hunk-handlers.
16330 (byte-compile-file-form): Simplify.
16331 (byte-compile-file-form-defsubst): Remove.
16332 (byte-compile-file-form-defmumble): Simplify now that
16333 byte-compile-lambda always returns a byte-code-function.
16334 (byte-compile): Preprocess.
16335 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16336 Remove, not used any more.
16337 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16338 (byte-compile-make-args-desc): New funs.
16339 (byte-compile-lambda): Handle lexical functions. Always return
16340 a byte-code-function.
16341 (byte-compile-reserved-constants): New var, to make up room for
16342 closed-over variables.
16343 (byte-compile-constants-vector): Obey it.
16344 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16345 (byte-compile-macroexpand-declare-function): New function.
16346 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16347 byte-code-functions.
16348 (byte-compile-form): Check obsolescence here.
16349 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16350 (byte-compile-variable-ref): Remove.
16351 (byte-compile-dynamic-variable-op): New fun.
16352 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16353 (byte-compile-variable-set): New funs.
16354 (byte-compile-discard): Add 2 args.
16355 (byte-compile-stack-ref, byte-compile-stack-set)
16356 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16357 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16358 macroexpand-all instead.
16359 (byte-compile-quote-form): Remove.
16360 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16361 (byte-compile-bind, byte-compile-unbind): New funs.
16362 (byte-compile-let): Handle let* and lexical binding.
16363 (byte-compile-let*): Remove.
16364 (byte-compile-catch, byte-compile-unwind-protect)
16365 (byte-compile-track-mouse, byte-compile-condition-case):
16366 Handle a new :fun-body form, used for lexical scoping.
16367 (byte-compile-save-window-excursion)
16368 (byte-compile-with-output-to-temp-buffer): Remove.
16369 (byte-compile-defun): Simplify.
16370 (byte-compile-stack-adjustment): New fun.
16371 (byte-compile-out): Use it.
16372 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16373
16374 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16375 handler any more.
16376
16377 * emacs-lisp/byte-opt.el: Use lexical binding.
16378 (byte-inline-lapcode): Remove (to bytecomp).
16379 (byte-compile-inline-expand): Pay attention to inlining to/from
16380 lexically bound code.
16381 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16382 any more.
16383 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16384 any more and don't call compiler-macros.
16385 (byte-compile-splice-in-already-compiled-code): Remove.
16386 (byte-code): Don't inline any more.
16387 (disassemble-offset): Receive `bytes' as argument rather than via
16388 dynamic scoping.
16389 (byte-compile-tag-number): Declare before first use.
16390 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16391 `return' even if make-spliceable.
16392 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16393 obsolete interactive-p.
16394 (byte-optimize-lapcode): Optimize new lap-codes.
16395 Don't trip up on new form of `byte-constant' lap code.
16396
16397 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16398
16399 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16400
16401 * custom.el (custom-initialize-default, custom-declare-variable):
16402 Use `defvar'.
16403
16404 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16405 New variables.
16406 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16407 (COMPILE_FIRST): Add macroexp and cconv.
16408 * makefile.w32-in: Mirror changes in Makefile.in.
16409
16410 * vc/cvs-status.el:
16411 * vc/diff-mode.el:
16412 * vc/log-edit.el:
16413 * vc/log-view.el:
16414 * vc/smerge-mode.el:
16415 * textmodes/bibtex-style.el:
090bd7cb 16416 * textmodes/css-mode.el:
03408648
SM
16417 * startup.el:
16418 * uniquify.el:
da91b5f2
CY
16419 * minibuffer.el:
16420 * newcomment.el:
16421 * reveal.el:
16422 * server.el:
16423 * mpc.el:
16424 * emacs-lisp/smie.el:
16425 * doc-view.el:
16426 * dired.el:
03408648
SM
16427 * abbrev.el: Use lexical binding.
16428
0f0c1f27
EZ
164292011-04-01 Eli Zaretskii <eliz@gnu.org>
16430
16431 * info.el (info-display-manual): New function.
16432
c82b2579
SM
164332011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16434
16435 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16436
221ddf68
TH
164372011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16438
16439 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16440 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16441
cba6e77e
GM
164422011-03-31 Glenn Morris <rgm@gnu.org>
16443
e040639f
GM
16444 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16445
cba6e77e
GM
16446 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16447
6d0f1c9e
CS
164482011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16449
16450 * progmodes/python.el (python-default-interpreter)
16451 (python-python-command-args, python-jython-command-args)
16452 (python-which-shell, python-which-args, python-which-bufname)
16453 (python-file-queue, python-comint-output-filter-function)
16454 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16455 variables and functions.
16456
3e2d70fd
SM
164572011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16458
16459 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16460 (completion-in-region-mode): New minor mode.
16461 (completion-in-region): Use it.
16462 (completion-in-region--data, completion-in-region-mode-map): New vars.
16463 (completion-in-region--postch): New function.
16464 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16465 New vars.
16466 (completion--capf-wrapper): New function.
16467 (completion-at-point): Use it to track well-behavedness of
16468 hook functions.
16469 (completion-help-at-point): New command.
16470
f3e4086c
JM
164712011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16472
16473 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16474 syntax class to search for whitespace on a single line
16475 (Message-ID: <4D938140.4030905@redhat.com>).
16476
eb7ffc14
LL
164772011-03-30 Leo Liu <sdl.web@gmail.com>
16478
16479 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16480 New commands.
16481 (edit-abbrevs-map): Bind them here.
16482 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16483
d806ab68
KM
164842011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16485
16486 * allout.el (allout-hide-by-annotation, allout-flag-region):
16487 Reduce possibility of overlay leakage by making them volatile.
16488
16489 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16490 hash is not shared between buffers. Mode initialization is
16491 responsible for giving it a useful starting value.
16492 (allout-item-span): Reduce possibility of overlay leakage by
16493 making them volatile.
16494 (allout-widgets-count-buttons-in-region): Add diagnostic function
16495 for tracking down button overlay leaks.
16496
ea622834
LL
164972011-03-29 Leo Liu <sdl.web@gmail.com>
16498
16499 * ido.el (ido-read-internal): Use the default history var
16500 minibuffer-history if no HISTORY is specified.
16501
b62f8267
G
165022011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16503
03408648
SM
16504 * net/imap.el (imap-shell-open, imap-process-connection-type):
16505 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16506 Kerberos, SSL, other subprocesses.
16507
947b6566
LL
165082011-03-28 Leo Liu <sdl.web@gmail.com>
16509
16510 * abbrev.el (abbrev-table-empty-p): New function.
16511 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16512 nonempty ones. (Bug#5937)
16513
5ffb62aa
JD
165142011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16515
16516 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16517
7a097943
LL
165182011-03-27 Leo Liu <sdl.web@gmail.com>
16519
16520 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16521 for foreground and background colors.
16522 (ansi-color-make-color-map): Adapt.
16523
c5b40130
LL
165242011-03-25 Leo Liu <sdl.web@gmail.com>
16525
1f48f7d2
LL
16526 * midnight.el (midnight-time-float): Remove. Note it calculates
16527 the microsecond component incorrectly and seconds-to-time does the
16528 same job.
625897ec 16529 Remove redundant (require 'timer).
1f48f7d2 16530
c5b40130
LL
16531 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16532 (ido-completions): Remove unused arguments. (Bug#8329)
16533
d86d2721
SM
165342011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16535
16536 * minibuffer.el (completion--flush-all-sorted-completions):
16537 Remove itself from hook.
16538 (completion-at-point): Let the functions perform the completion
16539 immediately and return nil or t.
16540 * comint.el (comint-dynamic-complete-functions): Now identical to
16541 completion-at-point-functions.
16542 (comint-dynamic-list-input-ring): Remove unused var `index'.
16543 (comint--match-partial-filename, comint--unquote&expand-filename):
16544 New funs, split from comint-match-partial-filename.
16545 (comint-dynamic-complete): Use completion-at-point.
16546 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16547
e8974c48
DA
165482011-03-24 Drew Adams <drew.adams@oracle.com>
16549
16550 * thingatpt.el: Support `defun'.
16551
def71b5e
LL
165522011-03-23 Leo Liu <sdl.web@gmail.com>
16553
cb5af48e
LL
16554 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16555
def71b5e
LL
16556 * help-mode.el (help-mode-finish): Tweak regexp.
16557
927c53e7
GM
165582011-03-23 Glenn Morris <rgm@gnu.org>
16559
18d05bed
GM
16560 * eshell/esh-opt.el (eshell-eval-using-options):
16561 Do not bind unused local variable `eshell-option-stub'.
16562
927c53e7
GM
16563 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16564
9d0da923
JB
165652011-03-22 Juanma Barranquero <lekktu@gmail.com>
16566
16567 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16568 keymap variable in `with-no-warnings' to avoid a warning when the
16569 keymap has been already `defconst'ed.
16570
4b978a67
LL
165712011-03-22 Leo Liu <sdl.web@gmail.com>
16572
16573 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16574 encode all chars in abbrevs; otherwise use emacs-mule or
16575 utf-8-emacs. (Bug#8308)
16576
5fd62452
JB
165772011-03-22 Juanma Barranquero <lekktu@gmail.com>
16578
0b1596c6
JB
16579 * simple.el (backward-delete-char-untabify):
16580 Avoid warning about using `delete-backward-char'.
16581
5fd62452
JB
16582 * image.el (image-type-file-name-regexps): Make it variable.
16583 `imagemagick-register-types' modifies it, and the user may want
16584 to add new extensions for known image types.
16585 (imagemagick-register-types): Throw error if not using ImageMagick.
16586
0b4e93f1
LL
165872011-03-22 Leo Liu <sdl.web@gmail.com>
16588
16589 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16590 located before rcirc-prompt-end-marker.
16591 (rcirc-complete): Error if point is not after rcirc prompt.
16592 Handle the case when table is nil.
9882e214 16593 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16594
fccee4ab
CY
165952011-03-22 Chong Yidong <cyd@stupidchicken.com>
16596
16597 * custom.el (custom--inhibit-theme-enable): Make it affect only
16598 custom-theme-set-variables and custom-theme-set-faces.
16599 (provide-theme): Ignore custom--inhibit-theme-enable.
16600 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16601 (custom-enabling-themes): Delete variable.
d86d2721
SM
16602 (enable-theme): Accept only loaded themes as arguments.
16603 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16604 (custom-enabled-themes): Forbid themes from setting this.
16605 Eliminate use of custom-enabling-themes.
16606 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16607
af896da6
LL
166082011-03-21 Leo Liu <sdl.web@gmail.com>
16609
16610 * ido.el (ido-read-internal): Add ido-selected to history instead
16611 of user input.
16612
78f64af0
SM
166132011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16614
16615 * subr.el (deferred-action-list, deferred-action-function):
16616 Mark obsolete.
16617
b16ac1ec
LL
166182011-03-21 Leo Liu <sdl.web@gmail.com>
16619
810f7698
LL
16620 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16621 change on 2011-02-13 (bug#8309).
16622
b16ac1ec
LL
16623 * minibuffer.el (read-file-name-function): Change default value.
16624 (read-file-name--defaults): Rename from read-file-name-defaults.
16625 (read-file-name-default): Rename from read-file-name.
16626 (read-file-name): Call read-file-name-function.
16627
4e05e67e
GM
166282011-03-21 Glenn Morris <rgm@gnu.org>
16629
16630 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16631 Doc fixes.
16632
4359915b
CY
166332011-03-21 Chong Yidong <cyd@stupidchicken.com>
16634
16635 * cus-theme.el: Add missing provide statement.
16636 (customize-create-theme): Extract theme value correctly.
16637 (custom-theme-visit-theme): Autoload.
16638 (customize-create-theme): Prompt before inserting default faces.
16639
1fe275ee
JB
166402011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16641
16642 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16643 units and musical notes.
16644
cd394be1 166452011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16646
16647 * ido.el (ido-read-internal): Use completing-read-default.
16648 (ido-completing-read): Fix compatibility with completing-read.
16649
7d476bde
CO
166502011-03-20 Christian Ohler <ohler@gnu.org>
16651
16652 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16653 (ert-delete-all-tests): Use `called-interactively-p' rather than
16654 `interactive-p'.
16655 (ert--make-xrefs-region): Respect END.
16656
fe0fb33e
CY
166572011-03-19 Chong Yidong <cyd@stupidchicken.com>
16658
ff854b0b
CY
16659 * dired-aux.el (dired-create-directory): Signal an error if the
16660 directory already exists (Bug#8246).
16661
fe0fb33e
CY
16662 * facemenu.el (list-colors-display): Call list-faces-display
16663 inside with-help-window.
16664 (list-colors-print): Use display property to align the final
16665 column, instead of checking window-width.
16666
576bce32
EZ
166672011-03-19 Eli Zaretskii <eliz@gnu.org>
16668
4d61f28d 16669 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16670 windows-nt systems.
16671 (emerge-protect-metachars): Quote correctly for ms-dos and
16672 windows-nt systems.
16673
89c41d68 166742011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16675
16676 * info.el (info-initialize): Replace all uses of `:' with
16677 path-separator for compatibility with non-Unix systems.
16678 Cache quoting of path-separator. (Bug#8258)
16679
b14e3e21 166802011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16681
16682 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16683 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16684 (mouse-avoidance-mode): Fix typos in docstrings.
16685
4525ce3e
CY
166862011-03-19 Chong Yidong <cyd@stupidchicken.com>
16687
16688 * startup.el (package-subdirectory-regexp): Move from package.el.
16689 Omit \\` and \\', and let callers add them.
16690
16691 * emacs-lisp/package.el (package-strip-version)
16692 (package-load-all-descriptors): Add \\` and \\' to
16693 package-subdirectory-regexp before using it.
16694 (package-untar-buffer): New arg DIR; ensure that file untars only
16695 into this expected directory. Remove superfluous delete-region.
16696 (package-unpack): Caller changed.
16697 (package-tar-file-info): Use package-subdirectory-regexp.
16698
a904a09a 166992011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16700
a904a09a
SM
16701 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16702 diff-mode-shared-map (bug#8284).
16703 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16704
167052011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16706
16707 * calendar/time-date.el (format-seconds): Use assoc instead of
16708 assoc-string, since assoc-string doesn't exist in XEmacs.
16709
171fc304
JB
167102011-03-17 Juanma Barranquero <lekktu@gmail.com>
16711
16712 * custom.el (custom-known-themes): Reflow docstring.
16713 (custom-theme-load-path): Fix typo in docstring.
16714 (load-theme): Fix typo in error message.
16715 (custom-available-themes, custom-variable-theme-value):
16716 Use `let', not `let*'.
16717
d71990a1
JB
167182011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16719
16720 * calc/README: Mention inclusion of musical notes.
16721
16722 * calc/calc-units.el (calc-lu-quant): Rename from
16723 `calc-logunits-quantity'.
16724 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16725 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16726 (calc-db): Rename from `calc-dblevel'.
16727 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16728 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16729 (calc-np): Rename from `calc-nplevel'.
16730 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16731 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16732 (calc-lu-plus): Rename from `calc-logunits-add'.
16733 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16734 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16735 (calc-lu-minus): Rename from `calc-logunits-sub'.
16736 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16737 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16738 (calc-lu-times): Rename from `calc-logunits-mul'.
16739 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16740 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16741 (calc-lu-divide): Rename from `calc-logunits-div'.
16742 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16743 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16744
16745 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16746 functions being autoloaded.
16747
16748 * calc/calc.el (calc-lu-power-reference): Rename from
16749 `calc-logunits-power-reference'.
16750 (calc-lu-field-reference): Rename from
16751 `calc-logunits-field-reference'.
16752
7a71b18d
GM
16753 * calc/calc-help.el (calc-l-prefix-help):
16754 Mention musical note functions.
d71990a1 16755
40c2934b
SM
167562011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16757
16758 * minibuffer.el (completion-all-sorted-completions):
16759 Use :completion-cycle-penalty text property if present.
16760
b0911414
KM
167612011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16762
16763 * allout.el (allout-yank-processing): Adjust for new rebulleting
16764 regime so bullet being yanked is used without prompting the user
16765 for a choice.
16766
8a05b668
JB
167672011-03-16 Juanma Barranquero <lekktu@gmail.com>
16768
16769 * startup.el (command-line): Warn the user that _emacs is deprecated.
16770
5ba5fb81
JB
167712011-03-16 Juanma Barranquero <lekktu@gmail.com>
16772
16773 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16774 (delphi-verbose, delphi-comment-face, delphi-string-face)
16775 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16776 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16777 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16778 (delphi-new-comment-line, delphi-font-lock-defaults)
16779 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16780 Fix typos in docstrings.
16781
2dab465b
KM
167822011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16783
5ba5fb81 16784 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16785 Invert the roles of character and string values for INSTEAD, so a
16786 string is used for the more common case of a defaulting prompt.
16787
0adf5618
SM
167882011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16789
16790 * progmodes/ruby-mode.el (ruby-backward-sexp):
16791 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16792 * play/gamegrid.el (gamegrid-make-face):
16793 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16794 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16795 * notifications.el (notifications-notify):
16796 * net/xesam.el (xesam-search-engines):
16797 * net/quickurl.el (quickurl-list-insert):
16798 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16799
d72700e5
CY
168002011-03-15 Chong Yidong <cyd@stupidchicken.com>
16801
16802 * startup.el (command-line): Update package subdirectory regexp.
16803
49c5410a
SM
168042011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16805
c6eee9aa
SM
16806 * allout.el (allout-abbreviate-flattened-numbering)
16807 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16808
49c5410a
SM
16809 * subr.el (read-char-choice): Only show the cursor after the prompt,
16810 not after the answer.
16811
047b2bb9
KR
168122011-03-15 Kevin Ryde <user42@zip.com.au>
16813
16814 * help-fns.el (variable-at-point): Skip leading quotes, if any
16815 (bug#8253).
16816
0a57d256
SM
168172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16820 warning message.
16821
77c992bc
MA
168222011-03-14 Michael Albinus <michael.albinus@gmx.de>
16823
16824 * shell.el (shell): When called interactively, offer to change the
16825 shell file name on remote hosts.
16826
eebc475d
TZ
168272011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16828
16829 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16830 integration for LDAP parameters. The host, base, user or binddn,
16831 and secret tokens can be specified in a netrc file, for instance.
16832 This is optional because an `auth-source' parameter must be
16833 specified in the search attributes.
16834
9d05d1ba
JB
168352011-03-13 Juanma Barranquero <lekktu@gmail.com>
16836
16837 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16838
09d9db2c
GM
168392011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16840
16841 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16842 into declaration. Remove redundant and harmful binding.
16843
168442011-03-12 Eli Zaretskii <eliz@gnu.org>
16845
16846 * files.el (file-ownership-preserved-p): Pass `integer' as an
16847 explicit 2nd argument to `file-attributes'. If the file's owner
16848 is the Administrators group on Windows, and the current user is
16849 Administrator, consider that a match.
16850
16851 * server.el (server-ensure-safe-dir): Consider server directory
16852 safe on MS-Windows if its owner is the Administrators group while
16853 the current Emacs user is Administrator. Use `=' to compare
16854 numerical UIDs, since they could be integers or floats.
16855
219bd536
JB
168562011-03-12 Juanma Barranquero <lekktu@gmail.com>
16857
16858 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16859
f3afd36b
MA
168602011-03-12 Michael Albinus <michael.albinus@gmx.de>
16861
16862 Sync with Tramp 2.2.1.
16863
16864 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16865
16866 * net/trampver.el: Update release number.
16867
3aaaa6f1
SM
168682011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16869
94642599
SM
16870 * progmodes/compile.el (compilation--previous-directory): Fix up
16871 various nil/dead-marker mismatches (bug#8014).
16872 (compilation-directory-properties, compilation-error-properties):
16873 Don't call it at a position past the one we're about to change.
16874
3aaaa6f1
SM
16875 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16876 Disable obsolescence warnings in the file that declares it.
16877
14239447
KM
168782011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16879
099c39a4
JB
16880 * allout-widgets.el (allout-widgets-tally):
16881 Initialize allout-widgets-tally as a hash table rather than nil to
16882 prevent mode-line redisplay warnings. Also, clarify the module
16883 description and fix a comment typo.
14239447 16884
135e287c
JB
168852011-03-11 Juanma Barranquero <lekktu@gmail.com>
16886
16887 * help-fns.el (describe-variable): Don't complete keywords.
16888 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16889
ffbf300e
CY
168902011-03-10 Chong Yidong <cyd@stupidchicken.com>
16891
ba08b241
CY
16892 * emacs-lisp/package.el (package-version-join): Impose a standard
16893 string representation for pre/alpha/beta version lists.
16894 (package-unpack-single): Standardize the directory name by passing
16895 it through package-version-join.
16896 (package-strip-rcs-id): Accept any version string that does not
16897 signal an error in version-to-list.
ffbf300e 16898
f346fd6b
MA
168992011-03-10 Michael Albinus <michael.albinus@gmx.de>
16900
16901 * simple.el (delete-trailing-whitespace): Return nil for the
16902 benefit of `write-file-functions'.
16903
ccb55d27
GM
169042011-03-10 Glenn Morris <rgm@gnu.org>
16905
5ceaac0c
GM
16906 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16907
02da65ff
GM
16908 * vc/vc-git.el (vc-git-program): New option.
16909 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16910 (vc-git--call): Use it.
16911
b2f603cc
GM
16912 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16913
5772caab
GM
16914 * cus-edit.el (Custom-newline): If no button at point, look
16915 for a subgroup button at start-of-line. (Bug#2298)
16916
ccb55d27
GM
16917 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16918
ec6ecaed
JD
169192011-03-10 Julien Danjou <julien@danjou.info>
16920
16921 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16922 `cursor-type' is nil.
16923
9d5aa01d
JB
169242011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16925
16926 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16927
b6a5875b
KM
169282011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16929
7a71b18d 16930 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16931 preserves the existing header prefix, rebulleting it if necessary,
16932 rather than replacing it. This is necessary for proper operation
16933 of cooperative addons like allout-widgets.
1154d12e
JB
16934 (allout-make-topic-prefix, allout-rebullet-heading):
16935 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16936 value as alternate bullet to be used, instead of prompting the user
16937 for a bullet character.
b6a5875b 16938
ee545c35
MA
169392011-03-09 Michael Albinus <michael.albinus@gmx.de>
16940
d86d2721
SM
16941 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16942 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16943 `tramp-default-port'.
16944
c47971d7
DD
169452011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16946
16947 * net/rcirc.el (rcirc-handler-001): Remove useless
16948 with-rcirc-process-buffer.
16949 (rcirc-check-auth-status): Swap arguments to string-match.
16950
13522cb4
GM
169512011-03-09 Glenn Morris <rgm@gnu.org>
16952
0be6f4f1
GM
16953 * shell.el (shell-mode):
16954 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16955
13522cb4
GM
16956 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16957 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16958
515de2e3
CY
169592011-03-08 Chong Yidong <cyd@stupidchicken.com>
16960
16961 * emacs-lisp/package.el (package-refresh-contents)
16962 (package-menu-execute): Use condition-case-no-debug.
16963
b511b994
MA
169642011-03-08 Michael Albinus <michael.albinus@gmx.de>
16965
16966 * simple.el (shell-command-to-string): Use `process-file'.
16967
16968 * emacs-lisp/package.el (package-tar-file-info): Handle also
16969 remote files.
16970
d86d2721
SM
16971 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16972 Use `equal' for upload base check.
b511b994 16973
25bbfb31
AM
169742011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16975
16976 * textmodes/texinfo.el (texinfo-environments):
16977 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16978
be996521
GM
169792011-03-08 Glenn Morris <rgm@gnu.org>
16980
e9c8529f
GM
16981 * cus-start.el (cursor-in-non-selected-windows):
16982 Fix :set quoting oddness. (Bug#8192)
16983
be996521
GM
16984 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16985 in some setf expressions. (Bug#2159)
16986
2bb5649e
CY
169872011-03-08 Chong Yidong <cyd@stupidchicken.com>
16988
16989 * custom.el (custom-available-themes): Return themes in
16990 alphabetical order.
16991
33383987 16992See ChangeLog.15 for earlier changes.
e3d51b27
MR
16993
16994;; Local Variables:
16995;; coding: utf-8
e3d51b27
MR
16996;; End:
16997
acaf905b 16998 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16999
17000 This file is part of GNU Emacs.
17001
17002 GNU Emacs is free software: you can redistribute it and/or modify
17003 it under the terms of the GNU General Public License as published by
17004 the Free Software Foundation, either version 3 of the License, or
17005 (at your option) any later version.
17006
17007 GNU Emacs is distributed in the hope that it will be useful,
17008 but WITHOUT ANY WARRANTY; without even the implied warranty of
17009 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17010 GNU General Public License for more details.
17011
17012 You should have received a copy of the GNU General Public License
17013 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.