* lisp.h (STRING_BYTES_BOUND): Cast entire result to ptrdiff_t.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9052f9f0
JB
12012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2
1823ac5a
JB
3 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4 (calc-set-mode-line): Don't display "AlgSimp ".
5
6 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7 (calc-lim-simplify-mode): New function.
8 (calc-set-simplify-mode): Default to 'alg.
9 (calc-default-simplify-mode): Make algebraic simplifications
10 the default.
11
12 * calc/calc-ext.el (calc-init-extensions): Remove binding for
13 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
14
4b337409
JB
15 * calc/calc-help (calc-m-prefix-help): Change messages to
16 indicate new simplification modes.
17
1823ac5a
JB
18 * calc/README: Mention new default simplification mode.
19
9052f9f0
JB
20 * calc/calc.el (math-normalize-error): New variable.
21 (math-normalize): Set `math-normalize-error' to t
22 when there's an error.
23
24 * calc/calc-alg.el (math-simplify): Don't simplify when
25 `math-normalize' returns an error.
26
20ba0cb4
EZ
272012-07-29 Eli Zaretskii <eliz@gnu.org>
28
29 * international/mule-cmds.el (set-locale-environment): Revert last
30 change, since display-graphic-p returns nil when this function is
31 called during startup. Instead...
32
33 * term/w32console.el (terminal-init-w32console): ...setup the
34 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
35
a5dcc929
JL
362012-07-29 Juri Linkov <juri@jurta.org>
37
38 * simple.el (goto-line): Don't display default line number in the
39 prompt because it should be displayed by `read-number' (bug#9952).
40 Add the current line number to the defaults of `goto-line' to
41 allow its easier modification by users with `M-n' (bug#9201).
42
43 * subr.el (read-number): Support multiple default values like in
44 other minibuffer reading functions. Replace `read' with
45 `string-to-number' for consistency with `number-to-string'.
46
72b255c7
PE
472012-07-29 Paul Eggert <eggert@cs.ucla.edu>
48
49 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
50 * emulation/viper-init.el (viper-deactivate-input-method-action):
51 Rename from viper-inactivate-input-method-action.
52 (viper-deactivate-input-method):
53 Rename from viper-inactivate-input-method.
54 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
55 * international/mule-cmds.el (deactivate-input-method):
56 Rename from inactivate-input-method.
57 Also run input-method-deactivate-hook.
58 (deactivate-current-input-method-function):
59 Rename from inactivate-current-input-method-function.
60 (input-method-deactivate-hook): New hook.
61 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
62 (inactivate-input-method): Mark obsolete.
63
72b255c7
PE
64 * international/quail.el (quail-activate):
65 Also run quail-deactivate-hook.
66 (quail-deactivate): Rename from quail-inactivate.
67 * international/robin.el (robin-activate):
68 Also run robin-deactivate-hook.
69 (robin-deactivate): Rename from robin-inactivate.
70
2549c068
CY
712012-07-29 Chong Yidong <cyd@gnu.org>
72
73 * simple.el (indicate-copied-region): New function.
74 (kill-ring-save): Split off from here.
75
76 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
77 (kill-rectangle): Set deactivate-mark to t on read-only error.
78
79 * register.el (copy-to-register, copy-rectangle-to-register):
80 Deactivate the mark, and use indicate-copied-region (Bug#10056).
81 (append-to-register, prepend-to-register): Call
82
17711ed9
JL
832012-07-29 Juri Linkov <juri@jurta.org>
84
85 * simple.el (async-shell-command-buffer): New defcustom.
86 (shell-command): Use it. (Bug#4719)
87
01bd1b0d
EZ
882012-07-28 Eli Zaretskii <eliz@gnu.org>
89
90 * international/mule-cmds.el (set-locale-environment): In a
91 console session on MS-Windows, set up keyboard and terminal
92 encoding from the OEM codepage, not the ANSI codepage.
93 (Bug#12055)
94
a55739d3
CY
952012-07-28 Chong Yidong <cyd@gnu.org>
96
97 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
98 gdb-get-location.
99
9a0f8f2e
LL
1002012-07-25 Leo Liu <sdl.web@gmail.com>
101
102 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
103 the alist (bug#12029).
104
20329d73
EZ
1052012-07-28 Eli Zaretskii <eliz@gnu.org>
106
107 * makefile.w32-in (custom-deps, finder-data, updates, compile)
108 (compile-always, compile-first)
109 ($(lisp)/calendar/cal-loaddefs.el)
110 ($(lisp)/calendar/diary-loaddefs.el)
111 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
112 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
113 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
114 instead of on update-subdirs.
115 (bootstrap-clean): Delete $(lisp)/subdirs.el.
116
345a2258
CY
1172012-07-28 Chong Yidong <cyd@gnu.org>
118
1eee6341
CY
119 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
120 directory if vc-deduce-backend returns nil (Bug#7350).
121
345a2258
CY
122 * simple.el (delete-trailing-lines): New option.
123 (delete-trailing-whitespace): Obey it (Bug#11879).
124
049a0936
DE
1252012-07-28 David Engster <deng@randomsample.de>
126
127 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
128 Explanation of new 'symbol-qnames feature in doc-strings.
129 (xml-maybe-do-ns): Return expanded names as plain symbols if
130 'symbol-qnames was provided in XML-NS argument (Bug#11916).
131 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
132
aa81af71
FEG
1332012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
134
135 Consistent completion in inferior python with emacs -nw.
136 * progmodes/python.el (inferior-python-mode): replace "<tab>"
137 binding in inferior-python-mode-map with "\t".
138 (python-shell-completion-complete-at-point)
139 (python-completion-complete-at-point): Remove interactive spec.
140
e827b1eb
JB
1412012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
142
143 * calc/calccomp.el (math-compose-expr): Undo previous change.
144
a90dfb95
FEG
1452012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
146
147 * progmodes/python.el (python-mode-map): Added keybinding for
148 run-python.
149 (python-shell-make-comint): Fix pop-to-buffer call.
150 (run-python): Autoload. New arg SHOW.
151 (python-shell-get-or-create-process): Do not pop python process
152 buffer.
153
32770973 1542012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
155
156 * notifications.el (notifications-on-action-signal)
157 (notifications-on-closed-signal): Use also the bus address for the map.
158 (notifications-notify, notifications-close-notification)
159 (notifications-get-capabilities): Add optional argument BUS.
160
86332df2
TH
1612012-07-27 Tassilo Horn <tsdh@gnu.org>
162
163 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
164 support for the lstlisting and minted environments, and for the
165 ctable macro.
166 * textmodes/reftex.el (reftex-compile-variables): Also recognize
167 labels written in keyvals syntax.
168
ca1302a4
JB
1692012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
170
171 * calc/calccomp.el (math-compose-expr): Use parentheses when
172 there is a product in the denominator of a fraction.
173
f8b91036
EZ
1742012-07-26 Eli Zaretskii <eliz@gnu.org>
175
176 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
177 ($(lisp)/calendar/diary-loaddefs.el)
178 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
179 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
180 failures in parallel bootstrap because subdirs.el is being
181 rewritten while the autoload files are built at the same time,
182 which needs to load subdirs.el.
183
c8e5a42c
MR
1842012-07-26 Martin Rudalics <rudalics@gmx.at>
185
186 * mouse.el (popup-menu): Fix doc-string and re-indent code.
187 (mouse-drag-line): Don't exit tracking when a switch-frame or
188 switch-window event occurs (Bug#12006).
189
670d85ea
SM
1902012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * mouse.el (popup-menu): Fix last change.
193
7abaf5cc
SM
1942012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 Autoload from Lisp with more care. Follow aliases when looking for
197 function properties.
198 * subr.el (autoloadp): New function.
199 (symbol-file): Use it.
200 (function-get): New function.
201 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
202 autoload-do-load.
203 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
204 (lisp-indent-function):
205 * emacs-lisp/gv.el (gv-get):
206 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
207 * emacs-lisp/byte-opt.el (byte-optimize-form):
208 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
209 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
210 Use function-get.
211 * emacs-lisp/cl.el: Don't propagate function properties any more.
212
213 * speedbar.el (speedbar-add-localized-speedbar-support):
214 * emacs-lisp/disass.el (disassemble-internal):
215 * desktop.el (desktop-load-file):
216 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
217 (describe-function-1):
218 * emacs-lisp/find-func.el (find-function-noselect):
219 * emacs-lisp/elp.el (elp-instrument-function):
220 * emacs-lisp/advice.el (ad-has-proper-definition):
221 * apropos.el (apropos-safe-documentation, apropos-macrop):
222 * emacs-lisp/debug.el (debug-on-entry):
223 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
224 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
225 * calc/calc.el (name): Use autoloadp & autoload-do-load.
226
b1364986
AA
2272012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
228
229 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
230 function, not an obsolete variable (Bug#12046).
231
67ada220
AS
2322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
233
234 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
235
f08088e3
CS
2362012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
237
238 * emacs-lisp/pp.el (pp-display-expression): Select old selected
239 window only if it is still live (Bug#12034).
240
8137e7b3
MR
2412012-07-25 Martin Rudalics <rudalics@gmx.at>
242
243 * subr.el (redirect-frame-focus): Add advertised calling
244 convention (Bug#12030).
245
09ae5da1
PE
2462012-07-25 Paul Eggert <eggert@cs.ucla.edu>
247
248 Prefer typical American spelling for "acknowledgment".
249 * vc/add-log.el (change-log-acknowledgment): Rename from
250 change-log-acknowledgement, with an alias for the old name.
251
3cc5a3a8
JB
2522012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
253
254 * calc-alg.el (math-simplify-divide): Don't cross multiply
255 in an equation when the lhs is a variable.
256
b7af7f62
JD
2572012-07-24 Julien Danjou <julien@danjou.info>
258
259 * net/netrc.el (netrc-find-service-number, netrc-store-data):
260 Remove, unused.
261
ec1b09b1
EZ
2622012-07-23 Eli Zaretskii <eliz@gnu.org>
263
264 * startup.el (command-line): Don't display an empty user name in
265 the error message about non-existent home directory, when
266 init-file-user was set to an empty string. See
267 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
268 for the details and context.
269
b525fd8a
VB
2702012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
271
272 * ses.el (ses-cell-formula-aset): New macro.
273 (ses-cell-references-aset): New macro.
274 (ses-cell-p): New function.
275 (ses-rename-cell): Do no longer rely on complex operations like
276 ses-cell-set-formula or ses-set-cell to change the cell and handle
277 the undo at the same time, but rather use lower level new macros
278 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
279 the undo directly. Refresh the mode line.
280
2c73e345
LL
2812012-07-21 Leo Liu <sdl.web@gmail.com>
282
670d85ea
SM
283 * progmodes/cc-cmds.el (c-defun-name):
284 Use match-string-no-properties instead for consistency.
2c73e345 285
542dfbde
LL
2862012-07-20 Leo Liu <sdl.web@gmail.com>
287
3646bcd6
LL
288 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
289 (Bug#7879)
290
542dfbde
LL
291 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
292
25721031
CY
2932012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
296 * progmodes/bug-reference.el, misearch.el: Provide themselves
297 (bug#11915).
298
299 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
300 of narrowed buffer (bug#11966).
301
316e68a7
VB
3022012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
303
304 * ses.el (ses-rename-cell): Set new name also in reference list of
305 cells of which the renamed cell depends.
306
bbf0e7d9
MY
3072012-07-20 Masatake YAMATO <yamato@redhat.com>
308
309 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
310 to check whether menu-bar is shown or not. If not shown,
311 show the menu-bar as a popup menu instead of using tmm.
312 * mouse.el (popup-menu): Accept `point' as `position' argument.
313
c28662a8
DG
3142012-07-20 Dmitry Gutov <dgutov@yandex.ru>
315
316 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
317 up inside string symbol literal (bug#11923).
318
87ab808f
EZ
3192012-07-20 Eli Zaretskii <eliz@gnu.org>
320
321 * startup.el (fancy-startup-text): Read the whole tutorial, not
322 just its first 256 bytes. Prevents gibberish in display of the
323 tutorial title.
324
89dea803
DA
3252012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
326
327 Drop idle buffer compaction due to an absence of the
328 proved efficiency.
329 * compact.el: Remove.
330
8a4e6db8
SS
3312012-07-19 Sam Steingold <sds@gnu.org>
332
333 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
334 vc-bzr-pull & vc-bzr-merge-branch.
335 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
336 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
337 for consistency with compilation-error-regexp-alist.
338 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
339 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
340 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
341 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
342
5db81e33
SM
3432012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 * emacs-lisp/chart.el: Use lexical-binding.
346 (chart-emacs-storage): Don't hardcode the list of entries.
347
5b835e1d
DA
3482012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
349
350 Next round of tweaks caused by Fgarbage_collect changes.
351 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
352
9cd47b72
DA
3532012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
354
355 Compact buffers when idle.
356 * compact.el: New file.
357
1d6fc0df
SM
3582012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
359
360 * subr.el (eventp): Presume that if it looks vaguely like an event,
361 it's an event (bug#10190).
362
1d29cc7d
FEG
3632012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
364
365 Enhancements to ppss related code (thanks Stefan).
366 * progmodes/python.el (python-indent-context)
367 (python-indent-calculate-indentation, python-indent-dedent-line)
368 (python-indent-electric-colon, python-nav-forward-block)
369 (python-mode-abbrev-table)
1d6fc0df 370 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
371 for ppss context.
372 (python-info-continuation-line-p): Cleanup.
373 (python-info-ppss-context): Do not catch 'quote.
374 (python-info-ppss-context-type)
375 (python-info-ppss-comment-or-string-p): Simplify.
376
d583cbe6
FEG
3772012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
378
379 * progmodes/python.el: Enhancements to eldoc support.
380 (python-info-current-symbol): New function.
381 (python-eldoc-at-point): Use python-info-current-symbol.
382 (python-info-current-defun): Fix cornercase on first defun scan.
383 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
384 and signal error when no inferior python process is available.
385
eceb6feb
DG
3862012-07-18 Dmitry Gutov <dgutov@yandex.ru>
387
388 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
389 assume it's always t.
390 (vc-git-registered): Remove caching, the function is only called
391 once.
392 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
393
4c8ff0fe
CY
3942012-07-18 Chong Yidong <cyd@gnu.org>
395
19fb7186
CY
396 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
397
9587c688
CY
398 * simple.el (count-words): Report on narrowing (Bug#9959).
399
0fe776a1
CY
400 * bindings.el: Bind M-= to count-words.
401
4c8ff0fe
CY
402 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
403
7f5331cc
MY
4042012-07-18 Masatake YAMATO <yamato@redhat.com>
405
406 * progmodes/sh-script.el (sh-imenu-generic-expression):
407 Capture a function with `function' keyword and without parentheses
408 like "function FOO" (bug#11856).
409
2dc2a609
TH
4102012-07-18 Tassilo Horn <tassilo@member.fsf.org>
411
412 * window.el (split-window-sensibly): Make WINDOW argument
413 optional.
414
439f7677
CY
4152012-07-18 Chong Yidong <cyd@gnu.org>
416
9aeb25a6
CY
417 * subr.el (keyboard-translate): Doc fix (Bug#7261).
418
439f7677
CY
419 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
420 and make C-x 8 RET exit isearch (Bug#11439).
421
422 * international/iso-transl.el: Move isearch-mode-map key
423 definitions to isearch.el.
424
12999ea8
SM
4252012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
428 (eieio-defclass): Use gv-define-setter when possible.
429
3ab6e069
DA
4302012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
431
432 Reflect recent changes in Fgarbage_collect.
433 * emacs-lisp/chart.el (chart-emacs-storage): Change to
434 reflect new format of data returned by Fgarbage_collect.
435
0a60bc10
FEG
4362012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
437
438 New utility functions + python-info-ppss-context fix (Bug#11910).
439 * progmodes/python.el (python-info-beginning-of-block-statement-p)
440 (python-info-ppss-comment-or-string-p): New functions.
441 (python-info-ppss-context): Small fix for string check.
442
6dafa0d5
JL
4432012-07-17 Juri Linkov <juri@jurta.org>
444
445 * dired-aux.el (dired-do-async-shell-command): Doc fix.
446 (dired-do-async-shell-command): Don't add `*' at the end of the
447 command (Bug#11815).
448 (dired-do-shell-command): Doc fix.
449 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
450 Join the individual commands using either "&" or ";" as the
451 separator depending on the values of these trailing characters.
452 At the end re-add the trailing "&". (Bug#10598)
453
454 * simple.el (async-shell-command): Sync the interactive spec with
455 `shell-command'. Doc fix.
456 (shell-command): Doc fix.
457
b19dd9d1
JL
4582012-07-17 Juri Linkov <juri@jurta.org>
459
460 * descr-text.el (describe-char): Fix format args. (Bug#10129)
461
bcdc27d7 4622012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 463
bcdc27d7 464 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
465 * progmodes/python.el (python-nav-beginning-of-statement):
466 Rename from python-nav-statement-start.
bcdc27d7
FEG
467 (python-nav-end-of-statement): Rename from
468 python-nav-statement-end.
469 (python-nav-beginning-of-block): Rename from
470 python-nav-block-start.
471 (python-nav-end-of-block): Rename from python-nav-block-end.
472
191da00e
FEG
4732012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
474
7f5331cc
MY
475 * progmodes/python.el (python-shell-send-string-no-output):
476 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
477 future interactions (Bug#11868).
478
4dc7c8d5 4792012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 480
88ecaf8f
SM
481 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
482
ef501ef0
SM
483 * emacs-lisp/elint.el (elint-find-args-in-code):
484 Use help-function-arglist, so as to handle lexical byte-code.
485
aa7aaf8f
SM
486 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
487 change (bug#11826).
488
45fd731c
SM
4892012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
490
2143fa32
SM
491 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
492 Avoid spuriously marking the buffer as modified because of c-is-sws.
493
efc26dbe
SM
494 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
495 as not-a-comment (bug#11946).
496
f5695c9a
SM
497 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
498 for uninterned vars.
499
500 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
501 Use read-event since we don't really want to read chars but bytes.
502
45fd731c
SM
503 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
504 $$..$$ but also $..$ using regexps (bug#11953).
505 Use tex-verbatim for \url and \path.
506 (tex-font-lock-keywords): Define as defconst like the others.
507 (tex-common-initialization): Don't use font-lock-syntax-table any more.
508
ddfc8813
RK
5092012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
510
511 * international/mule-cmds.el (ucs-insert): Make it an obsolete
512 alias for insert-char.
513
758e556a
FEG
5142012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
515
516 * progmodes/python.el: Simplified imenu implementation.
517 (python-nav-jump-to-defun): Remove command.
518 (python-mode-map): Use `imenu' instead.
519 (python-nav-list-defun-positions-cache)
520 (python-imenu-include-defun-type, python-imenu-make-tree)
521 (python-imenu-subtree-root-label, python-imenu-index-alist):
522 Remove vars.
523 (python-nav-list-defun-positions, python-nav-read-defun)
524 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
525 (python-imenu-make-tree, python-imenu-create-index):
526 Remove functions.
758e556a
FEG
527 (python-mode): Update to interact with imenu by setting
528 `imenu-extract-index-name-function' only.
529
032d23ab
FEG
5302012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
531
532 * progmodes/python.el: Enhancements to navigation commands.
533 (python-nav-backward-sentence)
534 (python-nav-forward-sentence): Remove.
535 (python-nav-backward-statement, python-nav-forward-statement)
536 (python-nav-statement-start, python-nav-statement-end)
537 (python-nav-backward-block, python-nav-forward-block)
538 (python-nav-block-start, python-nav-block-end)
539 (python-nav-forward-sexp-function)
540 (python-info-current-line-comment-p)
541 (python-info-current-line-empty-p): New functions.
542 (python-indent-context): Use `python-nav-statement-start'.
543
01795a1b
MA
5442012-07-16 Michael Albinus <michael.albinus@gmx.de>
545
9328d9aa
MA
546 * eshell/em-ls.el (eshell/ls): Use `apply'.
547
548 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
549 multi-hops, instead of Tramp internals.
550
01795a1b
MA
551 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
552
553 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
554 when F1 and F2 are located on different hosts.
555
63408057
CY
5562012-07-14 Chong Yidong <cyd@gnu.org>
557
558 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
559 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
560 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
561 (xterm-mouse--read-event-sequence-1000)
562 (xterm-mouse--read-event-sequence-1006): New functions. For old
563 mouse protocol, handle M-mouse-X events correctly.
564 (xterm-mouse-event): New arg specifying mouse protocol.
565 (turn-on-xterm-mouse-tracking-on-terminal)
566 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
567 sequence to toggle extended coordinates on newer XTerms.
568 This appears to be harmless on terminals which do not support this.
63408057 569
cd276f6e
LL
5702012-07-14 Leo Liu <sdl.web@gmail.com>
571
28ca98ac
LL
572 Add fringe bitmap indicators for flymake. (Bug#11253)
573 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
574 (flymake-make-overlay): New arg BITMAP.
575 (flymake-error-bitmap, flymake-warning-bitmap)
576 (flymake-fringe-indicator-position): New user variables.
577
cd276f6e
LL
578 * fringe.el: New bitmap exclamation-mark.
579
04408072
JD
5802012-07-14 Jan Djärv <jan.h.d@swipnet.se>
581
582 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
583 also (Bug#7879).
584
b5cf7fc4
CY
5852012-07-14 Chong Yidong <cyd@gnu.org>
586
587 * electric.el (electric-pair-post-self-insert-function): Fix pair
588 insertion in empty-region case (Bug#11520).
589
be755c79
RT
5902012-07-14 Chong Yidong <cyd@gnu.org>
591
45fd731c
SM
592 * bindings.el: Consolidate ctl-x-r-map bindings.
593 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
594
595 * rect.el, register.el: Move bindings to bindings.el.
596
5972012-07-14 Reuben Thomas <rrt@sc3d.org>
598
599 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
600
7f5b3198
AS
6012012-07-13 Andreas Schwab <schwab@linux-m68k.org>
602
603 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
604
97662200
JB
6052012-07-13 Juanma Barranquero <lekktu@gmail.com>
606
80185fed
JB
607 * bindings.el (top): Use `mapc' instead of `mapcar'.
608
97662200
JB
609 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
610
2bb1ae55
MA
6112012-07-13 Michael Albinus <michael.albinus@gmx.de>
612
613 * progmodes/sql.el (sql-comint): Suppress the check for program on
614 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
615 (Bug#11908)
616
dea31bd3
CY
6172012-07-13 Chong Yidong <cyd@gnu.org>
618
619 * bindings.el: Assign a non-nil permanent-local property to
620 per-buffer variables which lack a default value (Bug#11930).
621
622 * help-fns.el (describe-variable): In the "automatically becomes
623 local" notice, take note of permanent-local variables.
624
b68b3337
CY
6252012-07-13 Chong Yidong <cyd@gnu.org>
626
627 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
628 to allow printing the message when called from Lisp.
629
630 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
631 Remove toggle-read-only.
632
633 * bs.el (bs-toggle-readonly):
45fd731c
SM
634 * buff-menu.el (Buffer-menu-toggle-read-only):
635 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
636
637 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
638 Remove with-no-warnings around toggle-read-only.
639 (ffap-read-only, ffap-read-only-other-window)
640 (ffap-read-only-other-frame): Callers changed.
641
642 * help-mode.el: Don't require view package.
643 (help-mode-finish): Set buffer-read-only instead of calling
644 toggle-read-only.
645
646 * bindings.el (mode-line-toggle-read-only):
647 * dired.el (dired-toggle-read-only):
648 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
649 with non-nil second arg.
650
651 * emacs-lisp/eieio-custom.el (eieio-customize-object):
652 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
653 directly.
654
56bc1586
EZ
6552012-07-12 Eli Zaretskii <eliz@gnu.org>
656
657 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
658 not incf.
659
a464a6c7
SM
6602012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 More CL cleanups and reduction of use of cl.el.
663 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
664 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
665 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
666 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
667 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
668 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
669 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
670 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
671 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
672 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
673 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
674 * eshell/em-cmpl.el, eshell/em-banner.el:
675 * calendar/parse-time.el: Use cl-lib.
676 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
677 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
678 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
679 * term/ns-win.el, term.el, shell.el, ps-samp.el:
680 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
681 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
682 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
683 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
684 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
685 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
686 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
687 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
688 `lambda' rather than with `quote'.
689 (eshell-do-opt): Adjust accordingly.
690 (eshell-process-option): Simplify.
691 * eshell/esh-var.el:
692 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
693 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
694 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
695 to `pcase--dontcare'.
696 * emacs-lisp/cl.el (labels): Mark obsolete.
697 (cl--letf, letf): Move to cl-lib.
698 (cl--letf*, letf*): Remove.
699 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
700 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
701 (cl-progv): Rewrite.
702 (cl--letf, cl-letf): Move from cl.el.
703 (cl-letf*): New macro.
704 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
705
7ad4afe1
MA
7062012-07-11 Michael Albinus <michael.albinus@gmx.de>
707
708 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
709
9af57756
CY
7102012-07-11 Chong Yidong <cyd@gnu.org>
711
712 * vc/log-edit.el (log-edit-vc-backend): New variable.
713 (log-edit): Doc fix.
714
715 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
716 argument of log-edit to set up all local variables.
717 (vc-start-logentry): New optional arg specifying VC backend.
718
719 * vc/vc.el (vc-checkin): Use it.
720 (vc-deduce-fileset): Handle Log Edit buffers.
721 (vc-diff): Make first argument optional too.
722
723 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
724
8477cc7a
MA
7252012-07-10 Michael Albinus <michael.albinus@gmx.de>
726
727 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
728 command, just in case. The function is not needed anymore.
729 (eshell-external-command): Do not call `eshell-remote-command'.
730
19faa8e8
SM
7312012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
732
f58e0fd5
SM
733 Reduce use of (require 'cl).
734 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
735 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
736 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
737 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
738 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
739 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
740 * battery.el, avoid.el, abbrev.el: Use cl-lib.
741 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
742 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
743 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
744 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
745 * calculator.el, autorevert.el, apropos.el: Don't require CL.
746 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
747 (byte-compile-unfold-bcf, byte-compile-check-variable):
748 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
749 (byte-compile-nilconstp):
750 * emacs-lisp/autoload.el (make-autoload): Use pcase.
751 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
752
2519d43a
SM
753 * emacs-lisp/gv.el (cond): Make it a valid place.
754 (if): Simplify slightly.
755
19faa8e8
SM
756 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
757 (pcase--self-quoting-p): New function.
758 (pcase--u1): Use it.
759
c4907a5e
GM
7602012-07-10 Glenn Morris <rgm@gnu.org>
761
762 * emacs-lisp/authors.el (authors-fixed-entries):
763 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
764
c4444d16
PE
7652012-07-09 Paul Eggert <eggert@cs.ucla.edu>
766
767 Rename configure.in to configure.ac (Bug#11603).
768 * emacs-lisp/authors.el (authors-canonical-file-name):
769 * progmodes/autoconf.el (autoconf-mode):
770 Prefer configure.ac to configure.in.
771
d75be97d
CY
7722012-07-08 Chong Yidong <cyd@gnu.org>
773
01ac65bd
CY
774 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
775 Implement the mouse-1-click-follows-link handling properly.
776
777 * info.el (Info-link-keymap): Use follow-link mechanism for
778 header-line links (Bug#374).
779
d75be97d
CY
780 * simple.el (deactivate-mark): Do not set the primary selection
781 if another program has acquired it (Bug#11772).
782
87a92845 7832012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
784
785 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
786 (woman-decode-region): Replace escaped-escapes without destroying
787 bold or underline (Bug#11552).
87a92845 788 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 789
621b9d6c
CY
7902012-07-07 Chong Yidong <cyd@gnu.org>
791
792 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
793 (interprogram-cut-function, interprogram-paste-function):
794 Mention that we typically mean the clipboard.
621b9d6c 795
133a11fc
GM
7962012-07-06 Glenn Morris <rgm@gnu.org>
797
0d27a45e
GM
798 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
799
133a11fc
GM
800 * files.el (toggle-read-only): Restrict message to interactive use.
801
07b151f1
MA
8022012-07-06 Michael Albinus <michael.albinus@gmx.de>
803
804 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
805
806 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
807
211b896b
GM
8082012-07-06 Glenn Morris <rgm@gnu.org>
809
50394322
GM
810 * Makefile.in (compile-one-process): Rename from "recompile".
811
211b896b
GM
812 * Makefile.in (bzr-update): "compile" is the same as "recompile
813 autoloads", but parallelizable, so use that instead.
814
4737eec9
DG
8152012-07-06 Dmitry Gutov <dgutov@yandex.ru>
816
817 * window.el (quit-window): Always restore window height when
8137e7b3 818 it's saved in quit-restore parameter (Bug#11810).
4737eec9 819
226c3633 8202012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
821
822 * simple.el (kill-whole-line): Doc tweak.
823
226c3633 8242012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
825
826 * files.el (file-relative-name): Compare file names
827 case-insensitively if on MS-Windows or MS-DOS, or if
828 read-file-name-completion-ignore-case is non-nil. Don't use
829 case-fold-search for this purpose. (Bug#11827)
830
4dc7c8d5
SM
8312012-07-17 Andreas Schwab <schwab@linux-m68k.org>
832
833 * calendar/cal-dst.el (calendar-current-time-zone):
834 Return calendar-current-time-zone-cache if non-nil.
835
8362012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 8372012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 838
19faa8e8
SM
839 * calendar/cal-dst.el (calendar-current-time-zone):
840 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 841
60198fc9
GM
8422012-07-06 Glenn Morris <rgm@gnu.org>
843
844 * Makefile.in (cvs-update): Remove old alias.
845
957b3189
MA
8462012-07-05 Michael Albinus <michael.albinus@gmx.de>
847
848 Sync with Tramp 2.2.6-pre.
849
850 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
851 compatible declaration.
852
19faa8e8
SM
853 * net/tramp-cmds.el (tramp-append-tramp-buffers):
854 Protect `list-load-path-shadows' call.
957b3189
MA
855
856 * net/tramp-compat.el (top): Require packages, which aren't
857 autoloaded anymore for XEmacs. Protect call of
858 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
859 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
860 it hurts at least for SXEmacs.
861 (tramp-compat-temporary-file-directory): In XEmacs, there is no
862 standard-value for `temporary-file-directory'.
863
864 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
865 Redirect stderr to /dev/null.
866 (tramp-sh-handle-write-region): uid and gid can be floats.
867 Reported by Russell Sim <russell.sim@gmail.com>.
868 (tramp-sh-handle-vc-registered): Hide errors.
869 (tramp-vc-file-name-handler): Use dummy results for `process-file'
870 and `start-file-process'.
871 (tramp-maybe-open-connection): Check also whether `non-essential'
872 is bound.
873
566df3fc
CY
8742012-07-04 Chong Yidong <cyd@gnu.org>
875
876 * xml.el (xml--parse-buffer): Use xml-syntax-table.
877 (xml-parse-tag): Likewise, and avoid changing entity tables.
878 (xml-syntax-table): Define from scratch, making sure not to give
879 x2000 and other Unicode spaces whitespace syntax, since those are
880 not spaces in XML.
881 (xml-parse-fragment): Delete unused function.
882 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
883 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
884 (xml-entity-ref, xml-pe-reference-re)
885 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
886 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
887 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
888 (xml-entity-value-re): Use syntax references in regexps where
889 possible; no need to define inside a let-binding.
890 (xml-parse-dtd): Use xml-pe-reference-re.
891 (xml-entity-or-char-ref-re): New defconst.
892 (xml-parse-string, xml-substitute-special): Use it.
893
30eabd7a
SM
8942012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
895
0781098a
SM
896 * files.el (locate-dominating-file): Allow `name' to be a predicate.
897 (find-file--read-only): New function.
898 (find-file-read-only, find-file-read-only-other-window)
899 (find-file-read-only-other-frame): Use it.
900 (insert-file-contents-literally): Don't `fset'.
901 (get-free-disk-space): Use locate-dominating-file.
902
b5771c0d
SM
903 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
904 function is already compiled.
905
30eabd7a
SM
906 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
907
b4886f6e
MA
9082012-07-03 Michael Albinus <michael.albinus@gmx.de>
909
910 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
911 files on the same host.
912
b9d82339
AS
9132012-07-03 Andreas Schwab <schwab@linux-m68k.org>
914
915 * help-fns.el (describe-function-1): Only call
916 help-fns--autoloaded-p when we have a file name. (Bug#11848)
917
a76e6535
CY
9182012-07-03 Chong Yidong <cyd@gnu.org>
919
920 * xml.el: Protect parser against XML bombs.
921 (xml-entity-expansion-limit): New variable.
922 (xml-parse-string, xml-substitute-special): Use it.
923 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
924
b544fef2
GM
9252012-07-03 Glenn Morris <rgm@gnu.org>
926
927 * progmodes/bug-reference.el (bug-reference-bug-regexp):
928 Allow linking to specific messages in debbugs reports (eg 123#5).
929
a7aef6f5
CY
9302012-07-02 Chong Yidong <cyd@gnu.org>
931
932 * xml.el: Fix entity and character reference expansion, allowing
933 them to expand into markup as per XML spec.
934 (xml-default-ns): New variable.
935 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
936 (xml-parse-region): Make first two arguments optional.
937 Discard text properties.
938 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
939 All callers changed.
a7aef6f5
CY
940 (xml-parse-tag): Call xml-parse-tag-1. For backward
941 compatibility, this function should not modify buffer contents.
942 (xml-parse-tag-1): Fix opening-tag regexp.
943 (xml-parse-string): Rewrite, handling entity and character
944 references properly.
945 (xml--entity-replacement-text): Signal an error if a parameter
946 entity is undefined.
947
3df31c9f
SM
9482012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
949
2b5208f1
SM
950 * comint.el (comint-output-filter): Filter out repeated prompts.
951
3df31c9f
SM
952 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
953 and file-name-absolute-p.
954 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
955 internal calls.
956
e3ac1281
PE
9572012-07-02 Paul Eggert <eggert@cs.ucla.edu>
958
959 Spelling fixes.
960 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
961 Rename from byte-compile--refiy-function. All uses changed.
962
fbf2e7ad
CY
9632012-07-01 Chong Yidong <cyd@gnu.org>
964
965 * xml.el (xml--parse-buffer): New function. Move most of
966 xml-parse-region here.
967 (xml-parse-region): Copy region into a temporary buffer, since
968 parameter entity substitution requires changing buffer contents.
969 Use xml--parse-buffer.
970 (xml-parse-file): Use xml--parse-buffer.
971 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 972 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 973
9bf0aa15
GM
9742012-06-30 Glenn Morris <rgm@gnu.org>
975
bbce2853
GM
976 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
977
9bf0aa15
GM
978 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
979 Remove outdated and unnecessary dbus declarations.
980
0d23c240
EZ
9812012-06-30 Eli Zaretskii <eliz@gnu.org>
982
983 * emacs-lisp/timer.el (timer-until): Subtract results of
984 float-time, instead of taking float-time of the result of
985 time-subtract, since float-time signals an error for negative time
986 arguments.
987
b3218de1
CY
9882012-06-30 Chong Yidong <cyd@gnu.org>
989
990 * xml.el (xml-*-re): Convert defvars into defconsts, and
991 eval-and-compile them so eval-and-compile works on derivatives.
992 (xml--entity-replacement-text): Use eval-and-comple.
993
a40c87a0
MA
9942012-06-30 Michael Albinus <michael.albinus@gmx.de>
995
996 * vc/vc-git.el (vc-git-registered): Use cache property
997 `git-registered'.
998 (vc-git-mode-line-string): Call `vc-working-revision' instead of
999 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1000 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1001
ac87de97
DG
10022012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1003
1004 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1005 removed (likely outside Emacs). (Bug#11757)
ac87de97 1006
ac10fe06
SM
10072012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1008
3df31c9f 1009 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1010
7f3fbd5d
CY
10112012-06-30 Chong Yidong <cyd@gnu.org>
1012
1013 * xml.el: Implement XML parameter entities.
1014 (xml-parameter-entity-alist): New variable.
1015 (xml-parse-region, xml-parse-fragment): Preserve previous values
1016 of xml-entity-alist and xml-parameter-entity-alist, so that
1017 repeated calls on different documents do not change them.
1018 (xml-parse-tag): Fix doctype regexp.
1019 (xml--entity-replacement-text): New function.
1020 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1021 properly requires url retrieval which is unimplemented.
1022 (xml-escape-string): Doc fix.
1023
3cfbebba
SM
10242012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1027
2af3565e
DA
10282012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1029
1030 * fringe.el (fringe-mode): Doc fix.
1031
929df0e7
MA
10322012-06-29 Michael Albinus <michael.albinus@gmx.de>
1033
1034 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1035 is non-nil.
1036 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1037 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1038
c8d3a25c 10392012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1040
c8d3a25c
GM
1041 * calendar/cal-dst.el (calendar-current-time-zone):
1042 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1043
c8d3a25c 10442012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1045
1046 * progmodes/which-func.el (which-func-format):
1047 Add mouse-face. (Bug#11698)
1048
c8d3a25c
GM
10492012-06-29 Leo Liu <sdl.web@gmail.com>
1050
1051 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1052
10532012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1054
1055 * minibuffer.el (minibuffer-confirm-exit-commands):
1056 Add completion-at-point (bug#11725).
1057
10582012-06-29 Glenn Morris <rgm@gnu.org>
1059
1060 * progmodes/f90.el (f90-font-lock-keywords-2):
1061 Add some preprocessor elements. (Bug#10499)
1062
10632012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1066 Use syntax-propertize (bug#11739).
1067
2badeec4
JB
10682012-06-28 Juanma Barranquero <lekktu@gmail.com>
1069
1070 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1071
ae4969c2
JD
10722012-06-28 Julien Danjou <julien@danjou.info>
1073
1074 * term.el (term-handle-colors-array): Use a set of new faces to
1075 color the terminal. Also uses :inverse-video property.
1076 (term-default-fg-color): Set to nil by default, deprecate in favor
1077 of `term-face'.
1078 (term-default-bg-color): Set to nil by default, deprecate in favor
1079 of `term-face'.
1080 (term-current-face): Use `term-face' by default.
1081 (term-bold-attribute): Variable deleted.
1082
1c9bd870
GM
10832012-06-28 Glenn Morris <rgm@gnu.org>
1084
1085 * simple.el (completion-list-mode-finish):
1086 Don't use toggle-read-only. (Since completion-list-mode has
1087 a special mode-class, it wasn't doing anything extra anyway.)
1088
c207708c
SM
10892012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 Make inlining of other-mode interpreted functions work (bug#11799).
1092 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1093 (byte-compile): Use it to fix compilation of lexical-binding closures.
1094 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1095 function, if needed.
1096
3fd56834
SM
10972012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1098
04901786
SM
1099 * help-mode.el (help-make-xrefs): Don't just withstand
1100 cyclic-variable-indirection but any error in documentation-property.
1101
1ec4b7b2
SM
1102 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1103 memory use.
1104 * bindings.el (bindings--define-key): New function.
1105 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1106 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1107 * bindings.el: Use it to purecopy define-key bindings.
1108
e309e2a5
SM
1109 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1110
d5c6faf9
SM
1111 * emacs-lisp/cl.el (flet): Mark obsolete.
1112 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1113 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1114 * progmodes/js.el (js-c-fill-paragraph):
1115 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1116 (ebrowse-switch-member-buffer-to-derived-class):
1117 * play/5x5.el (5x5-solver): Use cl-flet.
1118
6e9590e2
SM
1119 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1120 (cl--symbol-function): New macro.
1121 (cl--letf, cl--letf*): Use it.
1122
3fd56834
SM
1123 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1124 Strip "toggle-" if any.
1125
35ff222c
GM
11262012-06-27 Glenn Morris <rgm@gnu.org>
1127
1ba6038a
GM
1128 * info.el (Info-default-directory-list): Move here from paths.el.
1129 * paths.el: Remove file, which is now empty.
1130 * loadup.el: No longer load "paths".
1131
0ea0e51b
GM
1132 * custom.el (custom-initialize-delay): Doc fix.
1133
35ff222c
GM
1134 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1135 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1136 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1137 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1138 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1139 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1140 * eshell/eshell.el (eshell-defgroup): Remove alias.
1141
c89926a5
CY
11422012-06-27 Chong Yidong <cyd@gnu.org>
1143
1144 * help.el (help-enable-auto-load): New variable.
1145
1146 * help-fns.el (help-fns--autoloaded-p): New function.
1147 (describe-function-1): Refer to a function as "autoloaded" if it
1148 was autoloaded at any time in the past. Perform autoloading if
1149 help-enable-auto-load is non-nil.
1150
cc06e7e7
EZ
11512012-06-26 Eli Zaretskii <eliz@gnu.org>
1152
1153 * makefile.w32-in (compile, compile-always): Depend on
1154 update-subdirs, not on subdirs.el. Otherwise, several different
1155 sub-targets of 'bootstrap' running in parallel could
1156 simultaneously write to subdirs.el, producing a garbled file.
1157
d2c32364
SS
11582012-06-26 Sam Steingold <sds@gnu.org>
1159
1160 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1161 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1162 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1163 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1164 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1165 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1166 * textmodes/tex-mode.el: Use it.
1167 Did not touch cedet and org because they are maintained elsewhere.
1168
5cf983b2
MR
11692012-06-26 Martin Rudalics <rudalics@gmx.at>
1170
1171 * calendar/calendar.el (calendar-exit): Don't try to delete or
1172 iconify last frame. See:
1173 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1174
8c4f2952
JD
11752012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1176
1177 * server.el (server-process-filter): Remember dir in the
1178 process's `server-client-directory' properties.
1179
772b2e2c
CY
11802012-06-24 Chong Yidong <cyd@gnu.org>
1181
1182 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1183 non-tag text.
1184
711b11e1
JB
11852012-06-23 Juanma Barranquero <lekktu@gmail.com>
1186
1187 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1188
dc5d230c
SM
11892012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * help-fns.el (describe-variable): Don't croak when doc is not found.
1192 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1193 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1194 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1195 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1196 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1197 ((lambda ..) ..).
1198 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1199
136e1c1d
CY
12002012-06-23 Chong Yidong <cyd@gnu.org>
1201
e8c1cabf
CY
1202 * info.el (Info-mouse-follow-link): Accept symbol values of
1203 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1204 (Info-fontify-node): Use Info-link-keymap for all navigation
1205 buttons, with link-args property to perform the desired action.
1206 (Info-link-keymap): Doc fix.
1207 (Info-next-link-keymap, Info-prev-link-keymap)
1208 (Info-up-link-keymap): Delete now-unused keymaps.
1209
0e9e6c6a
CY
12102012-06-23 Chong Yidong <cyd@gnu.org>
1211
05e89fea
CY
1212 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1213
0e9e6c6a
CY
1214 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1215 system abbrevs.
1216
1217 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1218
e33c6771
SM
12192012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1220
b68581e2
SM
1221 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1222 (bug#11719).
1223
e33c6771
SM
1224 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1225 the requote function doesn't work properly (bug#11714).
1226
7117e105
GM
12272012-06-23 Glenn Morris <rgm@gnu.org>
1228
1229 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1230
36cec983
SM
12312012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 Further GV/CL cleanups.
1234 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1235 gv-expander.
1236 (gv--defun-declaration): New function.
1237 (defun-declarations-alist): Use it.
1238 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1239 (gv-place): Autoload.
1240 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1241 original definition of dotimes and dolist.
1242 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1243 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1244 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1245 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1246 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1247 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1248 to the function's definition.
1249 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1250 * window.el:
1251 * files.el:
1252 * faces.el:
1253 * env.el: Don't use CL.
1254
d35af63c
PE
12552012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1256
1257 Support higher-resolution time stamps (Bug#9000).
1258
1259 * calendar/time-date.el (with-decoded-time-value): New arg
1260 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1261 (encode-time-value): New optional arg PICO. New type 3.
1262 (time-to-seconds) [!float-time]: Support the new picoseconds
1263 component if it's used.
1264 (seconds-to-time, time-subtract, time-add):
1265 Support ps-resolution time stamps as well.
1266
1267 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1268 (timerp): Timer vectors now have length 9, not 8.
1269 (timer--time): Support new-style (4-part) time stamps.
1270 (timer-next-integral-multiple-of-time): Time stamps now have
1271 picosecond resolution, so take a bit more care about rounding.
1272 (timer-relative-time, timer-inc-time): New optional arg psecs.
1273 (timer-set-time-with-usecs): Set psecs to 0.
1274 (timer--activate): Check psecs component, too.
1275
1276 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1277
ac77b21a
SM
12782012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1279
f143bfe3
SM
1280 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1281 Move the non-essential binding to the post/pre-command-hook where it is
1282 more obviously correct.
1283
ac77b21a
SM
1284 * subr.el (read-passwd): Don't use a history at all.
1285 * savehist.el (savehist-save): Remove password saved accidentally
1286 because of the above bug.
1287
76386c5a
BG
12882012-06-22 Bastien Guerry <bzg@gnu.org>
1289
1290 * files.el (toggle-read-only): Display a message telling whether
1291 the buffer is read-only or not (bug#11726).
1292
2ee3d7f0
SM
12932012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 * emacs-lisp/gv.el: New file.
1296 * subr.el (push, pop): Extend to generalized variables.
1297 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1298 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1299 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1300 gv-define-simple-setter, and gv-define-expander.
1301 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1302 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1303 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1304 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1305 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1306 gv-letplace.
1307 (cl-defstruct): Don't define setf-method any more.
1308 * emacs-lisp/cl.el (flet): Don't autoload.
1309 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1310 (define-setf-expander, defsetf, define-modify-macro)
1311 (cl-struct-setf-expander): Move from cl-lib.el.
1312 * emacs-lisp/syntax.el:
1313 * emacs-lisp/ewoc.el:
1314 * emacs-lisp/smie.el:
1315 * emacs-lisp/cconv.el:
1316 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1317 (timer--time): Use gv-define-simple-setter.
1318 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1319 to avoid coding-system problems in subr.el. Adjust all users.
1320 (macroexp--maxsize, macroexp-small-p): New functions.
1321 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1322 * scroll-bar.el (scroll-bar-mode):
1323 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1324 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1325 * winner.el (winner-configuration, winner-make-point-alist)
1326 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1327 * files.el (locate-file-completion-table): Avoid list*.
1328
c5695d1d
CY
13292012-06-22 Chong Yidong <cyd@gnu.org>
1330
1331 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1332 (dired-create-files): Doc fix (Bug#11329).
1333 (dired-do-copy): Doc fix (Bug#11334).
1334 (dired-mark-read-string): Doc fix (Bug#11553).
1335
2ee3d7f0
SM
1336 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1337 Doc fix (Bug#11326).
c5695d1d
CY
1338 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1339 (dired-dwim-target): Doc fix.
1340
1341 * wdired.el (wdired-mode): Doc fix.
1342
89b5595a
GM
13432012-06-22 Glenn Morris <rgm@gnu.org>
1344
575db3f1
GM
1345 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1346 (pcmpl-rpm-cache-stamp-file): New constant.
1347 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1348 (pcmpl-rpm-packages): Optionally cache list of packages.
1349
a4c8dd51
GM
1350 * pcmpl-rpm.el (pcmpl-rpm): New group.
1351 (pcmpl-rpm-query-options): New option.
1352 (pcmpl-rpm-packages): No need to inline it.
1353 Use pcmpl-rpm-query-options.
1354
89b5595a
GM
1355 * calendar/calendar.el (calendar-in-read-only-buffer):
1356 Avoid some needless mode changes.
1357
e76f0800
CY
13582012-06-21 Chong Yidong <cyd@gnu.org>
1359
1360 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1361 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1362 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1363
297a8f1d
CY
13642012-06-20 Chong Yidong <cyd@gnu.org>
1365
1366 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1367
d34c18b1
DR
13682012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1369
1370 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1371 (bug#11201).
1372
32f7f28e
CY
13732012-06-20 Chong Yidong <cyd@gnu.org>
1374
1375 * term.el (term-window-width): Handle the case of a missing right
1376 fringe (Bug#8837).
1377 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1378 (term-mode): Use define-derived-mode. Minor cleanups.
1379 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1380 (term-move-columns, term-insert-char, term-emulate-terminal)
1381 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1382
493c6688
MA
13832012-06-20 Michael Albinus <michael.albinus@gmx.de>
1384
d34c18b1
DR
1385 * net/ange-ftp.el (ange-ftp-get-passwd):
1386 Bind `enable-recursive-minibuffers'.
493c6688
MA
1387 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1388
3f06ecf4
DR
13892012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1390
1391 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1392
68f12411
GM
13932012-06-19 Glenn Morris <rgm@gnu.org>
1394
1395 * progmodes/python.el (python-mode): Derive from prog-mode.
1396
b3820318
KG
13972012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1398
1399 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1400 (edt-user-menu-bar-update-buffers): New functions.
1401 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1402
c6bf3022
CY
14032012-06-19 Chong Yidong <cyd@gnu.org>
1404
1405 * subr.el (with-selected-window): Preserve the selected window's
1406 terminal's top-frame (Bug#4702).
1407
1408 * window.el (save-selected-window): Likewise.
1409
25f09295
SM
14102012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1411
1412 * progmodes/python.el (python-rx-constituents): Move backquote.
1413 (python-skeleton-define, python-define-auxiliary-skeleton):
1414 Use `declare'.
1415
6b11952a
MA
14162012-06-18 Michael Albinus <michael.albinus@gmx.de>
1417
1418 * minibuffer.el (read-file-name-default): Revert the patch from
1419 2012-06-17.
1420
ee4b1330
SM
14212012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1424 (pcase--u1, pcase--q1): Don't use apply-partially.
1425
35647f79
GM
14262012-06-18 Glenn Morris <rgm@gnu.org>
1427
1428 * progmodes/python.el (python-proc, python-buffer)
1429 (python-send-receive, python-send-string): Fix obsolete versions.
1430
24b0cff0
MR
14312012-06-18 Martin Rudalics <rudalics@gmx.at>
1432
1433 * window.el (special-display-p): Completely remove stringp
1434 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1435
29855149
MA
14362012-06-17 Michael Albinus <michael.albinus@gmx.de>
1437
1438 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1439
1440 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1441
1442 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1443 * net/tramp-sh.el (tramp-maybe-open-connection):
1444 Throw if `non-essential' is non-nil.
1445
07463363
MR
14462012-06-17 Martin Rudalics <rudalics@gmx.at>
1447
1448 * window.el (special-display-p): Signal an error if BUFFER-NAME
1449 is not a string (Bug#11713).
1450
48d1354e
PE
14512012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1452
1453 * progmodes/python.el (python-info-beginning-of-backslash):
1454 Rename from python-info-beginning-of-backlash, as a spelling fix.
1455
eb4a8a9a
CY
14562012-06-17 Chong Yidong <cyd@gnu.org>
1457
1458 * term.el (term-emulate-terminal): If term-check-size is called,
1459 move point to the process mark without resetting point (Bug#4635).
1460
ddfbf826 14612012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1462
1463 * international/mule-cmds.el (mule-menu-keymap)
1464 (set-language-environment, set-locale-environment): Doc tweaks.
1465
9b0e3eba
AA
14662012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1467
1468 * cus-face.el (custom-face-attributes): Add wave-style underline
1469 attribute.
1470 * faces.el (set-face-attribute): Update docstring to describe
1471 wave-style underline attribute.
1472
771e3eae
CY
14732012-06-16 Chong Yidong <cyd@gnu.org>
1474
1475 * term/xterm.el (terminal-init-xterm): Discard input before
1476 querying background mode (Bug#10959).
1477
7ae2ea10
SM
14782012-06-16 Stefan Merten <smerten@oekonux.de>
1479
1480 * textmodes/rst.el: Added and corrected some comments.
1481 (rst-re-alist-def): Improve symbol syntax.
1482 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1483 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1484 (rst-official-version, rst-official-cvs-rev): Update version
1485 information.
7ae2ea10 1486
b6974efa
JB
14872012-06-15 Juanma Barranquero <lekktu@gmail.com>
1488
1489 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1490 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1491
8826d473
GM
14922012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1493
1494 * progmodes/python.el: New python.el merge.
1495 (python-guess-indent): Obsolete var.
1496 (python-indent-guess-indent-offset): New defcustom.
1497 (python-indent): Obsolete var.
1498 (python-indent-offset): New defcustom.
1499 (python-python-command, python-jython-command): Delete var.
1500 (python-shell-interpreter): New defcustom.
1501 (python-pdbtrack-do-tracking-p): Delete var.
1502 (python-pdbtrack-activate): New defcustom.
1503 (python-use-skeletons): Obsolete var.
1504 (python-skeleton-autoinsert): New defcustom.
1505 (inferior-python-filter-regexp, python-continuation-offset)
1506 (python-honour-comment-indentation, python-indent-string-contents)
1507 (python-jython-packages, python-mode-hook)
1508 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1509 (python-shell-prompt-alist)
1510 (python-source-modes): Delete defcustoms.
1511 (python-check-buffer-name, python-eldoc-setup-code)
1512 (python-eldoc-string-code, python-ffap-setup-code)
1513 (python-ffap-string-code, python-fill-comment-function)
1514 (python-fill-decorator-function, python-fill-paren-function)
1515 (python-fill-string-function, python-imenu-include-defun-type)
1516 (python-imenu-make-tree, python-imenu-subtree-root-label)
1517 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1518 (python-shell-compilation-regexp-alist)
1519 (python-shell-completion-module-string-code)
1520 (python-shell-completion-pdb-string-code)
1521 (python-shell-completion-setup-code)
1522 (python-shell-completion-string-code)
1523 (python-shell-enable-font-lock, python-shell-exec-path)
1524 (python-shell-extra-pythonpaths)
1525 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1526 (python-shell-process-environment)
1527 (python-shell-prompt-block-regexp)
1528 (python-shell-prompt-output-regexp)
1529 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1530 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1531 (python-shell-virtualenv-path): New defcustoms.
1532 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1533 (inferior-python-mode-syntax-table, python--prompt-regexp)
1534 (python-buffer, python-command python-python-command)
1535 (python-default-template, python-imports, python-indent-index)
1536 (python-indent-list, python-indent-list-length)
1537 (python-mode-running, python-pdbtrack-is-tracking-p)
1538 (python-preoutput-continuation, python-preoutput-leftover)
1539 (python-preoutput-result, python-preoutput-skip-next-prompt)
1540 (python-prev-dir/file, python-recursing)
1541 (python-saved-check-command, python-version-checked)
1542 (python-which-func-length-limit)
1543 (view-return-to-alist): Delete vars.
1544 (python-check-custom-command, python-dotty-syntax-table)
1545 (python-imenu-index-alist, python-indent-current-level)
1546 (python-indent-dedenters, python-indent-levels)
1547 (python-nav-beginning-of-defun-regexp)
1548 (python-nav-list-defun-positions-cache)
1549 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1550 (python-shell-internal-buffer)
1551 (python-skeleton-available): New vars.
1552 (def-python-skeleton): Delete macro.
1553 (python-skeleton-define): New macro.
1554 (python-define-auxiliary-skeleton, python-rx): New macros.
1555 (python-insert-class): Delete command.
1556 (python-skeleton-class): New command.
1557 (python-insert-def): Delete command.
1558 (python-skeleton-def): New command.
1559 (python-insert-for): Delete command.
1560 (python-skeleton-for): New command.
1561 (python-insert-if): Delete command.
1562 (python-skeleton-if): New command.
1563 (python-insert-try/except, python-insert-try/finally): Delete commands.
1564 (python-skeleton-try): New command.
1565 (python-insert-while): Delete command.
1566 (python-skeleton-while): New command.
1567 (python-backspace): Delete command.
1568 (python-indent-dedent-line-backspace): New command.
1569 (python-electric-colon): Delete command.
1570 (python-indent-electric-colon): New command.
1571 (python-guess-indent): Delete command.
1572 (python-indent-guess-indent-offset): New command.
1573 (python-shift-left): Delete command.
1574 (python-indent-shift-left): New command.
1575 (python-shift-right): Delete command.
1576 (python-indent-shift-right): New command.
1577 (python-find-function): Delete command.
1578 (python-nav-jump-to-defun): New command.
1579 (python-next-statement): Delete command.
1580 (python-nav-forward-sentence): New command.
1581 (python-previous-statement): Delete command.
1582 (python-nav-backward-sentence): New command.
1583 (python-fill-paragraph): Delete command.
1584 (python-fill-paragraph-function): New command.
1585 (python-send-buffer): Delete command.
1586 (python-shell-send-buffer): New command.
1587 (python-send-defun): Delete command.
1588 (python-shell-send-defun): New command.
1589 (python-send-region, python-send-region-and-go): Delete commands.
1590 (python-shell-send-region)
1591 (python-shell-switch-to-shell): New commands.
1592 (python-send-string): Delete command.
1593 (python-shell-send-string): New command.
1594 (python-switch-to-python): Delete command.
1595 (python-shell-switch-to-shell): New command.
1596 (python-describe-symbol): Delete command.
1597 (python-eldoc-at-point): New command.
1598 (python--set-prompt-regexp, python-args-to-list)
1599 (python-after-info-look, python-check-version)
1600 (python-check-comint-prompt, python-find-imports)
1601 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1602 (python-unload-function, python-expand-template)
1603 (python-maybe-jython, python-preoutput-filter)
1604 (python-pdbtrack-get-source-buffer)
1605 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1606 (python-pdbtrack-toggle-stack-tracking)
1607 (python-pdbtrack-track-stack-file, python-initial-text)
1608 (python-first-word, python-comment-line-p, python-send-command)
1609 (python-setup-brm, python-sentinel, python-set-proc)
1610 (python-skip-out, python-input-filter, python-outdent-p)
1611 (python-outline-level, python-backslash-continuation-line-p)
1612 (python-end-of-block, python-end-of-statement, python-mark-block)
1613 (python-beginning-of-block, python-beginning-of-statement)
1614 (python-blank-line-p, python-beginning-of-string)
1615 (python-open-block-statement-p): Delete functions.
1616 (python-indent-line, python-indent-line-1): Delete functions.
1617 (python-indent-line): New function.
1618 (python-indentation-levels): Delete function.
1619 (python-indent-calculate-levels): New function.
1620 (python-proc): Delete function.
1621 (python-shell-get-process): New function.
1622 (python-send-receive): Delete function.
1623 (python-shell-send-string-no-output): New function.
1624 (python-module-path): Delete function.
1625 (python-ffap-module-path): New function.
1626 (python-completion-at-point)
1627 (python-symbol-completions): Delete functions.
1628 (python-completion-complete-at-point): New function.
1629 (python-load-file): Delete function.
1630 (python-shell-send-file): New function.
1631 (python-calculate-indentation): Delete function.
1632 (python-indent-calculate-indentation): New function.
1633 (python-skip-comments/blanks): Delete function.
1634 (python-util-forward-comment): New function.
1635 (python-continuation-line-p): Delete function.
1636 (python-info-continuation-line-p): New function.
1637 (python-which-func, python-current-defun): Delete function.
1638 (python-info-current-defun): New function.
1639 (python-beginning-of-defun): Delete function.
1640 (python-nav-beginning-of-defun): New function.
1641 (python-close-block-statement-p)
1642 (python-block-end-p): Delete function.
1643 (python-info-closing-block): New function.
1644 (python-comint-output-filter-function)
1645 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1646 (python-fill-comment, python-fill-decorator, python-fill-paren)
1647 (python-fill-string, python-imenu-make-element-tree)
1648 (python-imenu-make-tree, python-imenu-tree-assoc)
1649 (python-indent-context, python-indent-dedent-line)
1650 (python-indent-line-function)
1651 (python-indent-post-self-insert-function)
1652 (python-indent-toggle-levels)
1653 (python-info-assignment-continuation-line-p)
1654 (python-info-beginning-of-backlash)
1655 (python-info-block-continuation-line-p)
1656 (python-info-closing-block-message)
1657 (python-info-line-ends-backslash-p)
1658 (python-info-looking-at-beginning-of-defun)
1659 (python-info-ppss-context, python-info-ppss-context-type)
1660 (python-nav-list-defun-positions, python-nav-read-defun)
1661 (python-nav-sentence-end, python-nav-sentence-start)
1662 (python-pdbtrack-comint-output-filter-function)
1663 (python-pdbtrack-set-tracked-buffer)
1664 (python-shell-calculate-exec-path)
1665 (python-shell-calculate-process-environment)
1666 (python-shell-completion--do-completion-at-point)
1667 (python-shell-completion--get-completions)
1668 (python-shell-completion-complete-at-point)
1669 (python-shell-completion-complete-or-indent)
1670 (python-shell-get-or-create-process)
1671 (python-shell-get-process-name)
1672 (python-shell-internal-get-or-create-process)
1673 (python-shell-internal-get-process-name)
1674 (python-shell-internal-send-string, python-shell-make-comint)
1675 (python-shell-parse-command, python-shell-send-setup-code)
1676 (python-skeleton-add-menu-items)
1677 (python-util-clone-local-variables, python-util-position)
1678 (run-python-internal, python-indentation-levels)
1679 (python-nav-beginning-of-defun)
1680 (python-completion-complete-at-point): New functions.
1681 (run-python): Change arguments. New API requirements.
1682
4302f5ba
SM
16832012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1684
f38ea36d
SM
1685 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1686 (bug#11649).
1687
1688 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1689 (macroexp--expand-all): Use it.
1690
4302f5ba
SM
1691 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1692 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1693 Use `cl-function' instead.
1694
33377562
JB
16952012-06-14 Juanma Barranquero <lekktu@gmail.com>
1696
1697 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1698 Suggested by Stefan Monnier while discussing bug#11657.
1699
54c5ba1a
SS
17002012-06-14 Sam Steingold <sds@gnu.org>
1701
1702 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1703
f9f1b1fe
AS
17042012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1705
1706 * play/doctor.el (doctor-doc): Remove parameter and use
1707 doctor-sent instead of sent.
1708 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1709
a81068ba
SM
17102012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1711
5a315f9c
SM
1712 * files.el: Require cl-lib.
1713 (file-name-non-special): Replace case -> cl-case.
1714
1715 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1716
a81068ba
SM
1717 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1718 mapping from #' to function*.
1719
8cca9703
CY
17202012-06-13 Chong Yidong <cyd@gnu.org>
1721
1722 * mouse.el (mouse-drag-track): Do not set the mark if the user
1723 releases the mouse without selecting anything (Bug#11588).
1724
a12ac9d7
SM
17252012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1726
ccf1dc18
SM
1727 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1728 as well (bug#11646).
1729
ef62b23d
SM
1730 * loadup.el: Count byte-code functions as well.
1731
c4c8444a
SM
1732 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1733 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1734
a12ac9d7
SM
1735 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1736 (bug#11649). Add cl-defun and cl-defmacro.
1737
87e6e64f
DA
17382012-06-13 Drew Adams <drew.adams@oracle.com>
1739
1740 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1741 Fix last change.
1742
682cefaf
MA
17432012-06-13 Michael Albinus <michael.albinus@gmx.de>
1744
1745 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1746 Otherwise, it blocks in batch mode.
1747
773e1f08
JB
17482012-06-13 Juanma Barranquero <lekktu@gmail.com>
1749
1750 * help-mode.el (bookmark-make-record-default): Declare.
1751
60057926
CY
17522012-06-13 Chong Yidong <cyd@gnu.org>
1753
1754 * emacs-lisp/package.el (list-packages): Compute a list of
1755 packages that are newly-available since the last list-packages
1756 invocation.
1757 (package-menu--new-package-list): New var.
1758 (package-menu--generate, package-menu--print-info)
1759 (package-menu--status-predicate, package-menu-mark-install):
1760 Handle new status label "new".
1761
ad4d226c
SM
17622012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1765 conversion to backquotes.
1766
f1a4e679
CY
17672012-06-12 Chong Yidong <cyd@gnu.org>
1768
1769 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1770 Rename from gud-inhibit-global-bindings.
1771
1772 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1773
1774 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1775 hook from nxml-glyph-set-hook.
1776
1777 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1778 declaration.
1779
1780 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1781
1782 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1783 Convert to defcustom.
1784
0c9e42b5
DA
17852012-06-12 Drew Adams <drew.adams@oracle.com>
1786
1787 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1788 New functions.
1789 (help-mode): Use them.
1790
09e06855
GM
17912012-06-11 Glenn Morris <rgm@gnu.org>
1792
1793 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1794 Use preprocessor face for directives.
1795 (fortran-directive-re): Doc fix.
1796
71adb94b
SM
17972012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1798
2eb87922
SM
1799 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1800 conversion to backquotes (bug#11652).
1801
71adb94b
SM
1802 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1803 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1804 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1805 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1806 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1807 (cl-ninth, cl-tenth): Mark them as inlinable.
1808 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1809 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1810 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1811 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1812 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1813 (cl-list*, cl-adjoin): Don't put an autoload manually.
1814 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1815 (cl--compiler-macro-list*): Add autoload cookie.
1816 (cl--compiler-macro-cXXr): New function.
2eb87922 1817
71adb94b
SM
1818 * help-fns.el (help-fns--compiler-macro): New function extracted from
1819 describe-function-1; follow aliases and use `compiler-macro' property.
1820 (describe-function-1): Use it.
1821
a6674402
CY
18222012-06-11 Chong Yidong <cyd@gnu.org>
1823
1824 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1825 is uninstalled, if imagemagick is installed.
1826
bb3faf5b
SM
18272012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1828
1829 * emacs-lisp/cl-lib.el: Use lexical-binding.
1830 (cl-map-extents, cl-maclisp-member): Remove.
1831 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1832 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1833 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1834 * emacs-lisp/cl-extra.el: Use lexical-binding.
1835 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1836 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1837 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1838 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1839 * emacs-lisp/cl-seq.el: Use lexical-binding.
1840 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1841 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1842 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1843 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1844 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1845 CL's internals.
1846
2fe4b125
MA
18472012-06-11 Michael Albinus <michael.albinus@gmx.de>
1848
1849 Sync with Tramp 2.2.6-pre.
1850
1851 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1852 `print-length' and `print-level' to nil, in order to avoid
1853 truncation. Reported by Christopher Schmidt
1854 <christopher@ristopher.com>.
1855
1856 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1857
1858 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1859 New defmacro.
1860 (tramp-compat-copy-directory): Add optional argument
1861 COPY-CONTENTS. It is not handled yet.
1862
1863 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1864 (tramp-ftp-file-name-p): Simplify.
1865
1866 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1867 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1868 connection vector.
1869
1870 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1871 (tramp-methods): Do not use `tramp-password-end-of-line'.
1872 (tramp-completion-function-alist-putty): Handle UNIX case.
1873 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1874 (tramp-do-file-attributes-with-stat)
1875 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1876 gid as real numbers. They could run out of integer range on cygwin.
1877 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1878 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1879 (tramp-open-connection-setup-interactive-shell):
1880 Use `tramp-cleanup'. Move check for busyboxes ...
1881 (tramp-find-shell): ... here. Simplify implementation.
1882 Set "remote-shell" property also for alternative shells.
1883 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1884 If failing, a regular file would be written otherwise.
1885 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1886 (tramp-find-inline-encoding): Cache the coding commands in the
1887 process cache. Apply test command on the remote side, if defined.
1888 (tramp-find-inline-compress): Cache the compress commands in the
1889 process cache.
1890 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1891 when requested. Handle hops.
1892 (tramp-current-connection): New defvar.
87e6e64f
DA
1893 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1894 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1895 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1896 (tramp-get-inline-compress, tramp-get-inline-coding):
1897 Read connection properties from the process cache.
2fe4b125
MA
1898
1899 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1900 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1901 New defconsts.
2fe4b125
MA
1902 (tramp-smb-prompt): Extend for powershell prompt.
1903 (tramp-smb-file-name-handler-alist): Add handlers for
1904 `process-file', `shell-command' and `start-file-process'.
1905 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1906 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1907 (tramp-smb-file-name-p): Simplify.
1908 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1909 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1910 (tramp-smb-shell-quote-argument): New defuns.
1911 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1912 Implement using "tar". By this, time-stamps are preserved.
1913 (tramp-smb-handle-copy-file): Handle also the case of directories.
1914 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1915 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1916 Use `tramp-get-connection-buffer').
2fe4b125
MA
1917 (tramp-smb-handle-rename-file): Use "rename", when source and
1918 target are on the same share.
87e6e64f
DA
1919 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1920 Use `tramp-smb-server-version'.
2fe4b125
MA
1921 (tramp-smb-wait-for-output): Remove prompt.
1922
1923 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1924 (tramp-methods, tramp-rsh-end-of-line):
1925 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1926 (tramp-save-ad-hoc-proxies): New defcustom.
1927 (tramp-completion-function-alist): Adapt docstring.
1928 (tramp-default-password-end-of-line): Remove defcustom.
1929 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1930 (tramp-user-regexp, tramp-file-name-regexp-unified)
1931 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1932 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1933 (tramp-remote-file-name-spec-regexp): New defconst.
1934 (tramp-file-name-structure): Extend structure for hops.
1935 (tramp-get-method-parameter): Move up.
1936 (tramp-file-name-p, tramp-dissect-file-name)
1937 (with-parsed-tramp-file-name): Handle hops.
1938 (tramp-file-name-hop): New defun.
1939 (tramp-make-tramp-file-name): New optional arg HOP.
1940 (tramp-message-show-progress-reporter-message): New defvar.
1941 (tramp-with-progress-reporter): Use it. We cannot use
1942 `tramp-message-show-message' here, because this suppresses also
1943 error buffers.
1944 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1945 `tramp-message-show-message' is nil.
1946 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1947 (tramp-cleanup): New defun.
1948 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1949 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1950 an error unchanged.
1951 (tramp-completion-handle-file-name-all-completions): Handle hops.
1952 Fix an error when called from ido.
1953 (tramp-completion-dissect-file-name): Use better local variable
1954 name. Add hop to the vector.
1955 (tramp-handle-insert-file-contents): Use progress-reporter for the
1956 whole scenario.
1957 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1958 to `t'.
1959 (tramp-check-for-regexp): Simplify search.
1960 (tramp-enter-password): Remove it. Move implementation ...
1961 (tramp-action-password): ... here.
1962 (tramp-mode-string-to-int, tramp-local-host-p)
1963 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1964 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1965 Set tramp-autoload cookie.
2fe4b125
MA
1966
1967 * net/trampver.el: Update release number.
1968
19692012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1970 Michael Albinus <michael.albinus@gmx.de>
1971
1972 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1973 (tramp-parse-group, tramp-parse-file)
1974 (tramp-parse-shostkeys-sknownhosts): New defuns.
1975 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1976 (tramp-parse-shosts-group, tramp-parse-sconfig)
1977 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1978 (tramp-parse-sknownhosts, tramp-parse-hosts)
1979 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1980 Use them.
1981 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1982 (tramp-parse-putty-group): Don't narrow.
1983 (tramp-parse-putty): Make a loop.
1984 (tramp-file-name-handler): Catch the `suppress' signal.
1985
72834e10
CY
19862012-06-11 Chong Yidong <cyd@gnu.org>
1987
1988 * image.el (imagemagick-register-types): Put the ImageMagick entry
1989 at the end of image-type-file-name-regexps.
1990
a4712e11
JB
19912012-06-11 Johan Bockgård <bojohan@gnu.org>
1992
1993 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1994 (pcase, pcase-let*, pcase-dolist): Use them.
1995
82ad98e3
SM
19962012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1997
1998 * emacs-lisp/pcase.el (pcase--let*): New function.
1999 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2000 (pcase--expand): Use macroexp-let².
2001
f80efb86
SM
20022012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2003
2004 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2005 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2006 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2007 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2008 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2009 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2010
31ca4639 20112012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2012
31ca4639
CY
2013 * mail/rmail.el (rmail-yank-current-message): Leave point at
2014 correct position. (Bug#11660)
94f0aa34 2015
31ca4639 20162012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2017
31ca4639 2018 * allout-widgets.el: Fix code header.
9e1b8ec4 2019
31ca4639 20202012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2021
f80efb86
SM
2022 * cus-edit.el (customize-changed-options-previous-release):
2023 Bump to 24.1.
31ca4639 2024
642b6d30
AS
20252012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2026
2027 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2028
4f5d2ba1
CY
20292012-06-09 Chong Yidong <cyd@gnu.org>
2030
2031 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2032
e75852fd
MR
20332012-06-09 Martin Rudalics <rudalics@gmx.at>
2034
2035 * window.el (special-display-popup-frame): Don't use
2036 window--display-buffer (Bug#11651).
2037
1e48e282
EZ
20382012-06-09 Eli Zaretskii <eliz@gnu.org>
2039
8a26b487
EZ
2040 Fix parallel builds: make sure loaddefs.el is not being written
2041 while Lisp files are compiled.
2042 (compile): Don't depend on 'mh-autoloads'.
2043 (compile-CMD, compile-SH): Depend on 'autoloads'.
2044 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2045
1e48e282
EZ
2046 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2047
6175e34b
CY
20482012-06-09 Chong Yidong <cyd@gnu.org>
2049
2050 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2051 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2052 Doc fixes (Bug#11225).
2053
d9857e53
SM
20542012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2055
2056 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2057 a function if there's a clear indication that it has a compiler-macro.
2058 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2059 (macro-declarations-alist): Add arglist to declaration functions.
2060 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2061 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2062 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2063 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2064 Also add autoload to find the compiler macro.
2065 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2066 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2067 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2068 (cl--compiler-macro-get): New functions, replacing calls to
2069 cl-define-compiler-macro.
2070 (cl-typep) [compiler-macro]: Use macroexp-let².
2071
f81298f8 20722012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2073
2074 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2075 string properly, fixes Bug#11473.
2076
4b56d0fe
CY
20772012-06-08 Chong Yidong <cyd@gnu.org>
2078
2079 * faces.el (set-face-attribute): Doc fix.
2080 (modify-face): Don't use :bold and :italic.
2081 (error, warning, success): Tweak definitions.
2082
2083 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2084 (custom-modified, custom-set, custom-changed, custom-themed)
2085 (custom-saved, custom-button, custom-button-mouse)
2086 (custom-button-pressed, custom-state, custom-comment-tag)
2087 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2088 (custom-group-subtitle): Use new-style face specs.
2089 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2090 (custom-set-face, custom-changed-face, custom-saved-face)
2091 (custom-button-face, custom-button-pressed-face)
2092 (custom-documentation-face, custom-state-face)
2093 (custom-comment-face, custom-comment-tag-face)
2094 (custom-variable-tag-face, custom-variable-button-face)
2095 (custom-face-tag-face, custom-group-tag-face-1)
2096 (custom-group-tag-face): Remove obsolete face alias.
2097
2098 * epa.el (epa-validity-high, epa-validity-medium)
2099 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2100 (epa-field-name, epa-field-body):
2101 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2102 (font-lock-keyword-face, font-lock-builtin-face)
2103 (font-lock-function-name-face, font-lock-variable-name-face)
2104 (font-lock-type-face, font-lock-constant-face):
2105 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2106 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2107 * speedbar.el (speedbar-button-face, speedbar-file-face)
2108 (speedbar-directory-face, speedbar-tag-face)
2109 (speedbar-selected-face, speedbar-highlight-face)
2110 (speedbar-separator-face):
2111 * whitespace.el (whitespace-newline, whitespace-space)
2112 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2113 (whitespace-line, whitespace-space-before-tab)
2114 (whitespace-space-after-tab, whitespace-indentation)
2115 (whitespace-empty):
2116 * emulation/cua-base.el (cua-global-mark):
2117 * eshell/em-prompt.el (eshell-prompt):
2118 * net/newst-plainview.el (newsticker-new-item-face)
2119 (newsticker-old-item-face, newsticker-immortal-item-face)
2120 (newsticker-obsolete-item-face, newsticker-date-face)
2121 (newsticker-statistics-face, newsticker-default-face):
2122 * net/newst-reader.el (newsticker-feed-face)
2123 (newsticker-extra-face, newsticker-enclosure-face):
2124 * net/newst-treeview.el (newsticker-treeview-face)
2125 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2126 (newsticker-treeview-immortal-face)
2127 (newsticker-treeview-obsolete-face)
2128 (newsticker-treeview-selection-face):
2129 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2130 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2131 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2132 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2133 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2134 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2135 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2136 (mpuz-text):
2137 * progmodes/vera-mode.el (vera-font-lock-number)
2138 (vera-font-lock-function, vera-font-lock-interface):
2139 * textmodes/table.el (table-cell): Use new-style face specs, and
2140 don't use the old :bold and :italic attributes.
2141
2142 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2143 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2144 (ebrowse-member-class, ebrowse-progress): Likewise.
2145 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2146 (ebrowse-file-name-face, ebrowse-default-face)
2147 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2148 (ebrowse-progress-face): Remove obsolete faces.
2149
2150 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2151 Inherit from error and warning faces respectively.
2152
2153 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2154 Likewise.
f80efb86
SM
2155 (flyspell-incorrect-face, flyspell-duplicate-face):
2156 Remove obsolete aliases.
4b56d0fe 2157
03310646
MA
21582012-06-08 Michael Albinus <michael.albinus@gmx.de>
2159
2160 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2161 Avoid infloop.
2162
513749ee
SM
21632012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2164
2165 * startup.el (argv, argi): Make lexically scoped.
2166 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2167 * emacs-lisp/cl-macs.el: Use lexical-binding.
2168 Rename cl-bind-* to cl--bind-*.
2169 * files.el: Don't require `cl' since it doesn't use it.
2170 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2171
595ef4ad
JB
21722012-06-08 Juanma Barranquero <lekktu@gmail.com>
2173
2174 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2175 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2176 instead of calling external sort utility.
2177 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2178
e9f66fcb
EZ
21792012-06-08 Eli Zaretskii <eliz@gnu.org>
2180
2181 * descr-text.el (describe-char): Mention how to insert the
2182 character, if the current input method doesn't support it.
2183 See the discussion in this thread for the details:
2184 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2185
3d10db47
SS
21862012-06-08 Sam Steingold <sds@gnu.org>
2187
2188 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2189 XF86Back to previous-buffer.
2190 (minibuffer-local-map): Bind them to next-history-element and
2191 previous-history-element respectively.
2192 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2193 help-go-back respectively.
2194 * info.el (Info-mode-map): Bind them to Info-history-forward and
2195 Info-history-back respectively.
2196 These are the keys next to Up on the ThinkPad keyboard.
2197
de7e2b36
SM
21982012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2199
2200 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2201 * emacs-lisp/cl-macs.el: Provide itself.
2202 (cl--labels-convert-cache): New var.
2203 (cl--labels-convert): New function.
2204 (cl-flet, cl-labels): New implementation with new semantics, relying on
2205 lexical-binding.
2206 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2207 (cl-closure-vars, cl--function-convert-cache)
2208 (cl--function-convert): Move from cl-macs.el.
2209 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2210 rename by removing the "cl-" prefix.
2211 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2212
6fa6c4ae
SM
22132012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2216 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2217 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2218 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2219 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2220 (cl-hash-table-count): Add old compatibility aliases.
2221
2222 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2223 Use macroexpand-all-environment instead.
2224 (cl--old-macroexpand): New var.
2225 (cl--sm-macroexpand): New function.
2226 (cl-symbol-macrolet): Use it during macro expansion.
2227 (cl--function-convert-cache): New var.
2228 (cl--function-convert): New function, extracted from
2229 cl-macroexpand-all.
2230 (cl-lexical-let): Use it.
2231
2232 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2233 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2234 (cl-member): Remove old alias.
2235
2236 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2237 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2238 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2239 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2240 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2241 (cl-macroexpand-cmacs): Remove var.
2242 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2243 Use macroexpand-all instead.
2244
4dd1c416
SM
22452012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2248 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2249 (macroexp-copyable-p): New functions and macros.
2250 * emacs-lisp/edebug.el (edebug-unwrap):
2251 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2252 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2253 (pcase--let*): Remove.
2254 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2255 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2256 macroexp-const-p instead.
2257 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2258
2259 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2260 instead of "cl-" for internal definitions. Use macroexp-const-p.
2261 (cl-old-bc-file-form): Remove var.
2262 (cl-const-exprs-p): Remove fun.
2263 (cl-labels, cl-macrolet): Use backquote.
2264 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2265 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2266 (cl-define-setf-expander): Rename from cl-define-setf-method.
2267 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2268
2269 * international/mule-cmds.el: Don't require CL.
2270 (view-hello-file): Don't use `letf'.
2271
ed8bd4d7
SM
22722012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2273
7287f2f3
SM
2274 * tmm.el (tmm-prompt): Use string-prefix-p.
2275 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2276 (tmm-add-prompt): Use minibuffer-completion-help.
2277 (tmm-delete-map): Remove.
2278
ed8bd4d7
SM
2279 * subr.el (kbd): Make it its own function.
2280
7b4cdbf4
SM
22812012-06-07 Stefan Merten <smerten@oekonux.de>
2282
2283 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2284 Silence compiler warnings. Fix versions.
ed8bd4d7 2285 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2286 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2287 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2288 (rst-package-emacs-version-alist): Correct Emacs version to
2289 represent major merge with upstream.
ed8bd4d7 2290 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2291
2b48d721
GM
22922012-06-06 Glenn Morris <rgm@gnu.org>
2293
2294 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2295 Only print environment variables if set.
2296
fa779ab0
SM
22972012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2300 (macroexp--cons): Rename from maybe-cons.
2301 (macroexp--accumulate): Rename from macroexp-accumulate.
2302 (macroexp--all-forms): Rename from macroexpand-all-forms.
2303 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2304 (macroexp--expand-all): Rename from macroexpand-all-1.
2305
628299e0
SS
23062012-06-06 Sam Steingold <sds@gnu.org>
2307
2308 * calendar/calendar.el (calendar-in-read-only-buffer):
2309 Call `special-mode' to enable the standard read-only keybindings.
2310
b7bb5838
SM
23112012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2314 with "loading" messages (bug#11635).
2315
dfb308ba
MA
23162012-06-06 Michael Albinus <michael.albinus@gmx.de>
2317
2318 * files.el (enable-remote-dir-locals): New option.
2319 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2320
0372ee92
MA
2321 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2322 Ensure, that the temp directory is local.
2323
2324 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2325 `temporary-file-directory'.
2326
eed0bb91
MA
2327 * progmodes/python.el (python-send-region): Ensure, that the
2328 temporary file is created also in the remote case.
2329
7a58f64d
GM
23302012-06-06 Glenn Morris <rgm@gnu.org>
2331
f7dd4e98
GM
2332 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2333 (vc-rcs-update-changelog): Use it.
2334
090bd7cb 2335 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2336
7a58f64d
GM
2337 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2338 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2339 (vc-sccs-diff): Replace use of the external vcdiff script.
2340
daed4003
GM
23412012-06-05 Glenn Morris <rgm@gnu.org>
2342
2343 * ledit.el: Move to obsolete/.
2344
48c455c7
SS
23452012-06-05 Sam Steingold <sds@gnu.org>
2346
ed9265fc 2347 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2348 patch (Bug#11140).
2349
57a7d507
SM
23502012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2351
090bd7cb 2352 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2353
53aacf21
SM
2354 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2355 compiler-macro expansion.
2356
57a7d507
SM
2357 Add native compiler-macro support.
2358 * emacs-lisp/macroexp.el (macroexpand-all-1):
2359 Support compiler-macros directly. Properly follow aliases and apply
2360 the compiler macros more thoroughly.
2361 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2362 macroexpand now properly follows aliases.
2363 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2364 (cl-compiler-macroexpand): Use new prop.
2365 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2366
2367 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2368
51a5f9d8
MR
23692012-06-05 Martin Rudalics <rudalics@gmx.at>
2370
2371 * window.el (get-lru-window, get-mru-window, get-largest-window):
2372 New argument NOT-SELECTED to avoid picking the selected window.
2373 (window--display-buffer-1, window--display-buffer-2): Replace by
2374 new function window--display-buffer
2375 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2376 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2377 Use window--display-buffer.
51a5f9d8
MR
2378 (display-buffer-use-some-window): Remove temporary dedication
2379 hack by calling get-lru-window and get-largest-window with
2380 NOT-SELECTED argument non-nil. Call window--display-buffer.
2381
08f9f738
GM
23822012-06-05 Glenn Morris <rgm@gnu.org>
2383
2384 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2385 Replace external vcdiff script.
2386
e364a2b7
SM
23872012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2390
041df390
CY
23912012-06-04 Chong Yidong <cyd@gnu.org>
2392
e364a2b7
SM
2393 * image.el (imagemagick-types-inhibit): Revert last change.
2394 Add INFO and M.
47b36b94 2395 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2396
7c1898a7
SM
23972012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 * emacs-lisp/cl-lib.el: Rename from cl.el.
2400 * emacs-lisp/cl.el: New compatibility file.
2401 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2402 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2403 to obey the "cl-" prefix.
2404 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2405
0c3461de
GM
24062012-06-03 Glenn Morris <rgm@gnu.org>
2407
1e266c88
GM
2408 * emacs-lisp/authors.el (authors-aliases): Addition.
2409
0c3461de
GM
2410 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2411 Fix :version.
2412
d8a52e15
SM
24132012-06-03 Stefan Merten <smerten@oekonux.de>
2414
2415 * textmodes/rst.el: Add comments.
2416 (rst-transition, rst-adornment): New faces.
2417 (rst-adornment-faces-alist): Make default safe to reevaluate.
2418 Fixes
2419 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2420 Improve customization tags.
2421 (rst-define-level-faces): Clarify meaning.
2422
5205d6f6
CY
24232012-06-03 Chong Yidong <cyd@gnu.org>
2424
2425 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2426 (compilation-mode-line-run, compilation-mode-line-exit):
2427 New faces.
5205d6f6
CY
2428 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2429
757ee657
JD
24302012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2431
7c1898a7
SM
2432 * progmodes/which-func.el (which-func-update-ediff-windows):
2433 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2434
5f2c76c6
CY
24352012-06-03 Chong Yidong <cyd@gnu.org>
2436
2437 * bindings.el: Remove explicit help text from format-mode-line.
2438 It is now supplied by mode-line-default-help-echo.
2439 (mode-line-front-space, mode-line-end-spaces)
2440 (mode-line-misc-info): New variables.
2441 (mode-line-modes, mode-line-position): Move the default value to
2442 the variable definition.
2443 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2444 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2445 (mode-line-modified-help-echo): New functions.
2446 (mode-line-mule-info, mode-line-modified): Use them.
2447 (mode-line-eol-desc, propertized-buffer-identification):
2448 Consistency fixes for help text.
cbe46e5f
CY
2449 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2450 set-buffer-file-coding-system (Bug#289).
2451 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2452
f2d6a3df
SM
24532012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * simple.el (execute-extended-command): Set real-this-command
2456 (bug#11506).
2457
37269466
CY
24582012-06-02 Chong Yidong <cyd@gnu.org>
2459
2460 Remove incorrect uses of "modeline" in comments, docstrings, and
2461 function/variable names (Bug#10329).
2462
2463 * cus-edit.el (mode-line):
2464 * dframe.el (dframe-mouse-hscroll):
2465 * emacs-lisp/re-builder.el:
2466 * emacs-lisp/easy-mmode.el (define-minor-mode):
2467 * frame.el (set-frame-name):
2468 * help.el (lookup-minor-mode-from-indicator):
2469 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2470 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2471 (c-toggle-hungry-state):
2472 * progmodes/antlr-mode.el (antlr-language-alist):
2473 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2474 * progmodes/vhdl-mode.el (vhdl-mode):
2475 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2476 * term/ns-win.el (ns-face-at-pos):
2477 * term/sup-mouse.el (sup-mouse-report):
2478 * textmodes/flyspell.el (flyspell-mode-line-string):
2479 * textmodes/ispell.el (ispell-highlight-face):
2480 * textmodes/reftex-global.el:
2481 * vc/vc-arch.el (vc-arch-mode-line-string):
2482 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2483 * vc/vc-git.el (vc-git-mode-line-string):
2484 * vc/vc-hooks.el (vc-display-status)
2485 (vc-default-mode-line-string):
2486 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2487
2488 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2489
2490 * dired.el (dired-sort-set-mode-line): Rename from
2491 dired-sort-set-modeline. All callers changed.
2492
2493 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2494 eshell-status-in-modeline.
2495
2496 * foldout.el (foldout-mode-line-string): Rename from
2497 foldout-modeline-string. All callers changed.
2498 (foldout-update-mode-line): Rename from foldout-update-modeline.
2499
2500 * subr.el (redraw-modeline): Make into obsolete alias.
2501
2502 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2503 timeclock-modeline-display. Make old name an alias.
2504 (timeclock-update-mode-line): Likewise. All callers changed.
2505 (timeclock-mode-line-display): No need to check before using
2506 add-hook.
2507 (timeclock-relative, timeclock-day-over-hook)
2508 (timeclock-use-elapsed, timeclock-mode-string)
2509 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2510
2511 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2512 crisp-mode-modeline-string.
2513
2514 * play/solitaire.el (solitaire-build-mode-line): Rename from
2515 solitaire-build-modeline. All callers changed.
2516
2517 * play/zone.el (zone-hiding-mode-line): Rename from
2518 zone-hiding-modeline. All callers changed.
2519 (zone): Remove unusued `modeline-hidden-level' property.
2520
2521 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2522 xscheme-modeline-initialize. All callers changed.
2523
2524 * strokes.el (strokes-lighter): Rename from
2525 strokes-modeline-string.
2526
2527 * textmodes/sgml-mode.el (html-face-tag-alist)
2528 (html-tag-face-alist): Use mode-line face instead of obsolete
2529 alias modeline.
2530
42152ee4
SM
25312012-06-02 Stefan Merten <smerten@oekonux.de>
2532
2533 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2534 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2535
95f520b5
CY
25362012-06-02 Chong Yidong <cyd@gnu.org>
2537
2538 * image.el (imagemagick-enabled-types): Rename from
2539 imagemagick-types-enable. Add many more types.
2540 (imagemagick-types-inhibit): Change default to nil.
2541 (imagemagick-filter-types): Caller changed.
2542
4a5f187a
SM
25432012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2544
03fef3e6
SM
2545 * emacs-lisp/cl-macs.el: Use backquotes.
2546 (cl-transform-function-property): Use eval-and-compile rather than
2547 abusing `require'.
2548 (defstruct): Use declare-function instead of with-no-warnings.
2549
4a5f187a
SM
2550 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2551 (byte-compile-output-docform): Re-add the print-circle bindings.
2552 (byte-compile-fix-header): Use #$ just because it's shorter.
2553 (byte-compile-output-file-form): Remove defun/defmacro.
2554
bd56924f
MR
25552012-06-01 Martin Rudalics <rudalics@gmx.at>
2556
2557 * simple.el (choose-completion): Remove now obsolete binding for
2558 owindow.
2559
046e38ce
MA
25602012-06-01 Michael Albinus <michael.albinus@gmx.de>
2561
2562 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2563 in order to avoid "Stack overflow in regexp matcher".
2564
32d72c2f
GM
25652012-05-31 Glenn Morris <rgm@gnu.org>
2566
2567 * image.el: For clarity, call imagemagick-register-types at
2568 top-level, rather than relying on a custom :initialize.
2569 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2570 (imagemagick-filter-types): New function. (Bug#7406)
2571 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2572 If disabling support, remove elements altogether rather
2573 than using an impossible regexp.
2574 (imagemagick-types-inhibit): Give it the default init function.
2575
dd41169b
SM
25762012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2577
4a5f187a
SM
2578 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2579 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2580
efc00ab1 25812012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2582
2583 * desktop.el (desktop-read): Clear previous and next buffers for
2584 all windows and bury *Messages* buffer (bug#11556).
2585
500fcedc
SM
25862012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2587
2588 Add `declare' for `defun'. Align `defmacro's with it.
2589 * emacs-lisp/easy-mmode.el (define-minor-mode)
2590 (define-globalized-minor-mode): Don't autoload the var definitions.
2591 * emacs-lisp/byte-run.el: Use lexical-binding.
2592 (defun-declarations-alist, macro-declarations-alist): New vars.
2593 (defmacro, defun): Use them.
2594 (make-obsolete, define-obsolete-function-alias)
2595 (make-obsolete-variable, define-obsolete-variable-alias):
2596 Use `declare'.
2597 (macro-declaration-function): Mark obsolete.
2598 * emacs-lisp/autoload.el: Use lexical-binding.
2599 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2600
6e8a1786
AM
26012012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2602
2603 * textmodes/ispell.el (ispell-with-no-warnings):
2604 Define as a macro.
500fcedc
SM
2605 (ispell-kill-ispell, ispell-change-dictionary):
2606 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2607 `interactive-p'.
2608
61b108cc
SM
26092012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2612 (macro-declaration-function): Move var from C code.
2613 (macro-declaration-function): Define function with defalias.
2614 * emacs-lisp/macroexp.el (macroexpand-all-1):
2615 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2616 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2617 defun/defmacro any more.
2618 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2619 Provide fallback for unknown arglist.
2620 (byte-compile-arglist-warn): Change calling convention.
2621 (byte-compile-output-file-form): Move print-vars binding.
2622 (byte-compile-output-docform): Simplify accordingly.
2623 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2624 (byte-compile-defmacro-declaration): Remove.
2625 (byte-compile-file-form-defmumble): Generalize to defalias.
2626 (byte-compile-output-as-comment): Return byte-positions.
2627 Simplify callers accordingly.
2628 (byte-compile-lambda): Use `assert'.
2629 (byte-compile-defun, byte-compile-defmacro): Remove.
2630 (byte-compile-file-form-defalias):
2631 Use byte-compile-file-form-defmumble.
2632 (byte-compile-defalias-warn): Remove.
2633
6d3f7c2f
SM
26342012-05-29 Stefan Merten <smerten@oekonux.de>
2635
2636 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2637 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2638
2639 (rst-mode-abbrev-table): Merge definition.
2640 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2641 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2642
6dbaa1c7
UJ
26432012-05-29 Ulf Jasper <ulf.jasper@web.de>
2644
2645 * calendar/icalendar.el
2646 (icalendar-export-region): Export UID properly.
2647
d209e2fb 26482012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2649 * calendar/icalendar.el (icalendar-import-format):
2650 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2651 (icalendar-import-format-uid): New.
2652 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2653 Export UID.
2654
6876a58d
SM
26552012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2658 different alternative patterns.
2659 (pcase-codegen): Be more careful to preserve identity.
2660 (pcase--u1): Don't forget to mark vars as used.
2661
2662 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2663 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2664 (byte-compile-from-buffer): ...rather than here.
2665
2666 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2667 functions from byte-compile-function-environment.
2668
46b7967e
TN
26692012-05-29 Troels Nielsen <bn.troels@gmail.com>
2670
2671 * window.el (window-deletable-p): Avoid deleting the root window
2672 of a frame with an active minibuffer.
2673
69d565e2
MR
26742012-05-29 Martin Rudalics <rudalics@gmx.at>
2675
2676 * simple.el (choose-completion): Use quit-window (Bug#11567).
2677
a149fa51
CY
26782012-05-29 Chong Yidong <cyd@gnu.org>
2679
2680 * whitespace.el (whitespace-cleanup): Fix usage of
2681 whitespace-empty-at-bob-regexp (Bug#11492).
2682
2b311310
AH
26832012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2684
2685 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2686 revert (Bug#11488).
2687
b9cb2387
JL
26882012-05-29 Juri Linkov <juri@jurta.org>
2689
2690 * isearch.el (isearch-mode-map): Bind `M-s _' to
2691 `isearch-toggle-symbol'. Bind `M-s c' to
2692 `isearch-toggle-case-fold'.
2693 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2694 (isearch-forward): Add `M-s _' to the docstring.
2695 (isearch-forward-symbol, isearch-toggle-case-fold)
2696 (isearch-symbol-regexp): New functions. (Bug#11381)
2697
d5e61c1c
JL
26982012-05-29 Juri Linkov <juri@jurta.org>
2699
2700 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2701 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2702 a function, call it to get the regexp.
2703 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2704 property `isearch-message-prefix' instead of the string "word ".
2705 (isearch-search-fun-default): For the case of `isearch-word',
2706 return a lambda that calls re-search-forward/re-search-backward
2707 with a regexp returned by `word-search-regexp' or by the function
2708 in `isearch-word'.
2709
8cbd80f7
JL
27102012-05-29 Juri Linkov <juri@jurta.org>
2711
2712 * isearch.el (isearch-search-fun-default): New function.
2713 (isearch-search-fun): Move default part to the new function
2714 `isearch-search-fun-default'.
2715 (isearch-search-fun-function): Set the default value to
2716 `isearch-search-fun-default'. (Bug#11381)
2717
2718 * comint.el (comint-history-isearch-end):
2719 Use `isearch-search-fun-default'.
2720 (comint-history-isearch-search): Use `isearch-search-fun-default'
2721 and remove spacial case for `isearch-word'.
2722 (comint-history-isearch-wrap): Remove spacial case for
2723 `isearch-word'.
2724
2725 * hexl.el (hexl-isearch-search-function):
2726 Use `isearch-search-fun-default'.
2727
2728 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2729 Use `word-search-regexp' for `isearch-word'.
2730
2731 * misearch.el (multi-isearch-search-fun):
2732 Use `isearch-search-fun-default'.
2733
2734 * simple.el (minibuffer-history-isearch-search):
2735 Use `isearch-search-fun-default' and remove spacial case for
2736 `isearch-word'.
2737 (minibuffer-history-isearch-wrap): Remove spacial case for
2738 `isearch-word'.
2739
2740 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2741 Remove spacial case for `isearch-word'.
2742 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2743
85c8c5b6
AM
27442012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2745
2746 Decrease XEmacs incompatibilities.
2747 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2748 Use `string-match'.
2749 (flyspell-delete-region-overlays): Use alternative definition for
2750 XEmacs.
2751 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2752 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2753 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2754 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2755 `define-obsolete-face-alias' under XEmacs, but old method.
2756
2757 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2758 `with-no-warnings' definition or Emacs alias.
2759 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2760 (ispell-word): Do not use `region-p' if XEmacs.
2761
8cab9efc
AM
27622012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2763
2764 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2765 Check for `ispell-dictionary-base-alist' instead of full
2766 `ispell-dictionary-alist'.
2767 (ispell-init-process): Show spellchecker when starting new Ispell
2768 process.
2769
fda91268
RZ
27702012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2773 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2774
694ea8e3
JB
27752012-05-27 Juanma Barranquero <lekktu@gmail.com>
2776
2777 * version.el (motif-version-string, gtk-version-string)
2778 (ns-version-string): Declare.
2779
e4d4f539
JL
27802012-05-27 Juri Linkov <juri@jurta.org>
2781
2782 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2783 after the `eval-defun-1' specialcaseing
2784 like in `edebug-eval-defun' (bug#10181).
2785
2786 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2787 like in `eval-defun-1'.
2788
33017faf 27892012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2790
fda91268
RZ
2791 * mail/sendmail.el (mail-yank-region):
2792 Recognize rmail-yank-current-message in addition to insert-buffer.
2793 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2794 a *mail* buffer created through rmail-start-mail with sendmail as
2795 mail-user-agent.
2796
33017faf
GM
27972012-05-27 Chong Yidong <cyd@gnu.org>
2798
2799 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2800 Default to 256 (Bug#11267).
2801
2802 * help.el (describe-mode): Doc fix.
2803
04188bb9
GM
28042012-05-26 Glenn Morris <rgm@gnu.org>
2805
38264cc9
GM
2806 * w32-fns.el (w32-init-info): Remove.
2807 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2808
eb7afdad
GM
2809 * info.el (info-initialize): For self-contained NS builds, put the
2810 included info/ directory at the front. (Bug#2791)
2811
04188bb9
GM
2812 * paths.el (Info-default-directory-list): Make it a defcustom,
2813 mainly so that we can use custom-initialize-delay.
2814
a179e3f7
SM
28152012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2816
43416392
SM
2817 * subr.el (buffer-has-markers-at): Mark obsolete.
2818
a179e3f7 2819 * subr.el (lambda): Use declare.
43416392 2820
a179e3f7
SM
2821 * emacs-lisp/lisp-mode.el (lambda):
2822 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2823
34a008d9
AH
28242012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2825
2826 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2827
0a3b289f
GM
28282012-05-26 Glenn Morris <rgm@gnu.org>
2829
2830 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2831
758c81e8
GM
28322012-05-25 Glenn Morris <rgm@gnu.org>
2833
f9f334f0
GM
2834 * paths.el: Remove no-byte-compile.
2835 * loadup.el: No need to load paths.el uncompiled.
2836
87eb79c2
GM
2837 * image.el (imagemagick-types-inhibit): Doc fix.
2838
758c81e8
GM
2839 * version.el: Remove no-byte-compile and associated formatting.
2840 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2841 is ancient code from when there was an "inc-vers.el".
2842
e7e85dc0
SM
28432012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * progmodes/gdb-mi.el: Minor style changes.
2846 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2847 Turn into minor modes.
2848 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2849 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2850 (gdb-shell): Remove unneeded let-binding.
2851 (gdb-get-many-fields): Eliminate O(n²) behavior.
2852
f31237a4
EZ
28532012-05-25 Eli Zaretskii <eliz@gnu.org>
2854
2855 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2856 platforms that don't link in fontset.c.
2857
bc1b21bb
JL
28582012-05-25 Juri Linkov <juri@jurta.org>
2859
2860 Use the same diff color scheme as in modern VCSes (bug#10181).
2861
2862 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2863 to avoid confusion with `diff-added' that now uses green colors.
2864 (diff-removed): Use shades of red.
2865 (diff-added): Use shades of green.
2866 (diff-changed): Leave just the yellow color.
2867 (diff-use-changed-face): New variable.
2868 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2869 how to highlight context diff changes.
2870 (diff-refine-change): Use shades of yellow.
2871 (diff-refine-removed): New face that uses shades of red.
2872 (diff-refine-added): New face that uses shades of green.
2873 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2874 `diff-refine-removed' in the call to `smerge-refine-subst'
2875 depending on the value of `diff-use-changed-face'.
2876
2877 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2878 (smerge-other): Use shades of green.
2879 (smerge-base): Use shades of yellow.
2880 (smerge-refined-change): Empty face.
2881 (smerge-refined-removed): New face that uses shades of red.
2882 (smerge-refined-added): New face that uses shades of green.
2883 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2884 args `props-r' and `props-a', and use them. Doc fix.
2885 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2886 on its value use different faces `smerge-refined-change',
2887 `smerge-refined-removed', `smerge-refined-added' in the call to
2888 `smerge-refine-subst'.
2889
2890 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2891 Add face condition `min-colors 88' with shades of red.
2892 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2893 `min-colors 88' with shades of green.
2894 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2895 `min-colors 88' with shades of yellow.
2896
6df9112c
GM
28972012-05-24 Glenn Morris <rgm@gnu.org>
2898
ead5edc0
GM
2899 * paths.el (prune-directory-list, remote-shell-program): Move to...
2900 * files.el (prune-directory-list, remote-shell-program): ...here.
2901 For the latter, delay initialization, prefer ssh, just search PATH.
2902
f18b81e6
GM
2903 * paths.el (term-file-prefix): Move to faces.el (the only user).
2904 * faces.el (term-file-prefix): Move here, make it a defcustom.
2905
ee2f89a6
GM
2906 * paths.el (news-directory, news-path, news-inews-program):
2907 Move to gnus/nnspool.el.
61a583ca 2908
f8815e4c
GM
2909 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2910
c8f3b42c
GM
2911 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2912 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2913 Make the latter a defcustom, with a delayed initialization.
2914
6df9112c
GM
2915 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2916 These were deleted from Gnus itself late 2010.
2917
5dadff36
JB
29182012-05-22 Juanma Barranquero <lekktu@gmail.com>
2919
9e1701c6
JB
2920 * progmodes/which-func.el (which-func-ff-hook):
2921 Check against user-error, not error.
2922
bd7239f5 2923 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2924 cl-specs.el, which no longer exists.
2925
3290526d
GM
29262012-05-22 Glenn Morris <rgm@gnu.org>
2927
2928 * info.el (info-emacs-bug): New command.
2929 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2930 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2931
ff0c3cfb
GM
29322012-05-21 Glenn Morris <rgm@gnu.org>
2933
2934 * makefile.w32-in (update-subdirs-SH):
2935 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2936
5814f126
SM
29372012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2938
a52c0aa0
SM
2939 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2940
5814f126
SM
2941 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2942 Simplify Maven regexp, and make sure the file can't start with a space
2943 (bug#11517).
2944
b847032c
GM
29452012-05-21 Glenn Morris <rgm@gnu.org>
2946
2947 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2948 Scrap superfluous subshells.
2949
3858bfe7
SM
29502012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2953 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2954
d14b0029
JB
29552012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2956
2957 * calc/calc.el (calc-ensure-consistent-units): New variable.
2958
a52c0aa0
SM
2959 * calc/calc-units.el (math-consistent-units-p)
2960 (math-check-unit-consistency): New functions.
2961 (calc-quick-units, calc-convert-units):
2962 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2963 is non-nil.
d14b0029
JB
2964 (calc-extract-units): Fix typo.
2965
60c4db3a
SM
29662012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2967
77f3b62e
SM
2968 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2969
60c4db3a
SM
2970 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2971 (flyspell-default-deplacement-commands): Don't spell check after
2972 repeated window/frame switches (e.g. triggered by mouse-movement).
2973 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2974 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2975 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2976 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2977 Remove unused vars.
2978 (flyspell-get-casechars, flyspell-get-not-casechars):
2979 Simplify; Don't bother removing a ] just to add it back.
2980 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2981
d209e2fb 29822012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2983
2984 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2985 New functions.
bd7239f5 2986 (math-function-table): Add support for more C functions.
b1a10716 2987
3f1b25b5
AM
29882012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2989
090bd7cb
JB
2990 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2991 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2992 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2993
b581bb5c
SM
29942012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2997 their respective macro declarations.
2998 * skeleton.el (define-skeleton):
2999 * progmodes/compile.el (define-compilation-mode):
3000 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3001 (define-ibuffer-filter):
3002 * emacs-lisp/generic.el (define-generic-mode):
3003 * emacs-lisp/easy-mmode.el (define-minor-mode)
3004 (define-globalized-minor-mode):
3005 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3006 * emacs-lisp/byte-run.el (defsubst):
3007 * custom.el (deftheme): Add doc-string metadata.
3008
70b8ef8f
SM
30092012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3010
3011 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3012
b1198e17
SM
30132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3014
9abdc45d
SM
3015 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3016
b1198e17
SM
3017 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3018 * emacs-lisp/cl-macs.el: Idem.
3019 * emacs-lisp/cl-specs.el: Remove.
3020
4735906a
SM
30212012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 Minor renaming of internal CL functions and variables.
3024 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3025 (cl--position): Rename from cl-position.
3026 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3027 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3028 (cl--random-state): Rename from *random-state*.
3029
ac348012
SM
30302012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3033 parens around the arg list (bug#11499).
3034
a0a79cde
JL
30352012-05-17 Juri Linkov <juri@jurta.org>
3036
3037 * isearch.el (word-search-regexp, word-search-backward)
3038 (word-search-forward, word-search-backward-lax)
3039 (word-search-forward-lax): Move functions from search.c
3040 (bug#10145, bug#11381).
3041
65034a51
AM
30422012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3043
090bd7cb
JB
3044 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3045 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3046 Delay for otherchars as for normal word components.
65034a51 3047
1a72a195
SM
30482012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * minibuffer.el (completion--sifn-requote): Fix last change.
3051 (minibuffer-local-must-match-filename-map):
3052 Move define-obsolete-variable-alias before its var.
3053
fdb058c2
SM
30542012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3055
c41045e6
SM
3056 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3057
036dfb8b
SM
3058 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3059 behavior.
3060 (completion--string-equal-p): New function.
3061 (completion--twq-all): Use it to get better assertion failure data.
3062
2473256d
SM
3063 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3064 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3065 (shell--requote-argument): New functions.
3066 (shell-completion-vars): Use them.
3067 (shell--parse-pcomplete-arguments): Rename from
3068 shell-parse-pcomplete-arguments.
3069 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3070 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3071 Obey comint-file-name-quote-list.
3072
fdb058c2
SM
3073 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3074 (smie-indent-keyword): Use it.
3075
51fa99f1
SM
30762012-05-14 Stefan Merten <smerten@oekonux.de>
3077
3078 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3079
e18afed7 30802012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3081
3082 * net/rlogin.el (rlogin-mode-map): Fix last change.
3083
e18afed7 30842012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3085
3086 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3087 the following \r\n using a single `process-send-string', since the
3088 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3089 with two `process-send-string's (Bug#11444).
8633b1f4 3090
e18afed7 30912012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3092
fdb058c2
SM
3093 * shell.el (shell-parse-pcomplete-arguments):
3094 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3095
2d21d7f6
WJ
30962012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3097
e18afed7 3098 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3099 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3100 (image-transform-width, image-transform-fit-width): New functions.
3101 (image-transform-properties): Use them.
3102 (image-transform-check-size): New function.
3103 (image-toggle-display-image): Use it (for testing).
3104 (image-transform-set-rotation): Reduce angle mod 360.
3105 Delete obsolete comment.
3106
7102e6d0
WJ
31072012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3108
3109 * image-mode.el: Fix scaling (bug#11399).
3110 (image-transform-resize): Doc fix.
3111 (image-transform-properties): Default scale is 1 and height should
3112 be an integer.
3113
06bc5e6e
SM
31142012-05-13 Johan Bockgård <bojohan@gnu.org>
3115
3116 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3117 than hard-coding `car', to fix misbehavior when moving forward.
3118
0ae03b6a
CY
31192012-05-13 Chong Yidong <cyd@gnu.org>
3120
3121 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3122 (tabulated-list-entries, tabulated-list-padding)
3123 (tabulated-list-sort-key): Make permanent-local.
3124
3125 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3126 (electric-buffer-list): Put electric buffer menu
3127 command descriptions in this docstring, instead of the docstring
3128 of electric-buffer-menu-mode. Code cleanups.
3129 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3130 Electric-buffer-menu-mode.
3131 (electric-buffer-update-highlight): Minor code cleanup.
3132
205a7391
MA
31332012-05-13 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3136 (Bug#11447)
3137
e5bd0a28
SM
31382012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 Move define-obsolete-variable-alias before the var's definition.
3141 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3142 * tooltip.el (tooltip-hook):
3143 * textmodes/reftex-toc.el (reftex-toc-map):
3144 * textmodes/reftex-sel.el (reftex-select-label-map)
3145 (reftex-select-bib-map):
3146 * textmodes/reftex-index.el (reftex-index-map)
3147 (reftex-index-phrases-map):
3148 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3149 * progmodes/meta-mode.el (meta-mode-map):
3150 * novice.el (disabled-command-hook):
3151 * loadhist.el (unload-hook-features-list):
3152 * frame.el (blink-cursor):
3153 * files.el (find-file-not-found-hooks, write-file-hooks)
3154 (write-contents-hooks):
3155 * emulation/tpu-edt.el (GOLD-map):
3156 * emacs-lock.el (emacs-lock-from-exiting):
3157 * emacs-lisp/generic.el (generic-font-lock-defaults):
3158 * emacs-lisp/chart.el (chart-map):
3159 * dos-fns.el (register-name-alist):
3160 * dired-x.el (dired-omit-files-p):
3161 * desktop.el (desktop-enable):
3162 * cus-edit.el (custom-mode-hook):
3163 * buff-menu.el (buffer-menu-mode-hook):
3164 * bookmark.el (bookmark-read-annotation-text-func)
3165 (bookmark-exit-hooks):
3166 * allout.el (allout-mode-deactivate-hook)
3167 (allout-exposure-change-hook, allout-structure-added-hook)
3168 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3169 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3170 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3171 comes before the corresponding variable's definition.
3172
ac59c2f6
CY
31732012-05-12 Chong Yidong <cyd@gnu.org>
3174
3175 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3176 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3177 (Buffer-menu-mode-map): Bind it.
3178 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3179
dee6c9a3
SM
31802012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3181
2171cea5
SM
3182 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3183 (prolog-upper-case-string, prolog-lower-case-string)
3184 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3185 (prolog-use-smie, prolog-smie-grammar): New vars.
3186 (prolog-smie-forward-token, prolog-smie-backward-token)
3187 (prolog-smie-rules): New funs.
3188 (prolog-comment-indent): Remove.
3189 (prolog-mode-variables): Use default comment indentation instead.
3190 Setup SMIE.
3191 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3192 (prolog-mode): Don't call them any more.
3193 (prolog-electric-colon, prolog-electric-dash)
3194 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3195
aa0382bd
SM
3196 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3197
dbacb4bd
SM
3198 * minibuffer.el (completion--twq-all): Again, allow case differences.
3199
13bdd94c
SM
3200 * term.el: Move keymap initialization code to be more idiomatic.
3201 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3202 (term-terminal-menu): Move initialization into declaration.
3203 (term-escape-char): Let the user set it in her .emacs.
3204
ff46c759
SM
3205 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3206 Provide SMIE-based indentation (not enabled by default yet).
3207 (sh-mode-map): Don't bind electric keys.
3208 Use electric-pair-mode instead of skeleton-pair.
3209 (sh-assignment-regexp): Fit within 80 columns.
3210 (sh-indent-supported): Specify actual shell name instead of boolean.
3211 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3212 (sh-maybe-here-document): Use it. Make obsolete.
3213 (sh-electric-here-document-mode) New minor mode.
3214 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3215 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3216 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3217 (sh-smie-rc-grammar, sh-use-smie): New vars.
3218 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3219 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3220 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3221 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3222 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3223 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3224 (sh-set-shell): Use smie-setup if requested.
3225
dee6c9a3
SM
3226 * term.el (term-set-escape-char): Properly set term-escape-char.
3227 See http://stackoverflow.com/questions/10524656.
3228
9f9aa044
CY
32292012-05-10 Chong Yidong <cyd@gnu.org>
3230
3231 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3232 Use url-generic-parse-url, and handle host names and Windows
3233 filenames properly.
3234 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3235 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3236 URL schemes to work on.
3237 (ffap--toggle-read-only): New function.
3238 (ffap-read-only, ffap-read-only-other-window)
3239 (ffap-read-only-other-frame): Use it.
3240 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3241 necessary for ffap-url-unwrap-remote.
3242
836d29b3
DA
32432012-05-10 Dave Abrahams <dave@boostpro.com>
3244
3245 * cus-start.el (create-lockfiles): Add it.
3246
00fd78ed
CY
32472012-05-09 Chong Yidong <cyd@gnu.org>
3248
3249 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3250 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3251
666b903b 32522012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3253
3254 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3255
666b903b 32562012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3257
3258 * ansi-color.el (ansi-color-process-output): Check for validity of
3259 comint-last-output-start before using it. This avoids a bad
3260 interaction with gdb-mi's input/output buffer.
3261
666b903b 32622012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3263
3264 * files.el (dir-locals-read-from-file):
3265 Mention dir-locals in any error message.
3266
666b903b 32672012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3268
3269 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3270 package (Bug#11410).
3271
f677562b
CY
3272 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3273 variables into description.
3274
666b903b 32752012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3276
3277 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3278 shell-delimiter-argument-list (bug#11348).
3279 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3280
b499d8d0
JB
32812012-05-09 Juanma Barranquero <lekktu@gmail.com>
3282
8f6b6da8
JB
3283 * textmodes/rst.el: Silence byte-compiler warnings.
3284 (rst-re-alist, rst-reset-section-caches): Move around.
3285 (rst-re): Use `characterp', not `char-valid-p'.
3286 (font-lock-beg, font-lock-end): Declare.
3287
4824146a
JB
3288 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3289 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3290
b499d8d0
JB
3291 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3292
ad89bb83
GM
32932012-05-08 Glenn Morris <rgm@gnu.org>
3294
3295 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3296
8bba5a75
SM
32972012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3298
49ed9c8e
SM
3299 * vc/log-edit.el: Add GNU coding standards highlighting.
3300 (log-edit-font-lock-gnu-style)
3301 (log-edit-font-lock-gnu-keywords): New vars.
3302 (log-edit-font-lock-keywords): New fun.
3303 (log-edit-mode): Don't fold case in font-lock.
3304 (log-edit-font-lock-keywords): Do not assume case-folding.
3305
07d00b56
SM
3306 * imenu.el: Misc cleanup. Make docstrings out of comments.
3307 Use lexical-binding.
3308 (imenu--index-alist, imenu--last-menubar-index-alist)
3309 (imenu-menubar-modified-tick): Use defvar-local.
3310 (imenu--split-menu): Remove unused var.
3311 (imenu--cleanup-seen): Declare as global.
3312 (imenu--cleanup): Use dolist.
3313
8bba5a75
SM
3314 * subr.el (defvar-local): Add debug spec and doc-string position.
3315
5075bdb5
GM
33162012-05-08 Glenn Morris <rgm@gnu.org>
3317
090bd7cb 3318 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3319 * language/english.el, language/georgian.el, language/greek.el:
3320 * language/japanese.el, language/khmer.el, language/korean.el:
3321 * language/lao.el, language/misc-lang.el, language/romanian.el:
3322 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3323 * language/thai.el, language/utf-8-lang.el:
3324 Remove no-byte-compile setting.
3325
5075bdb5
GM
3326 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3327
06f679a7
AH
33282012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3329
3330 * progmodes/make-mode.el (makefile-browse):
3331 Remove unnecessary interactive. (Bug#11324)
3332
03794570
GM
33332012-05-07 Glenn Morris <rgm@gnu.org>
3334
af8630f4
GM
3335 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3336
03794570
GM
3337 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3338
f0809a9d
SM
33392012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3340
28be5ce7
SM
3341 * loadup.el: Preload newcomment.el.
3342 * newcomment.el: Move autoload-only code to toplevel.
3343
f0809a9d
SM
3344 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3345 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3346 Handle new :right-align column property.
3347 (tabulated-list-print-col): Idem, plus use `display' text-property to
3348 try and preserve alignment for variable pitch fonts.
3349
1241b724
CY
33502012-05-07 Chong Yidong <cyd@gnu.org>
3351
3352 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3353 (tabulated-list-use-header-line): New var.
3354 (tabulated-list-init-header): Use it.
3355 (tabulated-list-print-fake-header): New function.
3356 (tabulated-list-print): Use it.
3357 (tabulated-list-sort-button-map): Add non-header-line commands.
3358 (tabulated-list-init-header): Add column name property to basic
3359 labels as well.
3360 (tabulated-list-col-sort): Handle non-header-line button case.
3361 (tabulated-list--sort-by-column-name): Fix a corner case.
3362
f0809a9d
SM
3363 * buff-menu.el (list-buffers--refresh):
3364 Handle Buffer-menu-use-header-line.
1241b724 3365
e5f9458f
CY
33662012-05-06 Chong Yidong <cyd@gnu.org>
3367
3368 * buff-menu.el: Convert to Tabulated List mode.
3369 (Buffer-menu-buffer+size-width): Make obsolete.
3370 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3371 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3372 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3373 documentation into docstring of buffer-menu.
3374 (Buffer-menu-toggle-files-only): Add an informative message.
3375 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3376 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3377 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3378 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3379 (Buffer-menu-execute, Buffer-menu-select)
3380 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3381 (Buffer-menu-bury): Use Tabulated List machinery.
3382 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3383 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3384 Delete.
e5f9458f
CY
3385 (list-buffers--refresh): New function.
3386 (list-buffers-noselect): Use it.
3387 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3388 (Buffer-menu--pretty-file-name): New helper functions.
3389
3390 * loadup.el: Preload tabulated-list.
3391
3392 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3393 tabulated-list-sort-column.
3394 (tabulated-list-init-header): Add the initial aligning space even
3395 if tabulated-list-padding is zero.
3396
e129292c
CS
33972012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3398
3399 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3400 whose cdr is not a cons cell correctly (bug#11038).
3401
6632d361
CY
34022012-05-06 Chong Yidong <cyd@gnu.org>
3403
e129292c
CS
3404 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3405 Accept additional plist in column descriptors.
6632d361
CY
3406 (tabulated-list-init-header): Obey it.
3407 (tabulated-list-get-entry): New function.
3408 (tabulated-list-put-tag): Use it. Use string-width instead of
3409 length.
3410 (tabulated-list--column-number): New function.
3411 (tabulated-list-print): Use it.
e129292c
CS
3412 (tabulated-list-print-col): New function.
3413 Set `tabulated-list-column-name' property on each column's text.
6632d361 3414 (tabulated-list-print-entry): Use it.
e129292c
CS
3415 (tabulated-list-delete-entry, tabulated-list-set-col):
3416 New functions.
6632d361
CY
3417 (tabulated-list-sort-column): New command (Bug#11337).
3418
3cc99f68
CY
3419 * buff-menu.el (list-buffers): Move C-x C-b binding from
3420 buff-menu.el to bindings.el.
3421
3422 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3423 :advertised-binding feature.
3424
52b61776
TN
34252012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3426
3427 * progmodes/compile.el (compilation-internal-error-properties):
3428 Calculate start position correctly when end-col is set but
3429 end-line is not (Bug#11382).
3430
ebfe2597
WJ
34312012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3432
3433 * man.el (Man-unindent): Use text-property-default-nonsticky to
3434 prevent untabify from inheriting face properties (Bug#11408).
3435
6d3f7c2f
SM
34362012-05-05 Stefan Merten <smerten@oekonux.de>
3437
3438 * textmodes/rst.el: Major merge with upstream development up to
3439 Docutils SVN r7399 / rst.el V1.2.1.
3440
3441 Clarify maintainership and authors.
3442
3443 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3444 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3445 (rst-official-version, rst-official-cvs-rev, rst-version)
3446 (rst-package-emacs-version-alist): New functions and variables
3447 for version information.
3448
3449 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3450 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3451 (rst-mode-syntax-table, rst-mode): New and corrected functions
3452 and variables representing reStructuredText features.
3453
3454 (rst-re): New function for reStructuredText regexes. Use in
3455 many places.
3456
3457 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3458 (rst-mode-map): Rebind keys.
3459
3460 (rst-mode-lazy, rst-font-lock-keywords)
3461 (rst-font-lock-extend-region)
3462 (rst-font-lock-extend-region-internal)
3463 (rst-font-lock-extend-region-extend)
3464 (rst-font-lock-find-unindented-line-limit)
3465 (rst-font-lock-find-unindented-line-match)
3466 (rst-adornment-level, rst-font-lock-adornment-level)
3467 (rst-font-lock-adornment-match)
3468 (rst-font-lock-handle-adornment-pre-match-form)
3469 (rst-font-lock-handle-adornment-matcher): Major revision of
3470 font-locking. Integrate with other code. Use `jit-lock-mode'.
3471
3472 (rst-preferred-adornments, rst-adjust-hook)
3473 (rst-new-adornment-down, rst-preferred-bullets)
3474 (rst-preferred-bullets, rst-indent, rst-indent-width)
3475 (rst-indent-field, rst-indent-literal-normal)
3476 (rst-indent-literal-minimized, rst-indent-comment): Change,
3477 extend and improve customization.
3478
3479 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3480 (rst-normalize-cursor-position, rst-get-decoration)
3481 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3482 (rst-rstrip, rst-toc-insert-find-delete-contents)
3483 (rst-shift-fill-region, rst-compute-bullet-tabs)
3484 (rst-debug-print-tabs, rst-debug-mark-found)
3485 (rst-shift-region-guts, rst-shift-region-right)
3486 (rst-shift-region-left, rst-use-char-classes)
3487 (rst-font-lock-keywords-function)
3488 (rst-font-lock-indentation-point)
3489 (rst-font-lock-find-unindented-line-begin)
3490 (rst-font-lock-find-unindented-line-end)
3491 (rst-font-lock-find-unindented-line)
3492 (rst-font-lock-adornment-point, rst-font-lock-level)
3493 (rst-adornment-level-alist): Remove functions and variables.
3494
3495 (rst-compare-adornments, rst-get-adornment-match)
3496 (rst-suggest-new-adornment, rst-get-adornments-around)
3497 (rst-adornment-complete-p, rst-get-next-adornment)
3498 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3499 (rst-straighten-adornments): Standardize function names to
3500 use "adornment" instead of "decoration". Correct callers.
3501 Similar standardizing in many places.
3502
3503 (rst-update-section, rst-adjust, rst-promote-region)
3504 (rst-enumerate-region, rst-bullet-list-region)
3505 (rst-repeat-last-character): Correct use of `interactive'.
3506
3507 (rst-classify-adornment, rst-find-all-adornments)
3508 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3509 (rst-find-leftmost-column, rst-repeat-last-character):
3510 Refactor functions.
3511
3512 (rst-find-title-line, rst-reset-section-caches)
3513 (rst-get-adornments-around, rst-adjust-adornment-work)
3514 (rst-arabic-to-roman, rst-roman-to-arabic)
3515 (rst-insert-list-pos, rst-insert-list-new-item)
3516 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3517 New functions.
3518
3519 (rst-all-sections, rst-section-hierarchy)
3520 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3521 New variables.
3522
3523 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3524 configuration instead of only buffer. Change where necessary.
3525
3526 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3527 (rst-shift-region, rst-adaptive-fill): New functions for
3528 indentation and filling.
3529
3530 (rst-comment-line-break, rst-comment-indent)
3531 (rst-comment-insert-comment, rst-comment-region)
3532 (rst-uncomment-region): New functions for handling comments.
3533
3534 (rst-compile): Quote shell arguments.
3535
3536 (rst-compile-pdf-preview, rst-compile-slides-preview):
3537 Delete temporary files after use.
3538
a43f98b3
GM
35392012-05-05 Glenn Morris <rgm@gnu.org>
3540
48176e8b
GM
3541 * calendar/cal-html.el: Optionally include holidays in the output.
3542 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3543 (cal-html-holidays): New option.
3544 (cal-html-css-default): Add holiday entry.
3545 (holiday-in-range): Autoload it.
3546 (cal-html-htmlify-entry): Add optional class argument.
3547 (cal-html-htmlify-list): Add optional holidays argument.
3548 (cal-html-insert-agenda-days): Include holidays in the output.
3549 (cal-html-one-month): Maybe include holidays.
3550
a43f98b3
GM
3551 * calendar/holidays.el (holiday-in-range):
3552 Move here from cal-tex-list-holidays.
3553 * calendar/cal-tex.el (cal-tex-list-holidays):
3554 Make it an obsolete alias for holiday-in-range. Update all callers.
3555
fef9d149 35562012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3557
3558 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3559 Nextstep.
3560
248da2f4
RW
35612012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3562
3563 * files.el (file-auto-mode-skip): New var.
3564 (set-auto-mode-1): Use it.
3565
f95e9344
SM
35662012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3567
df96ab1e
SM
3568 * repeat.el: Use lexical-binding.
3569 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3570 (repeat-undo-count): Remove.
3571 (repeat):
3572 * progmodes/octave-mod.el (octave-abbrev-start):
3573 * progmodes/f90.el (f90-abbrev-start):
3574 * face-remap.el (text-scale-adjust):
3575 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3576
5342bb06
SM
3577 * emacs-lisp/pcase.el (pcase--let*): New function.
3578 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3579 a bit more.
3580 (pcase--split-pred): Be more clever about ruling out overlap between
3581 a predicate and some constant pattern.
3582 (pcase--q1): Use `null' instead of (eq foo nil).
3583
f95e9344
SM
3584 * subr.el (setq-local, defvar-local): New macros.
3585 (kbd): Redefine as an alias.
3586 (with-selected-window): Leave unrelated frames alone.
3587 (set-temporary-overlay-map): New function.
3588
71873e2b
SM
35892012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3590
3591 * subr.el (user-error): New function.
3592 * window.el (switch-to-buffer):
3593 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3594 (smerge-match-conflict):
3595 * simple.el (previous-matching-history-element)
3596 (next-matching-history-element, goto-history-element, undo-more)
3597 (undo-start):
3598 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3599 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3600 (next-file, tags-loop-scan, list-tags, complete-tag):
3601 * progmodes/compile.el (compilation-loop):
3602 * mouse.el (mouse-minibuffer-check):
3603 * man.el (Man-bgproc-sentinel, Man-goto-page):
3604 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3605 (Info-history-forward, Info-follow-reference, Info-menu)
3606 (Info-extract-menu-item, Info-extract-menu-counting)
3607 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3608 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3609 (Info-next-reference, Info-prev-reference, Info-index)
3610 (Info-index-next, Info-follow-nearest-node)
3611 (Info-copy-current-node-name):
3612 * imenu.el (imenu--make-index-alist)
3613 (imenu-default-create-index-function, imenu-add-to-menubar):
3614 * files.el (basic-save-buffer, recover-file):
3615 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3616 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3617 (checkdoc-message-text, checkdoc-defun):
3618 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3619 * cus-edit.el (customize-changed-options, customize-rogue)
3620 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3621 (custom-variable-mark-to-reset-standard)
3622 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3623 (custom-file):
3624 * completion.el (check-completion-length):
3625 * comint.el (comint-search-arg)
3626 (comint-previous-matching-input-string-position)
3627 (comint-previous-matching-input)
3628 (comint-replace-by-expanded-history-before-point, comint-send-input)
3629 (comint-copy-old-input, comint-backward-matching-input)
3630 (comint-goto-process-mark, comint-set-process-mark):
3631 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3632 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3633
8a61ee22
SM
36342012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3635
66408d1e
SM
3636 * dabbrev.el (dabbrev--ignore-case-p): New function.
3637 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3638 Use it.
3639
8a61ee22
SM
3640 * files.el (automount-dir-prefix): Mark as obsolete.
3641
3c74813a
GM
36422012-05-04 Glenn Morris <rgm@gnu.org>
3643
3644 * patcomp.el, play/bruce.el: Move to obsolete/.
3645
0bfcf5c5
PE
36462012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3647
3648 Fix minor Y10k bugs.
3649 * arc-mode.el (archive-unixdate):
3650 * autoinsert.el (auto-insert-alist):
3651 * calc/calc-forms.el (math-this-year):
3652 * emacs-lisp/copyright.el (copyright-current-year)
3653 (copyright-update-year, copyright):
3654 * tar-mode.el (tar-clip-time-string):
3655 * time.el (display-time-update):
3656 Don't assume years have 4 digits.
3657
78f3273a
CY
36582012-05-04 Chong Yidong <cyd@gnu.org>
3659
3660 * dos-w32.el (file-name-buffer-file-type-alist)
3661 (direct-print-region-use-command-dot-com):
3662 * ffap.el (ffap-menu-regexp):
3663 * find-file.el (ff-special-constructs):
3664 * follow.el (follow-debug):
3665 * forms.el (forms--debug):
3666 * iswitchb.el (iswitchb-all-frames):
3667 * ido.el (ido-all-frames):
3668 * emacs-lisp/timer.el (timer-max-repeats):
3669 * mail/feedmail.el (feedmail-mail-send-hook)
3670 (feedmail-mail-send-hook-queued):
3671 * mail/footnote.el (footnote-signature-separator):
3672 * mail/mailabbrev.el (mail-alias-separator-string)
3673 (mail-abbrev-mode-regexp):
3674 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3675 * progmodes/idlwave.el (idlwave-libinfo-file)
3676 (idlwave-default-completion-case-is-down)
3677 (idlwave-library-routines): Convert defvars to defcustoms.
3678
3679 * mail/rmail.el (rmail-decode-mime-charset):
3680 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3681 (idlwave-shell-fix-inserted-breaks)
3682 (idlwave-shell-activate-alt-keybindings)
3683 (idlwave-shell-use-breakpoint-glyph):
3684 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3685
f7ae6719
SM
36862012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3689
47086495
WS
36902012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3691
3692 * progmodes/verilog-mode.el (font-lock-keywords):
3693 Fix mis-highligting auto. Reported by Craig Barner.
3694 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3695 defines from global name space. Reported by Dan Dever.
3696 (verilog-auto-reset, verilog-auto-reset-widths)
3697 (verilog-auto-tieoff): Support using unbased numbers for
3698 AUTORESET and AUTOTIEOFF.
3699 (verilog-submit-bug-report): Update variable list.
3700 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3701 parenthesis from not matching. Reported by Michael Rytting.
3702 (verilog-auto-template-lint): Fix hash error when linting modules
3703 with no used templates.
3704 (verilog-warn, verilog-warn-error)
3705 (verilog-warn-fatal): When non-interactive report multiple
3706 warnings before exiting. Suggested by Brad Dobbie.
3707 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3708 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3709 to report unused template errors. Reported by Brad Dobbie.
3710 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3711 nets, bug438. Reported by Vns Blore.
3712 (verilog-auto-inout-module, verilog-auto-reg)
3713 (verilog-read-decls, verilog-read-sub-decls-sig)
3714 (verilog-signals-edit-wire-reg, verilog-signals-with):
3715 Fix passing of Verilog data types in ANSI input/output ports
3716 such as "output logic" into the AUTOs. Special case "wire" and
3717 "reg" for backwards compatibility presuming Verilog 2001.
3718 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3719 (verilog-preprocess): Fix replication of preprocess output.
3720 Reported by Brad Dobbie.
3721 (verilog-auto-inst-interfaced-ports):
3722 Create verilog-auto-inst-interfaced-ports, bug429.
3723 Reported by Julian Gorfajn.
3724 (verilog-after-save-font-hook)
3725 (verilog-before-save-font-hook): New variable.
3726 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3727 (verilog-save-font-mods): Wrap disabling fontification, reported
3728 by David Rogoff.
3729 (verilog-do-indent, verilog-pretty-declarations-auto)
3730 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3731 Reported by Pierre-David Pfister.
3732 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3733 of class declarations, bug292. Reported by Kevin Heilman.
3734 (verilog-read-decls): Fix 'parameter type' not appearing in
3735 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3736 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3737 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3738 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3739 Reported by David Kravitz.
3740
37412012-05-03 Michael McNamara <mac@mail.brushroad.com>
3742
3743 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3744 assignment with tests in ifs and for loops.
3745 (verilog-extended-complete-re, verilog-complete-reg): Change so
3746 that DPI inport functions don't look like fuction declarations.
3747 (verilog-pretty-expr): Don't line up assignment
3748 operations to the test and increment in if and for loops
3749 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3750 that DPI inport functions don't look like fuction declarations.
47086495 3751
2e51d4b5
KH
37522012-05-03 Kenichi Handa <handa@m17n.org>
3753
3754 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3755 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3756 (Bug#11282).
3757
2bd785a2
SM
37582012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * emacs-lisp/bytecomp.el
3761 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3762 since cconv.el might have introduced :fun-body, internal-make-closure,
3763 and friends for bytecomp to handle (bug#11391).
3764 * custom.el (defcustom): Avoid ((λ ..) ..).
3765
99d27583
SM
37662012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3769
55a71479
JB
37702012-05-02 Juanma Barranquero <lekktu@gmail.com>
3771
3772 * notifications.el (dbus-debug):
3773 * term/linux.el (gpm-mouse-enable):
3774 * term/screen.el (xterm-register-default-colors): Declare.
3775
7b97c764
CY
37762012-05-02 Chong Yidong <cyd@gnu.org>
3777
2bc356d7
CY
3778 * cus-start.el (gc-cons-percentage, exec-suffixes)
3779 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3780 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3781 (make-cursor-line-fully-visible, void-text-area-pointer)
3782 (font-list-limit): Add customization data.
3783
7b97c764
CY
3784 * allout.el (allout-exposure-change-functions)
3785 (allout-structure-added-functions)
3786 (allout-structure-deleted-functions)
3787 (allout-structure-shifted-functions): Rename abnormal hooks from
3788 *-hook, and convert to defcustoms.
5d3385a0
JB
3789 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3790 Convert to defcustoms.
7b97c764
CY
3791 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3792
3793 * allout-widgets.el: Hook callers changed.
3794
90207a15 37952012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3796
3797 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3798 the yanked message in preference to the default value of
3799 buffer-file-coding-system.
3800
90207a15 38012012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3802
5d3385a0
JB
3803 * window.el (display-buffer--action-function-custom-type):
3804 Fix entry.
d9558cad 3805
90207a15 38062012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3807
3808 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3809
d80ac57b
GM
38102012-05-01 Glenn Morris <rgm@gnu.org>
3811
976f7668
GM
3812 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3813
beb83b5a
GM
3814 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3815
d80ac57b
GM
3816 * cus-edit.el (custom-variable-documentation): Simplify with format.
3817
b593d6a9
AH
38182012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3819 Stefan Monnier <monnier@iro.umontreal.ca>
3820
3821 * simple.el (suggest-key-bindings, execute-extended-command):
3822 Move from keyboard.c.
3823
782fbf2a
CY
38242012-05-01 Chong Yidong <cyd@gnu.org>
3825
3826 * follow.el: Eliminate advice.
3827 (set-process-filter, process-filter, sit-for): Advice deleted.
3828 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3829 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3830 Vars deleted.
782fbf2a
CY
3831 (follow-auto): Use a :set function.
3832 (follow-mode): Rewritten. Don't advise process filters.
3833 (follow-switch-to-current-buffer-all, follow-scroll-up)
3834 (follow-scroll-down): Assume follow-mode is bound.
3835 (follow-comint-scroll-to-bottom)
3836 (follow-align-compilation-windows): New functions.
3837 (follow--window-sorter): New function.
3838 (follow-all-followers): Use it to explicitly sort windows by their
3839 positions; don't make assumptions about next-window order.
3840 (follow-windows-start-end, follow-delete-other-windows-and-split)
3841 (follow-calc-win-start): Doc fix.
3842 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3843 vertical-motion unnecessarily.
3844 (follow-adjust-window): New function.
3845 (follow-post-command-hook): Use it.
3846 (follow-call-set-process-filter, follow-call-process-filter)
3847 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3848 (follow-stop-intercept-process-output, follow-generic-filter):
3849 Functions deleted.
3850 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3851 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3852 New functions, replacing advice on scroll-bar-* commands.
87233a14 3853 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3854
3855 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3856 (comint-postoutput-scroll-to-bottom): Use it.
3857 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3858
290af740
GM
38592012-05-01 Glenn Morris <rgm@gnu.org>
3860
3861 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3862 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3863 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3864 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3865 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3866 Remove no-byte-compile setting.
3867
6eac8dc9
SM
38682012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3869
3870 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3871 all-completions code to not return a number in the last cdr.
3872
9cc7819c
LL
38732012-04-30 Leo Liu <sdl.web@gmail.com>
3874
3875 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3876 read-only error.
3877
c93b886f
CY
38782012-04-29 Chong Yidong <cyd@gnu.org>
3879
3880 * follow.el (follow-calc-win-end): Rewrite to handle partial
3881 screen lines correctly (Bug#8390).
3882 (follow-avoid-tail-recenter): Minor cleanup.
3883
8b6c19f4
SM
38842012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3885
3886 Avoid the obsolete `assoc' package.
3887 * speedbar.el (speedbar-refresh): Avoid adelete.
3888 (speedbar-file-lists): Simplify and avoid aput.
3889 * man.el (Man--sections, Man--refpages): New vars, replacing
3890 Man-sections-alist and Man-refpages-alist.
3891 (Man-build-section-alist, Man-build-references-alist):
3892 Use them; avoid aput.
3893 (Man--last-section, Man--last-refpage): New vars.
3894 (Man-follow-manual-reference): Use them.
3895 Use the `default' arg of completing-read.
3896 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3897
c5bb7569
CY
38982012-04-27 Chong Yidong <cyd@gnu.org>
3899
d1d2e2e8
CY
3900 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3901
15cd8efd
CY
3902 * startup.el (x-apply-session-resources): New function.
3903
3904 * term/ns-win.el (ns-initialize-window-system):
3905 * term/w32-win.el (w32-initialize-window-system):
3906 * term/x-win.el (x-initialize-window-system): Use it to properly
3907 set menu-bar-mode and other vars from X resources, even if the
3908 initial frame is not a window-system frame (Bug#2299).
3909
c5bb7569
CY
3910 * subr.el (read-key): Avoid running filter function when setting
3911 up temporary tool bar entries (Bug#9922).
3912
a8e7d6d7 39132012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3914
3915 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3916 (Bug#11344)
3917
a8e7d6d7 39182012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3919
3920 * select.el (xselect--encode-string): New function, split from
3921 xselect-convert-to-string.
3922 (xselect-convert-to-string): Use it.
3923 (xselect-convert-to-filename, xselect-convert-to-os)
3924 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3925 returned strings are properly encoded (Bug#11315).
3926
a8e7d6d7 39272012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3928
3929 * simple.el (delete-active-region): Move to killing custom group.
3930
a8e7d6d7 39312012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3932
3933 * progmodes/which-func.el (which-func-current): Quote %
3934 characters for mode-line processing.
3935
578c1d4b 39362012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3937
3938 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3939 reaching eob (Bug#11286).
3940
a8e7d6d7 39412012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3942
3943 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3944 (gdb): Make it buffer-local and init to zero.
3945 (gdb-control-commands-regexp): New variable.
3946 (gdb-send): Don't wrap in "-interpreter-exec console" if
3947 gdb-control-level is positive. Increment gdb-control-level
3948 whenever the command matches gdb-control-commands-regexp, and
3949 decrement it each time the command is "end". (Bug#11279)
3950
a8e7d6d7 39512012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3952
3953 * window.el (adjust-window-trailing-edge, enlarge-window)
3954 (shrink-window, window-resize):
3955 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3956 windows (Bug#11276).
3957
b3608390
CY
39582012-04-27 Chong Yidong <cyd@gnu.org>
3959
3960 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3961 fix "missing prefix" warning. All callers changed.
b3608390 3962
797e6e88
SM
39632012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 * emacs-lisp/assoc.el: Move to obsolete/.
3966
e95a67dc
SM
39672012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3968
657c21e4 3969 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3970
3971 * term/ns-win.el (ns-define-service):
3972 * progmodes/pascal.el (pascal-goto-defun):
3973 * progmodes/js.el (js--read-tab):
3974 * progmodes/etags.el (tags-lazy-completion-table):
3975 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3976 * emacs-lisp/ewoc.el (ewoc--wrap):
3977 * emacs-lisp/assoc.el (aput, adelete, amake):
3978 * doc-view.el (doc-view-convert-current-doc):
3979 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3980
cb3e7ae0
CY
39812012-04-26 Chong Yidong <cyd@gnu.org>
3982
dce04f7f
CY
3983 * image.el (image-type-from-buffer): Only return supported image
3984 type (Bug#9045).
3985
cb3e7ae0
CY
3986 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3987 value, for symmetry with diff-end-of-hunk.
3988 (diff-split-hunk, diff-find-source-location)
3989 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3990 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3991 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3992 compute the relevant hunk or file properly (Bug#6005).
3993 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3994
0d42eb3e
SM
39952012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3996
3997 * vc/vc-mtn.el:
3998 * vc/vc-hg.el:
3999 * vc/vc-git.el:
4000 * vc/vc-dir.el:
4001 * vc/vc-cvs.el:
4002 * vc/vc-bzr.el:
4003 * vc/vc-arch.el:
4004 * vc/vc.el: Replace lexical-let by lexical-binding.
4005 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4006 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4007 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4008
f08ae1c9
CY
40092012-04-26 Chong Yidong <cyd@gnu.org>
4010
8b71081d
CY
4011 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4012 (diff-mode-shared-map): Bind it to / and [remap undo].
4013
f08ae1c9
CY
4014 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4015 (ediff-window-setup-function): Use it as the default, to set up
4016 windows based on whether the current frame is graphical (Bug#2138).
4017 (ediff-choose-window-setup-function-automatically): Make obsolete.
4018
4019 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4020
ef24141c
SM
40212012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4022
cc356a5d
SM
4023 * ffap.el: Remove old code for obsolete package.
4024 (ffap-complete-as-file-p): Remove.
4025
b4ff4f1f
SM
4026 Use completion-table-with-quoting for comint and pcomplete.
4027 * comint.el (comint--unquote&requote-argument)
4028 (comint--unquote-argument, comint--requote-argument): New functions.
4029 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4030 (comint-quote-filename): Use regexp-opt-charset.
4031 (comint--common-suffix, comint--common-quoted-suffix)
4032 (comint--table-subvert): Remove.
4033 (comint-unquote-function, comint-requote-function): New vars.
4034 (comint--complete-file-name-data): Use them with
4035 completion-table-with-quoting.
4036 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4037 * pcomplete.el (pcomplete-arg-quote-list)
4038 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4039 (pcomplete-unquote-argument-function): Default to non-nil.
4040 (pcomplete-unquote-argument): Simplify.
4041 (pcomplete--common-quoted-suffix): Remove.
4042 (pcomplete-requote-argument-function): New var.
4043 (pcomplete--common-suffix): New function.
4044 (pcomplete-completions-at-point): Use completion-table-with-quoting
4045 and completion-table-subvert.
4046
79c4eeb4
SM
4047 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4048 (minibuffer--double-dollars): Preserve properties.
4049 (completion--sifn-requote): New function.
4050 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4051
ef24141c
SM
4052 * minibuffer.el: Add support for completion of quoted/escaped data.
4053 (completion-table-with-quoting, completion-table-subvert): New funs.
4054 (completion--twq-try, completion--twq-all): New functions.
4055 (completion--nth-completion): New function.
4056 (completion-try-completion, completion-all-completions): Use it.
4057
784e7d6e
LL
40582012-04-25 Leo Liu <sdl.web@gmail.com>
4059
dd2ac746
SM
4060 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4061 Use compilation-message if available to find real filename.
784e7d6e 4062
07875ee7
CY
40632012-04-25 Chong Yidong <cyd@gnu.org>
4064
4065 * vc/diff-mode.el (diff-setup-whitespace): New function.
4066 (diff-mode): Use it.
4067
4068 * vc/diff.el (diff-sentinel):
4069 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4070 Whitespace mode variables based on diff style (Bug#8612).
4071
5055880d
LL
40722012-04-25 Leo Liu <sdl.web@gmail.com>
4073
daf75653
LL
4074 * progmodes/python.el (python-send-region): Add suffix .py to the
4075 temp file.
4076
5055880d
LL
4077 * files.el (auto-mode-alist): Use javascript-mode instead.
4078
db9b177b
AH
40792012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4080
ef24141c 4081 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4082
090bd7cb 4083 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4084 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4085 references, see Bug#9.
ef24141c 4086 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4087 when receiving a fault reply.
ef24141c 4088 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4089
090bd7cb 4090 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4091 (soap-inspect-simple-type): New function.
db9b177b 4092
090bd7cb 4093 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4094 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4095 (soap-decode-basic-type, soap-encode-basic-type):
4096 support unsignedInt and double basic types.
db9b177b 4097 (soap-resolve-references-for-simple-type)
ef24141c
SM
4098 (soap-parse-simple-type, soap-encode-simple-type): New function.
4099 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4100
090bd7cb 4101 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4102 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4103 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4104 the local name of "soapenc:Array".
4105 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4106 decoding integer, byte and anyURI xsd types.
4107
1fc6097b
CY
41082012-04-25 Chong Yidong <cyd@gnu.org>
4109
4110 * cus-edit.el (custom-buffer-create-internal): Update header text.
4111
afc6df87
EZ
41122012-04-25 Eli Zaretskii <eliz@gnu.org>
4113
4114 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4115 settings on 'system-type', not on 'window-system'. On MS-Windows,
4116 set interactive-mode on in GDB.
4117
dfbd787f
SM
41182012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4121 (ruby-syntax-propertize-regexp): Remove.
4122 (ruby-syntax-propertize-function): Split regexp into chunks.
4123 Match following code directly.
4124
85222d44
DG
41252012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4126
51a8ea2a
DG
4127 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4128 (ruby-syntax-propertize-regexp): New function.
4129 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4130 by a special keyword.
4131
85222d44
DG
4132 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4133 (ruby-syntax-general-delimiters-goto-beg)
4134 (ruby-syntax-propertize-general-delimiters): New functions.
4135 (ruby-syntax-propertize-function): Use them to handle GDL.
4136 (ruby-font-lock-keywords): Move old handling of GDL...
4137 (ruby-font-lock-syntactic-keywords): .. to here.
4138 (ruby-calculate-indent): Adjust indentation for GDL.
4139
b613912b
MA
41402012-04-24 Michael Albinus <michael.albinus@gmx.de>
4141
b5380639
MA
4142 * notifications.el (top): Remove unneeded declarations.
4143 (notifications-specification-version): Change to "1.2".
e43042fe 4144 (notifications-interface, notifications-notify-method)
b613912b
MA
4145 (notifications-close-notification-method): Fix docstring.
4146 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4147 (notifications-notify): Add :action-items, :resident and
4148 :transient hints. Change "image_data" to "image-data" and
4149 "image_path" to "image-path".
b613912b
MA
4150 (notifications-get-capabilities): New defun.
4151
257440aa
LL
41522012-04-24 Leo Liu <sdl.web@gmail.com>
4153
4154 * progmodes/python.el: Move hideshow setup to the end.
4155
b1bac16e
MR
41562012-04-24 Martin Rudalics <rudalics@gmx.at>
4157
4158 * window.el (handle-select-window): Clear echo area since this is
4159 no more done by read_char (Bug#11304).
4160
d81bd059
SM
41612012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4162
4163 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4164 and `/ M' to filter-derived-mode.
4165 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4166 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4167 (ibuffer-mark-by-mode): Use default rather than initial-input.
4168 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4169
c4cf6d91
IA
41702012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4171
4172 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4173 (ibuffer-filter-by-derived-mode): New filter.
4174 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4175
7511ded8
CY
41762012-04-23 Andreas Politz <politza@fh-trier.de>
4177
4178 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4179
775c916b
CY
41802012-04-23 Chong Yidong <cyd@gnu.org>
4181
4182 * cus-edit.el (customize-apropos, customize-apropos-options):
4183 Disable matching of non-option variables (Bug#11176).
4184 (customize-option, customize-option-other-window)
4185 (customize-changed-options): Doc fix.
4186 (customize-apropos-options, customize-apropos-faces)
4187 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4188
4189 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4190 Fix word list splitting (Bug#11132).
46c71e23
CY
4191 (apropos-symbol, apropos-keybinding, apropos-label)
4192 (apropos-property, apropos-function-button)
4193 (apropos-variable-button, apropos-misc-button): New faces.
4194 (apropos-symbol-face, apropos-keybinding-face)
4195 (apropos-label-face, apropos-property-face, apropos-match-face):
4196 Variables removed (Bug#8396).
4197 (apropos-library-button, apropos-format-plist, apropos-print)
4198 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4199
2df41f9c
MA
42002012-04-23 Michael Albinus <michael.albinus@gmx.de>
4201
4202 * net/xesam.el (xesam-mode-map): Use let-bound map in
4203 initialization. (Bug#11292)
4204
da00640a
AM
42052012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4206
4207 Preserve ispell session localwords when switching back to
4208 original buffer.
4209
090bd7cb
JB
4210 * textmodes/ispell.el (ispell-buffer-session-localwords):
4211 New buffer-local variable to hold buffer session localwords.
ed9265fc 4212 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4213 localwords.
4214 (ispell-command-loop, ispell-change-dictionary)
4215 (ispell-buffer-local-words): Preserve session localwords when
4216 needed.
4217
090bd7cb
JB
4218 * textmodes/flyspell.el (flyspell-process-localwords)
4219 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4220
f621ccf5
AM
42212012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4222
090bd7cb
JB
4223 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4224 using obsolete `translation-table-for-input'.
ef24141c
SM
4225 (ispell-word, ispell-process-line, ispell-complete-word):
4226 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4227
c2d1019e
CY
42282012-04-22 Chong Yidong <cyd@gnu.org>
4229
4230 * cus-edit.el (custom-variable-menu)
4231 (custom-variable-reset-saved, custom-face-menu)
4232 (custom-face-reset-saved): If there is no saved value, make the
4233 "reset-saved" operation bring back the default (Bug#9509).
4234 (custom-face-state): Properly detect themed faces.
4235
eeddc531
CY
4236 * faces.el (face-spec-set): Stop supporting deprecated form of
4237 third arg.
4238
dcbf5805
MA
42392012-04-22 Michael Albinus <michael.albinus@gmx.de>
4240
4241 Move functions from C to Lisp. Make non-blocking method calls
4242 the default. Implement further D-Bus standard interfaces.
4243
ef24141c
SM
4244 * net/dbus.el (dbus-message-internal): Declare function.
4245 Remove unneeded function declarations.
dcbf5805
MA
4246 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4247 (dbus-message-type-method-return, dbus-message-type-error)
4248 (dbus-message-type-signal): Declare variables. Remove local
4249 definitions.
4250 (dbus-interface-dbus, dbus-interface-peer)
4251 (dbus-interface-introspectable, dbus-interface-properties)
4252 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4253 Adapt docstring.
4254 (dbus-interface-objectmanager): New defconst.
4255 (dbus-call-method, dbus-call-method-asynchronously)
4256 (dbus-send-signal, dbus-method-return-internal)
4257 (dbus-method-error-internal, dbus-register-service)
4258 (dbus-register-signal, dbus-register-method): New defuns, moved
4259 from dbusbind.c
4260 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4261 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4262 New defuns.
dcbf5805
MA
4263 (dbus-call-method-non-blocking): Make it an obsolete function.
4264 (dbus-unregister-object, dbus-unregister-service)
4265 (dbus-handle-event, dbus-register-property)
4266 (dbus-property-handler): Obey the new structure of
4267 `bus-registered-objects'.
4268 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4269 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4270 Use `dbus-call-method'.
4271
cf20dee0
CY
42722012-04-22 Chong Yidong <cyd@gnu.org>
4273
4274 * cus-edit.el (custom-commands, custom-reset-menu)
4275 (Custom-reset-standard): Tweak labels.
4276 (custom-reset-button-menu): Change default to t.
4277 (custom-buffer-create-internal): For the custom-reset-button-menu
4278 case, put the revert button first.
4279 (custom-group-subtitle): New face.
4280 (custom-group-value-create): Align docstring to a specific column.
4281
4282 * wid-edit.el (widget-documentation-link-add): Don't handle
4283 indentation in this function.
4284 (widget-documentation-string-indent-to): New function.
4285 (widget-documentation-string-value-create): Use it.
4286
4287 * autorevert.el (auto-revert):
4288 * epg-config.el (epg):
4289 * ibuffer.el (ibuffer):
4290 * mpc.el (mpc):
4291 * ses.el (ses):
4292 * eshell/eshell.el (eshell):
4293 * net/ange-ftp.el (ange-ftp):
4294 * progmodes/ebnf2ps.el (postscript):
4295 * progmodes/flymake.el (flymake):
4296 * progmodes/prolog.el (prolog):
4297 * progmodes/verilog-mode.el (verilog-mode):
4298 * progmodes/which-func.el (which-func):
4299 * term/xterm.el (xterm):
4300 * textmodes/picture.el (picture):
4301 * textmodes/tildify.el (tildify):
4302 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4303 customization buffers.
4304
583e23bd
AM
43052012-04-22 Alan Mackenzie <acm@muc.de>
4306
4307 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4308 Adding a ) can hide the resulting (..) from searches. Fix it.
4309 Bound the backward search to the position of the existing (.
4310
7dd51bf1
JB
43112012-04-21 Juanma Barranquero <lekktu@gmail.com>
4312
4313 * progmodes/verilog-mode.el (verilog-mode): Check whether
4314 which-func-modes is t before adding verilog-mode.
4315 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4316
d64a438f
LL
43172012-04-21 Leo Liu <sdl.web@gmail.com>
4318
7dd51bf1 4319 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4320
081e8d65
MV
43212012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4322
4323 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4324 filling of the last column of a table (Bug#5635).
4325 (woman-find-next-control-line): New arg, specifying an additional
4326 regexp component for the control line.
4327 (woman2-roff-buffer): Use it.
4328 (woman-break-table): New function.
4329 (woman2-TS): Use it.
4330
43312012-04-21 Chong Yidong <cyd@gnu.org>
4332
4333 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4334 (woman-horizontal-escapes, woman-negative-vertical-space)
4335 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4336 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4337
ed571ccb
SM
43382012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * minibuffer.el (completion-file-name-table): Complete user names.
4341
39773899
LL
43422012-04-20 Leo Liu <sdl.web@gmail.com>
4343
4344 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4345 and pcase-let*.
4346
de6ff46d
CY
43472012-04-20 Chong Yidong <cyd@gnu.org>
4348
4349 * server.el (server-execute): Respect initial-buffer-choice if it
4350 is a string and there are no files to open (Bug#2825).
4351 (server-create-window-system-frame, server-create-tty-frame):
4352 Don't switch buffers here.
2d0e8e61
CY
4353 (server-process-filter): Only try to open a window system frame if
4354 compiled with graphical support (Bug#8314).
de6ff46d 4355
54071013
DN
43562012-04-20 Dan Nicolaescu <dann@gnu.org>
4357
4358 * battery.el (battery-echo-area-format): Display remaining time
4359 for sysfs backend too (Bug#11269).
4360 (battery-linux-sysfs): Fix conditional for the charge.
4361
f30d612a
CY
43622012-04-20 Chong Yidong <cyd@gnu.org>
4363
c07a4c0b 4364 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4365 (gdb-inferior-io--init-proc): New function.
4366 (gdb-init-1): Use it.
4367 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4368 responsible for allocating a new pty and hooking it to gdb when
4369 the old pty gets an EIO due to process exit.
4370 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4371 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4372 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4373
2116e93c
EZ
43742012-04-20 Eli Zaretskii <eliz@gnu.org>
4375
4376 * window.el (window-min-size, window-sizable, window-min-delta)
4377 (window-max-delta, window--resizable, window-resizable)
4378 (window-total-size, window-full-height-p, window-full-width-p)
4379 (window-in-direction, window--resize-mini-window, window-resize)
4380 (window--resize-child-windows-normal)
4381 (window--resize-child-windows, window--resize-siblings)
4382 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4383 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4384
c07a4c0b 43852012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4386
ef24141c
SM
4387 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4388 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4389 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4390 pty process (Bug#11273).
4391 (gdb-update): New arg to suppress talking to the gdb process.
4392 (gdb-done-or-error): Use it.
4393 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4394 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4395 sentinel not being called.
4396
4397 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4398
d02766ab
CY
4399 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4400
c07a4c0b 44012012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4402
4403 * net/network-stream.el (open-network-stream): Doc fix.
4404
c07a4c0b 44052012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4406
4407 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4408
c07a4c0b 44092012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4410
4411 Ensure searching for keywords is case sensitive.
4412
4413 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4414 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4415 (c-defun-name, c-mark-function, c-cpp-define-name)
4416 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4417 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4418
ef24141c
SM
4419 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4420 Bind case-fold-search to nil.
f0f6bc35 4421
c07a4c0b 44222012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4423
4424 * mail/sendmail.el (mail-bury): Call return action with the right
4425 Rmail buffer (Bug#11242).
4426
9a864fa2
CY
4427 * server.el (server-process-filter): Handle corner case where both
4428 tty and nowait options are present (Bug#11102).
4429
539aa513
EZ
44302012-04-20 Eli Zaretskii <eliz@gnu.org>
4431
4432 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4433 (top level): Put into the executable the ident-style '$Id:' tag on
4434 windows-nt as well.
539aa513 4435
cfc7d5da
SM
44362012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * electric.el (electric-indent-post-self-insert-function): Check that
4439 electric-indent-mode is enabled in current buffer.
4440
5b01685c
JB
44412012-04-19 Juanma Barranquero <lekktu@gmail.com>
4442
4443 * imenu.el (imenu-progress-message): Restore; it is "used" in
4444 erc/erc-imenu.el and net/snmp-mode.el.
4445
4d6769e1
JB
44462012-04-19 Juanma Barranquero <lekktu@gmail.com>
4447
4448 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4449 (mouse-avoidance-nudge-mouse): Remove unused binding.
4450
4451 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4452
4453 * descr-text.el (describe-char):
4454 * progmodes/python.el (python-describe-symbol):
4455 Don't call `toggle-read-only', set `buffer-read-only'.
4456
4457 * imenu.el (imenu-default-goto-function): Mark unused args.
4458 (imenu-progress-message): Remove obsolete macro; all callers changed.
4459
4460 * subr.el (keymap-canonicalize): Remove unused binding.
4461 (read-passwd): Mark unused arg.
4462
4463 * tutorial.el (tutorial--display-changes): Remove unused binding.
4464 (tutorial--save-tutorial-to): Remove unused variable.
4465
4466 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4467 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4468 (package-generate-autoloads, package-menu--generate)
4469 (package-menu--find-upgrades): Remove unused bindings.
4470
4471 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4472 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4473 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4474 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4475 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4476 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4477 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4478 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4479 (cua-delete-char-rectangle): Mark unused args.
4480 (cua-align-rectangle): Remove unused binding.
4481
4482 * mail/rmail.el (compilation--message->loc)
4483 (epa--find-coding-system-for-mime-charset): Declare.
4484
4485 * net/dbus.el (dbus-register-service): Declare.
4486 (dbus-name-owner-changed-handler): Remove unused binding.
4487
4488 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4489 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4490 (nxml-scan-backward-within): Mark unused arg.
4491 (nxml-dynamic-markup-word): Remove unused binding.
4492
4493 * mouse.el (mouse-menu-major-mode-map):
4494 * emacs-lisp/authors.el (authors-scan-change-log)
4495 (authors-add-to-author-list):
4496 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4497 * emacs-lisp/smie.el (smie-auto-fill):
4498 * mail/sendmail.el (mail-bury):
4499 * mail/unrmail.el (unrmail):
4500 * net/tls.el (open-tls-stream):
4501 * textmodes/picture.el (picture-mouse-set-point):
4502 Remove unused bindings.
4503
8c8fc5df
MA
45042012-04-19 Michael Albinus <michael.albinus@gmx.de>
4505
4506 * net/tramp.el (tramp-action-password): Let-bind
4507 `enable-recursive-minibuffers' to t.
4508
a77b0ac9
SS
45092012-04-18 Sam Steingold <sds@gnu.org>
4510
4511 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4512 instead of 'string to accommodate values like [f11].
4513 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4514 * progmodes/gdb-mi.el: Likewise.
4515
12a106a9
LL
45162012-04-18 Leo Liu <sdl.web@gmail.com>
4517
4518 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4519 current buffer.
4520 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4521 LOCAL is nil.
4522
bc6494ef
CY
45232012-04-18 Chong Yidong <cyd@gnu.org>
4524
4525 * simple.el (line-move): Use forward-line if in batch mode
4526 (Bug#11053).
4527
c09c46b2
CS
45282012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4529
4530 * files.el (after-find-file): Do not try to add a final newline if
4531 the buffer is read-only (Bug#11156).
4532
5f6530ea
RS
45332012-04-17 Richard Stallman <rms@gnu.org>
4534
4535 * mail/rmail.el (rmail-start-mail):
4536 Pass (rmail-mail-return...) for the return-action.
4537 Pass (rmail-yank-current-message...) for the yank-action.
4538 (rmail-yank-current-message): New function.
4539 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4540 (rmail-reply): Likewise.
4541 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4542
4543 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4544 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4545 buffer, not newbuf.
4546
197b6f3c
JB
45472012-04-17 Juanma Barranquero <lekktu@gmail.com>
4548
4549 * server.el (server-ensure-safe-dir): Simplify.
4550
2311d8e5 45512012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4552
2311d8e5
GM
4553 * emacs-lisp/smie.el: Provide smarter auto-filling.
4554 (smie-auto-fill): New function.
4555 (smie-setup): Use it.
98fb480e 4556
2311d8e5
GM
4557 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4558
45592012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4560
4561 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4562 (comment-indent): Use it.
4563
2311d8e5 45642012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4565
4566 * ses.el: The overall change is to add cell renaming, that is
4567 setting fancy names for cell symbols other than name matching
4568 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4569 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4570 (ses-create-cell-variable): New defun.
2311d8e5 4571 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4572 (ses-relocate-formula): Relocate formulas only for cells the
4573 symbols of which are not renamed, i.e. symbols whose names do not
4574 match regexp "\\`[A-Z]+[0-9]+\\'".
4575 (ses-relocate-all): Relocate values only for cells the symbols of
4576 which are not renamed.
4577 (ses-load): Create cells variables as the (ses-cell ...) are read,
4578 in order to check row col consistency with cell symbol name only
4579 for cells that are not renamed.
4580 (ses-replace-name-in-formula): New defun.
4581 (ses-rename-cell): New defun.
4bdf2ad2 4582
fc72b15c
PO
45832012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4584
4585 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4586 New option (bug#11118).
4587 (perl-calculate-indent): Respect it.
4588
12e10e61
GM
45892012-04-17 Glenn Morris <rgm@gnu.org>
4590
4591 * dired-aux.el (dired-mark-read-string): Doc fix.
4592
30009afd
DA
45932012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4594
4595 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4596 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4597
41f03f4d
GM
45982012-04-17 Glenn Morris <rgm@gnu.org>
4599
4600 * mouse.el (mouse-drag-track):
4601 * speedbar.el (speedbar-frame-mode):
4602 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4603
f45f90f3
LL
46042012-04-16 Leo Liu <sdl.web@gmail.com>
4605
4606 * progmodes/python.el: Trivial cleanup.
4607
94ee8db5
GM
46082012-04-16 Glenn Morris <rgm@gnu.org>
4609
121b8917
GM
4610 * vc/vc.el (vc-string-prefix-p):
4611 * vc/pcvs-util.el (cvs-string-prefix-p):
4612 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4613 * mpc.el (mpc-string-prefix-p):
4614 Make all of these into obsolete aliases for string-prefix-p.
4615 Update callers.
4616 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4617
1197ecfa
GM
4618 * textmodes/two-column.el: Move custom options to the start.
4619 (frame-width): Remove compat definition.
4620 (2C-associate-buffer, 2C-dissociate):
4621 Use with-current-buffer rather than save-excursion.
4622 (2C-dissociate): Force a mode-line update.
4623 (2C-autoscroll): Use ignore-errors.
4624
099e7202
GM
4625 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4626 Autoload trivia.
4627
bf350d6a
GM
4628 * emacs-lisp/cl-extra.el (*random-state*):
4629 Remove unnecessary declaration.
4630
0e829eab
GM
4631 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4632
e3ad7552
GM
4633 * play/cookie1.el (cookie-snarf):
4634 Give an explicit error if input file cannot be read.
4635
68892d27
GM
4636 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4637
20f0c46d
GM
4638 * progmodes/perl-mode.el (c-macro-expand):
4639 Remove unnecessary autoload (it is in loaddefs.el).
4640
5a0978ce
GM
4641 * textmodes/picture.el (picture-desired-column)
4642 (picture-update-desired-column): Convert comments to doc-strings.
4643 (picture-substitute): Remove function.
4644 (picture-mode-map): Initialize in the defvar.
4645
6b955486
GM
4646 * woman.el: Remove eval-after-load for tar-mode.
4647 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4648 (woman-tar-extract-file): Autoload it.
4649
94ee8db5
GM
4650 * frame.el (automatic-hscrolling): Make this alias obsolete.
4651
177eca34
AM
46522012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4653
090bd7cb 4654 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4655 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4656 (ispell-dictionary-base-alist): Revert to original XEmacs
4657 friendly version for default. [:alpha:] will be added in
090bd7cb 4658 `ispell-set-spellchecker-params' if needed.
177eca34 4659
c505aaeb
CY
46602012-04-16 Chong Yidong <cyd@gnu.org>
4661
b19dd9d1 4662 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4663 (imagemagick-register-types): Use it.
4664 (imagemagick-types-inhibit): Add :set function. Allow new value
4665 of t to inhibit all types.
4666
4667 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4668 so we can preload it.
4669
4670 * loadup.el (fboundp): Preload regexp-opt, needed by
4671 imagemagick-register-types.
4672
60efac0f
CY
46732012-04-15 Chong Yidong <cyd@gnu.org>
4674
4675 * frame.el (scrolling): Remove nearly unused customization group.
4676
4677 * scroll-all.el (scroll-all-mode): Move to windows group.
4678
5dd1713e
CY
46792012-04-15 Chong Yidong <cyd@gnu.org>
4680
4681 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4682
e6fd457e
CY
46832012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4686 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4687
e153c136
GM
46882012-04-15 Glenn Morris <rgm@gnu.org>
4689
4690 * simple.el (process-file-side-effects): Doc fix.
4691
e6fd457e 46922012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4693
4694 * international/mule-cmds.el (set-language-environment): Doc fix.
4695
3603c3b1
JB
46962012-04-14 Juanma Barranquero <lekktu@gmail.com>
4697
4698 * server.el (server-auth-key, server-generate-key): Doc fixes.
4699 (server-get-auth-key): Doc fix. Use `string-match-p'.
4700 (server-start): Reflow docstring.
4701
e6de100c
LI
47022012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4703
4704 * server.el (server-generate-key): `called-interactively-p'
4705 requires a parameter.
4706
29734c21
MN
47072012-04-14 Michal Nazarewicz <mina86@mina86.com>
4708
4709 * server.el (server-auth-key): New variable.
75f1671a 4710 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4711 (server-start): Use the new variable and functions to allow
4712 setting a permanent server key (bug#9423).
4713
d65c9521
LL
47142012-04-14 Leo Liu <sdl.web@gmail.com>
4715
4716 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4717
5ae255c7
PE
47182012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4719
4720 Spelling fixes.
4721 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4722 Emacs uses American spelling.
4723
d5e6342e
JB
47242012-04-14 Juanma Barranquero <lekktu@gmail.com>
4725
4726 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4727 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4728 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4729 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4730
ab036cd7
SM
47312012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 * progmodes/which-func.el (which-func-modes): Change default.
4734
35dc09a1 47352012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4736
4737 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4738 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4739
35dc09a1 47402012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4741
4742 * custom.el (custom-theme-set-variables): Doc fix.
4743
35dc09a1 47442012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4745
4746 * international/mule.el (set-auto-coding-for-load): Doc fix.
4747
35dc09a1 47482012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4749
35dc09a1
GM
4750 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4751 imenu work again for Objective C Mode. Correct the *-index values,
4752 these having been disturbed by a previous change in 2011-08.
57f845ee 4753
0de3da9f
AM
4754 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4755 Correct two search limits.
4756
35dc09a1 47572012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4758
4759 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4760
35dc09a1 47612012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4762
4763 * international/characters.el: Fix sorting.
4764
35dc09a1 47652012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4766
4767 * international/characters.el: Add more missing Latin case pairs.
4768
35dc09a1 47692012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4770
4771 * files.el (dir-locals-set-class-variables): Doc fix.
4772
35dc09a1 47732012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4774
3f1b5bf8
EZ
4775 * international/characters.el: Add set-case-syntax-pair call for
4776 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4777 counterpart. (Bug#11209)
4778
9f847f41
EZ
4779 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4780
35dc09a1 47812012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4782
4783 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4784
35dc09a1 47852012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4786
35dc09a1
GM
4787 * textmodes/ispell.el (ispell-dictionary-base-alist):
4788 Add data for Hebrew.
e2627d21 4789
35dc09a1 47902012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4791
35dc09a1
GM
4792 * net/rcirc.el (rcirc-cmd-quit):
4793 Revert 2012-03-18 change (Bug#11192).
5c14e333 4794
35dc09a1 47952012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4796
4797 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4798
35dc09a1 47992012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4800
4517fe3a
SM
4801 * minibuffer.el (completion-in-region-mode-map):
4802 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4803
b472a594
VD
48042012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4805
4806 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4807
09b95ce3
MY
48082012-04-13 Masatake YAMATO <yamato@redhat.com>
4809
4810 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4811 to allow `C-M-f' and `C-M-b' to move to the nearest path
4812 separator (bug#9511).
4813
4b63a9ca
LI
48142012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4815
4816 * avoid.el: Require cl when compiling. And also move the
4817 `provide' to the end.
4818
7b55b8bf
TV
48192012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4820
4821 * avoid.el (mouse-avoidance-banish-position): New variable.
4822 (mouse-avoidance-banish-destination): Use it (bug#10165).
4823
adedaa1f
LL
48242012-04-13 Leo Liu <sdl.web@gmail.com>
4825
4826 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4827
70e74021
KB
48282012-04-13 Ken Brown <kbrown@cornell.edu>
4829
4830 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4831 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4832 (browse-url-filename-alist): For the same reason, don't modify
4833 file:// URLs on Cygwin.
4834
e75e89ba
SM
48352012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4836
4837 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4838 the region on shift if the binding is already shifted (bug#11221).
4839
82f289a4
GM
48402012-04-12 Glenn Morris <rgm@gnu.org>
4841
4842 * mail/mailpost.el: Move to obsolete/.
4843
d333dc4c
DA
48442012-04-12 Drew Adams <drew.adams@oracle.com>
4845
4846 * imenu.el (imenu--generic-function): Ignore invisible definitions
4847 (bug#10123).
4848
0d15b5ba
VD
48492012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4850
4851 * hexl.el (hexl-bits): New variable.
4852 (hexl-options): Mention the variable in the doc string.
75f1671a 4853 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4854 (hexl-mode): Mention the new variable.
75f1671a
JB
4855 (hexl-mode, hexl-current-address, hexl-current-address):
4856 Use the displen.
0d15b5ba
VD
4857 (hexl-ascii-start-column): New function.
4858 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4859 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4860
64a440db
AM
48612012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4862
4863 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4864 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4865 the encoding, as expected by hunspell.
4866
6decb6c2
SM
48672012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * battery.el (battery--linux-sysfs-regexp): New const.
4870 (battery-status-function): Use it. Remove yeeloong special case.
4871 (battery-yeeloong-sysfs): Remove.
4872 (battery-echo-area-format): Remove yeeloong special case.
4873
088be6fb
SM
48742012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4875
6622e416
SM
4876 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4877 Reported by Noah Friedman.
4878
088be6fb
SM
4879 * subr.el (read-passwd): Use read-string.
4880
b49f886e
LMI
48812012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4882
4883 * vcursor.el (vcursor-move): Increase the priority of the overlay
4884 (bug#9663).
4885
a63067fc
DD
48862012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4887
4888 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4889 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4890
ac3cf14a
WS
48912012-04-11 William Stevenson <yhvh2000@gmail.com>
4892
4893 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4894 define-minor-mode (bug#10760).
4895
c4fc691b 48962012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4897
4d6769e1 4898 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4899 that directories matching `grep-find-ignored-files' won't be
4900 pruned (bug#10351).
4901
af23e2e5
CY
49022012-04-11 Chong Yidong <cyd@gnu.org>
4903
4904 * startup.el (command-line): Remove support for long-obsolete
4905 variable font-lock-face-attributes.
4906
ab7ce8c1
GM
49072012-04-11 Glenn Morris <rgm@gnu.org>
4908
4909 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4910
de8c03dc
SM
49112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * window.el (window--state-get-1): Obey window-point-insertion-type.
4914
050cc68b
LB
49152012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4916
4917 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4918 to previous function when point is on the first character of a
75f1671a 4919 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4920
a38c310c
GM
49212012-04-11 Glenn Morris <rgm@gnu.org>
4922
effed0c2
GM
4923 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4924 not just file-errors.
4925
a38c310c
GM
4926 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4927 (vc-bzr-sha1): Use internal sha1.
4928
0221e323
SM
49292012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4932
43956923
SG
49332012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4934
4935 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4936 that start in the middle of the line (bug#10496).
4937
6a8c9eaf
DN
49382012-04-10 Dan Nicolaescu <dann@gnu.org>
4939
4940 * battery.el (battery-linux-proc-acpi): Only one battery is
4941 discharged at a time, but that seems to confuse battery.el when
4942 computing `rate-type' for the battery not being discharged
4943 (bug#10332).
4944
1930bf5d
SM
49452012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4946
2a718f6f
SM
4947 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4948
599430d0
SM
4949 * international/quail.el: Use dolist and simplify.
4950 (quail-define-package, quail-update-keyboard-layout)
4951 (quail-define-rules): Use dolist.
4952 (quail-insert-kbd-layout, quail-get-translation): CSE.
4953
a2754b6c
SM
4954 * tmm.el: Use dolist, remove left over hook.
4955 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4956 Use dolist.
4957 (calendar-load-hook): Don't mess with it.
4958
1930bf5d
SM
4959 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4960 Use derived-mode-p. Run the diff asynchronously.
4961
9f67961c
LMI
49622012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4963
4964 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4965
2a8ce227
JB
49662012-04-10 Juanma Barranquero <lekktu@gmail.com>
4967
4968 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4969 (list-dynamic-libraries--loaded): New function.
4970 (list-dynamic-libraries--refresh): Use it.
4971
8f33b5f8
NW
49722012-04-10 Nathan Weizenbaum <nweiz@google.com>
4973
1930bf5d
SM
4974 * progmodes/python.el (python-fill-paragraph):
4975 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4976 disabled (bug#7018).
4977
b12f0439
L
49782012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4979
1930bf5d 4980 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4981 DOS/MS Windows for the Baltic languages. There are still plenty
4982 of texts written in this encoding/codepage (bug#6519).
b12f0439 4983
57c3bd01
GM
49842012-04-10 Glenn Morris <rgm@gnu.org>
4985
4986 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4987 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4988
6c3eab30
FA
49892012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4990
1930bf5d 4991 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4992 next-line "n" and previous-line "p" in order to make recentf more
4993 consistent with ibuffer, dired or org-mode (bug#9387).
4994
24d78a88
LMI
49952012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4996
bc72b5d9
LMI
4997 * image.el (put-image): Return the overlay created instead of the
4998 optional input string (bug#7834). Note that this may break code
4999 that is (for some reason or other) depending on `put-image'
5000 returning the string.
5001
bd2dba5a
LMI
5002 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5003
74beb59f
LMI
5004 * simple.el (zap-to-char): Allow zapping using input methods
5005 (bug#1580).
5006
24d78a88
LMI
5007 * textmodes/fill.el (fill-region): Leave point and mark where they
5008 were before filling (bug#5399).
5009
263f20cd
GM
50102012-04-09 Glenn Morris <rgm@gnu.org>
5011
5012 * version.el (emacs-bzr-get-version):
5013 Handle lightweight checkouts of local branches.
5014
58d1f797
AS
50152012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5016
263f20cd 5017 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5018
b4d3bc10
CY
50192012-04-09 Chong Yidong <cyd@gnu.org>
5020
5021 * custom.el (custom-variable-p): Return nil for non-symbol
5022 arguments instead of signaling an error.
5023 (user-variable-p): Obsolete alias for custom-variable-p.
5024
5025 * apropos.el (apropos-variable):
5026 * files-x.el (read-file-local-variable):
5027 * simple.el (set-variable):
5028 * woman.el (woman-mini-help):
5029 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5030
fd06db5d
GM
50312012-04-09 Glenn Morris <rgm@gnu.org>
5032
e5fcdb5e
GM
5033 * startup.el (normal-top-level): Don't look for leim-list.el
5034 in places where it will not be found. (Bug#910)
5035
fd06db5d
GM
5036 * international/mule-cmds.el (set-default-coding-systems):
5037 * files.el (normal-mode):
5038 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5039 This function was removed with ucs-tables.el in 2008.
5040
b39bb7e1
EZ
50412012-04-08 Eli Zaretskii <eliz@gnu.org>
5042
5043 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5044 ispell-encoding8-command to "-i", without a trailing space.
5045 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5046 separate command-line arguments, to specify the encoding, since
5047 that's how hunspell expects it.
5048
5c5b8e23
GM
50492012-04-08 Glenn Morris <rgm@gnu.org>
5050
5051 * loadup.el: Load bindings before cus-start.
5052 This reduces somewhat the number of "rogue" settings in emacs -Q.
5053
a1ed8b05
GM
50542012-04-07 Glenn Morris <rgm@gnu.org>
5055
5056 * version.el (emacs-bzr-get-version): New function.
dfae128a 5057 (emacs-bzr-version): New variable.
a1ed8b05
GM
5058 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5059 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5060
b142f158
EZ
50612012-04-07 Eli Zaretskii <eliz@gnu.org>
5062
dfae128a
GM
5063 * international/uni-bidi.el, international/uni-category.el:
5064 * international/uni-combining.el, international/uni-decimal.el:
5065 * international/uni-decomposition.el, international/uni-digit.el:
5066 * international/uni-lowercase.el, international/uni-mirrored.el:
5067 * international/uni-name.el, international/uni-numeric.el:
5068 * international/uni-titlecase.el, international/uni-uppercase.el:
5069 Update for Unicode 6.1.
b142f158 5070
9078ead6
EZ
50712012-04-07 Eli Zaretskii <eliz@gnu.org>
5072
5073 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5074
f23d2c7d
LMI
50752012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5076
5077 * window.el (shrink-window): Mention the `window-min-height'
5078 variable in the doc string.
5079
0a0a3573
BG
50802012-04-05 Bastien Guerry <bzg@altern.org>
5081
5082 * color.el (color-lighten-name): Fix typo.
5083
e5248ac9
SM
50842012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * server.el (server--on-display-p): New function.
5087 (server--on-display-p): Use it.
5088
b4243e22
GV
50892012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5090
5091 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5092 (bug#11145).
5093
305d9f44
SM
50942012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5095
5096 * comint.el (comint--common-quoted-suffix): Check string boundary
5097 before comparing (bug#11158).
5098 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5099
3d439cd1
CY
51002012-04-04 Chong Yidong <cyd@gnu.org>
5101
321cc491
CY
5102 * minibuffer.el (completion-extra-properties): Doc fix.
5103
3d439cd1
CY
5104 * subr.el (delayed-warnings-hook): Doc fix.
5105
2d562c0f
DU
51062012-04-04 Daiki Ueno <ueno@unixuser.org>
5107
5108 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5109 selection (Bug#11159).
5110 (epa-insert-keys): Inform that the default public key will be
5111 exported if no key is selected.
5112
4443f204
RS
51132012-04-04 Richard Stallman <rms@gnu.org>
5114
5115 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5116
529c06b6
CY
51172012-04-03 Chong Yidong <cyd@gnu.org>
5118
5119 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5120 mail-insert-file, not its obsolete alias mail-attach-file.
5121
66b907dc
MA
51222012-04-03 Michael Albinus <michael.albinus@gmx.de>
5123
5124 * notifications.el (notifications-notify): Fix docstring.
5125
c0ea195d
GM
51262012-04-02 Glenn Morris <rgm@gnu.org>
5127
5128 * emacs-lisp/authors.el (authors-aliases): Another addition.
5129
5ca64e00
MA
51302012-04-02 Michael Albinus <michael.albinus@gmx.de>
5131
5132 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5133 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5134 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5135
42ee526b
CY
51362012-04-01 Chong Yidong <cyd@gnu.org>
5137
5138 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5139 Handle root directory properly.
5140 (copy-directory): Caller changed.
5141
5142 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5143 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5144
0b021094
GM
51452012-03-31 Glenn Morris <rgm@gnu.org>
5146
40f86458
GM
5147 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5148
7019c177
GM
5149 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5150
a1daddd6
GM
5151 * calendar/calendar.el (calendar-window-list)
5152 (calendar-hide-window): Restore. (Bug#11140)
5153 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5154
0b021094
GM
5155 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5156
40311efc
TV
51572012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5158
5159 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5160 Check if file is a symlink (Bug#10489).
5161
5162 * files.el (copy-directory): Likewise.
5163
5319014e
CY
51642012-03-30 Chong Yidong <cyd@gnu.org>
5165
5166 * image.el (imagemagick-types-inhibit)
5167 (imagemagick-register-types): Doc fix.
5168
935d1290
AM
51692012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5170
090bd7cb 5171 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5172 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5173 and treats ~word as ordinary words in pipe mode.
935d1290 5174
61c6e8fd
GM
51752012-03-30 Glenn Morris <rgm@gnu.org>
5176
5177 * tutorial.el (help-with-tutorial): Ensure local variables don't
5178 happen to make the buffer read-only. (Bug#11127)
5179
81fdff00
SM
51802012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5181
5182 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5183 (perl-calculate-indent): Return `noindent' in strings.
5184
6e7a6ec0
SS
51852012-03-28 Sam Steingold <sds@gnu.org>
5186
5187 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5188 instead of the broken adhockery which does not prevent calendar
5189 buffers from being displayed at random after exit.
5190 (calendar-window-list, calendar-hide-window): Remove the broken
5191 adhockery.
5192
fee88ca0
GM
51932012-03-28 Glenn Morris <rgm@gnu.org>
5194
5195 * replace.el (query-replace-map): Doc fix.
5196
38de3354
AS
51972012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5198
5199 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5200 contents. (Bug#11109)
5201
b973155e
SM
52022012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5205 (bug#11077).
5206 (avl-tree--check, avl-tree--check-node): New funs.
5207
dcb6e7b3
MR
52082012-03-27 Martin Rudalics <rudalics@gmx.at>
5209
5210 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5211 (switch-to-prev-buffer, switch-to-next-buffer):
5212 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5213 showing a buffer already is done on the same frame.
5214
b4fa35fa
GM
52152012-03-27 Glenn Morris <rgm@gnu.org>
5216
5217 * startup.el (mail-host-address): Doc fix.
5218
f9210e18
SM
52192012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5222 than 197 variables.
5223
c0bf7753
AF
52242012-03-26 Ami Fischman <ami@fischman.org>
5225
5226 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5227
33da7b16
GM
52282012-03-26 Glenn Morris <rgm@gnu.org>
5229
02243d9d
GM
5230 * files.el (save-buffers-kill-emacs): Doc fix.
5231
33da7b16
GM
5232 * startup.el (normal-top-level, command-line, command-line-1):
5233 Give them doc strings.
5234
e5a69fd0
EZ
52352012-03-25 Eli Zaretskii <eliz@gnu.org>
5236
5237 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5238 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5239
9a69676a
CY
52402012-03-25 Chong Yidong <cyd@gnu.org>
5241
4125cb8b
CY
5242 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5243 theme if it was previously enabled before (Bug#11031).
5244
dd470960
CY
5245 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5246 spec with custom-face-get-current-spec if its :shown-value is not
5247 determined yet (Bug#9337).
4125cb8b 5248 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5249
9a69676a
CY
5250 * button.el (button-at): Minor addition to docstring.
5251
6e7e90fa
SL
52522012-03-24 Simon Leinen <simon.leinen@gmail.com>
5253
5254 * vc/vc.el (vc-merge): Fix a prompt.
5255
f06e2758
CY
52562012-03-24 Chong Yidong <cyd@gnu.org>
5257
5258 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5259 point (Bug#9623).
5260
6e7e90fa
SL
5261 * button.el (button-at): Minor addition to docstring.
5262
b9d0879b
SM
52632012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * newcomment.el (comment-choose-indent): No space after BOL.
5266
e71cebb3
SS
52672012-03-22 Sam Steingold <sds@gnu.org>
5268
5269 * window.el (switch-to-prev-buffer): Revert last patch because the
5270 bug turned out to be an advertised feature (Elisp manual 28.14).
5271
335aff35
GM
52722012-03-22 Glenn Morris <rgm@gnu.org>
5273
5274 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5275 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5276
c676576a
LMI
52772012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5278
5279 * net/network-stream.el (network-stream-open-starttls): Make error
5280 message under Windows be less misleading.
5281
126f3d39
LW
52822012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5283
5284 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5285 understands (bug#9942).
5286
64fee311
CY
52872012-03-22 Chong Yidong <cyd@gnu.org>
5288
5289 * simple.el (end-of-visible-line): Handle return value of
5290 next-single-property-change properly (Bug#9371).
5291
a640d29a
KH
52922012-03-22 Kenichi Handa <handa@m17n.org>
5293
5294 * international/quail.el (quail-insert-kbd-layout): Fix previous
5295 change. To avoid unwanted bidi reordering, use
5296 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5297
39675016
DG
52982012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5299
5300 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5301 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5302 (ruby-beginning-of-indent): Be more careful with the difference
5303 between word-boundary and symbol boundary.
5304 (ruby-mode-syntax-table): Make : a symbol constituent.
5305
0a6934fc 53062012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5307
3d008e4f
SM
5308 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5309
0a6934fc
SM
53102012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5311
af67c9d7
SM
5312 * progmodes/etags.el (tags-completion-at-point-function):
5313 Improve last fix.
5314
1acad97c
SM
5315 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5316
e298b5da
SS
53172012-03-21 Sam Steingold <sds@gnu.org>
5318
5319 * progmodes/etags.el (tags-completion-at-point-function):
5320 Avoid the error when point is inside the pattern.
5321
91d82a70
JY
53222012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5323
5324 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5325 line (Bug#10855).
5326
69188b79
CY
53272012-03-21 Drew Adams <drew.adams@oracle.com>
5328
5329 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5330
99fc91fe
AK
53312012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5332
5333 * ido.el (ido-set-current-directory, ido-read-internal)
5334 (ido-choose-completion-string, ido-completion-help): Handle nil
5335 value of ido-completion-buffer (Bug#11008).
5336
087bbb4c
SS
53372012-03-21 Sam Steingold <sds@gnu.org>
5338
5339 * window.el (switch-to-prev-buffer): Do not switch to a visible
5340 window previous buffer, just like with the frame previous buffers.
5341
fb5b8aca
CY
53422012-03-21 Chong Yidong <cyd@gnu.org>
5343
5344 * faces.el (make-face, make-empty-face, copy-face):
5345 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5346 Doc fixes.
5347
dc9924b8
SM
53482012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5349
5350 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5351 (widget-complete): Remove broken use of it.
5352
f0bcceb9
CY
53532012-03-20 Chong Yidong <cyd@gnu.org>
5354
dc9924b8
SM
5355 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5356 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5357 characters.
5358
ee52ebf3
TH
53592012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5360
5361 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5362 to draw rectangles, not squares. (Regression introduced by revno
5363 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5364
4c5779ab
CY
53652012-03-18 Chong Yidong <cyd@gnu.org>
5366
5367 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5368 it is not yet defined (for temacs).
5369
15360934
LL
53702012-03-18 Leo Liu <sdl.web@gmail.com>
5371
dc9924b8 5372 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5373
d9a8eb66
EZ
53742012-03-17 Eli Zaretskii <eliz@gnu.org>
5375
5376 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5377 (ispell-choices-win-default-height, ispell-silently-savep)
5378 (ispell-dictionary-alist, ispell-encoding8-command)
5379 (ispell-check-version, ispell-aspell-find-dictionary)
5380 (ispell-valid-dictionary-list, ispell-words-keyword)
5381 (ispell-get-word, ispell-internal-change-dictionary)
5382 (ispell-region, ispell-skip-region-list)
5383 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5384 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5385 (ispell-message-text-end, ispell-message)
5386 (ispell-buffer-local-parsing): Doc fix.
5387
f02ff80d
J
53882012-03-13 Jambunathan K <kjambunathan@gmail.com>
5389
5390 * htmlfontify.el: Add support for code block fontification for ODT
5391 export (Bug #9914).
5392 (hfy-optimisations): Define new option
5393 `body-text-only'
5394 (hfy-fontify-buffer): Honor above setting.
5395 (hfy-begin-span, hfy-end-span): New routines factored out form
5396 `hfy-fontify-buffer'.
5397 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5398 that permit insertion of custom tags.
5399 (hfy-fontify-buffer): Use above handlers.
5400 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5401 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5402 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5403 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5404 bind a special variable `hfy-user-sheet-assoc'.
5405 (htmlfontify-string): New defun.
5406 (hfy-compile-face-map): Make sure that the last char in the
5407 buffer is correctly fontified.
5408 (hfy-face-resolve-face): Whitespace only change.
5409
9ac7a13f
EZ
54102012-03-17 Eli Zaretskii <eliz@gnu.org>
5411
5412 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5413 message more clear.
5414
e2b5bdd7
LL
54152012-03-16 Leo Liu <sdl.web@gmail.com>
5416
5417 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5418
2e492df3
AM
54192012-03-16 Alan Mackenzie <acm@muc.de>
5420
5421 Further optimise the handling of large macros.
5422
5423 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5424 limit to a call of `c-literal-limits'.
5425 (c-determine-+ve-limit): New function.
dc9924b8
SM
5426 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5427 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5428 In CASE 5B, restrict a search limit to 500.
5429 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5430
5431 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5432 Restrict macro bounds to +-500 from after-change's BEG END.
5433
50e94f0c
LL
54342012-03-16 Leo Liu <sdl.web@gmail.com>
5435
5436 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5437
6f09f6ed
AH
54382012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5439
5440 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5441 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5442
c7e73d51
GM
54432012-03-16 Glenn Morris <rgm@gnu.org>
5444
da986230
GM
5445 * view.el (view-buffer, view-buffer-other-window)
5446 (view-buffer-other-frame): Doc fixes re special mode-class.
5447
0835f01e
GM
5448 * subr.el (eval-after-load): If named feature is provided not from
5449 a file, run after-load forms. (Bug#10946)
5450
c7e73d51
GM
5451 * calendar/calendar.el (calendar-insert-at-column):
5452 Handle non-unit-width characters a bit better. (Bug#10978)
5453
3f2eafd1
CY
54542012-03-15 Chong Yidong <cyd@gnu.org>
5455
5456 * emacs-lisp/ring.el (ring-extend): New function.
5457 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5458
5459 * comint.el (comint-read-input-ring)
5460 (comint-add-to-input-history): Grow comint-input-ring lazily.
5461
103af3fe
SM
54622012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5463
663b1677
SM
5464 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5465 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5466
103af3fe
SM
5467 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5468 (imenu-add-to-menubar): Don't add a redundant index.
5469 (imenu-update-menubar): Handle a dynamically composed keymap.
5470
899cb7cb
KY
54712012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5472
5473 * mail/sendmail.el (mail-encode-header):
5474 Bind rfc2047-encode-encoded-words to nil.
5475
3809f91d
GM
54762012-03-13 Glenn Morris <rgm@gnu.org>
5477
5478 * calendar/calendar.el (calendar-string-spread):
5479 Handle non-unit-width characters a bit better. (Bug#10978)
5480
9e345a01
LL
54812012-03-13 Leo Liu <sdl.web@gmail.com>
5482
5483 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5484 directory and file as argument (Bug#10822).
5485
4a07df36
KS
54862012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5487
5488 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5489 For dynamically generated code, follow $PC.
5490 (gdb-disassembly-handler-custom): Handle no function name case.
5491
4aaa9356
TL
54922012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5493
5494 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5495 * emulation/ws-mode.el (ws-query-replace):
5496 * sort.el (sort-regexp-fields):
5497 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5498
225979da
SM
54992012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5501 * dabbrev.el: Fix cycle completion order (bug#10963).
5502 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5503 (dabbrev-completion): Don't use an obarray; provide
5504 a cycle-sort-function.
5505
e2f1fdab
LL
55062012-03-12 Leo Liu <sdl.web@gmail.com>
5507
dc9924b8 5508 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5509 (kill-do-not-save-duplicates): Doc fix.
5510
b19490ed
SM
55112012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5512
5513 * dabbrev.el: Fix cycle completion (bug#10963).
5514 Use lexical binding and wrap to 80 columns.
5515 (dabbrev-completion): Delay computing the list of completions.
5516
4b05d722
KH
55172012-03-12 Kenichi Handa <handa@m17n.org>
5518
5519 * international/quail.el (quail-insert-kbd-layout): Surround each
5520 row by LRO and PDF instead of inserting many LRMs. Pad the left
5521 and right of each non-spacing marks. Insert invisible space
5522 between lower and upper characters to prevent composition.
5523
dbbc2e69
SM
55242012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * minibuffer.el (minibuffer-complete): Don't get confused when the
5527 function is run twice via different commands (bug#10958).
5528 (complete-with-action): Fix docstring.
5529
292112ed
CY
55302012-03-12 Chong Yidong <cyd@gnu.org>
5531
5d1ac394
CY
5532 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5533 (nxml-completion-at-point-function): New function.
5534 (nxml-mode): Use it.
5535 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5536
292112ed
CY
5537 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5538 Load generated autoloads file before byte compiling (Bug#10970).
5539 (package--make-autoloads-and-compile): New helper fun.
5540
4098f8f7
CS
55412012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5542
5543 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5544
8f754691
MA
55452012-03-11 Michael Albinus <michael.albinus@gmx.de>
5546
5547 * autorevert.el (auto-revert-handler): Ensure, that
5548 file-readable-p is applied only for local files or in
5549 auto-revert-tail-mode.
5550
e29ab36b
AS
55512012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5552
dbbc2e69
SM
5553 * server.el (server-eval-at): Handle non-tcp connections.
5554 Decode result string.
ad0bf5b6 5555
e29ab36b
AS
5556 * server.el (server-msg-size): New constant.
5557 (server-reply-print): New function.
5558 (server-eval-and-print): Use it.
5559 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5560 Handle -print-nonl.
5561
de5939ba
CS
55622012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5563
5564 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5565 (Bug#10987).
5566
0c93eabf
CY
55672012-03-11 Chong Yidong <cyd@gnu.org>
5568
397a688f
CY
5569 * simple.el (goto-line): Doc fix (Bug#9938).
5570
2cc775f9
CY
5571 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5572
0c93eabf
CY
5573 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5574 when finished (Bug#10963).
5575
c491fa41
MR
55762012-03-11 Martin Rudalics <rudalics@gmx.at>
5577
5578 * window.el (split-window-below): Fix bug in case where
5579 split-window-keep-point is nil (Bug#10971).
5580
300e8fa5
JL
55812012-03-11 Juri Linkov <juri@jurta.org>
5582
5583 * replace.el (replace-highlight): Set isearch-word to nil
5584 unconditionally. (Bug#10887)
5585
dbf6c5a1
EZ
55862012-03-10 Eli Zaretskii <eliz@gnu.org>
5587
5588 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5589 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5590 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5591 (mairix-widget-create-query): Add usage information about mairix
5592 search forms: negating words, searching for substrings, etc.
5593
b9e501de
JP
55942012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5595
5596 * international/fontset.el (font-encoding-alist): Add an entry for
5597 ksx1001 (Bug#5667).
5598
92795c91
RS
55992012-03-10 Richard Stallman <rms@gnu.org>
5600
1694e6c1
RS
5601 * mail/sendmail.el (mail-encode-header):
5602 Set rfc2047-encode-encoded-words.
5603
607e8555
RS
5604 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5605
de3bc99a
RS
5606 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5607 view buffer means not swapped.
5608 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5609 (rmail-write-region-annotate): Error if real text has disappeared.
5610
92795c91
RS
5611 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5612
699bd04e
CY
56132012-03-10 Chong Yidong <cyd@gnu.org>
5614
5615 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5616 * emulation/cua-base.el (cua--init-keymaps):
5617 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5618
570a1714
MR
56192012-03-10 Martin Rudalics <rudalics@gmx.at>
5620
dbbc2e69
SM
5621 * speedbar.el (speedbar-unhighlight-one-tag-line):
5622 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5623
82dcf4e4
CY
56242012-03-10 Chong Yidong <cyd@gnu.org>
5625
7a2c7ca7
CY
5626 * minibuffer.el (completion-in-region, completion-help-at-point):
5627 Give the completion field overlay a high priority (Bug#6830).
5628
82dcf4e4
CY
5629 * dired.el (dired-goto-file): Recognize absolute file name
5630 listings (Bug#7126).
5631 (dired-goto-file-1): New helper function.
5632 (dired-toggle-read-only): Inhibit warnings.
5633
052e28ac
MA
56342012-03-09 Michael Albinus <michael.albinus@gmx.de>
5635
75f1671a 5636 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5637 there are no properties.
5638
95d5e396
LL
56392012-03-09 Leo Liu <sdl.web@gmail.com>
5640
5641 * savehist.el (savehist-printable): Stricter check for string
5642 value (Bug#10937).
5643
3f018d6d
EZ
56442012-03-09 Eli Zaretskii <eliz@gnu.org>
5645
dbbc2e69
SM
5646 * mail/smtpmail.el (smtpmail-send-it):
5647 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5648 valid mbox format.
5649
f7fd3d79
GM
56502012-03-09 Glenn Morris <rgm@gnu.org>
5651
5652 * files.el (dir-locals-find-file):
5653 Don't check result is regular, readable.
5654 (dir-locals-read-from-file): Demote errors.
5655
6ff6e72f
EZ
56562012-03-08 Eli Zaretskii <eliz@gnu.org>
5657
dbbc2e69
SM
5658 * international/quail.el (quail-insert-kbd-layout):
5659 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5660 layout cell, to prevent their reordering by bidi display engine.
5661 For details, see the discussion in
5662 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5663
9cec7834
AM
56642012-03-08 Alan Mackenzie <acm@muc.de>
5665
5666 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5667 the starting position; make it extend the marked region when
5668 invoked repeatedly - all under appropriate circumstances.
5669 Fixes bugs #5525, #10906.
5670
9a40b8d4
GM
56712012-03-08 Glenn Morris <rgm@gnu.org>
5672
5673 * files.el (locate-dominating-file, dir-locals-find-file):
5674 Undo 2012-03-06 change.
5675
7a08ed35
EZ
56762012-03-07 Eli Zaretskii <eliz@gnu.org>
5677
dbbc2e69
SM
5678 * international/quail.el (quail-help):
5679 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5680 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5681 for the reason.
5682
5aca4f71 56832012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5684
5685 Avoid superfluous registering of signals. (Bug#10807)
5686
5687 * notifications.el (notifications-on-action-object)
5688 (notifications-on-close-object): New defvars.
5689 (notifications-on-action-signal, notifications-on-closed-signal):
5690 Unregister the signal if not needed any longer.
5691 (notifications-notify): Register `notifications-action-signal' or
5692 `notifications-closed-signal', if :on-action or :on-close has been
5693 passed as argument.
5694
78e8b10a
CY
56952012-03-07 Chong Yidong <cyd@gnu.org>
5696
5697 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5698 non-X platforms.
5699
69481eb8
GM
57002012-03-06 Glenn Morris <rgm@gnu.org>
5701
5702 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5703 (x-disown-selection-internal, x-get-selection-internal):
5704 Doc fix (add arglist signatures). (Bug#10783)
5705
133b8e11
KS
57062012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5707
5708 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5709 Handle breakpoints with no "type".
5710
99a83064
GM
57112012-03-06 Glenn Morris <rgm@gnu.org>
5712
5713 * files.el (locate-dominating-file): Add optional predicate argument.
5714 (dir-locals-find-file): Make use of above change.
5715
17798e78
TTN
57162012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5717
5718 * info.el (Info-insert-dir): Also try "dir.gz".
5719
eb182446
GM
57202012-03-06 Glenn Morris <rgm@gnu.org>
5721
8f2114ee
GM
5722 * files.el (dir-locals-find-file):
5723 Ignore non-readable or non-regular files. (Bug#10928)
5724
eb182446
GM
5725 * files.el (locate-dominating-file): Doc fix.
5726
24679323
AS
57272012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5728
5729 * calendar/calendar.el (calendar-set-mode-line):
5730 `getenv' returns a string. (Bug#10951)
5731
01d972a9
LL
57322012-03-05 Leo Liu <sdl.web@gmail.com>
5733
109aa8a9
LL
5734 * simple.el (backward-delete-char-untabify): Constrain point to
5735 field (Bug#10939).
5736
01d972a9
LL
5737 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5738
10607bea
CY
57392012-03-05 Chong Yidong <cyd@gnu.org>
5740
5741 * simple.el (count-words): If called from Lisp, return the word
5742 count, for symmetry with `count-lines'. Arglist changed.
5743 (count-words--message): Args changed. Consolidate counting code
5744 from count-words and count-words-region.
5745 (count-words-region): Caller changed.
5746 (count-lines-region): Make it an obsolete alias.
5747
5dd11cfe
TH
57482012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5749
5750 * saveplace.el (save-place-to-alist)
5751 (save-place-ignore-files-regexp): Allow value nil to disable this
5752 feature.
5753
c349f4e6
CY
57542012-03-04 Chong Yidong <cyd@gnu.org>
5755
5756 * faces.el (face-spec-reset-face): For the default face, reset the
5757 attributes to default values (Bug#10748).
5758
e627be4c
LMI
57592012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5760
5761 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5762 previous patch: Check `message-send-mail-function', and not the
5763 default function (bug#10897).
5764
ebeabff4
MA
57652012-03-04 Michael Albinus <michael.albinus@gmx.de>
5766
a41a6cf4
MA
5767 * notifications.el (notifications-on-action-signal)
5768 (notifications-on-closed-signal): Check for unique service name of
5769 incoming event. Fix error in removing entry.
ebeabff4 5770 (top): Register for signals with wildcard service name.
a41a6cf4 5771 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5772
c1ca42b4
CY
57732012-03-04 Chong Yidong <cyd@gnu.org>
5774
dc9924b8 5775 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5776
ea16568d
GM
57772012-03-04 Glenn Morris <rgm@gnu.org>
5778
5779 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5780 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5781 (expand-abbrev, define-abbrev-table): Doc fixes.
5782
fbae4637
LMI
57832012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5784
5785 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5786 `message-default-send-mail-function' and not `send-mail-function'
5787 when doing the prompting for `sendmail-query-once' before sending
5788 in Message buffers (bug#10897).
5789
a1e7225c
LMI
5790 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5791 This is inconsistent with all the other stream functions, which leave
5792 the setting up to the higher levels (if so wanted) (bug#10931).
5793
56d093a9
AM
57942012-03-02 Alan Mackenzie <acm@muc.de>
5795
5796 Depessimize the handling of very large macros.
5797
5798 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5799 (c-macro-cache-syntactic): New variables to implement a one
5800 element macro cache.
5801 (c-invalidate-macro-cache): New function.
5802 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5803 Adapt to use the new cache.
5804 (c-state-safe-place): Use better the cache of safe positions.
5805 (c-state-semi-nonlit-pos-cache)
5806 (c-state-semi-nonlit-pos-cache-limit):
5807 New variables for...
5808 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5809 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5810 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5811 Use c-state-semi-safe-place.
56d093a9 5812
dbbc2e69
SM
5813 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5814 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5815
817e5c3d
MA
58162012-03-02 Michael Albinus <michael.albinus@gmx.de>
5817
dbbc2e69
SM
5818 * jka-compr.el (jka-compr-call-process):
5819 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5820 not remote.
5821
a032a702
MA
58222012-03-01 Michael Albinus <michael.albinus@gmx.de>
5823
5824 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5825 access of FILE2, if FILE1 does not exist.
5826
99a54f21
MA
5827 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5828 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5829
5830 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5831 Add "PAGER=" to `process-environment'.
5832
f6561e1f
MM
58332012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5834
5835 * progmodes/sql.el: Bug fix
5836 (sql-get-login-ext): Save login values in globals.
5837 (sql-get-login): Use new version of `sql-get-login-ext'.
5838 (sql-interactive-mode): Set global `sql-connection' to nil.
5839 (sql-connect): Set global values for connection.
5840 (sql-product-interactive): Save global values as buffer local.
5841
2d44d9cc
LL
58422012-02-29 Leo Liu <sdl.web@gmail.com>
5843
5844 * abbrev.el (define-abbrevs): Reset sys to nil.
5845
96b49301 58462012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5847
bf7f9bc5
JB
5848 * files.el (file-equal-p): Rename from `files-equal-p'.
5849 Return nil when one or both files don't exist.
96b49301 5850 (file-subdir-of-p): Now only top directory must exists,
5851 return nil if it doesn't.
bf7f9bc5
JB
5852 (copy-directory): No need to test with `file-subdir-of-p' after
5853 creating dir.
5854 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5855 to `file-equal-p'.
96b49301 5856
44e97401
GM
58572012-02-28 Glenn Morris <rgm@gnu.org>
5858
5859 * shell.el (shell-mode):
5860 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5861 * play/landmark.el (landmark-font-lock-face-O):
5862 * play/handwrite.el (handwrite):
5863 * play/gomoku.el (gomoku-O):
5864 * net/browse-url.el (browse-url-browser-display):
5865 * international/mule.el (define-charset):
5866 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5867 * filesets.el (filesets-find-file-delay):
5868 * eshell/em-xtra.el (eshell-xtra):
5869 * eshell/em-unix.el (eshell-grep):
5870 * emulation/viper.el (viper-mode):
5871 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5872 * emacs-lisp/easymenu.el (easy-menu-define):
5873 * calendar/timeclock.el (timeclock-use-display-time):
5874 * bs.el (bs-mode):
5875 * bookmark.el (bookmark-save-flag):
5876 Doc fix (standardize possessive apostrophe usage).
5877
c98c6276
CY
58782012-02-27 Chong Yidong <cyd@gnu.org>
5879
bf7f9bc5
JB
5880 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5881 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5882
c98c6276
CY
5883 * font-lock.el (font-lock-specified-p): Rename from
5884 font-lock-spec-present. Callers changed.
5885
9c62cd04 58862012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5887
bf7f9bc5
JB
5888 * emacs-lisp/package.el (package-compute-transaction):
5889 Handle holding a package version to t in package-load-list.
8ac9e529 5890
530739c9
MA
58912012-02-26 Michael Albinus <michael.albinus@gmx.de>
5892
5893 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5894 (tramp-get-inode, tramp-get-device): Use cached values.
5895
487915d7
AM
58962012-02-26 Alan Mackenzie <acm@muc.de>
5897
5898 Check there is a font-lock specification before doing initial
5899 fontification.
5900
5901 * font-core.el (font-lock-mode): Move the conditional from
5902 :after-hook to font-lock-initial-fontify.
5903 (font-lock-default-function): Move the check for a specification
5904 to font-lock-spec-present.
5905
dc9924b8 5906 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5907 (font-lock-spec-present): New function.
5908
4fd96557
JB
59092012-02-26 Jim Blandy <jimb@red-bean.com>
5910
5911 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5912 (gdb-send): Apply it to the operand of the '-interpreter-exec
5913 console' command, so that we can pass arguments with (say) quotes
5914 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5915
9a4888c0
CY
59162012-02-26 Chong Yidong <cyd@gnu.org>
5917
07498861
CY
5918 * help-fns.el (describe-function-1): Clarify description of
5919 remapping (Bug#10844).
5920
9a4888c0
CY
5921 * files.el (files-equal-p): Doc fix.
5922 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5923 and quit the loop once a mismatch is found.
5924
ea8fb88d
JB
59252012-02-25 Juanma Barranquero <lekktu@gmail.com>
5926
5927 * bs.el (bs--show-with-configuration): Don't throw an error
5928 if the window cannot be split; otherwise, subsequent calls to
5929 bs-show fail, restoring a stale window config. (Bug#10882)
5930
525795c1
JD
59312012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5932
5933 * term/ns-win.el (global-map): Bind ns-drag-file to
5934 ns-find-file (Bug#5855, Bug#10050).
5935
f008086f
AS
59362012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5937
5938 * calendar/parse-time.el (parse-time-string): Allow extractor to
5939 return nil.
5940
a3fcfa99
MA
59412012-02-25 Michael Albinus <michael.albinus@gmx.de>
5942
91027d08
JB
5943 * net/tramp.el (tramp-file-name-for-operation):
5944 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5945
5946 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5947 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5948 Add COPY-CONTENTS argument.
a3fcfa99 5949
67b0de11
CY
59502012-02-25 Chong Yidong <cyd@gnu.org>
5951
5952 Add custom groups for VC backends, for consistency with vc-bzr.
5953
5954 * vc/vc-arch.el (vc-arch):
5955 * vc/vc-cvs.el (vc-cvs):
5956 * vc/vc-git.el (vc-git):
5957 * vc/vc-hg.el (vc-hg):
5958 * vc/vc-mtn.el (vc-mtn):
5959 * vc/vc-rcs.el (vc-rcs):
5960 * vc/vc-sccs.el (vc-sccs):
5961 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5962 All relevant defcustoms reassigned.
5963
3c9dfce6
CY
59642012-02-25 Chong Yidong <cyd@gnu.org>
5965
1339bf43
CY
5966 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5967
3c9dfce6
CY
5968 * term/x-win.el (x-initialize-window-system): Reduce default for
5969 x-selection-timeout to 5 seconds (Bug#8869).
5970
25b2e303 59712012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5972
ec70a47d
GM
5973 * files.el (files-equal-p, file-subdir-of-p): New functions.
5974 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5975 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5976 * dired-aux.el (dired-copy-file-recursive): Same.
5977 (dired-create-files): Modify destination when source is equal to
5978 dest when copying files.
53a46cd0 5979 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5980
914260cd
MA
59812012-02-24 Michael Albinus <michael.albinus@gmx.de>
5982
5983 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5984 (Bug#10874)
5985
2cb228f7
AM
59862012-02-23 Alan Mackenzie <acm@muc.de>
5987
5988 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5989 parameter "after-hook:" to allow the expansion to run code after
5990 the execution of the mode hooks.
5991
5992 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5993 from font-lock-mode-internal.
2cb228f7 5994
91027d08 5995 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5996 :after-hook.
5997
8f0fde21
SM
59982012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5999
3e88618b
SM
6000 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6001 (completion--cache-all-sorted-completions): New function.
6002 (completion-all-sorted-completions): Use it.
6003 (completion--do-completion, minibuffer-force-complete):
6004 Use it to re-instate the flush hook.
6005
8f0fde21
SM
6006 * icomplete.el (icomplete-completions): Replace last fix with a better
6007 one (bug#10850).
6008
8e911f6f
DG
60092012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6010
6011 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6012 when it might call us back infinitely (bug#10797).
6013
49fe4321
GM
60142012-02-23 Glenn Morris <rgm@gnu.org>
6015
6016 * minibuffer.el (completion-category-overrides): Doc fix.
6017
b291b572
SM
60182012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6021 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6022
31a9ef2e
GM
60232012-02-23 Glenn Morris <rgm@gnu.org>
6024
5e6e6794 6025 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6026 (authors-obsolete-files-regexps, authors-ignored-files)
6027 (authors-ambiguous-files, authors-renamed-files-alist):
6028 Add more entries.
6029
0bd1e074
JL
60302012-02-23 Juri Linkov <juri@jurta.org>
6031
6032 * isearch.el (isearch-occur): Sync interactive spec with occur's
6033 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6034
b617673c
JL
6035 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6036
19e9789e
JL
60372012-02-22 Juri Linkov <juri@jurta.org>
6038
6039 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6040 (ucs-insert): Doc fix. Check for hex digits in the string.
6041 Don't display `nil' in the error message. (Bug#10857)
6042
f41ce09d
AM
60432012-02-22 Alan Mackenzie <acm@muc.de>
6044
7a71b18d 6045 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6046
ac2eceee
GM
60472012-02-22 Glenn Morris <rgm@gnu.org>
6048
6049 * ffap.el (ffap-c-path):
6050 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6051
abd1f678
CY
60522012-02-22 Chong Yidong <cyd@gnu.org>
6053
6054 * custom.el (load-theme): Doc fix.
6055
f25aef2e
GM
60562012-02-22 Glenn Morris <rgm@gnu.org>
6057
6058 * dired-x.el (dired-guess-shell-alist-default):
6059 Remove escape sequences from nroff output. (Bug#172)
6060
5f8dc2ca
GM
60612012-02-21 Glenn Morris <rgm@gnu.org>
6062
6ff86ec4
GM
6063 * vc/emerge.el (emerge-defvar-local):
6064 Set `permanent-local' property rather than unused `preserved'.
6065
be3223a3 6066 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6067 (picture-mode-map): Use it. (Bug#10860)
6068 (picture-mode): Doc fix.
6069
3fe58f4f
JB
60702012-02-21 Juanma Barranquero <lekktu@gmail.com>
6071
6072 * newcomment.el (uncomment-region-default): Remove unused binding.
6073
f9a998c3
GM
60742012-02-21 Glenn Morris <rgm@gnu.org>
6075
6076 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6077 (picture-self-insert, picture-tab-chars): Doc fix.
6078 (picture-mode-map): Fix C-a, C-e.
6079
c6029348
GM
60802012-02-20 Glenn Morris <rgm@gnu.org>
6081
6082 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6083
ab1ce9d7
LL
60842012-02-20 Leo Liu <sdl.web@gmail.com>
6085
6086 * icomplete.el (icomplete-completions): Check FROM arg before
6087 passing to substring (Bug#10850).
6088
0fd40f89
CY
60892012-02-19 Chong Yidong <cyd@gnu.org>
6090
6091 * comint.el: Require ansi-color.
6092 (comint-output-filter-functions): Add ansi-color-process-output.
6093
6094 * ansi-color.el: Don't set comint-output-filter-functions; it is
6095 now in the initial value defined in comint.el.
6096 (ansi-color-apply-face-function): New variable.
6097 (ansi-color-apply-on-region): Use it.
6098 (ansi-color-apply-overlay-face): New function.
6099
6100 * shell.el (shell): No need to require ansi-color.
6101 (shell-mode): Use ansi-color-apply-face-function to highlight
6102 color escapes using font-lock-face property (Bug#10835).
6103
20af2394
CY
61042012-02-19 Chong Yidong <cyd@gnu.org>
6105
6106 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6107 mode-line formats (Bug#10839).
6108
e23a3fbe
GM
61092012-02-18 Glenn Morris <rgm@gnu.org>
6110
b474519e
GM
6111 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6112
6113 * mail/undigest.el (unforward-rmail-message): Doc fix.
6114
e23a3fbe
GM
6115 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6116
57939ff4
EZ
61172012-02-18 Eli Zaretskii <eliz@gnu.org>
6118
6119 * international/characters.el (script-list): Sync with the latest
6120 Unicode Character Database.
6121
0c23686e
AS
61222012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6123
6124 * international/titdic-cnv.el: Remove duplicate coding tag.
6125 * language/cham.el: Likewise.
6126 * language/tai-viet.el: Likewise.
6127
6818b449
GM
61282012-02-18 Glenn Morris <rgm@gnu.org>
6129
6130 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6131 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6132 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6133 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6134 * calendar/holidays.el (holiday-bahai-holidays)
6135 (calendar-holidays, list-holidays):
6136 Use utf-8 Bahá'í in doc-strings, menus, etc.
6137
0311a3fc
TH
61382012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6139
6140 * saveplace.el (save-place-ignore-files-regexp): New variable
6141 allowing for excluding files from saving their location of point.
6142 The default value matches the temporary commit message editing
6143 files from Git, SVN, Bazaar, and Mercurial.
6144 (save-place-to-alist): Use it.
6145
d209e2fb 61462012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
6147 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * newcomment.el (uncomment-region-default): Don't leave extra space
6150 when an arg is provided (bug#8150).
6151
ee0ce425
TZ
61522012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6153
eb864a71 6154 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6155
95ddf442
GM
61562012-02-17 Glenn Morris <rgm@gnu.org>
6157
6158 * net/socks.el: Require network-stream. (Bug#10599)
6159
48dd1e39 61602012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6161
6162 * international/charprop.el:
6163 * international/uni-name.el:
6164 * international/uni-old-name.el:
6165 * international/uni-comment.el: Regenerate.
6166
d68cd087
GM
61672012-02-16 Glenn Morris <rgm@gnu.org>
6168
6169 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6170 Interactively in calendar buffer, give an error if not on a date.
6171
13932042
GM
61722012-02-15 Glenn Morris <rgm@gnu.org>
6173
6174 * shell.el (shell-delimiter-argument-list):
6175 Revert 2011-02-17 change. (Bug#8027)
6176
c3a70e2b
CY
61772012-02-15 Chong Yidong <cyd@gnu.org>
6178
60236b0d
CY
6179 * minibuffer.el (completion-at-point-functions): Doc fix.
6180
c3a70e2b
CY
6181 * custom.el (defcustom): Doc fix; note use of defvar.
6182
9f26dc24
GM
61832012-02-15 Glenn Morris <rgm@gnu.org>
6184
6185 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6186 Doc fixes.
6187
6546b134
GM
61882012-02-14 Glenn Morris <rgm@gnu.org>
6189
6190 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6191
d29b2b4c
LI
61922012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6193
6194 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6195 way the ports list is computed.
835bdcba
LI
6196 (smtpmail-query-smtp-server): Prompt the user for a port number if
6197 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6198
08dcdbc9
TZ
61992012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6200
6201 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6202
2605051a
GM
62032012-02-13 Glenn Morris <rgm@gnu.org>
6204
6205 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6206
7ee99f32
TZ
62072012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6208
6209 * net/gnutls.el (gnutls-trustfiles): New variable.
6210 (gnutls-negotiate): Use it.
6211
5f0af64f
LI
62122012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6213
6214 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6215 does its stuff if Gnus is running.
6216
c14fcc95
AM
62172012-02-13 Alan Mackenzie <acm@muc.de>
6218
6219 Fix a loop in c-set-fl-decl-start.
6220
7a71b18d 6221 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6222 c-backward-syntactic-ws actually moves backwards.
6223
142b4d90
LL
62242012-02-13 Leo Liu <sdl.web@gmail.com>
6225
6226 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6227 beginning so that all \C-o chars are removed.
6228
fa9958a6
TZ
62292012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6230
dc9924b8 6231 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6232
0bc5886a
AM
62332012-02-12 Alan Mackenzie <acm@muc.de>
6234
6235 Fix infinite loop with long macros.
4d6769e1 6236 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6237
d4bd55e7
CY
62382012-02-12 Chong Yidong <cyd@gnu.org>
6239
6240 * window.el (display-buffer): Doc fix (Bug#10785).
6241
66f3fe22
GM
62422012-02-12 Glenn Morris <rgm@gnu.org>
6243
bd7da63e
GM
6244 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6245 (x-disown-selection-internal, x-get-selection-internal):
6246 Sync docs with the xselect.c versions.
6247
66f3fe22
GM
6248 * allout-widgets.el: Add missing license notice.
6249
3e0d2fa7
GM
62502012-02-11 Glenn Morris <rgm@gnu.org>
6251
cfecdf09
GM
6252 * select.el (x-get-selection-internal, x-own-selection-internal)
6253 (x-disown-selection-internal):
6254 * x-dnd.el (x-get-selection-internal): Update declarations.
6255
6d216d7f
GM
6256 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6257
2bed3f04
GM
6258 * window.el (window-sides-slots):
6259 * tool-bar.el (tool-bar-position):
6260 * term/xterm.el (xterm-extra-capabilities):
6261 * ses.el (ses-self-reference-early-detection):
6262 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6263 (verilog-auto-wire-type)
6264 (verilog-auto-delete-trailing-whitespace)
6265 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6266 (verilog-auto-tieoff-declaration):
6267 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6268 (sql-oracle-statement-starters, sql-oracle-scan-on):
6269 * progmodes/prolog.el (prolog-align-comments-flag)
6270 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6271 (prolog-left-indent-regexp, prolog-paren-indent-p)
6272 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6273 (prolog-types, prolog-mode-specificators)
6274 (prolog-determinism-specificators, prolog-directives)
6275 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6276 (prolog-electric-dot-flag)
6277 (prolog-electric-dot-full-predicate-template)
6278 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6279 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6280 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6281 (prolog-program-switches, prolog-prompt-regexp)
6282 (prolog-debug-on-string, prolog-debug-off-string)
6283 (prolog-trace-on-string, prolog-trace-off-string)
6284 (prolog-zip-on-string, prolog-zip-off-string)
6285 (prolog-use-standard-consult-compile-method-flag)
6286 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6287 (prolog-imenu-max-lines, prolog-info-predicate-index)
6288 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6289 (prolog-char-quote-workaround):
6290 * progmodes/cc-vars.el (c-defun-tactic):
6291 * net/tramp.el (tramp-encoding-command-interactive)
6292 (tramp-local-end-of-line):
6293 * net/soap-client.el (soap-client):
6294 * net/netrc.el (netrc-file):
6295 * net/gnutls.el (gnutls):
6296 * minibuffer.el (completion-category-overrides)
6297 (completion-cycle-threshold)
6298 (completion-pcm-complete-word-inserts-delimiters):
6299 * man.el (Man-name-local-regexp):
6300 * mail/feedmail.el (feedmail-display-full-frame):
6301 * international/characters.el (glyphless-char-display-control):
6302 * eshell/em-ls.el (eshell-ls-date-format):
6303 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6304 (lisp-lambda-list-keyword-parameter-indentation)
6305 (lisp-lambda-list-keyword-parameter-alignment):
6306 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6307 * dired-x.el (dired-omit-verbose):
6308 * cus-theme.el (custom-theme-allow-multiple-selections):
6309 * calc/calc.el (calc-highlight-selections-with-faces)
6310 (calc-lu-field-reference, calc-lu-power-reference)
6311 (calc-note-threshold):
6312 * battery.el (battery-mode-line-limit):
6313 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6314 (archive-7z-update):
6315 * allout.el (allout-prefixed-keybindings)
6316 (allout-unprefixed-keybindings)
6317 (allout-inhibit-auto-fill-on-headline)
6318 (allout-flattened-numbering-abbreviation):
6319 * allout-widgets.el (allout-widgets-auto-activation)
6320 (allout-widgets-icons-dark-subdir)
6321 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6322 (allout-widgets-theme-dark-background)
6323 (allout-widgets-theme-light-background)
6324 (allout-widgets-item-image-properties-emacs)
6325 (allout-widgets-item-image-properties-xemacs)
6326 (allout-widgets-run-unit-tests-on-load)
6327 (allout-widgets-time-decoration-activity)
6328 (allout-widgets-hook-error-post-time)
6329 (allout-widgets-track-decoration):
6330 Add missing :version tags to new defcustoms and defgroups.
6331
5fec1b8e
GM
6332 * progmodes/sql.el (sql-ansi-statement-starters)
6333 (sql-oracle-statement-starters): Add custom type.
6334
3e0d2fa7
GM
6335 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6336 (prolog-system-version): Give it a type.
6337
90b671e2
EZ
63382012-02-11 Eli Zaretskii <eliz@gnu.org>
6339
6340 * term/pc-win.el (x-select-text, x-selection-owner-p)
6341 (x-own-selection-internal, x-disown-selection-internal)
6342 (x-get-selection-internal): Sync doc strings and argument lists
6343 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6344
5eac0c02
LL
63452012-02-11 Leo Liu <sdl.web@gmail.com>
6346
6347 * progmodes/python.el (python-end-of-statement): Fix infinite
6348 loop. (Bug#10788)
6349
f82cb659
GM
63502012-02-10 Glenn Morris <rgm@gnu.org>
6351
6352 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6353 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6354
cc26d239
LI
63552012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6356
6357 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6358 about SMTP before checking the From header.
6359
91027d08 6360 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6361 into own function for reuse by emacsbug.el.
6362
1be3ca5a
LL
63632012-02-10 Leo Liu <sdl.web@gmail.com>
6364
6365 * subr.el (condition-case-unless-debug): Rename from
6366 condition-case-no-debug. All callers changed.
6367 (with-demoted-errors): Fix caller.
6368
6369 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6370 * nxml/rng-valid.el (rng-do-some-validation):
6371 * emacs-lisp/package.el (package-refresh-contents)
6372 (package-menu-execute):
6373 * desktop.el (desktop-create-buffer):
91027d08 6374 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6375
b011fbfe
GM
63762012-02-10 Glenn Morris <rgm@gnu.org>
6377
b2096d72
GM
6378 * textmodes/bibtex.el:
6379 Add missing :version tags for new/changed defcustoms.
6380
b011fbfe
GM
6381 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6382
4c7e65bf
LI
63832012-02-09 Lars Ingebrigtsen <larsi@rusty>
6384
6385 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6386 (smtpmail-via-smtp): Use it, or fall back on the From address.
6387 (smtpmail-send-it): Ditto.
6388
f3934f6f
SM
63892012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6390
6391 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6392 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6393 (byte-compile-tmp-var): New const.
6394 (byte-compile-defvar): Use it to minimize .elc size.
6395 Just use `defvar' rather than simulate it (bug#10761).
6396
a075a2c5
GM
63972012-02-09 Glenn Morris <rgm@gnu.org>
6398
cf3aa21b
GM
6399 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6400
354998cd
GM
6401 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6402 Add :version tags.
6403
dc9924b8
SM
6404 * progmodes/compile.el (compilation-error-screen-columns)
6405 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6406
dab3703d
GM
6407 * vc/log-view.el (log-view-toggle-entry-display):
6408 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6409
3f88cd72
GM
6410 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6411 (report-emacs-bug-can-use-xdg-email):
6412 (report-emacs-bug-insert-to-mailer): Doc fixes.
6413 (report-emacs-bug): Message fix.
6414
d95b247d
GM
6415 * net/browse-url.el (browse-url-can-use-xdg-open)
6416 (browse-url-xdg-open): Doc fixes.
6417
a075a2c5
GM
6418 * electric.el (electric-indent-mode, electric-pair-mode)
6419 (electric-layout-rules, electric-layout-mode): Doc fixes.
6420 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6421
ffb6157e
MR
64222012-02-08 Martin Rudalics <rudalics@gmx.at>
6423
6424 * server.el (server-unselect-display): Don't inadvertently kill
6425 the current buffer. (Bug#10729)
6426
e1ac4066
GM
64272012-02-08 Glenn Morris <rgm@gnu.org>
6428
34e8a2da
GM
6429 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6430 (sql-list-table): Doc fixes.
6431
b4ac6e8c
GM
6432 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6433 Comment out (does nothing).
6434
e1ac4066
GM
6435 * completion.el (dynamic-completion-mode):
6436 * dirtrack.el (dirtrack-debug-mode):
6437 * electric.el (electric-layout-mode):
6438 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6439 * face-remap.el (text-scale-mode, buffer-face-mode):
6440 * iimage.el (iimage-mode):
6441 * image-mode.el (image-transform-mode):
6442 * minibuffer.el (completion-in-region-mode):
6443 * scroll-lock.el (scroll-lock-mode):
6444 * simple.el (next-error-follow-minor-mode):
6445 * tar-mode.el (tar-subfile-mode):
6446 * tooltip.el (tooltip-mode):
6447 * vcursor.el (vcursor-use-vcursor-map):
6448 * wid-browse.el (widget-minor-mode):
6449 * emulation/tpu-edt.el (tpu-edt-mode):
6450 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6451 * international/iso-ascii.el (iso-ascii-mode):
6452 * language/thai-util.el (thai-word-mode):
6453 * mail/supercite.el (sc-minor-mode):
6454 * net/goto-addr.el (goto-address-mode):
6455 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6456 * progmodes/cwarn.el (cwarn-mode):
6457 * progmodes/flymake.el (flymake-mode):
6458 * progmodes/glasses.el (glasses-mode):
6459 * progmodes/hideshow.el (hs-minor-mode):
6460 * progmodes/pascal.el (pascal-outline-mode):
6461 * textmodes/enriched.el (enriched-mode):
6462 * vc/smerge-mode.el (smerge-mode):
6463 Doc fixes (minor mode argument).
6464
5e0d957f
EZ
64652012-02-07 Eli Zaretskii <eliz@gnu.org>
6466
6467 * ls-lisp.el (ls-lisp-sanitize): New function.
6468 (ls-lisp-insert-directory): Use it to fix or remove any elements
6469 in file-alist with missing attributes. (Bug#4673)
6470
98d7371e
AM
64712012-02-07 Alan Mackenzie <acm@muc.de>
6472
6473 Fix spurious recognition of c-in-knr-argdecl.
6474
6475 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6476 putative K&R region.
6477
667ced3a
AM
64782012-02-07 Alan Mackenzie <acm@muc.de>
6479
eb864a71
LM
6480 * progmodes/cc-engine.el (c-forward-objc-directive):
6481 Prevent looping in "#pragma mark @implementation".
667ced3a 6482
5b77774d
MA
64832012-02-07 Michael Albinus <michael.albinus@gmx.de>
6484
6485 * notifications.el (notifications-on-closed-signal): Make `reason'
6486 optional. (Bug#10744)
6487
af008560
GM
64882012-02-07 Glenn Morris <rgm@gnu.org>
6489
60d47423
GM
6490 * emacs-lisp/easy-mmode.el (define-minor-mode):
6491 Doc fixes for the macro and the mode it defines.
6492
dd605cc4
GM
6493 * image.el (imagemagick-types-inhibit): Doc fix.
6494
af008560
GM
6495 * cus-start.el (imagemagick-render-type): Add it.
6496
5cc59a37
LI
64972012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6498
4d6769e1
JB
6499 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6500 Set the default at load time, too, so that `font-lock-fontify-buffer'
6501 can be called without setting up the entire mode first. This fixes
6502 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6503
9a6dd747
CY
65042012-02-06 Chong Yidong <cyd@gnu.org>
6505
2d16b285
CY
6506 * simple.el (list-processes--refresh): Delete exited processes
6507 (Bug#8094).
6508
171e9b6e
CY
6509 * comint.el (comint-next-prompt): next-single-char-property-change
6510 and prev-single-char-property-change never return nil (Bug#8657).
6511
9a6dd747
CY
6512 * custom.el (defcustom): Doc fix (Bug#9711).
6513
aa4589a7
CY
65142012-02-05 Chong Yidong <cyd@gnu.org>
6515
5c2a252f
CY
6516 * cus-edit.el (custom-variable-reset-backup): Quote the value
6517 before storing it in the customized-value property (Bug#6712).
4aab9006 6518 (custom-display): Add a customization type tag.
983b9602 6519 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6520
aa4589a7
CY
6521 * wid-edit.el (widget-field-value-get): New optional arg to
6522 suppress trailing whitespace truncation.
6523 (character): Use it (Bug#2689).
6524
1ff980ae
AS
65252012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6526
6527 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6528 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6529
03988c98
CY
65302012-02-05 Chong Yidong <cyd@gnu.org>
6531
eeb6cc88
CY
6532 * cus-edit.el (custom-variable-value-create): For mismatched
6533 types, show the current value (Bug#7600).
6534
03988c98
CY
6535 * custom.el (defcustom): Doc fix.
6536
f8cdeef0
GM
65372012-02-05 Glenn Morris <rgm@gnu.org>
6538
6539 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6540
0696d255
JB
65412012-02-05 Juanma Barranquero <lekktu@gmail.com>
6542
6543 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6544 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6545 (pp-last-sexp): Use `looking-at-p'.
6546
34c99998
GM
65472012-02-04 Glenn Morris <rgm@gnu.org>
6548
8f05da42
GM
6549 * files.el (revert-buffer):
6550 Doc fix (mention revert-buffer-in-progress-p).
6551
f160676e
GM
6552 * emacs-lisp/ert-x.el (ert-simulate-command):
6553 Check deferred-action-list (which is obsolete) is bound.
6554
c7291ad9
GM
6555 * subr.el (with-wrapper-hook): Doc fixes.
6556
34c99998
GM
6557 * simple.el (filter-buffer-substring-functions)
6558 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6559
6283a7d3
LL
65602012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6561
6562 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6563 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6564
e96e3013
LL
65652012-02-04 Leo Liu <sdl.web@gmail.com>
6566
6567 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6568
8ded50f2
GM
65692012-02-04 Glenn Morris <rgm@gnu.org>
6570
82ff1d13
GM
6571 * image.el (image-extension-data): Add obsolete alias.
6572
987a0a16
GM
6573 * isearch.el (isearch-update): Doc fix.
6574
ea32ef46
GM
6575 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6576
8ded50f2
GM
6577 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6578
eea14f31
GM
65792012-02-03 Glenn Morris <rgm@gnu.org>
6580
6581 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6582 (image-animate-timeout): Doc fix.
6583
6584 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6585
12f381b7
GM
65862012-02-02 Glenn Morris <rgm@gnu.org>
6587
953cebf5
GM
6588 * server.el (server-auth-dir): Doc fix.
6589 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6590
12f381b7
GM
6591 * subr.el (run-mode-hooks): Doc fix.
6592
953a8c3b
JL
65932012-02-02 Juri Linkov <juri@jurta.org>
6594
6595 * image-mode.el (image-toggle-display-image): Remove tautological
6596 `major-mode' from the `derived-mode-p' test.
6597
c5d3843c
KH
65982012-02-02 Kenichi Handa <handa@m17n.org>
6599
9f6e692e 6600 * composite.el (compose-region): Cancel previous change.
c5d3843c 6601
159462d4 66022012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6603
6604 * composite.el (compose-region, compose-string): Signal error for
6605 a null string component (Bug#6988).
6606
9f562668
CY
66072012-02-01 Chong Yidong <cyd@gnu.org>
6608
e2cef717
CY
6609 * view.el (view-buffer-other-window, view-buffer-other-frame):
6610 Handle special modes like view-buffer (Bug#10650).
6611 (view-buffer): Simplify.
6612
9f562668
CY
6613 * frame.el (set-frame-font): Tweak meaning of third argument.
6614
9f6e692e
JB
6615 * dynamic-setting.el (font-setting-change-default-font):
6616 Use set-frame-font (Bug#9982).
9f562668 6617
781acb9f
GM
66182012-02-01 Glenn Morris <rgm@gnu.org>
6619
6035be52
GM
6620 * progmodes/compile.el (compilation-internal-error-properties):
6621 Respect compilation-first-column in the "*compilation*" buffer.
6622
781acb9f
GM
6623 * emacs-lisp/easy-mmode.el (define-minor-mode):
6624 Relax :variable's test for a named function.
6625
abbceb00
AM
66262012-01-31 Alan Mackenzie <acm@muc.de>
6627
6628 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6629 off by one error.
6630
fce3fdeb
CY
66312012-01-31 Chong Yidong <cyd@gnu.org>
6632
6633 * frame.el (set-frame-font): New arg ALL-FRAMES.
6634
6635 * menu-bar.el (menu-set-font): Use set-frame-font.
6636
6637 * faces.el (face-spec-reset-face): Don't apply unspecified
6638 attribute values to the default face.
6639
47893581
JB
66402012-01-31 Juanma Barranquero <lekktu@gmail.com>
6641
6642 * progmodes/cwarn.el (cwarn): Remove dead link.
6643 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6644 Remove * from defcustom docstrings.
6645 (turn-on-cwarn-mode): Make obsolete.
6646 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6647 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6648
e58e988a
GM
66492012-01-31 Glenn Morris <rgm@gnu.org>
6650
60dc2671 6651 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6652 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6653 Allow named functions to be used as the cdr of :variable.
e58e988a 6654
7a3f511d
GM
66552012-01-30 Glenn Morris <rgm@gnu.org>
6656
6657 * emacs-lisp/authors.el (authors-fixed-entries):
6658 Remove reference to deleted file rnewspost.el.
6659
cb882333
JB
66602012-01-29 Juanma Barranquero <lekktu@gmail.com>
6661
6662 * window.el (window-with-parameter): Remove unused variable `windows'.
6663 (window--side-check): Remove unused variable `code'.
6664 (window--resize-siblings): Remove unused variable `first'.
6665 (adjust-window-trailing-edge): Remove unused variable `failed'.
6666 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6667 Use `let', not `let*'.
6668 (balance-windows-2): Remove unused variable `found'.
6669 (window--state-put-2): Remove unused variable `splits'.
6670 (window-state-put): Remove unused variable `selected'.
6671 (same-window-p): Use `string-match-p'.
6672 (display-buffer-assq-regexp): Remove unused variable `value'.
6673 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6674 Mark argument ALIST as ignored.
6675 (pop-to-buffer): Remove unused variable `old-window'.
6676
907201af
EZ
66772012-01-29 Eli Zaretskii <eliz@gnu.org>
6678
6679 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6680 and .lzma compressed files.
6681
ea162670
CY
66822012-01-29 Chong Yidong <cyd@gnu.org>
6683
5b95ee8a
CY
6684 * frame.el (window-system-default-frame-alist): Doc fix.
6685
ea162670
CY
6686 * dynamic-setting.el (font-setting-change-default-font): Don't
6687 change the default face if SET-FONT argument is non-nil (Bug#9982).
6688
d6e6f4b1
SB
66892012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6690
6691 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6692
0f29fa41 66932012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6694
6695 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6696 breakpoints in files outside current directory (Bug#6098).
6697
db174434
CY
66982012-01-29 Chong Yidong <cyd@gnu.org>
6699
6b25e4e2
SE
6700 * progmodes/python.el: Require ansi-color at top-level.
6701
6df6ae42
JB
6702 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6703 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6704 (lisp-mode-abbrev-table): Add doc.
6705 (lisp-mode-variables): Don't set local-abbrev-table.
6706 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6707
e70ee681
RW
67082012-01-28 Roland Winkler <winkler@gnu.org>
6709
6710 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6711
ace88aa2
RW
67122012-01-28 Roland Winkler <winkler@gnu.org>
6713
6714 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6715 (bibtex-set-dialect): Use it. Either set global values of
6716 dialect-dependent variables or bind these variables buffer-locally
6717 (Bug#10254).
6718 (bibtex-mode): Call bibtex-set-dialect via
6719 hack-local-variables-hook.
eb864a71
LM
6720 (bibtex-dialect): Update docstring.
6721 Add safe-local-variable predicate.
ace88aa2
RW
6722 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6723 bibtex-set-dialect.
6724 (bibtex-mode-map): Define menu for each dialect.
6725 (bibtex-entry): Fix docstring.
6726
93376c5b
CY
67272012-01-28 Chong Yidong <cyd@gnu.org>
6728
6729 * eshell/esh-arg.el (eshell-quote-argument): New function.
6730
6731 * eshell/esh-ext.el (eshell-invoke-batch-file):
6732 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6733 first arg to eshell-parse-command (Bug#10523).
6734
4372494f
DA
67352012-01-28 Drew Adams <drew.adams@oracle.com>
6736
6737 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6738 `default-directory' is non-nil.
6739
4d4ec1f8
EZ
67402012-01-28 Eli Zaretskii <eliz@gnu.org>
6741
6742 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6743 line that displays system-configuration-options. (Bug#9924)
6744
7c188927
DA
67452012-01-28 Drew Adams <drew.adams@oracle.com>
6746
6747 * descr-text.el (describe-char): Show information about POS, in
6748 addition to information about the character at POS. Improve and
6749 update the doc string. Change "code point" to "code point in
6750 charset", to avoid confusion with the character's Unicode code
6751 point shown above that. (Bug#10129)
6752
e0da685a
EZ
67532012-01-28 Eli Zaretskii <eliz@gnu.org>
6754
6755 * descr-text.el (describe-char): Show the raw character, not only
6756 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6757 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6758 for the reasons.
6759
70550acf
PH
67602012-01-28 Phil Hagelberg <phil@hagelb.org>
6761
eb864a71
LM
6762 * emacs-lisp/package.el (package-install):
6763 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6764
0ce8e868
CY
67652012-01-28 Chong Yidong <cyd@gnu.org>
6766
cb882333
JB
6767 * emacs-lisp/package.el (package-maybe-load-descriptor):
6768 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6769 (package-maybe-load-descriptor): Use it.
6770 (package-download-transaction): Fully load required packages
6771 inside the loop, so that `require' calls work (Bug#10593).
6772 (package-install): No need to call package-initialize now.
6773
2e7f3bea
CY
67742012-01-28 Chong Yidong <cyd@gnu.org>
6775
6e9bad14
CY
6776 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6777
f823b8ca
CY
6778 * tooltip.el (tooltip-mode): Doc fix.
6779 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6780
2680c309
CY
6781 * frame.el (set-cursor-color): Doc fix (Bug#352).
6782
d7a9e63b
CY
6783 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6784 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6785
2e7f3bea
CY
6786 * cus-edit.el (custom-buffer-create-internal): Fix search button
6787 action (Bug#10542).
2ae01800 6788 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6789
fc4f7a23
EW
67902012-01-27 Eduard Wiebe <usenet@pusto.de>
6791
6792 * dired.el (dired-mark-files-regexp):
6793 Include any subdirectory components. (Bug#10445)
6794
7dd37071
ML
67952012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6796
6797 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6798 Handle [host]:port syntax. (Bug#10533)
6799
a268160b
AH
68002012-01-27 Alex Harsanyi <harsanyi@mac.com>
6801
6802 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6803
e43273ef
GM
68042012-01-26 Glenn Morris <rgm@gnu.org>
6805
6806 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6807 * term.el (term-raw-escape-map): Use Control-X-prefix.
6808 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6809
1edf595d
MR
68102012-01-25 Martin Rudalics <rudalics@gmx.at>
6811
6812 * window.el (window-state-get, window--state-get-1): Don't deal
6813 with fixed-sizeness of windows. Simplify code.
6814
fa8eafef
JC
68152012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6816
6df6ae42
JB
6817 * window.el (window--state-get-1, window--state-put-2):
6818 Don't save and restore the mark.
fa8eafef 6819
0b21c100
CY
68202012-01-25 Chong Yidong <cyd@gnu.org>
6821
6822 * custom.el (custom-variable-p): Doc fix.
6823
5ae1a6c8
GM
68242012-01-25 Glenn Morris <rgm@gnu.org>
6825
40047858
GM
6826 * dired.el (dired-goto-file): Handle some of the more common
6827 characters that `ls -b' escapes. (Bug#10596)
6828
5ddce96c
GM
6829 * progmodes/compile.el (compilation-next-error-function):
6830 Respect compilation-first-column in the "*compilation*" buffer.
6831 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6832
5ae1a6c8
GM
6833 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6834
b559f1a9
GM
68352012-01-24 Glenn Morris <rgm@gnu.org>
6836
6837 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6838
6725d21a
JD
68392012-01-24 Julien Danjou <julien@danjou.info>
6840
6841 * color.el (color-rgb-to-hsl): Fix value computing.
6842 (color-hue-to-rgb): New function.
6843 (color-hsl-to-rgb): New function.
6844 (color-clamp, color-saturate-hsl, color-saturate-name)
6845 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6846 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6847
70df4bbe
GM
68482012-01-24 Glenn Morris <rgm@gnu.org>
6849
6850 * vc/vc-rcs.el (vc-rcs-create-tag):
6851 * vc/vc-sccs.el (vc-sccs-create-tag):
6852 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6853
802a2ae2
ML
68542012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6855
6856 * eshell/esh-util.el (eshell-read-hosts-file):
6857 Skip comment lines. (Bug#10549)
6858
d7128bb1
ML
6859 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6860
d1a5c3b4
JB
68612012-01-23 Juanma Barranquero <lekktu@gmail.com>
6862
2724d9c7
JB
6863 * subr.el (display-delayed-warnings): Doc fix.
6864 (collapse-delayed-warnings): New function to collapse identical
6865 adjacent warnings.
6866 (delayed-warnings-hook): Add it.
d1a5c3b4 6867
a5509865
MA
68682012-01-22 Michael Albinus <michael.albinus@gmx.de>
6869
6870 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6871
a5509865
MA
6872 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6873 (tramp-default-user-alist): Don't add "pscp".
6874 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6875 property "login-as", if set. (Bug#10530)
6876
cc6d5805
MA
68772012-01-21 Michael Albinus <michael.albinus@gmx.de>
6878
6879 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6880 "plink1" and "psftp". (Bug#10530)
6881
68822012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6883
6884 * international/mule-cmds.el (prefer-coding-system): Show a
6885 warning message if the default value of file-name-coding-system
6886 was not changed.
6887
f0960428
JC
68882012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6889
cb882333
JB
6890 * windmove.el (windmove-reference-loc):
6891 Fix windmove-reference-loc miscalculation.
f0960428 6892
dd6f2a63
JB
68932012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6894
6895 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6896 default unit.
6897
7b447e9b
GM
68982012-01-21 Glenn Morris <rgm@gnu.org>
6899
117a9ea1
GM
6900 * international/mule.el (auto-coding-alist): Add .tbz.
6901
7b447e9b
GM
6902 * files.el (local-enable-local-variables): Doc fix.
6903 (inhibit-local-variables-regexps): Rename from
6904 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6905 Doc fix. Add some extensions from auto-coding-alist.
6906 (inhibit-local-variables-suffixes):
6907 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6908 (inhibit-local-variables-p):
6909 New function, extracted from set-auto-mode-1.
6910 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6911 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6912 (hack-local-variables): Doc fix. Make the mode-only case
6913 respect enable-local-variables and friends.
6914 Respect inhibit-local-variables-regexps for file-locals, but
6915 not for directory-locals.
6916 (set-visited-file-name):
6917 Take account of inhibit-local-variables-regexps.
6918 Whether it applies may change as the file name is changed.
6919 * jka-cmpr-hook.el (jka-compr-install):
6920 * jka-compr.el (jka-compr-uninstall):
6921 Update for inhibit-first-line-modes-suffixes name change.
6922
dd6e3cdd
MR
69232012-01-20 Martin Rudalics <rudalics@gmx.at>
6924
6925 * help-macro.el (make-help-screen): Temporarily restore original
6926 binding for minor-mode-map-alist (Bug#10454).
6927
0d0deb38
JD
69282012-01-19 Julien Danjou <julien@danjou.info>
6929
6930 * color.el (color-name-to-rgb): Use the white color to find the max
6931 color component value and return correctly computed values.
6932 (color-name-to-rgb): Add missing float conversion for max value.
6933
34a02f46
MR
69342012-01-19 Martin Rudalics <rudalics@gmx.at>
6935
6936 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6937 special state value for window-persistent-parameters.
6938 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6939 (window--state-put-2): Reset all window parameters to nil before
6940 assigning values of persistent parameters.
6941
606c44c4
AM
69422012-01-18 Alan Mackenzie <acm@muc.de>
6943
6944 Eliminate sluggishness and hangs in fontification of "semicolon
6945 deserts".
6946
cb882333
JB
6947 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6948 Change value 10000 -> 3000.
606c44c4
AM
6949 (c-state-safe-place): Reformulate so it doesn't stack up an
6950 infinite number of wrong entries in c-state-nonlit-pos-cache.
6951 (c-determine-limit-get-base, c-determine-limit): New functions to
6952 determine backward search limits disregarding literals.
6953 (c-find-decl-spots): Amend commenting.
6954 (c-cheap-inside-bracelist-p): New function which detects "={".
6955
6956 * progmodes/cc-fonts.el
6957 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6958 backward search.
6959 (c-font-lock-declarations): Fix an occurrence of point being
6960 undefined. Check additionally for point being in a bracelist or
6961 near a macro invocation without a semicolon so as to avoid a
6962 fruitless time consuming search for a declarator. Give a more
6963 precise search limit for declarators using the new
6964 c-determine-limit.
6965
f3860cea
GM
69662012-01-18 Glenn Morris <rgm@gnu.org>
6967
6968 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6969 (set-auto-mode): Doc fixes.
6970
1db03b16
GM
69712012-01-17 Glenn Morris <rgm@gnu.org>
6972
0e6038be
GM
6973 * isearch.el (search-nonincremental-instead): Fix doc typo.
6974
1db03b16
GM
6975 * dired.el (dired-insert-directory): Handle newlines in directory name.
6976 (dired-build-subdir-alist): Unescape newlines in directory name.
6977
4cb0aa75
MA
69782012-01-17 Michael Albinus <michael.albinus@gmx.de>
6979
6980 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6981 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6982 (tramp-action-terminal): Use it. (Bug#10530)
6983
1d00653d
SM
69842012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6986 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6987
6a6ee00d
MR
69882012-01-16 Martin Rudalics <rudalics@gmx.at>
6989
6990 * window.el (window-state-ignored-parameters): Remove variable.
6991 (window--state-get-1): Rename argument MARKERS to IGNORE.
6992 Handle persistent window parameters. Make copy of clone-of
6993 parameter only if requested. (Bug#10348)
6994 (window--state-put-2): Install a window parameter only if it has
6995 a non-nil value or an existing parameter shall be overwritten.
6996
97912def
MA
69972012-01-15 Michael Albinus <michael.albinus@gmx.de>
6998
6999 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7000
688070a5
EZ
70012012-01-14 Eli Zaretskii <eliz@gnu.org>
7002
7003 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7004 don't pass the (nil) value of `upnode' to string-match.
7005
301afadc
CY
70062012-01-14 Chong Yidong <cyd@gnu.org>
7007
7008 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7009 Fix values recognized by the cursorBlink resource.
301afadc 7010
9e5788aa
PE
70112012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7012
7013 * epg.el (epg--make-temp-file): Avoid permission race condition
7014 when running on old Emacs versions (bug#10403).
7015
3cdb7f5a
GM
70162012-01-14 Glenn Morris <rgm@gnu.org>
7017
7018 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7019
8c82b1b4
AM
70202012-01-13 Alan Mackenzie <acm@muc.de>
7021
7022 Fix filling for when filladapt mode is enabled.
7023
7024 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7025 c-mask-paragraph, pass in `fill-paragraph' rather than
7026 `fill-region-as-paragraph'. (This is a reversion of a previous
7027 change.)
eb864a71
LM
7028 * progmodes/cc-mode.el (c-basic-common-init):
7029 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7030
e517eda4
GM
70312012-01-13 Glenn Morris <rgm@gnu.org>
7032
1498536e
GM
7033 * dired.el (dired-switches-escape-p): New function.
7034 (dired-insert-directory): Use dired-switches-escape-p.
7035 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7036
e517eda4
GM
7037 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7038
328f984d
GM
70392012-01-12 Glenn Morris <rgm@gnu.org>
7040
7041 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7042 changes in adaptive-fill-regexp. (Bug#10276)
7043
2cc769a8
AM
70442012-01-11 Alan Mackenzie <acm@muc.de>
7045
7046 Fix Emacs bug #10463 - put `widen's around the critical spots.
7047
1d00653d 7048 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7049 widen around each invocation of c-state-pp-to-literal. Remove an
7050 unused let variable.
7051
e52c37fa
GM
70522012-01-11 Glenn Morris <rgm@gnu.org>
7053
7054 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7055 Doc fix.
e52c37fa 7056
96f8741e
CY
70572012-01-10 Chong Yidong <cyd@gnu.org>
7058
1d00653d
SM
7059 * net/network-stream.el (network-stream-open-starttls):
7060 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7061 response to the capability command.
7062
b09a806e
GM
70632012-01-10 Glenn Morris <rgm@gnu.org>
7064
7065 * mail/unrmail.el (unrmail): Tweak previous change.
7066
7655cb66
CY
70672012-01-09 Chong Yidong <cyd@gnu.org>
7068
7069 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7070
9d5a8f0b
AM
70712012-01-08 Alan Mackenzie <acm@muc.de>
7072
7073 Optimise font locking in long enum definitions.
7074
7075 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7076 arm to a cond form to handle enums.
7077 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7078 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7079
9a0115ab 70802012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7081
7082 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7083 (Bug#10401)
6bb72cbd 7084
f186bb95
LMI
70852012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7086
29232a68
LMI
7087 * faces.el (set-face-attribute): Clarify the meaning of the nil
7088 frame (bug#10294).
7089
4e5d086d
LMI
7090 * subr.el (with-selected-frame): Mention that the selected frame
7091 is restored (bug#9980).
7092
8e66aebe
LMI
7093 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7094 (bug#9759).
7095
cd394be1 7096 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7097 (password-read): Don't autoload unused function.
7098
adf4e762
JB
70992012-01-07 Juanma Barranquero <lekktu@gmail.com>
7100
7101 * progmodes/which-func.el (which-func-mode): Turn into a
7102 non-interactive function and mark as obsolete (bug#10428).
7103
89bd9ccd
CY
71042012-01-06 Chong Yidong <cyd@gnu.org>
7105
7106 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7107 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7108 functions, along with 1 and -1.
7109
4afee9d5
EZ
71102012-01-06 Eli Zaretskii <eliz@gnu.org>
7111
7112 * time.el (display-time-load-average)
7113 (display-time-default-load-average): Doc fixes. See the thread
7114 starting at
7115 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7116 for the details.
7117
536aea70
GM
71182012-01-06 Glenn Morris <rgm@gnu.org>
7119
665ae865
GM
7120 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7121 has no messages. (Bug#10377)
7122
c869783d
GM
7123 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7124 than Info-edit. (Bug#10385)
7125
2bb4227e
GM
7126 * time.el (display-time-load-average, display-time-next-load-average):
7127 Doc fixes.
7128
7d5944b9
GM
7129 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7130 local setting of buffer-read-only to the input buffer. (Bug#10419)
7131
536aea70
GM
7132 * calendar/calendar.el (calendar-mode):
7133 Locally set scroll-margin to 0. (Bug#10379)
7134
7dccca16
UM
71352012-01-06 Ulrich Mueller <ulm@gentoo.org>
7136
7137 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7138
afbb7930
GM
71392012-01-05 Glenn Morris <rgm@gnu.org>
7140
7141 * eshell/em-unix.el (diff-no-select): Autoload it.
7142 (eshell/diff): Use diff-no-select. (Bug#10420)
7143
04482335
CY
71442012-01-05 Chong Yidong <cyd@gnu.org>
7145
7baca3bc
CY
7146 * shell.el (shell-dynamic-complete-functions): Revert last change.
7147 (shell-command-completion-function): New function.
7148 (shell-completion-vars): Use it to implement
7149 shell-completion-execonly (Bug#10417).
7150
04482335
CY
7151 * custom.el (enable-theme): Don't set custom-safe-themes.
7152
1d00653d
SM
7153 * cus-theme.el (custom-theme-merge-theme):
7154 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7155
bb5aa5d6
MM
71562012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7157
7158 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7159 first prompt in `sql-interacive-mode'.
7160 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7161 keywords.
6df6ae42 7162 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7163 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7164 context of original buffer. Invoke `sql-login-hook'.
7165
a7183d7c
EZ
71662012-01-04 Eli Zaretskii <eliz@gnu.org>
7167
7168 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7169 letters in cite-prefix.
7170
a1eacd1e
LMI
71712012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7172
7173 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7174
787cdb34
CY
71752012-01-03 Chong Yidong <cyd@gnu.org>
7176
1d00653d
SM
7177 * shell.el (shell-dynamic-complete-functions):
7178 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7179 comint-filename-completion first (Bug#10417).
7180
30710442
RS
71812012-01-02 Richard Stallman <rms@gnu.org>
7182
7183 * battery.el (battery-status-function):
7184 Detect when to use battery-yeeloong-sysfs.
7185 (battery-echo-area-format): Add string for Yeeloong.
7186 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7187 (battery-yeeloong-sysfs): New function.
7188
f75bfc33
CY
71892012-01-02 Chong Yidong <cyd@gnu.org>
7190
7191 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7192 (dirtrack): Merge code for handling relative filenames in prompt
7193 from shell-dir-cookie-watcher.
7194 (dirtrack-debug-message): New arg to avoid excess format calls.
7195
7196 * shell.el (shell-dir-cookie-re): Variable deleted.
7197 (shell-dir-cookie-watcher): Function deleted.
7198 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7199 with dirtrack-mode.
7200
651e947e
EZ
72012012-01-01 Eli Zaretskii <eliz@gnu.org>
7202
1d00653d
SM
7203 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7204 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7205 libgnutls-26.dll.
7206
94d4c7dc
AS
72072011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7208
7209 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7210
8d43f3cd
EZ
72112011-12-31 Eli Zaretskii <eliz@gnu.org>
7212
7213 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7214 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7215
98c8795a
MA
72162011-12-29 Michael Albinus <michael.albinus@gmx.de>
7217
7218 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7219 also for alternative shells.
7220 (tramp-open-connection-setup-interactive-shell): Check, whether
7221 the shell is a busybox.
7222 (tramp-send-command): Don't suppress multiple prompts for
7223 busyboxes, it hurts.
7224
51281b32
CY
72252011-12-28 Chong Yidong <cyd@gnu.org>
7226
7227 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7228 (gdb-get-source-file): Move mode line update to
7229 gdb-get-source-file (Bug#10087).
7230
2170cb53
CY
72312011-12-25 Chong Yidong <cyd@gnu.org>
7232
7233 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7234 gud-gdb-marker-filter without taking it as an argument.
7235 (gud-gdb-run-command-fetch-lines): Caller changed.
7236 (gud-gdb-completion-function): New variable.
7237 (gud-gdb-completion-at-point): Use it.
7238 (gud-gdb-completions-1): Split from gud-gdb-completions.
7239
7240 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7241 function as separate arguments.
7242 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7243 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7244 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7245 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7246 (gdb-stopped, def-gdb-auto-update-trigger)
7247 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7248 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7249 Callers changed.
2170cb53
CY
7250 (gud-gdbmi-completions): New function.
7251 (gdb): Use it for generating the completion table.
7252
be8b11bb
AM
72532011-12-24 Alan Mackenzie <acm@muc.de>
7254
7255 Introduce a mechanism to widen the region used in context font
1d00653d 7256 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7257
1d00653d
SM
7258 * progmodes/cc-langs.el (c-before-font-lock-functions):
7259 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7260 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7261 functions to be run just before context (etc.) font locking.
7262
7263 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7264 New, functionality extracted from
be8b11bb 7265 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7266 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7267 (c-after-change): Set c-in-after-change-fontification.
7268 (c-set-fl-decl-start): Rejig its interface, so it can be called
7269 from both after-change and context fontifying.
b81d40f0
JB
7270 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7271 New functions.
7272 (c-standard-font-lock-fontify-region-function): New variable.
7273 (c-font-lock-fontify-region): New function.
be8b11bb 7274
341cf6ac
JL
72752011-12-24 Juri Linkov <juri@jurta.org>
7276
7277 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7278 (Bug#10348)
7279
bffcee0a
MA
72802011-12-23 Michael Albinus <michael.albinus@gmx.de>
7281
7282 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7283 existence of source file. (Bug#10325)
7284
cb5e207c
AM
72852011-12-23 Alan Mackenzie <acm@muc.de>
7286
7287 Fix unstable fontification inside templates.
7288
b81d40f0
JB
7289 * progmodes/cc-langs.el (c-before-font-lock-functions):
7290 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7291 additionally has c-set-fl-decl-start. The other languages (apart
7292 from AWK) have that as a single entry.
7293
b81d40f0
JB
7294 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7295 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7296 c-set-fl-decl-start.
7297
b81d40f0
JB
7298 * progmodes/cc-mode.el (c-common-init, c-after-change):
7299 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7300 (c-set-fl-decl-start): New function, extracted from
7301 c-font-lock-enclosing-decls and enhanced.
7302
60ff536c
JB
73032011-12-23 Juanma Barranquero <lekktu@gmail.com>
7304
7305 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7306
1c4757d6
JL
73072011-12-22 Juri Linkov <juri@jurta.org>
7308
7309 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7310
d031f2c7
CY
73112011-12-22 Chong Yidong <cyd@gnu.org>
7312
7313 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7314
bace743a
DA
73152011-12-21 Drew Adams <drew.adams@oracle.com>
7316
7317 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7318
728a1f2b
JC
73192011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7320
7321 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7322
0d373f73
TZ
73232011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7324
fec0aaa4
TZ
7325 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7326 highlighting and support. Fix up comments for capitalization.
7327 (cfengine-mode-debug): New var.
7328 (cfengine3-mode): Change the modeline indicator to "CFE3".
7329 (cfengine3-font-lock-keywords): Improve defun highlighting.
7330 (cfengine2-actions): Rename from `cfengine-actions'.
7331 (cfengine2-font-lock-keywords): Rename from
7332 `cfengine-font-lock-keywords'.
7333 (cfengine2-imenu-expression): Rename from
7334 `cfengine-imenu-expression'.
7335 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7336 (cfengine2-beginning-of-defun): Rename from
7337 `cfengine-beginning-of-defun'.
7338 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7339 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7340 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7341 modeline indicator to "CFE2".
7342 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7343 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7344
bc86f573
CY
73452011-12-21 Chong Yidong <cyd@gnu.org>
7346
7347 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7348 filename argument.
7349
d45ba96b
MR
73502011-12-20 Martin Rudalics <rudalics@gmx.at>
7351
7352 * window.el (window-normalize-buffer-to-display): Remove.
7353 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7354
a6198c90
CY
73552011-12-19 Chong Yidong <cyd@gnu.org>
7356
7357 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7358 Don't signal an error in a predicate function; return non-nil.
7359 (vc-dir-mark-file): Move the error here.
7360 (vc-dir-mark-unmark): If acting on the region, keep going if one
7361 of the entries cannot be marked/unmarked.
7362 (vc-dir-mark-all-files): If current entry is a directory, mark
7363 only child files, as documented.
7364
34c5fb55
VB
73652011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7366
7367 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7368 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7369 addition.
7370
c803b2b7
JD
73712011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7372
7373 * term/ns-win.el (ns-get-selection-internal)
7374 (ns-store-selection-internal): Declare.
1154d12e
JB
7375 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7376 Declare as obsolete.
7377 (ns-get-pasteboard, ns-paste-secondary):
7378 Use ns-get-selection-internal.
7379 (ns-set-pasteboard, ns-copy-including-secondary):
7380 Use ns-store-selection-internal.
c803b2b7 7381
9cff91f8 73822011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7383
7384 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7385 (vc-deduce-fileset): Doc fix.
99a289d9 7386
f16c898a
AS
73872011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7388
7389 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7390
763237c4
SS
73912011-12-13 Sam Steingold <sds@gnu.org>
7392
7393 * man.el (Man-getpage-in-background): When running under a
7394 window-system, ignore $MANWIDTH and $COLUMNS.
7395
5fc1c122
KH
73962011-12-15 Kenichi Handa <handa@m17n.org>
7397
7398 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7399 (setup-ethiopic-environment-internal): Comment out key-binding for
7400 ethio-toggle-punctuation.
7401
13d49cbb
AM
74022011-12-13 Alan Mackenzie <acm@muc.de>
7403
898169a2
AM
7404 Add the switch statement to AWK Mode.
7405
7a71b18d 7406 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7407 "default" to the keywords regexp.
7408
7a71b18d 7409 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7410 expression as the rest.
1d00653d
SM
7411 (c-nonlabel-token-key): Allow string literals for AWK.
7412 Refactor for the other modes.
898169a2 7413
13d49cbb 7414 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7415 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7416 routines. Limit backward searching in c-font-lock-enclosing.decl.
7417
7418 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7419 pp-state and literal type in addition to the limits.
1d00653d 7420 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7421 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7422 (c-slow-in-literal, c-fast-in-literal): Remove.
7423 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7424
7425 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7426 being in a literal. Add a limit for backward searching.
7427
7428 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7429 c-slow-in-literal.
7430
15e0efc7
SM
74312011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7432
7433 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7434
454592a6
MR
74352011-12-13 Martin Rudalics <rudalics@gmx.at>
7436
7437 * window.el (delete-other-windows): Use correct frame in call to
7438 window-with-parameter.
7439
87393f26
DP
74402011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7441
7442 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7443 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7444 (makefile-gmake-statements, makefile-makepp-statements):
7445 Use it and add new makepp keywords.
7446 (makefile-makepp-font-lock-keywords): Add new patterns.
7447 (makefile-match-function-end): Match new [...] and [[...]].
7448
11636b22
JB
74492011-12-11 Juanma Barranquero <lekktu@gmail.com>
7450
7451 * ses.el (ses-call-printer-return, ses-cell-property-get)
7452 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7453 (ses-create-cell-variable, ses-reset-header-string)
7454 (ses-cell-set-formula, ses-repair-cell-reference-all)
7455 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7456 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7457 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7458 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7459 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7460 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7461 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7462 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7463 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7464 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7465 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7466 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7467
cf018193
VB
74682011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7469
7470 * ses.el: The overall change is to add cell renaming, that is
7471 setting fancy names for cell symbols other than name matching
7472 "\\`[A-Z]+[0-9]+\\'" regexp .
7473 (ses-create-cell-variable): New defun.
7474 (ses-relocate-formula): Relocate formulas only for cells the
7475 symbols of which are not renamed, i.e. symbols whose names do not
7476 match regexp "\\`[A-Z]+[0-9]+\\'".
7477 (ses-relocate-all): Relocate values only for cells the symbols of
7478 which are not renamed.
7479 (ses-load): Create cells variables as the (ses-cell ...) are read,
7480 in order to check row col consistency with cell symbol name only
7481 for cells that are not renamed.
7482 (ses-replace-name-in-formula): New defun.
7483 (ses-rename-cell): New defun.
7484
ee957461
CY
74852011-12-11 Chong Yidong <cyd@gnu.org>
7486
7487 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7488 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7489
9a9e9ef0
MR
74902011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7491
7492 * window.el (other-window): Fix docstring.
7493
92a8eba5
EZ
74942011-12-10 Eli Zaretskii <eliz@gnu.org>
7495
7496 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7497 `from' or `to' address before taking its substring.
7498 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7499 encoded name is chopped in the middle of the encoded string, and
7500 thus displayed encoded.
7501
e152e577
JB
75022011-12-10 Juanma Barranquero <lekktu@gmail.com>
7503
7504 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7505
e5d84bfe
EZ
75062011-12-10 Eli Zaretskii <eliz@gnu.org>
7507
7508 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7509 to use texinfo-update-node and commands that call it if the
7510 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7511 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7512 (texinfo-all-menus-update, texinfo-master-menu)
7513 (texinfo-update-node, texinfo-every-node-update)
7514 (texinfo-multiple-files-update): Doc fix. Warn against updating
7515 all the @node lines.
7516 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7517 argument is numeric. Explain better in the doc string what the
7518 function really does.
7519 (texinfo-insert-master-menu-list): Improve the error message
7520 displayed if there's no menu in the Top node.
7521 (Bug#2975) See also this thread:
e5d84bfe
EZ
7522 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7523
1d84e9bb
MG
75242011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7525
7526 * speedbar.el (speedbar-supported-extension-expressions):
7527 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7528
382c953b
JB
75292011-12-09 Juanma Barranquero <lekktu@gmail.com>
7530
7531 * printing.el (pr-mode-alist):
7532 * simple.el (filter-buffer-substring-functions)
7533 (completion-list-insert-choice-function):
7534 * window.el (window-with-parameter, window-atom-root)
7535 (window-sides-slots, window-size-fixed, window-min-delta)
7536 (window-max-delta, window--resize-mini-window)
7537 (window--resize-child-windows-normal, window-tree)
7538 (delete-other-windows, quit-window, split-window)
7539 (display-buffer-record-window, special-display-buffer-names)
7540 (special-display-regexps, special-display-popup-frame)
7541 (same-window-p, split-window-sensibly)
7542 (display-buffer-overriding-action, display-buffer-alist)
7543 (display-buffer-base-action, display-buffer, switch-to-buffer)
7544 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7545 (fit-window-to-buffer, recenter-positions)
7546 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7547 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7548 and remove unneeded backslashes in docstrings.
7549
39c9faef
SM
75502011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7551
98449af8
SM
7552 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7553
39c9faef
SM
7554 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7555 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7556 end in ".mk".
7557 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7558 when reading the makefile (bug#10116).
7559
86ed9fdc
SM
75602011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7563 (bug#10116).
7564
5580f89d
GM
75652011-12-06 Glenn Morris <rgm@gnu.org>
7566
7567 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7568
28d3917c
CY
75692011-12-06 Chong Yidong <cyd@gnu.org>
7570
7571 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7572
a98edce9
JB
75732011-12-06 Juanma Barranquero <lekktu@gmail.com>
7574
7575 * textmodes/table.el (table-shorten-cell): Fix typo.
7576
e65adfac
CG
75772011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7578
7579 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7580
71cc0b74
EZ
75812011-12-05 Eli Zaretskii <eliz@gnu.org>
7582
7583 * descr-text.el (describe-char): Fix display of strong
7584 right-to-left characters and directional embeddings and overrides.
7585
7586 * simple.el (what-cursor-position): Fix display of codepoints of
7587 strong right-to-left characters.
7588
315bc30d
CY
75892011-12-05 Chong Yidong <cyd@gnu.org>
7590
7591 * faces.el (read-color): Doc fix.
7592
58a70b94
GM
75932011-12-05 Glenn Morris <rgm@gnu.org>
7594
7595 * align.el (align--set-marker): Add doc-string.
7596 Don't try to move something that is not a marker. (Bug#10216)
7597
5158face
GM
75982011-12-04 Glenn Morris <rgm@gnu.org>
7599
7600 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7601 overly zealous deletion of trailing whitespace.
7602
520fca41
JB
76032011-12-04 Juanma Barranquero <lekktu@gmail.com>
7604
7605 * server.el (server-delete-client): On Windows, do not try to delete
7606 the only terminal.
7607 (server-process-filter): On Windows, treat requests for a tty frame as
7608 if they were for a GUI frame if the running server is in GUI mode.
7609
5e605a2e
GM
76102011-12-03 Glenn Morris <rgm@gnu.org>
7611
7612 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7613
5c3fe83f
SM
76142011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7615
6f5e57e7
SM
7616 * electric.el: Streamline electric-indent's hook.
7617 (electric-indent-chars): Revert to simple list.
7618 (electric-indent-functions): New var.
7619 (electric-indent-post-self-insert-function): Use it.
7620
5c3fe83f
SM
7621 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7622 there's no inferior buffer (bug#10196).
7623 (prolog-consult-compile): Don't use toggle-read-only.
7624
6bdac736
MA
76252011-12-02 Michael Albinus <michael.albinus@gmx.de>
7626
7627 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7628 interrupt. (Bug#10187)
7629
6131ba7f
SM
76302011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7631
99c79fee
SM
7632 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7633 (bug#9160).
7634
6131ba7f
SM
7635 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7636 (bug#10191).
7637
cb0a02ea
JL
76382011-12-02 Juri Linkov <juri@jurta.org>
7639
7640 * info.el (Info-search): Display "end of manual" when Isearch
7641 reaches the end of single-file Info manual. (Bug#9918)
7642
66e0570c
EZ
76432011-12-02 Eli Zaretskii <eliz@gnu.org>
7644
7645 * isearch.el (isearch-message-prefix): Run the input method part
7646 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7647
02b16839
JL
76482011-12-02 Juri Linkov <juri@jurta.org>
7649
7650 * isearch.el (isearch-occur): Use `word-search-regexp' for
7651 `isearch-word'.
7652 (isearch-search-and-update): Add condition for `isearch-word' and
7653 call `word-search-regexp'. (Bug#10145)
7654
0b950688
GM
76552011-12-01 Glenn Morris <rgm@gnu.org>
7656
7657 * eshell/em-hist.el (eshell-hist-initialize):
7658 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7659 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7660
9505c3c7
SM
76612011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7662
7663 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7664
1bbe96b2 76652011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7666
a1beca85
SM
7667 * progmodes/verilog-mode.el (verilog-pretty-expr):
7668 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7669 verilog, such as += *= and the like.
7670 (verilog-assignment-operator-re): Regular expression to find the
7671 assigment operator in a verilog assignment.
7672 (verilog-assignment-operation-re): Regular expression to find an
7673 assignment statement for pretty-expr.
7674 (verilog-in-attribute-p): Query returns true if point is in an
7675 attribute context; used to skip these for expression line up from
7676 pretty-expr.
7677 (verilog-in-parameter-p): Query returns true if point is in an
7678 parameter definition context; used to skip these for expression
7679 line up from pretty-expr.
7680 (verilog-in-parenthesis-p): Query returns true if point is in a
7681 parenthetical expression, specifically ( ) but not [ ] or { };
7682 used by pretty-expr.
7683 (verilog-just-one-space): If there is no space, don't add one.
7684 (verilog-get-lineup-indent-2): Specifically skip just attribute
7685 contexts for expression lineup, rather than skipping all
7686 parenthetical expressions.
7687 (verilog-calculate-indent): Fix comment, and fix indent.
7688 (verilog-do-indent): Indent declarations in lists (suggested by
7689 Joachim Lechner).
7690 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7691 skeleton items.
7692 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7693 by Alain Mellan).
7694
1bbe96b2 76952011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7696
7697 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7698 parameters with embedded comments. Reported by Ray Stevens.
7699 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7700 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7701 Reported by Tim Holt.
7702 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7703 instantiated by upper module causing wrong expansion until AUTOed a
7704 second time. Reported by K C Buckenmaier.
7705 (verilog-diff-auto): Fix showing .* as a difference when
7706 `verilog-auto-star-save' off. Reported by Dan Dever.
7707 (verilog-auto-reset, verilog-read-always-signals)
7708 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7709 temporary signals in reset list if
7710 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7711 style to each signal's assignment type, bug381.
7712 Reported by Thomas Esposito.
6288f0ca
WS
7713 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7714 (verilog-uvm-statement-re): Support UVM indentation and
7715 highlighting, with old OVM keywords only.
a1beca85 7716 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7717 Support AUTOTIEOFF creating non-wire data types.
7718 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7719 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7720 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7721 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7722 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7723 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7724 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7725 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7726 non-numeric vector width. Reported by Alex Reed.
7727 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7728 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7729 (verilog-auto-delete-trailing-whitespace):
7730 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7731 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7732 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7733 Fix verilog-scan-cache corruption when running user AUTO expansion
7734 hooks that call indentation routines.
7735 (verilog-simplify-range-expression): Fix typo ignoring lower case
7736 identifiers.
7737 (verilog-delete-auto): Fix delete-autos to also remove user created
7738 automatics, as long as they start with AUTO.
7739 (verilog-batch-diff-auto, verilog-diff-auto)
7740 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7741 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7742 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7743 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7744 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7745 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7746 is disabled and its cache will get corrupt, causing AUTOS not to
7747 expand. Instead use only -quick functions.
7748 (verilog-scan-region): Fix scanning over escaped quotes.
7749 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7750 (verilog-re-search-backward-quick)
7751 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7752 related functions now ignore strings, to fix misparsing of strings
7753 with magic comments embedded in them.
a1beca85
SM
7754 (verilog-read-auto-template):
7755 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7756 Reported by Brad Dobbie.
7757 (verilog-read-auto-template):
7758 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7759 Reported by Brad Dobbie.
6288f0ca
WS
7760 (verilog-auto-inst, verilog-auto-inst-param)
7761 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7762 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7763 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7764 debugging templates without merge conflicts, bug357.
7765 Reported by Brad Dobbie.
7766 (verilog-read-auto-template):
7767 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7768 Reported by Brad Dobbie.
7769 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7770 abbrevs so user won't be asked to save.
7771 (verilog-read-auto-lisp-present): Fix to start at beginning of
7772 buffer in case called outside of verilog-auto.
7773 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7774 to "X-2". Reported by Matthew Myers.
7775 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7776 all inputs from module templates. Reported by Leith Johnson.
7777 (verilog-module-inside-filename-p): Fix locating programs as with
7778 modules.
7779 (verilog-auto-inst-port): Fix vl-width expressions when using
7780 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7781 (verilog-decls-get-regs, verilog-decls-get-signals,
7782 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7783 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7784 verilog-read-decls): Combine reg and wire structures into one var
7785 structure to represent SystemVerilog concepts.
7786 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7787 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7788 (verilog-auto-wire-type, verilog-insert-definition):
7789 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7790 SystemVerilog "logic" keyword instead of "wire"/"reg".
7791 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7792 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7793 ifdef or generate if so there's not a driver conflict).
7794 Reported by Matthew Myers.
7795 (verilog-auto-declare-nettype, verilog-insert-definition):
7796 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7797 `default_nettype none. Reported by Julian Gorfajn.
7798 (verilog-read-always-signals-recurse, verilog-read-decls)
7799 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7800 malformed end statement, bug325. Reported by Joshua Wise and
7801 Andrew Drake.
7802 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7803 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7804 when expanding .* in interfaces, bug320.
7805 Reported by Pierre-David Pfister.
6288f0ca 7806 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7807 name and open parenthesis, bug317.
7808 Reported by Pierre-David Pfister.
6288f0ca
WS
7809 (verilog-simplify-range-expression): Fix simplification of
7810 multiplications inside AUTOWIRE connections, bug303.
7811 (verilog-auto-inst-port): Support parameter expansion in
7812 multidimensional arrays.
7813 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7814 after "assert property". Reported by Julian Gorfajn.
7815 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7816 with multiplication, bug303.
7817 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7818 Reported by Jan Frode Lonnum.
7819
1bbe96b2
GM
78202011-11-30 Juanma Barranquero <lekktu@gmail.com>
7821
7822 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7823 (hfy-shell-file-name, hfy-shell):
7824 * international/fontset.el (x-decompose-font-name): Fix typos.
7825
78262011-11-29 Ken Brown <kbrown@cornell.edu>
7827
7828 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7829 (gdb-version): Remove defvar.
7830 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7831 (gdb-gud-context-command, gdb-non-stop-handler)
7832 (gdb-current-context-command, gdb-stopped): Use it.
7833 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7834 (gdb-non-stop-handler): Don't enable pretty-printing here.
7835 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7836 non-stop mode. Use the following.
7837 (gdb-check-target-async): New defun.
7838 (gud-watch, gdb-stopped): Fix whitespace.
7839 (gdb-get-source-file): Don't try to display the source file if
7840 `gdb-main-file' is nil.
7841
78422011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * align.el: Try to generate fewer markers (bug#10047).
7845 (align--set-marker): New macro.
7846 (align-region): Use it.
7847
c935221f
SM
78482011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7849
7850 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7851
e70b5064
CY
78522011-11-29 Chong Yidong <cyd@gnu.org>
7853
7854 * indent.el (indent-for-tab-command, indent-according-to-mode):
7855 Doc fix.
7856 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7857
f3af92b7
MA
78582011-11-29 Michael Albinus <michael.albinus@gmx.de>
7859
7860 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7861 aware of remote file names. (Bug#10124)
7862
ed472be9
CY
78632011-11-29 Chong Yidong <cyd@gnu.org>
7864
7865 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7866
24510c22
SM
78672011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * files.el (find-file): Don't use force-same-window (bug#10144).
7870 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7871 use pop-to-buffer if the selected window can't be used.
7872 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7873
c60c3703
EZ
78742011-11-28 Eli Zaretskii <eliz@gnu.org>
7875
7876 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7877 special-mode-map.
7878
e95def75
CY
78792011-11-28 Chong Yidong <cyd@gnu.org>
7880
7881 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7882
c3f1c606
NR
78832011-11-27 Nick Roberts <nickrob@snap.net.nz>
7884
7885 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7886 gdb-get-source-file-list on gdb-create-source-file-list.
7887
00db469c
EZ
78882011-11-26 Eli Zaretskii <eliz@gnu.org>
7889
7890 * whitespace.el (whitespace-newline): Use a different foreground
7891 color for 16-color light-background displays.
7892
4ad3bc2a
CY
78932011-11-24 Chong Yidong <cyd@gnu.org>
7894
7895 * window.el (display-buffer--special-action): Doc fix.
7896
e9fce1ac
JB
78972011-11-25 Juanma Barranquero <lekktu@gmail.com>
7898
7899 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7900 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7901 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7902 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7903 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7904 (avl-tree-stack-first):
7905 * emacs-lisp/cconv.el (cconv--analyse-use):
7906 * net/gnutls.el (gnutls-negotiate): Fix typos.
7907
cb825e5d
GM
79082011-11-24 Glenn Morris <rgm@gnu.org>
7909
3adbe224
GM
7910 * lpr.el (lpr-windows-system, lpr-lp-system):
7911 * mail/binhex.el (binhex-begin-line):
7912 * progmodes/grep.el (grep-history, grep-find-history):
7913 * textmodes/flyspell.el:
7914 * vc/pcvs-defs.el (cvs-global-menu):
7915 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7916 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7917 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7918
321decc8
GM
7919 * net/tls.el: Fix case of "GnuTLS".
7920
420b63ad
GM
7921 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7922
cb825e5d
GM
7923 * version.el (emacs-build-system): Give it a doc-string.
7924
a0649f08
JL
79252011-11-24 Juri Linkov <juri@jurta.org>
7926
7927 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7928
c0bc0fd4
GM
79292011-11-24 Glenn Morris <rgm@gnu.org>
7930
7931 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7932 if called on a non-mime message just toggle the headers. (Bug#8006)
7933
20db1522
JB
79342011-11-24 Juanma Barranquero <lekktu@gmail.com>
7935
7936 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7937 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7938 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7939 (allout-rebullet-heading, allout-open-sibtopic)
7940 (allout-toggle-current-subtree-encryption)
7941 (allout-toggle-subtree-encryption, allout-encrypt-string)
7942 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7943 (allout-distinctive-bullets-string, allout-auto-activation):
7944 * window.el (window-normalize-buffer-to-display):
7945 * progmodes/verilog-mode.el (verilog-batch-indent):
7946 * textmodes/bibtex.el (bibtex-field-braces-opt)
7947 (bibtex-field-strings-opt):
7948 * vc/cvs-status.el (cvs-tree-merge):
7949 Fix typos.
7950
7262a87c
MA
79512011-11-23 Michael Albinus <michael.albinus@gmx.de>
7952
7953 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7954 `non-essential' to t, in order to avoid remote connections.
7955
283430a1
EZ
79562011-11-23 Eli Zaretskii <eliz@gnu.org>
7957
a1beca85
SM
7958 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7959 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7960 case-insensitively.
7961
d2992a38
ML
79622011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7963
7964 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7965
50419064
GM
79662011-11-23 Glenn Morris <rgm@gnu.org>
7967
da94eca1
GM
7968 * paths.el (rmail-file-name): Reformat the doc-string so that it
7969 is picked up.
7970
9aac4de2
GM
7971 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7972 (rmail-auto-file): Ignore case in the "special" field names,
7973 as mail-fetch-field does for all others.
7974
8038d2d2
GM
7975 * mail/rmail.el (rmail-forward):
7976 * mail/rmailkwd.el (rmail-set-label):
7977 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7978 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7979
f3fe222a
GM
7980 * mail/rmail.el (rmail-current-message): Doc fix.
7981
50419064
GM
7982 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7983
28109f49
SM
79842011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7985
7986 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7987
394c65f1
GM
79882011-11-22 Glenn Morris <rgm@gnu.org>
7989
7990 * mail/rmailmm.el (test-rmail-mime-handler)
7991 (test-rmail-mime-bulk-handler)
7992 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7993
f2a0aa3a
JL
79942011-11-21 Juri Linkov <juri@jurta.org>
7995
1154d12e
JB
7996 * calc/calc.el (calc-read-key-sequence):
7997 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7998
9c34a344
LMI
79992011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8000
8001 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8002 Tell the caller that the next line needs recomputation, even
8003 though it doesn't start a sexp (bug#10094).
8004
f04a3be9
SM
80052011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8006
8007 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8008
7978747f
SM
80092011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8010
f04a3be9
SM
8011 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8012 Use force-same-window.
7978747f 8013
fe7a3057
JB
80142011-11-20 Juanma Barranquero <lekktu@gmail.com>
8015
8016 * descr-text.el (describe-char-unicode-data):
8017 * json.el (json-string-escape):
8018 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8019 (Footnote-unicode, Footnote-style-p):
8020 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8021
24901d61
CY
80222011-11-20 Chong Yidong <cyd@gnu.org>
8023
8024 * window.el (replace-buffer-in-windows): Restore interactive spec.
8025
bac7ff22
SM
80262011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8027
24f3d7b9
SM
8028 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8029
bac7ff22
SM
8030 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8031 (byte-compile-global-not-obsolete-vars): New var.
8032 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8033 Use it.
8034 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8035
cd1181db
JB
80362011-11-20 Juanma Barranquero <lekktu@gmail.com>
8037
8038 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8039 * progmodes/pascal.el (electric-pascal-equal):
8040 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8041 * xml.el (xml-substitute-special): Fix typos.
8042
7fb18e9e
GM
80432011-11-20 Glenn Morris <rgm@gnu.org>
8044
8045 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8046 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8047 Doc fixes.
8048 (rmail-decode-mime-charset): Mark as obsolete.
8049
8050 * mail/rmailsum.el (rmail-message-regexp-p-1):
8051 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8052 Before using mime functions, check they are set. (Bug#10077)
8053
d5a6b3ba
JL
80542011-11-19 Juri Linkov <juri@jurta.org>
8055
8056 * info.el (Info-finder-find-node): Use `package--builtins' instead
8057 of `package-alist'. Use node names formed by the pattern "Keyword "
8058 and the keyword name.
8059
e981b61f
AS
80602011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8061
1d00653d 8062 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8063
3ffbc301
JL
80642011-11-19 Juri Linkov <juri@jurta.org>
8065
8066 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8067 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8068 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8069 `old-history', `old-history-forward'. Add let-binding
8070 `window-selected'. Remove calls to `kill-buffer',
8071 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8072 before calling `Info-find-node', so `Info-find-node-2' will reread
8073 the Info file. Restore window positions only when `window-selected'
8074 is non-nil.
8075
30c62133
JL
80762011-11-19 Juri Linkov <juri@jurta.org>
8077
8078 * isearch.el (isearch-lazy-highlight-new-loop):
8079 Remove condition `(not isearch-error)'. (Bug#9918)
8080
8081 * misearch.el (multi-isearch-search-fun): Add condition
8082 `(not bound)' to ignore lazy-highlighting search.
8083 Add the search-failed message "end of multi" when the end of
8084 multi-sequence is reached. Uncapitalize the search-failed
8085 message "Repeat for next buffer".
8086
8087 * info.el (Info-search): Add the search-failed message
8088 "end of the manual" when the end of the manual is reached
8089 in Isearch mode.
8090
645ca9cf
JL
80912011-11-19 Juri Linkov <juri@jurta.org>
8092
8093 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8094 Use non-destructive `remove' instead of `delete' because
8095 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8096 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8097
df754f66
JL
80982011-11-19 Juri Linkov <juri@jurta.org>
8099
8100 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8101 to nil instead of binding `search-ring' and `regexp-search-ring'.
8102 (Bug#9185)
8103
0e23d96a
EZ
81042011-11-19 Eli Zaretskii <eliz@gnu.org>
8105
8106 * simple.el (line-move): Force movement by logical lines for any
8107 hscrolled window, not only when auto-hscroll-mode is on.
8108 (line-move-visual): Update doc string to that effect. (Bug#10076)
8109
8a6ccb66
AS
81102011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8111
8112 * language/european.el (macintosh): Define as alias for mac-roman.
8113
49ae5b39
EZ
81142011-11-19 Eli Zaretskii <eliz@gnu.org>
8115
8116 * mail/rmailmm.el (rmail-mime-display-header)
8117 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8118 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8119 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8120 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8121 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8122 of a raw aref.
8123 (rmail-mime-entity-segment): To get past the tagline, move forward
8124 2 more lines, to account for the 2 empty lines that precede and
8125 follow the line with the buttons.
8126 (rmail-mime-update-tagline): Move one more line, to get past the
8127 empty line that follows the buttons in the tagline. (Bug#9520)
8128
c56cad4a
MR
81292011-11-19 Martin Rudalics <rudalics@gmx.at>
8130
8131 * window.el (window-max-delta-1, window-min-delta-1)
8132 (window-min-size-1, window-state-get-1, window-state-put-1)
8133 (window-state-put-2): Use "window--" prefix.
8134
cbe71af3
SM
81352011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8136
2ad52c60
SM
8137 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8138 (smie-warning-count): New var.
8139 (smie-set-prec2tab): Use it.
8140 (smie-bnf->prec2): Improve warnings. Add docstring.
8141 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8142 (smie-bnf--set-class): New function.
8143 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8144 corner case.
8145
6944dbc1
SM
8146 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8147 (compilation-error-properties, compilation-move-to-column):
8148 Handle compilation-first-column while in the target buffer.
8149
c400c4d7
SM
8150 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8151 Don't hardcode point-min==1.
8152
6dbe3e96
SM
8153 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8154 (eshell-rewrite-for-command): Remove workaround.
8155 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8156 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8157 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8158
cbe71af3
SM
8159 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8160
a8e1496d
GM
81612011-11-17 Glenn Morris <rgm@gnu.org>
8162
8163 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8164 Ignore buffer-local generated-autoload-file if it is the same
8165 as the global value. (Bug#10049)
8166
df85d315
JB
81672011-11-17 Juanma Barranquero <lekktu@gmail.com>
8168
8169 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8170 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8171 (reftex-toc-previous-heading, reftex-toc-max-level)
8172 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8173 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8174 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8175 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8176 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8177 (reftex-toc-rename-label, reftex-toc-visit-location)
8178 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8179 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8180 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8181 leaving "*toc*" only for references to the buffer.
8182
a0c2d0ae
MR
81832011-11-17 Martin Rudalics <rudalics@gmx.at>
8184
8185 * window.el (window-resize, delete-window, split-window):
8186 Replace window-splits by window-combination-resize.
1d00653d 8187 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8188
35c0bac8
GM
81892011-11-17 Glenn Morris <rgm@gnu.org>
8190
8191 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8192 Make bash entry derive from sh entry, not shell entry.
8193
d0c8fc8a
MA
81942011-11-16 Michael Albinus <michael.albinus@gmx.de>
8195
7262a87c
MA
8196 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8197 local file name.
8198
7877f373
JB
81992011-11-16 Juanma Barranquero <lekktu@gmail.com>
8200
8201 * menu-bar.el (menu-bar-file-menu):
8202 * printing.el (pr-ps-utility):
8203 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8204 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8205 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8206 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8207 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8208 (icalendar--convert-cyclic-to-ical)
8209 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8210 (icalendar--convert-ical-to-diary)
8211 (icalendar--convert-recurring-to-diary)
8212 (icalendar--convert-non-recurring-all-day-to-diary)
8213 (icalendar-import-format-sample):
8214 * progmodes/idlw-shell.el (idlwave-shell-mode):
8215 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8216 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8217 (vhdl-ps-print-init): Fix typos.
8218
10649b82
KM
82192011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8220
9d0cfcd6
GM
8221 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8222 FSF and collapse date sequence, obscure author/maintainer email address
8223 better, remove extra version line, track relocation of author's webpage.
10649b82 8224
9d0cfcd6
GM
8225 * progmodes/python.el (python-pdbtrack-input-prompt)
8226 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8227 regular python pdb prompts. Adjustments shamelessly taken exactly as
8228 suggested in EmacsWiki page (tiny change):
8229 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8230
58179cce
JB
82312011-11-16 Juanma Barranquero <lekktu@gmail.com>
8232
8233 * expand.el (expand-pos, expand-index, expand-point):
8234 Remove redundant info from docstring.
8235 (expand-add-abbrevs): Doc fix.
8236 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8237 (expand-sample-perl-mode-expand-list): Fix typos.
8238
8239 * net/dbus.el (dbus-event-member-name):
8240 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8241 * term/pc-win.el (msdos-create-frame-with-faces):
8242 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8243
b6f67890
MR
82442011-11-16 Martin Rudalics <rudalics@gmx.at>
8245
8246 * window.el (split-window, window-state-get-1)
8247 (window-state-put-1, window-state-put-2): Rename occurrences of
8248 window-nest to window-combination-limit.
1d00653d 8249 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8250
ce7ddba0
CY
82512011-11-16 Chong Yidong <cyd@gnu.org>
8252
8253 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8254 regexp (Bug#10033).
8255
3ae704f4
SM
82562011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8259 `completing-read' will remove *Completions* and will preserve
8260 current-buffer for us.
8261 (tmm-add-prompt): Users of *Completions* will always (re)set its
8262 major mode.
8263 (tmm-old-comp-map): Remove.
8264
6ad1cdde
GM
82652011-11-16 Glenn Morris <rgm@gnu.org>
8266
8267 * mail/rmailedit.el: Require rmailmm when compiling.
8268 (rmail-old-mime-state): New declaration.
8269 (rmail-edit-current-message): If editing a mime message,
8270 edit the "raw" message from the mbox buffer.
8271 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8272
d20faa20
GM
82732011-11-15 Glenn Morris <rgm@gnu.org>
8274
8275 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8276 which wasn't being used. Add optional arg to force given state.
8277 (rmail-mime): Add optional arg to force given state.
8278
c7015153
JB
82792011-11-15 Juanma Barranquero <lekktu@gmail.com>
8280
8281 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8282 * frame.el (display-mm-dimensions-alist):
8283 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8284 (outline-move-subtree-down):
8285 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8286 (newsticker--treeview-do-get-node):
8287 * net/quickurl.el (quickurl-list-buffer-name):
8288 * progmodes/dcl-mode.el (dcl-mode):
8289 * progmodes/gdb-mi.el (gdb-mapcar*):
8290 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8291
45261b50
GM
82922011-11-15 Glenn Morris <rgm@gnu.org>
8293
8294 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8295 in a boolean sense, so just make it a boolean, and fix the doc.
8296 (rmail-show-mime-function, rmail-mime-feature)
8297 (rmail-require-mime-maybe): Doc fixes.
8298 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8299
8300 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8301
0d26e0b6
JB
83022011-11-15 Juanma Barranquero <lekktu@gmail.com>
8303
8304 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8305 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8306 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8307 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8308
447f30f6
GM
83092011-11-15 Glenn Morris <rgm@gnu.org>
8310
672b871d
GM
8311 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8312 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8313 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8314 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8315 (rmail-mime, rmail-show-mime): Doc fixes.
8316
f6aa5bb1
GM
8317 * term/ns-win.el (mode-line-frame-identification):
8318 Leave it alone. (Bug#10051)
8319
947cd66b
GM
8320 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8321
447f30f6
GM
8322 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8323 Handle empty buffers. (Bug#9978)
8324
0b381c7e
JB
83252011-11-14 Juanma Barranquero <lekktu@gmail.com>
8326
8327 * international/mule.el (define-charset):
8328 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8329 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8330 * progmodes/verilog-mode.el (verilog-backward-token):
8331 * textmodes/ispell.el (lookup-words):
8332 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8333
71e027ac
GM
83342011-11-14 Glenn Morris <rgm@gnu.org>
8335
56632ce4
GM
8336 * progmodes/executable.el
8337 (executable-make-buffer-file-executable-if-script-p):
8338 Handle file-modes returning nil.
8339
40500957
GM
8340 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8341 message - not necessary, and causes problems. (Bug#9831)
8342
071c2340
GM
8343 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8344
d3cfca60
GM
8345 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8346
71e027ac
GM
8347 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8348 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8349 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8350
89d61221
MR
83512011-11-12 Martin Rudalics <rudalics@gmx.at>
8352
8353 * window.el (window-resize, delete-window): Use window-splits
8354 variable instead of function.
8355 (window-state-get-1, window-state-put-2, window-state-put):
8356 Don't deal with windows' splits status.
8357
98282f6f
GM
83582011-11-12 Glenn Morris <rgm@gnu.org>
8359
8360 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8361 (apropos-documentation): Doc fixes.
8362
40a8bdf6
JB
83632011-11-11 Juanma Barranquero <lekktu@gmail.com>
8364
8365 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8366 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8367
65bd19ff
SM
83682011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8369
8370 * electric.el (electric-indent-post-self-insert-function): Make it
8371 possible for a char to only indent in some circumstances.
8372 (electric-indent-mode): Simplify.
8373
54f9154c
MR
83742011-11-11 Martin Rudalics <rudalics@gmx.at>
8375
8376 * window.el (windows-with-parameter): Remove unused function.
8377 (windows-at-side): Rename to window-at-side-list.
8378 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8379 (window-side-check, window-size-ignore, window-size-fixed-1)
8380 (window-in-direction-2): Prefix with "window--".
8381 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8382
68cbc58b
GM
83832011-11-11 Glenn Morris <rgm@gnu.org>
8384
8385 * subr.el (eval-after-load): If FILE is already loaded,
8386 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8387
b2621720
GM
83882011-11-10 Glenn Morris <rgm@gnu.org>
8389
9a4de110
GM
8390 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8391 Call svn via vc-svn-command rather than vc-do-command.
8392 (vc-svn-command): Add --non-interactive. (Bug#9993)
8393 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8394
b2621720
GM
8395 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8396 Add toggle-read-only. (Bug#7292)
8397 * files.el (toggle-read-only): Mention that it should only
8398 be used interactively. (Bug#10006)
8399
1dce7193
SM
84002011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8401
d9ac1a1e
SM
8402 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8403 Adjust regexp for OCaml warnings.
8404
0c325082
SM
8405 * electric.el (electric-pair-post-self-insert-function): Let user
8406 turn it off buffer-locally (bug#9932).
8407
90132c14
SM
8408 * progmodes/python.el (python-beginning-of-statement):
8409 Rewrite (bug#2703).
8410
1dce7193
SM
8411 * progmodes/compile.el: Better handle TABs (bug#9749).
8412 (compilation-internal-error-properties)
8413 (compilation-next-error-function): Obey the target buffer's
8414 compilation-error-screen-columns.
8415
c4e7c63a
JB
84162011-11-09 Juanma Barranquero <lekktu@gmail.com>
8417
8418 * progmodes/meta-mode.el: Remove obsolete comments.
8419 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8420 Fix typos in docstrings.
8421
2cffd681
MR
84222011-11-09 Martin Rudalics <rudalics@gmx.at>
8423
8424 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8425 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8426 (window--resizable): New function. Make all callers of
8427 window-resizable call window--resizable instead.
8428 (window-resizable): Rewrite in terms of window--resizable.
8429
0edcba87
GM
84302011-11-08 Glenn Morris <rgm@gnu.org>
8431
8432 * progmodes/delphi.el (delphi-mode-syntax-table):
8433 Let define-derived-mode define a proper syntax table. (Bug#9994)
8434
4b0d61e3
SM
84352011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * window.el: Stay away from defsubst.
8438 (window-list-no-nils): Remove.
8439 (window-state-get-1, window-state-get): Use backquote instead.
8440
cd394be1 84412011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8442
4b0d61e3 8443 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8444 Fix incorrect use of default argument in `completing-read'.
8445
e1c2c6f2
MR
84462011-11-08 Martin Rudalics <rudalics@gmx.at>
8447
8448 * window.el (display-buffer-function, special-display-function):
8449 Mention display-buffer-record-window but do not mention
8450 help-setup parameter in doc-strings.
b3f4a882 8451 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8452
105216ed
CY
84532011-11-08 Chong Yidong <cyd@gnu.org>
8454
8455 * window.el (window-total-height, window-total-width): Doc fix.
8456 (window-body-size): Move from C.
8457 (window-body-height, window-body-width): Move to C.
8458
0a9f9ab5
SM
84592011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * window.el: Make special-display like display-buffer-alist (bug#9532).
8462 (display-buffer--special-action): New function, morphed
8463 from display-buffer--special.
8464 (display-buffer): Use it to handle special-display-buffers at higher
8465 priority (just after display-buffer-alist).
8466 (display-buffer-fallback-action, display-buffer--other-frame-action)
8467 (pop-to-buffer-same-window): Remove display-buffer--special.
8468
a769dd15
GM
84692011-11-07 Glenn Morris <rgm@gnu.org>
8470
8471 * calendar/cal-menu.el (cal-menu-set-date-title):
8472 Do nothing if not in a calendar. (Bug#9976)
8473
05a61ee3
SM
84742011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * files.el (find-file): Always use selected-window.
8477
be7f5545
MR
84782011-11-07 Martin Rudalics <rudalics@gmx.at>
8479
8480 * window.el (window-combinations): Make WINDOW argument
8481 mandatory. Rewrite doc-string.
8482 (walk-window-subtree, window-atom-check, window-min-delta)
8483 (window-max-delta, window--resize-this-window)
8484 (window--resize-root-window-vertically, window-tree)
8485 (balance-windows, window-state-put): Rewrite doc-strings as to
8486 not mention the term "subwindow".
8487 (window--resize-subwindows-skip-p): Rename to
8488 window--resize-child-windows-skip-p.
8489 (window--resize-subwindows-normal): Rename to
8490 window--resize-child-windows-normal.
8491 (window--resize-subwindows): Rename to
8492 window--resize-child-windows.
8493 (window-or-subwindow-p): Rename to window--in-subtree-p.
8494
3c6702ef
ML
84952011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8496
8497 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8498 Ensure that mbox format messages end in two newlines (Bug#9974).
8499
49745b39
CY
85002011-11-06 Chong Yidong <cyd@gnu.org>
8501
8502 * window.el (window-combination-p): Function deleted; its
8503 side-effect is not used in any existing code.
8504 (window-combinations, window-combined-p): Call window-*-child
8505 directly.
8506
24300f5f
CY
85072011-11-05 Chong Yidong <cyd@gnu.org>
8508
8509 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8510 (window-size-ignore, window-state-get): Callers changed.
8511 (window-normalize-window): Rename from window-normalize-any-window.
8512 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8513 (window-normalize-live-window): Delete.
447f16b8
CY
8514 (window-combination-p, window-combined-p, window-combinations)
8515 (walk-window-subtree, window-atom-root, window-min-size)
8516 (window-sizable, window-sizable-p, window-size-fixed-p)
8517 (window-min-delta, window-max-delta, window-resizable)
8518 (window-resizable-p, window-full-height-p, window-full-width-p)
8519 (window-current-scroll-bars, window-point-1, set-window-point-1)
8520 (window-at-side-p, window-in-direction, window-resize)
8521 (adjust-window-trailing-edge, maximize-window, minimize-window)
8522 (window-deletable-p, delete-window, delete-other-windows)
8523 (record-window-buffer, unrecord-window-buffer)
8524 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8525 (quit-window, split-window, window-state-put)
8526 (set-window-text-height, fit-window-to-buffer)
8527 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8528
89bd5ee1
EZ
85292011-11-04 Eli Zaretskii <eliz@gnu.org>
8530
53479029
EZ
8531 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8532 rfc2047-decode-string.
8533 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8534 warnings.
8535
89bd5ee1
EZ
8536 * window.el (window-body-height, window-body-width): Mention in
8537 the doc string that the return values are in frame's canonical
8538 units. (Bug#9949)
8539
bd17fdee
AM
85402011-11-03 Alan Mackenzie <acm@muc.de>
8541
8542 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8543 change in cc-engine.el.
8544
acc825c5
SM
85452011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8548
1885e5b8
MR
85492011-11-02 Martin Rudalics <rudalics@gmx.at>
8550
8551 * window.el (quit-window): Call unrecord-window-buffer after
8552 showing another buffer in the window. (Bug#9937)
acc825c5 8553 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8554
ebe06da9
JB
85552011-11-02 Juanma Barranquero <lekktu@gmail.com>
8556
8557 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8558 Accept status with more than 9 shelves. (Bug#9935)
8559 Reported by Colin D Bennett <colin@gibibit.com>.
8560
4ee88440
MR
85612011-11-01 Martin Rudalics <rudalics@gmx.at>
8562
8563 * help.el (with-help-window): Don't reference
8564 temp-buffer-show-specifiers in doc-string.
8565
08e1d82c
AS
85662011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8567
8568 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8569 menu-item.
8570
84bd6e9e
VJL
85712011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8572
8573 * whitespace.el: New version 13.2.2.
8574 (whitespace-newline-mode): Disable properly. Reported by Sarah
8575 <EmacsWiki>.
8576
dba0634a
UJ
85772011-10-30 Ulf Jasper <ulf.jasper@web.de>
8578
8579 * net/newst-treeview.el: Remove "Time-stamp".
8580 (newsticker--group-manage-orphan-feeds): Do not call
8581 newsticker--treeview-tree-update.
db22a3c2
JB
8582 (newsticker-treeview-update, newsticker-treeview):
8583 Call newsticker--treeview-tree-update if necessary.
dba0634a 8584
3d8daefe
MR
85852011-10-30 Martin Rudalics <rudalics@gmx.at>
8586
8587 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8588 (window-iso-combinations): Remove "iso-" infix.
8589 Suggested by Chong Yidong.
3d8daefe
MR
8590 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8591 (window-max-delta-1, window-resize, window--resize-siblings)
8592 (window--resize-this-window, adjust-window-trailing-edge)
8593 (split-window, balance-windows-1)
8594 (shrink-window-if-larger-than-buffer):
8595 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8596 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8597
1bc4c3ae
SM
85982011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8601 in place (bug#9907).
8602 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8603 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8604 (eshell-structure-basic-command, eshell-rewrite-while-command)
8605 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8606 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8607 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8608 (eshell-do-pipelines-synchronously, eshell-eval-command):
8609 Use backquotes and prefer setq to set.
8610 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8611 (eshell-macrop): Use functionp.
c1e2f5fa 8612 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8613
30b65d9c
CY
86142011-10-30 Chong Yidong <cyd@gnu.org>
8615
8616 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8617 instead of set-mark (Bug#9810).
8618
2d197ffb
CY
86192011-10-30 Chong Yidong <cyd@gnu.org>
8620
8621 * window.el (split-window-below, split-window-right): Rename from
8622 split-window-above-each-other and split-window-side-by-side
8623 respectively. All callers changed.
8624 (split-window-sensibly, split-window-sensibly): Use them.
8625 (split-window-keep-point): Doc fix.
8626
8627 * isearch.el: Add isearch-scroll property to split-window-below
8628 and split-window-right.
8629
8630 * follow.el (follow-mode):
8631 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8632 * progmodes/ada-xref.el (ada-gdb-application):
8633 * emulation/vip.el (vip-buffer-in-two-windows):
8634 * image-dired.el (image-dired-dired-with-window-configuration):
8635 * dired-x.el (dired-do-find-marked-files):
8636 * dired.el (dired-pop-to-buffer):
8637 * bs.el (bs--show-with-configuration):
8638 * vc/emerge.el (emerge-setup-windows):
8639 * textmodes/two-column.el (2C-two-columns):
8640 * textmodes/reftex-toc.el (reftex-toc):
8641 * progmodes/gdb-mi.el (gdb-setup-windows):
8642 * progmodes/fortran.el (fortran-window-create):
8643 * net/newst-treeview.el (newsticker--treeview-window-init):
8644 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8645 * emulation/tpu-edt.el (tpu-gold-map):
8646 * emulation/crisp.el (crisp-mode-map):
8647 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8648
38bb2ca8
CY
86492011-10-29 Chong Yidong <cyd@gnu.org>
8650
aa4de341
CY
8651 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8652
e1eb5385
CY
8653 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8654
5d2ece3c
CY
8655 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8656 forged Ispell output (Bug#7904).
8657
38bb2ca8
CY
8658 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8659
d0af9f77
SM
86602011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * doc-view.el: Avoid ugly errors about not finding nil.
8663 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8664 (doc-view-dvipdf-program, doc-view-unoconv-program)
8665 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8666 Avoid nil or absolute file name as default value.
8667 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8668
52bedd34
AM
86692011-10-28 Alan Mackenzie <acm@muc.de>
8670
db22a3c2 8671 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8672
7e43cfa5
AM
86732011-10-28 Alan Mackenzie <acm@muc.de>
8674
8675 Amend the handling of c-beginning/end-of-defun in nested declaration
8676 scopes.
8677
52bedd34
AM
8678 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8679 cc-langs.el. Change it to a defcustom.
7e43cfa5 8680
52bedd34
AM
8681 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8682 cc-vars.el.
7e43cfa5 8683
d0af9f77
SM
8684 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8685 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8686
52bedd34 8687 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8688 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8689 (c-widen-to-enclosing-decl-scope): New function.
8690 (c-while-widening-to-decl-block): New macro.
8691 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8692 outward for defun boundaries, and correspondingly change symbol
8693 `respect-enclosure' to `go-outward'.
8694 (c-declaration-limits): Change algorithm to report only the "innermost"
8695 defun's boundaries.
8696
1a2ce9ee
DD
86972011-10-28 Deniz Dogan <deniz@dogan.se>
8698
8699 * net/rcirc.el (rcirc-mode): Use hard newlines.
8700
bc97a826
AM
87012011-10-28 Alan Mackenzie <acm@muc.de>
8702
8703 Amend to indent and fontify macros "which include their own semicolon"
8704 correctly, using the "virtual semicolon" mechanism.
8705
52bedd34 8706 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8707
d0af9f77 8708 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8709 Recode to scan one line at a time rather than having \n and \r
58179cce 8710 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8711 (c-forward-label): Amend for virtual semicolons.
58179cce 8712 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8713
52bedd34
AM
8714 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8715 of the new C macros.
bc97a826 8716
52bedd34 8717 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8718 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8719 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8720 (c-opt-cpp-macro-define): Make into a full language variable.
8721 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8722 AWK Mode (including \n, \r) removed, no longer needed.
8723
d0af9f77
SM
8724 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8725 Invoke c-make-macro-with-semi-re.
bc97a826 8726
52bedd34
AM
8727 * progmodes/cc-vars.el (c-macro-with-semi-re):
8728 (c-macro-names-with-semicolon): New variables.
58179cce 8729 (c-make-macro-with-semi-re): New function.
bc97a826 8730
7a6c0941
SM
87312011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * vc/log-edit.el: Fill empty field rather than adding new one.
8734 (log-edit-add-field): New function.
8735 (log-edit-insert-changelog): Use it.
8736
b0c4cdcf
ML
87372011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8738
8739 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8740
ee1f1da9
SM
87412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8742
8743 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8744 (gdb--check-interpreter): New function.
8745 (gdb): Use it.
8746
51bc5f8b
GM
87472011-10-27 Glenn Morris <rgm@gnu.org>
8748
416a2c45
GM
8749 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8750 (least-positive-float, least-negative-float)
8751 (least-positive-normalized-float, least-negative-normalized-float)
8752 (float-epsilon, float-negative-epsilon):
8753 Remove unnecessary declarations.
8754
8755 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8756 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8757 (least-positive-float, least-negative-float)
8758 (least-positive-normalized-float, least-negative-normalized-float)
8759 (float-epsilon, float-negative-epsilon): Add doc-strings,
8760 based on those in cl.texi.
8761
51bc5f8b
GM
8762 * files.el (set-visited-file-name): If the major-mode changed,
8763 reload the local variables. (Bug#9796)
8764
15de15c6
CY
87652011-10-27 Chong Yidong <cyd@gnu.org>
8766
8767 * subr.el (change-major-mode-after-body-hook): New hook.
8768 (run-mode-hooks): Run it.
8769
ee1f1da9
SM
8770 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8771 Use change-major-mode-before-body-hook.
15de15c6
CY
8772
8773 * simple.el (fundamental-mode):
8774 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8775 change introducing fundamental-mode-hook.
8776
5430d399
JB
87772011-10-26 Juanma Barranquero <lekktu@gmail.com>
8778
acc825c5 8779 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8780
ad74a69e
MA
87812011-10-26 Michael Albinus <michael.albinus@gmx.de>
8782
8783 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8784 tramp.el explicitly. (Bug#7583)
ad74a69e 8785
71d4c2a5
SM
87862011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * progmodes/octave-mod.el:
8789 * progmodes/octave-inf.el: Update maintainer.
8790
b1f6fa26
CY
87912011-10-26 Chong Yidong <cyd@gnu.org>
8792
8793 * subr.el (with-wrapper-hook): Rewrite doc.
8794
3f04efd6
MA
87952011-10-25 Michael Albinus <michael.albinus@gmx.de>
8796
8797 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8798 filenames "/method:foo:". (Bug#9793)
3f04efd6 8799
410488d3
SM
88002011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8803 (bug#9865).
8804
c1ebb47e
GM
88052011-10-24 Glenn Morris <rgm@gnu.org>
8806
8807 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8808
7f5c46c7
MA
88092011-10-24 Michael Albinus <michael.albinus@gmx.de>
8810
8811 * notifications.el: Add the requirement of a running D-Bus session
8812 bus to the Commentary.
8813
db2440b6
JL
88142011-10-24 Juri Linkov <juri@jurta.org>
8815
8816 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8817 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8818 (Bug#9364)
8819
feecf435
JL
88202011-10-24 Juri Linkov <juri@jurta.org>
8821
8822 * info.el (Info-following-node-name-re): Add newline to the list
8823 of allowed characters for leading space. (Bug#9824)
8824
a3839de2
SM
88252011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8826
acc825c5
SM
8827 * progmodes/octave-inf.el (inferior-octave-mode-map):
8828 Fix C-c C-h binding.
a3839de2
SM
8829 * progmodes/octave-mod.el (octave-help): Remove.
8830
09388e76
MA
88312011-10-23 Michael Albinus <michael.albinus@gmx.de>
8832
8833 Sync with Tramp 2.2.3.
8834
8835 * net/tramp-cache.el (top): Pacify byte-compiler using
8836 `init-file-user' and `site-run-file'.
8837
8838 * net/trampver.el: Update release number.
8839
86c60681
CY
88402011-10-23 Chong Yidong <cyd@gnu.org>
8841
8842 * files.el (toggle-read-only): Remove obsolete comment about
8843 version control.
8844
8845 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8846 for toggle-read-only. Note that this hasn't called vc-next-action
8847 since 2008-05-02, though it wasn't documented at the time.
8848
a3839de2
SM
8849 * vc/ediff-init.el (ediff-toggle-read-only-function):
8850 Use toggle-read-only.
86c60681 8851
cd5495ff
AM
88522011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8853
8854 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8855 of c-parse-state.
8856
00b77525 8857 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8858 correct faulty logical expression.
cd5495ff
AM
8859 (c-parse-state-state, c-record-parse-state-state):
8860 (c-replay-parse-state-state): New defvar/defuns.
8861 (c-debug-parse-state): Use new functions.
8862
42ee24ed
MR
88632011-10-22 Martin Rudalics <rudalics@gmx.at>
8864
8865 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8866 last fix. Use window-in-direction correctly.
42ee24ed 8867
a7dee7e7
CY
88682011-10-21 Chong Yidong <cyd@gnu.org>
8869
8870 * progmodes/idlwave.el (idlwave-mode):
8871 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8872 require-final-newline; that's done in prog-mode.
8873 Suggested by Stefan Monnier.
a7dee7e7 8874
e07b9a6d
MR
88752011-10-21 Martin Rudalics <rudalics@gmx.at>
8876
8877 * mouse.el (mouse-drag-window-above)
8878 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8879 (mouse-drag-mode-line-1, mouse-drag-header-line)
8880 (mouse-drag-vertical-line-rightward-window): Remove.
8881 (mouse-drag-line): New function.
8882 (mouse-drag-mode-line, mouse-drag-header-line)
8883 (mouse-drag-vertical-line): Call mouse-drag-line.
8884 * window.el (window-at-side-p, windows-at-side): New functions.
8885
7e1361d9
UM
88862011-10-21 Ulrich Mueller <ulm@gentoo.org>
8887
8888 * tar-mode.el (tar-grind-file-mode):
8889 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8890
30fcaf3a
CY
88912011-10-21 Chong Yidong <cyd@gnu.org>
8892
8893 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8894 * progmodes/vera-mode.el (vera-mode):
8895 Use mode-require-final-newline.
30fcaf3a 8896
516eddb0
GM
88972011-10-20 Glenn Morris <rgm@gnu.org>
8898
db22a3c2 8899 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8900
10d5f513
CS
89012011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8902
8903 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8904
ac6c8639
CY
89052011-10-20 Chong Yidong <cyd@gnu.org>
8906
8907 * emulation/cua-base.el (cua-mode):
8908 * mail/footnote.el (footnote-mode):
8909 * mail/mailabbrev.el (mail-abbrevs-mode):
8910 * net/xesam.el (xesam-minor-mode):
8911 * progmodes/bug-reference.el (bug-reference-mode):
8912 * progmodes/cap-words.el (capitalized-words-mode):
8913 * progmodes/compile.el (compilation-minor-mode)
8914 (compilation-shell-minor-mode):
8915 * progmodes/gud.el (gud-tooltip-mode):
8916 * progmodes/hideif.el (hide-ifdef-mode):
8917 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8918 * progmodes/subword.el (subword-mode):
8919 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8920 * progmodes/which-func.el (which-function-mode):
8921 * term/tvi970.el (tvi970-set-keypad-mode):
8922 * term/vt100.el (vt100-wide-mode):
8923 * textmodes/flyspell.el (flyspell-mode):
8924 * textmodes/ispell.el (ispell-minor-mode):
8925 * textmodes/nroff-mode.el (nroff-electric-mode):
8926 * textmodes/paragraphs.el (use-hard-newlines):
8927 * textmodes/refill.el (refill-mode):
8928 * textmodes/reftex.el (reftex-mode):
8929 * textmodes/rst.el (rst-minor-mode):
8930 * textmodes/sgml-mode.el (html-autoview-mode)
8931 (sgml-electric-tag-pair-mode):
8932 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8933 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8934 * emulation/crisp.el (crisp-mode):
8935 * emacs-lisp/eldoc.el (eldoc-mode):
8936 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8937 minor mode behavior.
8938
aa42ab43
JL
89392011-10-19 Juri Linkov <juri@jurta.org>
8940
8941 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8942 the list of hard-coded chars with escape-glyph face.
8943
89400f1d
SM
89442011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8945
8946 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8947
305c07f6
MA
89482011-10-19 Michael Albinus <michael.albinus@gmx.de>
8949
8950 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8951 running process.
8952
13754b54
GM
89532011-10-19 Glenn Morris <rgm@gnu.org>
8954
8955 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8956 Ignore ignored files. (Bug#9726)
8957
06e21633
CY
89582011-10-19 Chong Yidong <cyd@gnu.org>
8959
8960 Doc fix for minor modes, stating that an omitted argument enables
8961 the mode unconditionally when called from Lisp.
8962
8963 * abbrev.el (abbrev-mode):
8964 * allout.el (allout-mode):
8965 * autoinsert.el (auto-insert-mode):
8966 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8967 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8968 (global-auto-revert-mode):
8969 * battery.el (display-battery-mode):
8970 * composite.el (global-auto-composition-mode)
8971 (auto-composition-mode):
8972 * delsel.el (delete-selection-mode):
8973 * desktop.el (desktop-save-mode):
8974 * dired-x.el (dired-omit-mode):
8975 * dirtrack.el (dirtrack-mode):
8976 * doc-view.el (doc-view-minor-mode):
8977 * double.el (double-mode):
8978 * electric.el (electric-indent-mode, electric-pair-mode):
8979 * emacs-lock.el (emacs-lock-mode):
8980 * epa-hook.el (auto-encryption-mode):
8981 * follow.el (follow-mode):
8982 * font-core.el (font-lock-mode):
8983 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8984 * help.el (temp-buffer-resize-mode):
8985 * hilit-chg.el (highlight-changes-mode)
8986 (highlight-changes-visible-mode):
8987 * hi-lock.el (hi-lock-mode):
8988 * hl-line.el (hl-line-mode, global-hl-line-mode):
8989 * icomplete.el (icomplete-mode):
8990 * ido.el (ido-everywhere):
8991 * image-file.el (auto-image-file-mode):
8992 * image-mode.el (image-minor-mode):
8993 * iswitchb.el (iswitchb-mode):
8994 * jka-cmpr-hook.el (auto-compression-mode):
8995 * linum.el (linum-mode):
8996 * longlines.el (longlines-mode):
8997 * master.el (master-mode):
8998 * mb-depth.el (minibuffer-depth-indicate-mode):
8999 * menu-bar.el (menu-bar-mode):
9000 * minibuf-eldef.el (minibuffer-electric-default-mode):
9001 * mouse-sel.el (mouse-sel-mode):
9002 * msb.el (msb-mode):
9003 * mwheel.el (mouse-wheel-mode):
9004 * outline.el (outline-minor-mode):
9005 * paren.el (show-paren-mode):
9006 * recentf.el (recentf-mode):
9007 * reveal.el (reveal-mode, global-reveal-mode):
9008 * rfn-eshadow.el (file-name-shadow-mode):
9009 * ruler-mode.el (ruler-mode):
9010 * savehist.el (savehist-mode):
9011 * scroll-all.el (scroll-all-mode):
9012 * scroll-bar.el (scroll-bar-mode):
9013 * server.el (server-mode):
9014 * shell.el (shell-dirtrack-mode):
9015 * simple.el (auto-fill-mode, transient-mark-mode)
9016 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9017 (line-number-mode, column-number-mode, size-indication-mode)
9018 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9019 * strokes.el (strokes-mode):
9020 * time.el (display-time-mode):
9021 * t-mouse.el (gpm-mouse-mode):
9022 * tool-bar.el (tool-bar-mode):
9023 * tooltip.el (tooltip-mode):
9024 * type-break.el (type-break-mode-line-message-mode)
9025 (type-break-query-mode):
9026 * view.el (view-mode):
9027 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9028 (global-whitespace-mode, global-whitespace-newline-mode):
9029 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9030
a3839de2
SM
9031 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9032 Fix autogenerated docstring.
06e21633 9033
5214e501
JL
90342011-10-19 Juri Linkov <juri@jurta.org>
9035
9036 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9037 by checking environment variables "DESKTOP_SESSION" and
9038 "XDG_CURRENT_DESKTOP". (Bug#9779)
9039
195f8db9
JL
90402011-10-19 Juri Linkov <juri@jurta.org>
9041
9042 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9043 (browse-url-chromium-program, browse-url-chromium-arguments):
9044 New defcustoms.
9045 (browse-url-default-browser): Check for `browse-url-chromium' and
9046 call `browse-url-chromium-program'.
9047 (browse-url-chromium): New command. (Bug#9779)
9048
343a34ff
JB
90492011-10-18 Juanma Barranquero <lekktu@gmail.com>
9050
9051 * facemenu.el (list-colors-duplicates): On Windows, detect more
9052 duplicates by assuming that only colors matching "^System" are
9053 special "system colors". (Bug#9722)
9054
6978a151
SM
90552011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9058 to distinguish the author from the committer.
9059
6a80b297
MA
90602011-10-18 Michael Albinus <michael.albinus@gmx.de>
9061
9062 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9063
b31a5677
JK
90642011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9065
9066 * international/mule.el (sgml-html-meta-auto-coding-function):
9067 Add support for detecting encoding in HTML5 specified only as
9068 <meta charset="UTF-8">. Implementation just makes http-equiv and
9069 content-type parts from HTML4 encoding string optional. (Bug#9716)
9070
80c6d77f
GM
90712011-10-18 Glenn Morris <rgm@gnu.org>
9072
9073 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9074
08b0fee8
CY
90752011-10-18 Chong Yidong <cyd@gnu.org>
9076
9077 * faces.el (cursor): Doc fix.
9078
67e729a5
CY
90792011-10-17 Chong Yidong <cyd@gnu.org>
9080
9081 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9082
343a34ff 90832011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9084
9085 * dirtrack.el (dirtrack): Support shell buffers with path
9086 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9087
0bc06380
TZ
90882011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9089
9090 * json.el: Bump version to 1.3 and note change in History.
9091 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9092
8b79f3e0
SM
90932011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9094
5a7c536b
SM
9095 * comint.el (comint-insert-input, comint-send-input)
9096 (comint-get-old-input-default, comint-backward-matching-input)
9097 (comint-next-prompt): Use nil instead of `input' for field property of
9098 past user input (bug#114).
9099
96a8a0df
SM
9100 * minibuffer.el (completion--replace): Inherit surrounding properties
9101 (bug#114).
9102 (minibuffer-complete-and-exit): Use it.
9103
8b79f3e0
SM
9104 * comint.el (comint--table-subvert): Quote the all-completions output
9105 (bug#9160).
9106
b8f7ff0d
MR
91072011-10-17 Martin Rudalics <rudalics@gmx.at>
9108
8b79f3e0 9109 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9110
b8f7ff0d 9111 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9112 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9113 entries and separate them from frame entries.
9114
c235b555
GM
91152011-10-15 Glenn Morris <rgm@gnu.org>
9116
9117 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9118 Doc fixes.
9119
6bbfa6e1
CY
91202011-10-15 Chong Yidong <cyd@stupidchicken.com>
9121
8b79f3e0
SM
9122 * net/network-stream.el (network-stream-open-starttls):
9123 Improve detection of failure due to lack of TLS support.
ec5c990d 9124
6bbfa6e1
CY
9125 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9126 putting the input text in front and in bold.
9127
98488977
SM
91282011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9129
3d1337be
SM
9130 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9131
ee0b45e4
SM
9132 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9133 empty buffer.
9134
98488977
SM
9135 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9136 unread-command-events rather than pushing yet-another event.
9137
186f4720
EZ
91382011-10-14 Eli Zaretskii <eliz@gnu.org>
9139
9140 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9141 the explanation of the possible choices. Make the options passed
9142 to completing-read shorter.
9143
8b7a997c
AM
91442011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9145
9146 * textmodes/flyspell.el (flyspell-large-region): Make sure
9147 extended character mode is used if defined (Bug#1339).
9148
12587bbb
EZ
91492011-10-13 Eli Zaretskii <eliz@gnu.org>
9150
9151 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9152 character info for LRE, LRO, RLE, and RLO characters by appending
9153 an invisible PDF.
12587bbb 9154
bad41229
SM
91552011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9158 even in case of error; add debug spec; simplify data flow.
9159 (with-timeout-handler): Remove.
9160
28dbc92f
MA
91612011-10-12 Michael Albinus <michael.albinus@gmx.de>
9162
9163 Fix Bug#6019, Bug#9315.
9164
9165 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9166 complete `buffer-file-name', the local file name part could look
9167 remotely (for example on VMS).
9168
9169 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9170 `tramp-run-real-handler'.
9171 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9172 already quoted by '"'.
9173
9174 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9175 Let `file-name-handler-alist' be nil, the local file name part
9176 could look remotely (for example on VMS).
9177
e1b0b23a
SM
91782011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9181 from here...
9182 (flyspell-post-command-hook): ...to here.
9183
a120bde9
SM
91842011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9185
9186 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9187 if not needed.
9188 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9189 using completion. Protect against "slow" callers.
9190 Remove the "message hack".
9191
7ce7717b
JL
91922011-10-11 Juri Linkov <juri@jurta.org>
9193
9194 * isearch.el (isearch-lazy-highlight-word): New variable.
9195 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9196 Use it. (Bug#9727)
9197
c02ee9d6
GM
91982011-10-11 Glenn Morris <rgm@gnu.org>
9199
9200 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9201 like f90-previous-statement does.
9202
93e616fd 92032011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9204
1f190e73 9205 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9206 only in interactive use, to avoid error.
9207
af7b6078
SM
92082011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9209
9210 * minibuffer.el (completion-file-name-table): Fix last change,
9211 i.e. ignore normal errors but not the other ones.
9212
0563dae9
MR
92132011-10-10 Martin Rudalics <rudalics@gmx.at>
9214
9215 * window.el (special-display-buffer-names)
9216 (special-display-regexps): Remove some remnants of earlier
9217 changes from doc-strings.
366ca7f3
MR
9218 (quit-windows-on): New function.
9219
9220 * vc/vc.el (vc-revert, vc-rollback):
9221 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9222 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9223 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9224
49677495
MR
92252011-10-09 Martin Rudalics <rudalics@gmx.at>
9226
9227 * window.el (frame-auto-hide-function): Add version tag.
9228 (Bug#9699)
9229
56f2d1e1
MA
92302011-10-09 Michael Albinus <michael.albinus@gmx.de>
9231
9232 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9233 condition.
9234
112a6592
LL
92352011-10-09 Leo Liu <sdl.web@gmail.com>
9236
9237 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9238 (Bug#9701)
9239
0812589b
GM
92402011-10-08 Glenn Morris <rgm@gnu.org>
9241
9242 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9243 before the first code statement zero indent. (Bug#9690)
9244
b2b0776e
CY
92452011-10-08 Chong Yidong <cyd@stupidchicken.com>
9246
9247 * simple.el (count-words-region): Always count in the region.
9248 Report the number of lines and characters too.
9249 (count-words): New command, which counts in the buffer if the
9250 region is inactive, as count-words-region used to.
9251 (count-words--message): New function. Handle plurals.
9252 (count-lines-region): Make it an alias for count-words-region.
9253
9254 * bindings.el (esc-map): Replace count-lines-region with
9255 count-words-region.
9256
c557cd6b
MR
92572011-10-08 Martin Rudalics <rudalics@gmx.at>
9258
9259 * window.el (window--delete): Delete dedicated frame
9260 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9261 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9262
61a57ef4 92632011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9264
3a7d293b 9265 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9266
c3833279
CY
92672011-10-07 Chong Yidong <cyd@stupidchicken.com>
9268
9269 * bindings.el ([M-left],[M-right]): Bind to left-word and
9270 right-word respectively.
9271
21ce8245
GM
92722011-10-07 Glenn Morris <rgm@gnu.org>
9273
9274 * cus-start.el (debug-on-quit): Fix custom type.
9275
6d823bb2
LMI
92762011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9277
0181e193
LMI
9278 * subr.el (define-key-after): Clarify that the function is not
9279 useful for non-menu keymaps.
9280
6d823bb2
LMI
9281 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9282
8e3459ce 92832011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9284
21ce8245 9285 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9286 in current minibuffer (Fix bug with recursive minibuffers).
9287
a1c2d21e
CY
92882011-10-06 Chong Yidong <cyd@stupidchicken.com>
9289
9290 * progmodes/gdb-mi.el (gdb): Doc fix.
9291
5a4cf282
MR
92922011-10-05 Martin Rudalics <rudalics@gmx.at>
9293
9294 * window.el (frame-auto-hide-function): New option replacing
9295 frame-auto-delete. Suggested by Stefan Monnier.
9296 (window--delete): Call frame-auto-hide-function instead of
9297 investigating frame-auto-delete.
c96111ea
MR
9298 (window-point-1, set-window-point-1): New functions.
9299 (window-in-direction, record-window-buffer, window-state-get-1)
9300 (display-buffer-record-window): Use window-point-1 instead of
9301 window-point.
9302 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9303
9854542e
SM
93042011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9307
8943cfb0
GM
93082011-10-05 Glenn Morris <rgm@gnu.org>
9309
9310 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9311 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9312
647ab967
LL
93132011-10-05 Leo Liu <sdl.web@gmail.com>
9314
9315 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9316 works with buffer object.
9317
3ddfbced
SM
93182011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 * mpc.el (mpc-tool-bar-map): Add labels.
9321
bdfa5dd2
GM
93222011-10-04 Glenn Morris <rgm@gnu.org>
9323
9324 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9325
0e2070b5
MR
93262011-10-04 Martin Rudalics <rudalics@gmx.at>
9327
9328 * window.el (window--delete): New function.
9329 (frame-auto-delete): Resuscitate option.
9330 (bury-buffer, replace-buffer-in-windows)
9331 (quit-window): Rewrite using window--delete.
9332 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9333 Pass display-buffer-mark-dedicated to window--display-buffer-2
9334 (Bug#9639).
9335
3dc61a09
SM
93362011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9337
915a9b64
SM
9338 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9339 returns a list (bug#9554). Add remote file name completion.
9340 * comint.el (comint--table-subvert): Curry and get quote&unquote
9341 functions as arguments.
9342 (comint--complete-file-name-data): Adjust call accordingly.
9343 * pcomplete.el (pcomplete--table-subvert): Remove.
9344 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9345
3dc61a09
SM
9346 * minibuffer.el (completion-table-case-fold): Use currying.
9347 (completion--styles-type, completion--cycling-threshold-type):
9348 New constants.
9349 (completion-styles, completion-category-overrides)
9350 (completion-cycle-threshold): Use them.
9351 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9352 completion-table-case-fold.
9353
8ea0a993
SB
93542011-10-03 Stephen Berman <stephen.berman@gmx.net>
9355
9356 * minibuffer.el (completion-category-overrides): Fix type of styles
9357 and add more user friendly tags (bug#9660).
9358
8c24b7f6
SM
93592011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9362 (mule-input-method-string): New widget.
9363 (default-input-method, language-info-custom-alist): Use it.
9364
428fe61a
SM
93652011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9366
32c1fffd
SM
9367 * pcomplete.el: Require comint.
9368 (pcomplete--common-suffix): Remove.
9369 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9370 (pcomplete--table-subvert): Sync with comint--table-subvert.
9371 (pcomplete--entries): Use comint-completion-file-name-table.
9372 * comint.el (comint-unquote-filename): Simplify.
9373 (comint-completion-file-name-table): New function (bug#9616).
9374 (comint--complete-file-name-data): Use it.
9375
428fe61a
SM
9376 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9377 (pcmpl-gnu-tar-buffer): Remove.
9378 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9379 around. Make sure pcomplete-suffix-list is only changed temporarily.
9380 Don't look inside the tar's file if it's too large.
428fe61a 9381
04c52e2f
CY
93822011-10-01 Chong Yidong <cyd@stupidchicken.com>
9383
ce3cefcc
CY
9384 * cus-edit.el (custom-mode-map):
9385 * epa.el (epa-key-list-mode-map):
9386 * man.el (Man-mode-map):
9387 * startup.el (splash-screen-keymap):
9388 * simple.el (special-mode-map): Use scroll-up-command and
9389 scroll-down-command.
9390
9391 * progmodes/idlw-help.el (idlwave-help-mode-map):
9392 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9393 * net/newst-plainview.el (newsticker-mode-map):
9394 * emulation/ws-mode.el (wordstar-mode-map):
9395 * emulation/vi.el (vi-com-map):
9396 * calc/calc-graph.el (calc-graph-show-dumb):
9397 * term/sun.el (terminal-init-sun):
9398 * term/ns-win.el (global-map):
9399 * progmodes/grep.el (grep-mode-map):
9400 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9401 * mail/rmail.el (rmail-mode-map):
9402 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9403
04c52e2f
CY
9404 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9405 custom-safe-themes as special.
9406
79adf8c8
JD
94072011-10-01 Julien Danjou <julien@danjou.info>
9408
9409 * notifications.el (notifications-notify): Fix docstring.
9410
63bd50d3
PS
94112011-10-01 Per Starbäck <per@starback.se>
9412
9413 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9414
199e4c7e
MR
94152011-09-30 Martin Rudalics <rudalics@gmx.at>
9416
9417 * startup.el (command-line-1): Fix last fix by inserting
9418 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9419 (Bug#9605) and (Bug#9636)
199e4c7e 9420
fe5f08dd
EZ
94212011-09-29 Eli Zaretskii <eliz@gnu.org>
9422
9423 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9424 window is hscrolled, move by logical lines. (Bug#9607)
9425 (line-move-visual): Update the doc string to the above effect.
9426
b5516bbd
MR
94272011-09-29 Martin Rudalics <rudalics@gmx.at>
9428
ccee00c0
MR
9429 * window.el (display-buffer-record-window): When WINDOW is the
9430 selected window use `point' instead of `window-point'. (Bug#9626)
9431
b5516bbd
MR
9432 * startup.el (command-line-1): Use insert-before-markers when
9433 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9434
b5516bbd
MR
9435 * help.el (help-window): Remove variable.
9436
52aa0014
GM
94372011-09-29 Glenn Morris <rgm@gnu.org>
9438
9439 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9440
df9a7357
JB
94412011-09-29 Juanma Barranquero <lekktu@gmail.com>
9442
9443 * descr-text.el (describe-char-categories): Accept category
9444 descriptions more than one line long.
9445
a8406c20
SM
94462011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9447
88d9610c
SM
9448 * simple.el (delete-trailing-whitespace): Fix last change.
9449
a5daf810
SM
9450 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9451 Don't confuse "y => 3" as the beginning of a `y' operation.
9452
a8406c20
SM
9453 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9454 object has more than 4 slots (bug#9613).
9455
a239d4e9
JB
94562011-09-28 Juanma Barranquero <lekktu@gmail.com>
9457
9458 * subr.el (with-output-to-temp-buffer):
9459 * net/quickurl.el (quickurl, quickurl-browse-url):
9460 Fix typos in docstrings.
9461
693fbdb6
EZ
94622011-09-27 Eli Zaretskii <eliz@gnu.org>
9463
9464 * minibuffer.el (completion-styles)
9465 (completion-category-overrides): Cross reference each other in doc
9466 strings.
9467
8b457e28
GM
94682011-09-27 Glenn Morris <rgm@gnu.org>
9469
9470 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9471 to split-string. (Bug#9606)
9472
85a16208
LMI
94732011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9474
9475 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9476 (bug#9615).
9477
502f9ebd
CY
94782011-09-27 Chong Yidong <cyd@stupidchicken.com>
9479
9480 * emacs-lisp/package.el (list-packages): Fix echo area message.
9481
7690bdea
LL
94822011-09-27 Leo Liu <sdl.web@gmail.com>
9483
9484 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9485
e2ee6f30
MA
94862011-09-25 Michael Albinus <michael.albinus@gmx.de>
9487
9488 * net/dbus.el (dbus-unregister-object): Don't release services for
9489 registered signals. (Bug#9581)
9490
f3f98342
TZ
94912011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9492
9493 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9494 function that picks between cfengine 2 and 3 support
9495 automatically. Update docs accordingly.
9496
dd7aa8dd
KH
94972011-09-22 Kenichi Handa <handa@m17n.org>
9498
9499 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9500 ZERO.
9501 (indian-itrans-v5-table-for-tamil): New variable.
9502 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9503
3f2b07f8
KM
95042011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9505
9506 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9507 that's true if the current command involved collapsing of text.
9508 It's reset to false at the beginning of the next command.
9509 (allout-post-command-business): Move the cursor to the beginning
9510 of entry if the cursor is hidden and collapsing activity just
9511 happened.
9512
371d6a61
CY
95132011-09-24 Chong Yidong <cyd@stupidchicken.com>
9514
9515 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9516 tracking (Bug#9541).
9517
2ac2721a
UJ
95182011-09-24 Ulf Jasper <ulf.jasper@web.de>
9519
9520 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9521 (newsticker-show-news): Automatically load html rendering package
9522 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9523 because w3m-fill-column is let-bound" and the error "Symbol's value
9524 as variable is void: w3m-fill-column".
2ac2721a 9525
fac7ae53
MA
95262011-09-24 Michael Albinus <michael.albinus@gmx.de>
9527
9528 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9529 Release services only if they are defined. (Bug#9581)
9530
e08b633b
RS
95312011-09-23 Richard Stallman <rms@gnu.org>
9532
e488d29c
RS
9533 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9534 distinguish start of paragraph from start of its text.
9535
19c38752
RS
9536 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9537
e08b633b
RS
9538 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9539 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9540 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9541
0a39f27e
AS
95422011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9543
9544 * international/mule-diag.el (mule-diag): Insert a newline after
9545 each fontset description.
9546
db4e950d
SM
95472011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * simple.el (delete-trailing-whitespace):
9550 Document last change; simplify.
9551
eca3f3ea
PW
95522011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9553
d68e189a
PW
9554 * simple.el (delete-trailing-whitespace): Also delete
9555 extra newlines at the end of the buffer.
9556
eca3f3ea
PW
9557 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9558 (picture-newline): Use forward-line so as to ignore fields.
9559
01c157cc
SM
95602011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9561
9562 * subr.el (with-wrapper-hook): Fix edebug spec.
9563
022de23e
LMI
95642011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9565
9566 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9567 (bug#4538).
9568
91683089
MA
95692011-09-23 Michael Albinus <michael.albinus@gmx.de>
9570
eca3f3ea
PW
9571 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9572 Fix nasty bug using wrong cached values.
91683089 9573
5bdd6fa4
AM
95742011-09-23 Alan Mackenzie <acm@muc.de>
9575
9576 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9577
97adfb97
CY
95782011-09-23 Chong Yidong <cyd@stupidchicken.com>
9579
9580 * window.el (pop-to-buffer): Ensure right window is selected if we
9581 chose another frame.
9582
d4ef2b50
EZ
95832011-09-22 Eli Zaretskii <eliz@gnu.org>
9584
9585 * simple.el (what-cursor-position): Use get-char-property-change
9586 and next-single-char-property-change, to be able to show display
9587 properties that come from overlays as well as text properties.
9588
72258fe5
CY
95892011-09-22 Chong Yidong <cyd@stupidchicken.com>
9590
9591 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9592
9593 * cmuscheme.el (run-scheme, switch-to-scheme):
9594 * cus-edit.el (customize-group, custom-buffer-create)
9595 (customize-browse):
9596 * info.el (info):
9597 * shell.el (shell):
9598 * mail/sendmail.el (mail):
9599 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9600
8f098516
RS
96012011-09-22 Richard Stallman <rms@gnu.org>
9602
9603 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9604 move back only to line beg, don't move back over blank lines.
9605
e74f1bb6
MA
96062011-09-22 Michael Albinus <michael.albinus@gmx.de>
9607
9608 * files.el (copy-directory): Set directory attributes only in case
9609 they could be retrieved from the source directory. (Bug#9565)
9610
bfeef8b6
DK
96112011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9612
9613 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9614 (hs-find-block-beginning, hs-hide-level-recursive):
9615 Ignore strings as well as comments. (Bug#9502)
9616
7e423bb8
AS
96172011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9618
9619 * progmodes/sql.el (sql-comint-postgres):
9620 Convert port number to a string. (Bug#9566)
9621
b4d72fcf
MR
96222011-09-22 Martin Rudalics <rudalics@gmx.at>
9623
9624 * window.el (quit-window): Undedicate window when switching to
9625 previous buffer. Reported by Thierry Volpiatto
9626 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9627 (special-display-popup-frame): When popping up a new frame reset
9628 its previous buffers to nil. Simplify code.
b4d72fcf 9629
a7b88dc6
MA
96302011-09-21 Michael Albinus <michael.albinus@gmx.de>
9631
9632 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9633 and process filter, as done also in `shell-command'.
9634
cf4eacfd
MR
96352011-09-21 Martin Rudalics <rudalics@gmx.at>
9636
eca3f3ea 9637 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9638 Call set-window-start with NOFORCE argument t.
9639 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9640 (quit-window): Reword doc-string. Handle new format of
9641 quit-restore parameter. Don't delete window if it has a
9642 previous buffer we can show instead of the present one.
9643 (display-buffer-record-window): Rewrite using a new format for
9644 the quit-restore window parameter
9645 (special-display-popup-frame, display-buffer-same-window)
9646 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9647 (display-buffer-pop-up-window, display-buffer-use-some-window):
9648 Adapt symbol passed to display-buffer-record-window.
9649 * help.el (help-window-setup): Handle new format of quit-restore
9650 parameter.
9651
8d28cb95
SM
96522011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9653
94ab793f
SM
9654 * faces.el (face-list): Fix docstring (bug#9564).
9655
8d28cb95
SM
9656 * window.el (display-buffer--action-function-custom-type):
9657 Don't include internal functions in the Custom interface.
9658
3820edeb
JL
96592011-09-20 Juri Linkov <juri@jurta.org>
9660
9661 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9662 (Info-forward-node, Info-backward-node, Info-next-preorder)
9663 (Info-last-preorder): Use it. (Bug#9528)
9664
5147931d
JL
96652011-09-20 Juri Linkov <juri@jurta.org>
9666
9667 * info.el (Info-last-preorder): Visit last menu item only when
9668 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9669
cf499a1a
JD
96702011-09-20 Julien Danjou <julien@danjou.info>
9671
9672 * password-cache.el (password-cache-remove): Remove entries even if the
9673 value is nil, so that password with a nil value (negative caching) is
9674 possible to invalidate.
9675
f84e2fe2
LM
96762011-09-20 Lawrence Mitchell <wence@gmx.li>
9677
9678 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9679 all whitespace around breakpoint. (Bug#9553)
9680 (f90-find-breakpoint): Only break at whitespace inside a comment.
9681
78054a46
SM
96822011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * minibuffer.el (completion-file-name-table): Keep track of errors.
9685 (completion-table-with-predicate): Handle the case where pred1 is nil.
9686 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9687
345083b2
SM
96882011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9689
e24e27be
SM
9690 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9691 (debugger-return-value): Signal an error if the debugging context does
9692 not await any return value.
9693
345083b2
SM
9694 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9695 * image-mode.el (image-toggle-display-text)
9696 (image-toggle-display-image): Stay away from evil `intangible'.
9697
08d355e3
LL
96982011-09-19 Leo Liu <sdl.web@gmail.com>
9699
9700 * replace.el (occur-revert-arguments): Make it permanent-local.
9701 (occur-mode): Don't call font-lock-defontify.
9702
f01da43f
CY
97032011-09-19 Chong Yidong <cyd@stupidchicken.com>
9704
9705 * net/ldap.el (ldap-search-internal): Don't push empty search
9706 result (Bug#9508).
9707
b6072fa6
SM
97082011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9709
9710 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9711
443d6696
MA
97122011-09-19 Michael Albinus <michael.albinus@gmx.de>
9713
9714 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9715 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9716
7cc6e154
JL
97172011-09-18 Juri Linkov <juri@jurta.org>
9718
9719 * buff-menu.el (Buffer-menu-mode-map):
9720 * dired.el (dired-mode-map):
9721 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9722 (lisp-interaction-mode-map):
9723 * emacs-lisp/package.el (package-menu-mode-map):
9724 * epa.el (epa-key-list-mode-map):
9725 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9726 (menu-bar-options-menu):
9727 * outline.el (outline-mode-menu-bar-map):
9728 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9729 * vc/vc-dir.el (vc-dir-menu-map):
9730 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9731 Capitalize non-function content words in menu item strings.
9732
9733 * dired.el (dired-mode-map): Add menu item for
9734 `image-dired-dired-toggle-marked-thumbs'.
9735
80302a81
JL
97362011-09-18 Juri Linkov <juri@jurta.org>
9737
9738 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9739 to `isearch-case-fold-search' and restore its original value
9740 after the `isearch-mode' call.
9741
46c5cf66
JL
97422011-09-18 Juri Linkov <juri@jurta.org>
9743
9744 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9745 because `zgrep' returns 1 for successful matches (bug#9226).
9746
d18b513b
JL
97472011-09-18 Juri Linkov <juri@jurta.org>
9748
9749 * info.el (Info-extract-menu-node-name): Check the second match
9750 for empty string (second test-case of bug#9528).
9751 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9752 intermediate nodes to the history (first test-case of bug#9528).
9753
72753f87
JL
97542011-09-18 Juri Linkov <juri@jurta.org>
9755
9756 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9757 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9758
c9384295
JL
97592011-09-18 Juri Linkov <juri@jurta.org>
9760
1154d12e
JB
9761 * info.el (Info-file-supports-index-cookies):
9762 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9763 outputs one more line for long file names (bug#4142).
c9384295 9764
d473dce8
CY
97652011-09-18 Chong Yidong <cyd@stupidchicken.com>
9766
9767 * newcomment.el (comment-normalize-vars): If prompting for
9768 comment-start, set comment-start-skip too (Bug#8424).
9769
2176854d
JB
97702011-09-18 Johan Bockgård <bojohan@gnu.org>
9771
9772 * icomplete.el: Fix previous fix of Bug#5849.
9773 (icomplete-mode): Don't set completion-show-inline-help.
9774 (icomplete-minibuffer-setup): Set completion-show-inline-help
9775 locally during icompletion.
9776
3aace4e4
CY
97772011-09-18 Chong Yidong <cyd@stupidchicken.com>
9778
c940224f
CY
9779 * woman.el (woman2-process-escapes): Don't delete unrecognized
9780 escapes (Bug#7843).
9781
3aace4e4
CY
9782 * files.el (inhibit-first-line-modes-regexps): Add image files.
9783 (hack-local-variables-prop-line): Return nil for malformed
9784 prop-lines (Bug#9044).
9785
710dec63
MA
97862011-09-18 Michael Albinus <michael.albinus@gmx.de>
9787
9788 * net/tramp.el (top): Don't require 'shell.
9789 (tramp-methods): Fix docstring.
9790 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9791 Return complete remote file name. Handle "smb" case.
9792 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9793 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9794
9795 * net/tramp-compat.el (top): Require 'shell.
9796
9797 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9798 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9799 `tramp-current-host'.
9800 (tramp-get-remote-tmpdir): Remove.
9801
9802 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9803 `tramp-tmpdir' entries.
9804 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9805 (tramp-smb-handle-file-attributes): Ignore errors.
9806 (tramp-smb-wait-for-output): Check also for process end.
9807
5d5ac8ec
LMI
98082011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9809
9810 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9811 when sending QUIT (bug#9312).
9812
8c0f49f0
CY
98132011-09-17 Chong Yidong <cyd@stupidchicken.com>
9814
9815 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9816 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9817 occur-mode-display-occurrence.
9818 (occur-edit-mode): Add usage message.
9819 (occur-cease-edit): New command.
9820 (occur-after-change-function): Use text properties to find the
9821 position of the prefix text.
9822 (occur-engine): Set stickiness of prefix text properties.
9823
8f1383f7
GM
98242011-09-17 Glenn Morris <rgm@gnu.org>
9825
9826 * progmodes/etags.el (complete-tag):
9827 Fix call to completion-in-region. (Bug#9526)
9828
744ba0e3
JL
98292011-09-17 Juri Linkov <juri@jurta.org>
9830
9831 * textmodes/ispell.el (ispell-word): Add to the error message
9832 the word, ispell program name and current dictionary (bug#9121).
9833 (ispell-tex-arg-end): Capitalize "error" in the error message.
9834
d9bbf400
AS
98352011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9836
9837 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9838 check. (Bug#4251)
9839
8da11505
JL
98402011-09-17 Juri Linkov <juri@jurta.org>
9841
9842 * window.el (window-safe-min-height, window-safe-min-width):
9843 Fix typos (followup to bug#9522).
9844
a91adc7e
SJ
98452011-09-17 Sven Joachim <svenjoac@gmx.de>
9846
9847 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9848
064f328a
EZ
98492011-09-16 Eli Zaretskii <eliz@gnu.org>
9850
9851 * simple.el (line-move): If goal-column is set, move by logical
9852 lines, not by display lines. (Bug#971)
9853 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9854 to reflect the above change.
9855
e69df516
SM
98562011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9857
9858 * image.el (imagemagick-register-types): Use regexp-opt.
9859
cbb0f9ab
CY
98602011-09-15 Chong Yidong <cyd@stupidchicken.com>
9861
9862 * window.el (display-buffer-base-action): Rename from
9863 display-buffer-default-action. Make default value empty.
9864 (display-buffer-overriding-action): Convert to defvar.
9865 (display-buffer-fallback-action): New var.
9866
25322144
CY
98672011-09-15 Chong Yidong <cyd@stupidchicken.com>
9868
9869 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9870 declaration.
9871 (package--add-to-archive-contents): If there is a duplicate entry
9872 with an older version, remove it.
9873 (package-menu-mark-delete, package-menu-mark-install)
9874 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9875 (package-menu-mark-obsolete-for-deletion):
9876 Use package-menu-get-status instead of a regexp search.
25322144
CY
9877 (package-menu-get-status): Use tabulated-list-entry.
9878 (package-menu-mark-upgrades): New command.
d770725a 9879 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9880 (package-menu-execute): Do installation before deletion.
9881 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9882 instead of checking major-mode.
9883 (package-menu--find-upgrades): New function.
9884
7520339c
LMI
98852011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9886
9887 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9888 passwords in the log buffer.
65a046c4
LMI
9889 (smtpmail-process-filter): Update the process marker so that the
9890 "broken by peer" status message is inserted in the right place.
7520339c 9891
d3c30954
SM
98922011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9893
3fe48822
SM
9894 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9895 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9896 bibtex-completion-at-point-function.
9897 (bibtex-completion-at-point-function): Use them.
9898
1b8b3954
SM
9899 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9900
d3c30954
SM
9901 * mpc.el (mpc-constraints-tag-lookup): New function.
9902 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9903 also to browser "album|playlist".
9904
72779976
JL
99052011-09-14 Juri Linkov <juri@jurta.org>
9906
9907 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9908 (isearch-edit-string): Use length of `isearch-string' when
9909 `isearch-fail-pos' returns nil.
9910 (isearch-message): Remove duplicate code and call
9911 `isearch-fail-pos' with arg `t'.
9912
a0bf2bcd
CY
99132011-09-14 Chong Yidong <cyd@stupidchicken.com>
9914
17bb0a2d
CY
9915 * replace.el (occur-mode-goto-occurrence): Don't force using other
9916 window (Bug#9499).
9917
a0bf2bcd
CY
9918 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9919
f678e0b6
MR
99202011-09-14 Martin Rudalics <rudalics@gmx.at>
9921
9922 * window.el (display-buffer-window): Remove.
9923 (display-buffer-record-window): Use help-setup window parameter
9924 instead of variable display-buffer-window.
9925 (display-buffer-function, special-display-buffer-names)
9926 (special-display-function): Mention help-setup parameter instead
9927 of display-buffer-window in doc-string.
d3c30954
SM
9928 * help.el (help-window-setup): New argument help-window.
9929 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9930 Reword some messages.
9931 (with-help-window): Pass window used for displaying the buffer
9932 to help-window-setup. Don't set display-buffer-window.
9933
8e39b2e8
GM
99342011-09-13 Glenn Morris <rgm@gnu.org>
9935
9936 * emacs-lisp/debug.el (debugger-make-xrefs):
9937 Preserve point. (Bug#9462)
9938
85e9c04b
CY
99392011-09-13 Chong Yidong <cyd@stupidchicken.com>
9940
9941 * window.el (window-deletable-p): Use next-frame.
9942
1b36ed6a
MR
99432011-09-13 Martin Rudalics <rudalics@gmx.at>
9944
9945 * window.el (window-auto-delete): Remove.
9946 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9947 dedication and previous buffers.
1b36ed6a
MR
9948 (switch-to-prev-buffer): Don't delete window.
9949 (delete-windows-on): Delete a window's frame if and only if the
9950 window is dedicated.
9951 (replace-buffer-in-windows): Delete buffer's window or frame if
9952 and only if window is dedicated.
9953 (quit-window): Handle quit-restore as before last change.
4d61f28d 9954 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9955
ef8ef9fb
CY
99562011-09-13 Chong Yidong <cyd@stupidchicken.com>
9957
9958 * window.el (window-deletable-p): Never delete the last frame on a
9959 given terminal.
9960
b2cba41e
GM
99612011-09-13 Glenn Morris <rgm@gnu.org>
9962
9963 * help.el (describe-key-briefly): Copy previous standard-output change.
9964
51553db6 99652011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9966
9967 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9968
b7556719
GM
99692011-09-13 Glenn Morris <rgm@gnu.org>
9970
9971 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9972 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9973
64b51947
CY
99742011-09-12 Chong Yidong <cyd@stupidchicken.com>
9975
9976 * dired-aux.el (dired-mark-read-string): Don't return default
9977 value on empty input (Bug#9361).
9978 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9979 Omit initial minibuffer contents.
9980 (dired-do-chmod): Signal an error on empty input.
9981 (dired-mark-read-string): Don't return default on empty input.
9982
9983 * files.el (file-modes-symbolic-to-number): Doc fix.
9984
393a301e
SM
99852011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 * international/mule-cmds.el (ucs-completions): Remove.
9988 (read-char-by-name): Use complete-with-action instead; add metadata.
9989
fa5660f9
CY
99902011-09-11 Chong Yidong <cyd@stupidchicken.com>
9991
9992 * window.el (display-buffer--action-function-custom-type)
9993 (display-buffer--action-custom-type): New vars.
9994 (display-buffer-alist, display-buffer-default-action)
9995 (display-buffer-overriding-action): Add defcustom types.
9996
4a592f66
CY
9997 * frame.el (delete-other-frames): Doc fix (Bug#276).
9998
73d56dbd
LMI
99992011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10000
10001 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10002
37ac18a3
CY
100032011-09-11 Chong Yidong <cyd@stupidchicken.com>
10004
10005 Change modes that used same-window-* vars to use switch-to-buffer.
10006
10007 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10008 Use switch-to-buffer.
10009
10010 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10011 (customize-browse, custom-buffer-create-other-window):
10012 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10013
10014 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10015 (Info-prev, Info-up, Info-speedbar-goto-node)
10016 (info-display-manual): Use switch-to-buffer.
10017 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10018
10019 * mail/sendmail.el (mail): Use switch-to-buffer.
10020 (mail-recover): Use switch-to-buffer-other-window.
10021
10022 * cmuscheme.el (run-scheme, switch-to-scheme):
10023 * ielm.el (ielm):
10024 * shell.el (shell):
10025 * net/rlogin.el (rlogin):
10026 * net/telnet.el (telnet, rsh):
10027 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10028
10195bd6
AS
100292011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10030
10031 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10032
b322f63a
LMI
100332011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10034
39d7fed6
LMI
10035 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10036 so don't mention it (bug#9301).
ba5a81f1 10037 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10038
ee0e9f11
LMI
10039 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10040 match `x', `w32' and `ns', like the manual says (bug#9029).
10041
0b1c89c1 10042 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10043 (process-kill-buffer-query-function): Mention the buffer name in
10044 the query.
0b1c89c1 10045
77549ea8
LMI
10046 * image-mode.el (image-next-line): The line parameter is mandatory
10047 (bug#9258).
10048
803ef892
LMI
10049 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10050 which can be useful (bug#9301).
10051
12980837
LMI
10052 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10053
91054f8f
LMI
10054 * subr.el (match-string): Mention that the current buffer should
10055 be the same as the search was done in (bug#9282).
10056
b322f63a
LMI
10057 * facemenu.el: Disable the remove-* commands if the mark isn't
10058 active (bug#9162).
10059
3199b96f
CY
100602011-09-10 Chong Yidong <cyd@stupidchicken.com>
10061
10062 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10063 of display-buffer.
10064 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10065
10066 * replace.el (occur-mode-goto-occurrence)
10067 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10068 and display-buffer.
10069
10070 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10071 display-buffer.
10072
10073 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10074 special-display and same-window variables.
10075 (mail-other-window): Use switch-to-buffer-other-window.
10076 (mail-other-frame): USe switch-to-buffer-other-frame.
10077
393a301e
SM
10078 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10079 Use display-buffer-other-frame.
3199b96f
CY
10080 (gdb-display-gdb-buffer): Use pop-to-buffer.
10081
10082 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10083
10084 * progmodes/python.el: Don't set same-window-buffer-names.
10085
10086 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10087
10088 * window.el (display-buffer-alist): Add *Python*.
10089
8319e0bf
CY
100902011-09-10 Chong Yidong <cyd@stupidchicken.com>
10091
10092 * window.el (display-buffer-alist): Add entry for buffers
10093 previously handled same-window-*.
10094 (display-buffer-alist, display-buffer-default-action)
10095 (display-buffer-overriding-action): Mark as risky.
10096 (display-buffer-alist): Document action function changes.
10097 (display-buffer--same-window-action)
10098 (display-buffer--other-frame-action): New variables.
10099 (switch-to-buffer, display-buffer-other-frame): Use them.
10100 (display-buffer): Rename reuse-frame entry to reusable-frames.
10101 (display-buffer-reuse-selected-window): Function deleted.
10102 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10103 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10104 (display-buffer-special): New function.
10105 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10106 display-buffer-reuse-or-pop-window. Split off special-display
10107 part into display-buffer-special.
10108 (display-buffer-use-some-window): Don't perform any special
10109 pop-up-frames handling.
10110 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10111 (display-buffer--maybe-same-window): Rename from
0d3ff375 10112 display-buffer-maybe-same-window.
8319e0bf 10113
919a69aa
CY
10114 * info.el: Don't set same-window-regexps.
10115 (info-setup): New function.
10116 (info-other-window, info): Call it.
10117
10118 * cus-edit.el: Don't set same-window-regexps.
10119 (customize-group): New argument.
10120 (customize-group-other-window): Use it.
10121 (customize-face, customize-face-other-window): Likewise.
10122 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10123
8319e0bf
CY
10124 * net/rlogin.el:
10125 * net/telnet.el:
10126 * progmodes/gud.el: Don't set same-window-regexps.
10127
10128 * cmuscheme.el:
10129 * ielm.el:
10130 * shell.el:
10131 * mail/sendmail.el:
10132 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10133
25173000
JL
101342011-09-10 Juri Linkov <juri@jurta.org>
10135
10136 * isearch.el (isearch-edit-string): Remove obsolete mention of
10137 `C-w' (`isearch-yank-word-or-char') from docstring.
10138 (isearch-query-replace): Fix typo in docstring (bug#9466).
10139
056e44ef
JL
101402011-09-10 Juri Linkov <juri@jurta.org>
10141
10142 * paren.el (show-paren-function): Don't show escaped parens.
10143 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10144
c3760c17
EZ
101452011-09-10 Eli Zaretskii <eliz@gnu.org>
10146
10147 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10148 (mm-default-file-encoding): Remove autoload forms, they are
10149 replaced with autoload cookies in mml.el and mm-encode.el.
10150 (mail-add-attachment): New command.
10151 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10152 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10153 the doc string.
10154 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10155
fece895e
RT
101562011-09-10 Reuben Thomas <rrt@sc3d.org>
10157
e69df516
SM
10158 * simple.el (count-words-region): Use buffer if there's no region
10159 (bug#9429).
fece895e 10160
5e68ce4a
JL
101612011-09-09 Juri Linkov <juri@jurta.org>
10162
10163 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10164 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10165 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10166
0a6b9622
AM
101672011-09-09 Alan Mackenzie <acm@muc.de>
10168
10169 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10170 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10171
14a29deb
EZ
101722011-09-09 Eli Zaretskii <eliz@gnu.org>
10173
10174 Fix for Savannah bug#9392.
10175 * simple.el (mail-encode-mml): New defvar.
10176
10177 * mail/rmail.el (mail-encode-mml): Add a defvar.
10178 (rmail-enable-mime-composing): Default to t.
10179 (rmail-forward): Use MIME method of forwarding only if both
10180 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10181 Set mail-encode-mml non-nil if the MIME method was used.
10182
10183 * mail/sendmail.el (mml-to-mime): Add autoload form.
10184 (mail-encode-mml): Add a defvar.
10185 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10186 to nil.
10187 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10188 message through mml-to-mime, and reset mail-encode-mml to nil.
10189
28c45130
GM
101902011-09-09 Glenn Morris <rgm@gnu.org>
10191
10192 * woman.el (woman-if-body): When processing an .el block,
10193 do not delete the next .el block as well. (Bug#9447)
69f4b618 10194 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10195
9b1c252e
MR
101962011-09-08 Martin Rudalics <rudalics@gmx.at>
10197
10198 * window.el (window-deletable-p): Make sure window is live before
10199 invoking window-prev-buffers.
10200
567457e3
LL
102012011-09-08 Leo Liu <sdl.web@gmail.com>
10202
10203 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10204
97f05794
JL
102052011-09-08 Juri Linkov <juri@jurta.org>
10206
10207 * progmodes/compile.el (compilation-environment): Make it
10208 a defcustom (bug#8340).
10209
8b0874b5
MR
102102011-09-08 Martin Rudalics <rudalics@gmx.at>
10211
10212 * window.el (frame-auto-delete): Rename to window-auto-delete.
10213 Make it control auto-deletion of windows and/or frames.
10214 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10215 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10216 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10217 Rewrite handling of case when window/frame can be deleted.
10218 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10219 argument t. (Bug#9456)
8b0874b5 10220
4feb6e73
CY
102212011-09-07 Chong Yidong <cyd@stupidchicken.com>
10222
10223 * help-mode.el (help-mode): Restore autoload.
10224
91ab9c13
JL
102252011-09-07 Juri Linkov <juri@jurta.org>
10226
10227 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10228 `compilation-environment'. Set buffer-local
10229 `compilation-environment' to `thisenv' later after (funcall mode).
10230 (Bug#8340)
10231
10232 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10233 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10234 instead of replacing its value. (Bug#8340)
10235
0527e251
JL
102362011-09-07 Juri Linkov <juri@jurta.org>
10237
10238 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10239 based on text properties put by `grep-filter' instead of matching
10240 escape sequences.
10241 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10242 to the value of `grep-error-screen-columns' (bug#9438).
10243
249f792c
JL
102442011-09-07 Juri Linkov <juri@jurta.org>
10245
10246 * simple.el (next-error-highlight, next-error-highlight-no-select):
10247 Doc fix (bug#9432).
10248
ff7271b9
OT
102492011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10250
10251 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10252 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10253
183fc730
LL
102542011-09-07 Leo Liu <sdl.web@gmail.com>
10255
10256 * net/rcirc.el (rcirc-mode): Conditionally initialize
10257 rcirc-input-ring.
10258
77694924
SM
102592011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * emacs-lisp/find-func.el (find-function-C-source): Only set
10262 find-function-C-source-directory after checking that we found a source
10263 file there (bug#9440).
10264
d809b8eb
AM
102652011-09-06 Alan Mackenzie <acm@muc.de>
10266
10267 * isearch.el (isearch-other-meta-char): Wherever a key list is
10268 unread, "unread" the prefix arg, too. This fixes bug #8901.
10269
453de99f
OG
102702011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10271
10272 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10273
90439906
JL
102742011-09-05 Juri Linkov <juri@jurta.org>
10275
10276 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10277
f62bd846
JL
102782011-09-05 Juri Linkov <juri@jurta.org>
10279
10280 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10281 keeping point where processing of grep matches begins, and
10282 continue to delete remaining escape sequences from the same point.
10283 (grep-filter): Make leading zero optional in "0?1;31m" because
10284 git-grep emits "\033[1;31m" escape sequences unlike expected
10285 "\033[01;31m" as GNU Grep does (bug#9408).
10286 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10287
045820ec
JL
102882011-09-05 Juri Linkov <juri@jurta.org>
10289
10290 * subr.el (y-or-n-p): Capitalize "yes".
10291
f5e29b9b
MA
102922011-09-04 Michael Albinus <michael.albinus@gmx.de>
10293
10294 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10295 `tramp-cache-unload-hook' where appropriate.
10296 (tramp-methods): Rename `tramp-remote-sh' to
10297 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10298 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10299
10300 * net/tramp-sh.el (top): Don't require 'shell.
10301 (tramp-methods): Add `tramp-remote-shell' and
10302 `tramp-remote-shell-args' entries.
10303 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10304 (tramp-sh-handle-shell-command): Remove.
10305 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10306 Use `tramp-remote-shell'.
10307
2784c434
CY
103082011-09-03 Chong Yidong <cyd@stupidchicken.com>
10309
393a301e 10310 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10311 (sendmail-query-once): Save directly to send-mail-function.
10312 Update message-send-mail-function too.
10313
10314 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10315
464cdf56
CS
103162011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10317
10318 * progmodes/python.el (python-mode-map): Use correct function to
10319 start python interpreter from menu-bar (as reported by Geert
10320 Kloosterman).
10321 (inferior-python-mode-map): Fix typo.
393a301e 10322 (python-shell-map): Remove.
464cdf56 10323
d37e5c87
DD
103242011-09-03 Deniz Dogan <deniz@dogan.se>
10325
10326 * net/rcirc.el (rcirc-print): Simplify code for
10327 rcirc-scroll-show-maximum-output. There is no need to walk
10328 through all windows to find the right one.
10329
f3ada0ee
CS
103302011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10331
10332 * help.el (help-return-method): Doc fix.
10333
1f3c99ca
MR
103342011-09-03 Martin Rudalics <rudalics@gmx.at>
10335
10336 * window.el (window-deletable-p): Don't return a non-nil value
10337 when there's a buffer that was shown in the window before.
10338 (Bug#9419)
393a301e
SM
10339 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10340 Set window's previous buffers to nil.
1f3c99ca 10341
a3cf097f
EZ
103422011-09-03 Eli Zaretskii <eliz@gnu.org>
10343
10344 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10345 newline before and after the tag line, so it doesn't interfere
10346 with determining the paragraph direction of bidirectional text.
10347
3d03de90
LL
103482011-09-03 Leo Liu <sdl.web@gmail.com>
10349
10350 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10351
c3313451
CY
103522011-09-02 Chong Yidong <cyd@stupidchicken.com>
10353
393a301e 10354 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10355 (pop-to-buffer): Change interactive spec. Pass second argument
10356 directly to display-buffer.
10357 (display-buffer): Fix interactive spec. Use functionp to
10358 distinguish between a function and a list of functions.
10359
10360 * abbrev.el (edit-abbrevs):
10361 * arc-mode.el (archive-extract):
10362 * autoinsert.el (auto-insert):
10363 * bookmark.el (bookmark-bmenu-list):
10364 * files.el (find-file):
10365 * view.el (view-buffer):
10366 * progmodes/compile.el (compilation-goto-locus):
10367 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10368
89894cd8
CY
103692011-09-02 Chong Yidong <cyd@stupidchicken.com>
10370
10371 * window.el (display-buffer-alist): Doc fix.
10372 (display-buffer): Add docstring. Don't treat
10373 display-buffer-default specially.
10374 (display-buffer-reuse-selected-window)
10375 (display-buffer-same-window, display-buffer-maybe-same-window)
10376 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10377 (display-buffer-pop-up-window)
10378 (display-buffer-reuse-or-pop-window)
10379 (display-buffer-use-some-window): New functions.
10380 (display-buffer-default-action): Use them.
393a301e 10381 (display-buffer-default): Delete.
89894cd8
CY
10382 (pop-to-buffer-1): Fix choice of actions.
10383
ae0bc9fb
SM
103842011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * minibuffer.el (completion--insert-strings): Don't get confused by
10387 completion entries that end with an LF char.
10388
e9d90883
EZ
103892011-09-01 Eli Zaretskii <eliz@gnu.org>
10390
10391 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10392
437014c8
CY
103932011-09-01 Chong Yidong <cyd@stupidchicken.com>
10394
10395 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10396 (display-buffer-same-window, display-buffer-other-window):
10397 New functions.
437014c8
CY
10398 (pop-to-buffer-1): New function. Use the above.
10399 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10400 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10401
10402 * view.el (view-buffer-other-window, view-buffer-other-frame):
10403 Just use pop-to-buffer.
10404
a5e063d5
TV
104052011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10406
10407 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10408
793d32bb
WH
104092011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10410
10411 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10412
d65e4c15
RS
104132011-08-31 Richard Stallman <rms@gnu.org>
10414
10415 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10416 of the separation of rmail-view-buffer from rmail-buffer.
10417 If you say no to "replace original", the decrypt is in the
10418 view buffer. If you say yes, the decrypt goes into the
10419 rmail buffer also.
10420
f818cd2a
MR
104212011-08-31 Martin Rudalics <rudalics@gmx.at>
10422
10423 * window.el (display-buffer-window): Rewrite doc-string.
10424 (display-buffer-record-window): New function.
10425 (display-buffer-macro-specifiers)
10426 (display-buffer-even-window-sizes, display-buffer-set-height)
10427 (display-buffer-set-width, display-buffer-in-window)
10428 (display-buffer-reuse-window, display-buffer-split-specifiers)
10429 (display-buffer-side-specifiers, display-buffer-split-window-1)
10430 (display-buffer-split-window, display-buffer-split-atom-window)
10431 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10432 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10433 (display-buffer-other-window-means-other-frame)
10434 (display-buffer-normalize-special)
10435 (display-buffer-normalize-default)
10436 (display-buffer-normalize-argument)
10437 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10438 (display-buffer-normalize-specifiers, display-buffer-frame)
10439 (display-buffer-same-window, display-buffer-same-frame)
10440 (display-buffer-other-window)
10441 (display-buffer-same-frame-other-window)
10442 (display-buffer-other-frame, pop-to-buffer-same-window)
10443 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10444 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10445 (switch-to-buffer-same-frame)
10446 (switch-to-buffer-other-window-same-frame)
10447 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10448 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10449 (display-buffer-alist-set): Remove.
10450 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10451 (special-display-regexps, special-display-function):
10452 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10453 parameter.
10454 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10455 (special-display-frame-alist, special-display-popup-frame)
10456 (same-window-buffer-names, same-window-regexps, same-window-p)
10457 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10458 (split-window-preferred-function, split-height-threshold)
10459 (split-width-threshold, window-splittable-p)
10460 (split-window-sensibly, window--try-to-split-window)
10461 (window--frame-usable-p, even-window-heights)
10462 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10463 (window--display-buffer-2, display-buffer-other-frame):
10464 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10465 (display-buffer-default, display-buffer-assq-regexp): New functions.
10466 (display-buffer-alist): Rewrite doc-string.
10467 (display-buffer-default-action)
10468 (display-buffer-overriding-action): New variables.
10469 (display-buffer, switch-to-buffer): Rewrite.
10470 (pop-to-buffer): Restore Emacs 23 behavior but use
10471 window-normalize-buffer-to-display.
10472 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10473 Restore Emacs 23 behavior but use
10474 window-normalize-buffer-to-switch-to.
10475 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10476 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10477 Rewrite using Emacs 23 options.
f818cd2a 10478
5bc3b51d
MA
104792011-08-31 Michael Albinus <michael.albinus@gmx.de>
10480
10481 * net/tramp.el (tramp-root-regexp): Remove.
10482 (tramp-completion-file-name-regexp-unified)
10483 (tramp-completion-file-name-regexp-separate)
10484 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10485 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10486 (tramp-drop-volume-letter): Simplify definition.
10487 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10488
b1a4f8e1
SM
104892011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10492 (bug#9356).
10493
5664fa7b
RT
104942011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10495
b1a4f8e1 10496 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10497
9a45d6c3
JL
104982011-08-29 Juri Linkov <juri@jurta.org>
10499
10500 * isearch.el (isearch-done): Don't display message "Mark saved"
10501 when arg `edit' is non-nil to prevent its flicker in the echo area.
10502
fb87e0fb
CY
105032011-08-28 Chong Yidong <cyd@stupidchicken.com>
10504
10505 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10506 obsolete packages for deletion.
10507
09ac1c2a
CS
105082011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10509
10510 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10511 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10512 view-mode from help-mode.
10513 (help-xref-override-view-map): Remove.
10514 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10515 view-mode is not used anymore.
10516
7a1ff57f
CY
105172011-08-28 Chong Yidong <cyd@stupidchicken.com>
10518
10519 * server.el (server-port): Doc fix.
10520
b9696605
CY
10521 * cus-theme.el (custom-theme-choose-mode): Inherit from
10522 special-mode (Bug#9124).
10523 (custom-theme-choose-mode-map): Add special-mode to parent.
10524
ef8cdf8c
AM
105252011-08-28 Alan Mackenzie <acm@muc.de>
10526
10527 * progmodes/cc-fonts.el
10528 (c-make-font-lock-BO-decl-search-function): New function.
10529 (c-basic-matchers-after - "Fontify the clauses after various
10530 keywords"): Extract the three keyword lists for the 3 erroneous
10531 constructs from the list of four, and use the new function above
10532 in place of an old one.
10533
27de4e20
DD
105342011-08-28 Deniz Dogan <deniz@dogan.se>
10535
10536 * net/rcirc.el (rcirc-insert-prev-input)
10537 (rcirc-insert-next-input): Remove unused argument.
10538
356a3681
SM
105392011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10542
3fc9b218
AM
105432011-08-27 Alan Mackenzie <acm@muc.de>
10544
10545 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10546 handle function pointer parameters properly.
10547
538a061c
MR
105482011-08-27 Martin Rudalics <rudalics@gmx.at>
10549
10550 * window.el (display-buffer-reuse-window): Fix case where
10551 selected window was reused with non-nil OTHER-WINDOW argument.
10552 (Bug#9381)
10553
35b1c40c
DD
105542011-08-27 Deniz Dogan <deniz@dogan.se>
10555
10556 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10557 oftc's NickServ messages.
10558
2f6a3e79
GM
105592011-08-27 Glenn Morris <rgm@gnu.org>
10560
10561 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10562
7254299e
CY
105632011-08-26 Chong Yidong <cyd@stupidchicken.com>
10564
10565 * emacs-lisp/package.el (package-install): Call package-initialize
10566 if called interactively.
10567
f8ccf167
LL
105682011-08-26 Leo Liu <sdl.web@gmail.com>
10569
10570 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10571
3e8cd5ce
JL
105722011-08-25 Juri Linkov <juri@jurta.org>
10573
10574 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10575 `search-whitespace-regexp' (bug#9364).
10576
93eb7113
JL
105772011-08-25 Juri Linkov <juri@jurta.org>
10578
10579 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10580 `regexp-search-ring' to their global values to protect from
10581 updating by `read-from-minibuffer' (bug#9185).
10582
f65d1611
JL
105832011-08-25 Juri Linkov <juri@jurta.org>
10584
10585 * textmodes/ispell.el (ispell-command-loop): Add newline
10586 at the end of the "Use option `i'..." line.
10587
f1cf7a31
JL
105882011-08-25 Juri Linkov <juri@jurta.org>
10589
10590 * battery.el (display-battery-mode): If `battery-status-function'
10591 or `battery-mode-line-format' is nil, display the message and set
10592 `display-battery-mode' to nil (bug#9363).
10593
0c95fcf7
EZ
105942011-08-25 Eli Zaretskii <eliz@gnu.org>
10595
10596 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10597 bidi-string-mark-left-to-right; they are unnecessary now.
10598
a2ebe600
DD
105992011-08-25 Deniz Dogan <deniz@dogan.se>
10600
10601 * net/quickurl.el: Documentation typo fixes.
10602
e4ed06f1
CY
106032011-08-25 Chong Yidong <cyd@stupidchicken.com>
10604
10605 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10606
e5f1c99e
GM
106072011-08-25 Glenn Morris <rgm@gnu.org>
10608
b2948976
GM
10609 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10610
e5f1c99e
GM
10611 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10612 (smtpmail-via-smtp): Handle nil response from smtp.
10613
f22f4808
JL
106142011-08-24 Juri Linkov <juri@jurta.org>
10615
10616 * proced.el (proced-marked): Inherit from `error' instead of
10617 `font-lock-warning-face'.
10618
10619 * ibuffer.el (ibuffer-marked-face): Change default face from
10620 `font-lock-warning-face' to `warning'.
10621 (ibuffer-deletion-face): Change default face from
10622 `font-lock-type-face' to `error'.
10623
10624 * battery.el (battery-update): Use the face `error' instead of
10625 `font-lock-warning-face' (bug#6117).
10626
6a93965e
JL
106272011-08-24 Juri Linkov <juri@jurta.org>
10628
10629 * faces.el (success): Change face color from "Green3" to
10630 "ForestGreen" on light background (bug#9353).
10631
1ed43b09
CY
106322011-08-24 Chong Yidong <cyd@stupidchicken.com>
10633
5664fa7b
RT
10634 * window.el (quit-window): Rename from quit-restore-window.
10635 Use same arglist as old quit-window.
1ed43b09
CY
10636 (frame-auto-delete): Doc fix.
10637
10638 * view.el (view-mode-exit): Use quit-window.
10639
11dcdbb2
JL
106402011-08-24 Juri Linkov <juri@jurta.org>
10641
10642 * isearch.el (isearch-ring-adjust1): Start visiting previous
10643 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10644 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10645 for empty search string (when the last search string is reused
10646 automatically) to adjust the isearch ring to the last element and
10647 prepare the correct index for further M-p commands (bug#9185).
10648
de62b4df
KH
106492011-08-24 Kenichi Handa <handa@m17n.org>
10650
10651 * international/ucs-normalize.el: If decomposition property of
10652 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10653 nil.
10654 (nfd, nfkd): Likewise.
10655
963b492b
SM
106562011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10659 from process filters aren't reliably transmitted to the surrounding
10660 accept-process-output.
10661 (mpc-proc-check): New function.
10662 (mpc-proc-sync): Use it (bug#8293)
10663
93b6b5e1
SM
106642011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10667 Add compatibility functions (bug#9313).
10668
bca633fb
EZ
106692011-08-23 Eli Zaretskii <eliz@gnu.org>
10670
b177498a
EZ
10671 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10672
6df6ae42 10673 * international/uni-bidi.el: Regenerate.
bca633fb 10674
0902a04e
KH
106752011-08-23 Kenichi Handa <handa@m17n.org>
10676
10677 * international/charprop.el:
10678 * international/uni-bidi.el:
10679 * international/uni-category.el:
10680 * international/uni-combining.el:
10681 * international/uni-comment.el:
10682 * international/uni-decimal.el:
10683 * international/uni-decomposition.el:
10684 * international/uni-digit.el:
10685 * international/uni-lowercase.el:
10686 * international/uni-mirrored.el:
10687 * international/uni-name.el:
10688 * international/uni-numeric.el:
10689 * international/uni-old-name.el:
10690 * international/uni-titlecase.el:
10691 * international/uni-uppercase.el: Regenerate.
10692
3bbf23bc
MR
106932011-08-23 Martin Rudalics <rudalics@gmx.at>
10694
10695 * help.el (help-window-setup): Fix message displayed when other
10696 window is reused. (Bug#9341)
10697
b3fd59bd
SM
106982011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10699
1802e444
SM
10700 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10701 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10702
b3fd59bd
SM
10703 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10704 Mark obsolete.
10705 * shell.el (shell-parse-pcomplete-arguments): New function.
10706 (shell-completion-vars): Use it instead (bug#9160).
10707
4eb61348
SM
107082011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10709
867cab74
SM
10710 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10711 strings and comments (bug#9333).
10712
4eb61348
SM
10713 * emacs-lisp/debug.el (debug-arglist): New function.
10714 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10715 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10716
262a1439
JL
107172011-08-22 Juri Linkov <juri@jurta.org>
10718
56ee679c
JL
10719 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10720 Revert regexp that highlights output switches to its old
10721 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10722
262a1439
JL
10723 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10724 to check for empty output (bug#9226).
10725
f13f86fb
CY
107262011-08-22 Chong Yidong <cyd@stupidchicken.com>
10727
10728 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10729 symbol-constituent as the default, as that stops font-lock from
10730 working properly (Bug#8843).
10731
c65c9622
LMI
107322011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10733
10734 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10735 `coding-system-for-*' around the process open call to avoid
10736 auth-source side effects.
e7f2c178 10737 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10738 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10739 probe hangs.
c65c9622 10740
23a8a5ab
CY
107412011-08-21 Chong Yidong <cyd@stupidchicken.com>
10742
ff98b2dd
CY
10743 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10744
23a8a5ab
CY
10745 * emacs-lisp/find-func.el (find-function-noselect): New arg
10746 lisp-only.
10747
10748 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10749 signal an error for built-in functions (Bug#6664).
10750
f5e3c598
LMI
107512011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10752
10753 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10754 (smtpmail-try-auth-methods): Use it.
10755
a3f2468a
CY
107562011-08-21 Chong Yidong <cyd@stupidchicken.com>
10757
2c34e8da
CY
10758 * font-lock.el (font-lock-fontify-region)
10759 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10760 (font-lock-default-unfontify-buffer)
10761 (font-lock-default-fontify-region)
10762 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10763
b3fd59bd
SM
10764 * progmodes/compile.el (compilation-error-properties):
10765 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10766 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10767 `ant' regexp.
ee31aabc 10768
a3f2468a
CY
10769 * net/browse-url.el (browse-url-firefox): Don't call
10770 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10771
8e999f70
GM
107722011-08-20 Glenn Morris <rgm@gnu.org>
10773
c21a496a
GM
10774 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10775
59ee0542
GM
10776 * tutorial.el (tutorial--default-keys): Update some default bindings.
10777
8e999f70
GM
10778 * files.el (hack-local-variables): Fully ignore case for "mode:".
10779
e3715033
AM
107802011-08-20 Alan Mackenzie <acm@muc.de>
10781
10782 Resolve invalid use of a regexp in regexp-opt.
10783
4d61f28d
JB
10784 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10785 detection for a java annotation.
e3715033 10786
4d61f28d 10787 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10788 detection for a java annotation.
10789
4d61f28d
JB
10790 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10791 handling for java.
e3715033
AM
10792 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10793
04ed2e9c
CY
107942011-08-20 Chong Yidong <cyd@stupidchicken.com>
10795
10796 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10797 (Bug#9274).
10798
826cee64
AM
107992011-08-20 Alan Mackenzie <acm@muc.de>
10800
58179cce 10801 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10802 such a construct. Mainly for when jit-lock etc. starts a chunk
10803 here.
10804
58179cce 10805 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10806 variable.
58179cce 10807 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10808 c-make-font-lock-search-function.
10809 (c-make-font-lock-search-function): Use the above function.
10810 (c-make-font-lock-context-search-function): New function.
10811 (c-cpp-matchers): Enhance the preprocessor expression case with
10812 the above function
10813 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10814 which takes an expression.
10815
10816 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10817
13009bd8
MR
108182011-08-20 Martin Rudalics <rudalics@gmx.at>
10819
10820 * window.el (display-buffer-reuse-window)
10821 (display-buffer-pop-up-window): Don't reuse or split a side
10822 window.
10823
9234ff7f
GM
108242011-08-19 Glenn Morris <rgm@gnu.org>
10825
10826 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10827 Downcase "Mode:". (Bug#9331)
9234ff7f 10828
f635daa1
CY
108292011-08-18 Chong Yidong <cyd@stupidchicken.com>
10830
10831 * international/characters.el: Add L and R categories.
10832
10833 * subr.el (bidi-string-mark-left-to-right): Rename from
10834 string-mark-left-to-right. Use category search.
10835
10836 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10837
bc987f8b
JL
108382011-08-18 Juri Linkov <juri@jurta.org>
10839
10840 * faces.el (error, warning, success): New faces with definitions
10841 copied from old default values of `font-lock-warning-face',
10842 `compilation-warning', `compilation-info' (bug#6117).
10843
10844 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10845
10846 * progmodes/compile.el (compilation-error): Inherit from `error'.
10847 (compilation-warning): Inherit from `warning'.
10848 (compilation-info): Inherit from `success'.
10849
10850 * dired.el (dired-marked): Inherit from `warning'.
10851 (dired-flagged): Inherit from `error'.
10852
57173b96
LMI
108532011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10854
3e79eb87
LMI
10855 * mail/smtpmail.el (auth-source): Require to avoid problems with
10856 binding variables (bug#9298). Also clean up some unused
10857 autoloads.
10858
b3fd59bd
SM
10859 * net/network-stream.el (network-stream-open-starttls):
10860 Support using starttls.el without using gnutls-cli.
57173b96 10861
02b404de
JL
108622011-08-17 Juri Linkov <juri@jurta.org>
10863
10864 * progmodes/grep.el (rgrep): Handle the case when
10865 `grep-find-command' is a cons cell (bug#9278).
10866
8c9177f2
MR
108672011-08-17 Martin Rudalics <rudalics@gmx.at>
10868
10869 * window.el (display-buffer-pop-up-frame): Run frame creation
10870 function with BUFFER current (as special-display-popup-frame
10871 does). Reported by Drew Adams.
10872
3644a0ab
DU
108732011-08-17 Daiki Ueno <ueno@unixuser.org>
10874
10875 * epa-mail.el: Simplify GnuPG group expansion using
10876 epg-expand-group.
10877 (epa-mail-group-alist, epa-mail-group-modtime)
10878 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10879 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10880 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10881 Remove.
10882
5e617bc2 108832011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10884
10885 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10886
9c4aeabf
AM
108872011-08-16 Alan Mackenzie <acm@muc.de>
10888
10889 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10890 Correct, to avoid the inside of macros.
10891
3a99bf64
RS
108922011-08-16 Richard Stallman <rms@gnu.org>
10893
04963aa8
RS
10894 * epa-mail.el: Handle GnuPG group definitions.
10895 (epa-mail-group-alist, epa-mail-group-modtime)
10896 (epa-mail-gnupg-conf-file): New variables.
10897 (epa-mail-parse-groups, epa-mail-sync-groups)
10898 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10899 (epa-mail-expand-recipients): New functions.
10900 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10901
177549d0
RS
10902 * mail/rmail.el (rmail-epa-decrypt): New command.
10903
fe38beef
RS
10904 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10905 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10906 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10907 (epa-decrypt-armor-in-region): Make error message clearer.
10908
934eacb9
SM
109092011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10910
10911 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10912 and "a2b" to "ab" for `prefix'.
10913
d024fb4e
CY
109142011-08-14 Chong Yidong <cyd@stupidchicken.com>
10915
10916 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10917 filter groups.
de148fee
CY
10918 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10919 Fourquet (Bug#8804).
d024fb4e 10920
62f1ca49
JB
109212011-08-12 Juanma Barranquero <lekktu@gmail.com>
10922
10923 * startup.el (argi): Declare as global variable (bug#9275).
10924
9ccaaa4b
CY
109252011-08-12 Chong Yidong <cyd@stupidchicken.com>
10926
10927 * subr.el (string-mark-left-to-right): Search the entire string
10928 for RTL script, not just the terminating character. Doc fix.
10929
a3dae87a
SM
109302011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10931
6cd18349
SM
10932 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10933 New function.
10934 (js--regexp-literal, js-syntax-propertize-function): Remove.
10935 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10936 (js-mode-map): Don't rebind electric keys.
10937 (js-insert-and-indent): Remove.
10938 (js-mode): Setup electric-layout and electric-indent instead.
10939
a3dae87a
SM
10940 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10941
9d5cb631
DU
109422011-08-12 Daiki Ueno <ueno@unixuser.org>
10943
10944 * epa.el (epa-progress-callback-function): Fix the logic of
10945 displaying progress.
10946 * epa-file.el (epa-file-insert-file-contents): Make progress
10947 display more user-friendly.
10948 (epa-file-write-region): Ditto.
10949
3e26a4a2
CY
109502011-08-10 Chong Yidong <cyd@stupidchicken.com>
10951
10952 * subr.el (string-mark-left-to-right): New function.
10953
10954 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10955 Use string-mark-left-to-right.
10956 (list-buffers-noselect): Caller changed.
10957
a3dae87a
SM
10958 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10959 Use string-mark-left-to-right.
3e26a4a2
CY
10960 (tabulated-list-print): Recenter after moving point.
10961
ac8cf6e6
JL
109622011-08-10 Juri Linkov <juri@jurta.org>
10963
10964 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10965 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10966 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10967
8d96c9a4
CY
109682011-08-09 Chong Yidong <cyd@stupidchicken.com>
10969
10970 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10971 (Bug#7554).
10972
7be1c708 109732011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10974
10975 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10976 character. (Bug#6594)
10977
37e11a63
CY
109782011-08-08 Chong Yidong <cyd@stupidchicken.com>
10979
839dde57
CY
10980 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10981 (image-dired--with-db-file): New macro.
10982 (image-dired-write-tags, image-dired-remove-tag)
10983 (image-dired-create-gallery-lists, image-dired-write-comments)
10984 (image-dired-get-comment, image-dired-mark-tagged-files)
10985 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10986 (image-dired-gallery-generate): Use insert-file-contents.
10987
37e11a63
CY
10988 * time.el (display-time-world-list, display-time-world-display):
10989 * time-stamp.el (time-stamp-string):
10990 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10991 set-time-zone-rule (Bug#7337).
10992
0b4946c4
DU
109932011-08-08 Daiki Ueno <ueno@unixuser.org>
10994
10995 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10996 (epg-error-to-string, epg-errors-to-string): New function.
10997 (epg-wait-for-completion): Reverse errors list.
10998 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10999 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11000 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11001 (epg-sign-keys, epg-generate-key-from-file)
11002 (epg-generate-key-from-string): Format errors by using
11003 epg-errors-to-string (bug#9255).
11004 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11005
75bfc667
JL
110062011-08-07 Juri Linkov <juri@jurta.org>
11007
11008 * faces.el (list-faces-display): Remove extra angle bracket
11009 from `help-mode-map'.
11010
11011 * info.el (Info-history-toc-nodes): Doc fix.
11012
11013 * longlines.el (longlines-mode): Doc fix.
11014
673e08bb
SM
110152011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11016
4640dd88
SM
11017 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11018 of statements and in a few more cases (bug#9183).
11019
673e08bb
SM
11020 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11021 New functions.
11022 (cl-transform-lambda): Use them (bug#9239).
11023
89b3f019
MR
110242011-08-05 Martin Rudalics <rudalics@gmx.at>
11025
11026 * window.el (display-buffer-same-window)
11027 (display-buffer-same-frame, display-buffer-other-window)
11028 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11029 (pop-to-buffer-other-window)
11030 (pop-to-buffer-same-frame-other-window)
11031 (pop-to-buffer-other-frame): Make them defuns.
11032 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11033
640c8776
SM
110342011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * subr.el (make-composed-keymap): Move from C. Change calling
11037 convention, and improve docstring to bring attention to a subtle point.
11038 * minibuffer.el (completing-read-default): Adjust accordingly.
11039
63648a95
MA
110402011-08-03 Michael Albinus <michael.albinus@gmx.de>
11041
11042 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11043 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11044
11045 * net/trampver.el: Update release number.
11046
b796c9b7
SM
110472011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11050 "in" (bug#9190).
11051
2239d7d5
LMI
110522011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11053
e07dd7c3
LMI
11054 * mail/sendmail.el (sendmail-query-once): Restore the current
11055 buffer after querying (bug#9074).
11056
0e6a2bd7
LMI
11057 * dired.el (dired-flagged): Use different faces for marked and
11058 flagged files (bug#6117).
11059
ce887515
LMI
11060 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11061 (bug#4433).
11062
92f2affc
LMI
11063 * ido.el (ido-mode): Switch off the message if called
11064 non-interactively.
11065
57d5aff0
LMI
11066 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11067 before 587, since it appears that that's more likely to work for
11068 more people.
11069
98cd6c18 11070 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11071 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11072 exist.
11073
b96dec83
LMI
11074 * info.el: Remove the `Info-beginning-of-buffer' function
11075 (bug#8325).
11076
b796c9b7
SM
11077 * net/network-stream.el (network-stream-open-starttls):
11078 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11079
d90e2ea0
MR
110802011-08-01 Martin Rudalics <rudalics@gmx.at>
11081
11082 * window.el (display-buffer-in-window): Don't set dedicated status
11083 of window here (Bug#9215).
11084 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11085 (display-buffer-pop-up-side-window)
b796c9b7 11086 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11087
cca09170
SM
110882011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11091 before binding generated-autoload-file.
11092
027b979c
DD
110932011-08-01 Deniz Dogan <deniz@dogan.se>
11094
11095 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11096
3c7ee4f3
MA
110972011-07-30 Michael Albinus <michael.albinus@gmx.de>
11098
11099 Sync with Tramp 2.2.2.
11100
11101 * net/trampver.el: Update release number.
11102
2cc8e51a
JL
111032011-07-30 Juri Linkov <juri@jurta.org>
11104
11105 * dired-aux.el (dired-touch-initial): Remove function.
11106 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11107 current time, and `default' to the last modification time of the
11108 current marked file (bug#6887).
11109
a514d856
JM
111102011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11111
11112 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11113 numeric argument to read-number (bug#9163).
a514d856 11114
8a7eddd7
MA
111152011-07-27 Michael Albinus <michael.albinus@gmx.de>
11116
11117 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11118 connection process, it could be nil.
11119
1ddd96f5
LL
111202011-07-27 Leo Liu <sdl.web@gmail.com>
11121
11122 Simplify url handling in rcirc-mode.
11123
11124 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11125 (rcirc-browse-url-at-mouse): Remove.
11126 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11127
b248a85d
AM
111282011-07-26 Alan Mackenzie <acm@muc.de>
11129
11130 Fontify bitfield declarations properly.
11131
11132 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11133 (c-symbol-chars): Now exported as a lang variable.
11134 (c-not-primitive-type-keywords): New lang variable.
11135
11136 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11137 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11138 parsed as a bitfield declaration.
b248a85d 11139
b796c9b7
SM
11140 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11141 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11142 (c-punctuation-in): New function.
11143 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11144 declarations properly.
11145
68575ab0
UJ
111462011-07-26 Ulf Jasper <ulf.jasper@web.de>
11147
11148 * calendar/icalendar.el (icalendar--all-events): Take care of
11149 multiple vcalendars in a single file.
b796c9b7 11150 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11151
0f0a88b9
DD
111522011-07-25 Deniz Dogan <deniz@dogan.se>
11153
11154 * image.el (insert-image): Clarifying docstring.
11155
0b3f36df
MA
111562011-07-24 Michael Albinus <michael.albinus@gmx.de>
11157
11158 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11159 `tramp-send-command-and-check' if there is no error.
11160 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11161
a9901f61
AM
111622011-07-22 Alan Mackenzie <acm@muc.de>
11163
11164 Prevent cc-langs.elc being loaded at run time.
11165
11166 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11167 cc-langs.
11168
4d61f28d 11169 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11170 "(require 'cc-langs)". Quote a form so it will evaluate at
11171 (cc-mode's) compilation time.
11172
11d074b2
MA
111732011-07-22 Michael Albinus <michael.albinus@gmx.de>
11174
11175 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11176 loading. (Bug#9114)
11177
938b94c8
MR
111782011-07-21 Martin Rudalics <rudalics@gmx.at>
11179
11180 * window.el (display-buffer-pop-up-window)
11181 (display-buffer-pop-up-side-window)
11182 (display-buffer-in-side-window): Call display-buffer-set-height
11183 and display-buffer-set-width after setting the new window's
b796c9b7 11184 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11185
bfa4f190
SS
111862011-07-20 Sam Steingold <sds@gnu.org>
11187
11188 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11189 (etags-tags-included-tables): Call `convert-standard-filename' on
11190 the file names contained in TAGS so that windows Emacs can handle
11191 TAGS files created by cygwin ctags.
11192
8ca42262
LMI
111932011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11194
11195 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11196 which apparently didn't work.
11197
5db2afd2 111982011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11199
5db2afd2
RW
11200 * proced.el (proced-send-signal): For *Marked Processes* buffer
11201 put point at beginning of buffer.
11202
92e15d10
SB
112032011-07-19 Stephen Berman <stephen.berman@gmx.net>
11204
11205 * proced.el (proced-format): Make header lines align with the text
11206 (bug#1779).
11207
1bfd59e5
LMI
112082011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11209
11210 * view.el (view-buffer): Allow running in `special' modes if we're
11211 visiting a file (bug#8615).
11212
f5aae37c
MR
112132011-07-19 Martin Rudalics <rudalics@gmx.at>
11214
11215 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11216 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11217 New functions.
f5aae37c
MR
11218 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11219 more accurately.
11220
bf2c1571
AM
112212011-07-18 Alan Mackenzie <acm@muc.de>
11222
11223 Fontify declarators properly when, e.g., a jit-lock chunk begins
11224 inside a declaration.
11225
11226 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11227
b796c9b7
SM
11228 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11229 New function.
bf2c1571
AM
11230 (c-complex-decl-matchers): Insert reference to
11231 c-font-lock-enclosing-decls.
11232
11233 * progmodes/cc-engine.el (c-backward-single-comment):
11234 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11235 to nil around calls to (forward-comment -1).
11236
4e190b80
LMI
112372011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11238
12dc863d
LMI
11239 * image.el (put-image): Doc typo fix.
11240
a762e966
LMI
11241 * progmodes/etags.el (tags-search): Doc typo fix.
11242
4e190b80
LMI
11243 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11244 password if we get errors 550 to 554.
11245
f019fb21
LMI
112462011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11247
b796c9b7 11248 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11249
81746738
LMI
11250 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11251 indentation character (bug#6380).
11252
3ee3a1b5
LMI
11253 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11254
c82f64de
LMI
11255 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11256 to clarify what the problem is (bug#4291).
11257
f019fb21
LMI
11258 * simple.el (current-kill): Clarify what
11259 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11260 (auto-fill-mode): Document `auto-fill-function' in relation to
11261 `auto-fill-mode' (bug#2470).
f019fb21 11262
0794775d
LM
112632011-07-16 Lawrence Mitchell <wence@gmx.li>
11264
11265 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11266 method if slot is read-only (bug#9035).
11267
be39b8cc
MR
112682011-07-16 Martin Rudalics <rudalics@gmx.at>
11269
b796c9b7 11270 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11271 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11272 selected before, see discussion of (Bug#8615), (Bug#6954).
11273 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11274
6ccf7859
GM
112752011-07-15 Glenn Morris <rgm@gnu.org>
11276
11277 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11278 Respect help-form.
6ccf7859 11279
87e86684
LM
112802011-07-09 Lawrence Mitchell <wence@gmx.li>
11281
11282 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11283 (gnutls-negotiate): Use it.
11284
d6066239
LMI
112852011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11286
b796c9b7
SM
11287 * net/gnutls.el (gnutls-negotiate):
11288 Upcase `gnutls-algorithm-priority'.
d6066239 11289
bd23ebc0
GM
112902011-07-15 Glenn Morris <rgm@gnu.org>
11291
c65bca65
GM
11292 * jka-compr.el (jka-compr-verbose): Move from here...
11293 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11294 Add missing :version tag.
11295 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11296
478615cc
LMI
112972011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11298
7b41decb
LMI
11299 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11300 (gnutls-negotiate): Use it.
11301
dbc44fcd
LMI
11302 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11303
06789f97
LMI
11304 * info.el (Info-beginning-of-buffer): New command.
11305 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11306 announcing `b' as the key (bug#8325).
ab896c37 11307 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11308
c39da690
LMI
11309 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11310
3aa5f34b
LMI
11311 * international/mule-cmds.el
11312 (describe-specified-language-support): Make the error message
11313 clearer (bug#8905).
11314
4bf0979f
LMI
11315 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11316
478615cc
LMI
11317 * isearch.el (isearch-barrier): Add a doc string, since it's
11318 mentioned in a function doc string (bug#8678).
11319
75c68aa1
MR
113202011-07-15 Martin Rudalics <rudalics@gmx.at>
11321
11322 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11323 buffer argument (Bug#9083) and self-identifying label argument.
11324
a7c33da2
GM
113252011-07-15 Glenn Morris <rgm@gnu.org>
11326
11327 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11328
2f5c6024
LMI
113292011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11330
11331 * man.el (Man-fontify-manpage): Fix message when formatting the
11332 man page (bug#7929).
11333
0bb23927 113342011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11335
11336 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11337 argument LRM; if non-nil, append an invisible LRM character to the
11338 buffer name.
11339 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11340 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11341 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11342 paragraph direction.
cce4b0a7 11343
621ef9ab
LMI
113442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11345
d1583c48
LMI
11346 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11347 the man page name (bug#7929).
11348
6a57fb5f
LMI
11349 * image.el (put-image): Mention the `put-image' overlay property
11350 (bug#7834).
11351
d7956b14
LMI
11352 * scroll-bar.el (set-scroll-bar-mode): Mention that
11353 `scroll-bar-mode' lists the values (bug#7772).
11354
5b2d4a66
LMI
11355 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11356 command (bug#7729).
11357
7509a874
LMI
11358 * rect.el (apply-on-rectangle): Return the point after the last
11359 operation.
11360 (string-rectangle): Go to the point after the last operation
11361 (bug#7522).
11362
4fe74b19
LMI
11363 * printing.el (pr-toggle-region): Clarify the documentation
11364 slightly (bug#7493).
11365
b796c9b7
SM
11366 * time.el (display-time-update):
11367 Allow `display-time-mail-function' to return nil (bug#7158).
11368 Fix suggested by Detlev Zundel.
ab283561 11369
fc233c9d
LMI
11370 * vc/diff.el (diff): Clarify the order the file names are read
11371 (bug#7111).
11372
43f5740b
LMI
11373 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11374 the doc string (bug#7015).
11375
f2182a76
LMI
11376 * font-lock.el (font-lock-maximum-decoration): Mention what
11377 numeric levels mean (bug#6935).
11378
621ef9ab
LMI
11379 * startup.el (initial-buffer-choice): Don't mention the `none'
11380 selection, which is against policy.
11381
adc47434
MR
113822011-07-14 Martin Rudalics <rudalics@gmx.at>
11383
b796c9b7
SM
11384 * window.el (display-buffer-normalize-special):
11385 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11386
7e5bfb8f
EZ
113872011-07-14 Eli Zaretskii <eliz@gnu.org>
11388
11389 * subr.el (version<, version<=, version=): Mention "-CVS" and
11390 "-12345" alpha version numbers.
11391
27fa387a
CY
113922011-07-14 Chong Yidong <cyd@stupidchicken.com>
11393
11394 * bindings.el: Add advertised binding for set-mark-command
11395 (Bug#5772).
11396
8bdfa064
CY
113972011-07-14 Chong Yidong <cyd@stupidchicken.com>
11398
11399 * bindings.el (mode-line-other-buffer):
11400 * bookmark.el (bookmark-bmenu-2-window):
11401 * bs.el (bs-cycle-next, bs-cycle-previous):
11402 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11403 switch-to-buffer.
11404
11405 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11406 Delete.
8bdfa064 11407
5eba16a3
JB
114082011-07-14 Juanma Barranquero <lekktu@gmail.com>
11409
11410 * follow.el (follow-debug-message, follow-redisplay):
11411 * jka-cmpr-hook.el (with-auto-compression-mode):
11412 Fix typos in docstrings.
11413
15853710
LMI
114142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11415
a28e4607
LMI
11416 * subr.el (with-silent-modifications): Clarify somewhat what the
11417 macro inhibits (bug#6525).
11418
15853710
LMI
11419 * simple.el (eval-expression): Note what it does if called
11420 interactively (bug#6495).
11421
bee0fcef
CY
114222011-07-13 Chong Yidong <cyd@stupidchicken.com>
11423
b796c9b7
SM
11424 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11425 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11426
11427 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11428 Remove switch-to-buffer.
11429
58274504
LMI
114302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11431
bd2fcc8d
LMI
11432 * files.el (make-directory): Clarify that an error will be raised
11433 if there's an error (bug#6397).
11434
0f04b32c
LMI
11435 * startup.el (initial-buffer-choice): Add `none' as a choice
11436 (bug#6234).
11437
465c5fc8
LMI
11438 * subr.el (add-hook): Clarify section about buffer-local hooks
11439 (bug#6218).
11440
58274504
LMI
11441 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11442
bead9a43
JB
114432011-07-13 Juanma Barranquero <lekktu@gmail.com>
11444
11445 * tabify.el (untabify): Preserve the current column so that point
11446 doesn't move (bug#6032).
11447
3af98a7b
LMI
114482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11449
b796c9b7
SM
11450 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11451 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11452
6240145a
GM
114532011-07-13 Glenn Morris <rgm@gnu.org>
11454
11455 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11456 (dired-insert-directory): Give a message the first time
11457 if ls is found not to support --dired.
11458
1d8c2ccc
LMI
114592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11460
11461 * simple.el (toggle-truncate-lines): Clarify what is toggled
11462 (bug#5580). Text by Drew Adams.
11463
5fc4038e
CY
114642011-07-13 Chong Yidong <cyd@stupidchicken.com>
11465
11466 * simple.el (blink-matching-open): Make the error message from the
11467 last change less verbose.
11468
bf6012e5
DN
114692011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11470
11471 * font-lock.el (font-lock-comment-face): Use the high contrast
11472 "yellow" color for font-lock-comment-face on low color terminals
11473 using a dark background color (bug#4221).
11474
343c3b5a
LMI
114752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11476
7e9505c5
LMI
11477 * dired.el (dired-insert-set-properties): Make the doc string
11478 reflect what it does now (bug#5325).
11479
c26fdcf5
LMI
11480 * simple.el (blink-matching-open): Say that we were unable to find
11481 the match within the limit, if we're limited (bug#5122).
11482
bb388cc5
LMI
11483 * international/mule-cmds.el (prefer-coding-system): Add an
11484 example (bug#4869).
11485
343c3b5a
LMI
11486 * progmodes/etags.el (tags-search): Document `file-list-form'
11487 (bug#4731).
11488
2a517d45
LM
114892011-07-13 Lawrence Mitchell <wence@gmx.li>
11490
11491 * net/browse-url.el (browse-url-default-browser)
11492 (browse-url-browser-function): Make the default browser choice a
11493 bit more logical (bug#4300). Also clean up the doc string.
11494
b6c78ef2
JB
114952011-07-13 Juanma Barranquero <lekktu@gmail.com>
11496
11497 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11498 binary endings (bug#4440).
11499
1c4dd947
LMI
115002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11501
a2014063
LMI
11502 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11503 which can be pretty annoying (bug#8971).
11504
9c9c2d88
LMI
11505 * jka-compr.el (jka-compr-verbose): New variable, and use
11506 throughout (bug#8971).
11507
1c4dd947
LMI
11508 * info.el (Info-find-file): Fall back on the installation
11509 directory if we can't find the info node anywhere else.
11510
a1c9f41b
SO
115112011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11512
11513 * vc/vc.el (vc-revert-file):
11514 Don't set file time-stamp in the past. (Bug#5181)
11515
536f3d36
LMI
115162011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11517
7152b011
LMI
11518 * files.el (after-find-file): Give a better error message when
11519 trying to find a symlink that points to a file that doesn't exist
11520 (bug#4398).
11521
536f3d36
LMI
11522 * progmodes/cc-vars.el: Remove (probably) misleading comment
11523 (bug#4396).
11524
460c0fba
JB
115252011-07-12 Johan Bockgård <bojohan@gnu.org>
11526
11527 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11528
7a6bda45
CY
115292011-07-12 Chong Yidong <cyd@stupidchicken.com>
11530
11531 * mouse-sel.el: Hack restoring functionality, while keeping
11532 compatibility with 2010-07-03 changes to mouse selection.
11533 (mouse-sel-primary-overlay): New var.
11534 (mouse-sel-selection-alist): Use it.
11535 (mouse-sel-mode): Doc fix; remove points that are default features
11536 of mouse.el.
11537
c79598ef
JB
115382011-07-12 Johan Bockgård <bojohan@gnu.org>
11539
11540 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11541 Fix previous fix (bug#2490).
11542
ff8be6ef
RW
115432011-07-12 Roland Winkler <winkler@gnu.org>
11544
b796c9b7
SM
11545 * textmodes/bibtex.el (bibtex-initialize):
11546 Use pop-to-buffer-same-window.
ff8be6ef
RW
11547 (bibtex-search-entries): Fix interactive call.
11548
296ba3ee
LMI
115492011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11550
f5242a02 11551 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11552 Fontise bytecomp Error lines more correctly (bug#2490).
11553 Fix suggested by Johan Bockgård.
f5242a02 11554
296ba3ee
LMI
11555 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11556
11557 * dired-x.el (dired-guess-default): Use `delete-dups'.
11558
f69fd0d2
CY
115592011-07-12 Chong Yidong <cyd@stupidchicken.com>
11560
11561 * dired.el (dired-mark-prompt):
11562 * dired-aux.el (dired-read-shell-command): Doc fix.
11563
eab5dc07
LMI
115642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11565
b796c9b7
SM
11566 * mail/sendmail.el (sendmail-query-once):
11567 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11568 emacs -Q.
11569
11570 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11571
eab5dc07
LMI
11572 * cus-edit.el (custom-file): Take an optional no-error variable.
11573 (customize-save-variable): Set the variable, and give a warning if
11574 running under "emacs -q".
11575
a1e65d42
JB
115762011-07-11 Juanma Barranquero <lekktu@gmail.com>
11577
11578 * loadhist.el (unload-feature-special-hooks):
11579 Add `auto-coding-functions', `fill-nobreak-predicate' and
11580 `find-directory-functions' (bug#5327).
11581
1d52da10
LMI
115822011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11583
be958f1d
LMI
11584 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11585
5bedb26c
LMI
11586 * cus-edit.el (custom-guess-name-alist): -alist variables should
11587 use the `alist' type (bug#3120). Suggested by Drew Adams.
11588
1d52da10
LMI
11589 * printing.el: Add documentation to all the `pr-toggle-' commands.
11590
cd394be1 115912011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11592
11593 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11594 backends where it makes sense (bug#2623).
11595
dcc88d8a
LMI
115962011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11597
c3de9feb
LMI
11598 * dired-x.el (dired-guess-default): Remove duplicate shell command
11599 entries (bug#2028).
8a93078b 11600 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11601 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11602
dcc88d8a
LMI
11603 * subr.el (remove-duplicates): New conveniency function.
11604
505e3645
LMI
116052011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11606
11607 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11608 (bug#1526).
11609
116102011-07-10 Martin Rudalics <rudalics@gmx.at>
11611
11612 * window.el (display-buffer-normalize-default): Don't invert
11613 meaning of even-window-heights. Reported by Eli Zaretskii
11614 <eliz@gnu.org>.
11615
455e4fa1
BR
116162011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11617
11618 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11619
8e0bc3e9
CY
116202011-07-10 Chong Yidong <cyd@stupidchicken.com>
11621
11622 * window.el (display-buffer): Fix arguments to
11623 display-buffer-reuse-window in last change.
11624
fa7c3228
CY
11625 * faces.el (link): Use a less saturated blue on light backgrounds.
11626
11627 * startup.el (fancy-startup-text, fancy-about-text)
11628 (fancy-startup-tail): Use font-lock faces, for background safety.
11629
c0a7f300
BN
116302011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11631
b796c9b7
SM
11632 * emulation/viper-cmd.el (viper-change-state-to-vi):
11633 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11634
4dc2a129
MR
116352011-07-09 Martin Rudalics <rudalics@gmx.at>
11636
11637 * window.el (display-buffer-default-specifiers): Remove.
11638 (display-buffer-macro-specifiers): Remove default specifiers.
11639 (display-buffer-alist): Default to nil.
b796c9b7 11640 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11641 (display-buffer-pop-up-window): Allow splitting internal
11642 windows. Check whether a live window was created.
11643 (display-buffer-other-window-means-other-frame)
11644 (display-buffer-normalize-arguments): Rename to
11645 display-buffer-normalize-argument and rewrite. Set the
11646 other-window specifier.
11647 (display-buffer-normalize-special): New function.
11648 (display-buffer-normalize-options): Rename to
11649 display-buffer-normalize-default and rewrite.
11650 (display-buffer-normalize-options-inhibit): Remove.
11651 (display-buffer-normalize-specifiers): Rewrite.
11652 (display-buffer): Process other-window specifier and call
11653 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11654 more faithfully.
b796c9b7 11655 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11656 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11657 (display-buffer-in-window, display-buffer-alist-set):
11658 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11659 <tassilo@member.fsf.org>.
11660
2d43b8c9
LL
116612011-07-09 Leo Liu <sdl.web@gmail.com>
11662
11663 * register.el (insert-register): Restore accidental change on
11664 2011-06-26. (Bug#9028)
11665
7f9b7c53
GM
116662011-07-09 Glenn Morris <rgm@gnu.org>
11667
11668 * subr.el (remq): Handle the empty list. (Bug#9024)
11669
f042cfd8
AS
116702011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11671
11672 * mail/sendmail.el (send-mail-function): No longer delay custom
11673 initialization.
11674 * custom.el (custom-initialize-delay): Doc fix.
11675
856b2f11
SM
116762011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11677
11678 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11679
afae1d68
MA
116802011-07-08 Michael Albinus <michael.albinus@gmx.de>
11681
11682 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11683 human-friendly prompt.
11684
0757af94
SM
116852011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11686
11687 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11688 provided by a particular plugin.
11689
d760b731
LMI
116902011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11691
11692 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11693 save customizations (with "emacs -Q"), just set the variable
11694 instead of erroring out.
11695
11696 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11697
cd79ce90
JL
116982011-07-08 Juri Linkov <juri@jurta.org>
11699
11700 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11701 (archive-zip-update-case): Use 7z if found by `executable-find'.
11702 The order of searching the available programs is the same as in
11703 `archive-zip-extract' (bug#8968).
11704
14cc04aa
CY
117052011-07-07 Chong Yidong <cyd@stupidchicken.com>
11706
11707 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11708 (menu-bar-options-menu): Tweak descriptions.
11709
0a1848ec
LMI
117102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11711
11712 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11713 menu items into verb phrases (bug#1421). Also refill to fit under
11714 80 columns.
11715
f5bd0689
CY
117162011-07-07 Chong Yidong <cyd@stupidchicken.com>
11717
538e85c6
CY
11718 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11719 (Info-read-node-name): Doc fix (Bug#1084).
11720
f5bd0689
CY
11721 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11722 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11723 (end-of-sexp, beginning-of-sexp)
11724 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11725 (forward-symbol, forward-same-syntax, word-at-point)
11726 (sentence-at-point): Doc fix (Bug#1144).
11727
56ec5115
LMI
117282011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11729
f3f8e37f
LMI
11730 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11731 should cover it (bug#1281).
11732
0757af94 11733 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11734
e9fce1ac 11735 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11736 negotiation fails, then possibly try again with a non-encrypted
11737 connection (bug#9017).
11738
56ec5115
LMI
11739 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11740 be used.
11741
c2f9aec8
RS
117422011-07-07 Richard Stallman <rms@gnu.org>
11743
11744 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11745 property, and handle its changed format.
11746 Look for the correct line number.
11747 Use file's line contents (but not past first =) to find
11748 correct line in message.
11749
ef7b981d 117502011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11751
11752 * international/characters.el (build-unicode-category-table):
11753 Delete it.
0757af94 11754 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11755
0757af94 11756 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11757 to src/chartab.c.
11758 (get-char-code-property): Call unicode-property-table-internal to
11759 load a file. Call get-unicode-property-internal where necessary.
11760 (put-char-code-property): Call unicode-property-table-internal to
11761 load a file. Call put-unicode-property-internal where necessary.
11762 put-unicode-property-internal where necessary.
0757af94
SM
11763 (char-code-property-description):
11764 Call unicode-property-table-internal to load a file.
c805dec0
KH
11765
11766 * international/charprop.el:
11767 * international/uni-bidi.el:
11768 * international/uni-category.el:
11769 * international/uni-combining.el:
11770 * international/uni-comment.el:
11771 * international/uni-decimal.el:
11772 * international/uni-decomposition.el:
11773 * international/uni-digit.el:
11774 * international/uni-lowercase.el:
11775 * international/uni-mirrored.el:
11776 * international/uni-name.el:
11777 * international/uni-numeric.el:
11778 * international/uni-old-name.el:
11779 * international/uni-titlecase.el:
11780 * international/uni-uppercase.el: Regenerate.
11781
11782 * loadup.el: Load international/charprop.el before
11783 international/characters.
11784
e14b388a
CY
117852011-07-07 Chong Yidong <cyd@stupidchicken.com>
11786
11787 * window.el (next-buffer, previous-buffer): Signal an error if
11788 called from a minibuffer window.
11789
11790 * bindings.el: Revert 2011-07-04 change.
11791
354cf0ba
RS
117922011-07-06 Richard Stallman <rms@gnu.org>
11793
11794 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11795 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11796 Treat markers like ints.
11797 (rmail-mime-entity): Doc fix.
11798
a48868a7
LMI
117992011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11800
4906cd3d
LMI
11801 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11802 defcustom again for backwards compatibility.
11803
e0457abe
LMI
11804 * simple.el (shell-command-on-region): Fill.
11805
d67f7e1f
LMI
11806 * dired-aux.el (dired-kill-line): Add a doc string.
11807
fe204702
LMI
11808 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11809 to "\\sw\\|\\s_" (bug#358).
11810
a48868a7
LMI
11811 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11812 (dired-unmark-backward): Ditto.
11813 (dired-flag-backup-files): Ditto.
11814
11815 * dired-x.el (dired-mark-sexp): Ditto.
11816
aa8a705c
RS
118172011-07-06 Richard Stallman <rms@gnu.org>
11818
11819 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11820 (rmail-mime-entity): New arg TRUNCATED.
11821 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11822 New functions.
11823 (rmail-mime-save): Warn if entity is truncated.
11824 (rmail-mime-toggle-hidden): Likewise, for showing.
11825 (rmail-mime-process-multipart): Record when an entity is truncated.
11826
a9a936b9
RS
11827 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11828 if ENTITY is a string.
11829
1f2b92cb
LMI
118302011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11831
f4f73198 11832 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11833 of faces when `M-C-x'-ing their definitions (bug#8378).
11834 Also clean up the code slightly.
f4f73198 11835
12b16734 11836 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11837 because that makes the colors go away.
12b16734 11838
f0691d22
LMI
11839 * mail/sendmail.el (send-mail-function): Change the default to
11840 `sendmail-query-once'.
9e87df06 11841 (sendmail-query-once): Add an autoload cookie.
f0691d22 11842
1f2b92cb
LMI
11843 * net/network-stream.el (network-stream-open-starttls): Try using
11844 a plain connection even if the server offered STARTTLS, and we
11845 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11846 capability. This should make smtpmail.el work in slightly more
11847 configurations.
11848
1cdd2a1b
MA
118492011-07-06 Michael Albinus <michael.albinus@gmx.de>
11850
11851 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11852 New defun.
11853 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11854
fbcc67e2
MM
118552011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11856
11857 * progmodes/sql.el: Version 3.0
0757af94 11858 (sql-product-alist): Add product :completion-object,
fbcc67e2 11859 :completion-column, and :statement attributes.
0757af94 11860 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11861 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11862 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11863 ansi keywords.
11864 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11865 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11866 (sql-oracle-show-reserved-words): New function for development.
11867 (sql-product-font-lock): Simplify for source code buffers.
11868 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11869 New functions.
11870 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11871 (sql-mode-map): Add statement movement functions.
11872 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11873 New variable.
fbcc67e2
MM
11874 (sql-statement-regexp, sql-beginning-of-statement)
11875 (sql-end-of-statement, sql-signum): New functions.
0757af94 11876 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11877 (sql-show-sqli-buffer): Bug fix.
11878 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11879 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11880 with sql-interactive-mode.
11881 (sql-save-connection): Save buffer local settings.
0757af94 11882 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11883 (sql-product-interactive): Bug fix.
11884 (sql-preoutput-hold): New variable.
11885 (sql-interactive-remove-continuation-prompt): Bug fixes.
11886 (sql-debug-redirect): New variable.
11887 (sql-str-literal): New function.
11888 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11889 Redesign.
fbcc67e2
MM
11890 (sql-oracle-save-settings, sql-oracle-restore-settings)
11891 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11892 (sql-completion-object, sql-completion-column)
11893 (sql-completion-sqlbuf): New variables.
11894 (sql-build-completions-1, sql-build-completions)
11895 (sql-try-completion): New functions.
11896 (sql-read-table-name): Use them.
11897 (sql-contains-names): New buffer local variable.
11898 (sql-list-all, sql-list-table): Use it.
11899 (sql-oracle-completion-types): New variable.
11900 (sql-oracle-completion-object, sql-sqlite-completion-object)
11901 (sql-postgres-completion-object): New functions.
11902
d4eaeab1
GM
119032011-07-06 Glenn Morris <rgm@gnu.org>
11904
11905 * window.el (pop-to-buffer): Doc fix.
11906
322b7dab 119072011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11908
11909 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11910
322b7dab 119112011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11912
322b7dab 11913 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11914
322b7dab 11915 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11916
605dd5bf
CY
119172011-07-05 Chong Yidong <cyd@stupidchicken.com>
11918
11919 * button.el (button): Inherit from link face. Suggested by Dan
11920 Nicolaescu.
11921
7dbfa719
SM
119222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11923
3db614b0
SM
11924 * progmodes/gdb-mi.el: Fit in 80 columns.
11925 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11926 switch-to-buffer.
11927
7dbfa719
SM
11928 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11929 if imenu is simply not configured (bug#8941).
11930
919d884a
KM
119312011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11932
11933 * allout.el (allout-post-undo-hook): New allout outline-change
11934 event hook to signal undo activity.
11935 (allout-post-command-business): Run allout-post-undo-hook if an
11936 undo just occurred.
7dbfa719
SM
11937 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11938 * allout-widgets.el (allout-widgets-after-undo-function):
11939 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11940 in the vicinity of an undo.
11941 (allout-widgets-mode): Include allout-widgets-after-undo-function
11942 on the new allout-post-undo-hook.
11943
450a0f09
SM
119442011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11947 Let define-derived-mode define it.
11948 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11949 cycles of abbrev-table inheritance (bug#8998).
11950
2de69e00
RW
119512011-07-05 Roland Winkler <winkler@gnu.org>
11952
11953 * textmodes/bibtex.el: Add support for biblatex.
11954 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11955 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11956 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11957 (bibtex-entry-alist, bibtex-field-alist): New variables.
11958 (bibtex-entry-field-alist): Obsolete alias for
11959 bibtex-BibTeX-entry-alist.
11960 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11961 (bibtex-set-dialect): New command.
11962 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11963 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11964 Bind via bibtex-set-dialect.
2de69e00
RW
11965 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11966 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11967 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11968 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11969 Define via bibtex-set-dialect.
450a0f09
SM
11970 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11971 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11972 (bibtex-vec-push, bibtex-vec-incr): New functions.
11973 (bibtex-format-entry, bibtex-field-list)
11974 (bibtex-print-help-message, bibtex-validate)
11975 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11976
2dcdbdd9
SM
119772011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * progmodes/compile.el (compilation-goto-locus):
11980 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11981 * bs.el (bs-cycle-next, bs-cycle-previous):
11982 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11983 * bindings.el (mode-line-other-buffer):
11984 * autoinsert.el (auto-insert):
11985 * arc-mode.el (archive-extract):
11986 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11987
b27640fe
JB
119882011-07-05 Juanma Barranquero <lekktu@gmail.com>
11989
11990 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11991 Fix check of `emacs-lock-unlockable-modes'.
11992 Coerce true values of `emacs-lock--try-unlocking' to t.
11993
53bbe3ad
JB
119942011-07-05 Juanma Barranquero <lekktu@gmail.com>
11995
11996 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11997 * emacs-lock.el: New file.
11998
1d3cdbc7
JD
119992011-07-05 Julien Danjou <julien@danjou.info>
12000
12001 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12002 than `boundp' to check if face is set.
12003
9173deec
JB
120042011-07-05 Juanma Barranquero <lekktu@gmail.com>
12005
12006 * register.el (registerv-make):
12007 * window.el (window-min-height): Fix typos in docstrings.
12008
869795d6
JD
120092011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12010
9173deec 12011 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12012 Update doc string.
12013
b768cdcd
JB
120142011-07-04 Juanma Barranquero <lekktu@gmail.com>
12015
12016 * server.el (server-execute): Catch quit and call
12017 `server-return-error' to pass the error back to emacsclient and
12018 close the connection (bug#8942).
12019
13aa217b
KM
120202011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12021
12022 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12023 insecure exception for current topic. Also note that auto-saves
12024 are handled differently.
12025
5d3385a0 12026 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12027 State variables for tracking auto-save inhibition situation.
12028
12029 (allout-write-contents-hook-handler): Rename from
12030 'allout-write-file-hook-handler', and describe how it depends on
12031 write-contents-functions sensitivity to non-nil value to prevent
12032 file write.
12033
12034 (allout-auto-save-hook-handler): Remove. auto-save does not check
12035 this in individual buffers, only in the starting buffer, so this
12036 is not the right way for us to inhibit auto-save in a buffer
12037 according to its condition.
12038
12039 (allout-mode): Use new allout-write-contents-hook-handler, and
12040 only with write-contents-functions. Remove auto-save provisions -
12041 they're implemented elsewhere.
12042
12043 (allout-before-change-handler): If undo is in progress, note that
12044 for attention of allout-post-command-business.
12045
12046 (allout-post-command-business): If the command we're following was
12047 an undo, check for change in the status of encrypted items and
12048 adjust auto-save inhibitions accordingly.
12049
12050 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12051 according to whether there are or aren't any plain-text topics
12052 pending encryption.
12053
2dcdbdd9 12054 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12055 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12056 if there are plain-text topics pending encryption.
13aa217b
KM
12057
12058 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12059 buffer-saved-size and some allout state to not inhibit auto-saves
12060 if there are no longer any plain-text topics pending encryption.
12061
0757af94
SM
12062 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12063 No longer provide for exemption of the current topic.
13aa217b 12064
ac89b32c
JL
120652011-07-04 Juri Linkov <juri@jurta.org>
12066
12067 Add 7z operations to delete and save changed members (bug#8968).
12068 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12069 New defcustoms.
12070 (archive-7z-write-file-member): New function.
12071 (archive-7z-summarize): Fix the number of dashes in the
12072 listing output.
12073
8fa39615
SM
120742011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12075
12076 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12077 (bug#8958).
12078
2f11b3f1
CY
120792011-07-04 Chong Yidong <cyd@stupidchicken.com>
12080
d66fef2b
CY
12081 * bindings.el: Ignore next-buffer and previous-buffer in
12082 minibuffer-local-map.
12083
2f11b3f1
CY
12084 * font-lock.el (font-lock-builtin-face): Change light background
12085 color to dark slate blue (Bug#6693).
12086
f932a347
WD
120872011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12088
12089 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12090
c8af70e1
SM
120912011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12092
12093 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12094 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12095 Add switch-to-buffer.
12096
f158badc
LMI
120972011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12098
12099 * isearch.el (isearch-search-fun-function): Clarify further the
12100 meaning of the function returned.
12101
6d95bd46
MA
121022011-07-04 Michael Albinus <michael.albinus@gmx.de>
12103
12104 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12105
12106 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12107 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12108 Use it.
12109 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12110 `tramp-default-remote-path' does not exist.
12111 (tramp-send-command-and-read): New optional argument NOERROR.
12112 (tramp-open-connection-setup-interactive-shell)
12113 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12114 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12115 (tramp-process-sentinel): Flush also process' connection property.
12116 (tramp-sh-handle-start-file-process): Do not set process
12117 sentinel. It is done now ...
12118 (tramp-maybe-open-connection): ... here. (Bug#8929)
12119
909e6b67
MK
121202011-07-04 MON KEY <monkey@sandpframing.com>
12121
12122 * play/animate.el (animate-string): Doc fixes and allow changing
12123 the buffer name (bug#5417).
12124
121252011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12126
c8af70e1 12127 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12128
f34755dc
PE
121292011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12130
396cec72
PE
12131 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12132 This is simpler and helps future-proof the code.
12133 (timer-until): Use time-subtract and float-time.
08235028 12134 (timer--time-less-p): Use time-less-p.
f34755dc 12135
56e6cc31
JB
121362011-07-04 Juanma Barranquero <lekktu@gmail.com>
12137
3abb79e5
JB
12138 * type-break.el (timep): Use the value of `float-time' to avoid a
12139 byte-compiler warning.
12140
56e6cc31
JB
12141 * server.el (server-eval-and-print): Return any result, even nil.
12142
7b9430b4
PE
121432011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12144
12145 * type-break.el: Accept time formats that the builtins accept.
12146 (timep, type-break-time-difference): Accept any format that
12147 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12148 This is simpler and helps future-proof the code.
12149 (type-break-time-difference): Round rather than ignoring
12150 subseconds components.
12151
3034e9e7
LMI
121522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12153
12154 * info.el (Info-apropos-matches): Make non-interactive, since it
12155 doesn't seem to do anything useful as a command (bug#8829).
12156
1485f4c0
CY
121572011-07-03 Chong Yidong <cyd@stupidchicken.com>
12158
12159 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12160 Move from faces.el.
1485f4c0
CY
12161 (frame-default-terminal-background): New function.
12162
12163 * custom.el (custom-push-theme): Don't record faces in `changed'
12164 theme; this doesn't work correctly for per-frame face settings.
12165 (disable-theme): Use face-set-after-frame-default to reset faces.
12166 (custom--frame-color-default): New function.
12167
9fa3dd45
LMI
121682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12169
c8af70e1 12170 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12171 (bug#8769).
12172
6cbbc20c
KR
121732011-03-29 Kevin Ryde <user42@zip.com.au>
12174
12175 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12176 `perl-Test2' extend to match possible "fail #N" rep count
12177 (bug#8377).
12178
c7f98048
LMI
121792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12180
65676592
LMI
12181 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12182 `smtpmail-via-smtp' now returns the error instead of nil.
12183
c7f98048
LMI
12184 * isearch.el (isearch-search-fun-function): Clarify the doc string
12185 (bug#8101).
12186
56e6cc31 121872011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12188
12189 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12190 unnecessary spaces (bug#8987).
12191
2b216704
LMI
121922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12193
12194 * net/network-stream.el (open-network-stream): Use the
12195 :end-of-capability command thoughout.
12196
121972011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12198
12199 * net/network-stream.el (open-network-stream): Add the
12200 :end-of-capability command parameter, used by pop3.el.
12201
36adf6ce
LMI
122022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12203
1ca0da0e
LMI
12204 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12205
fc00f69c
LMI
12206 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12207 for list)" (bug#6475).
12208
28fd8759 12209 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12210 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12211 an error (bug#6297).
12212
0dd8b6da
LMI
12213 * man.el (Man-reference-regexp): Allow matching possible
12214 word-wrapped references (bug#6289).
12215
ce1438d6
LMI
12216 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12217 for consistency with the other vc buffers (bug#6197).
12218 (vc-checkin): Ditto.
12219
12220 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12221
36adf6ce
LMI
12222 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12223
e83cc1f7
LMI
122242011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12225
8a20ca4c
LMI
12226 * custom.el (defcustom): Clarify that :set is only used in the
12227 Customize user interface (bug#6089).
12228
83319045
LMI
12229 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12230 associated with a file, refuse to run instead of erroring out
12231 (bug#6084).
12232
a8392169
LMI
12233 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12234 the doc string, since it appears that using `fill-column' always
12235 controls the width (bug#7845).
12236
e83cc1f7
LMI
12237 * simple.el (shell-command-on-region): Say where the error output
12238 went if `shell-command-default-error-buffer' is set (bug#6857).
12239
e47ca23b
KM
122402011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12241
12242 * allout.el (allout-yank-processing): Adjust cursor position for
12243 backwards-deleted space.
12244
12245 (allout-rebullet-heading): Register changes with
12246 allout-exposure-changed-hook, so the modified topic is properly
12247 decorated.
12248
5cf56143
LMI
122492011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12250
08549772
LMI
12251 * minibuffer.el (completion-in-region): Document PREDICATE
12252 (bug#7136).
12253
48e96771
LMI
12254 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12255 of keyword/argument pairs (bug#6904).
12256
c8af70e1
SM
12257 * replace.el (multi-occur):
12258 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12259
e17d05e2
LMI
122602011-07-02 Drew Adams <drew.adams@oracle.com>
12261
12262 * dired.el (dired-mark-if): Make the message about whether it's
12263 marking or unmarking clearer (bug#8523).
12264
063b0e45
LMI
122652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12266
12267 * disp-table.el (display-table-print-array): New function.
12268 (describe-display-table): Use it to print the vectors more pretty
12269 (Bug#8859).
12270
28545e04
MR
122712011-07-02 Martin Rudalics <rudalics@gmx.at>
12272
12273 * window.el (window-state-get-1): Don't assign clone numbers.
12274 Add clone-of item to list of window parameters.
12275 (window-state-put-2): Don't process clone numbers.
12276 (display-buffer-alist): Fix doc-string.
12277
3349e122
SM
122782011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12279
12280 * subr.el (remq): Don't allocate if it's not needed.
12281 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12282 (keymap--merge-bindings): New functions.
12283 (keymap-canonicalize): Use them to refine the canonicalization.
12284 * minibuffer.el (minibuffer-local-completion-map)
12285 (minibuffer-local-must-match-map): Move initialization from C.
12286 (minibuffer-local-filename-completion-map): Move initialization from C;
12287 don't inherit from anything here.
12288 (minibuffer-local-filename-must-match-map): Make obsolete.
12289 (completing-read-default): Use make-composed-keymap to combine
12290 minibuffer-local-filename-completion-map with either
12291 minibuffer-local-must-match-map or
12292 minibuffer-local-filename-completion-map.
12293
d224ac83
GM
122942011-07-01 Glenn Morris <rgm@gnu.org>
12295
3de63bf8
GM
12296 * type-break.el (type-break-time-sum): Use dolist.
12297
d224ac83
GM
12298 * textmodes/flyspell.el (flyspell-word-search-backward):
12299 Replace CL function.
12300
1a1e3f32
SM
123012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12302
fe3f64d5
SM
12303 * mouse.el (mouse--strip-first-event): New function.
12304 (function-key-map): Use it to map fringe clicks to normal clicks
12305 by default.
12306
eb604e34
SM
12307 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12308 (vc-bzr-revision-completion-table): Add support for annotate and date.
12309
1a1e3f32
SM
12310 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12311 inherit from parent.
12312
5bd35902
LMI
123132011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12314
ace6c69c 12315 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12316 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12317
191e2bed
LMI
12318 * dired.el (dired-mode): Fix up the doc string as suggested by
12319 Drew Adams (bug#8817).
12320
5bd35902
LMI
12321 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12322 cookie, since the manual says that it should be possible to add
12323 this function to `find-file-hook' (bug#8709).
12324
eee8207a
TZ
123252011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12326
12327 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12328 here. Noted Ted Zlatanov as the maintainer.
12329 (cfengine-common-settings, cfengine-common-syntax): New functions
12330 to set up common things between `cfengine-mode' and
12331 `cfengine3-mode'.
12332 (cfengine3-mode): New mode.
12333 (cfengine3-defuns cfengine3-defuns-regex
12334 (cfengine3-class-selector-regex cfengine3-category-regex)
12335 (cfengine3-vartypes cfengine3-font-lock-keywords)
12336 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12337 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12338
36b148cf
MA
123392011-07-01 Michael Albinus <michael.albinus@gmx.de>
12340
12341 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12342
12343 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12344
0bf4ba9a
MR
123452011-07-01 Martin Rudalics <rudalics@gmx.at>
12346
12347 * window.el (same-window-buffer-names, same-window-regexps)
12348 (same-window-p, special-display-frame-alist)
12349 (special-display-popup-frame, special-display-function)
12350 (special-display-buffer-names, special-display-regexps)
12351 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12352 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12353 (split-window-preferred-function, split-height-threshold)
12354 (split-width-threshold, even-window-heights)
12355 (display-buffer-mark-dedicated, window-splittable-p)
12356 (split-window-sensibly, window-safely-shrinkable-p):
12357 Un-obsolete.
12358 (display-buffer): Don't spread args with function specifier
12359 because special-display-popup-frame won't like it.
12360
35837f51
PE
123612011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12362
d0672f86
PE
12363 Time-stamp simplifications and fixes.
12364 These improve accuracy slightly, and future-proof the code
12365 against some potential changes to current-time format.
12366
b9444d97
PE
12367 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12368 by using time-since and float-time.
12369
0ef923dc
PE
12370 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12371 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12372 + NNN microseconds".
12373
2f81380d
PE
12374 * type-break.el (type-break-time-sum): Rewrite using time-add.
12375
845b5c3e
PE
12376 * play/hanoi.el (hanoi-current-time-float): Remove.
12377 All uses replaced by float-time.
12378
ee6f1be0
PE
12379 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12380 This yields a more-accurate answer.
12381 (rng-time-to-float): Remove; no longer needed.
12382
fe955043
PE
12383 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12384
5777162a
PE
12385 * calendar/timeclock.el (timeclock-seconds-to-time):
12386 Defalias to seconds-to-time, since they're the same thing.
12387
3103f8b6 12388 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12389 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12390 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12391
0e61a35f
SM
123922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * window.el (bury-buffer): Don't iconify the only frame.
12395 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12396 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12397
ddd63a1e
CY
123982011-07-01 Chong Yidong <cyd@stupidchicken.com>
12399
0e61a35f
SM
12400 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12401 Add mouse-yank-primary.
ddd63a1e 12402
055f4923
TZ
124032011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12404
12405 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12406
6a2fb145
SM
124072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12408
12409 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12410 (find-library-name): Use it to find relative load names when provided
12411 absolute file name (bug#8803).
12412
fd4983f2
LMI
124132011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12414
887d14ad
LMI
12415 * textmodes/flyspell.el (flyspell-word): Consider words that
12416 differ only in case as potential doublons (bug#5687).
12417
c53dc7fc
LMI
12418 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12419 Remove two rather uninteresting debugging-like messages to make
12420 debbugs.el more silent.
12421
fd4983f2
LMI
12422 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12423 a password-like phrase.
12424
7a71b18d 124252011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12426
12427 * progmodes/cc-guess.el: New file.
12428
6a2fb145 12429 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12430
12431 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12432 derived from `c-basic-common-init'.
12433
12434 * progmodes/cc-mode.el (top-level): Require cc-guess.
12435 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12436
1fa280a3
LM
124372011-06-30 Lawrence Mitchell <wence@gmx.li>
12438
12439 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12440
e6597158
AM
124412011-06-30 Alan Mackenzie <acm@muc.de>
12442
1fa280a3
LM
12443 * progmodes/cc-engine.el (c-guess-continued-construct):
12444 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12445 lock is disabled. Name this case as "CASE G".
12446
68ba37fb
KM
124472011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12448
12449 * allout.el (allout-yank-processing): Fix injection of extra space
12450 between bullet and non-whitespace character in first topic when
12451 pasting, ensuring that the actual spacing in the pasted topic
12452 following the bullet char is preserved. This extra space was
12453 causing pasted encrypted topics to get a decrypted status even
12454 when the content was actually still encrypted. Now the decryption
12455 status from before the paste is preserved.
12456
12457 (allout-flag-region): Set all allout overlays so they evaporate
12458 when reduced to zero length (evanescent), to prevent overlay
12459 leakage.
12460
887a0b34
GM
124612011-06-30 Glenn Morris <rgm@gnu.org>
12462
94b9acce
GM
12463 * w32-fns.el (w32-charset-info-alist): Declare.
12464
1d9b46d4
GM
12465 * find-dired.el (find-grep-options): Simplify.
12466
cc232200
GM
12467 * term/ns-win.el (ns-set-resource): Declare.
12468
28e77c46
GM
12469 * ses.el (row, col): Declare dynamic variables honestly.
12470
887a0b34
GM
12471 * textmodes/reftex-parse.el (index-tags): Declare.
12472
658d8eb8
CY
124732011-06-30 Chong Yidong <cyd@stupidchicken.com>
12474
12475 * cus-edit.el (customize-push-and-save): New function.
12476
12477 * files.el (hack-local-variables-confirm): Use it.
12478
1fa280a3
LM
12479 * custom.el (load-theme): New arg NO-CONFIRM.
12480 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12481 (custom-enabled-themes): Doc fix.
12482
12483 * cus-theme.el (customize-create-theme)
12484 (custom-theme-merge-theme): Callers to load-theme changed.
12485
bb617717
LMI
124862011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12487
d61bdd5d
LMI
12488 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12489 short URLs have at least one dot in them (bug #7614).
12490
bb617717
LMI
12491 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12492 nil, because using a pty is apparently too slow (bug #895).
12493
2f31f37a
LMI
124942011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12495
12496 * mail/sendmail.el (sendmail-query-once): New function.
12497 (sendmail-query-once-function): New variable.
12498
3076b24e
GM
124992011-06-29 Glenn Morris <rgm@gnu.org>
12500
faf2a174
GM
12501 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12502
3076b24e
GM
12503 * ses.el (top-level): Require cl when compiling.
12504 (ses-set-localvars): Fix error statement.
12505 Call it at compile time to silence a storm of warnings.
12506
5386012d
MR
125072011-06-29 Martin Rudalics <rudalics@gmx.at>
12508
12509 * window.el (normalize-live-buffer): Rename to
12510 window-normalize-buffer.
12511 (normalize-live-frame): Rename to window-normalize-frame.
12512 (normalize-any-window): Rename to window-normalize-any-window.
12513 (normalize-live-window): Rename to window-normalize-live-window.
12514 (make-window-atom): Rename to window-make-atom.
12515 (window-resize-reset): Rename to window--resize-reset.
12516 (window-resize-reset-1): Rename to window--resize-reset-1.
12517 (resize-mini-window): Rename to window--resize-mini-window.
12518 (resize-subwindows-skip-p): Rename to
12519 window--resize-subwindows-skip-p.
12520 (resize-subwindows-normal): Rename to
12521 window--resize-subwindows-normal.
12522 (resize-subwindows): Rename to window--resize-subwindows.
12523 (resize-other-windows): Rename to window--resize-siblings.
12524 (resize-this-window): Rename to window--resize-this-window.
12525 (resize-root-window): Rename to window--resize-root-window.
12526 (resize-root-window-vertically): Rename to
12527 window--resize-root-window-vertically.
12528 (normalize-buffer-to-display): Rename to
12529 window-normalize-buffer-to-display.
12530 (normalize-buffer-to-switch-to): Rename to
12531 window-normalize-buffer-to-switch-to.
12532 Correspondingly update all callers of the functions listed
12533 above.
12534 (display-buffer-alist, display-buffer-normalize-arguments)
12535 (display-buffer-normalize-options, display-buffer)
12536 (display-buffer-alist-set): Use "function" instead of
12537 "fun-with-args".
12538
1176868d
CY
125392011-06-28 Chong Yidong <cyd@stupidchicken.com>
12540
12541 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12542 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12543 debbugs.gnu.org. Mention acknowledgment email.
12544
20a7a65f
LMI
125452011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12546
12547 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12548 buffer multibyteness, since it shouldn't matter.
12549
5f45cca5
MR
125502011-06-28 Martin Rudalics <rudalics@gmx.at>
12551
12552 * window.el (display-buffer-in-side-window): Handle dedicated
12553 windows as in display-buffer-reuse-window.
12554 (display-buffer-normalize-alist): Use value of override
12555 specifier.
12556 (display-buffer-normalize-specifiers): Use value of
12557 other-window-means-other-frame specifier.
12558 (display-buffer-alist): Rewrite some texts in widgets.
12559 (display-buffer): Spread arguments when calling function
12560 specified by fun-with-args.
12561
ad85fe1f
DD
125622011-06-28 Deniz Dogan <deniz@dogan.se>
12563
1fa280a3
LM
12564 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12565 Unnest `let'.
da68c4c8 12566
ad85fe1f
DD
12567 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12568 selectors (Bug#5732).
ec49bd31 12569 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12570
a08cc025
JA
125712011-06-27 Jari Aalto <jari.aalto@cante.net>
12572
12573 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12574 (eshell-ls-date-format): New defcustom.
12575 (eshell-ls-file): Use it.
12576
e2b551c5
SM
125772011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12578
12579 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12580
8982b231
KY
125812011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12582
12583 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12584 (ange-ftp-make-tmp-name): New arg.
12585 (ange-ftp-file-local-copy): Use it.
12586
36c9fa27
J
125872011-06-27 Jambunathan K <kjambunathan@gmail.com>
12588
12589 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12590 no-conversion (Bug#8870).
12591
d68443dc
MR
125922011-06-27 Martin Rudalics <rudalics@gmx.at>
12593
12594 * window.el (window-right, window-left, window-child)
12595 (window-child-count, window-last-child)
12596 (window-iso-combination-p, walk-window-tree-1)
12597 (window-atom-check-1, window-tree-1, delete-window)
12598 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12599 new naming conventions - window-vchild, window-hchild,
12600 window-next and window-prev are now called window-top-child,
12601 window-left-child, window-next-sibling and window-prev-sibling
12602 respectively.
d615d6d2
MR
12603 (resize-window-reset): Rename to window-resize-reset.
12604 (resize-window-reset-1): Rename to window-resize-reset-1.
12605 (resize-window): Rename to window-resize.
12606 (window-min-height, window-min-width)
12607 (resize-mini-window, resize-this-window, resize-root-window)
12608 (resize-root-window-vertically, adjust-window-trailing-edge)
12609 (enlarge-window, shrink-window, maximize-window)
12610 (minimize-window, delete-window, quit-restore-window)
12611 (split-window, balance-windows, balance-windows-area-adjust)
12612 (balance-windows-area, window-state-put-2)
12613 (display-buffer-even-window-sizes, display-buffer-set-height)
12614 (display-buffer-set-width, set-window-text-height)
12615 (fit-window-to-buffer): Rename all "resize-window" prefixed
12616 calls to use the "window-resize" prefix convention.
12617 (display-buffer-alist): Fix symbol for label specifier.
12618 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12619 corresponding specifier.
12620 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12621
b6458526
VB
126222011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12623
12624 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12625 convention.
12626 (ses-call-printer): Does not pass an empty string to formatter when the
12627 cell is empty to keep from barking printer Calc math-format-value.
12628
d31fd9ac
RS
126292011-06-27 Richard Stallman <rms@gnu.org>
12630
43d5bf84
RS
12631 * battery.el (battery-mode-line-limit): New variable.
12632 (battery-update): Handle it.
12633
d31fd9ac
RS
12634 * mail/rmailmm.el (rmail-mime-process-multipart):
12635 Handle truncated messages.
12636
819a6054
GM
126372011-06-27 Glenn Morris <rgm@gnu.org>
12638
12639 * progmodes/flymake.el (flymake-err-line-patterns):
12640 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12641
cedc73f2
VB
126422011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12643
819a6054 12644 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12645 (ses--clean-!, ses--clean-_): New functions.
12646 (ses-range): Add configurability of readout order, and conversion
12647 to Calc vector.
12648
5e5d49b6
VB
12649 * ses.el (ses-repair-cell-reference-all): New function.
12650 (ses-cell-symbol): Set macro as safe, so that it can be used in
12651 formulas.
12652
56e6cc31 12653 * ses.el: Update cycle detection algorithm.
90ca8b49 12654 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12655 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12656 (ses-set-localvars): New function.
12657 (ses-make-cell): Add property-list as a cell element.
12658 (ses-cell-property-get-fun, ses-cell-property-get)
12659 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12660 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12661 New functions.
90ca8b49
VB
12662 (ses-cell-property-set, ses-cell-property-pop)
12663 (ses-cell-property-get-handle): New macro.
12664 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12665 New aliases, used for code readability.
12666 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12667 cycle detection.
12668 (ses-self-reference-early-detection): New defcustom.
fac916bf 12669 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12670 (ses-mode): Use ses-set-localvars.
12671 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12672 before lauching the update processing.
12673 (ses-initialize-Dijkstra-attempt): New function.
12674 (ses-recalculate-cell): Update for cycle detection based on
12675 Dijkstra algorithm.
12676
2bb63e81
VB
12677 * ses.el: Fix commenting and indenting convention.
12678
c9d29fb8
SM
126792011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12680
12681 * bs.el (bs-cycle-next): Complete last change.
12682
d8e4b68b
JB
126832011-06-27 Drew Adams <drew.adams@oracle.com>
12684
12685 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12686
40098786
LMI
126872011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12688
c9d29fb8
SM
12689 * net/network-stream.el (network-stream-open-starttls):
12690 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12691 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12692
40098786
LMI
12693 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12694 to binary to possibly avoid line encoding issues on Windows (among
12695 other things).
12696
468d09d4
LMI
126972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12698
12699 * net/network-stream.el (open-network-stream): Return an :error
12700 saying what the problem was, if possible.
12701
12702 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12703 server.
12704
12705 * net/network-stream.el (network-stream-open-starttls): If we
12706 wanted to use STARTTLS, and the server offered it, but we weren't
12707 able to because we had no STARTTLS support, then close the connection.
12708 (open-network-stream): Return an :error element, if present.
12709
16f07dd7
CY
127102011-06-26 Chong Yidong <cyd@stupidchicken.com>
12711
88821ca0
CY
12712 * hl-line.el (hl-line-sticky-flag): Doc fix.
12713 (global-hl-line-sticky-flag): New option (Bug#8323).
12714 (global-hl-line-highlight): Obey it.
12715
16f07dd7
CY
12716 * vc/vc.el (vc-revert-show-diff): Default to t.
12717
6b5ccddf
KM
127182011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12719
c9d29fb8
SM
12720 * allout-widgets.el (allout-widgets-post-command-business):
12721 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12722 undecorated when an isearch is continued past, and isearch
12723 automatically collapses them. This leads to "widget leaks", where
12724 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12725 hidden widgets can slow down cursor travel, substantially.
12726 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12727 so we're doing without this nicety.
12728
12729 (allout-widgets-tally-string): Don't try to do a hash-table-count
12730 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12731 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12732 *Messages* when allout-widgets-maintain-tally is t.
12733
355f2e07
MR
127342011-06-26 Martin Rudalics <rudalics@gmx.at>
12735
12736 * window.el (display-buffer-normalize-argument): Rename to
12737 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12738 LABEL argument. Respect special-display-function when popping up
12739 a new frame. Fix code searching for a window showing the buffer
12740 on another frame.
c9d29fb8
SM
12741 (display-buffer-normalize-specifiers):
12742 Call display-buffer-normalize-arguments.
355f2e07
MR
12743 (display-buffer-in-window): Don't undedicate the window if its
12744 buffer remains the same.
12745 Reported by Drew Adams <drew.adams@oracle.com>.
12746 (display-buffer-alist): Add choice for same-window macro
12747 specfier.
12748 (display-buffer): Mention special meaning of LABEL argument in
12749 doc-string. Fix quoting. Don't pop up a new frame even as
12750 fallback.
12751
7ca8fc42
JB
127522011-06-26 Juanma Barranquero <lekktu@gmail.com>
12753
12754 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12755 avoid deleting the current window in some cases (bug#8911).
12756
bc312254
AS
127572011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12758
12759 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12760 (Bug#8934)
12761
2db18f3f
LMI
127622011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12763
c9d29fb8
SM
12764 * net/network-stream.el (network-stream-open-starttls):
12765 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12766 (network-stream-open-tls): Ditto.
12767
6302e0d3
LL
127682011-06-26 Leo Liu <sdl.web@gmail.com>
12769
12770 * register.el (registerv): New struct.
12771 (registerv-make): New function.
c9d29fb8
SM
12772 (jump-to-register, describe-register-1, insert-register):
12773 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12774 struct. (Bug#8415)
12775
5fdd4046
CY
127762011-06-26 Chong Yidong <cyd@stupidchicken.com>
12777
2afef60a
CY
12778 * vc/vc.el (vc-revert-show-diff): New defcustom.
12779 (vc-diff-internal): New arg specifying diff buffer.
12780 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12781 reuse an existing *vc-diff* buffer (Bug#8927).
12782
5fdd4046
CY
12783 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12784
e93db24a
GM
127852011-06-26 Glenn Morris <rgm@gnu.org>
12786
12787 * progmodes/f90.el (f90-critical-indent): New option.
12788 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12789 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12790 (f90-mode): Doc fix.
12791 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12792 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12793 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12794 (f90-match-end): Handle block, critical.
12795
eefff499
GM
127962011-06-25 Glenn Morris <rgm@gnu.org>
12797
f6ba4cc9
GM
12798 * calendar/diary-lib.el (diary-included-files): Doc fix.
12799 (diary-include-files): New function, extracted from
12800 diary-include-other-diary-files and diary-mark-included-diary-files.
12801 (diary-include-other-diary-files, diary-mark-included-diary-files):
12802 Just call diary-include-files.
12803 (diary-mark-entries): Reset diary-included-files on first call.
12804
16712304
GM
12805 * calendar/diary-lib.el (diary-mark-entries)
12806 (diary-mark-included-diary-files):
12807 Visit included diary-files in temp buffers.
12808
5d8e0d43
GM
12809 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12810 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12811 (f90-start-block-re, f90-imenu-generic-expression)
12812 (f90-looking-at-program-block-start, f90-no-block-limit):
12813 Add support for submodules.
12814
ccf7a5d5
GM
12815 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12816 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12817
11fdef7d 128182011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12819
12820 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12821 buffer-file-type before setting its value, to avoid disastrous
eefff499 12822 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12823
74f53697
JB
128242011-06-25 Juanma Barranquero <lekktu@gmail.com>
12825
12826 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12827
12828 * ses.el (ses-unload-function):
12829 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12830
12831 * proced.el (proced-unload-function):
12832 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12833
18a4ce5e
AR
128342011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12835
12836 * server.el (server-create-window-system-frame): Add parameters arg.
12837 (server-process-filter): Doc fix. Handle frame-parameters.
12838
519d22cc
JB
128392011-06-25 Juanma Barranquero <lekktu@gmail.com>
12840
12841 Fix bug#8730, bug#8781.
12842
12843 * loadhist.el (unload--set-major-mode): New function.
12844 (unload-feature): Use it.
12845
12846 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12847 (python-unload-function): New function.
12848
c206f5b0
SM
128492011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12850
12851 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12852
f9ad64f3
GS
128532011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12854
12855 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12856 the candidates list.
12857
7d0da90e
JB
128582011-06-24 Juanma Barranquero <lekktu@gmail.com>
12859
12860 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12861
14b4e83d
RS
128622011-06-23 Richard Stallman <rms@gnu.org>
12863
12864 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12865 (rmail-variables): Set next-error-move-function.
12866 (rmail-what-message): Take argument POS.
12867 (rmail-next-error-move): New function.
12868
273d2baf
SM
128692011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12870
12871 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12872 messages for adjacent non-terminals.
12873
56c2cc9a
RS
128742011-06-23 Richard Stallman <rms@gnu.org>
12875
12876 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12877 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12878 (rmail-start-mail): Don't specify use of rmail-mail-return;
12879 that's done by mail-bury now.
12880 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12881
d59eb518
MA
128822011-06-23 Michael Albinus <michael.albinus@gmx.de>
12883
12884 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12885 SIZE is a number.
12886
02cfc6d6
MR
128872011-06-23 Martin Rudalics <rudalics@gmx.at>
12888
12889 * window.el (get-lru-window, get-mru-window)
12890 (get-largest-window): Never return a minibuffer window.
12891 (display-buffer-pop-up-window): Fix a bug that could lead to
12892 reusing the minibuffer window.
12893 (display-buffer): Pass original specifier argument to
12894 display-buffer-function instead of the normalized one.
12895 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12896
4e323265
LL
128972011-06-22 Leo Liu <sdl.web@gmail.com>
12898
12899 * minibuffer.el (completing-read-function)
12900 (completing-read-default): Move from minibuf.c
12901
7a70468f
RS
129022011-06-22 Richard Stallman <rms@gnu.org>
12903
50718fc2
RS
12904 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12905 to Rmail even if not started by a special Rmail command.
12906
7a70468f
RS
12907 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12908 Copy the buffer currently showing just one message.
12909
297dde5a
RW
129102011-06-22 Roland Winkler <winkler@gnu.org>
12911
12912 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12913 (bibtex-clean-entry): First delete the old key so that a
12914 customized algorithm for generating the new key does not get
12915 confused by the old key.
12916 (bibtex-url): Obey regexp of first step.
12917 (bibtex-search-entries): Do not use add-to-list with local
12918 list-var.
12919
97bb1093
LMI
129202011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12921
12922 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12923 stored a user name, then query for the password first, instead of
12924 waiting for SMTP to give an error message and the trying again.
12925
1c0f1a19
JD
129262011-06-22 Lawrence Mitchell <wence@gmx.li>
12927
12928 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12929 BUFFER in call-process.
12930
396f7c9d
LMI
129312011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12932
12933 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12934 QUIT twice.
ddb7ffee
LMI
12935 (smtpmail-try-auth-methods): Require user name and password from
12936 auth-source.
396f7c9d 12937
8998d1b3
MR
129382011-06-22 Martin Rudalics <rudalics@gmx.at>
12939
12940 * window.el (display-buffer-default-specifiers)
12941 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12942 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12943 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12944
12945 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12946 (special-display-frame-alist, special-display-popup-frame):
12947 Remove duplicate declarations. These are now in window.el.
12948
4ea31e07
LMI
129492011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12950
c9d29fb8
SM
12951 * mail/smtpmail.el (smtpmail-via-smtp):
12952 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12953 server supports it. SMTP servers that support STARTTLS commonly
12954 require it.
12955
12956 * net/network-stream.el (network-stream-open-starttls): Support
12957 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12958 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12959
95f41d9a
LMI
12960 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12961 upgrades with `open-network-stream', and rely solely on
12962 auth-source for all credentials. Big changes throughout the file,
12963 but in particular:
c9d29fb8
SM
12964 (smtpmail-auth-credentials): Remove.
12965 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12966 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12967 MAIL FROM, too.
95f41d9a 12968
c9d29fb8
SM
12969 * net/network-stream.el (network-stream-open-starttls):
12970 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12971 STARTTLS.
12972 (auth-source): Require.
12973 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12974 (network-stream-certificate): Change cert-cert to cert and
12975 cert-key to key.
4ea31e07 12976
065ec2c7
MA
129772011-06-21 Michael Albinus <michael.albinus@gmx.de>
12978
12979 * net/tramp-cache.el (top): Don't load the persistency file when
12980 "emacs -Q" has been called.
12981
cd93b359
DR
129822011-06-21 Tim Harper <timcharper@gmail.com>
12983
d8e4b68b
JB
12984 * term/ns-win.el (ns-initialize-window-system):
12985 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12986 resource to NO as it is not yet supported by the NS port.
12987
ae9c0411
JB
129882011-06-21 Juanma Barranquero <lekktu@gmail.com>
12989
12990 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12991 (list-dynamic-libraries): ...not here.
12992
7f3f739f
LL
129932011-06-21 Leo Liu <sdl.web@gmail.com>
12994
12995 * subr.el (sha1): Implement sha1 using secure-hash.
12996
327c8fb1
MR
129972011-06-21 Martin Rudalics <rudalics@gmx.at>
12998
12999 * window.el (display-buffer-alist): In default value do not
13000 enforce searching a window on any but the selected frame.
13001 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13002 (display-buffer-select-window): Remove function.
13003 (display-buffer-in-window): When a window on another frame gets
13004 reused, do not select it any more but just raise its frame if
13005 necessary (Bug#8851) and (Bug#8856).
13006 (display-buffer-normalize-options): Handle pop-up-frames related
13007 options more faithfully.
13008 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13009 window if it is on another frame.
c9d29fb8
SM
13010 (display-buffer-alist, display-buffer-default-specifiers):
13011 Don't make new frame unsplittable by default.
9e9de014
MR
13012 (display-buffer-normalize-argument): Fix doc-string typo and use
13013 'same-frame-other-window instead of 'other-window when associating
13014 with display-buffer-macro-specifiers.
327c8fb1 13015
7cf3f556
VB
130162011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13017
13018 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13019 New functions.
13020 (5x5-mode-map, 5x5-mode-menu): Bind them.
13021 (5x5-draw-grid): Tweak the solver's rendering.
13022
60a406cf
SM
130232011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13026 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13027
d8e4b68b 130282011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13029
13030 * menu-bar.el: Use function variable instead of switch-to-buffer.
13031 (menu-bar-select-buffer-function): New variable.
60a406cf 13032 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13033
478d6f95
SM
130342011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13035
13036 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13037 variable's status.
13038
ca530739
JD
130392011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13040
13041 * x-dnd.el (x-dnd-version-from-flags)
13042 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13043 and long as number (Bug#8899).
13044 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13045
bcd70d97
SM
130462011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13047
60a406cf 13048 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13049 (completion-try-completion, completion-all-completions): Compute the
13050 metadata argument if it's missing; make it optional (bug#8795).
13051
60a406cf 13052 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13053 (widget-complete): Use new :completion-function property.
13054 (widget-completions-at-point): New function.
13055 (default): Use :completion-function instead of :complete.
60a406cf
SM
13056 (widget-default-completions): Rename from widget-default-complete;
13057 Rewrite.
bcd70d97
SM
13058 (widget-string-complete, widget-file-complete, widget-color-complete):
13059 Remove functions.
13060 (file, symbol, function, variable, coding-system, color):
13061 * international/mule-cmds.el (default-input-method, charset)
13062 (language-info-custom-alist):
13063 * cus-edit.el (face): Use new property :completions.
13064
13065 * progmodes/pascal.el (pascal-completions-at-point): New function.
13066 (pascal-mode): Use it.
13067 (pascal-mode-map): Use completion-at-point.
13068 (pascal-toggle-completions): Make obsolete.
13069 (pascal-complete-word, pascal-show-completions):
13070 * progmodes/octave-mod.el (octave-complete-symbol):
13071 Redefine as obsolete alias.
13072 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13073 Signal absence of completion info for old Octave,
13074 (inferior-octave-complete): Redefine as obsolete alias.
13075 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13076 (meta-completions-at-point): Rename from meta-complete-symbol and
13077 adapt it for use on completion-at-point-functions.
13078 (meta-common-mode): Use it.
13079 (meta-looking-at-backward, meta-match-buffer): Remove.
13080 (meta-complete-symbol): Redefine as obsolete alias.
13081 (meta-common-mode-map): Use completion-at-point.
13082 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13083 (makefile-mode-map): Use completion-at-point.
13084 (makefile-completions-at-point): Rename from makefile-complete and
13085 adapt it for use on completion-at-point-functions.
13086 (makefile-mode): Use it.
13087 (makefile-complete): Redefine as obsolete alias.
13088
aebf69c8
DD
130892011-06-20 Deniz Dogan <deniz@dogan.se>
13090
13091 * net/rcirc.el: Delete trailing whitespaces once and for all.
13092
bfbbb27d
DC
130932011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13094
13095 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13096
d264a46b
CY
130972011-06-19 Chong Yidong <cyd@stupidchicken.com>
13098
4ca009e5
CY
13099 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13100
d264a46b
CY
13101 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13102
fbf5b3ce
MR
131032011-06-19 Martin Rudalics <rudalics@gmx.at>
13104
13105 * window.el (display-buffer-other-window-means-other-frame):
13106 Call display-buffer-normalize-alist.
13107 (display-buffer-normalize-specifiers-1): Rename to
13108 display-buffer-normalize-argument. New argument other-frame.
13109 Rewrite.
13110 (display-buffer-normalize-specifiers-2): Rename to
13111 display-buffer-normalize-options.
13112 (display-buffer-normalize-alist-1): New function.
13113 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13114 display-buffer-normalize-alist.
13115 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13116 (display-buffer-normalize-options-inhibit): New variable.
13117 (display-buffer-normalize-specifiers): Rewrite calling
13118 display-buffer-normalize-alist,
13119 display-buffer-normalize-argument, and
13120 display-buffer-normalize-options. Don't call the latter if
13121 display-buffer-normalize-options-inhibit is non-nil.
13122 (frame-auto-delete): New option.
13123 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13124 (window-list-no-nils, window-state-ignored-parameters)
13125 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13126 (window-state-put-1, window-state-put-2, window-state-put):
13127 New functions.
9a028c23
MR
13128 (display-buffer-normalize-options): Move special-display-p group
13129 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13130
6d10d800
CY
131312011-06-18 Chong Yidong <cyd@stupidchicken.com>
13132
6420d28b
CY
13133 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13134 groups (Bug#8776).
13135 (rx-submatch-n): New function.
13136 (rx): Document it.
13137
ddb8b596
CY
13138 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13139 (Bug#8768).
13140
13141 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13142
77080289
CY
13143 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13144
61dfb316
CY
13145 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13146 anytime existing face settings are present (Bug#8889).
13147
6d10d800
CY
13148 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13149 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13150 Remove unused argument.
13151
be3fb2b8
MR
131522011-06-18 Martin Rudalics <rudalics@gmx.at>
13153
bcd70d97
SM
13154 * window.el (display-buffer-default-specifiers):
13155 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13156 pop-up-window-min-width, and another reuse-window specifier
13157 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13158 (display-buffer-normalize-specifiers-2):
13159 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13160 pop-up-windows is unset. Add a reuse-window specifier for the
13161 case popping up a new window fails.
13162 (special-display-popup-frame): Remove double quoting.
28dec25a 13163 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13164
1c6d8c76
SM
131652011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13166
13167 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13168 according to comint-completion-addsuffix.
13169
13170 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13171 (pcomplete-suffix-list): Mark as obsolete.
13172 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13173 pcomplete-seen in the closure.
13174 (pcomplete-comint-setup): Setup completion-at-point as well.
13175 (pcomplete--entries): New function.
13176 (pcomplete--env-regexp): New var.
13177 (pcomplete-entries): Rewrite to work with partial-completion and
13178 without relying on pcomplete-suffix-list.
13179 (pcomplete-pare-list): Remove, unused.
13180
25aef8b8
MR
131812011-06-17 Martin Rudalics <rudalics@gmx.at>
13182
13183 * window.el (display-buffer-alist): Set pop-up-window-min-height
13184 and pop-up-window-min-width in default value. Reported by
13185 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13186 other-window-means-other-frame.
13187 (display-buffer-macro-specifiers): Comment out entry for
13188 other-window specifier.
13189 (display-buffer-other-window-means-other-frame): New function.
13190 (display-buffer-normalize-specifiers-1): New arguments
13191 buffer-name and label. Treat other-window case specially.
13192 (display-buffer-normalize-specifiers-2): Treat other-window case
13193 specially.
13194 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13195 (display-buffer-normalize-specifiers):
13196 Call display-buffer-normalize-specifiers-3.
25aef8b8 13197
dbad4f69
MR
131982011-06-17 Martin Rudalics <rudalics@gmx.at>
13199
13200 * window.el (same-window-p): Fix two typos introduced when
13201 adding with-no-warnings.
d1067961
MR
13202 (display-buffer-normalize-specifiers-1): Don't check
13203 pop-up-frames for 'unset initialization.
13204 (display-buffer-normalize-specifiers-2): Major rewrite using
13205 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13206 (pop-up-frames, display-buffer-reuse-frames)
13207 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13208 Suggested by David Engster <deng@randomsample.de>.
13209 (even-window-heights): Initialize to 'unset.
13210 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13211 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13212 other window case.
dbad4f69 13213
9b9c9e3a
MR
132142011-06-16 Martin Rudalics <rudalics@gmx.at>
13215
bcd70d97
SM
13216 * window.el (display-buffer-normalize-specifiers-1):
13217 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13218 second argument of display-buffer (Bug#8865).
981d5c09
MR
13219 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13220 (switch-to-buffer-other-window-same-frame)
13221 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13222 Adams (Bug#8875).
9c2755e9
MR
13223 (display-buffer): Don't check noninteractive when calling
13224 display-buffer-pop-up-frame.
13225 (display-buffer-pop-up-frame): Never pop up a frame in
13226 noninteractive mode (Bug#8857).
67222e1d
MR
13227 (enlarge-window, shrink-window): Don't report an error when the
13228 window can't be resized as requested (Bug#8862).
9b9c9e3a 13229
2b75be67
SM
132302011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13231
9ffdd3ba
SM
13232 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13233
cb581a67
SM
13234 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13235
2b75be67
SM
13236 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13237
8c0e3589
AM
132382011-06-15 Alan Mackenzie <acm@muc.de>
13239
cb581a67
SM
13240 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13241 for declarators, disable knr checking to speed up for normal files.
13242 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13243
b96e6cde
LMI
132442011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13245
4bba86e6
LMI
13246 * net/network-stream.el (open-network-stream): Add the keyword
13247 :always-query-capabilities for the case where you want to force a
13248 `plain' network connection, but the protocol still requires the
13249 capabilitiy command (i.e., SMTP and EHLO).
13250
2b75be67 13251 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13252 consistency with other `-live-p' functions.
13253
efdcdbf8
SM
132542011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * window.el (same-window-buffer-names, same-window-regexps)
13257 (special-display-frame-alist, special-display-popup-frame)
13258 (special-display-function, special-display-buffer-names)
13259 (special-display-regexps, pop-up-frame-alist)
13260 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13261 (pop-up-windows, split-window-preferred-function)
13262 (split-height-threshold, split-width-threshold, even-window-heights)
13263 (display-buffer-mark-dedicated): Don't encourage the use of
13264 display-buffer-alist from Elisp code.
13265
c5cde042
DN
132662011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13267
13268 * progmodes/python.el (python-mode): Derive from prog-mode.
13269 * progmodes/ps-mode.el (ps-mode):
13270 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13271 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13272 * progmodes/ld-script.el (ld-script-mode): Likewise.
13273
baa1c9ab
MR
132742011-06-15 Martin Rudalics <rudalics@gmx.at>
13275
13276 * window.el (display-buffer-alist): Trim default value to avoid
13277 popping up a new frame (Bug#8857) or reusing an arbitrary window
13278 on another frame.
13279 (display-buffer): Do not fall back on popping up a new frame in
13280 batch mode (Bug#8857).
13281
c5dd5a51
CY
132822011-06-14 Chong Yidong <cyd@stupidchicken.com>
13283
13284 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13285 (custom-theme-summary): New function.
13286 (customize-themes): Use it.
13287
d647b7c4
GM
132882011-06-13 Glenn Morris <rgm@gnu.org>
13289
13290 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13291
9481c002
MR
132922011-06-13 Martin Rudalics <rudalics@gmx.at>
13293
357f93d2
MR
13294 * help.el (help-window): Remove variable.
13295 (help-window-point-marker, temp-buffer-max-height)
13296 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13297 (help-print-return-message): Don't set help-window.
13298 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13299 (help-window-setup-finish): Remove.
13300 (help-window-display-message, help-window-setup)
13301 (with-help-window): Major rewrite based on new
13302 display-buffer-window variable.
13303
13304 * help-mode.el (help-mode-finish): Remove help-window related
13305 code.
13306
13307 * view.el (view-exits-all-viewing-windows): Remove reference to
13308 view-return-to-alist in doc-string.
13309 (view-return-to-alist): Make obsolete.
13310 (view-buffer): Call pop-to-buffer-same-window and remove
13311 undo-window code.
13312 (view-buffer-other-window): Call pop-to-buffer-other-window and
13313 simplify code. Ignore second argument.
13314 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13315 simplify code. Ignore second argument.
13316 (view-return-to-alist-update): Make obsolete.
13317 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13318 Rewrite using quit-restore window parameters.
2b75be67
SM
13319 (view-mode-exit): Rename second argument to EXIT-ONLY.
13320 Rewrite using quit-restore-window.
357f93d2
MR
13321 (View-exit, View-exit-and-edit, View-leave, View-quit)
13322 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13323 appropriate arguments.
13324 (view-end-message): Use quit-restore window parameter.
13325
9481c002
MR
13326 * window.el (display-buffer-function): Rewrite doc-string.
13327 (display-buffer-window, display-buffer-alist): New variables.
13328 (display-buffer-split-specifiers)
13329 (display-buffer-side-specifiers)
13330 (display-buffer-macro-specifiers): New constants.
13331 (display-buffer-even-window-sizes, display-buffer-set-height)
13332 (display-buffer-set-width, display-buffer-select-window)
13333 (display-buffer-in-window, display-buffer-reuse-window)
13334 (display-buffer-split-window-1, display-buffer-split-window)
13335 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13336 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13337 (display-buffer-in-side-window, normalize-buffer-to-display)
13338 (display-buffer-normalize-specifiers-1)
13339 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13340 (display-buffer-normalize-specifiers, display-buffer-frame):
13341 New functions.
9481c002
MR
13342 (display-buffer): Major rewrite.
13343 (display-buffer-other-window, display-buffer-other-frame)
13344 (pop-to-buffer, switch-to-buffer-other-window)
13345 (switch-to-buffer-other-frame): Rewrite.
13346 (display-buffer-same-window, display-buffer-same-frame)
13347 (display-buffer-same-frame-other-window)
13348 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13349 (pop-to-buffer-other-window)
13350 (pop-to-buffer-same-frame-other-window)
13351 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13352 (switch-to-buffer-other-window-same-frame): New functions.
13353 (same-window-p, special-display-p): Rewrite disabling warnings.
13354 Make obsolete.
13355 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13356 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13357 Make obsolete
13358 (same-window-buffer-names, same-window-regexps)
13359 (special-display-frame-alist, special-display-popup-frame)
13360 (special-display-function, special-display-buffer-names)
13361 (special-display-regexps, pop-up-frame-alist)
13362 (pop-up-frame-function, split-window-preferred-function)
13363 (split-height-threshold, split-width-threshold)
13364 (even-window-heights): Make obsolete.
13365
9db51aca
GM
133662011-06-12 Glenn Morris <rgm@gnu.org>
13367
13368 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13369 Misc simplifications.
9db51aca 13370
39cffb44
MR
133712011-06-12 Martin Rudalics <rudalics@gmx.at>
13372
13373 * window.el (window-safely-shrinkable-p): Restore function which
13374 was inadvertently removed in change from 2011-06-11. Declare as
13375 obsolete.
13376
2b75be67
SM
13377 * calendar/calendar.el (calendar-generate-window):
13378 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13379 window-safely-shrinkable-p.
13380
a8955be7
GM
133812011-06-12 Glenn Morris <rgm@gnu.org>
13382
13383 * progmodes/fortran.el (fortran-mode-syntax-table):
13384 * progmodes/f90.el (f90-mode-syntax-table):
13385 Set % to punctuation. (Bug#8820)
13386 (f90-find-tag-default): Remove, no longer needed.
13387
f0d4059d
DC
133882011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13389
13390 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13391
1100a63c
CY
133922011-06-11 Chong Yidong <cyd@stupidchicken.com>
13393
13394 * image.el (image-animated-p): Return animation delay in seconds.
13395 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13396 (image-animate-timeout): Remove DELAY argument. Don't assume
13397 every subimage has the same delay; get it from image-animated-p.
13398 (image-animate): Caller changed.
13399
def722bf
MA
134002011-06-11 Michael Albinus <michael.albinus@gmx.de>
13401
13402 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13403 to ignored backtrace functions.
13404
0a2bb1a9
GM
134052011-06-11 Glenn Morris <rgm@gnu.org>
13406
13407 * calendar/appt.el (appt-disp-window-function): Doc fix.
13408 (appt-check): Handle overlapping appointments. (Bug#8337)
13409
6198ccd0
MR
134102011-06-11 Martin Rudalics <rudalics@gmx.at>
13411
13412 * window.el (window-tree-1, window-tree): New functions, moving
13413 the latter to window.el.
13414 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13415 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13416 (bw-refresh-edges): Remove.
13417 (balance-windows-1, balance-windows-2): New functions.
13418 (balance-windows): Rewrite in terms of window tree functions,
13419 balance-windows-1 and balance-windows-2.
13420 (bw-adjust-window): Remove.
13421 (balance-windows-area-adjust): New function with functionality of
13422 bw-adjust-window but using resize-window.
2b75be67
SM
13423 (set-window-text-height): Rewrite doc-string.
13424 Use normalize-live-window and resize-window.
13425 (enlarge-window-horizontally, shrink-window-horizontally):
13426 Rename argument to DELTA.
6198ccd0
MR
13427 (window-buffer-height): New function.
13428 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13429 Rewrite using new window resize routines.
2b75be67
SM
13430 (kill-buffer-and-window, mouse-autoselect-window-select):
13431 Use ignore-errors instead of condition-case.
6198ccd0
MR
13432 (quit-window): Call delete-frame instead of delete-windows-on
13433 for the only buffer on frame.
13434
9397e56f
MR
134352011-06-10 Martin Rudalics <rudalics@gmx.at>
13436
13437 * loadup.el (top-level): Load window before files for the sake
13438 of replace-buffer-in-windows.
13439
13440 * files.el (read-buffer-to-switch)
13441 (switch-to-buffer-other-window)
2b75be67
SM
13442 (switch-to-buffer-other-frame, display-buffer-other-frame):
13443 Move to window.el.
9397e56f
MR
13444
13445 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13446 (previous-buffer): Move to window.el.
13447
13448 * bindings.el (unbury-buffer): Move to window.el.
13449
13450 * window.el (delete-other-windows-vertically): Move after
13451 definition of delete-other-windows.
13452 (other-window, delete-windows-on, replace-buffer-in-windows):
13453 Move here from window.c.
13454 (record-window-buffer, unrecord-window-buffer)
13455 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13456 (switch-to-next-buffer): New functions.
13457 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13458 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13459 (previous-buffer): Move here from simple.el.
13460 Call switch-to-prev-buffer.
9397e56f
MR
13461 (bury-buffer): Move here from buffer.c. Switch to previous
13462 buffer when window cannot be deleted.
13463 (unbury-buffer): Move here from bindings.el.
13464 (ctl-x-map): Move binding for other-window from window.c to
13465 here.
13466 (read-buffer-to-switch, switch-to-buffer-other-window)
13467 (switch-to-buffer-other-frame): Move here from files.el.
13468 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13469 (switch-to-buffer): Move here from buffer.c.
13470 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13471
562dd5e9
MR
134722011-06-10 Martin Rudalics <rudalics@gmx.at>
13473
13474 * window.el (window-min-height, window-min-width): Move here
13475 from window.c. Add defcustoms and rewrite doc-strings.
13476 (resize-mini-window, resize-window): New functions.
13477 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13478 Move here from window.c.
13479 (maximize-window, minimize-window): New functions.
13480 (delete-window, delete-other-windows, split-window): Move here
13481 from window.c.
13482 (window-split-min-size): New function.
13483 (split-window-keep-point): Mention split-window-above-each-other
13484 instead of split-window-vertically.
2b75be67 13485 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13486 Rename split-window-vertically to split-window-above-each-other
13487 and provide defalias for old definition.
13488 (split-window-side-by-side, split-window-horizontally):
13489 Rename split-window-horizontally to split-window-side-by-side
13490 and provide defalias for the old definition.
562dd5e9
MR
13491 (ctl-x-map): Move bindings for delete-window,
13492 delete-other-windows and enlarge-window here from window.c.
13493 Replace bindings for split-window-vertically and
13494 split-window-horizontally by bindings for
13495 split-window-above-each-other and split-window-side-by-side.
13496
13497 * cus-start.el (all): Remove entries for window-min-height and
13498 window-min-width. Add entries for window-splits and
13499 window-nest.
13500
f0da764a
GM
135012011-06-09 Glenn Morris <rgm@gnu.org>
13502
80675c21
GM
13503 * calendar/appt.el (appt-mode-line): New function.
13504 (appt-check, appt-disp-window): Use it.
13505
f0da764a
GM
13506 * files.el (hack-one-local-variable-eval-safep):
13507 Allow minor-modes with explicit +/-1 arguments.
13508
59f623b7
TZ
135092011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13510
13511 * term/xterm.el (xterm): Add defgroup.
13512 (xterm-extra-capabilities): Add defcustom to supply known xterm
13513 capabilities, skip querying them, or query them (default).
13514 (terminal-init-xterm): Use it.
13515 (terminal-init-xterm-modify-other-keys): New function to set up
13516 modifyOtherKeys support to simplify `terminal-init-xterm'.
13517
9aab8e0d
MR
135182011-06-09 Martin Rudalics <rudalics@gmx.at>
13519
13520 * window.el (resize-window-reset, resize-window-reset-1)
13521 (resize-subwindows-skip-p, resize-subwindows-normal)
13522 (resize-subwindows, resize-other-windows, resize-this-window)
13523 (resize-root-window, resize-root-window-vertically)
13524 (window-deletable-p, window-or-subwindow-p)
13525 (frame-root-window-p): New functions.
13526
e8b08aee
GM
135272011-06-09 Glenn Morris <rgm@gnu.org>
13528
13529 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13530 (ange-ftp-get-files): Use it.
13531
254c37a5
AK
135322011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13533
13534 * mail/sendmail.el (mail-recover-1, mail-recover):
13535 * files.el (recover-file, recover-session):
13536 Handle dired-listing-switches not being just a single short option.
13537
35d7dbd3
GM
135382011-06-09 Glenn Morris <rgm@gnu.org>
13539
13540 * calendar/appt.el (appt-display-message, appt-disp-window):
13541 Handle lists of appointments.
13542
387522b2
MR
135432011-06-08 Martin Rudalics <rudalics@gmx.at>
13544
2b75be67
SM
13545 * window.el (one-window-p): Move down in code.
13546 Rewrite doc-string.
13547 (window-current-scroll-bars): Rewrite doc-string.
13548 Normalize live window argument.
387522b2
MR
13549 (walk-windows, get-window-with-predicate, count-windows):
13550 Rewrite doc-string. Use window-list-1.
13551 (window-in-direction-2, window-in-direction, get-mru-window):
13552 New functions.
13553
d8e4b68b 135542011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13555
13556 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13557 Doc fix (Bug#8713).
13558
135592011-06-08 Chong Yidong <cyd@stupidchicken.com>
13560
13561 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13562
135632011-06-08 Juanma Barranquero <lekktu@gmail.com>
13564
13565 * loadhist.el (unload-feature-special-hooks):
13566 Add `comint-output-filter-functions'.
13567
0de12c52
IK
135682011-06-08 Ivan Kanis <gnu@kanis.fr>
13569
13570 * calendar/appt.el (appt-check): Move some initializations into the let.
13571
f3d1777e
MR
135722011-06-08 Martin Rudalics <rudalics@gmx.at>
13573
13574 * window.el (window-height): Defalias to window-total-height.
13575 (window-width): Defalias to window-body-width.
13576
18af70d0
CY
135772011-06-07 Chong Yidong <cyd@stupidchicken.com>
13578
13579 * image-mode.el (image-toggle-animation): New command.
13580 (image-mode-map): Bind it to RET.
13581 (image-mode): Update message.
13582 (image-toggle-display-image): Avoid a spurious cache flush.
13583 (image-transform-rotation): Doc fix.
13584 (image-transform-properties): Return quickly in the normal case.
13585 (image-animate-loop): Rename from image-animate-max-time.
13586
2b75be67 13587 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13588 (create-animated-image): Remove unnecessary function.
13589 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13590 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13591 (image-animate-timer): Use car-safe.
13592 (image-animate-timeout): Rename argument.
13593
190b47e6
MR
135942011-06-07 Martin Rudalics <rudalics@gmx.at>
13595
13596 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13597 window.c. Rename first argument to ALL-FRAMES.
13598 Rephrase doc-strings.
13599 (get-buffer-window-list): Rewrite using window-list-1.
13600 Rephrase doc-string.
a1511caf
MR
13601 (window-safe-min-height, window-safe-min-width): New constants.
13602 (window-size-ignore, window-min-size, window-min-size-1)
13603 (window-sizable, window-sizable-p, window-size-fixed-1)
13604 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13605 (window-max-delta-1, window-max-delta, window-resizable)
13606 (window-resizable-p, window-total-height, window-total-width)
13607 (window-body-width): New functions.
13608 (window-full-height-p, window-full-width-p): Rewrite using
13609 window-total-size.
13610 (window-body-height): Rewrite using window-body-size.
190b47e6 13611
85cc1f11
MR
136122011-06-06 Martin Rudalics <rudalics@gmx.at>
13613
13614 * window.el (window-right, window-left, window-child)
13615 (window-child-count, window-last-child, window-any-p)
13616 (normalize-live-buffer, normalize-live-frame)
13617 (normalize-any-window, normalize-live-window)
13618 (window-iso-combination-p, window-iso-combined-p)
13619 (window-iso-combinations)
13620 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13621 (windows-with-parameter, window-with-parameter)
13622 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13623 (window-atom-check, window-side-check, window-check):
13624 New functions.
85cc1f11
MR
13625 (ignore-window-parameters, window-sides, window-sides-vertical)
13626 (window-sides-slots): New variables.
13627 (window-size-fixed): Move down in code. Minor doc-string fix.
13628
e7156492
AS
136292011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13630
13631 * comint.el (comint-dynamic-complete-as-filename)
13632 (comint-dynamic-complete-filename): Correctly call
13633 completion-in-region.
13634
7e821d0d
DD
136352011-06-05 Deniz Dogan <deniz@dogan.se>
13636
13637 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13638 in last change.
13639
ac09b8a1
DD
136402011-06-05 Deniz Dogan <deniz@dogan.se>
13641
13642 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13643 (rcirc): Use it to prompt for encryption.
13644
34699b85
RW
136452011-06-05 Roland Winkler <winkler@gnu.org>
13646
13647 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13648 (bibtex-search-entries): New command bound to C-c C-a.
13649 (bibtex-display-entries): New function.
13650
004dedd3
RW
136512011-06-05 Roland Winkler <winkler@gnu.org>
13652
13653 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13654 (bibtex-insert-kill): After yanking insert newline if necessary.
13655 (bibtex-initialize): Call bibtex-string-files-init only once.
13656 (bibtex-mode): Do not call easy-menu-add.
13657 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13658 (bibtex-yank): Set arg properly if nil.
13659
022fe7ce
RW
136602011-06-05 Roland Winkler <winkler@gnu.org>
13661
2b75be67
SM
13662 * textmodes/bibtex.el (bibtex-search-entry-globally):
13663 New variable.
022fe7ce
RW
13664 (bibtex-search-entry): Use it.
13665
b7c3692a
RW
136662011-06-05 Roland Winkler <winkler@gnu.org>
13667
13668 * textmodes/bibtex.el (bibtex-entry-format): New option
13669 sort-fields.
13670 (bibtex-format-entry, bibtex-reformat): Honor this option.
13671 (bibtex-parse-entry): Return fields in proper order.
13672
8eda563d
JB
136732011-06-05 Juanma Barranquero <lekktu@gmail.com>
13674
13675 * doc-view.el (doc-view-remove-if): Move computation of result out
13676 of `dolist' to silence misleading lexical-binding warning.
13677
7dbe3dbc
CY
136782011-06-04 Chong Yidong <cyd@stupidchicken.com>
13679
13680 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13681 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13682
0c33dd17
MA
136832011-06-04 Michael Albinus <michael.albinus@gmx.de>
13684
13685 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13686 "SunOS 5.10".
13687
f8f91c2b
MA
136882011-06-04 Michael Albinus <michael.albinus@gmx.de>
13689
13690 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13691 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13692 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13693 (tramp-parse-putty):
13694 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13695 (tramp-completion-function-alist-ssh)
13696 (tramp-completion-function-alist-telnet)
13697 (tramp-completion-function-alist-su)
13698 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13699 cookie.
13700
13701 * net/tramp-ftp.el:
13702 * net/tramp-sh.el:
13703 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13704 load "tramp.el" `tramp-set-completion-function'.
13705
e17d9003
SM
137062011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13707
13708 * shell.el: Require and use pcomplete.
13709 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13710 (shell-completion-vars): Set pcomplete-default-completion-function.
13711
6c4cab03
DD
137122011-06-04 Deniz Dogan <deniz@dogan.se>
13713
13714 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13715 `memq' (Bug#8799).
13716
ea9fafe0
SM
137172011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13718
13719 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13720
b3e945d3
JB
137212011-06-02 Juanma Barranquero <lekktu@gmail.com>
13722
13723 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13724 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13725 * vc/log-view.el (log-view-beginning-of-defun):
13726 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13727 (smerge-refine-forward, smerge-refine-chopup-region):
13728 Silence warning for unused `dotimes' counter variables.
13729
7d520089
SM
137302011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13731
13732 * net/tramp.el (tramp-with-progress-reporter): Rename from
13733 with-progress-reporter. Use `declare'.
13734 * net/tramp-smb.el:
13735 * net/tramp-sh.el:
13736 * net/tramp-gvfs.el: Update all uses.
13737
a1c2400f
JB
137382011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13739
13740 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13741 buffer isn't killed before making it current.
13742
2403c841
SM
137432011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13744
13745 Silence various byte-compiler warnings.
13746 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13747 `access-type' and new obsolescence format.
13748 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13749 new format.
13750 (byte-compile-check-variable): New `access-type' argument.
13751 Only warn if the access-type is obsolete.
13752 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13753 (byte-compile-variable-set): Adjust callers.
13754 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13755 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13756 setting it as obsolete.
13757 * simple.el (minibuffer-completing-symbol):
13758 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13759 access as obsolete.
13760 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13761 obsolete yet.
13762 * international/quail.el (quail-mouse-choose-completion): Remove unused
13763 code referring to obsolete var.
13764 (quail-choose-completion-string): Remove.
13765 * server.el (server-clients-with, server-kill-buffer-query-function)
13766 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13767 * proced.el (proced-send-signal):
13768 * emacs-lisp/lisp.el (lisp-complete-symbol):
13769 Replace completion-annotate-function with completion-extra-properties.
13770
2462470b
SM
137712011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13772
fb5b2591
SM
13773 * simple.el (goto-line): Use read-number.
13774 (overriding-map-is-bound): Remove.
13775 (saved-overriding-map): Change default.
13776 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13777 Take the map as argument.
13778 (universal-argument, negative-argument, digit-argument): Use it.
13779 (restore-overriding-map): Adjust.
13780 (do-auto-fill): Use fill-forward-paragraph.
13781 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13782
fd6fa53f
SM
13783 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13784 (minibuffer-inactive-mode): New major mode.
13785 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13786 the *Messages* buffer" hack.
13787 (mouse-popup-menubar): Don't burp if the event is a normal key.
13788
2462470b
SM
13789 Miscellaneous tweaks.
13790 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13791 lexical scoping as in subr.el's dolist and dotimes.
13792 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13793 Silence compiler warning.
13794 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13795 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13796 * international/ccl.el (ccl-compile): Trivial simplification.
13797 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13798 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13799 `printflag' argument.
13800 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13801 Purecopy the whole obsolescence data.
13802
108bf785
LL
138032011-06-01 Leo Liu <sdl.web@gmail.com>
13804
13805 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13806 improve doc-string as suggested by Marco Pessotto
13807 <melmothx@gmail.com>.
13808 (rcirc-print): Fix last change.
13809
30a23501
SM
138102011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13811
13812 * minibuffer.el (complete-with-action): Return nil for the metadata and
13813 boundaries of non-functional tables.
13814 (completion-table-dynamic): Return nil for the metadata.
13815 (completion-table-with-terminator): Add default case, using
13816 complete-with-action.
13817 (completion--metadata): New function.
13818 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13819 to try and avoid pathological performance problems.
13820 (completion--embedded-envvar-table): Return `category' metadata.
13821
bcd54f83
LMI
138222011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13823
13824 * subr.el (process-alive-p): New tiny convenience function.
13825
e227544d
SM
138262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13827
13828 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13829 content but also its previous major mode.
13830
e8296fdc
HE
138312011-05-31 Helmut Eller <eller.helmut@gmail.com>
13832
4d61f28d 13833 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13834 *Backtrace* buffer when we exit with C-M-c.
13835
620c53a6
SM
138362011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13837
13838 * minibuffer.el: Add metadata method to completion tables.
13839 (completion-category-overrides): New defcustom.
13840 (completion-metadata, completion--field-metadata)
13841 (completion-metadata-get, completion--styles)
13842 (completion--cycle-threshold): New functions.
13843 (completion-try-completion, completion-all-completions):
13844 Add `metadata' argument to choose completion-styles.
13845 (completion--do-completion): Use metadata to choose cycling.
13846 (completion-all-sorted-completions): Use metadata for sorting.
13847 Remove :completion-cycle-penalty which is not needed any more.
13848 (completion--try-word-completion): Add `metadata' argument.
13849 (minibuffer-completion-help): Check metadata for annotation function
13850 and sorting.
13851 (completion-file-name-table): Return `category' metadata.
13852 (minibuffer-completing-file-name): Make obsolete.
13853 * simple.el (minibuffer-completing-symbol): Make obsolete.
13854 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13855 completion-try-completion.
13856
1257e755
SM
138572011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13858
13859 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13860
3767e706
LL
138612011-05-30 Leo Liu <sdl.web@gmail.com>
13862
13863 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13864 (rcirc-print): Decode all incoming messages (bug#8744).
13865 (rcirc-decode-coding-system): Allow value nil for automatic coding
13866 system detection.
3767e706 13867
d1a5d56a
GM
138682011-06-01 Glenn Morris <rgm@gnu.org>
13869
13870 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13871
e8cbec34
CY
138722011-05-29 Chong Yidong <cyd@stupidchicken.com>
13873
13874 * image.el (image-animate-max-time): Allow nil and t values.
13875 Default to nil.
13876 (create-animated-image): Doc fix.
13877 (image-animate-start): Remove second arg; just use
13878 image-animate-max-time.
13879 (image-animate-timeout): Doc fix. Args changed.
13880
13881 * image-mode.el (image-toggle-display-image): Ensure that the
13882 image spec passed to the animate timer is the same object as in
58179cce 13883 the buffer's display property (Bug#6981).
e8cbec34
CY
13884 (image-transform-properties): Doc fix.
13885
13886 * image.el (image-animate-max-time): Default to nil.
13887
159daf87
MR
138882011-05-29 Martin Rudalics <rudalics@gmx.at>
13889
13890 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13891 entire buffer list (Bug#8184).
13892
d66c4c7c
CY
138932011-05-29 Chong Yidong <cyd@stupidchicken.com>
13894
13895 * image.el (imagemagick-types-inhibit)
13896 (imagemagick-register-types): Doc fix.
13897
80aec780
DD
138982011-05-29 Deniz Dogan <deniz@dogan.se>
13899
13900 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13901 default.
13902
1dd3c2d9
CY
139032011-05-29 Chong Yidong <cyd@stupidchicken.com>
13904
13905 * select.el: Don't perform clipboard-manager saving in hooks;
13906 leave the hooks empty.
13907
60e56523
LL
139082011-05-28 Leo Liu <sdl.web@gmail.com>
13909
13910 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13911 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13912 (occur-edit-mode): New major mode (Bug#8463).
13913 (occur-after-change-function): New function.
13914 (occur-engine): Give Occur tags a read-only property.
13915
2b1e1a22
KR
139162011-05-28 Kevin Ryde <user42@zip.com.au>
13917
13918 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13919
5d344e88
CY
139202011-05-28 Chong Yidong <cyd@stupidchicken.com>
13921
8e6ca83d
CY
13922 * bindings.el (help-echo): Make the initial non-indicator dash
13923 empty on graphical terminals (Bug#7295).
13924
5d344e88
CY
13925 * files.el (auto-mode-alist): Move config rule after the
13926 in-stripping one (Bug#8547).
13927
bfbbace7
CY
13928 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13929
fbeba6e2
CY
13930 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13931 setting (Bug#8740).
13932
60ed8c72
AA
139332011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13934
4ac619f0
AA
13935 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13936 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13937 (Bug#8539).
60ed8c72 13938
23db196e
CY
139392011-05-28 Chong Yidong <cyd@stupidchicken.com>
13940
13941 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13942
5012f24c
DK
139432011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13944
13945 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13946 (hs-hide-block-at-point, hs-find-block-beginning)
13947 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13948 (Bug#8279).
13949
6a639b16
GM
139502011-05-28 Glenn Morris <rgm@gnu.org>
13951
13952 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13953
d43eaf2c
CY
139542011-05-28 Chong Yidong <cyd@stupidchicken.com>
13955
5199bde1
CY
13956 * help-fns.el (describe-function-1): If the function is a derived
13957 major mode, print the parent mode.
13958
d43eaf2c
CY
13959 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13960 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13961
423428a8
SM
139622011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13963
0ff8e1ba 13964 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13965 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13966 * progmodes/etags.el (tags-completion-at-point-function):
13967 * info-look.el (info-lookup-completions-at-point): Mark as
13968 non-exclusive.
13969 (info-complete): Adjust accordingly.
13970
423428a8
SM
13971 * info-look.el: Convert to lexical-binding and completion-at-point.
13972 (info-lookup-completions-at-point): New function.
13973 (info-complete): Use it and completion-in-region.
13974
b74aa22b
DA
139752011-05-28 Drew Adams <drew.adams@oracle.com>
13976
13977 * isearch.el: Let M-e start with point at the first mismatched char.
13978 (isearch-fail-pos): New function.
13979 (isearch-edit-string): Use it.
13980
66e2e71d
DK
139812011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13982
13983 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13984
b1890b0f 139852011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13986
13987 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13988 traversal functions for avl-trees.
13989 (avl-tree--stack): New struct.
13990 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13991 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13992 (avl-tree--do-enter): Add optional `updatefun' arg.
13993 Change return value.
eb95d01d 13994 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13995 (avl-tree--do-delete): Add `test' and `nilflag' args.
13996 Change return value.
eb95d01d
TC
13997 (avl-tree-member): Add optional `nilflag'
13998 (avl-tree-member-p): New function.
13999 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14000 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14001 (avl-tree-stack-empty-p): New functions.
14002
3769ddcf
TC
14003 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14004 avl-tree--del-balance1 and make it work both ways.
14005 (avl-tree--del-balance2): Remove.
14006 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14007 make it work both ways.
14008 (avl-tree--enter-balance2): Remove.
14009 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14010 New macros.
14011 (avl-tree--mapc, avl-tree-map): Add direction argument.
14012
eb95d01d 140132011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14014
14015 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14016
a9f737ee
CY
140172011-05-27 Chong Yidong <cyd@stupidchicken.com>
14018
14019 * select.el: Support clipboard managers with built-in function
14020 x-clipboard-manager-save, via delete-frame-functions and
14021 kill-emacs-hook.
14022 (xselect-convert-to-targets): Add MULTIPLE target to list.
14023 (xselect-convert-to-save-targets): New function.
14024
c92a1e54
KH
140252011-05-27 Kenichi Handa <handa@m17n.org>
14026
14027 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14028 let-binding rfc2047-encode-encoded-words to nil.
14029
e145f188
GM
140302011-05-27 Glenn Morris <rgm@gnu.org>
14031
5ec8a862
GM
14032 * mail/emacsbug.el: Don't require url-util.
14033
4b29d9fb
GM
14034 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14035
e145f188
GM
14036 * files.el (set-auto-mode):
14037 Also respect mode: entries at the end of the file. (Bug#8586)
14038
7d15102b
GM
140392011-05-26 Glenn Morris <rgm@gnu.org>
14040
98f593b8
GM
14041 * files.el (hack-local-variables-prop-line, hack-local-variables):
14042 Downcase mode names, as seems to be traditional.
27b48e63 14043 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14044
7d15102b
GM
14045 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14046 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14047
51d5b4ec
JD
140482011-05-25 Julien Danjou <julien@danjou.info>
14049
14050 * textmodes/rst.el (rst-define-level-faces): Do not define face
14051 symbol if it is already defined.
14052
91513f63
VB
140532011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14054
14055 * play/5x5.el (5x5-new-game, 5x5-randomize):
14056 Reset 5x5-solver-output to nil when a new grid is cast.
14057 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14058 these debugging traces, as defmacro breaks the compiled code.
14059
4d90d6d0
DK
140602011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14061
14062 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14063
e1b90ef6
LL
140642011-05-24 Leo Liu <sdl.web@gmail.com>
14065
14066 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14067 (vc-bzr-sha1): Adapt.
14068
d8e4b68b 14069 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14070
14071 * bindings.el: Provide sha1 feature.
14072
db0406bb 140732011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14074
14075 * mail/sendmail.el: Require `rfc2047'.
14076 (mail-insert-from-field): Do not perform RFC2047 encoding.
14077 (mail-encode-header): New function.
14078 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14079 buffer to the return value of select-message-coding-system.
14080 Call mail-encode-header.
b8d747b9
KH
14081
14082 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14083
db0406bb 140842011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14085
4d90d6d0
DK
14086 * mail/supercite.el (sc-default-cite-frame):
14087 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14088
eb8a5e9b
GM
140892011-05-24 Glenn Morris <rgm@gnu.org>
14090
f8630703
GM
14091 * progmodes/python.el (brm-menu): Declare.
14092
8831bbed
GM
14093 * emulation/viper.el (viper-set-hooks): Declare.
14094
eb8a5e9b
GM
14095 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14096 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14097 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14098 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14099 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14100 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14101
a2a25d24
SM
141022011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14103
14104 Add an :exit-function for completion-at-point.
14105
14106 * minibuffer.el (completion--done): New fun.
14107 (completion--do-completion): Use it. New arg `expect-exact'.
14108 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14109 since completion--do-completion does it for us now.
14110 (minibuffer-force-complete): Use completion--done and
14111 completion--replace. Handle sole-completion case with more care.
14112 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14113 (completion-extra-properties): New var.
14114 (completion-annotate-function): Make obsolete.
14115 (minibuffer-completion-help): Adjust accordingly.
14116 Use completion-list-insert-choice-function.
14117 (completion-at-point, completion-help-at-point):
14118 Bind completion-extra-properties.
14119 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14120 * simple.el (completion-list-insert-choice-function): New var.
14121 (completion-setup-function): Preserve it.
14122 (choose-completion): Pay attention to it, shuffle the code a bit.
14123 (choose-completion-string): New arg `insert-function'.
14124
14125 * textmodes/bibtex.el: Convert to lexical binding.
14126 (bibtex-mode-map): Use completion-at-point.
14127 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14128 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14129 (bibtex-complete): Define as obsolete alias.
14130 (bibtex-complete-internal): Remove.
14131 (bibtex-format-entry): Remove unused sub-group in regexp.
14132 * shell.el (shell--command-completion-data)
14133 (shell-environment-variable-completion):
14134 * pcomplete.el (pcomplete-completions-at-point):
14135 * comint.el (comint--complete-file-name-data): Use :exit-function
14136 instead of completion-table-with-terminator so it also works for
14137 choose-completion.
14138
e44e373d
SM
141392011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14140
4f91a816
SM
14141 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14142
782fc819
SM
14143 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14144 (bug#8710).
14145
e44e373d
SM
14146 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14147
381987c3
KM
141482011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14149
14150 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14151 customization variable and implement: If non-nil, auto-fill will
14152 be inhibited while on topic's header line.
14153
b776bc70
VB
141542011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14155
14156 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14157 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14158 always have a solution in grid size = 5 cases.
14159 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14160 (5x5-solver-output, 5x5-log-buffer): New vars.
14161 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14162 Make these variables buffer local to achieve 5x5 multi-session-ness.
14163 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14164 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14165 (5x5-solve-suggest): New funs.
14166 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14167 randomize a grid so that we ensure that there is always a solution.
14168 (5x5-make-random-grid): Allow other movement than flipping.
14169
7de88b6e
KR
141702011-05-23 Kevin Ryde <user42@zip.com.au>
14171
14172 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14173 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14174 advice and passes PREDICATE.
14175
b1ef1257
SM
141762011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14177
bbca48fe
SM
14178 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14179 byte-compile-lambda if it's actually a lambda.
14180
b1ef1257
SM
14181 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14182 Fix function quoting. Use backquote better.
14183
92a9cc65
YS
141842011-05-22 Yuanle Song <sylecn@gmail.com>
14185
14186 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14187 matching (Bug#8516).
14188
f0fb8059
JA
141892011-01-22 Jari Aalto <jari.aalto@cante.net>
14190
14191 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14192 different face (Bug#8178).
14193
d5b44c93
CY
141942011-05-22 Chong Yidong <cyd@stupidchicken.com>
14195
14196 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14197 defface (Bug#8144).
14198
79106a44
SM
141992011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14200
9c848d8a
SM
14201 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14202 funcall as well (bug#8712). Warn when performing those conversions.
14203 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14204
79106a44
SM
14205 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14206
88dfa756
GM
142072011-05-22 Glenn Morris <rgm@gnu.org>
14208
14209 * files.el (hack-local-variables-prop-line): Small simplifications.
14210 (hack-local-variables, hack-local-variables-prop-line):
14211 If MODE-ONLY, return the mode, rather than just `t'.
14212
b7cf2c79
SM
142132011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14214
14215 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14216
3f1a8558
GM
142172011-05-21 Glenn Morris <rgm@gnu.org>
14218
7e4ccca3
GM
14219 * files.el (hack-local-variables-prop-line, hack-local-variables):
14220 If only interested in the mode, don't bother doing the other stuff.
14221
637d46ca
GM
14222 * image-mode.el (image-after-revert-hook):
14223 Redraw all frames on which the image is visible. (Bug#8567)
14224
973d955b
GM
14225 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14226
3f1a8558
GM
14227 * wid-edit.el (widget-checklist-match-inline):
14228 Fix 2011-04-19 change. (Bug#8649)
14229
96479927
SM
142302011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14231
1dcf791f
SM
14232 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14233 Also allow singlespace after single-letter capitals followed by a dot.
14234
96479927
SM
14235 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14236 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14237
35fd0881
N
142382011-05-20 Nix <nix@esperi.org.uk>
14239
14240 * files.el (basic-save-buffer-2):
14241 Fix handling of break-hardlink-on-save with non-existent files.
14242
82745640
DD
142432011-05-19 Deniz Dogan <deniz@dogan.se>
14244
14245 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14246 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14247
4a720484
GM
142482011-05-19 Glenn Morris <rgm@gnu.org>
14249
d1f21341
GM
14250 * progmodes/f90.el (f90-type-def-re):
14251 Handle "type, bind(c)". (Bug#8691)
14252
4a720484
GM
14253 * emacs-lisp/autoload.el (batch-update-autoloads):
14254 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14255
2fb0a219
MA
142562011-05-18 Michael Albinus <michael.albinus@gmx.de>
14257
14258 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14259 property for the correct connection in case of multihops.
14260
e565dd37
GM
142612011-05-18 Glenn Morris <rgm@gnu.org>
14262
c2571358 14263 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14264 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14265
e565dd37
GM
14266 Rationalize calendar handling of day and month abbrev-arrays.
14267 * calendar/calendar.el (calendar-customized-p): New function.
14268 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14269 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14270 Add :set function.
14271 (calendar-abbrev-length, calendar-day-abbrev-array)
14272 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14273 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14274 Elements may no longer be nil.
14275 (calendar-day-name, calendar-month-name):
14276 Update for changed nature of abbrev arrays.
14277 * calendar/diary-lib.el (diary-name-pattern):
14278 Update for changed nature of abbrev arrays.
14279 (diary-mark-entries-1): Update calendar-make-alist calls.
14280 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14281 * calendar/cal-html.el (cal-html-day-abbrev-array):
14282 Simply inherit from calendar-day-abbrev-array.
14283
1d99a745
SM
142842011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14285
14286 * progmodes/grep.el (grep-mode): Disable default
14287 compilation-directory-matcher setting (bug#8684).
14288
7c1d9aa0
MA
142892011-05-17 Michael Albinus <michael.albinus@gmx.de>
14290
14291 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14292 instead of "head" and "tail". There were problems with SunOS 5.9,
14293 and it performs better.
14294
3952e9d8
GM
142952011-05-17 Glenn Morris <rgm@gnu.org>
14296
2dd12e7f
GM
14297 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14298
e4157b9c
GM
14299 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14300 Replace obsolete function.
14301
8e249bbd
GM
14302 * shell.el (pcomplete-parse-arguments-function): Declare.
14303
3952e9d8
GM
14304 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14305 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14306 (appt-check): Doc fixes.
14307 (appt-disp-window-function, appt-delete-window-function):
14308 Remove needless special case in custom :type.
14309 (appt-display-count): Default to 0, not nil.
14310 (appt-check): Reset appt-display-count to 0, not nil.
14311
c71a0d48 143122011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14313
c71a0d48
GM
14314 * progmodes/python.el (python-font-lock-keywords):
14315 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14316
31d55be9
SM
143172011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14318
14319 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14320
3bfacb2f
KR
143212011-05-16 Kevin Ryde <user42@zip.com.au>
14322
14323 * info-look.el (makefile-automake-mode): New setups, looking in
14324 automake manual, then makefile-mode.
14325 (makefile-mode): Remove automake manual, have it just in
14326 makefile-automake-mode since there's various things different or
14327 not relevant to plain make.
14328 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14329 believe a hypothetical automake-mode would go to makefile-mode,
14330 not the other way around.
14331
c8e83751
CY
143322011-05-15 Chong Yidong <cyd@stupidchicken.com>
14333
5e9e35cd
CY
14334 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14335 hunk-end tags (Bug#8672).
14336
c8e83751
CY
14337 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14338 vc-annotate-show-diff-revision-at-line (Bug#8671).
14339
50b23e5a
GM
143402011-05-14 Glenn Morris <rgm@gnu.org>
14341
7210a739
GM
14342 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14343 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14344 (change-log-font-lock-keywords): Also handle multiple author lines
14345 with leading tabs. (Bug#8644)
7210a739 14346
4691905a
GM
14347 * calendar/appt.el (appt-check): Rename some local variables.
14348 Some simplification/reordering.
14349
50b23e5a
GM
14350 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14351 (feedmail-sendmail-f-doesnt-sell-me-out)
14352 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14353 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14354 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14355 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14356 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14357 (feedmail-binmail-gnulinuxish-template):
14358 Rename from feedmail-binmail-linuxish-template.
14359 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14360 Use insert-buffer-substring.
14361
215cda7c
BC
143622011-05-14 Bill Carpenter <bill@carpenter.org>
14363
14364 * mail/feedmail.el (feedmail-patch-level): Increase.
14365 (feedmail-debug): New custom group.
14366 (feedmail-confirm-outgoing-timeout)
14367 (feedmail-sendmail-f-doesnt-sell-me-out)
14368 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14369 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14370 (feedmail-sender-line, feedmail-from-line)
14371 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14372 (feedmail-spray-this-address)
215cda7c
BC
14373 (feedmail-spray-address-fiddle-plex-list)
14374 (feedmail-queue-use-send-time-for-date)
14375 (feedmail-queue-use-send-time-for-message-id)
14376 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14377 (feedmail-buffer-eating-function):
14378 Doc fixes.
14379 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14380 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14381 (feedmail-message-action-scroll-down): New functions.
14382 (feedmail-queue-directory, feedmail-queue-draft-directory):
14383 Use expand-file-name.
14384 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14385 Remove C-v help entry.
14386 (feedmail-queue-buffer-file-name): New variable.
14387 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14388 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14389 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14390 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14391 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14392 (feedmail-message-action-toggle-spray)
14393 (feedmail-run-the-queue-no-prompts)
14394 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14395 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14396 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14397 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14398 (feedmail-envelope-deducer, feedmail-fiddle-from)
14399 (feedmail-fiddle-sender, feedmail-default-date-generator)
14400 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14401 (feedmail-fiddle-spray-address)
14402 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14403 (feedmail-fiddle-list-of-fiddle-plexes)
14404 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14405 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14406 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14407 Change default. Doc fix.
14408 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14409 (feedmail-binmail-linuxish-template): New constant.
14410 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14411 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14412 (feedmail-send-it): Add debug call.
14413 Use feedmail-queue-buffer-file-name, and
14414 feedmail-send-it-immediately-wrapper.
14415 (feedmail-message-action-send): Add debug call.
14416 Use feedmail-send-it-immediately-wrapper.
14417 (feedmail-queue-express-to-queue): Add debug call.
14418 Run feedmail-queue-express-hook.
14419 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14420 (feedmail-message-action-help-blat):
14421 Rename from feedmail-queue-send-edit-prompt-help-first.
14422 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14423 Check line-endings. Handle errors better.
14424 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14425 Doc fix. Add debug call.
14426 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14427 Use feedmail-queue-send-edit-prompt-inner.
14428 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14429 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14430 from feedmail-queue-send-edit-prompt.
14431 (feedmail-queue-send-edit-prompt-help)
14432 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14433 (feedmail-tidy-up-slug): Add debug call.
14434 Respect feedmail-queue-slug-suspect-regexp.
14435 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14436 (feedmail-dump-message-to-queue): Add debug call.
14437 Expand queue-directory.
14438 (feedmail-dump-message-to-queue): Change message slightly.
14439 Use feedmail-say-chatter.
14440 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14441 (feedmail-send-it-immediately-wrapper): New function.
14442 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14443 Insert empty string rather than newline. Handle full-frame case.
14444 Use catch/throw. Use feedmail-say-chatter.
14445 (feedmail-fiddle-from): Try mail-host-address.
14446 (feedmail-default-message-id-generator): Doc fix.
14447 Bind system-time-locale. Handle missing end.
14448 (feedmail-fiddle-x-mailer): Add debug call.
14449 Handle feedmail-x-mailer-line being nil.
14450 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14451 Add debug call. Use buffer-substring-no-properties.
14452 (feedmail-say-debug, feedmail-say-chatter): New functions.
14453 (feedmail-find-eoh): Give an explicit error.
14454
42c7e61e
UJ
144552011-05-13 Ulf Jasper <ulf.jasper@web.de>
14456
c2571358 14457 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14458 family from helvetica to sans.
c2571358 14459 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14460 etc/images/newsticker.
14461
c2571358 14462 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14463 family from helvetica to sans.
14464
14465 * net/newst-plainview.el (newsticker-new-item-face)
14466 (newsticker-old-item-face, newsticker-immortal-item-face)
14467 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14468 (newsticker-statistics-face): Change default family from
42c7e61e 14469 helvetica to sans.
c2571358 14470 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14471 etc/images/newsticker.
14472
5d3385a0
JB
14473 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14474 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14475 auto-marking.
14476
8497a297
DV
144772011-05-13 Didier Verna <didier@xemacs.org>
14478
14479 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14480 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14481 TODO entries.
8497a297
DV
14482 (lisp-lambda-list-keyword-parameter-indentation)
14483 (lisp-lambda-list-keyword-parameter-alignment)
14484 (lisp-lambda-list-keyword-alignment): New customizable user options.
14485 (lisp-indent-defun-method): Improve docstring.
14486 (extended-loop-p): Fix comment.
14487 (lisp-indent-lambda-list-keywords-regexp): New variable.
14488 (lisp-indent-lambda-list): New function.
14489 (lisp-indent-259): Use it.
14490 (lisp-indent-defmethod): Support for more than one
14491 method qualifier and properly indent methods lambda-lists.
14492 (defgeneric): Provide a missing common-lisp-indent-function property.
14493
f278f87f
SM
144942011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14495
14496 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14497 bounds for the empty string (bug#8667).
14498
5233edd7
GM
144992011-05-13 Glenn Morris <rgm@gnu.org>
14500
5237a44f
GM
14501 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14502
8340026c 14503 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14504 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14505
5233edd7 14506 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14507 (appt-time-msg-list): Doc fix.
a5464014 14508 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14509
92d10796
AS
145102011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14511
14512 * progmodes/ld-script.el (ld-script-keywords)
14513 (ld-script-builtins): Update keywords list.
14514
914a0ae1
SM
145152011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14516
c89be45f
SM
14517 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14518
914a0ae1
SM
14519 * shell.el (shell-completion-vars): New function.
14520 (shell-mode):
14521 * simple.el (read-shell-command): Use it.
14522 (blink-matching-open): No need for " [...]" in minibuffer-message.
14523
98dc3df3
GM
145242011-05-12 Glenn Morris <rgm@gnu.org>
14525
14526 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14527 (appt-check): Simplify.
14528
d2fc7e3d 145292011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14530
4d61f28d 14531 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14532 literal "/dev/null".
14533
d2fc7e3d 145342011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14535
14536 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14537 Fix typo.
14538
d2fc7e3d 145392011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14540
3f254caa
SM
14541 * progmodes/which-func.el (which-function):
14542 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14543 which might not be defined (Bug#8260).
14544
d45885f7
GM
145452011-05-12 Glenn Morris <rgm@gnu.org>
14546
14547 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14548 Let byte-compile-initial-macro-environment always take precedence.
14549
488086f4
SM
145502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14551
14552 * net/rcirc.el: Add support for SSL/TLS connections.
14553 (rcirc-server-alist): New field `encryption'.
14554 (rcirc): Check `encryption' settings.
14555 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14556 Merge make-local-variable into `set'.
14557 (rcirc--connection-open-p): New function.
14558 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14559 the process is not a network process (e.g. running gnutls-cli).
14560 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14561 Make rcirc-(en|de)code-coding-system local here.
14562 (rcirc-mode): Merge make-local-variable into `set'.
14563 (rcirc-parent-buffer): Make permanent buffer-local.
14564 (rcirc-multiline-minor-mode): Don't do it here.
14565 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14566 there's no server buffer.
14567
7d3b9d44
GM
145682011-05-11 Glenn Morris <rgm@gnu.org>
14569
f64049c6
GM
14570 * newcomment.el (comment-kill): Prefix "unused" local.
14571
93c9df73
GM
14572 * term/w32console.el (get-screen-color): Declare.
14573
7d3b9d44
GM
14574 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14575 Handle symbol elements of byte-compile-initial-macro-environment.
14576
9e2dd53f
LL
145772011-05-10 Leo Liu <sdl.web@gmail.com>
14578
488086f4
SM
14579 * bookmark.el (bookmark-bmenu-mode-map):
14580 Bind bookmark-bmenu-search to `/'.
8b340240 14581
9e2dd53f 14582 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14583 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14584 (Footnote-unicode): New function.
14585 (footnote-style-alist): Add unicode style to the list.
14586 (footnote-style): Doc fix.
9e2dd53f 14587
79b70037
GM
145882011-05-10 Jim Meyering <meyering@redhat.com>
14589
14590 Fix doubled-word typos.
14591 * international/quail.el (quail-insert-kbd-layout): and and -> and
14592 * kermit.el: and and -> and
14593 * net/ldap.el (ldap-search-internal): to to -> to
14594 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14595 * progmodes/js.el (js-mode): and and -> and
14596 * textmodes/artist.el (artist-move-to-xy): at at -> at
14597 (artist-draw-region-trim-line-endings): if if -> if
14598 And Safetyc -> Safety.
14599 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14600
b8f82dc1 146012011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14602 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14603
14604 * files.el (hack-one-local-variable-eval-safep):
14605 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14606
4f99f44b
GM
146072011-05-10 Glenn Morris <rgm@gnu.org>
14608
14609 * calendar/diary-lib.el (diary-list-entries-hook)
14610 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14611 (diary-nongregorian-marking-hook, diary-list-entries)
14612 (diary-include-other-diary-files, diary-mark-entries)
14613 (diary-mark-included-diary-files): Doc fixes.
14614
84f29e6b
JB
146152011-05-09 Juanma Barranquero <lekktu@gmail.com>
14616
14617 * misc.el: Require tabulated-list.el during compilation.
14618
9bedd73a
CY
146192011-05-09 Chong Yidong <cyd@stupidchicken.com>
14620
488086f4
SM
14621 * progmodes/compile.el (compilation-start):
14622 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14623 (compilation-filter-hook): Doc fix.
14624
797c735c
DD
146252011-05-09 Deniz Dogan <deniz@dogan.se>
14626
14627 * wdired.el: Remove outdated installation comment. Fix usage
14628 comment.
14629
5f4b1dfe
JB
146302011-05-09 Juanma Barranquero <lekktu@gmail.com>
14631
14632 * misc.el: Implement new command `list-dynamic-libraries'.
14633 (list-dynamic-libraries--loaded-only-p): New variable.
14634 (list-dynamic-libraries--refresh): New function.
14635 (list-dynamic-libraries): New command.
14636
4c44026c
CY
146372011-05-09 Chong Yidong <cyd@stupidchicken.com>
14638
488086f4
SM
14639 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14640 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14641 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14642 higher priority to avoid clobbering by gnu.
14643
027f966d
CY
146442011-05-08 Chong Yidong <cyd@stupidchicken.com>
14645
14646 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14647 if the face has existing theme settings (Bug#8454).
14648
085f5d7d
CY
146492011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14650
488086f4
SM
14651 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14652 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14653
2a86a00c
RS
14654 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14655 special file names `.' and `..' (Bug#8259).
14656
d9c54a06
CY
146572011-05-08 Chong Yidong <cyd@stupidchicken.com>
14658
488086f4
SM
14659 * progmodes/grep.el (grep-mode-font-lock-keywords):
14660 Remove buffer-changing entries.
d9c54a06
CY
14661 (grep-filter): New function.
14662 (grep-mode): Add it to compilation-filter-hook.
14663
14664 * progmodes/compile.el (compilation-filter-hook)
14665 (compilation-filter-start): New defvars.
14666 (compilation-filter): Call compilation-filter-hook prior to
14667 updating the process mark.
14668
c4662635
SM
146692011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14672
b0512a1d
EZ
146732011-05-07 Eli Zaretskii <eliz@gnu.org>
14674
605c9376
EZ
14675 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14676 mailclient-send-it even if window-system is nil. (Bug#8595)
14677
c4662635
SM
14678 * term/w32console.el (terminal-init-w32console):
14679 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14680 background-mode. (Bug#8597)
14681
d1dc2cc2
SM
146822011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14683
14684 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14685 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14686 New functions.
14687 (defgeneric, eieio--defmethod): Use them.
14688 (eieio-defgeneric): Remove.
14689 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14690
915d1300
GM
146912011-05-07 Glenn Morris <rgm@gnu.org>
14692
a3961c3e
GM
14693 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14694 Use let rather than let*.
14695 (timeclock-find-discrep): Remove unused local.
14696
314347b9
GM
14697 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14698
915d1300
GM
14699 * calendar/appt.el (appt-time-msg-list): Doc fix.
14700
275b59b0
NF
147012011-05-06 Noah Friedman <friedman@splode.com>
14702
14703 * apropos.el (apropos-print-doc): Only use
14704 emacs-lisp-docstring-fill-column when it is bound to an integer,
14705 per that variable's documentation.
14706
6c19f744
SM
147072011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14708
14709 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14710 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14711
60f884b2
GM
147122011-05-06 Glenn Morris <rgm@gnu.org>
14713
5006e634
GM
14714 * calendar/appt.el (appt-message-warning-time): Doc fix.
14715 (appt-warning-time-regexp): New option.
14716 (appt-make-list): Respect appt-message-warning-time.
14717
548d0a63
GM
14718 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14719 New options.
14720 (diary-add-to-list): Strip comments from the displayed string.
14721 (diary-mode): Set comment-start and comment-end.
14722
60f884b2
GM
14723 * vc/diff-mode.el (smerge-refine-subst): Declare.
14724 (diff-refine-hunk): Don't require smerge-mode when compiling.
14725
989681bb
JB
147262011-05-06 Juanma Barranquero <lekktu@gmail.com>
14727
14728 * simple.el (list-processes): Return nil as the docstring says.
14729
a6bc05e1
MA
147302011-05-05 Michael Albinus <michael.albinus@gmx.de>
14731
14732 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14733 to "".
14734 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14735 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14736 determining of binary transfer. (Bug#7383)
14737
23c22e9a
MA
147382011-05-05 Michael Albinus <michael.albinus@gmx.de>
14739
c4662635
SM
14740 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14741 Fix port computation bug. (Bug#8618)
23c22e9a 14742
0bff894f
GM
147432011-05-05 Glenn Morris <rgm@gnu.org>
14744
b8296902
GM
14745 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14746
1f522ce8
GM
14747 * simple.el (shell-dynamic-complete-functions)
14748 (comint-dynamic-complete-functions): Declare.
14749
cf5bee67
GM
14750 * net/network-stream.el (gnutls-negotiate):
14751 * simple.el (tabulated-list-print): Fix declarations.
14752
14753 * progmodes/gud.el (syntax-symbol, syntax-point):
14754 Remove unnecessary and incorrect declarations.
14755
0bff894f
GM
14756 * emacs-lisp/check-declare.el (check-declare-scan):
14757 Handle byte-compile-initial-macro-environment in bytecomp.el
14758
9869b3ae
SM
147592011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14760
14761 Fix earlier half-done eieio-defmethod change (bug#8338).
14762 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14763 Streamline and change calling convention.
14764 (defmethod): Adjust accordingly and simplify.
14765 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14766 new eieio--defmethod.
14767 (slot-boundp): Minor CSE simplification.
14768
9c1d5ac5
MZ
147692011-05-05 Milan Zamazal <pdm@zamazal.org>
14770
14771 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14772 (glasses-make-readable): Use glasses-separate-capital-groups.
14773
455c834e
JB
147742011-05-05 Juanma Barranquero <lekktu@gmail.com>
14775
14776 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14777 (warning-series): Doc fix.
14778 (display-warning): Don't try to create the buffer if we just found it.
14779
9ed7c8cb
CY
147802011-05-04 Chong Yidong <cyd@stupidchicken.com>
14781
14782 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14783 (autoload-find-generated-file): New function.
14784 (generate-file-autoloads): Bind generated-autoload-file to
14785 buffer-file-name.
9869b3ae
SM
14786 (update-file-autoloads, update-directory-autoloads):
14787 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14788 output file (Bug#7989).
14789 (batch-update-autoloads): Doc fix.
14790
0898ca10
JB
147912011-05-04 Juanma Barranquero <lekktu@gmail.com>
14792
14793 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14794
31dfb76c
GM
147952011-05-04 Glenn Morris <rgm@gnu.org>
14796
f330b642
GM
14797 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14798 function, so it follows changes in calendar-date-style.
14799 (diary-fancy-date-matcher): New function.
14800 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14801 (diary-fancy-font-lock-fontify-region-function):
14802 Use diary-fancy-date-pattern as a function.
14803
31dfb76c
GM
14804 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14805 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14806
48e79d6a
TZ
148072011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14808
14809 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14810 instead of positional arguments. Allow :keylist and :crlfiles
14811 arguments.
14812 (open-gnutls-stream): Call it.
14813
14814 * net/network-stream.el (network-stream-open-starttls): Adjust to
14815 call `gnutls-negotiate' with :process and :hostname arguments.
14816
dd5a5ee0
SM
148172011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14818
ef80fc09
SM
14819 * minibuffer.el (completion--message): New function.
14820 (completion--do-completion, minibuffer-complete)
14821 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14822 (completion--do-completion): Don't ignore completion-auto-help when in
14823 icomplete-mode.
14824
dd5a5ee0
SM
14825 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14826 internal encoding (e.g. tibetan zero is not whitespace).
14827 (global-whitespace-mode): Prefer save-current-buffer.
14828 (whitespace-trailing-regexp): Remove useless save-match-data.
14829 (whitespace-empty-at-bob-regexp): Minor simplification.
14830
b7d22a83
CY
148312011-05-03 Chong Yidong <cyd@stupidchicken.com>
14832
14833 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14834
5192af46
AM
148352011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14836
14837 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14838 Use `concat' to create string for insertion.
5192af46 14839
5767d190
SM
148402011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14841
14842 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14843 Avoid open-line which runs post-self-insert-hook.
14844 (bibtex-fill-entry): Remove unused `end' var.
14845
bf242939
AM
148462011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14847
5767d190
SM
14848 * textmodes/ispell.el (ispell-add-per-file-word-list):
14849 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14850
25666126
LL
148512011-05-03 Leo Liu <sdl.web@gmail.com>
14852
14853 * isearch.el (isearch-yank-pop): New command.
5767d190 14854 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14855 (isearch-forward): Mention it.
14856
52d3c2d0
SM
148572011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14858
1bcace58
SM
14859 * simple.el (minibuffer-complete-shell-command): Remove.
14860 (minibuffer-local-shell-command-map): Use completion-at-point.
14861 (read-shell-command): Setup completion vars here instead.
14862 (read-expression-map): Bind TAB to symbol completion.
14863
52d3c2d0
SM
14864 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14865 error directly rather via storing it into `results'.
14866
35813471
LL
148672011-05-02 Leo Liu <sdl.web@gmail.com>
14868
14869 * vc/diff.el: Fix description.
14870
e793a940
LMI
148712011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14872
14873 * server.el (server-eval-at): New function.
14874
8de66e05
LMI
148752011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14876
14877 * net/network-stream.el (open-network-stream): Take a :nowait
14878 parameter and pass it on to `make-network-process'.
14879 (network-stream-open-plain): Ditto.
14880
dcb79f20
AS
148812011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14882
14883 * faces.el (face-spec-set-match-display): Don't match toolkit
14884 options on terminal frames.
14885
14a7fbd8
SM
148862011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14887
7eabc1be
SM
14888 * progmodes/pascal.el: Use lexical binding.
14889 (pascal-mode-map): Remove author preferences.
14890
14a7fbd8
SM
14891 * pcomplete.el (pcomplete-std-complete): Don't abuse
14892 completion-at-point.
14893
50f84510
JB
148942011-04-28 Juanma Barranquero <lekktu@gmail.com>
14895
6e087a44
JB
14896 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14897 removing code that has been dead since 1991 or so.
14898
50f84510
JB
14899 * startup.el (command-line): When warning about "_emacs", use a
14900 delayed warning to allow the user to filter it out.
14901
0ba690bd
DD
149022011-04-28 Deniz Dogan <deniz@dogan.se>
14903
14904 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14905 user has not joined.
14906
08abfaad
SM
149072011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14908
14909 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14910 aren't any completions at point.
14911
638f053a
JB
149122011-04-28 Juanma Barranquero <lekktu@gmail.com>
14913
14914 * subr.el (display-delayed-warnings): New function.
14915 (delayed-warnings-hook): New variable.
14916
8fff8daa
SM
149172011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14918
08abfaad
SM
14919 * minibuffer.el (completion-at-point, completion-help-at-point):
14920 Don't presume that a given completion-at-point-function will always
14921 use the same calling convention.
14922
8fff8daa
SM
14923 * pcomplete.el (pcomplete-completions-at-point):
14924 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14925 pcomplete-seen is non-nil.
14926 (pcomplete-comint-setup): Also recognize the new comint/shell
14927 completion functions.
14928 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14929 pcomplete-seen is non-nil.
14930
841a1577 149312011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14932
841a1577 14933 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14934 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14935 the first character in the entry. This allows for code to add its
211ec907
UJ
14936 own uid to the entry.
14937 (icalendar--convert-float-to-ical): Add export of
14938 `diary-float'-entries save for those with the optional DAY
14939 argument.
14940
2a782793
DC
149412011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14942
14943 * subr.el (shell-quote-argument): Use alternate escaping strategy
14944 when we spot a variable reference in a string.
14945
0438ce91
DC
149462011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14947
14948 * cus-start.el (all): Define customization for debug-on-event.
14949
841a1577 149502011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14951
14952 * subr.el (shell-quote-argument): Escape correctly under Windows.
14953
d090ed6c
SM
149542011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14955
14956 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14957
bfd31217
MA
149582011-04-25 Michael Albinus <michael.albinus@gmx.de>
14959
d090ed6c
SM
14960 * net/tramp.el (tramp-process-actions): Add POS argument.
14961 Delete region between POS and (pos).
bfd31217 14962
d090ed6c
SM
14963 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14964 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14965 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14966
14967 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14968 position in `tramp-process-actions' call.
14969
14970 * net/trampver.el: Update release number.
14971
e92f3bd3
SM
149722011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14973
850256b5
SM
14974 * custom.el (defcustom): Obey lexical-binding.
14975
e92f3bd3
SM
14976 Fix octave-inf completion problems reported by Alexander Klimov.
14977 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14978 Inherit from octave-mode-syntax-table.
14979 (inferior-octave-mode): Set info-lookup-mode.
14980 (inferior-octave-completion-at-point): New function.
14981 (inferior-octave-complete): Use it and completion-in-region.
14982 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14983 comint-filename-completion.
14984 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14985 symbol elements which shouldn't be word elements.
14986 (octave-font-lock-keywords, octave-beginning-of-defun)
14987 (octave-function-header-regexp): Adjust regexps accordingly.
14988 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14989
cd22b309
JB
149902011-04-25 Juanma Barranquero <lekktu@gmail.com>
14991
14992 * net/gnutls.el (gnutls-errorp): Declare before first use.
14993
8b492194
TZ
149942011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14995
14996 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14997 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14998 default trustfile exists before going to use it. Add missing
5a5fa834 14999 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15000 Reported by Claudio Bley <claudio.bley@gmail.com>.
15001 (open-gnutls-stream): Add usage example.
15002
15003 * net/network-stream.el (network-stream-open-starttls): Give host
15004 parameter to `gnutls-negotiate'.
15005 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15006 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15007
841a1577 150082011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15009
cd22b309
JB
15010 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15011 Use correct match group (bug#8438).
05842630 15012
3ba7869c
CY
150132011-04-24 Chong Yidong <cyd@stupidchicken.com>
15014
512e3ae1
CY
15015 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15016 (package-menu--generate): New arg specifying packages to show.
15017 (package-menu-refresh, package-menu-execute, list-packages):
15018 Callers changed.
15019 (package-show-package-list): New function, replacing deleted
15020 package--list-packages (renamed because it is non-internal).
15021
15022 * finder.el (finder-list-matches): Use package-show-package-list
15023 instead of deleted package--list-packages.
15024
e92f3bd3
SM
15025 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15026 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15027 (vc-annotate-mode-map): Bind it to RET.
15028
7031be6d
UR
150292011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15030
15031 * progmodes/etags.el (next-file): Don't use set-buffer to change
15032 buffers (Bug#8478).
15033
4ef177aa
CY
150342011-04-24 Chong Yidong <cyd@stupidchicken.com>
15035
c8d173eb
CY
15036 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15037
4ef177aa
CY
15038 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15039 (apropos-accumulator): Doc fix.
15040 (apropos-function, apropos-macro, apropos-command)
15041 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15042 (apropos-plist): Add face property.
15043 (apropos-symbols-internal): Fix indentation.
15044 (apropos-print): Simplify help, and recognize apropos-multi-type.
15045 (apropos-print-doc): Use button-type-get to extract the button's
15046 face property. Fill docstring (Bug#8352).
15047
4ffd0d6b 150482011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15049
15050 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15051
c6c32125 15052 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15053 (mpuz-mode-map): Use mapc.
c6c32125
JB
15054 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15055 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15056 Fix typos in docstrings.
15057
58d468b4
JB
15058 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15059 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15060
6470c3c6
JB
15061 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15062
4ffd0d6b 150632011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15064
15065 * minibuffer.el (completion--do-completion): Avoid the "Next char
15066 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15067
3ad8bad0
CY
15068 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15069 mouse-2 into unread-command-events, it is interpreted correctly.
15070
71d73c9c 15071 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15072 (image-toggle-display): Doc fix.
71d73c9c 15073
841a1577 150742011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15075
4ffd0d6b
GM
15076 * textmodes/page.el (what-page): Use line-number-at-pos to
15077 calculate line number (Bug#6825).
6e1dbaa9 15078
c2fb1b60
JB
150792011-04-22 Juanma Barranquero <lekktu@gmail.com>
15080
15081 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15082 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15083 Pass argument NO-DEFAULT to `find-tag-interactive'.
15084
e02f48d7
JB
150852011-04-22 Juanma Barranquero <lekktu@gmail.com>
15086
15087 Lexical-binding cleanup.
15088
15089 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15090 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15091 * progmodes/ada-prj.el (ada-prj-initialize-values)
15092 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15093 (ada-prj-show-value):
15094 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15095 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15096 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15097 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15098 * progmodes/bug-reference.el (bug-reference-push-button):
15099 * progmodes/fortran.el (fortran-line-length):
15100 * progmodes/glasses.el (glasses-change):
15101 * progmodes/octave-mod.el (octave-fill-paragraph):
15102 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15103 (python-pdbtrack-grub-for-buffer, python-sentinel):
15104 * progmodes/sql.el (sql-save-connection):
15105 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15106 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15107 Mark unused parameters.
15108
15109 * progmodes/compile.el (compilation--flush-directory-cache)
15110 (compilation--flush-parse, compile-internal): Mark unused parameters.
15111 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15112 (compilation-next-error-function): Remove unused variable `timestamp'.
15113
15114 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15115 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15116
15117 * progmodes/dcl-mode.el (dcl-end-of-command):
15118 Remove unused variable `start'.
15119 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15120 (dcl-option-value-basic, dcl-option-value-offset)
15121 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15122 Mark unused parameters.
15123 (dcl-save-local-variable): Remove unused variable `val'.
15124 (mode): Declare.
15125
15126 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15127 Mark unused parameters.
15128 (delphi-ignore-changes): Move before first use.
15129 (delphi-charset-token-at): Remove unused variable `start'.
15130 (delphi-else-start): Remove unused variable `if-count'.
15131 (delphi-comment-block-start, delphi-comment-block-end):
15132 Remove unused variable `kind'.
15133 (delphi-indent-line): Remove unused variable `new-point'.
15134
15135 * progmodes/ebrowse.el (ebrowse-files-list)
15136 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15137 Mark unused parameters. Don't quote `lambda'.
15138 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15139 Don't quote `lambda'.
15140 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15141 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15142 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15143 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15144 Use `ignore-errors'.
15145 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15146 (ebrowse-view/find-file-and-search-pattern)
15147 (ebrowse-view/find-member-declaration/definition):
15148 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15149 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15150 Rename parameter PREFIX-ARG to PREFIX.
15151 (ebrowse-tags-read-name): Remove unused variables `start' and
15152 `member-info'.
15153 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15154 to `tags-file'.
15155
15156 * progmodes/etags.el (local-find-tag-hook): Declare.
15157 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15158 Mark unused parameters.
15159
15160 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15161 (executable-interpret): Mark unused parameter.
15162
15163 * progmodes/flymake.el (flymake-process-sentinel)
15164 (flymake-after-change-function)
15165 (flymake-create-temp-with-folder-structure)
15166 (flymake-get-include-dirs-dot): Mark unused parameters.
15167 (flymake-safe-delete-directory): Remove unused variable `err'.
15168
15169 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15170 (speedbar-timer-fn, speedbar-line-text)
15171 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15172 (speedbar-center-buffer-smartly): Declare functions.
15173 (gdb-find-watch-expression): Remove unused variable `array'.
15174 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15175 (gdb-starting): Mark unused parameters.
15176 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15177 (gdb-table-string): Remove unused variable `res'.
15178 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15179 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15180 (gdb-display-buffer): Remove unused variable `cur-size'.
15181
15182 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15183 allow lexical-binding compilation.
15184 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15185 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15186 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15187 Mark unused parameters.
15188 (gud-gdb-marker-filter): Remove unused variable `match'.
15189 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15190 lambda expressions and funcall them, instead of using `fset'.
15191
15192 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15193 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15194
15195 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15196 variable `header-beg'; use `let'.
15197
15198 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15199 `restart', `last-sexp' and `at-do'.
15200
15201 * progmodes/js.el (js--debug): Mark unused parameter.
15202 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15203 (js--splice-into-items): Remove unused variable `item'.
15204 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15205
15206 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15207 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15208 (makefile-complete): Remove unused variable `try'.
15209 (makefile-fill-paragraph, makefile-match-function-end):
15210 Mark unused parameters.
15211
15212 * progmodes/octave-inf.el (inferior-octave-complete):
15213 Remove unused variable `proc'.
15214 (inferior-octave-output-digest): Mark unused parameter.
15215
15216 * progmodes/perl-mode.el (perl-calculate-indent):
15217 Remove unused variable `err'.
15218
15219 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15220 (prolog-indent-line): Mark unused parameters.
15221 (prolog-indent-line): Remove unused variable `beg'.
15222
15223 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15224 (reporter-dont-compact-list): Declare.
15225
15226 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15227 Remove unused variable `char'.
15228 (sh-debug): Mark unused parameter.
15229 (sh-get-indent-info): Remove unused variable `start'.
15230 (sh-calculate-indent): Remove unused variable `var'.
15231
15232 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15233 (simula-electric-keyword): Remove unused variable `null'.
15234 (simula-search-backward, simula-search-forward): Remove unused
15235 variables `begin' and `end'.
15236
15237 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15238 Remove unused variable `pos'.
15239 (vera-electric-tab, vera-comment-uncomment-region):
15240 Mark unused parameters.
15241 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15242
7ede3b65
CY
152432011-04-22 Chong Yidong <cyd@stupidchicken.com>
15244
15245 * emacs-lisp/package.el (package--builtins, package-alist)
15246 (package-load-descriptor, package-built-in-p, package-activate)
15247 (define-package, package-installed-p)
15248 (package-compute-transaction, package-buffer-info)
15249 (package--push): Doc fix. Distinguish more clearly between
15250 version strings and version lists.
15251
121656e9
JB
152522011-04-21 Juanma Barranquero <lekktu@gmail.com>
15253
15254 Lexical-binding cleanup.
15255
15256 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15257 (5x5-make-mutate-best):
15258 * play/fortune.el (fortune-in-buffer):
15259 * play/gomoku.el (gomoku-init-display):
15260 * play/solitaire.el (solitaire, solitaire-do-check):
15261 * play/tetris.el (tetris-default-update-speed-function):
15262 Mark unused parameters.
15263
15264 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15265 (bubbles--shift): Remove unused variable `char-org'.
15266 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15267 (bubbles--show-images): Remove unused variable `char'.
15268
15269 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15270 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15271 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15272 (decipher-analyze-buffer): Use ?\s.
15273 (decipher-make-checkpoint): Remove unused variable `mapping'.
15274
15275 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15276
15277 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15278 Remove unused variable `result'; use `let'.
15279
15280 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15281 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15282 (gametree-children-shown-p, gametree-compute-reduced-score):
15283 Use `ignore-errors'.
15284
15285 * play/handwrite.el (ps-lpr-switches): Declare.
15286 (handwrite): Remove unused variables `pmin' and `lastp'.
15287
15288 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15289
15290 * play/landmark.el (landmark-init-display)
15291 (landmark-update-naught-weights): Mark unused parameters.
15292 (landmark-y): Remove unused variable `noise'. Simplify.
15293 (landmark-human-plays): Remove unused variable `score'.
15294
15295 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15296 (mpuz-try-proposal): Remove unused variable `game'.
15297
15298 * play/zone.el (life-patterns): Declare.
15299
80f499c7
JB
153002011-04-20 Juanma Barranquero <lekktu@gmail.com>
15301
15302 * vc/vc.el (ediff-vc-internal): Declare function.
15303
024ff170
SM
153042011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15305
c0a193ea
SM
15306 * shell.el: Use lexical-binding and std completion UI.
15307 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15308 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15309 comint-preoutput-filter-functions rather than on
15310 comint-output-filter-functions.
15311 (shell-command-completion, shell--command-completion-data)
15312 (shell-filename-completion, shell-environment-variable-completion)
15313 (shell-c-a-p-replace-by-expanded-directory): New functions.
15314 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15315 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15316 (shell-dynamic-complete-environment-variable): Use them.
15317 (shell-dynamic-complete-as-environment-variable)
15318 (shell-dynamic-complete-as-command): Remove.
15319 (shell-match-partial-variable): Match past point.
15320 * comint.el: Clean up use of completion-at-point-functions.
15321 (comint-completion-at-point): New function.
15322 (comint-mode): Use it completion-at-point-functions.
15323 (comint-dynamic-complete): Make it obsolete.
15324 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15325 (comint-c-a-p-replace-by-expanded-history): New function.
15326 (comint-dynamic-complete-functions)
15327 (comint-replace-by-expanded-history): Use it.
15328 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15329 termination strings. Try harder to avoid second try-completion.
15330 (completion-in-region-mode-map): Disable bindings that don't work yet.
15331
2dbaa080
SM
15332 * comint.el: Use lexical-binding. Require CL.
15333 (comint-dynamic-complete-functions): Use comint-filename-completion.
15334 (comint-completion-addsuffix): Tweak custom type.
15335 (comint-filename-completion, comint--common-suffix)
15336 (comint--common-quoted-suffix, comint--table-subvert)
15337 (comint--complete-file-name-data): New functions.
15338 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15339 (comint-dynamic-list-filename-completions): Use them.
15340 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15341
2dbaa080
SM
15342 * minibuffer.el (completion-in-region-mode):
15343 Keep completion-in-region-mode--predicate global.
15344 (completion-in-region--postch):
15345 Assume completion-in-region-mode--predicate is not null.
15346
c79a6f38
SM
15347 * progmodes/flymake.el (flymake-start-syntax-check-process):
15348 Obey `dir'. Simplify.
15349
024ff170
SM
15350 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15351 we're in VC after all.
15352
1c6c854e
CS
153532011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15354
15355 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15356 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15357 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15358
bed7f140
SM
153592011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15360
332e62ab
SM
15361 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15362 add sanity check.
15363
bed7f140
SM
15364 * obsolete/erc-hecomplete.el: Make obsolete.
15365 * obsolete/: Standardize obsolescence info in the header.
15366
f195c582
GM
153672011-04-20 Glenn Morris <rgm@gnu.org>
15368
15369 * calendar/solar.el (solar-horizontal-coordinates):
15370 Use the longitude argument rather than `calendar-longitude'.
15371 (solar-date-next-longitude): Remove unused locals.
15372
cb79b8c0
VJL
153732011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15374
15375 * whitespace.el: New version 13.2.1.
15376
153772011-04-20 felix <EmacsWiki> (tiny change)
15378
d8e4b68b 15379 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15380 switching between major modes on a file.
15381
602ea69d
SM
153822011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15383
15384 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15385 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15386 multi-line comments as well.
15387
06b60517
JB
153882011-04-19 Juanma Barranquero <lekktu@gmail.com>
15389
15390 Lexical-binding cleanup.
15391
15392 * arc-mode.el (archive-mode-revert):
15393 * cmuscheme.el (scheme-interactively-start-process):
15394 * custom.el (custom-initialize-delay):
15395 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15396 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15397 * emacs-lock.el (emacs-lock-clear-sentinel):
15398 * ezimage.el (defezimage):
15399 * follow.el (follow-avoid-tail-recenter):
15400 * fringe.el (set-fringe-mode-1):
15401 * generic-x.el (bat-generic-mode-compile):
15402 * help-mode.el (help-info-variable, help-do-xref)
15403 (help-mode-revert-buffer):
15404 * help.el (view-emacs-todo):
15405 * iswitchb.el (iswitchb-completion-help):
15406 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15407 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15408 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15409 * locate.el (locate-update):
15410 * longlines.el (longlines-encode-region)
15411 (longlines-after-change-function):
15412 * outline.el (outline-isearch-open-invisible):
15413 * ps-def.el (declare-function, charset-dimension, char-width)
15414 (encode-char):
15415 * ps-mule.el (ps-mule-plot-string):
15416 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15417 (recentf-edit-list-select, recentf-edit-list-validate)
15418 (recentf-open-files-action):
15419 * rect.el (delete-whitespace-rectangle-line)
15420 (rectangle-number-line-callback):
15421 * register.el (window-configuration-to-register)
15422 (frame-configuration-to-register):
15423 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15424 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15425 (xselect-convert-to-targets, xselect-convert-to-delete)
15426 (xselect-convert-to-filename, xselect-convert-to-charpos)
15427 (xselect-convert-to-lineno, xselect-convert-to-colno)
15428 (xselect-convert-to-os, xselect-convert-to-host)
15429 (xselect-convert-to-user, xselect-convert-to-class)
15430 (xselect-convert-to-name, xselect-convert-to-integer)
15431 (xselect-convert-to-atom, xselect-convert-to-identity):
15432 * subr.el (declare, ignore, process-kill-without-query)
15433 (text-clone-maintain):
15434 * terminal.el (te-get-char, te-tic-sentinel):
15435 * tool-bar.el (tool-bar-make-keymap):
15436 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15437 * type-break.el (type-break-mode, type-break-noninteractive-query):
15438 * view.el (View-back-to-mark):
15439 * wid-browse.el (widget-browse-action, widget-browse-widget)
15440 (widget-browse-widgets, widget-browse-sexp):
15441 * widget.el (define-widget-keywords):
15442 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15443 Mark unused parameters.
15444
15445 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15446 (align-areas): Remove unused variable `look'.
15447 (align-region): Remove unused variables `real-end' and `pos-list'.
15448
15449 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15450
15451 * bindings.el (mode-line-modified, mode-line-remote):
15452 Mark unused parameters.
15453 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15454
15455 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15456 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15457
15458 * comint.el (comint-history-isearch-pop-state)
15459 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15460 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15461 (comint-substitute-in-file-name): Doc fix.
15462
15463 * completion.el (cmpl-statistics-block): Mark unused parameter.
15464 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15465 (save-completions-to-file, load-completions-from-file):
15466 Remove unused local variable `e'.
15467
15468 * composite.el (compose-chars): Remove unused variable `len'.
15469 (lgstring-insert-glyph): Remove unused variable `g'.
15470 (compose-glyph-string): Remove unused variables `ascent',
15471 `descent', `lbearing' and `rbearing'.
15472 (compose-glyph-string-relative): Remove unused variables
15473 `lbearing', `rbearing' and `wadjust'.
15474 (compose-gstring-for-graphic): Remove unused variables `header',
15475 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15476 (compose-gstring-for-terminal): Remove unused variables `header'
15477 and `nchars'. Use `let', not `let*'.
15478
15479 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15480 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15481 (Custom-buffer-done, custom-buffer-create-internal)
15482 (custom-browse-visibility-action, custom-browse-group-tag-action)
15483 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15484 (widget-magic-mouse-down-action, custom-toggle-parent)
15485 (custom-add-parent-links, custom-toggle-hide-variable)
15486 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15487 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15488 (custom-face-menu-create, custom-variable-menu-create, get)
15489 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15490 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15491 (customize-apropos): Remove unused variable `tests'.
15492 (custom-group-value-create): Remove unused variable `hidden-p'.
15493 (sort-fold-case): Declare.
15494
15495 * cus-theme.el (custom-reset-standard-faces-list)
15496 (custom-reset-standard-variables-list): Declare.
15497 (customize-create-theme, custom-theme-revert, custom-theme-write)
15498 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15499 Mark unused parameters.
15500
15501 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15502
15503 * delim-col.el (delimit-columns-max): Move defvar before first use.
15504
15505 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15506 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15507
15508 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15509 (auto-insert): Declare.
15510 (desktop-restore-file-buffer): Rename desktop-* parameters;
15511 mark unused ones.
15512 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15513 (desktop-buffer): Rename desktop-* parameters.
15514
15515 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15516 (dframe-reposition-frame-xemacs, dframe-help-echo)
15517 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15518 Mark unused parameters.
15519
15520 * dired-aux.el (backup-extract-version-start, overwrite-query)
15521 (overwrite-backup-query, rename-regexp-query)
15522 (rename-non-directory-query): Declare.
15523 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15524 (dired-add-entry): Remove unused variable `orig-file-name'.
15525 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15526 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15527 `dired-copy-preserve-time' directly.
15528 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15529 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15530
15531 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15532 (dired-virtual-revert, dired-make-relative-symlink):
15533 Mark unused parameters.
15534 (manual-program): Declare.
15535 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15536 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15537 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15538
15539 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15540
15541 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15542
15543 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15544 Declare.
15545
15546 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15547
15548 * electric.el (Electric-command-loop): Rename parameter
15549 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15550
15551 * expand.el (expand-in-literal): Remove unused variable `here'.
15552
15553 * facemenu.el (facemenu-add-new-color):
15554 Remove unused variable `docstring'.
15555
15556 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15557 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15558 (face-attr-construct): Mark unused parameter. Doc fix.
15559 (read-color): Remove unused variable `hex-string'.
15560
15561 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15562 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15563 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15564 (display-buffer-other-frame): Remove unused variable `old-window'.
15565 (kill-buffer-hook): Declare.
15566 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15567 Mark unused parameters.
15568 (after-find-file): Pass 1 to `auto-save-mode', not t.
15569
15570 * files-x.el (auto-insert): Declare.
15571 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15572
15573 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15574 variable `buf'. Mark unused parameter.
06b60517
JB
15575 (find-lisp-insert-directory): Mark unused parameter.
15576
15577 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15578 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15579 (format-common-tail): Remove, unused.
15580 (format-deannotate-region): Remove unused variable `loc'.
15581 (format-annotate-region): Remove unused variable `p'.
15582 (format-annotate-single-property-change): Remove unused variables
15583 `default' and `tail'.
15584
15585 * forms.el (read-file-filter): Declare.
15586 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15587
15588 * frame.el (frame-creation-function-alist): Mark unused parameter.
15589 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15590
15591 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15592 Remove unused parameters.
15593 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15594 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15595
15596 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15597 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15598 (hfy-prepare-tag-map): Mark unused parameters.
15599 (htmlfontify-buffer): Use `called-interactively-p'.
15600
15601 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15602 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15603 (ibuffer-do-occur): Mark unused parameters.
15604 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15605 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15606
15607 * ibuffer.el: Don't quote `lambda'.
15608 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15609 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15610 Mark unused parameters.
15611
15612 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15613 (ido-completing-read): Mark unused parameters.
15614 (ido-copy-current-word): Mark unused parameters;
15615 remove unused variable `name'.
15616 (ido-sort-merged-list): Remove unused parameter `dirs'.
15617
15618 * ielm.el (ielm-input-sender): Mark unused parameter.
15619 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15620 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15621 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15622 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15623 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15624
15625 * image-dired.el (image-dired-display-thumbs): Remove unused
15626 variables `curr-file' and `count'.
15627 (image-dired-remove-tag): Remove unused variable `start'.
15628 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15629 variable `curr-file'
15630 (image-dired-rotate-original): Remove unused variable `temp-file'.
15631 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15632 Remove unused variable `file'.
15633 (image-dired-gallery-generate): Remove unused variable `curr'.
15634 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15635
15636 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15637
15638 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15639
15640 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15641
15642 * isearch.el (minibuffer-history-symbol): Declare.
15643 (isearch-edit-string): Remove unused variable `err'.
15644 (isearch-message-prefix, isearch-message-suffix):
15645 Mark unused parameters.
15646
15647 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15648
15649 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15650
15651 * makesum.el (double-column): Remove unused variable `cnt'.
15652
15653 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15654 (ido-ignore-item-temp-list): Declare.
15655
15656 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15657 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15658 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15659 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15660 `mouse-col-delta'.
15661
15662 * mouse-sel.el (mouse-extend-internal):
15663 Remove unused variable `orig-window-frame'.
15664
15665 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15666 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15667 Move declarations before first use.
15668 (pcomplete-opt): Mark unused parameters; doc fix.
15669
15670 * proced.el (proced-revert): Mark unused parameter.
15671 (proced-send-signal): Remove unused variable `err'.
15672
15673 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15674 Rename parameter PREFIX-ARG to ARG.
15675 (ps-basic-plot-string, ps-basic-plot-whitespace):
15676 Mark unused parameters.
15677
15678 * replace.el (replace-count): Define.
15679 (occur-revert-function): Mark unused parameters.
15680 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15681 (isearch-case-fold-search, isearch-string): Declare.
15682 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15683 bind `case-fold-search'. Remove unused variables `beg' and `end',
15684 and simplify.
15685 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15686 COUNT and bind `replace-count'.
15687 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15688 to COUNT.
15689
15690 * savehist.el (print-readably, print-string-length): Declare.
15691
15692 * shadowfile.el (shadow-expand-cluster-in-file-name):
15693 Remove unused variable `cluster'.
15694 (shadow-copy-file): Remove unused variable `i'.
15695 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15696 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15697 (shadow-define-literal-group, shadow-define-regexp-group)
15698 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15699
15700 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15701 (shell): Use `called-interactively-p'.
15702 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15703
15704 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15705 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15706 (delete-backward-char): Remove unused variable `ocol'.
15707 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15708 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15709 (event-apply-hyper-modifier, event-apply-shift-modifier)
15710 (event-apply-control-modifier, event-apply-meta-modifier):
15711 Mark unused parameters.
15712 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15713 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15714
15715 * speedbar.el (speedbar-ignored-directory-expressions)
15716 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15717 (speedbar-find-file, speedbar-dir-follow)
15718 (speedbar-directory-buttons-follow, speedbar-tag-find)
15719 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15720 (speedbar-buffers-line-directory, speedbar-buffer-click):
15721 Mark unused parameters.
15722 (speedbar-tag-file): Remove unused variable `mode'.
15723 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15724
15725 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15726
15727 * talk.el (talk): Remove unused variable `display'.
15728
15729 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15730 (tar-write-region-annotate): Mark unused parameter.
15731
15732 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15733 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15734 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15735 warning by another.
15736
15737 * time-stamp.el (time-stamp-string-preprocess):
15738 Remove unused variable `require-padding'.
15739
15740 * tree-widget.el (widget-glyph-enable): Declare.
15741 (tree-widget-action): Mark unused parameter.
15742
15743 * w32-fns.el (x-get-selection): Mark unused parameter.
15744 (autoload-make-program, generated-autoload-file): Declare.
15745
15746 * wdired.el (wdired-revert): Mark unused parameters.
15747 (wdired-xcase-word): Remove unused variable `err'.
15748
15749 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15750 (whitespace-help-scroll): Remove unused variable `data-help'.
15751
15752 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15753 (widget-image-insert, widget-after-change, default)
15754 (widget-default-format-handler, widget-default-notify)
15755 (widget-default-prompt-value, widget-info-link-action)
15756 (widget-url-link-action, widget-function-link-action)
15757 (widget-variable-link-action, widget-file-link-action)
15758 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15759 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15760 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15761 (widget-insert-button-action, widget-delete-button-action, visibility)
15762 (widget-documentation-link-action, widget-documentation-string-action)
15763 (widget-const-prompt-value, widget-regexp-match, symbol)
15764 (widget-coding-system-prompt-value)
15765 (widget-key-sequence-value-to-external, sexp)
15766 (widget-sexp-value-to-internal, character, vector, cons)
15767 (widget-choice-prompt-value, widget-boolean-prompt-value)
15768 (widget-color--choose-action): Mark unused parameters.
15769 (widget-item-match-inline, widget-choice-match-inline)
15770 (widget-checklist-match, widget-checklist-match-inline)
15771 (widget-group-match): Rename parameter VALUES to VALS.
15772 (widget-field-value-set): Remove unused variable `size'.
15773 (widget-color-action): Remove unused variables `value' and `start'.
15774
15775 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15776 variable `dir'. Doc fix.
06b60517
JB
15777 (windmove-find-other-window): Don't pass it.
15778
15779 * window.el (count-windows): Mark unused parameter.
15780 (bw-adjust-window): Remove unused variable `err'.
15781
15782 * woman.el (woman-file-name): Remove unused variable `default'.
15783 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15784 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15785 (global-font-lock-mode): Declare.
15786 (woman-decode-region): Mark unused parameter.
15787 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15788
15789 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15790 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15791 (x-dnd-handle-moz-url): Remove unused variable `title'.
15792 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15793
15794 * xml.el (xml-parse-tag, xml-parse-attlist):
15795 Remove unused variable `pos'.
15796
bc4f7f3d
GM
157972011-04-19 Glenn Morris <rgm@gnu.org>
15798
15799 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15800 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15801 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15802 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15803 * calendar/cal-html.el (cal-html-insert-minical):
15804 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15805 (calendar-mark-date-pattern):
15806 Prefix "unused" locals.
15807
15808 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15809 optional argument `style'.
15810
15811 * calendar/appt.el (appt-make-list):
15812 * calendar/cal-china.el (calendar-chinese-date-string):
15813 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15814 (diary-hebrew-yahrzeit):
15815 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15816 * calendar/calendar.el (calendar-generate-window):
15817 * calendar/time-date.el (time-to-days):
15818 Remove unused local variables.
15819
16a43933
CY
158202011-04-18 Chong Yidong <cyd@stupidchicken.com>
15821
15822 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15823 glyphless-char-display table.
15824 (tabulated-list-glyphless-char-display): New var.
15825
7eed1860
SS
158262011-04-18 Sam Steingold <sds@gnu.org>
15827
15828 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15829 to acknowledgments.
15830
4d2d1ccd
GM
158312011-04-17 Glenn Morris <rgm@gnu.org>
15832
15833 * calendar/diary-lib.el (diary-sexp-entry):
15834 * calendar/holidays.el (holiday-sexp):
15835 Set debug-on-error rather than the removed stack-trace-on-error.
15836
239da61d
GM
158372011-04-16 Glenn Morris <rgm@gnu.org>
15838
15839 * progmodes/f90.el: Use lexical-binding.
15840 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15841
8b05752a
SM
158422011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15843
daca8ba5
SM
15844 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15845 (mail-mode): Setup mailalias completion here instead.
15846 * mail/mailalias.el: Use lexical-binding.
15847 (pattern, mailalias-done): Declare dynamic.
15848 (mail-completion-at-point-function): New function, from mail-complete.
15849 (mail-complete): Use it.
15850 (mail-completion-expand): New function.
15851 (mail-get-names): Use it.
15852 (mail-directory, mail-directory-process, mail-directory-stream):
15853 Don't use `pattern' for lexically bound arg.
15854
6f542485
SM
15855 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15856
037e7c3f
SM
15857 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15858 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15859 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15860
8b05752a
SM
15861 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15862 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15863 (byte-interactive-p): Define them again, for use when inlining
15864 old code.
15865
49093f60
JB
158662011-04-15 Juanma Barranquero <lekktu@gmail.com>
15867
15868 * loadup.el: Use `string-to-number', not `string-to-int'.
15869
b5b8e7de
SM
158702011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15871
15872 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15873 gud-gdb-complete-command.
15874 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15875 (gud-gdb-completion-at-point): New function.
15876 (gud-gdb-completions): Remove.
15877
f42efeb5
MA
158782011-04-14 Michael Albinus <michael.albinus@gmx.de>
15879
49093f60
JB
15880 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15881 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15882 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15883 whether `executable-find' is bound.
f42efeb5
MA
15884
15885 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15886
e240cc21
SM
158872011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15888
15889 * minibuffer.el (completion-in-region-mode-predicate)
15890 (completion-in-region-mode--predicate): New vars.
15891 (completion-in-region, completion-in-region--postch)
15892 (completion-in-region-mode): Use them.
15893 (completion--capf-wrapper): Also return the hook function.
15894 (completion-at-point, completion-help-at-point):
15895 Adjust and provide a predicate.
c2bd2ab0
SM
15896
15897 Preserve arg names for advice of subr and lexical functions (bug#8457).
15898 * help-fns.el (help-function-arglist): Consolidate the subr and
15899 new-byte-code cases. Add argument `preserve-names' to extract names
15900 from the docstring when needed.
15901 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15902 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15903 (ad-arglist): Use help-function-arglist's new arg.
15904 (ad-definition-type): Use cond.
15905
c183f693
JB
159062011-04-13 Juanma Barranquero <lekktu@gmail.com>
15907
06641a47
JB
15908 * autorevert.el (auto-revert-handler):
15909 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15910 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15911 Don't quote lambda.
15912
c183f693
JB
15913 * image-mode.el (image-transform-set-scale):
15914 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15915
1e3b6001
G
159162011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15917
15918 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15919 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15920 Upgrades via gnutls-cli are too slow to be done opportunistically.
15921
2d6af8dd
JB
159222011-04-12 Juanma Barranquero <lekktu@gmail.com>
15923
15924 * dframe.el (dframe-current-frame): Remove spurious quote.
15925
c0749a51
GM
159262011-04-12 Glenn Morris <rgm@gnu.org>
15927
088d0d61
GM
15928 * calendar/cal-tex.el (cal-tex-end-document):
15929 Try to automatically use latin1 input if needed.
15930
c0749a51
GM
15931 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15932 Don't try to cons a mark onto an empty element.
15933
5c90fde0
LL
159342011-04-11 Leo Liu <sdl.web@gmail.com>
15935
15936 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15937 buffers.
15938 (ido-kill-buffer-at-head): Support killing virtual buffers.
15939
369e974d
CY
159402011-04-10 Chong Yidong <cyd@stupidchicken.com>
15941
15942 * minibuffer.el (completion-show-inline-help): New var.
15943 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15944 (minibuffer-force-complete, minibuffer-complete-word):
15945 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15946
15947 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15948 to avoid interference from inline help (Bug#5849).
15949
37f1c930
LL
159502011-04-10 Leo Liu <sdl.web@gmail.com>
15951
099c39a4
JB
15952 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15953 Fix typo.
37f1c930 15954
a32d4040
CY
159552011-04-09 Chong Yidong <cyd@stupidchicken.com>
15956
15957 * image-mode.el (image-toggle-display-image): Signal an error if
15958 not in Image mode.
15959 (image-transform-mode, image-transform-resize)
15960 (image-transform-set-rotation): Doc fix.
daca8ba5 15961 (image-transform-set-resize): Delete.
a32d4040
CY
15962 (image-transform-set-scale, image-transform-fit-to-height)
15963 (image-transform-fit-to-width): Handle image-toggle-display-image
15964 and image-transform-resize directly.
15965
099c39a4 159662011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15967
15968 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15969 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15970 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15971 (doc-view-mode-map): Add bindings for the new functions.
15972
099c39a4 159732011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15974
4d61f28d 15975 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15976 Fix typo in docstring.
15977
3726838a
EZ
159782011-04-08 Eli Zaretskii <eliz@gnu.org>
15979
04f33f1e
EZ
15980 * files.el (file-size-human-readable): Produce one digit after
15981 decimal, like "ls -lh" does.
15982
15983 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15984 the file size representation.
15985
3726838a
EZ
15986 * simple.el (list-processes): If async subprocesses are not
15987 available, error out with a clear error message.
15988
cbb59342
CY
159892011-04-08 Chong Yidong <cyd@stupidchicken.com>
15990
15991 * help.el (help-form-show): New function, to be called from C.
15992 Put help-form output in a buffer named differently than *Help*.
15993
e3971c44
EZ
159942011-04-08 Eli Zaretskii <eliz@gnu.org>
15995
15996 * files.el (file-size-human-readable): New function.
15997
15998 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15999 computing the representation inline. Don't require `cl'.
16000
12544bbe
GM
160012011-04-08 Glenn Morris <rgm@gnu.org>
16002
a1de6c6a
GM
16003 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16004
3c4671f4
GM
16005 * net/browse-url.el (browse-url-firefox):
16006 Test system-type, not system-configuration.
16007
b605679c
GM
16008 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16009 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16010 Use log-edit-empty-buffer-p. (Bug#7598)
16011
56442f0c
GM
16012 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16013 (rlogin-mode-map): Initialize in the defvar.
16014 (rlogin): Use ignore-errors.
16015
12544bbe
GM
16016 * replace.el (occur-mode-map): Some fixes for menu items.
16017
eb237b0f
AH
160182011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16019
16020 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16021
7d668f2c
CY
160222011-04-06 Chong Yidong <cyd@stupidchicken.com>
16023
e67a13ab
CY
16024 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16025 issuing unused warnings.
16026
16027 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16028 macro directly.
16029
7d668f2c
CY
16030 * simple.el: Lisp reimplement of list-processes. Based on an
16031 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16032 (process-menu-mode): New major mode.
16033 (list-processes--refresh, list-processes):
16034 (process-menu-visit-buffer): New functions.
16035
16036 * files.el (save-buffers-kill-emacs): Don't assume any return
16037 value of list-processes, which is undocumented anyway.
16038
a83ec3c9
CY
160392011-04-06 Chong Yidong <cyd@stupidchicken.com>
16040
16041 * emacs-lisp/tabulated-list.el: New file.
16042
e91a96fe
CY
16043 * emacs-lisp/package.el: Use Tabulated List mode.
16044 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16045 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16046 table format using Tabulated List mode variables.
16047 (package--push): New macro, replacing package-list-maybe-add.
16048 (package-menu--generate): Use package--push. Renamed from
16049 package--generate-package-list.
16050 (package-menu-refresh, list-packages): Use it.
daca8ba5 16051 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16052 Return insertion data instead of inserting it directly.
099c39a4
JB
16053 (package-menu-describe-package, package-menu-execute):
16054 Use tabulated-list-get-id.
e91a96fe
CY
16055 (package-menu-mark-delete, package-menu-mark-install)
16056 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16057 (package-menu-mark-obsolete-for-deletion):
16058 Use tabulated-list-put-tag.
e91a96fe
CY
16059 (package--list-packages, package-menu-revert)
16060 (package-menu-get-package, package-menu-get-version)
16061 (package-menu-sort-by-column): Functions deleted.
16062 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16063 (package-menu--status-predicate, package-menu--version-predicate)
16064 (package-menu--name-predicate)
16065 (package-menu--description-predicate): Handle arguments in the
16066 Tabulated List format.
16067 (package-list-packages-no-fetch): Call list-packages.
16068
3e214b50
JB
160692011-04-06 Juanma Barranquero <lekktu@gmail.com>
16070
16071 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16072 (after-find-file): Don't bind it.
3e214b50
JB
16073 (revert-buffer-in-progress-p): New variable.
16074 (revert-buffer): Bind it.
16075 Pass nil for `after-find-file-from-revert-buffer'.
16076
16077 * saveplace.el (save-place-find-file-hook): Use new variable
16078 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16079
3f0f1700
GM
160802011-04-06 Glenn Morris <rgm@gnu.org>
16081
c0274801
GM
16082 * Makefile.in (AUTOGEN_VCS): New variable.
16083 (autoloads): Use $AUTOGEN_VCS.
16084
3f0f1700
GM
16085 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16086 * calendar/calendar.el (calendar-mode-map):
16087 Check for toolkit scroll bars. (Bug#8305)
16088
41ea9e48
CY
160892011-04-05 Chong Yidong <cyd@stupidchicken.com>
16090
16091 * minibuffer.el (completion-in-region--postch)
16092 (completion-in-region-mode): Remove unnecessary messages.
16093
6194c800
JB
160942011-04-05 Juanma Barranquero <lekktu@gmail.com>
16095
33256f14
JB
16096 * font-lock.el (font-lock-refresh-defaults):
16097 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16098 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16099
6194c800
JB
16100 * info.el (Info-directory-list, Info-read-node-name-2)
16101 (Info-split-parameter-string): Doc fixes.
16102 (Info-virtual-nodes): Reflow docstring.
16103 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16104 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16105 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16106 Fix typos in docstrings.
16107 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16108 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16109 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16110 (Info-restore-desktop-buffer): Mark unused parameters.
16111 (Info-directory-find-file, Info-directory-find-node)
16112 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16113 (Info-virtual-index-find-node, Info-apropos-find-file)
16114 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16115 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16116 (Info-virtual-index): Remove unused local variable `nodename'.
16117
b87a8200 161182011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16119
b87a8200
DD
16120 * net/rcirc.el: Update my e-mail address.
16121 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16122
3b2ff876
CY
161232011-04-05 Chong Yidong <cyd@stupidchicken.com>
16124
16125 * startup.el (command-line): Save the cursor's theme-face
16126 directly, instead of using face-override-spec.
16127
16128 * custom.el (load-theme): Minor optimization in assigning faces.
16129
8d17e7ca
JB
161302011-04-04 Juanma Barranquero <lekktu@gmail.com>
16131
16132 * help-fns.el (describe-variable): Complete all variables having
16133 documentation, including keywords.
16134 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16135
2fbc1934
JB
161362011-04-04 Juanma Barranquero <lekktu@gmail.com>
16137
16138 Convert to lexical-binding.
16139
16140 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16141 (bs--get-marked-string, bs--get-modified-string)
16142 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16143 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16144 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16145
16146 * ehelp.el (electric-help-execute-extended)
16147 (electric-help-ctrl-x-prefix):
16148 * hexl.el (hexl-revert-buffer-function):
16149 * linum.el (linum-after-change, linum-after-scroll):
16150 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16151
16152 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16153
74f50695
DU
161542011-04-04 Daiki Ueno <ueno@unixuser.org>
16155
16156 * epa-dired.el:
16157 * epa-mail.el:
16158 * epa-hook.el:
16159 * epa-file.el:
16160 * epa.el:
16161 * epg.el: Use lexical binding.
16162
c11325f7
CY
161632011-04-03 Chong Yidong <cyd@stupidchicken.com>
16164
0d9e9a12
CY
16165 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16166
c11325f7 16167 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16168 dictionary case for flyspell-mark-duplications-exceptions.
16169 Use regexp matching for languages.
c11325f7
CY
16170 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16171 default dictionary (Bug#7926).
16172
da91b5f2
CY
161732011-04-02 Chong Yidong <cyd@stupidchicken.com>
16174
099c39a4
JB
16175 * emacs-lisp/package.el (package--with-work-buffer):
16176 Recognize https URLs.
da91b5f2 16177
099c39a4
JB
16178 * net/network-stream.el: Move from gnus/proto-stream.el.
16179 Change prefix to network-stream throughout.
da91b5f2
CY
16180 (open-protocol-stream): Merge into open-network-stream, leaving
16181 open-protocol-stream as an alias. Handle nil BUFFER args.
16182
16183 * subr.el (open-network-stream): Move to net/network-stream.el.
16184
afa8e9f6
GM
161852011-04-02 Glenn Morris <rgm@gnu.org>
16186
1d2e369d
GM
16187 * find-dired.el (find-exec-terminator): New option.
16188 (find-ls-option): Test for -ls support.
16189 (find-ls-subdir-switches): Test for -b in find-ls-option.
16190 (find-dired, find-grep-dired): Doc fixes.
16191 (find-dired): Use find-exec-terminator.
16192
8abb7da8 16193 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16194 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16195 (find-name-arg): Remove purecopy.
8abb7da8 16196
f3ca7378
GM
16197 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16198 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16199 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16200 accordingly. Don't add the null-device if not needed.
16201
afa8e9f6
GM
16202 * files.el (save-some-buffers): Doc fix.
16203
35eae264
EZ
162042011-04-02 Eli Zaretskii <eliz@gnu.org>
16205
16206 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16207
26b51db5
JB
162082011-04-01 Juanma Barranquero <lekktu@gmail.com>
16209
16210 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16211 Use `dolist' rather than `mapcar'.
16212
7200d79c
SM
162132011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16214
03408648 16215 Add lexical binding.
7200d79c 16216
03408648
SM
16217 * subr.el (apply-partially): Use new closures rather than CL.
16218 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16219 (dolist, dotimes): Use slightly different expansion for lexical code.
16220 (functionp): Move to C.
16221 (letrec): New macro.
16222 (with-wrapper-hook): Use it and apply-partially instead of CL.
16223 (eval-after-load): Preserve lexical-binding.
16224 (save-window-excursion, with-output-to-temp-buffer): Turn them
16225 into macros.
7200d79c 16226
03408648
SM
16227 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16228
16229 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16230 than the arglist.
16231 (help-add-fundoc-usage): Don't add `Not documented'.
16232 (help-function-arglist): Handle closures, subroutines, and new
16233 byte-code-functions.
16234 (help-make-usage): Remove leading underscores.
16235 (describe-function-1): Handle closures.
16236 (describe-variable): Use special-variable-p for completion.
16237
16238 * files.el (lexical-binding): Declare safe.
f488fb65 16239
03408648
SM
16240 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16241 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16242 (pcase): Add `let' pattern.
16243 Change memoization so it actually works.
16244 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16245 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16246 <let>: New case.
f488fb65 16247
03408648
SM
16248 * emacs-lisp/macroexp.el: Use lexical binding.
16249 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16250 Don't convert ' to #' without checking that it's indeed quoting
16251 a lambda.
16252
16253 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16254 Use eval-sexp-add-defvars.
03408648
SM
16255 (eval-sexp-add-defvars): New fun.
16256
16257 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16258
16259 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16260 Don't autoload.
16261 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16262 than the internal `byte-compile-lambda'.
16263 (defmethod): Don't hide code under quotes.
16264 (eieio-defmethod): New `code' argument.
16265
16266 * emacs-lisp/eieio-comp.el: Remove.
16267
16268 * emacs-lisp/edebug.el (edebug-eval-defun)
16269 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16270 (edebug-toggle): Avoid `eval'.
16271
16272 * emacs-lisp/disass.el (disassemble-internal): Handle new
16273 `closure' objects.
16274 (disassemble-1): Handle new byte codes.
16275
16276 * emacs-lisp/cl.el (pushnew): Silence warning.
16277
16278 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16279 (cl-byte-compile-throw): Remove.
16280 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16281
16282 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16283 closures.
16284
16285 * emacs-lisp/cconv.el: New file.
16286
16287 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16288 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16289 (byte-compile-initial-macro-environment):
16290 Handle declare-function here.
16291 (byte-compile--lexical-environment): New var.
16292 (byte-stack-ref, byte-stack-set, byte-discardN)
16293 (byte-discardN-preserve-tos): New lap codes.
16294 (byte-interactive-p): Don't use any more.
16295 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16296 New macros.
16297 (byte-compile-lapcode): Use them and handle new lap codes.
16298 (byte-compile-obsolete): Remove.
16299 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16300 (byte-compile-arglist-warn): Check late def of inlinable funs.
16301 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16302 since they should have been expanded by now.
16303 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16304 (byte-compile-from-buffer): Remove unused second arg.
16305 (byte-compile-preprocess): New function.
16306 (byte-compile-toplevel-file-form): New function to distinguish
16307 file-form calls from outside from file-form calls from hunk-handlers.
16308 (byte-compile-file-form): Simplify.
16309 (byte-compile-file-form-defsubst): Remove.
16310 (byte-compile-file-form-defmumble): Simplify now that
16311 byte-compile-lambda always returns a byte-code-function.
16312 (byte-compile): Preprocess.
16313 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16314 Remove, not used any more.
16315 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16316 (byte-compile-make-args-desc): New funs.
16317 (byte-compile-lambda): Handle lexical functions. Always return
16318 a byte-code-function.
16319 (byte-compile-reserved-constants): New var, to make up room for
16320 closed-over variables.
16321 (byte-compile-constants-vector): Obey it.
16322 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16323 (byte-compile-macroexpand-declare-function): New function.
16324 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16325 byte-code-functions.
16326 (byte-compile-form): Check obsolescence here.
16327 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16328 (byte-compile-variable-ref): Remove.
16329 (byte-compile-dynamic-variable-op): New fun.
16330 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16331 (byte-compile-variable-set): New funs.
16332 (byte-compile-discard): Add 2 args.
16333 (byte-compile-stack-ref, byte-compile-stack-set)
16334 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16335 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16336 macroexpand-all instead.
16337 (byte-compile-quote-form): Remove.
16338 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16339 (byte-compile-bind, byte-compile-unbind): New funs.
16340 (byte-compile-let): Handle let* and lexical binding.
16341 (byte-compile-let*): Remove.
16342 (byte-compile-catch, byte-compile-unwind-protect)
16343 (byte-compile-track-mouse, byte-compile-condition-case):
16344 Handle a new :fun-body form, used for lexical scoping.
16345 (byte-compile-save-window-excursion)
16346 (byte-compile-with-output-to-temp-buffer): Remove.
16347 (byte-compile-defun): Simplify.
16348 (byte-compile-stack-adjustment): New fun.
16349 (byte-compile-out): Use it.
16350 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16351
16352 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16353 handler any more.
16354
16355 * emacs-lisp/byte-opt.el: Use lexical binding.
16356 (byte-inline-lapcode): Remove (to bytecomp).
16357 (byte-compile-inline-expand): Pay attention to inlining to/from
16358 lexically bound code.
16359 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16360 any more.
16361 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16362 any more and don't call compiler-macros.
16363 (byte-compile-splice-in-already-compiled-code): Remove.
16364 (byte-code): Don't inline any more.
16365 (disassemble-offset): Receive `bytes' as argument rather than via
16366 dynamic scoping.
16367 (byte-compile-tag-number): Declare before first use.
16368 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16369 `return' even if make-spliceable.
16370 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16371 obsolete interactive-p.
16372 (byte-optimize-lapcode): Optimize new lap-codes.
16373 Don't trip up on new form of `byte-constant' lap code.
16374
16375 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16376
16377 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16378
16379 * custom.el (custom-initialize-default, custom-declare-variable):
16380 Use `defvar'.
16381
16382 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16383 New variables.
16384 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16385 (COMPILE_FIRST): Add macroexp and cconv.
16386 * makefile.w32-in: Mirror changes in Makefile.in.
16387
16388 * vc/cvs-status.el:
16389 * vc/diff-mode.el:
16390 * vc/log-edit.el:
16391 * vc/log-view.el:
16392 * vc/smerge-mode.el:
16393 * textmodes/bibtex-style.el:
090bd7cb 16394 * textmodes/css-mode.el:
03408648
SM
16395 * startup.el:
16396 * uniquify.el:
da91b5f2
CY
16397 * minibuffer.el:
16398 * newcomment.el:
16399 * reveal.el:
16400 * server.el:
16401 * mpc.el:
16402 * emacs-lisp/smie.el:
16403 * doc-view.el:
16404 * dired.el:
03408648
SM
16405 * abbrev.el: Use lexical binding.
16406
0f0c1f27
EZ
164072011-04-01 Eli Zaretskii <eliz@gnu.org>
16408
16409 * info.el (info-display-manual): New function.
16410
c82b2579
SM
164112011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16412
16413 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16414
221ddf68
TH
164152011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16416
16417 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16418 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16419
cba6e77e
GM
164202011-03-31 Glenn Morris <rgm@gnu.org>
16421
e040639f
GM
16422 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16423
cba6e77e
GM
16424 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16425
6d0f1c9e
CS
164262011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16427
16428 * progmodes/python.el (python-default-interpreter)
16429 (python-python-command-args, python-jython-command-args)
16430 (python-which-shell, python-which-args, python-which-bufname)
16431 (python-file-queue, python-comint-output-filter-function)
16432 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16433 variables and functions.
16434
3e2d70fd
SM
164352011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16436
16437 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16438 (completion-in-region-mode): New minor mode.
16439 (completion-in-region): Use it.
16440 (completion-in-region--data, completion-in-region-mode-map): New vars.
16441 (completion-in-region--postch): New function.
16442 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16443 New vars.
16444 (completion--capf-wrapper): New function.
16445 (completion-at-point): Use it to track well-behavedness of
16446 hook functions.
16447 (completion-help-at-point): New command.
16448
f3e4086c
JM
164492011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16450
16451 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16452 syntax class to search for whitespace on a single line
16453 (Message-ID: <4D938140.4030905@redhat.com>).
16454
eb7ffc14
LL
164552011-03-30 Leo Liu <sdl.web@gmail.com>
16456
16457 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16458 New commands.
16459 (edit-abbrevs-map): Bind them here.
16460 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16461
d806ab68
KM
164622011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16463
16464 * allout.el (allout-hide-by-annotation, allout-flag-region):
16465 Reduce possibility of overlay leakage by making them volatile.
16466
16467 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16468 hash is not shared between buffers. Mode initialization is
16469 responsible for giving it a useful starting value.
16470 (allout-item-span): Reduce possibility of overlay leakage by
16471 making them volatile.
16472 (allout-widgets-count-buttons-in-region): Add diagnostic function
16473 for tracking down button overlay leaks.
16474
ea622834
LL
164752011-03-29 Leo Liu <sdl.web@gmail.com>
16476
16477 * ido.el (ido-read-internal): Use the default history var
16478 minibuffer-history if no HISTORY is specified.
16479
b62f8267
G
164802011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16481
03408648
SM
16482 * net/imap.el (imap-shell-open, imap-process-connection-type):
16483 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16484 Kerberos, SSL, other subprocesses.
16485
947b6566
LL
164862011-03-28 Leo Liu <sdl.web@gmail.com>
16487
16488 * abbrev.el (abbrev-table-empty-p): New function.
16489 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16490 nonempty ones. (Bug#5937)
16491
5ffb62aa
JD
164922011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16493
16494 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16495
7a097943
LL
164962011-03-27 Leo Liu <sdl.web@gmail.com>
16497
16498 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16499 for foreground and background colors.
16500 (ansi-color-make-color-map): Adapt.
16501
c5b40130
LL
165022011-03-25 Leo Liu <sdl.web@gmail.com>
16503
1f48f7d2
LL
16504 * midnight.el (midnight-time-float): Remove. Note it calculates
16505 the microsecond component incorrectly and seconds-to-time does the
16506 same job.
625897ec 16507 Remove redundant (require 'timer).
1f48f7d2 16508
c5b40130
LL
16509 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16510 (ido-completions): Remove unused arguments. (Bug#8329)
16511
d86d2721
SM
165122011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16513
16514 * minibuffer.el (completion--flush-all-sorted-completions):
16515 Remove itself from hook.
16516 (completion-at-point): Let the functions perform the completion
16517 immediately and return nil or t.
16518 * comint.el (comint-dynamic-complete-functions): Now identical to
16519 completion-at-point-functions.
16520 (comint-dynamic-list-input-ring): Remove unused var `index'.
16521 (comint--match-partial-filename, comint--unquote&expand-filename):
16522 New funs, split from comint-match-partial-filename.
16523 (comint-dynamic-complete): Use completion-at-point.
16524 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16525
e8974c48
DA
165262011-03-24 Drew Adams <drew.adams@oracle.com>
16527
16528 * thingatpt.el: Support `defun'.
16529
def71b5e
LL
165302011-03-23 Leo Liu <sdl.web@gmail.com>
16531
cb5af48e
LL
16532 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16533
def71b5e
LL
16534 * help-mode.el (help-mode-finish): Tweak regexp.
16535
927c53e7
GM
165362011-03-23 Glenn Morris <rgm@gnu.org>
16537
18d05bed
GM
16538 * eshell/esh-opt.el (eshell-eval-using-options):
16539 Do not bind unused local variable `eshell-option-stub'.
16540
927c53e7
GM
16541 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16542
9d0da923
JB
165432011-03-22 Juanma Barranquero <lekktu@gmail.com>
16544
16545 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16546 keymap variable in `with-no-warnings' to avoid a warning when the
16547 keymap has been already `defconst'ed.
16548
4b978a67
LL
165492011-03-22 Leo Liu <sdl.web@gmail.com>
16550
16551 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16552 encode all chars in abbrevs; otherwise use emacs-mule or
16553 utf-8-emacs. (Bug#8308)
16554
5fd62452
JB
165552011-03-22 Juanma Barranquero <lekktu@gmail.com>
16556
0b1596c6
JB
16557 * simple.el (backward-delete-char-untabify):
16558 Avoid warning about using `delete-backward-char'.
16559
5fd62452
JB
16560 * image.el (image-type-file-name-regexps): Make it variable.
16561 `imagemagick-register-types' modifies it, and the user may want
16562 to add new extensions for known image types.
16563 (imagemagick-register-types): Throw error if not using ImageMagick.
16564
0b4e93f1
LL
165652011-03-22 Leo Liu <sdl.web@gmail.com>
16566
16567 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16568 located before rcirc-prompt-end-marker.
16569 (rcirc-complete): Error if point is not after rcirc prompt.
16570 Handle the case when table is nil.
9882e214 16571 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16572
fccee4ab
CY
165732011-03-22 Chong Yidong <cyd@stupidchicken.com>
16574
16575 * custom.el (custom--inhibit-theme-enable): Make it affect only
16576 custom-theme-set-variables and custom-theme-set-faces.
16577 (provide-theme): Ignore custom--inhibit-theme-enable.
16578 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16579 (custom-enabling-themes): Delete variable.
d86d2721
SM
16580 (enable-theme): Accept only loaded themes as arguments.
16581 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16582 (custom-enabled-themes): Forbid themes from setting this.
16583 Eliminate use of custom-enabling-themes.
16584 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16585
af896da6
LL
165862011-03-21 Leo Liu <sdl.web@gmail.com>
16587
16588 * ido.el (ido-read-internal): Add ido-selected to history instead
16589 of user input.
16590
78f64af0
SM
165912011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16592
16593 * subr.el (deferred-action-list, deferred-action-function):
16594 Mark obsolete.
16595
b16ac1ec
LL
165962011-03-21 Leo Liu <sdl.web@gmail.com>
16597
810f7698
LL
16598 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16599 change on 2011-02-13 (bug#8309).
16600
b16ac1ec
LL
16601 * minibuffer.el (read-file-name-function): Change default value.
16602 (read-file-name--defaults): Rename from read-file-name-defaults.
16603 (read-file-name-default): Rename from read-file-name.
16604 (read-file-name): Call read-file-name-function.
16605
4e05e67e
GM
166062011-03-21 Glenn Morris <rgm@gnu.org>
16607
16608 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16609 Doc fixes.
16610
4359915b
CY
166112011-03-21 Chong Yidong <cyd@stupidchicken.com>
16612
16613 * cus-theme.el: Add missing provide statement.
16614 (customize-create-theme): Extract theme value correctly.
16615 (custom-theme-visit-theme): Autoload.
16616 (customize-create-theme): Prompt before inserting default faces.
16617
1fe275ee
JB
166182011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16619
16620 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16621 units and musical notes.
16622
cd394be1 166232011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16624
16625 * ido.el (ido-read-internal): Use completing-read-default.
16626 (ido-completing-read): Fix compatibility with completing-read.
16627
7d476bde
CO
166282011-03-20 Christian Ohler <ohler@gnu.org>
16629
16630 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16631 (ert-delete-all-tests): Use `called-interactively-p' rather than
16632 `interactive-p'.
16633 (ert--make-xrefs-region): Respect END.
16634
fe0fb33e
CY
166352011-03-19 Chong Yidong <cyd@stupidchicken.com>
16636
ff854b0b
CY
16637 * dired-aux.el (dired-create-directory): Signal an error if the
16638 directory already exists (Bug#8246).
16639
fe0fb33e
CY
16640 * facemenu.el (list-colors-display): Call list-faces-display
16641 inside with-help-window.
16642 (list-colors-print): Use display property to align the final
16643 column, instead of checking window-width.
16644
576bce32
EZ
166452011-03-19 Eli Zaretskii <eliz@gnu.org>
16646
4d61f28d 16647 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16648 windows-nt systems.
16649 (emerge-protect-metachars): Quote correctly for ms-dos and
16650 windows-nt systems.
16651
89c41d68 166522011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16653
16654 * info.el (info-initialize): Replace all uses of `:' with
16655 path-separator for compatibility with non-Unix systems.
16656 Cache quoting of path-separator. (Bug#8258)
16657
b14e3e21 166582011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16659
16660 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16661 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16662 (mouse-avoidance-mode): Fix typos in docstrings.
16663
4525ce3e
CY
166642011-03-19 Chong Yidong <cyd@stupidchicken.com>
16665
16666 * startup.el (package-subdirectory-regexp): Move from package.el.
16667 Omit \\` and \\', and let callers add them.
16668
16669 * emacs-lisp/package.el (package-strip-version)
16670 (package-load-all-descriptors): Add \\` and \\' to
16671 package-subdirectory-regexp before using it.
16672 (package-untar-buffer): New arg DIR; ensure that file untars only
16673 into this expected directory. Remove superfluous delete-region.
16674 (package-unpack): Caller changed.
16675 (package-tar-file-info): Use package-subdirectory-regexp.
16676
a904a09a 166772011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16678
a904a09a
SM
16679 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16680 diff-mode-shared-map (bug#8284).
16681 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16682
166832011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16684
16685 * calendar/time-date.el (format-seconds): Use assoc instead of
16686 assoc-string, since assoc-string doesn't exist in XEmacs.
16687
171fc304
JB
166882011-03-17 Juanma Barranquero <lekktu@gmail.com>
16689
16690 * custom.el (custom-known-themes): Reflow docstring.
16691 (custom-theme-load-path): Fix typo in docstring.
16692 (load-theme): Fix typo in error message.
16693 (custom-available-themes, custom-variable-theme-value):
16694 Use `let', not `let*'.
16695
d71990a1
JB
166962011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16697
16698 * calc/README: Mention inclusion of musical notes.
16699
16700 * calc/calc-units.el (calc-lu-quant): Rename from
16701 `calc-logunits-quantity'.
16702 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16703 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16704 (calc-db): Rename from `calc-dblevel'.
16705 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16706 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16707 (calc-np): Rename from `calc-nplevel'.
16708 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16709 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16710 (calc-lu-plus): Rename from `calc-logunits-add'.
16711 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16712 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16713 (calc-lu-minus): Rename from `calc-logunits-sub'.
16714 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16715 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16716 (calc-lu-times): Rename from `calc-logunits-mul'.
16717 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16718 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16719 (calc-lu-divide): Rename from `calc-logunits-div'.
16720 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16721 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16722
16723 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16724 functions being autoloaded.
16725
16726 * calc/calc.el (calc-lu-power-reference): Rename from
16727 `calc-logunits-power-reference'.
16728 (calc-lu-field-reference): Rename from
16729 `calc-logunits-field-reference'.
16730
7a71b18d
GM
16731 * calc/calc-help.el (calc-l-prefix-help):
16732 Mention musical note functions.
d71990a1 16733
40c2934b
SM
167342011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16735
16736 * minibuffer.el (completion-all-sorted-completions):
16737 Use :completion-cycle-penalty text property if present.
16738
b0911414
KM
167392011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16740
16741 * allout.el (allout-yank-processing): Adjust for new rebulleting
16742 regime so bullet being yanked is used without prompting the user
16743 for a choice.
16744
8a05b668
JB
167452011-03-16 Juanma Barranquero <lekktu@gmail.com>
16746
16747 * startup.el (command-line): Warn the user that _emacs is deprecated.
16748
5ba5fb81
JB
167492011-03-16 Juanma Barranquero <lekktu@gmail.com>
16750
16751 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16752 (delphi-verbose, delphi-comment-face, delphi-string-face)
16753 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16754 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16755 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16756 (delphi-new-comment-line, delphi-font-lock-defaults)
16757 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16758 Fix typos in docstrings.
16759
2dab465b
KM
167602011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16761
5ba5fb81 16762 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16763 Invert the roles of character and string values for INSTEAD, so a
16764 string is used for the more common case of a defaulting prompt.
16765
0adf5618
SM
167662011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16767
16768 * progmodes/ruby-mode.el (ruby-backward-sexp):
16769 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16770 * play/gamegrid.el (gamegrid-make-face):
16771 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16772 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16773 * notifications.el (notifications-notify):
16774 * net/xesam.el (xesam-search-engines):
16775 * net/quickurl.el (quickurl-list-insert):
16776 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16777
d72700e5
CY
167782011-03-15 Chong Yidong <cyd@stupidchicken.com>
16779
16780 * startup.el (command-line): Update package subdirectory regexp.
16781
49c5410a
SM
167822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16783
c6eee9aa
SM
16784 * allout.el (allout-abbreviate-flattened-numbering)
16785 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16786
49c5410a
SM
16787 * subr.el (read-char-choice): Only show the cursor after the prompt,
16788 not after the answer.
16789
047b2bb9
KR
167902011-03-15 Kevin Ryde <user42@zip.com.au>
16791
16792 * help-fns.el (variable-at-point): Skip leading quotes, if any
16793 (bug#8253).
16794
0a57d256
SM
167952011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16796
16797 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16798 warning message.
16799
77c992bc
MA
168002011-03-14 Michael Albinus <michael.albinus@gmx.de>
16801
16802 * shell.el (shell): When called interactively, offer to change the
16803 shell file name on remote hosts.
16804
eebc475d
TZ
168052011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16806
16807 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16808 integration for LDAP parameters. The host, base, user or binddn,
16809 and secret tokens can be specified in a netrc file, for instance.
16810 This is optional because an `auth-source' parameter must be
16811 specified in the search attributes.
16812
9d05d1ba
JB
168132011-03-13 Juanma Barranquero <lekktu@gmail.com>
16814
16815 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16816
09d9db2c
GM
168172011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16820 into declaration. Remove redundant and harmful binding.
16821
168222011-03-12 Eli Zaretskii <eliz@gnu.org>
16823
16824 * files.el (file-ownership-preserved-p): Pass `integer' as an
16825 explicit 2nd argument to `file-attributes'. If the file's owner
16826 is the Administrators group on Windows, and the current user is
16827 Administrator, consider that a match.
16828
16829 * server.el (server-ensure-safe-dir): Consider server directory
16830 safe on MS-Windows if its owner is the Administrators group while
16831 the current Emacs user is Administrator. Use `=' to compare
16832 numerical UIDs, since they could be integers or floats.
16833
219bd536
JB
168342011-03-12 Juanma Barranquero <lekktu@gmail.com>
16835
16836 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16837
f3afd36b
MA
168382011-03-12 Michael Albinus <michael.albinus@gmx.de>
16839
16840 Sync with Tramp 2.2.1.
16841
16842 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16843
16844 * net/trampver.el: Update release number.
16845
3aaaa6f1
SM
168462011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16847
94642599
SM
16848 * progmodes/compile.el (compilation--previous-directory): Fix up
16849 various nil/dead-marker mismatches (bug#8014).
16850 (compilation-directory-properties, compilation-error-properties):
16851 Don't call it at a position past the one we're about to change.
16852
3aaaa6f1
SM
16853 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16854 Disable obsolescence warnings in the file that declares it.
16855
14239447
KM
168562011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16857
099c39a4
JB
16858 * allout-widgets.el (allout-widgets-tally):
16859 Initialize allout-widgets-tally as a hash table rather than nil to
16860 prevent mode-line redisplay warnings. Also, clarify the module
16861 description and fix a comment typo.
14239447 16862
135e287c
JB
168632011-03-11 Juanma Barranquero <lekktu@gmail.com>
16864
16865 * help-fns.el (describe-variable): Don't complete keywords.
16866 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16867
ffbf300e
CY
168682011-03-10 Chong Yidong <cyd@stupidchicken.com>
16869
ba08b241
CY
16870 * emacs-lisp/package.el (package-version-join): Impose a standard
16871 string representation for pre/alpha/beta version lists.
16872 (package-unpack-single): Standardize the directory name by passing
16873 it through package-version-join.
16874 (package-strip-rcs-id): Accept any version string that does not
16875 signal an error in version-to-list.
ffbf300e 16876
f346fd6b
MA
168772011-03-10 Michael Albinus <michael.albinus@gmx.de>
16878
16879 * simple.el (delete-trailing-whitespace): Return nil for the
16880 benefit of `write-file-functions'.
16881
ccb55d27
GM
168822011-03-10 Glenn Morris <rgm@gnu.org>
16883
5ceaac0c
GM
16884 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16885
02da65ff
GM
16886 * vc/vc-git.el (vc-git-program): New option.
16887 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16888 (vc-git--call): Use it.
16889
b2f603cc
GM
16890 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16891
5772caab
GM
16892 * cus-edit.el (Custom-newline): If no button at point, look
16893 for a subgroup button at start-of-line. (Bug#2298)
16894
ccb55d27
GM
16895 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16896
ec6ecaed
JD
168972011-03-10 Julien Danjou <julien@danjou.info>
16898
16899 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16900 `cursor-type' is nil.
16901
9d5aa01d
JB
169022011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16903
16904 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16905
b6a5875b
KM
169062011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16907
7a71b18d 16908 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16909 preserves the existing header prefix, rebulleting it if necessary,
16910 rather than replacing it. This is necessary for proper operation
16911 of cooperative addons like allout-widgets.
1154d12e
JB
16912 (allout-make-topic-prefix, allout-rebullet-heading):
16913 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16914 value as alternate bullet to be used, instead of prompting the user
16915 for a bullet character.
b6a5875b 16916
ee545c35
MA
169172011-03-09 Michael Albinus <michael.albinus@gmx.de>
16918
d86d2721
SM
16919 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16920 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16921 `tramp-default-port'.
16922
c47971d7
DD
169232011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16924
16925 * net/rcirc.el (rcirc-handler-001): Remove useless
16926 with-rcirc-process-buffer.
16927 (rcirc-check-auth-status): Swap arguments to string-match.
16928
13522cb4
GM
169292011-03-09 Glenn Morris <rgm@gnu.org>
16930
0be6f4f1
GM
16931 * shell.el (shell-mode):
16932 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16933
13522cb4
GM
16934 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16935 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16936
515de2e3
CY
169372011-03-08 Chong Yidong <cyd@stupidchicken.com>
16938
16939 * emacs-lisp/package.el (package-refresh-contents)
16940 (package-menu-execute): Use condition-case-no-debug.
16941
b511b994
MA
169422011-03-08 Michael Albinus <michael.albinus@gmx.de>
16943
16944 * simple.el (shell-command-to-string): Use `process-file'.
16945
16946 * emacs-lisp/package.el (package-tar-file-info): Handle also
16947 remote files.
16948
d86d2721
SM
16949 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16950 Use `equal' for upload base check.
b511b994 16951
25bbfb31
AM
169522011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16953
16954 * textmodes/texinfo.el (texinfo-environments):
16955 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16956
be996521
GM
169572011-03-08 Glenn Morris <rgm@gnu.org>
16958
e9c8529f
GM
16959 * cus-start.el (cursor-in-non-selected-windows):
16960 Fix :set quoting oddness. (Bug#8192)
16961
be996521
GM
16962 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16963 in some setf expressions. (Bug#2159)
16964
2bb5649e
CY
169652011-03-08 Chong Yidong <cyd@stupidchicken.com>
16966
16967 * custom.el (custom-available-themes): Return themes in
16968 alphabetical order.
16969
33383987 16970See ChangeLog.15 for earlier changes.
e3d51b27
MR
16971
16972;; Local Variables:
16973;; coding: utf-8
e3d51b27
MR
16974;; End:
16975
acaf905b 16976 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16977
16978 This file is part of GNU Emacs.
16979
16980 GNU Emacs is free software: you can redistribute it and/or modify
16981 it under the terms of the GNU General Public License as published by
16982 the Free Software Foundation, either version 3 of the License, or
16983 (at your option) any later version.
16984
16985 GNU Emacs is distributed in the hope that it will be useful,
16986 but WITHOUT ANY WARRANTY; without even the implied warranty of
16987 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16988 GNU General Public License for more details.
16989
16990 You should have received a copy of the GNU General Public License
16991 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.